/tools/testing/selftests/vm/ |
D | ksm_tests.c | 78 int prot = 0; in str_to_prot() local 121 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 242 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge() 273 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 313 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge() 357 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge() 419 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 460 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time() 534 int prot = 0; in main() local
|
D | protection_keys.c | 635 int prot; member 640 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 705 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect() 725 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge() 806 void *malloc_pkey_hugetlb(long size, int prot, u16 pkey) in malloc_pkey_hugetlb() 827 void *malloc_pkey_mmap_dax(long size, int prot, u16 pkey) in malloc_pkey_mmap_dax() 862 void *malloc_pkey(long size, int prot, u16 pkey) in malloc_pkey() 1361 int prot; in test_mprotect_with_pkey_0() local 1720 int prot = PROT_READ|PROT_WRITE; in run_tests_once() local
|
D | pkey-powerpc.h | 108 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
|
D | memfd_secret.c | 34 static const int prot = PROT_READ | PROT_WRITE; variable
|
D | pkey-x86.h | 189 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
|
/tools/perf/trace/beauty/ |
D | mmap.c | 7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot() 14 unsigned long prot = arg->val; in syscall_arg__scnprintf_mmap_prot() local
|
/tools/testing/selftests/sgx/ |
D | main.h | 12 unsigned int prot; member
|
/tools/lib/perf/include/internal/ |
D | mmap.h | 40 int prot; member
|
/tools/testing/selftests/powerpc/include/ |
D | pkeys.h | 63 int sys_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in sys_pkey_mprotect()
|
/tools/testing/selftests/bpf/progs/ |
D | lsm.c | 88 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG()
|
/tools/perf/util/ |
D | map.h | 27 u32 prot; member
|
D | map.c | 132 u32 prot, u32 flags, struct build_id *bid, in map__new()
|
D | auxtrace.h | 347 int prot; member
|
D | synthetic-events.c | 294 u32 *prot, u32 *flags, __u64 *offset, in read_proc_maps_line()
|
D | auxtrace.c | 1123 int prot = rw ? PROT_READ | PROT_WRITE : PROT_READ; in auxtrace_buffer__get_data_rw() local
|
D | machine.c | 1820 u32 prot = 0; in machine__process_mmap_event() local
|
/tools/arch/s390/include/uapi/asm/ |
D | ptrace.h | 428 ptprot_flags prot; member
|
/tools/lib/perf/include/perf/ |
D | event.h | 42 __u32 prot; member
|
/tools/lib/bpf/ |
D | libbpf.c | 10748 int prot, map_fd = bpf_map__fd(map); in bpf_object__load_skeleton() local
|