Home
last modified time | relevance | path

Searched refs:bio_completed (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sys/geom/uzip/
H A Dg_uzip.c178 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 Dg_bde_work.c
/freebsd/sys/geom/
H A Dgeom_io.c302 *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 Dgeom_dev.c727 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 Dgeom_subr.c1134 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 Dgeom_disk.c240 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 Dgeom_ccd.c488 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 Dg_cache.c193 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 Dg_eli_privacy.c101 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 Dg_eli_integrity.c139 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 Dg_eli.c305 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 Dg_zero.c87 bp->bio_completed = bp->bio_length; in g_zero_start()
/freebsd/sys/sys/
H A Dbio.h110 off_t bio_completed; /* Inverse of bio_resid */ member
/freebsd/sys/geom/vinum/
H A Dgeom_vinum_plex.c314 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 Dofw_disk.c125 bp->bio_completed = bp->bio_length; in ofwd_kthread()
/freebsd/sys/geom/linux_lvm/
H A Dg_linux_lvm.c182 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 Dnvd.c322 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 Dg_gate.c228 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 Dzvol_os.c781 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 Dtr_raid0.c323 pbp->bio_completed = pbp->bio_length; in g_raid_tr_iodone_raid0()
H A Dtr_concat.c270 bp->bio_completed = bp->bio_length - remain; in g_raid_tr_iostart_concat()
/freebsd/sys/geom/stripe/
H A Dg_stripe.c285 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 Dg_journal.h85 #define bio_joffset bio_completed
H A Dg_journal.c748 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 Dg_virstor.c1542 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()

12