Searched refs:pagesz (Results 1 – 9 of 9) sorted by relevance
/freebsd/libexec/rtld-elf/ |
H A D | rtld_malloc.c | 62 #define NPOOLPAGES (128*1024/pagesz) 97 static int pagesz; /* page size */ variable 123 if (pagesz == 0) in __crt_malloc() 124 pagesz = pagesizes[0]; in __crt_malloc() 204 if (sz < pagesz) { in morecore() 205 amt = pagesz; in morecore() 212 if (morepages(amt / pagesz + NPOOLPAGES) == 0 && in morecore() 214 morepages(amt / pagesz) == 0) in morecore() 265 if (onb < (u_int)pagesz) in __crt_realloc() 268 onb += pagesz - sizeof(*op); in __crt_realloc() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | mmap30.sh | 59 int pagesz; 62 pagesz = getpagesize(); 63 addr = mmap(NULL, pagesz, PROT_NONE, MAP_GUARD, -1, 0); 67 if (mprotect(addr, pagesz, PROT_READ | PROT_WRITE) == -1) 70 if (mprotect(addr, pagesz, PROT_NONE) == -1) 73 if (munmap(addr, pagesz) == -1)
|
H A D | mmap17.sh | 61 int pagesz; 64 pagesz = getpagesize(); 65 addr = mmap(NULL, pagesz, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0); 70 addr -= pagesz; 71 addr1 = mmap(addr, 3 * pagesz, PROT_READ | PROT_WRITE, 78 addr1 = mmap(addr, 3 * pagesz, PROT_READ | PROT_WRITE,
|
H A D | mmap16.sh | 89 static int pagesz; 102 if (mprotect(addr, pagesz, PROT_READ | PROT_WRITE) == -1) 124 pagesz = getpagesize(); 127 addr = mmap(NULL, pagesz, PROT_NONE, MAP_GUARD, -1, 0); 133 addr = mmap(NULL, pagesz, PROT_NONE, MAP_ANON, -1, 0); 136 if (mlock(addr, pagesz) == -1)
|
/freebsd/lib/libkvm/ |
H A D | kvm_minidump_powerpc64_hpt.c | 606 unsigned int pagesz; in ppc64mmu_hpt_walk_pages() local 634 pagesz = LP_PAGE_SIZE; in ppc64mmu_hpt_walk_pages() 637 pagesz = PPC64_PAGE_SIZE; in ppc64mmu_hpt_walk_pages() 644 entry_to_prot(&pte), pagesz, 0)) in ppc64mmu_hpt_walk_pages()
|
/freebsd/sys/sys/ |
H A D | imgact_elf.h | 63 Elf_Size pagesz; member
|
/freebsd/sys/powerpc/powerpc/ |
H A D | elf_common.c | 67 AUXARGS_ENTRY(pos, AT_OLD_PAGESZ, args->pagesz); in __elfN()
|
/freebsd/sys/compat/linux/ |
H A D | linux_elf.c | 515 AUXARGS_ENTRY(pos, AT_PAGESZ, args->pagesz); in __linuxN()
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | 1419 elf_auxargs->pagesz = PAGE_SIZE; in __CONCAT() 1461 AUXARGS_ENTRY(pos, AT_PAGESZ, args->pagesz); in __elfN()
|