Searched refs:mmap_prot (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb_dio.c | 79 const int mmap_prot = PROT_READ | PROT_WRITE; in run_dio_using_hugetlb() 97 orig_buffer = mmap(NULL, h_pagesize, mmap_prot, mmap_flags, -1, 0); in main() 33 const int mmap_prot = PROT_READ | PROT_WRITE; run_dio_using_hugetlb() local
|
| H A D | khugepaged.c | 326 const int mmap_prot = setup == FILE_SETUP_READ_ONLY_FS ? PROT_READ : (PROT_READ | PROT_WRITE); in file_setup_area_common() local 366 p = mmap(BASE_ADDR, size, mmap_prot, MAP_SHARED, finfo.fd, 0); in file_setup_area_common()
|
| /linux/include/uapi/linux/ |
| H A D | random.h | 62 * @mmap_prot: Value of the prot argument in mmap(2). 68 __u32 mmap_prot; member
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap.c | 6 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 | 3408 int mmap_prot, mmap_flags; 3423 mmap_prot = PROT_READ; 3427 mmap_prot |= PROT_WRITE; 3429 mmap_prot |= PROT_WRITE; 3442 buf = mmap(NULL, rd->mmap_size, mmap_prot, mmap_flags, rd->fd, 2316 int mmap_prot, mmap_flags; reader__mmap() local
|
| /linux/security/ |
| H A D | security.c | 2534 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() function 2581 return call_int_hook(mmap_file, file, prot, mmap_prot(file, prot), in security_mmap_file()
|
| /linux/tools/perf/ |
| H A D | Makefile.perf | |