Lines Matching refs:stride_size
135 size_t stride_size = minimum_stride_size (page_size, element_size); in allocate_big() local
136 if (stride_size == 0) in allocate_big()
144 if (stride_size < maximum_small_size) in allocate_big()
145 stride_size in allocate_big()
146 = ((maximum_small_size + stride_size - 1) / stride_size) * stride_size; in allocate_big()
148 if (stride_size > total_size) in allocate_big()
176 if (posix_fallocate (fd, 0, stride_size) != 0) in allocate_big()
177 FAIL_EXIT1 ("posix_fallocate (%zu): %m", stride_size); in allocate_big()
181 TEST_VERIFY_EXIT ((stride_size % page_size) == 0); in allocate_big()
182 TEST_VERIFY_EXIT ((stride_size % element_size) == 0); in allocate_big()
186 void *ptr = mmap (target, stride_size, PROT_READ | PROT_WRITE, in allocate_big()
198 stride_size, target, ptr); in allocate_big()
201 fill (target, element, element_size, stride_size / element_size); in allocate_big()
204 ptr = mmap (target, stride_size, PROT_NONE, in allocate_big()
210 stride_size, target, ptr); in allocate_big()
227 size_t to_map = stride_size; in allocate_big()