Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 19 of 19) sorted by relevance

/tools/testing/selftests/vm/
Dksm_tests.c78 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
Dprotection_keys.c635 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
Dpkey-powerpc.h108 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
Dmemfd_secret.c34 static const int prot = PROT_READ | PROT_WRITE; variable
Dpkey-x86.h189 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
/tools/perf/trace/beauty/
Dmmap.c7 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/
Dmain.h12 unsigned int prot; member
/tools/lib/perf/include/internal/
Dmmap.h40 int prot; member
/tools/testing/selftests/powerpc/include/
Dpkeys.h63 int sys_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in sys_pkey_mprotect()
/tools/testing/selftests/bpf/progs/
Dlsm.c88 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG()
/tools/perf/util/
Dmap.h27 u32 prot; member
Dmap.c132 u32 prot, u32 flags, struct build_id *bid, in map__new()
Dauxtrace.h347 int prot; member
Dsynthetic-events.c294 u32 *prot, u32 *flags, __u64 *offset, in read_proc_maps_line()
Dauxtrace.c1123 int prot = rw ? PROT_READ | PROT_WRITE : PROT_READ; in auxtrace_buffer__get_data_rw() local
Dmachine.c1820 u32 prot = 0; in machine__process_mmap_event() local
/tools/arch/s390/include/uapi/asm/
Dptrace.h428 ptprot_flags prot; member
/tools/lib/perf/include/perf/
Devent.h42 __u32 prot; member
/tools/lib/bpf/
Dlibbpf.c10748 int prot, map_fd = bpf_map__fd(map); in bpf_object__load_skeleton() local