Home
last modified time | relevance | path

Searched refs:bio_ma_offset (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/geom/raid/
H A Dtr_raid0.c235 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid0()
236 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid0()
237 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid0()
238 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid0()
H A Dtr_concat.c255 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_concat()
256 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_concat()
257 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_concat()
258 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_concat()
H A Dtr_raid1e.c722 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_read()
723 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
724 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
725 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_read()
798 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_write()
799 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
800 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
801 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_write()
1038 cbp->bio_ma_offset = bp->bio_ma_offset; in g_raid_tr_iodone_raid1e()
/freebsd/sys/geom/
H A Dgeom_io.c217 bp2->bio_ma_offset = bp->bio_ma_offset; in g_clone_bio()
253 bp2->bio_ma_offset = bp->bio_ma_offset; in g_duplicate_bio()
459 round_page(bp->bio_ma_offset + in g_io_check()
465 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_io_check()
757 size = round_page(bp->bio_ma_offset + bp->bio_length); in g_io_transient_map_bio()
786 bp->bio_data = (caddr_t)addr + bp->bio_ma_offset; in g_io_transient_map_bio()
H A Dgeom_disk.c310 off += bp->bio_ma_offset; in g_disk_advance()
317 bp->bio_ma_offset = off; in g_disk_advance()
322 bp->bio_ma_offset += off; in g_disk_advance()
323 bp->bio_ma_offset %= PAGE_SIZE; in g_disk_advance()
372 offset = bp->bio_ma_offset; in g_disk_vlist_limit()
417 howmany(bp->bio_ma_offset + bp->bio_length, PAGE_SIZE); in g_disk_limit()
/freebsd/sys/geom/eli/
H A Dg_eli_privacy.c78 uiomove_fromphys(bp->bio_ma, bp->bio_ma_offset, bp->bio_length, &uio); in g_eli_bio_copyin()
305 pages_offset = bp->bio_ma_offset; in g_eli_crypto_run()
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c399 ma_offset = bp->bio_ma_offset; in nvme_construct_child_bios()
411 child->bio_ma_offset = ma_offset; in nvme_construct_child_bios()
414 nvme_get_num_segments(child->bio_ma_offset, in nvme_construct_child_bios()
/freebsd/sys/dev/nvdimm/
H A Dnvdimm_spa.c307 bp->bio_ma_offset, bp->bio_length); in nvdimm_spa_g_all_unmapped()
309 pmap_copy_pages(bp->bio_ma, bp->bio_ma_offset, ma, in nvdimm_spa_g_all_unmapped()
377 bp->bio_ma_offset, bp->bio_length, &auio); in nvdimm_spa_g_thread()
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c1127 if (offset < PAGE_SIZE - bp->bio_ma_offset) { in icl_soft_conn_pdu_append_bio()
1128 page_offset = bp->bio_ma_offset + offset; in icl_soft_conn_pdu_append_bio()
1131 offset -= PAGE_SIZE - bp->bio_ma_offset; in icl_soft_conn_pdu_append_bio()
1277 if (bio_off < PAGE_SIZE - bp->bio_ma_offset) { in icl_soft_conn_pdu_get_bio()
1278 page_offset = bp->bio_ma_offset + bio_off; in icl_soft_conn_pdu_get_bio()
1281 bio_off -= PAGE_SIZE - bp->bio_ma_offset; in icl_soft_conn_pdu_get_bio()
/freebsd/sys/sys/
H A Dbio.h95 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
/freebsd/sys/geom/stripe/
H A Dg_stripe.c458 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_stripe_start_economic()
493 cbp->bio_ma_offset += (uintptr_t)addr; in g_stripe_start_economic()
494 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_stripe_start_economic()
495 cbp->bio_ma_offset %= PAGE_SIZE; in g_stripe_start_economic()
496 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_stripe_start_economic()
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c639 if (offset < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_append_bio()
640 page_offset = bp->bio_ma_offset + offset; in icl_cxgbei_conn_pdu_append_bio()
643 offset -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_append_bio()
821 if (bio_off < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_get_bio()
822 page_offset = bp->bio_ma_offset + bio_off; in icl_cxgbei_conn_pdu_get_bio()
825 bio_off -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_get_bio()
/freebsd/sys/geom/concat/
H A Dg_concat.c411 cbp->bio_ma_offset += (uintptr_t)addr; in g_concat_start()
412 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_concat_start()
413 cbp->bio_ma_offset %= PAGE_SIZE; in g_concat_start()
414 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_concat_start()
/freebsd/sys/kern/
H A Dkern_physio.c167 bp->bio_ma_offset = poff; in physio()
H A Dsubr_sglist.c342 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
H A Dvfs_bio.c5261 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio()
5263 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio()
5265 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio()
5282 bio->bio_ma_offset)); in memdesc_bio()
/freebsd/sys/dev/md/
H A Dmd.c664 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
668 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
856 bp->bio_ma_offset, bp->bio_length); in mdstart_preload()
865 bp->bio_ma_offset, p, bp->bio_length); in mdstart_preload()
893 ma_offs = bp->bio_ma_offset; in mdstart_vnode()
1039 bp->bio_ma_offset : 0; in mdstart_swap()
/freebsd/sys/dev/ata/
H A Data-lowlevel.c835 moff = bio->bio_ma_offset + off; in ata_pio_read()
921 moff = bio->bio_ma_offset + off; in ata_pio_write()
/freebsd/sys/dev/iser/
H A Diser_initiator.c309 offset = bp->bio_ma_offset; in iser_bio_to_sg()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c1130 bp->bio_ma_offset = addr & PAGE_MASK; in vdev_geom_fill_unmap_cb()
1211 bp->bio_ma_offset = 0; in vdev_geom_io_start()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c1065 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
/freebsd/sys/geom/union/
H A Dg_union.c1001 cbp->bio_ma_offset += offset; in g_union_doio()
/freebsd/sys/cam/ata/
H A Data_da.c2416 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()
/freebsd/sys/vm/
H A Dswap_pager.c3235 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1859 V_PPOD_OFST(bp->bio_ma_offset)); in t4_write_page_pods_for_bio()

12