Searched refs:mmap_prot (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/tools/perf/util/ |
D | session.c | 2053 int err = 0, mmap_prot, mmap_flags, map_idx = 0; in reader__process_events() local 2075 mmap_prot = PROT_READ; in reader__process_events() 2079 mmap_prot |= PROT_WRITE; in reader__process_events() 2083 buf = mmap(NULL, mmap_size, mmap_prot, mmap_flags, rd->fd, in reader__process_events()
|
/Linux-v5.4/security/ |
D | security.c | 1412 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() function 1450 mmap_prot(file, prot), flags); in security_mmap_file()
|