| /src/tools/test/stress2/testcases/shm/ |
| H A D | shm.c | 52 static size_t pgsize; variable 60 pgsize = sysconf(_SC_PAGESIZE); in setup() 64 if ((shmid = shmget(shmkey, 10 * pgsize, IPC_CREAT | IPC_EXCL | 0640)) == -1) { in setup() 153 i = (i + 1) % (10 * pgsize); in test() 155 i = (i + 1) % (10 * pgsize); in test() 165 i = (i + 1) % (10 * pgsize); in test() 176 i = (i + 1) % (10 * pgsize); in test()
|
| /src/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
| H A D | dtfs_vfsops.c | 200 int pgsize; in dtfs_fs_statvfs() local 203 pgsize = getpagesize(); in dtfs_fs_statvfs() 217 sbp->f_blocks = ROUND(btot, pgsize) / pgsize; in dtfs_fs_statvfs() 220 sbp->f_bsize = sbp->f_frsize = sbp->f_iosize = pgsize; in dtfs_fs_statvfs() 221 sbp->f_bfree = sbp->f_bavail = ROUND(bfree, pgsize) / pgsize; in dtfs_fs_statvfs()
|
| /src/crypto/openssl/crypto/ |
| H A D | mem_sec.c | 429 size_t pgsize; in sh_init() local 502 pgsize = PAGE_SIZE; in sh_init() 504 pgsize = (size_t)tmppgsize; in sh_init() 508 pgsize = (size_t)systemInfo.dwPageSize; in sh_init() 510 pgsize = PAGE_SIZE; in sh_init() 512 sh.map_size = pgsize + sh.arena_size + pgsize; in sh_init() 539 sh.arena = (char *)(sh.map_result + pgsize); in sh_init() 548 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0) in sh_init() 551 if (VirtualProtect(sh.map_result, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE) in sh_init() 556 aligned = (pgsize + sh.arena_size + (pgsize - 1)) & ~(pgsize - 1); in sh_init() [all …]
|
| /src/lib/libc/gen/ |
| H A D | memfd_create.c | 55 size_t namelen, pgsize; in memfd_create() local 98 pgsize = (size_t)1 << ((flags & MFD_HUGE_MASK) >> MFD_HUGE_SHIFT); in memfd_create() 100 if (pgsize == pgs[pgidx]) in memfd_create()
|
| /src/tools/regression/sysvshm/ |
| H A D | shmtest.c | 63 static size_t pgsize; variable 96 pgsize = sysconf(_SC_PAGESIZE); in main() 113 if ((sender_shmid = shmget(shmkey, pgsize, IPC_CREAT | 0640)) == -1) in main() 269 if ((shmid = shmget(shmkey, pgsize, 0)) == -1) in receiver()
|
| /src/contrib/netbsd-tests/kernel/ |
| H A D | t_sysv.c | 82 size_t pgsize; variable 624 pgsize = sysconf(_SC_PAGESIZE); in ATF_TC_BODY() 629 ATF_REQUIRE_MSG((sender_shmid = shmget(shmkey, pgsize, in ATF_TC_BODY() 753 shmid = shmget(shmkey, pgsize, 0); in sharer() 782 pgsize = sysconf(_SC_PAGESIZE); in ATF_TC_BODY() 787 ATF_REQUIRE_MSG((shmid_remap = shmget(shmkey, pgsize, in ATF_TC_BODY() 791 ATF_REQUIRE_MSG((shm_buf = mmap(NULL, pgsize, PROT_READ | PROT_WRITE, in ATF_TC_BODY()
|
| /src/sys/dev/bnxt/bnxt_re/ |
| H A D | qplib_res.c | 131 offset += sginfo->pgsize; in __fill_user_dma_pages() 132 tmp_size -= sginfo->pgsize; in __fill_user_dma_pages() 172 pbl->pg_size = sginfo->pgsize; in __alloc_pbl() 237 pg_size = hwq_attr->sginfo->pgsize; in bnxt_qplib_alloc_init_hwq() 288 sginfo.pgsize = npde * PAGE_SIZE; in bnxt_qplib_alloc_init_hwq() 294 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_init_hwq() 350 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_init_hwq() 437 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_tqm_rings() 552 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_hwctx()
|
| H A D | ib_verbs.c | 709 mrinfo.sg.pgsize = PAGE_SIZE; in bnxt_re_legacy_create_fence_mr() 1323 srq->qplib_srq.sginfo.pgsize = PAGE_SIZE; in bnxt_re_create_srq() 1926 qp->qplib_qp.sq.sginfo.pgsize = PAGE_SIZE; in bnxt_re_create_shadow_qp() 1936 qp->qplib_qp.rq.sginfo.pgsize = PAGE_SIZE; in bnxt_re_create_shadow_qp() 2009 rq->sginfo.pgsize = PAGE_SIZE; in bnxt_re_init_rq_attr() 2102 sq->sginfo.pgsize = PAGE_SIZE; in bnxt_re_init_sq_attr() 3871 qplcq->sginfo.pgsize = PAGE_SIZE; in bnxt_re_create_cq() 4150 cq->qplib_cq.sginfo.pgsize = PAGE_SIZE; in bnxt_re_resize_cq() 4887 mrinfo.sg.pgsize = PAGE_SIZE; in bnxt_re_get_dma_mr() 4889 mrinfo.sg.pgsize = PAGE_SIZE; in bnxt_re_get_dma_mr() [all …]
|
| H A D | qplib_rcfw.c | 1048 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_rcfw_channel() 1063 sginfo.pgsize = BNXT_QPLIB_CMDQE_PAGE_SIZE; in bnxt_qplib_alloc_rcfw_channel()
|
| H A D | qplib_res.h | 238 u32 pgsize; member
|
| H A D | qplib_fp.c | 600 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_nq_mem() 1201 sginfo.pgsize = req_size; in bnxt_qplib_create_qp() 1222 sginfo.pgsize = req_size; in bnxt_qplib_create_qp()
|
| H A D | qplib_sp.c | 729 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_fast_reg_page_list()
|
| /src/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_debug.c | 200 u_long pgsize; local 231 pgsize = ((BTREE *)dbp->internal)->bt_mp->pagesize; 232 lim = (pgsize - BTDATAOFF) / sizeof(indx_t);
|
| /src/lib/libcuse/ |
| H A D | cuse_lib.c | 168 unsigned long pgsize; in cuse_vmalloc() local 181 pgsize = getpagesize(); in cuse_vmalloc() 182 info.page_count = howmany(size, pgsize); in cuse_vmalloc() 215 ptr = mmap(NULL, info.page_count * pgsize, in cuse_vmalloc()
|
| /src/tools/test/stress2/misc/ |
| H A D | sem.sh | 72 size_t pgsize;
|
| /src/sys/amd64/vmm/ |
| H A D | vmm_instruction_emul.c | 2070 uint64_t *ptpbase, ptpphys, pte, pgsize; in _vm_gla2gpa() local 2116 pgsize = 1UL << ptpshift; in _vm_gla2gpa() 2162 *gpa = pte32 | (gla & (pgsize - 1)); in _vm_gla2gpa() 2206 pgsize = 1UL << ptpshift; in _vm_gla2gpa() 2229 if (pgsize > 1 * GB) { in _vm_gla2gpa() 2251 *gpa = pte | (gla & (pgsize - 1)); in _vm_gla2gpa()
|
| /src/contrib/byacc/ |
| H A D | aclocal.m4 | 2054 MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title=\"\$ROOT(\$TYPE)\" -compress -pgsize $cf_man2html_page"
|
| /src/contrib/dialog/ |
| H A D | aclocal.m4 | 5962 MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title=\"\$ROOT(\$TYPE)\" -compress -pgsize $cf_man2html_page"
|