| /freebsd-13.1/sys/geom/raid/ |
| H A D | tr_raid0.c | 238 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 D | tr_concat.c | 256 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 D | tr_raid1e.c | 725 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 D | geom_io.c | 213 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 D | geom_disk.c | 307 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 D | g_eli_privacy.c | 84 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 D | nvme_ns.c | 392 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 D | nvdimm_spa.c | 309 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 D | bio.h | 98 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
|
| /freebsd-13.1/sys/geom/stripe/ |
| H A D | g_stripe.c | 461 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 D | g_concat.c | 405 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 D | kern_physio.c | 172 bp->bio_ma_offset = poff; in physio()
|
| H A D | subr_bus_dma.c | 234 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 D | subr_sglist.c | 345 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
|
| H A D | vfs_bio.c | 5176 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 D | vfs_aio.c | 1348 bp->bio_ma_offset = poff; in aio_qbio()
|
| /freebsd-13.1/sys/dev/md/ |
| H A D | md.c | 658 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 D | ata-lowlevel.c | 838 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 D | iser_initiator.c | 310 offset = bp->bio_ma_offset; in iser_bio_to_sg()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_geom.c | 1136 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 D | nvme_da.c | 1067 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
|
| /freebsd-13.1/sys/vm/ |
| H A D | swap_pager.c | 2907 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
|
| /freebsd-13.1/sys/cam/ata/ |
| H A D | ata_da.c | 2390 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()
|