Home
last modified time | relevance | path

Searched refs:pagesz (Results 1 – 9 of 9) sorted by relevance

/freebsd/libexec/rtld-elf/
H A Drtld_malloc.c62 #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 Dmmap30.sh59 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 Dmmap17.sh61 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 Dmmap16.sh89 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 Dkvm_minidump_powerpc64_hpt.c606 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 Dimgact_elf.h63 Elf_Size pagesz; member
/freebsd/sys/powerpc/powerpc/
H A Delf_common.c67 AUXARGS_ENTRY(pos, AT_OLD_PAGESZ, args->pagesz); in __elfN()
/freebsd/sys/compat/linux/
H A Dlinux_elf.c515 AUXARGS_ENTRY(pos, AT_PAGESZ, args->pagesz); in __linuxN()
/freebsd/sys/kern/
H A Dimgact_elf.c1419 elf_auxargs->pagesz = PAGE_SIZE; in __CONCAT()
1461 AUXARGS_ENTRY(pos, AT_PAGESZ, args->pagesz); in __elfN()