Searched refs:mmap_prot (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A 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/include/uapi/linux/ |
| H A D | random.h | 68 __u32 mmap_prot; member
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap.c | 5 static DEFINE_STRARRAY(mmap_prot, "PROT_");
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_getrandom.c | 71 new_block = mmap(0, alloc_size, vgrnd.params.mmap_prot, vgrnd.params.mmap_flags, -1, 0); in vgetrandom_get_state()
|
| /linux/tools/perf/util/ |
| H A D | session.c | 2261 int mmap_prot, mmap_flags; in reader__mmap() local 2265 mmap_prot = PROT_READ; in reader__mmap() 2269 mmap_prot |= PROT_WRITE; in reader__mmap() 2271 mmap_prot |= PROT_WRITE; in reader__mmap() 2284 buf = mmap(NULL, rd->mmap_size, mmap_prot, mmap_flags, rd->fd, in reader__mmap()
|
| /linux/security/ |
| H A D | security.c | 2457 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() function 2504 return call_int_hook(mmap_file, file, prot, mmap_prot(file, prot), in security_mmap_file()
|
| /linux/tools/perf/ |
| H A D | Makefile.perf | 670 mmap_prot_tbl := $(srctree)/tools/perf/trace/beauty/mmap_prot.sh
|