Home
last modified time | relevance | path

Searched refs:mmap_prot (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dhugetlb_dio.c33 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/
Drandom.h68 __u32 mmap_prot; member
/linux-6.12.1/tools/perf/trace/beauty/
Dmmap.c5 static DEFINE_STRARRAY(mmap_prot, "PROT_");
/linux-6.12.1/lib/vdso/
Dgetrandom.c82 params->mmap_prot = PROT_READ | PROT_WRITE; in __cvdso_getrandom_data()
/linux-6.12.1/tools/testing/selftests/vDSO/
Dvdso_test_getrandom.c72 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/
Dsession.c2054 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/
Dsecurity.c2932 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/
DMakefile.perf664 mmap_prot_tbl := $(srctree)/tools/perf/trace/beauty/mmap_prot.sh