Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/vnode.h
Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | struct vnode { | ||||
daddr_t v_lasta; /* v last allocation */ | daddr_t v_lasta; /* v last allocation */ | ||||
daddr_t v_lastw; /* v last write */ | daddr_t v_lastw; /* v last write */ | ||||
int v_clen; /* v length of cur. cluster */ | 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_int v_iflag; /* i vnode flags (see below) */ | u_int v_iflag; /* i vnode flags (see below) */ | ||||
u_int v_vflag; /* v vnode flags */ | u_int v_vflag; /* v vnode flags */ | ||||
u_int v_mflag; /* l mnt-specific vnode flags */ | u_short v_mflag; /* l mnt-specific vnode flags */ | ||||
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 */ | ||||
u_int v_hash; | u_int v_hash; | ||||
}; | }; | ||||
#endif /* defined(_KERNEL) || defined(_KVM_VNODE) */ | #endif /* defined(_KERNEL) || defined(_KVM_VNODE) */ | ||||
#define bo2vnode(bo) __containerof((bo), struct vnode, v_bufobj) | #define bo2vnode(bo) __containerof((bo), struct vnode, v_bufobj) | ||||
▲ Show 20 Lines • Show All 797 Lines • Show Last 20 Lines |