Home
last modified time | relevance | path

Searched refs:page_offset (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/dev/isci/scil/
H A Dsati_mode_sense_6.c219 U32 page_offset = sati_mode_sense_6_translate_data( in sati_mode_sense_6_caching_translate_data() local
224 sequence, scsi_io, identify, page_offset in sati_mode_sense_6_caching_translate_data()
249 U32 page_offset = sati_mode_sense_6_translate_data( in sati_mode_sense_6_informational_excp_control_translate_data() local
254 sequence, scsi_io, identify, page_offset in sati_mode_sense_6_informational_excp_control_translate_data()
281 U32 page_offset = sati_mode_sense_6_translate_data( in sati_mode_sense_6_disconnect_reconnect_translate_data() local
286 sequence, scsi_io, identify, page_offset in sati_mode_sense_6_disconnect_reconnect_translate_data()
313 U32 page_offset = sati_mode_sense_6_translate_data( in sati_mode_sense_6_read_write_error_translate_data() local
318 sequence, scsi_io, identify, page_offset in sati_mode_sense_6_read_write_error_translate_data()
345 U32 page_offset = sati_mode_sense_6_translate_data( in sati_mode_sense_6_control_translate_data() local
350 sequence, scsi_io, identify, page_offset in sati_mode_sense_6_control_translate_data()
[all …]
H A Dsati_mode_sense_10.c301 U32 page_offset = sati_mode_sense_10_translate_data( in sati_mode_sense_10_caching_translate_data() local
306 sequence, scsi_io, identify, page_offset in sati_mode_sense_10_caching_translate_data()
331 U32 page_offset = sati_mode_sense_10_translate_data( in sati_mode_sense_10_informational_excp_control_translate_data() local
336 sequence, scsi_io, identify, page_offset in sati_mode_sense_10_informational_excp_control_translate_data()
363 U32 page_offset = sati_mode_sense_10_translate_data( in sati_mode_sense_10_read_write_error_translate_data() local
368 sequence, scsi_io, identify, page_offset in sati_mode_sense_10_read_write_error_translate_data()
395 U32 page_offset = sati_mode_sense_10_translate_data( in sati_mode_sense_10_disconnect_reconnect_translate_data() local
400 sequence, scsi_io, identify, page_offset in sati_mode_sense_10_disconnect_reconnect_translate_data()
427 U32 page_offset = sati_mode_sense_10_translate_data( in sati_mode_sense_10_control_translate_data() local
432 sequence, scsi_io, identify, page_offset in sati_mode_sense_10_control_translate_data()
[all …]
/freebsd/sys/i386/i386/
H A Duio_machdep.c62 vm_offset_t page_offset; in uiomove_fromphys() local
89 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
90 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
93 cp = (char *)sf_buf_kva(sf) + page_offset; in uiomove_fromphys()
/freebsd/sys/powerpc/powerpc/
H A Duio_machdep.c64 vm_offset_t page_offset; in uiomove_fromphys() local
93 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
94 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
98 cp = (char*)sf_buf_kva(sf) + page_offset; in uiomove_fromphys()
/freebsd/sys/arm/arm/
H A Duio_machdep.c62 vm_offset_t page_offset; in uiomove_fromphys() local
90 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
91 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
93 cp = (char*)sf_buf_kva(sf) + page_offset; in uiomove_fromphys()
/freebsd/sys/riscv/riscv/
H A Duio_machdep.c59 vm_offset_t page_offset, vaddr; in uiomove_fromphys() local
88 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
89 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
93 cp = (char *)vaddr + page_offset; in uiomove_fromphys()
/freebsd/sys/arm64/arm64/
H A Duio_machdep.c59 vm_offset_t page_offset, vaddr; in uiomove_fromphys() local
88 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
89 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
93 cp = (char *)vaddr + page_offset; in uiomove_fromphys()
/freebsd/sys/amd64/amd64/
H A Duio_machdep.c61 vm_offset_t page_offset, vaddr; in uiomove_fromphys() local
90 page_offset = offset & PAGE_MASK; in uiomove_fromphys()
91 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
95 cp = (char *)vaddr + page_offset; in uiomove_fromphys()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_srq.c67 MLX5_SET(wq, wq, page_offset, in->page_offset); in set_wq()
79 MLX5_SET(srqc, srqc, page_offset, in->page_offset); in set_srqc()
94 in->page_offset = MLX5_GET(wq, wq, page_offset); in get_wq()
107 in->page_offset = MLX5_GET(srqc, srqc, page_offset); in get_srqc()
135 u32 page_offset = in->page_offset; in get_pas_size() local
139 u32 rq_sz_po = rq_sz + (page_offset * po_quanta); in get_pas_size()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.c826 const size_t page_offset = in __vmci_memcpy_to_queue() local
839 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied); in __vmci_memcpy_to_queue()
845 vmci_memcpy_fromiovec((uint8_t *)va + page_offset, in __vmci_memcpy_to_queue()
848 memcpy((uint8_t *)va + page_offset, in __vmci_memcpy_to_queue()
883 const size_t page_offset = in __vmci_memcpy_from_queue() local
896 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied); in __vmci_memcpy_from_queue()
903 page_offset, to_copy); in __vmci_memcpy_from_queue()
906 (uint8_t *)va + page_offset, to_copy); in __vmci_memcpy_from_queue()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c410 unsigned int page_offset;
441 page_offset = *f_pos & ~PAGE_MASK;
443 io_size = (io_size << PAGE_SHIFT) - page_offset;
469 virtual += page_offset;
500 unsigned int page_offset;
510 page_offset = *f_pos & ~PAGE_MASK;
512 io_size = (io_size << PAGE_SHIFT) - page_offset;
537 virtual += page_offset;
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c1116 size_t mtodo, page_offset, todo; in icl_soft_conn_pdu_append_bio() local
1128 page_offset = bp->bio_ma_offset + offset; in icl_soft_conn_pdu_append_bio()
1134 page_offset = offset; in icl_soft_conn_pdu_append_bio()
1147 m->m_epg_1st_off = page_offset; in icl_soft_conn_pdu_append_bio()
1150 todo = MIN(len, PAGE_SIZE - page_offset); in icl_soft_conn_pdu_append_bio()
1170 page_offset = 0; in icl_soft_conn_pdu_append_bio()
1198 todo = MIN(len, PAGE_SIZE - page_offset); in icl_soft_conn_pdu_append_bio()
1204 page_offset, mtodo); in icl_soft_conn_pdu_append_bio()
1208 page_offset += mtodo; in icl_soft_conn_pdu_append_bio()
1212 page_offset = 0; in icl_soft_conn_pdu_append_bio()
[all …]
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c625 size_t page_offset, todo, mtodo; in icl_cxgbei_conn_pdu_append_bio() local
640 page_offset = bp->bio_ma_offset + offset; in icl_cxgbei_conn_pdu_append_bio()
646 page_offset = offset; in icl_cxgbei_conn_pdu_append_bio()
659 m->m_epg_1st_off = page_offset; in icl_cxgbei_conn_pdu_append_bio()
662 todo = MIN(len, PAGE_SIZE - page_offset); in icl_cxgbei_conn_pdu_append_bio()
682 page_offset = 0; in icl_cxgbei_conn_pdu_append_bio()
710 todo = MIN(len, PAGE_SIZE - page_offset); in icl_cxgbei_conn_pdu_append_bio()
718 page_offset, mtodo); in icl_cxgbei_conn_pdu_append_bio()
722 page_offset += mtodo; in icl_cxgbei_conn_pdu_append_bio()
730 page_offset = 0; in icl_cxgbei_conn_pdu_append_bio()
[all …]
/freebsd/sys/dev/mlx5/
H A Dsrq.h45 u32 page_offset; member
H A Dcq.h102 u32 page_offset; member
/freebsd/sys/dev/gve/
H A Dgve_rx.c85 rx->page_info[i].page_offset = 0; in gve_prefill_rx_slots()
230 rx->page_info[i].page_offset); in gve_rx_clear_data_ring()
416 page_info->page_offset ^= GVE_DEFAULT_RX_BUFFER_OFFSET; in gve_rx_flip_buff()
430 uint32_t offset = page_info->page_offset + page_info->pad; in gve_rx_create_mbuf()
H A Dgve.h157 uint32_t page_offset; member
/freebsd/sys/kern/
H A Dsys_process.c341 int error, fault_flags, page_offset, writing; in proc_rwmem() local
385 page_offset = uva - pageno; in proc_rwmem()
390 len = min(PAGE_SIZE - page_offset, uio->uio_resid); in proc_rwmem()
407 error = uiomove_fromphys(&m, page_offset, len, uio); in proc_rwmem()
/freebsd/sys/contrib/dev/rtw88/
H A Dfw.c2004 u8 page_offset = 1, *buf, page_size = chip->page_size; in rtw_hw_scan_update_probe_req()
2006 u16 buf_offset = page_size * page_offset; in rtw_hw_scan_update_probe_req()
2017 pages = page_offset + num_probes * page_cnt; in rtw_add_chan_info()
2037 loc = pg_addr - rtwdev->fifo.rsvd_boundary + page_offset; in rtw_add_chan_info()
2041 page_offset += page_cnt; in rtw_add_chan_info()
2051 rtwdev->scan_info.probe_pg_size = page_offset; in rtw_add_chan_list()
1924 u8 page_offset = 1, *buf, page_size = chip->page_size; _rtw_hw_scan_update_probe_req() local
H A Ddebug.c28 u32 page_offset; member
257 u32 offset = debugfs_priv->rsvd_page.page_offset * page_size; in rtw_debugfs_get_rsvd_page()
307 debugfs_priv->rsvd_page.page_offset = offset; in rtw_debugfs_set_rsvd_page()
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c587 uint64_t page_offset; in notify_unmap_cleanup() local
589 page_offset = gmap->notify->index - gmap->file_index; in notify_unmap_cleanup()
590 page = PHYS_TO_VM_PAGE(gmap->map->phys_base_addr + page_offset); in notify_unmap_cleanup()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_srq.c139 in->page_offset = offset; in create_srq_user()
H A Dmlx5_ib_qp.c857 MLX5_SET(qpc, qpc, page_offset, offset); in create_user_qp()
1130 MLX5_SET(wq, wq, page_offset, offset); in create_raw_packet_qp_sq()
1163 u32 page_offset = MLX5_GET(qpc, qpc, page_offset); in get_rq_pas_size() local
1167 u32 rq_sz_po = rq_sz + (page_offset * po_quanta); in get_rq_pas_size()
1213 MLX5_SET(wq, wq, page_offset, MLX5_GET(qpc, qpc, page_offset)); in create_raw_packet_qp_rq()
4722 MLX5_SET(wq, wq, page_offset, rwq->rq_page_offset); in create_rq()
H A Dmlx5_ib_devx.c140 u32 page_offset; member
2125 obj->page_offset = obj->umem->address & page_mask; in devx_umem_get()
2154 MLX5_SET(umem, umem, page_offset, obj->page_offset); in devx_umem_reg_cmd_build()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_arm.c1542 int page_offset = offset % PAGE_SIZE; in dump_phys_mem() local
1558 page_offset], in dump_phys_mem()
1559 &kmapped_virt_ptr[page_offset], 16); in dump_phys_mem()

12