Searched refs:b_iocmd (Results 1 – 24 of 24) sorted by relevance
126 if (bp->b_iocmd == BIO_READ) { in g_vfs_done()131 } else if (bp->b_iocmd == BIO_WRITE) { in g_vfs_done()205 bip->bio_cmd = bp->b_iocmd; in g_vfs_strategy()213 if (bp->b_iocmd == BIO_SPEEDUP) in g_vfs_strategy()
593 bp->b_iocmd = BIO_READ; in fuse_write_biobackend()754 MPASS(bp->b_iocmd == BIO_READ || bp->b_iocmd == BIO_WRITE); in fuse_io_strategy()756 fflag = bp->b_iocmd == BIO_READ ? FREAD : FWRITE; in fuse_io_strategy()757 cred = bp->b_iocmd == BIO_READ ? bp->b_rcred : bp->b_wcred; in fuse_io_strategy()759 if (bp->b_iocmd == BIO_READ && error == EBADF) { in fuse_io_strategy()790 if (bp->b_iocmd == BIO_READ) { in fuse_io_strategy()
230 bp->b_iocmd = BIO_READ; in cluster_read()291 rbp->b_iocmd = BIO_READ; in cluster_read()360 tbp->b_iocmd = BIO_READ; in cluster_rbuild()366 tbp->b_iocmd = BIO_READ; in cluster_rbuild()391 bp->b_iocmd = BIO_READ; in cluster_rbuild()487 tbp->b_iocmd = BIO_READ; in cluster_rbuild()1010 tbp->b_iocmd = BIO_WRITE; in cluster_wbuild()
2194 rabp->b_iocmd = BIO_READ; in breada()2260 bp->b_iocmd = BIO_READ; in breadn_flags()2350 bp->b_iocmd = BIO_WRITE; in bufwrite()2549 bp->b_iocmd = BIO_WRITE; in bdirty()2993 } else if ((bp->b_iocmd == BIO_READ) && resid > 0) { in vfs_vmio_iodone()4539 if (bp->b_iocmd == BIO_READ) in bufwait()4586 if (bp->b_iocmd == BIO_WRITE) in bufdone()4603 if (bp->b_iocmd == BIO_READ && in bufdone()4612 KASSERT(bp->b_iocmd == BIO_READ, in bufdone()4613 ("bufdone: b_iocmd %d not BIO_READ", bp->b_iocmd)); in bufdone()[all …]
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()1087 bp->b_iocmd = BIO_READ; in ncl_write()1395 if ((bp->b_iocmd == BIO_WRITE && (bp->b_flags & B_NEEDCOMMIT) && in ncl_asyncio()1487 if (bp->b_iocmd == BIO_READ) { in ncl_asyncio()1550 iocmd = bp->b_iocmd; in ncl_doio()
296 if (bp->b_iocmd == BIO_READ) in nfssvc_iod()
2854 if (bp->b_iocmd == BIO_READ) in nfs_strategy()
1356 bp->b_iocmd = BIO_READ; in swap_pager_getpages_locked()1545 bp->b_iocmd = BIO_WRITE; in swap_pager_putpages()1632 ((bp->b_iocmd == BIO_READ) ? "pagein" : "pageout"), in swp_pager_async_iodone()1679 if (bp->b_iocmd == BIO_READ) { in swp_pager_async_iodone()1701 } else if (bp->b_iocmd == BIO_READ) { in swp_pager_async_iodone()1765 uma_zfree((bp->b_iocmd == BIO_READ) ? swrbuf_zone : swwbuf_zone, bp); in swp_pager_async_iodone()2883 if (bp->b_iocmd == BIO_WRITE) in swapgeom_strategy()2901 bio->bio_cmd = bp->b_iocmd; in swapgeom_strategy()3046 if (bp->b_iocmd == BIO_WRITE) { in swapdev_strategy()
691 bp->b_iocmd = BIO_READ; in vnode_pager_input_smlfs()1139 bp->b_iocmd = BIO_READ; in vnode_pager_generic_getpages()
207 bp->b_iocmd = BIO_READ; in ffs_rawread_readahead()
2497 if (bp->b_iocmd == BIO_WRITE) { in ffs_geom_strategy()2573 if (bp->b_iocmd != BIO_READ && ffs_enxio_enable) in ffs_geom_strategy()
2529 bp->b_iocmd = BIO_READ; in readblock()
2566 bp->b_iocmd = BIO_DELETE; in ffs_blkfree_sendtrim()
1577 bp->b_iocmd = BIO_SPEEDUP; in softdep_send_speedup()10221 if (bp->b_iocmd != BIO_WRITE) in softdep_disk_io_initiation()
102 uint16_t b_iocmd; /* BIO_* bio_cmd from bio.h */ member
171 bp->b_iocmd = BIO_READ; in readindir()
154 bp->b_iocmd = BIO_READ; in ext2_indirtrunc()
116 bp->b_iocmd = BIO_READ; in readindir()
327 if (bp->b_iocmd == BIO_READ) { in smbfs_doio()
831 if (bp->b_iocmd == BIO_READ) in smbfs_strategy()
628 MPASS(bp->b_iocmd == BIO_READ); in tarfs_strategy()
1267 buf->b_iocmd = pt->is_read ? BIO_READ : BIO_WRITE; in nvme_ctrlr_passthrough_cmd()
973 mapinfo->bp[i]->b_iocmd = (dirs[i] == CAM_DIR_OUT) ? in cam_periph_mapmem()
2246 if (ap->a_bp->b_iocmd == BIO_WRITE && vp == unp->un_lowervp) in unionfs_strategy()