Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | struct vnode { | ||||
/* | /* | ||||
* Hooks for various subsystems and features. | * Hooks for various subsystems and features. | ||||
*/ | */ | ||||
struct vpollinfo *v_pollinfo; /* i Poll events, p for *v_pi */ | struct vpollinfo *v_pollinfo; /* i Poll events, p for *v_pi */ | ||||
struct label *v_label; /* MAC label for vnode */ | struct label *v_label; /* MAC label for vnode */ | ||||
struct lockf *v_lockf; /* Byte-level advisory lock list */ | struct lockf *v_lockf; /* Byte-level advisory lock list */ | ||||
struct rangelock v_rl; /* Byte-range lock */ | struct rangelock v_rl; /* Byte-range lock */ | ||||
/* | |||||
* clustering stuff | |||||
*/ | |||||
daddr_t v_cstart; /* v start block of cluster */ | |||||
daddr_t v_lasta; /* v last allocation */ | |||||
daddr_t v_lastw; /* v last write */ | |||||
int v_clen; /* v length of cur. cluster */ | |||||
u_int v_holdcnt; /* I prevents recycling. */ | u_int v_holdcnt; /* I prevents recycling. */ | ||||
u_int v_usecount; /* I ref count of users */ | u_int v_usecount; /* I ref count of users */ | ||||
u_short v_iflag; /* i vnode flags (see below) */ | u_short v_iflag; /* i vnode flags (see below) */ | ||||
u_short v_vflag; /* v vnode flags */ | u_short v_vflag; /* v vnode flags */ | ||||
u_short v_mflag; /* l mnt-specific vnode flags */ | u_short v_mflag; /* l mnt-specific vnode flags */ | ||||
short v_dbatchcpu; /* i LRU requeue deferral batch */ | short v_dbatchcpu; /* i LRU requeue deferral batch */ | ||||
int v_writecount; /* I ref count of writers or | int v_writecount; /* I ref count of writers or | ||||
(negative) text users */ | (negative) text users */ | ||||
▲ Show 20 Lines • Show All 940 Lines • Show Last 20 Lines |