/src/sbin/fsck_lfs/ |
vnode.h | 62 #define VOP_STRATEGY(bp) ((bp)->b_vp->v_strategy_op(bp)) 63 #define VOP_BWRITE(bp) ((bp)->b_vp->v_bwrite_op(bp))
|
bufcache.h | 84 struct uvnode *b_vp; /* File vnode. */ member in struct:ubuf
|
bufcache.c | 129 bp->b_hashval = vl_hash(bp->b_vp, bp->b_lblkno); 188 ++bp->b_vp->v_usecount; 206 if (bp->b_vp == vp && bp->b_lblkno == lbn) { 280 bp->b_vp = vp; 298 reassignbuf(bp, bp->b_vp); 327 --bp->b_vp->v_usecount; 389 bp->b_vp, bp->b_lblkno, bp->b_flags);
|
vnode.c | 77 return kops.ko_pread(bp->b_vp->v_fd, bp->b_data, bp->b_bcount, 80 return kops.ko_pwrite(bp->b_vp->v_fd, bp->b_data, bp->b_bcount,
|
segwrite.c | 797 if ((*bpp)->b_vp != devvp) { 871 printf(" vp = %p\n", bp->b_vp); 872 if (bp->b_vp != fs->lfs_devvp) 874 VTOI(bp->b_vp)->i_number, bp->b_lblkno); 876 if (bp->b_vp == fs->lfs_devvp) 978 reassignbuf(bp, bp->b_vp);
|
/src/libexec/lfs_cleanerd/ |
fdfs.c | 245 fs = (struct fdfs *)bp->b_vp->v_fs; 247 if ((cp = fd_ptrget(bp->b_vp, bp->b_blkno)) != NULL) { 253 count = kops.ko_pread(bp->b_vp->v_fd, bp->b_data, bp->b_bcount, 258 count = kops.ko_pwrite(bp->b_vp->v_fd, bp->b_data, bp->b_bcount, 265 reassignbuf(bp, bp->b_vp); 277 reassignbuf(bp, bp->b_vp);
|
/src/sys/miscfs/genfs/ |
genfs_rename.c | 725 * a_dvp -> a_vp -> b_dvp -> b_vp, 729 * a_dvp -> b_dvp -> b_vp -> a_vp, 734 * locked when we lookup/lock/unlock b_vp if they turn out to be the 755 * . *b_vp is filled either with null or with the corresponding vnode, 757 * . the only pair of vnodes that may be identical is a_vp and b_vp. 760 * *a_vp, *b_dirent_ret, and *b_vp are left alone. 771 struct vnode *a_vp, *b_vp; local in function:genfs_rename_lock 840 * b_vp in case (a) the file system can only lookup/lock/unlock 841 * and (b) b_vp turns out to be the same file as a_vp due to 843 * we've looked up b_vp. Fortunately, if a_vp is [all...] |
/src/sys/kern/ |
vfs_bio.c | 831 vp = bp->b_vp; 893 reassignbuf(bp, bp->b_vp); 955 KASSERT(bp->b_vp == NULL || bp->b_vp->v_tag != VT_UFS || 956 bp->b_vp->v_type == VBLK || ISSET(bp->b_flags, B_COWDONE)); 966 if (wapbl_vphaswapbl(bp->b_vp)) { 967 struct mount *mp = wapbl_vptomp(bp->b_vp); 980 KASSERT(bp->b_vp == NULL || bp->b_objlock == bp->b_vp->v_interlock); 987 reassignbuf(bp, bp->b_vp); [all...] |
vfs_subr.c | 225 KASSERT(bp->b_vp == vp); 238 KASSERT(bp->b_vp == vp); 258 VOP_BWRITE(bp->b_vp, bp); 297 KASSERT(bp->b_vp == vp); 312 KASSERT(bp->b_vp == vp); 352 KASSERT(bp->b_vp == vp); 364 if (bp->b_vp == vp || !sync) 433 KASSERT(bp->b_vp == NULL); 441 bp->b_vp = vp; 460 struct vnode *vp = bp->b_vp; [all...] |
vfs_trans.c | 957 if (bp->b_vp == NULL) { 961 if (bp->b_vp->v_type == VBLK) 962 mp = spec_node_getmountedfs(bp->b_vp); 964 mp = bp->b_vp->v_mount;
|
/src/sys/ufs/lfs/ |
lfs_debug.c | 92 return VOP_BWRITE(bp->b_vp, bp); 291 if ((*bpp)->b_vp == devvp) { 302 VTOI((*bpp)->b_vp)->i_number,
|
lfs_segment.c | 265 if (tbp->b_vp == bp->b_vp 1400 KASSERT(bp->b_vp == vp); 1475 VOP_PRINT(bp->b_vp); 1485 VOP_PRINT(bp->b_vp); 1585 (void) VOP_BWRITE(bp->b_vp, bp); 1777 KASSERT(vp == sbp->b_vp); 2139 if ((*bpp)->b_vp != devvp) { 2144 VTOI((*bpp)->b_vp)->i_number, (*bpp)->b_lblkno, 2198 VTOI(bp->b_vp)->i_number, bp->b_lblkno)) [all...] |
lfs_balloc.c | 200 (void) VOP_BWRITE(bp->b_vp, bp); 388 if ((error = VOP_BWRITE(ibp->b_vp, ibp))) 459 VOP_BWRITE(ibp->b_vp, ibp);
|
lfs_inode.h | 265 # define LFS_BWRITE_LOG(bp) VOP_BWRITE((bp)->b_vp, (bp))
|
ulfs_inode.h | 142 #define IS_IFILE(bp) (VTOI(bp->b_vp)->i_number == LFS_IFILE_INUM)
|
lfs_bio.c | 335 KASSERTMSG((VTOI(bp->b_vp)->i_lfs->lfs_ronly || 420 vp = bp->b_vp; 481 reassignbuf(bp, bp->b_vp); 763 if ((vp = bp->b_vp) != NULL) {
|
ulfs_lookup.c | 817 error = VOP_BWRITE(bp->b_vp, bp); 938 error = VOP_BWRITE(bp->b_vp, bp); 1064 error = VOP_BWRITE(bp->b_vp, bp); 1112 error = VOP_BWRITE(bp->b_vp, bp);
|
/src/sys/fs/nfs/client/ |
nfs_clnfsiod.c | 301 (void) ncl_doio(bp->b_vp, bp, bp->b_rcred, 304 (void) ncl_doio(bp->b_vp, bp, bp->b_wcred,
|
nfs_clbio.c | 809 bp->b_vp = vp; 816 bp->b_vp = NULL; 1398 (bp->b_vp->v_type == VDIR && (nmp->nm_flag & NFSMNT_RDIRPLUS))) { 1502 mtx_lock(&(VTONFS(bp->b_vp))->n_mtx); 1503 VTONFS(bp->b_vp)->n_flag |= NMODIFIED; 1504 VTONFS(bp->b_vp)->n_directio_asyncwr++; 1505 mtx_unlock(&(VTONFS(bp->b_vp))->n_mtx); 1530 ncl_writerpc(bp->b_vp, uiop, bp->b_wcred, &iomode, &must_commit, 0); 1536 struct nfsnode *np = VTONFS(bp->b_vp); 1538 if (NFSHASPNFS(VFSTONFS(vnode_mount(bp->b_vp)))) { [all...] |
/src/sys/fs/udf/ |
udf_strat_direct.c | 99 udf_node = VTOI(buf->b_vp); 382 assert(nestbuf->b_vp == buf->b_vp);
|
udf_readwrite.c | 444 if (buf->b_vp) { 445 mutex_enter(buf->b_vp->v_interlock); 446 buf->b_vp->v_numoutput++; 447 mutex_exit(buf->b_vp->v_interlock);
|
/src/sys/sys/ |
buf.h | 160 struct vnode *b_vp; /* c: file vnode */ member in struct:buf
|
/src/sys/dev/ata/ |
ld_ataraid.c | 303 cbp->cb_buf.b_vp = sc->sc_vnodes[comp]; 328 mutex_enter(cbp->cb_buf.b_vp->v_interlock); 329 cbp->cb_buf.b_vp->v_numoutput++; 330 mutex_exit(cbp->cb_buf.b_vp->v_interlock); 332 VOP_STRATEGY(cbp->cb_buf.b_vp, &cbp->cb_buf); 538 VOP_STRATEGY(cbp->cb_buf.b_vp, &cbp->cb_buf);
|
/src/usr.bin/systat/ |
bufcache.c | 303 if (UINT64TOPTR(bp->b_vp) != NULL) { 305 vn = vc_lookup(UINT64TOPTR(bp->b_vp));
|
/src/sys/ufs/ext2fs/ |
ext2fs_lookup.c | 1034 error = VOP_BWRITE(bp->b_vp, bp); 1071 error = VOP_BWRITE(bp->b_vp, bp); 1083 error = VOP_BWRITE(bp->b_vp, bp); 1111 error = VOP_BWRITE(bp->b_vp, bp);
|