/freebsd/sys/geom/uzip/ |
H A D | g_uzip.c | 178 ofs = bp->bio_offset + bp->bio_completed; in g_uzip_cached() 186 memcpy(bp->bio_data + bp->bio_completed, sc->last_buf + blkofs, in g_uzip_cached() 195 bp->bio_completed += usz; in g_uzip_cached() 238 ofs = bp->bio_offset + bp->bio_completed; in g_uzip_request() 250 (uintmax_t)bp->bio_completed, (uintmax_t)zsize)); in g_uzip_request() 251 bzero(bp->bio_data + bp->bio_completed, zsize); in g_uzip_request() 252 bp->bio_completed += zsize; in g_uzip_request() 264 (uintmax_t)bp->bio_completed)); in g_uzip_request() 370 if (bp->bio_completed == 0) { in g_uzip_do() 375 ofs = bp2->bio_offset + bp2->bio_completed; in g_uzip_do() [all …]
|
/freebsd/sys/geom/bde/ |
H A D | g_bde_work.c |
|
/freebsd/sys/geom/ |
H A D | geom_io.c | 302 *len = bp->bio_completed; in g_io_getattr() 548 bp->bio_completed = 0; in g_io_request() 640 KASSERT(bp->bio_completed >= 0, ("bio_completed can't be less than 0")); in g_io_deliver() 641 KASSERT(bp->bio_completed <= bp->bio_length, in g_io_deliver() 656 bp->bio_resid = bp->bio_bcount - bp->bio_completed; in g_io_deliver() 898 if (errorc == 0 && bp->bio_completed != length) in g_read_data() 954 if (error == 0 && bp->bio_completed != length) in g_write_data() 987 if (error == 0 && bp->bio_completed != length) in g_delete_data()
|
H A D | geom_dev.c | 727 bp->bio_completed = bp2->bio_completed; in g_dev_done() 728 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()
|
H A D | geom_subr.c | 1134 bp->bio_completed = bp->bio_length; in g_handleattr() 1157 bp2->bio_completed += bp->bio_completed; in g_std_done() 1162 bp2->bio_completed = bp2->bio_length; in g_std_done() 1650 db_printf(" completed: %jd\n", (intmax_t)bp->bio_completed); in DB_SHOW_COMMAND()
|
H A D | geom_disk.c | 240 bp2->bio_completed += bp->bio_length - bp->bio_resid; in g_disk_done() 243 kmsan_check(bp2->bio_data, bp2->bio_completed, "g_disk_done"); in g_disk_done() 261 bp2->bio_resid = bp2->bio_bcount - bp2->bio_completed; in g_disk_done()
|
H A D | geom_ccd.c | 488 bp->bio_completed += bcount; in g_ccd_start() 491 if (bp->bio_completed == bp->bio_length) in g_ccd_start()
|
/freebsd/sys/geom/cache/ |
H A D | g_cache.c | 193 bp->bio_completed += len; in g_cache_deliver() 194 KASSERT(bp->bio_completed <= bp->bio_length, ("extra data")); in g_cache_deliver() 195 if (bp->bio_completed == bp->bio_length) { in g_cache_deliver() 197 bp->bio_completed = 0; in g_cache_deliver() 267 OFF2BNO(bp->bio_offset + bp->bio_completed, sc)); in g_cache_read() 295 dp->d_bno = OFF2BNO(bp->bio_offset + bp->bio_completed, sc); in g_cache_read()
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_privacy.c | 101 bp->bio_completed += crp->crp_payload_length; in g_eli_crypto_read_done() 121 bp->bio_completed = 0; in g_eli_crypto_read_done()
|
H A D | g_eli_integrity.c | 139 bp->bio_completed += crp->crp_payload_length; in g_eli_auth_read_done() 141 bp->bio_inbed, bp->bio_children, crp->crp_payload_length, (intmax_t)bp->bio_completed); in g_eli_auth_read_done() 272 bp->bio_completed = 0; in g_eli_auth_read_done()
|
H A D | g_eli.c | 305 pbp->bio_completed = 0; in g_eli_read_done() 345 pbp->bio_completed = 0; in g_eli_write_done() 347 pbp->bio_completed = pbp->bio_length; in g_eli_write_done()
|
/freebsd/sys/geom/zero/ |
H A D | g_zero.c | 87 bp->bio_completed = bp->bio_length; in g_zero_start()
|
/freebsd/sys/sys/ |
H A D | bio.h | 110 off_t bio_completed; /* Inverse of bio_resid */ member
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_plex.c | 314 pbp->bio_completed = pbp->bio_length; in gv_plex_normal_done() 344 completed = bp->bio_completed; in gv_plex_raid5_done() 376 completed = bp->bio_completed; in gv_plex_raid5_done() 421 pbp->bio_completed += completed; in gv_plex_raid5_done()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_disk.c | 125 bp->bio_completed = bp->bio_length; in ofwd_kthread()
|
/freebsd/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.c | 182 parent_b->bio_completed += b->bio_completed; in g_llvm_done() 185 parent_b->bio_completed = parent_b->bio_length; in g_llvm_done() 309 bp->bio_completed = bp->bio_length; in g_llvm_start()
|
/freebsd/sys/dev/nvd/ |
H A D | nvd.c | 322 bp->bio_completed = bp->bio_length; in nvd_getattr() 338 bp->bio_completed = bp->bio_length; in nvd_getattr()
|
/freebsd/sys/geom/gate/ |
H A D | g_gate.c | 228 pbp->bio_completed = cbp->bio_completed; in g_gate_done() 937 bp->bio_completed = bp->bio_length; in g_gate_ioctl()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zvol_os.c | 781 bp->bio_completed = bp->bio_length - resid; in zvol_geom_bio_strategy() 782 if (bp->bio_completed < bp->bio_length && off > volsize) in zvol_geom_bio_strategy() 790 bp->bio_completed); in zvol_geom_bio_strategy() 794 bp->bio_completed); in zvol_geom_bio_strategy()
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid0.c | 323 pbp->bio_completed = pbp->bio_length; in g_raid_tr_iodone_raid0()
|
H A D | tr_concat.c | 270 bp->bio_completed = bp->bio_length - remain; in g_raid_tr_iostart_concat()
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 285 pbp->bio_completed += bp->bio_completed; in g_stripe_done() 292 pbp->bio_completed = pbp->bio_length; in g_stripe_done()
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.h | 85 #define bio_joffset bio_completed
|
H A D | g_journal.c | 748 bp->bio_completed = strlen(bp->bio_to->name) + 1; in g_journal_start() 1426 bp->bio_completed = bp->bio_length; in g_journal_add_current() 1510 pbp->bio_completed += cend - cstart; in g_journal_read_find() 1511 if (pbp->bio_completed == pbp->bio_length) { in g_journal_read_find() 1637 pbp->bio_completed += bp->bio_length; in g_journal_read_done() 1647 pbp->bio_completed == pbp->bio_length) { in g_journal_read_done()
|
/freebsd/sys/geom/virstor/ |
H A D | g_virstor.c | 1542 parent_b->bio_completed += b->bio_completed; in g_virstor_done() 1545 parent_b->bio_completed = parent_b->bio_length; in g_virstor_done() 1761 b->bio_completed = b->bio_length; in g_virstor_start()
|