Searched refs:mmap_prot (Results 1 – 5 of 5) sorted by relevance
5 static DEFINE_STRARRAY(mmap_prot, "PROT_");
2306 int mmap_prot, mmap_flags; in reader__mmap() local2310 mmap_prot = PROT_READ; in reader__mmap()2314 mmap_prot |= PROT_WRITE; in reader__mmap()2316 mmap_prot |= PROT_WRITE; in reader__mmap()2329 buf = mmap(NULL, rd->mmap_size, mmap_prot, mmap_flags, rd->fd, in reader__mmap()
2669 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() function2716 unsigned long prot_adj = mmap_prot(file, prot); in security_mmap_file()
571 mmap_prot_tbl := $(srctree)/tools/perf/trace/beauty/mmap_prot.sh
19777 mmap_prot |= PROT_WRITE;