Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/file.h
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | struct file { | ||||
void *f_label; /* Place-holder for MAC label. */ | void *f_label; /* Place-holder for MAC label. */ | ||||
}; | }; | ||||
#define f_cdevpriv f_vnun.fvn_cdevpriv | #define f_cdevpriv f_vnun.fvn_cdevpriv | ||||
#define f_advice f_vnun.fvn_advice | #define f_advice f_vnun.fvn_advice | ||||
#define FOFFSET_LOCKED 0x1 | #define FOFFSET_LOCKED 0x1 | ||||
#define FOFFSET_LOCK_WAITING 0x2 | #define FOFFSET_LOCK_WAITING 0x2 | ||||
#define FDEVFS_VNODE 0x4 | |||||
#endif /* _KERNEL || _WANT_FILE */ | #endif /* _KERNEL || _WANT_FILE */ | ||||
/* | /* | ||||
* Userland version of struct file, for sysctl | * Userland version of struct file, for sysctl | ||||
*/ | */ | ||||
struct xfile { | struct xfile { | ||||
ksize_t xf_size; /* size of struct xfile */ | ksize_t xf_size; /* size of struct xfile */ | ||||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |