| /freebsd/sys/geom/ |
| H A D | geom_vfs.c | 128 if (bp->b_iocmd == BIO_READ) { in g_vfs_done() 133 } else if (bp->b_iocmd == BIO_WRITE) { in g_vfs_done() 212 bip->bio_cmd = bp->b_iocmd; in g_vfs_strategy() 220 if (bp->b_iocmd == BIO_SPEEDUP) in g_vfs_strategy()
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_io.c | 600 bp->b_iocmd = BIO_READ; in fuse_write_biobackend() 761 MPASS(bp->b_iocmd == BIO_READ || bp->b_iocmd == BIO_WRITE); in fuse_io_strategy() 763 fflag = bp->b_iocmd == BIO_READ ? FREAD : FWRITE; in fuse_io_strategy() 764 cred = bp->b_iocmd == BIO_READ ? bp->b_rcred : bp->b_wcred; in fuse_io_strategy() 766 if (bp->b_iocmd == BIO_READ && error == EBADF) { in fuse_io_strategy() 797 if (bp->b_iocmd == BIO_READ) { in fuse_io_strategy()
|
| /freebsd/sys/kern/ |
| H A D | vfs_cluster.c | 230 bp->b_iocmd = BIO_READ; in cluster_read() 293 rbp->b_iocmd = BIO_READ; in cluster_read() 362 tbp->b_iocmd = BIO_READ; in cluster_rbuild() 368 tbp->b_iocmd = BIO_READ; in cluster_rbuild() 393 bp->b_iocmd = BIO_READ; in cluster_rbuild() 489 tbp->b_iocmd = BIO_READ; in cluster_rbuild() 1010 tbp->b_iocmd = BIO_WRITE; in cluster_wbuild()
|
| H A D | vfs_bio.c | 2211 rabp->b_iocmd = BIO_READ; in breada() 2277 bp->b_iocmd = BIO_READ; in breadn_flags() 2364 bp->b_iocmd = BIO_WRITE; in bufwrite() 2560 bp->b_iocmd = BIO_WRITE; in bdirty() 2738 if (bp->b_iocmd == BIO_WRITE && (bp->b_ioflags & BIO_ERROR) && in brelse() 2750 if (bp->b_iocmd == BIO_WRITE && (bp->b_ioflags & BIO_ERROR) && in brelse() 2829 (bp->b_ioflags & BIO_ERROR && bp->b_iocmd == BIO_READ)) && in brelse() 3003 } else if ((bp->b_iocmd == BIO_READ) && resid > 0) { in vfs_vmio_iodone() 4570 if (bp->b_iocmd == BIO_READ) in bufwait() 4619 if (bp->b_iocmd == BIO_WRITE) in bufdone() [all …]
|
| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clbio.c | 515 rabp->b_iocmd = BIO_READ; in ncl_bioread() 553 bp->b_iocmd = BIO_READ; in ncl_bioread() 584 bp->b_iocmd = BIO_READ; in ncl_bioread() 616 bp->b_iocmd = BIO_READ; in ncl_bioread() 653 bp->b_iocmd = BIO_READ; in ncl_bioread() 698 rabp->b_iocmd = BIO_READ; in ncl_bioread() 1116 bp->b_iocmd = BIO_READ; in ncl_write() 1424 if ((bp->b_iocmd == BIO_WRITE && (bp->b_flags & B_NEEDCOMMIT) && in ncl_asyncio() 1516 if (bp->b_iocmd == BIO_READ) { in ncl_asyncio() 1579 iocmd = bp->b_iocmd; in ncl_doio()
|
| H A D | nfs_clnfsiod.c | 296 if (bp->b_iocmd == BIO_READ) in nfssvc_iod()
|
| H A D | nfs_clvnops.c | 3047 if (bp->b_iocmd == BIO_READ) in nfs_strategy()
|
| /freebsd/sys/vm/ |
| H A D | swap_pager.c | 1430 bp->b_iocmd = BIO_READ; in swap_pager_getpages_locked() 1633 bp->b_iocmd = BIO_WRITE; in swap_pager_putpages() 1720 ((bp->b_iocmd == BIO_READ) ? "pagein" : "pageout"), in swp_pager_async_iodone() 1770 if (bp->b_iocmd == BIO_READ) { in swp_pager_async_iodone() 1792 } else if (bp->b_iocmd == BIO_READ) { in swp_pager_async_iodone() 1856 uma_zfree((bp->b_iocmd == BIO_READ) ? swrbuf_zone : swwbuf_zone, bp); in swp_pager_async_iodone() 3197 if (bp->b_iocmd == BIO_WRITE) in swapgeom_strategy() 3215 bio->bio_cmd = bp->b_iocmd; in swapgeom_strategy() 3365 if (bp->b_iocmd == BIO_WRITE) { in swapdev_strategy()
|
| H A D | vnode_pager.c | 708 bp->b_iocmd = BIO_READ; in vnode_pager_input_smlfs() 1101 bp->b_iocmd = BIO_READ; in vnode_pager_generic_getpages()
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_rawread.c | 207 bp->b_iocmd = BIO_READ; in ffs_rawread_readahead()
|
| H A D | ffs_vfsops.c | 2354 if (bp->b_iocmd == BIO_WRITE) { in ffs_geom_strategy() 2428 if (bp->b_iocmd != BIO_READ && ffs_enxio_enable) in ffs_geom_strategy()
|
| H A D | ffs_snapshot.c | 2535 bp->b_iocmd = BIO_READ; in readblock()
|
| H A D | ffs_alloc.c | 2584 bp->b_iocmd = BIO_DELETE; in ffs_blkfree_sendtrim()
|
| H A D | ffs_softdep.c | 1577 bp->b_iocmd = BIO_SPEEDUP; in softdep_send_speedup() 10234 if (bp->b_iocmd != BIO_WRITE) in softdep_disk_io_initiation()
|
| /freebsd/sys/fs/p9fs/ |
| H A D | p9fs_vnops.c | 1937 if (bp->b_iocmd == BIO_READ) { in p9fs_doio() 2068 P9_DEBUG(VOPS, "%s: vp %p, iocmd %d\n ", __func__, vp, bp->b_iocmd); in p9fs_strategy() 2070 if (bp->b_iocmd == BIO_READ) in p9fs_strategy() 2075 error = p9fs_get_open_fid(vp, bp->b_iocmd == BIO_READ ? FREAD : FWRITE, cr, &ostate); in p9fs_strategy()
|
| /freebsd/sys/fs/ext2fs/ |
| H A D | ext2_bmap.c | 171 bp->b_iocmd = BIO_READ; in readindir()
|
| H A D | ext2_inode.c | 154 bp->b_iocmd = BIO_READ; in ext2_indirtrunc()
|
| /freebsd/sys/sys/ |
| H A D | buf.h | 102 uint16_t b_iocmd; /* BIO_* bio_cmd from bio.h */ member
|
| /freebsd/sys/ufs/ufs/ |
| H A D | ufs_bmap.c | 129 bp->b_iocmd = BIO_READ; in readindir()
|
| /freebsd/sys/fs/smbfs/ |
| H A D | smbfs_io.c | 333 if (bp->b_iocmd == BIO_READ) { in smbfs_doio()
|
| H A D | smbfs_vnops.c | 837 if (bp->b_iocmd == BIO_READ) in smbfs_strategy()
|
| /freebsd/sys/fs/tarfs/ |
| H A D | tarfs_vnops.c | 631 MPASS(bp->b_iocmd == BIO_READ); in tarfs_strategy()
|
| /freebsd/sys/cam/ |
| H A D | cam_periph.c | 964 mapinfo->bp[i]->b_iocmd = (dirs[i] == CAM_DIR_OUT) ? in cam_periph_mapmem()
|
| /freebsd/sys/fs/unionfs/ |
| H A D | union_vnops.c | 2423 if (ap->a_bp->b_iocmd == BIO_WRITE && vp == unp->un_lowervp) in unionfs_strategy()
|