Lines Matching refs:ptr
186 void *ptr = mmap (target, stride_size, PROT_READ | PROT_WRITE, in allocate_big() local
188 if (ptr == MAP_FAILED) in allocate_big()
196 if (ptr != target) in allocate_big()
198 stride_size, target, ptr); in allocate_big()
204 ptr = mmap (target, stride_size, PROT_NONE, in allocate_big()
206 if (ptr == MAP_FAILED) in allocate_big()
208 if (ptr != target) in allocate_big()
210 stride_size, target, ptr); in allocate_big()
230 void *ptr = mmap (current, to_map, PROT_READ | PROT_WRITE, in allocate_big() local
232 if (ptr == MAP_FAILED) in allocate_big()
240 if (ptr != current) in allocate_big()
242 to_map, target, ptr); in allocate_big()