Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap01.c158 int pagesz; /* system's page size */ in setup() local
165 if ((pagesz = getpagesize()) < 0) { in setup()
171 memsize = (1000 * pagesz); in setup()
/external/llvm-project/compiler-rt/test/profile/ContinuousSyncMode/
Ddarwin-proof-of-concept.c128 int pagesz = getpagesize(); in main() local
130 if (cnts_start_int % pagesz != 0) { in main()
134 if (data_start_int % pagesz != 0) { in main()
/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c102 int i, pagesz = getpagesize(); in do_write_mem() local
104 for (i = 0; i < chunksize; i += pagesz) in do_write_mem()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c35 long i, pagesz = getpagesize(); in alloc_mem() local
59 for (i = 0; i < length; i += pagesz) in alloc_mem()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c4414 size_t pagesz; in dlvalloc() local
4416 pagesz = mparams.page_size; in dlvalloc()
4417 return dlmemalign(pagesz, bytes); in dlvalloc()
4421 size_t pagesz; in dlpvalloc() local
4423 pagesz = mparams.page_size; in dlpvalloc()
4424 return dlmemalign(pagesz, (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE)); in dlpvalloc()
/external/libffi/src/
Ddlmalloc.c4414 size_t pagesz; in dlvalloc() local
4416 pagesz = mparams.page_size; in dlvalloc()
4417 return dlmemalign(pagesz, bytes); in dlvalloc()
4421 size_t pagesz; in dlpvalloc() local
4423 pagesz = mparams.page_size; in dlpvalloc()
4424 return dlmemalign(pagesz, (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE)); in dlpvalloc()
/external/dlmalloc/
Dmalloc.c5321 size_t pagesz; in dlvalloc() local
5323 pagesz = mparams.page_size; in dlvalloc()
5324 return dlmemalign(pagesz, bytes); in dlvalloc()
5329 size_t pagesz; in dlpvalloc() local
5332 pagesz = mparams.page_size; in dlpvalloc()
5333 size = (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE); in dlpvalloc()
5337 return dlmemalign(pagesz, size); in dlpvalloc()