Home
last modified time | relevance | path

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

/freebsd-13.1/sys/geom/raid/
H A Dtr_raid0.c238 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid0()
239 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid0()
240 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid0()
241 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid0()
H A Dtr_concat.c256 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_concat()
257 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_concat()
258 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_concat()
259 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_concat()
H A Dtr_raid1e.c725 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_read()
726 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
727 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
728 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_read()
801 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_write()
802 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
803 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
804 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_write()
1041 cbp->bio_ma_offset = bp->bio_ma_offset; in g_raid_tr_iodone_raid1e()
/freebsd-13.1/sys/geom/
H A Dgeom_io.c213 bp2->bio_ma_offset = bp->bio_ma_offset; in g_clone_bio()
249 bp2->bio_ma_offset = bp->bio_ma_offset; in g_duplicate_bio()
455 round_page(bp->bio_ma_offset + in g_io_check()
461 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_io_check()
746 size = round_page(bp->bio_ma_offset + bp->bio_length); in g_io_transient_map_bio()
775 bp->bio_data = (caddr_t)addr + bp->bio_ma_offset; in g_io_transient_map_bio()
H A Dgeom_disk.c307 off += bp->bio_ma_offset; in g_disk_advance()
314 bp->bio_ma_offset = off; in g_disk_advance()
319 bp->bio_ma_offset += off; in g_disk_advance()
320 bp->bio_ma_offset %= PAGE_SIZE; in g_disk_advance()
369 offset = bp->bio_ma_offset; in g_disk_vlist_limit()
414 howmany(bp->bio_ma_offset + bp->bio_length, PAGE_SIZE); in g_disk_limit()
/freebsd-13.1/sys/geom/eli/
H A Dg_eli_privacy.c84 uiomove_fromphys(bp->bio_ma, bp->bio_ma_offset, bp->bio_length, &uio); in g_eli_bio_copyin()
300 pages_offset = bp->bio_ma_offset; in g_eli_crypto_run()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_ns.c392 ma_offset = bp->bio_ma_offset; in nvme_construct_child_bios()
404 child->bio_ma_offset = ma_offset; in nvme_construct_child_bios()
407 nvme_get_num_segments(child->bio_ma_offset, in nvme_construct_child_bios()
/freebsd-13.1/sys/dev/nvdimm/
H A Dnvdimm_spa.c309 bp->bio_ma_offset, bp->bio_length); in nvdimm_spa_g_all_unmapped()
311 pmap_copy_pages(bp->bio_ma, bp->bio_ma_offset, ma, in nvdimm_spa_g_all_unmapped()
379 bp->bio_ma_offset, bp->bio_length, &auio); in nvdimm_spa_g_thread()
/freebsd-13.1/sys/sys/
H A Dbio.h98 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
/freebsd-13.1/sys/geom/stripe/
H A Dg_stripe.c461 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_stripe_start_economic()
496 cbp->bio_ma_offset += (uintptr_t)addr; in g_stripe_start_economic()
497 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_stripe_start_economic()
498 cbp->bio_ma_offset %= PAGE_SIZE; in g_stripe_start_economic()
499 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_stripe_start_economic()
/freebsd-13.1/sys/geom/concat/
H A Dg_concat.c405 cbp->bio_ma_offset += (uintptr_t)addr; in g_concat_start()
406 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_concat_start()
407 cbp->bio_ma_offset %= PAGE_SIZE; in g_concat_start()
408 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_concat_start()
/freebsd-13.1/sys/kern/
H A Dkern_physio.c172 bp->bio_ma_offset = poff; in physio()
H A Dsubr_bus_dma.c234 kernel_pmap, nsegs, flags, bio->bio_ma_offset, in _bus_dmamap_load_bio()
240 bio->bio_bcount, bio->bio_ma_offset, flags, NULL, nsegs)); in _bus_dmamap_load_bio()
H A Dsubr_sglist.c345 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
H A Dvfs_bio.c5176 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio()
5178 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio()
5180 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio()
H A Dvfs_aio.c1348 bp->bio_ma_offset = poff; in aio_qbio()
/freebsd-13.1/sys/dev/md/
H A Dmd.c658 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
662 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
850 bp->bio_ma_offset, bp->bio_length); in mdstart_preload()
859 bp->bio_ma_offset, p, bp->bio_length); in mdstart_preload()
902 ma_offs = bp->bio_ma_offset; in mdstart_vnode()
1046 bp->bio_ma_offset : 0; in mdstart_swap()
/freebsd-13.1/sys/dev/ata/
H A Data-lowlevel.c838 moff = bio->bio_ma_offset + off; in ata_pio_read()
924 moff = bio->bio_ma_offset + off; in ata_pio_write()
/freebsd-13.1/sys/dev/iser/
H A Diser_initiator.c310 offset = bp->bio_ma_offset; in iser_bio_to_sg()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c1136 bp->bio_ma_offset = addr & PAGE_MASK; in vdev_geom_fill_unmap_cb()
1224 bp->bio_ma_offset = 0; in vdev_geom_io_start()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_da.c1067 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
/freebsd-13.1/sys/vm/
H A Dswap_pager.c2907 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
/freebsd-13.1/sys/cam/ata/
H A Data_da.c2390 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()