2008-03-27 23:40:09 +00:00
|
|
|
#ifndef _SPL_DKIO_H
|
|
|
|
#define _SPL_DKIO_H
|
2008-03-05 00:58:54 +00:00
|
|
|
|
|
|
|
struct dk_callback {
|
|
|
|
void (*dkc_callback)(void *dkc_cookie, int error);
|
|
|
|
void *dkc_cookie;
|
|
|
|
int dkc_flag;
|
|
|
|
};
|
|
|
|
|
2008-03-27 23:40:09 +00:00
|
|
|
#define DKIOC (0x04 << 8)
|
|
|
|
#define DKIOCFLUSHWRITECACHE (DKIOC | 34)
|
2008-03-05 00:58:54 +00:00
|
|
|
|
2008-03-27 23:40:09 +00:00
|
|
|
#endif /* _SPL_DKIO_H */
|