/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 | 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/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/dev/nvme/ |
H A D | nvme_ns.c | 399 ma_offset = bp->bio_ma_offset; in nvme_construct_child_bios() 411 child->bio_ma_offset = ma_offset; in nvme_construct_child_bios() 414 nvme_get_num_segments(child->bio_ma_offset, in nvme_construct_child_bios()
|
/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/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 | 95 int bio_ma_offset; /* Offset in the first page of bio_ma. */ member
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 458 bp->bio_ma_n = round_page(bp->bio_ma_offset + in g_stripe_start_economic() 493 cbp->bio_ma_offset += (uintptr_t)addr; in g_stripe_start_economic() 494 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_stripe_start_economic() 495 cbp->bio_ma_offset %= PAGE_SIZE; in g_stripe_start_economic() 496 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_stripe_start_economic()
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | icl_cxgbei.c | 639 if (offset < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_append_bio() 640 page_offset = bp->bio_ma_offset + offset; in icl_cxgbei_conn_pdu_append_bio() 643 offset -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_append_bio() 821 if (bio_off < PAGE_SIZE - bp->bio_ma_offset) { in icl_cxgbei_conn_pdu_get_bio() 822 page_offset = bp->bio_ma_offset + bio_off; in icl_cxgbei_conn_pdu_get_bio() 825 bio_off -= PAGE_SIZE - bp->bio_ma_offset; in icl_cxgbei_conn_pdu_get_bio()
|
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 411 cbp->bio_ma_offset += (uintptr_t)addr; in g_concat_start() 412 cbp->bio_ma += cbp->bio_ma_offset / PAGE_SIZE; in g_concat_start() 413 cbp->bio_ma_offset %= PAGE_SIZE; in g_concat_start() 414 cbp->bio_ma_n = round_page(cbp->bio_ma_offset + in g_concat_start()
|
/freebsd/sys/kern/ |
H A D | kern_physio.c | 167 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 | 5261 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio() 5263 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio() 5265 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio() 5282 bio->bio_ma_offset)); in memdesc_bio()
|
/freebsd/sys/dev/md/ |
H A D | md.c | 664 ma_offs = bp->bio_ma_offset; in mdstart_malloc() 668 ma_offs = bp->bio_ma_offset; in mdstart_malloc() 856 bp->bio_ma_offset, bp->bio_length); in mdstart_preload() 865 bp->bio_ma_offset, p, bp->bio_length); in mdstart_preload() 893 ma_offs = bp->bio_ma_offset; in mdstart_vnode() 1039 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 | 1130 bp->bio_ma_offset = addr & PAGE_MASK; in vdev_geom_fill_unmap_cb() 1211 bp->bio_ma_offset = 0; in vdev_geom_io_start()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_da.c | 1065 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
|
/freebsd/sys/geom/union/ |
H A D | g_union.c | 1001 cbp->bio_ma_offset += offset; in g_union_doio()
|
/freebsd/sys/cam/ata/ |
H A D | ata_da.c | 2416 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()
|
/freebsd/sys/vm/ |
H A D | swap_pager.c | 3235 bio->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in swapgeom_strategy()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_ddp.c | 1859 V_PPOD_OFST(bp->bio_ma_offset)); in t4_write_page_pods_for_bio()
|