Searched refs:alloc_area (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/vm/ |
D | userfaultfd.c | 240 static void anon_allocate_area(void **alloc_area, bool is_src) in anon_allocate_area() argument 242 *alloc_area = mmap(NULL, nr_pages * page_size, PROT_READ | PROT_WRITE, in anon_allocate_area() 261 static void hugetlb_allocate_area(void **alloc_area, bool is_src) in hugetlb_allocate_area() argument 267 *alloc_area = mmap(NULL, in hugetlb_allocate_area() 275 *alloc_area = mmap(NULL, in hugetlb_allocate_area() 282 if (*alloc_area == MAP_FAILED) in hugetlb_allocate_area() 319 static void shmem_allocate_area(void **alloc_area, bool is_src) in shmem_allocate_area() argument 336 *alloc_area = mmap(p, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, in shmem_allocate_area() 338 if (*alloc_area == MAP_FAILED) in shmem_allocate_area() 340 if (test_collapse && *alloc_area != p) in shmem_allocate_area() [all …]
|
/linux-6.1.9/drivers/md/ |
D | dm-snap-persistent.c | 167 static int alloc_area(struct pstore *ps) in alloc_area() function 327 r = alloc_area(ps); in read_header() 372 r = alloc_area(ps); in read_header()
|