Home
last modified time | relevance | path

Searched refs:page_sz (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c223 long page_sz; in open_db() local
238 if ((page_sz = sysconf(_SC_PAGE_SIZE)) == -1) { in open_db()
272 sz = size_db(hdp, page_sz, count); in open_db()
293 rv = invalid_db(hdp, sz, page_sz); in open_db()
295 rv = init_hdr(hdp, page_sz, count); in open_db()
487 invalid_db(struct di_devlink_handle *hdp, size_t fsize, long page_sz) in invalid_db() argument
497 if (DB_HDR(hdp)->page_sz == 0 || DB_HDR(hdp)->page_sz != page_sz) { in invalid_db()
509 assert(sz % page_sz == 0); in invalid_db()
777 init_hdr(struct di_devlink_handle *hdp, long page_sz, uint32_t *count) in init_hdr() argument
785 DB_HDR(hdp)->page_sz = (uint32_t)page_sz; in init_hdr()
[all …]
H A Ddevinfo_devlink.h93 uint32_t page_sz; /* page size for mmap alignment */ member
297 static int init_hdr(struct di_devlink_handle *hdp, long page_sz,
299 static size_t size_db(struct di_devlink_handle *hdp, long page_sz,
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_rdma.c414 uint_t page_sz; in rdsv3_ib_map_fmr() local
427 page_sz = rds_ibdev->hca_attr.hca_page_sz * 1024; /* in kbytes */ in rdsv3_ib_map_fmr()
428 paddr_list_len = (bp->b_bcount / page_sz) + 2; /* start + end pg */ in rdsv3_ib_map_fmr()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_cxt.c471 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in ecore_cxt_set_proto_cid_count() local
473 u32 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in ecore_cxt_set_proto_cid_count()
1457 u32 page_sz, elems_per_page, block_waste, cxt_size, cdu_params = 0; in ecore_cdu_init_common() local
1460 page_sz = p_hwfn->p_cxt_mngr->clients[ILT_CLI_CDUC].p_size.val; in ecore_cdu_init_common()
1462 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in ecore_cdu_init_common()
1463 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in ecore_cdu_init_common()
1471 page_sz = p_hwfn->p_cxt_mngr->clients[ILT_CLI_CDUT].p_size.val; in ecore_cdu_init_common()
1473 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in ecore_cdu_init_common()
1474 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in ecore_cdu_init_common()
1485 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in ecore_cdu_init_common()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c352 mpt_entry.page_sz = mr->mr_logmttpgsz - 0xC; in tavor_mr_register_shared()
1237 mpt_entry.page_sz = mr->mr_logmttpgsz - 0xC; in tavor_mr_common_reg()
1440 mpt_entry.page_sz = mr->mr_logmttpgsz - 0xC; in tavor_dma_mr_register()
1839 mpt_entry.page_sz = mr->mr_logmttpgsz - 0xC; in tavor_mr_common_rereg()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h866 uint32_t page_sz :5; member
913 uint32_t page_sz :5; member