Searched refs:v_writecount (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/sys/fs/nullfs/
H A Dnull_vnops.c340 KASSERT(vp->v_writecount + ap->a_inc >= 0, ("wrong writecount inc"));
341 if (vp->v_writecount > 0 && vp->v_writecount + ap->a_inc == 0)
343 else if (vp->v_writecount == 0 && vp->v_writecount + ap->a_inc > 0)
348 vp->v_writecount += ap->a_inc;
760 if (vp->v_writecount > 0)
/freebsd-9.3-release/sys/kern/
H A Dvfs_default.c1118 *ap->a_writecount = ap->a_vp->v_writecount;
1126 ap->a_vp->v_writecount += ap->a_inc;
H A Dvfs_subr.c2306 /* Skip this v_writecount check if we're going to panic below. */
2307 VNASSERT(vp->v_writecount < vp->v_usecount || vp->v_usecount < 1, vp,
2520 VNASSERT(vp->v_writecount == 0, vp, ("Non-zero write count"));
2674 (vp->v_writecount == 0 || vp->v_type != VREG)) {
2960 vp->v_usecount, vp->v_writecount, vp->v_holdcnt, vp->v_mountedhere);
H A Dvfs_vnops.c323 VNASSERT(vp->v_writecount > 0, vp,
H A Dvfs_syscalls.c4609 vp->v_writecount++;
4617 vp->v_writecount--;
/freebsd-9.3-release/sys/sys/
H A Dvnode.h155 int v_writecount; /* v ref count of writers */ member in struct:vnode
/freebsd-9.3-release/sys/ufs/ufs/
H A Dufs_quota.c607 if (vp->v_type == VNON || vp->v_writecount == 0) {
/freebsd-9.3-release/sys/vm/
H A Dvm_map.c489 * possibly the vnode's v_writecount.
3248 * v_writecount while the object is locked, to
3255 v_writecount > 0,
3256 ("vmspace_fork: v_writecount %p", object));

Completed in 147 milliseconds