| /freebsd/sys/geom/raid/ |
| H A D | tr_raid0.c | 235 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 D | tr_concat.c | 255 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 D | tr_raid1e.c | 722 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 D | geom_io.c | 217 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 D | geom_disk.c | 316 off += bp->bio_ma_offset; in g_disk_advance() 323 bp->bio_ma_offset = off; in g_disk_advance() 328 bp->bio_ma_offset += off; in g_disk_advance() 329 bp->bio_ma_offset %= PAGE_SIZE; in g_disk_advance() 378 offset = bp->bio_ma_offset; in g_disk_vlist_limit() 423 howmany(bp->bio_ma_offset + bp->bio_length, PAGE_SIZE); in g_disk_limit()
|
| /freebsd/sys/geom/eli/ |
| H A D | g_eli_privacy.c | 78 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/geom/stripe/ |
| H A D | g_stripe.c | 395 poff = bp->bio_ma_offset; in g_stripe_start_pages() 443 cbp->bio_ma_offset = poff; in g_stripe_start_pages() 689 cbp->bio_ma_offset += (uintptr_t)addr; in g_stripe_start_economic() 690 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_stripe_start_economic() 691 cbp->bio_ma_offset %= PAGE_SIZE; in g_stripe_start_economic() 692 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_stripe_start_economic() 851 ((((bp->bio_flags & BIO_UNMAPPED) != 0 ? bp->bio_ma_offset : in g_stripe_start()
|
| /freebsd/sys/dev/nvdimm/ |
| H A D | nvdimm_spa.c | 307 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/nvme/ |
| H A D | nvme_ns.c | 398 ma_offset = bp->bio_ma_offset; in nvme_construct_child_bios() 410 child->bio_ma_offset = ma_offset; in nvme_construct_child_bios() 413 nvme_get_num_segments(child->bio_ma_offset, in nvme_construct_child_bios()
|
| /freebsd/sys/geom/virstor/ |
| H A D | g_virstor.c | 1715 moff = b->bio_ma_offset + (uintptr_t)addr; in g_virstor_zero() 1824 cb->bio_ma_offset += (uintptr_t)addr; in g_virstor_start() 1825 cb->bio_ma += cb->bio_ma_offset / in g_virstor_start() 1827 cb->bio_ma_offset %= PAGE_SIZE; in g_virstor_start() 1829 cb->bio_ma_offset + in g_virstor_start() 1944 cb->bio_ma_offset += (uintptr_t)addr; in g_virstor_start() 1945 cb->bio_ma += cb->bio_ma_offset / PAGE_SIZE; in g_virstor_start() 1946 cb->bio_ma_offset %= PAGE_SIZE; in g_virstor_start() 1947 cb->bio_ma_n = round_page(cb->bio_ma_offset + in g_virstor_start()
|
| /freebsd/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1127 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 D | bio.h | 98 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
|
| /freebsd/sys/geom/zero/ |
| H A D | g_zero.c | 97 offset = bp->bio_ma_offset & PAGE_MASK; in g_zero_fill_pages()
|
| /freebsd/sys/dev/cxgbe/cxgbei/ |
| H A D | icl_cxgbei.c | 640 if (offset < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_append_bio() 641 page_offset = bp->bio_ma_offset + offset; in icl_cxgbei_conn_pdu_append_bio() 644 offset -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_append_bio() 822 if (bio_off < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_get_bio() 823 page_offset = bp->bio_ma_offset + bio_off; in icl_cxgbei_conn_pdu_get_bio() 826 bio_off -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_get_bio()
|
| /freebsd/sys/kern/ |
| H A D | kern_physio.c | 166 bp->bio_ma_offset = poff; in physio()
|
| H A D | subr_sglist.c | 342 bp->bio_ma_offset, bp->bio_bcount); in sglist_append_bio()
|
| H A D | vfs_bio.c | 5269 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio() 5271 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio() 5273 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio() 5290 bio->bio_ma_offset)); in memdesc_bio()
|
| /freebsd/sys/geom/concat/ |
| H A D | g_concat.c | 440 cbp->bio_ma_offset += (uintptr_t)addr; in g_concat_start() 441 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_concat_start() 442 cbp->bio_ma_offset %= PAGE_SIZE; in g_concat_start() 443 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_concat_start()
|
| /freebsd/sys/dev/md/ |
| H A D | md.c | 679 ma_offs = bp->bio_ma_offset; in mdstart_malloc() 683 ma_offs = bp->bio_ma_offset; in mdstart_malloc() 874 bp->bio_ma_offset, bp->bio_length); in mdstart_preload() 883 bp->bio_ma_offset, p, bp->bio_length); in mdstart_preload() 911 ma_offs = bp->bio_ma_offset; in mdstart_vnode() 1058 bp->bio_ma_offset : 0; in mdstart_swap()
|
| /freebsd/sys/dev/ata/ |
| H A D | ata-lowlevel.c | 835 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 D | iser_initiator.c | 309 offset = bp->bio_ma_offset; in iser_bio_to_sg()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_geom.c | 1111 bp->bio_ma_offset = addr & PAGE_MASK; in vdev_geom_fill_unmap_cb() 1192 bp->bio_ma_offset = 0; in vdev_geom_io_start()
|
| /freebsd/sys/cam/nvme/ |
| H A D | nvme_da.c | 1172 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
|
| /freebsd/sys/geom/union/ |
| H A D | g_union.c | 1003 cbp->bio_ma_offset += offset; in g_union_doio()
|
| /freebsd/sys/vm/ |
| H A D | swap_pager.c | 3223 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
|