Searched refs:mmap_prot (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/tools/testing/selftests/mm/ |
D | hugetlb_dio.c | 33 const int mmap_prot = PROT_READ | PROT_WRITE; in run_dio_using_hugetlb() local 55 orig_buffer = mmap(NULL, h_pagesize, mmap_prot, mmap_flags, -1, 0); in run_dio_using_hugetlb()
|
/linux-6.12.1/include/uapi/linux/ |
D | random.h | 68 __u32 mmap_prot; member
|
/linux-6.12.1/tools/perf/trace/beauty/ |
D | mmap.c | 5 static DEFINE_STRARRAY(mmap_prot, "PROT_");
|
/linux-6.12.1/lib/vdso/ |
D | getrandom.c | 82 params->mmap_prot = PROT_READ | PROT_WRITE; in __cvdso_getrandom_data()
|
/linux-6.12.1/tools/testing/selftests/vDSO/ |
D | vdso_test_getrandom.c | 72 new_block = mmap(0, alloc_size, vgrnd.params.mmap_prot, vgrnd.params.mmap_flags, -1, 0); in vgetrandom_get_state()
|
/linux-6.12.1/tools/perf/util/ |
D | session.c | 2054 int mmap_prot, mmap_flags; in reader__mmap() local 2058 mmap_prot = PROT_READ; in reader__mmap() 2062 mmap_prot |= PROT_WRITE; in reader__mmap() 2064 mmap_prot |= PROT_WRITE; in reader__mmap() 2077 buf = mmap(NULL, rd->mmap_size, mmap_prot, mmap_flags, rd->fd, in reader__mmap()
|
/linux-6.12.1/security/ |
D | security.c | 2932 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() function 2979 return call_int_hook(mmap_file, file, prot, mmap_prot(file, prot), in security_mmap_file()
|
/linux-6.12.1/tools/perf/ |
D | Makefile.perf | 664 mmap_prot_tbl := $(srctree)/tools/perf/trace/beauty/mmap_prot.sh
|