Home
last modified time | relevance | path

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

/freebsd-12.1/sys/geom/raid/
H A Dtr_raid0.c237 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid0()
238 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid0()
239 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid0()
240 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.c724 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_read()
725 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
726 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_read()
727 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_read()
800 cbp->bio_ma_offset += (uintptr_t)addr; in g_raid_tr_iostart_raid1e_write()
801 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
802 cbp->bio_ma_offset %= PAGE_SIZE; in g_raid_tr_iostart_raid1e_write()
803 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_raid_tr_iostart_raid1e_write()
1040 cbp->bio_ma_offset = bp->bio_ma_offset; in g_raid_tr_iodone_raid1e()
/freebsd-12.1/sys/geom/
H A Dgeom_io.c220 bp2->bio_ma_offset = bp->bio_ma_offset; in g_clone_bio()
259 bp2->bio_ma_offset = bp->bio_ma_offset; in g_duplicate_bio()
428 round_page(bp->bio_ma_offset + in g_io_check()
434 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_io_check()
799 size = round_page(bp->bio_ma_offset + bp->bio_length); in g_io_transient_map_bio()
828 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-12.1/sys/dev/nvme/
H A Dnvme_ns.c386 ma_offset = bp->bio_ma_offset; in nvme_construct_child_bios()
398 child->bio_ma_offset = ma_offset; in nvme_construct_child_bios()
401 nvme_get_num_segments(child->bio_ma_offset, in nvme_construct_child_bios()
/freebsd-12.1/sys/dev/nvdimm/
H A Dnvdimm_spa.c285 bp->bio_ma_offset, bp->bio_length); in nvdimm_spa_g_all_unmapped()
287 pmap_copy_pages(bp->bio_ma, bp->bio_ma_offset, ma, in nvdimm_spa_g_all_unmapped()
356 bp->bio_ma_offset, bp->bio_length, &auio); in nvdimm_spa_g_thread()
/freebsd-12.1/sys/sys/
H A Dbio.h94 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
/freebsd-12.1/sys/geom/stripe/
H A Dg_stripe.c464 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_stripe_start_economic()
499 cbp->bio_ma_offset += (uintptr_t)addr; in g_stripe_start_economic()
500 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_stripe_start_economic()
501 cbp->bio_ma_offset %= PAGE_SIZE; in g_stripe_start_economic()
502 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_stripe_start_economic()
/freebsd-12.1/sys/geom/concat/
H A Dg_concat.c401 cbp->bio_ma_offset += (uintptr_t)addr; in g_concat_start()
402 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_concat_start()
403 cbp->bio_ma_offset %= PAGE_SIZE; in g_concat_start()
404 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_concat_start()
/freebsd-12.1/sys/kern/
H A Dsubr_bus_dma.c146 kernel_pmap, nsegs, flags, bio->bio_ma_offset, in _bus_dmamap_load_bio()
152 bio->bio_bcount, bio->bio_ma_offset, flags, NULL, nsegs)); in _bus_dmamap_load_bio()
H A Dkern_physio.c189 bp->bio_ma_offset = poff; in physio()
H A Dsubr_sglist.c288 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
H A Dvfs_bio.c5082 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio()
5084 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio()
5086 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio()
H A Dvfs_aio.c1305 bp->bio_ma_offset = poff; in aio_qbio()
/freebsd-12.1/sys/dev/md/
H A Dmd.c663 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
667 ma_offs = bp->bio_ma_offset; in mdstart_malloc()
855 bp->bio_ma_offset, bp->bio_length); in mdstart_preload()
864 bp->bio_ma_offset, p, bp->bio_length); in mdstart_preload()
907 ma_offs = bp->bio_ma_offset; in mdstart_vnode()
1056 bp->bio_ma_offset : 0; in mdstart_swap()
/freebsd-12.1/sys/dev/ata/
H A Data-lowlevel.c845 moff = bio->bio_ma_offset + off; in ata_pio_read()
931 moff = bio->bio_ma_offset + off; in ata_pio_write()
/freebsd-12.1/sys/dev/iser/
H A Diser_initiator.c310 offset = bp->bio_ma_offset; in iser_bio_to_sg()
/freebsd-12.1/sys/cam/nvme/
H A Dnvme_da.c925 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
/freebsd-12.1/sys/vm/
H A Dswap_pager.c2780 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
/freebsd-12.1/sys/cam/ata/
H A Data_da.c2300 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()