| /freebsd-12.1/sys/geom/raid/ |
| H A D | tr_raid0.c | 237 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 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 | 724 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 D | geom_io.c | 220 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 D | geom_disk.c | 310 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 D | nvme_ns.c | 386 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 D | nvdimm_spa.c | 285 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 D | bio.h | 94 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
|
| /freebsd-12.1/sys/geom/stripe/ |
| H A D | g_stripe.c | 464 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 D | g_concat.c | 401 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 D | subr_bus_dma.c | 146 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 D | kern_physio.c | 189 bp->bio_ma_offset = poff; in physio()
|
| H A D | subr_sglist.c | 288 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
|
| H A D | vfs_bio.c | 5082 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 D | vfs_aio.c | 1305 bp->bio_ma_offset = poff; in aio_qbio()
|
| /freebsd-12.1/sys/dev/md/ |
| H A D | md.c | 663 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 D | ata-lowlevel.c | 845 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 D | iser_initiator.c | 310 offset = bp->bio_ma_offset; in iser_bio_to_sg()
|
| /freebsd-12.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 925 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
|
| /freebsd-12.1/sys/vm/ |
| H A D | swap_pager.c | 2780 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
|
| /freebsd-12.1/sys/cam/ata/ |
| H A D | ata_da.c | 2300 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()
|