Home
last modified time | relevance | path

Searched refs:bio_resid (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c97 bio->bio_resid = bio->bio_bcount; in nvmf_ns_biodone()
134 bio->bio_resid = bio->bio_bcount - xfered; in nvmf_ns_io_complete()
145 bio->bio_resid = bio->bio_bcount; in nvmf_ns_delete_complete()
147 bio->bio_resid = 0; in nvmf_ns_delete_complete()
251 KASSERT(bio->bio_resid == 0, in nvmf_ns_submit_bio()
315 bio->bio_resid = bio->bio_bcount; in nvmf_ns_strategy()
450 bio->bio_resid = bio->bio_bcount; in nvmf_shutdown_ns()
486 bio->bio_resid = bio->bio_bcount; in nvmf_destroy_ns()
/freebsd/sys/geom/uzip/
H A Dg_uzip.c184 if (bp->bio_resid < usz) in g_uzip_cached()
185 usz = bp->bio_resid; in g_uzip_cached()
196 bp->bio_resid -= usz; in g_uzip_cached()
198 if (bp->bio_resid == 0) { in g_uzip_cached()
241 end_blk = howmany(ofs + bp->bio_resid, sc->blksz); in g_uzip_request()
247 zsize = MIN(sc->blksz - start_blk_ofs, bp->bio_resid); in g_uzip_request()
253 bp->bio_resid -= zsize; in g_uzip_request()
258 KASSERT(bp->bio_resid == 0, ("bp->bio_resid is invalid")); in g_uzip_request()
380 while (bp->bio_completed && bp2->bio_resid) { in g_uzip_do()
387 ulen = MIN(sc->blksz - blkofs, bp2->bio_resid); in g_uzip_do()
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_pt.c195 bp->bio_resid = bp->bio_bcount; in ptstrategy()
522 bp->bio_resid = bp->bio_bcount; in ptdone()
525 bp->bio_resid = csio->resid; in ptdone()
527 if (bp->bio_resid != 0) { in ptdone()
539 bp->bio_resid = csio->resid; in ptdone()
540 if (bp->bio_resid != 0) in ptdone()
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c148 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy_done()
150 bp->bio_resid = 0; in nvme_ns_strategy_done()
167 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy()
271 bp->bio_resid = 0; in nvme_ns_bio_done()
273 bp->bio_resid = bp->bio_bcount; in nvme_ns_bio_done()
H A Dnvme_test.c130 if ((bio->bio_flags & BIO_ERROR) || (bio->bio_resid > 0)) in nvme_ns_bio_test()
/freebsd/sys/dev/mfi/
H A Dmfi_disk.c269 bio->bio_resid = bio->bio_bcount; in mfi_disk_strategy()
305 bio->bio_resid = bio->bio_bcount; in mfi_disk_complete()
310 bio->bio_resid = 0; in mfi_disk_complete()
H A Dmfi_syspd.c248 bio->bio_resid = bio->bio_bcount; in mfi_syspd_strategy()
/freebsd/tools/debugscripts/
H A Dgdbinit.kernel23 $bp->b_io.bio_resid
30 $bp->b_io.bio_resid
76 printf "\nb_io.bio_resid: "
77 output $bp->b_io.bio_resid
163 printf "\n b_io.bio_resid "
164 output/x bp->b_io.bio_resid
/freebsd/sys/dev/cfi/
H A Dcfi_disk.c209 bp->bio_resid = resid; in cfi_disk_read()
256 bp->bio_resid = resid; in cfi_disk_write()
319 bp->bio_resid = bp->bio_bcount; in cfi_disk_strategy()
/freebsd/sys/dev/ida/
H A Dida_disk.c120 bp->bio_resid = bp->bio_bcount; in idad_strategy()
155 bp->bio_resid = 0; in idad_intr()
/freebsd/sys/dev/mlx/
H A Dmlx_disk.c178 bp->bio_resid = bp->bio_bcount; in mlxd_strategy()
192 bp->bio_resid = 0; in mlxd_intr()
/freebsd/sys/dev/firewire/
H A Dfwmem.c337 bp->bio_resid = bp->bio_bcount; in fwmem_biodone()
395 bp->bio_resid = bp->bio_bcount - iolen; in fwmem_strategy()
402 bp->bio_resid = bp->bio_bcount; in fwmem_strategy()
/freebsd/sys/dev/nvdimm/
H A Dnvdimm_spa.c378 bp->bio_resid = auio.uio_resid; in nvdimm_spa_g_thread()
382 bp->bio_resid = bp->bio_length; in nvdimm_spa_g_thread()
397 bp->bio_resid = auio.uio_resid; in nvdimm_spa_g_thread()
/freebsd/sys/dev/aac/
H A Daac_disk.c157 bp->bio_resid = bp->bio_bcount; in aac_disk_strategy()
339 bp->bio_resid = bp->bio_bcount; in aac_biodone()
/freebsd/sys/sys/
H A Dbio.h98 long bio_resid; /* Remaining I/O in bytes. */ member
/freebsd/sys/cam/ata/
H A Data_da.c2780 bp->bio_resid = bp->bio_bcount; in adazonedone()
2803 bp->bio_resid = bp->bio_bcount; in adazonedone()
2814 bp->bio_resid = bp->bio_bcount; in adazonedone()
2825 bp->bio_resid = bp->bio_bcount; in adazonedone()
2858 bp->bio_resid = bp->bio_bcount - (num_to_fill * sizeof(*entry)); in adazonedone()
2938 bp->bio_resid = bp->bio_bcount; in adadone()
2944 bp->bio_resid = 0; in adadone()
2946 bp->bio_resid = ataio->resid; in adadone()
2948 if ((bp->bio_resid > 0) in adadone()
2991 bp1->bio_resid = bp1->bio_bcount; in adadone()
[all …]
/freebsd/sys/dev/md/
H A Dmd.c800 bp->bio_resid = 0; in mdstart_malloc()
871 bp->bio_resid = 0; in mdstart_preload()
927 bp->bio_resid = len; in mdstart_vnode()
958 bp->bio_resid = len; in mdstart_vnode()
1004 bp->bio_resid -= iolen; in mdstart_vnode()
1010 bp->bio_resid = auio.uio_resid; in mdstart_vnode()
1178 bp->bio_resid = 0; in mdstart_null()
1242 bp->bio_completed = bp->bio_length - bp->bio_resid; in md_kthread()
/freebsd/sys/dev/ofw/
H A Dofw_disk.c96 bp->bio_resid = 0; in ofwd_startio()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c1205 bp->bio_resid = bp->bio_bcount; in ndadone()
1208 bp->bio_resid = 0; in ndadone()
1255 bp2->bio_resid = bp1->bio_bcount; in ndadone()
1257 bp2->bio_resid = 0; in ndadone()
/freebsd/sys/dev/nvd/
H A Dnvd.c211 bp->bio_resid = bp->bio_bcount; in nvd_bio_submit()
259 bp->bio_resid = bp->bio_bcount; in nvd_gone()
/freebsd/sys/geom/
H A Dgeom_dev.c728 bp->bio_resid = bp->bio_length - bp2->bio_completed; in g_dev_done()
742 bp2, bp, bp2->bio_resid, (intmax_t)bp2->bio_completed); in g_dev_done()
777 bp->bio_resid = bp->bio_bcount; in g_dev_strategy()
/freebsd/sys/kern/
H A Dkern_physio.c186 iolen = bp->bio_length - bp->bio_resid; in physio()
/freebsd/sys/powerpc/mambo/
H A Dmambo_disk.c246 bp->bio_resid = (end - block) * sz; in mambodisk_task()
/freebsd/sys/powerpc/ps3/
H A Dps3disk.c365 bp->bio_resid = bp->bio_bcount; in ps3disk_strategy()
439 bp->bio_resid = 0; in ps3disk_intr()
/freebsd/cddl/lib/libdtrace/
H A Dio.d74 b_resid = B->bio_resid;

12