Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/filio.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
#define FIOSEEKHOLE _IOWR('f', 98, off_t) /* SEEK_HOLE */ | #define FIOSEEKHOLE _IOWR('f', 98, off_t) /* SEEK_HOLE */ | ||||
struct fiobmap2_arg { | struct fiobmap2_arg { | ||||
__daddr_t bn; | __daddr_t bn; | ||||
int runp; | int runp; | ||||
int runb; | int runb; | ||||
}; | }; | ||||
/* Get the file's bmap info for the logical block bn. */ | /* Get the file's bmap info for the logical block bn. */ | ||||
#define FIOBMAP2 _IOWR('f', 99, struct fiobmap2_arg) | #define FIOBMAP2 _IOWR('f', 99, struct fiobmap2_arg) | ||||
/* POSIX shm largepage set/get config */ | |||||
#define FIOSSHMLPGCNF _IOW('f', 100, struct shm_largepage_conf) | |||||
#define FIOGSHMLPGCNF _IOR('f', 101, struct shm_largepage_conf) | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
struct fiodgname_arg32 { | struct fiodgname_arg32 { | ||||
int len; | int len; | ||||
uint32_t buf; /* (void *) */ | uint32_t buf; /* (void *) */ | ||||
}; | }; | ||||
#define FIODGNAME_32 _IOC_NEWTYPE(FIODGNAME, struct fiodgname_arg32) | #define FIODGNAME_32 _IOC_NEWTYPE(FIODGNAME, struct fiodgname_arg32) | ||||
#endif | #endif | ||||
void *fiodgname_buf_get_ptr(void *fgnp, u_long com); | void *fiodgname_buf_get_ptr(void *fgnp, u_long com); | ||||
#endif | #endif | ||||
#endif /* !_SYS_FILIO_H_ */ | #endif /* !_SYS_FILIO_H_ */ |