Searched refs:pagesz (Results 1 – 7 of 7) sorted by relevance
158 int pagesz; /* system's page size */ in setup() local165 if ((pagesz = getpagesize()) < 0) { in setup()171 memsize = (1000 * pagesz); in setup()
128 int pagesz = getpagesize(); in main() local130 if (cnts_start_int % pagesz != 0) { in main()134 if (data_start_int % pagesz != 0) { in main()
102 int i, pagesz = getpagesize(); in do_write_mem() local104 for (i = 0; i < chunksize; i += pagesz) in do_write_mem()
35 long i, pagesz = getpagesize(); in alloc_mem() local59 for (i = 0; i < length; i += pagesz) in alloc_mem()
4414 size_t pagesz; in dlvalloc() local4416 pagesz = mparams.page_size; in dlvalloc()4417 return dlmemalign(pagesz, bytes); in dlvalloc()4421 size_t pagesz; in dlpvalloc() local4423 pagesz = mparams.page_size; in dlpvalloc()4424 return dlmemalign(pagesz, (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE)); in dlpvalloc()
5321 size_t pagesz; in dlvalloc() local5323 pagesz = mparams.page_size; in dlvalloc()5324 return dlmemalign(pagesz, bytes); in dlvalloc()5329 size_t pagesz; in dlpvalloc() local5332 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()