Searched refs:mmap_mem (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | cow.c | 799 char *mem, *mmap_mem, *tmp, *mremap_mem = MAP_FAILED; in do_run_with_thp() local 805 mmap_mem = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in do_run_with_thp() 807 if (mmap_mem == MAP_FAILED) { in do_run_with_thp() 813 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1)); in do_run_with_thp() 933 munmap(mmap_mem, mmap_size); in do_run_with_thp() 1470 char *mem, *smem, *mmap_mem, *mmap_smem, tmp; in run_with_huge_zeropage() local 1483 mmap_mem = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in run_with_huge_zeropage() 1485 if (mmap_mem == MAP_FAILED) { in run_with_huge_zeropage() 1497 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1)); in run_with_huge_zeropage() 1522 munmap(mmap_mem, mmap_size); in run_with_huge_zeropage()
|
/linux-6.3-rc2/drivers/char/ |
A D | mem.c | 362 static int mmap_mem(struct file *file, struct vm_area_struct *vma) in mmap_mem() function 656 .mmap = mmap_mem,
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf.c | 11487 perf_event_read_simple(void *mmap_mem, size_t mmap_size, size_t page_size, 11491 struct perf_event_mmap_page *header = mmap_mem;
|
Completed in 30 milliseconds