Searched refs:pagesz (Results 1 – 9 of 9) sorted by relevance
/third_party/musl/src/malloc/ |
D | calloc.c | 9 const size_t pagesz = 4096; /* arbitrary */ in mal0_clear() local 10 if (n < pagesz) return n; in mal0_clear() 17 size_t i = (uintptr_t)pp & (pagesz - 1); in mal0_clear() 20 if (pp - p < pagesz) return pp - p; in mal0_clear() 21 for (i = pagesz; i; i -= 2*sizeof(T), pp -= 2*sizeof(T)) in mal0_clear()
|
/third_party/musl/porting/linux/user/src/malloc/ |
D | libc_calloc.c | 9 const size_t pagesz = 4096; /* arbitrary */ in mal0_clear() local 10 if (n < pagesz) return n; in mal0_clear() 17 size_t i = (uintptr_t)pp & (pagesz - 1); in mal0_clear() 20 if (pp - p < pagesz) return pp - p; in mal0_clear() 21 for (i = pagesz; i; i -= 2*sizeof(T), pp -= 2*sizeof(T)) in mal0_clear()
|
/third_party/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap01.c | 158 int pagesz; /* system's page size */ in setup() local 165 if ((pagesz = getpagesize()) < 0) { in setup() 171 memsize = (1000 * pagesz); in setup()
|
/third_party/ltp/testcases/kernel/mem/mtest01/ |
D | mtest01.c | 94 int i, pagesz = getpagesize(); in do_write_mem() local 96 for (i = 0; i < chunksize; i += pagesz) in do_write_mem()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/param/ |
D | auxv.rs | 193 let mut pagesz = 0; in init_from_auxp() localVariable 207 AT_PAGESZ => pagesz = a_val as usize, in init_from_auxp() 227 PAGE_SIZE.store(pagesz, Relaxed); in init_from_auxp()
|
/third_party/libunwind/src/coredump/ |
D | _UCD_get_mapinfo_linux.c | 48 unsigned long pagesz; member
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 35 long i, pagesz = getpagesize(); in alloc_mem() local 59 for (i = 0; i < length; i += pagesz) in alloc_mem()
|
/third_party/libffi/src/ |
D | dlmalloc.c | 4414 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()
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_malloc.c | 4465 size_t pagesz; in dlvalloc() local 4467 pagesz = mparams.page_size; in dlvalloc() 4468 return dlmemalign(pagesz, bytes); in dlvalloc() 4474 size_t pagesz; in dlpvalloc() local 4476 pagesz = mparams.page_size; in dlpvalloc() 4477 return dlmemalign(pagesz, in dlpvalloc() 4478 (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE)); in dlpvalloc()
|