Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 25 of 40) sorted by relevance

12

/tools/testing/selftests/vm/
Dpkey-powerpc.h108 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage() argument
114 size, prot, pkey); in malloc_pkey_with_mprotect_subpage()
116 ptr = mmap(NULL, size, prot, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_with_mprotect_subpage()
125 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect_subpage()
127 record_pkey_malloc(ptr, size, prot); in malloc_pkey_with_mprotect_subpage()
Dprotection_keys.c634 int prot; member
639 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() argument
671 rec->prot = prot; in record_pkey_malloc()
704 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect() argument
711 size, prot, pkey); in malloc_pkey_with_mprotect()
713 ptr = mmap(NULL, size, prot, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_with_mprotect()
715 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect()
717 record_pkey_malloc(ptr, size, prot); in malloc_pkey_with_mprotect()
724 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge() argument
730 size, prot, pkey); in malloc_pkey_anon_huge()
[all …]
Dpkey-x86.h176 void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage() argument
Dpkey-helpers.h86 void record_pkey_malloc(void *ptr, long size, int prot);
/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() argument
9 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); in mmap__scnprintf_prot()
14 unsigned long prot = arg->val; in syscall_arg__scnprintf_mmap_prot() local
16 if (prot == 0) in syscall_arg__scnprintf_mmap_prot()
19 return mmap__scnprintf_prot(prot, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_prot()
/tools/testing/selftests/net/forwarding/
Dpedit_l4port.sh130 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \
156 local prot=$1; shift
162 do_test_pedit_l4port_one "$locus" "$prot" \
163 "$prot $pedit_port set $port" \
164 ip "ip_proto $prot $flower_port $port" \
Dmirror_gre_changes.sh70 local prot=$1; shift
77 tc filter add dev $h3 ingress pref 77 prot $prot \
Dvxlan_bridge_1d.sh506 tc filter add dev v1 egress pref 77 prot ip \
509 tc filter del dev v1 egress pref 77 prot ip
518 tc filter add dev v1 egress pref 77 prot ip \
522 tc filter del dev v1 egress pref 77 prot ip
534 tc filter add dev v1 egress pref 77 prot ip \
538 tc filter del dev v1 egress pref 77 prot ip
631 tc filter add dev $h1 ingress pref 77 prot ip \
Dsch_tbf_core.sh97 tc filter add dev $h2 ingress pref 1010 prot 802.1q \
99 tc filter add dev $h2 ingress pref 1011 prot 802.1q \
Dpedit_dsfield.sh158 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \
231 tc filter add dev $h2 ingress handle 101 pref 1 prot ip \
Dmirror_gre_lib.sh64 tc filter add dev $h3 ingress pref 77 prot 802.1q \
Dgre_multipath.sh136 tc filter add dev $ul2 ingress pref 111 prot 802.1Q \
138 tc filter add dev $ul2 ingress pref 222 prot 802.1Q \
Dgre_inner_v4_multipath.sh155 tc filter add dev $ul32 ingress pref 111 prot 802.1Q \
157 tc filter add dev $ul32 ingress pref 222 prot 802.1Q \
Dgre_inner_v6_multipath.sh155 tc filter add dev $ul32 ingress pref 111 prot 802.1Q \
157 tc filter add dev $ul32 ingress pref 222 prot 802.1Q \
Dip6gre_inner_v4_multipath.sh154 tc filter add dev $ul32 ingress pref 111 prot 802.1Q \
156 tc filter add dev $ul32 ingress pref 222 prot 802.1Q \
Dip6gre_inner_v6_multipath.sh154 tc filter add dev $ul32 ingress pref 111 prot 802.1Q \
156 tc filter add dev $ul32 ingress pref 222 prot 802.1Q \
/tools/testing/selftests/powerpc/include/
Dpkeys.h63 int sys_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in sys_pkey_mprotect() argument
65 return syscall(__NR_pkey_mprotect, addr, len, prot, pkey); in sys_pkey_mprotect()
/tools/lib/perf/include/internal/
Dmmap.h39 int prot; member
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_police_scale.sh44 prot ipv6 \
Dtc_flower_scale.sh78 prot ipv6 \
Dqos_dscp_router.sh253 tc filter add dev $swp1 ingress handle 101 pref 1 prot ip flower \
/tools/perf/util/
Dmap.h27 u32 prot; member
109 u64 pgoff, struct dso_id *id, u32 prot, u32 flags,
Dmap.c132 u32 prot, u32 flags, char *filename, in map__new() argument
148 map->prot = prot; in map__new()
152 if ((anon || no_dso) && nsi && (prot & PROT_EXEC)) { in map__new()
192 if (!(prot & PROT_EXEC)) in map__new()
/tools/testing/selftests/bpf/progs/
Dlsm.c41 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
/tools/arch/s390/include/uapi/asm/
Dptrace.h427 ptprot_flags prot; member

12