Home
last modified time | relevance | path

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

12

/tools/perf/trace/beauty/
Dmmap.c9 int printed = 0, prot = arg->val; in syscall_arg__scnprintf_mmap_prot() local
12 if (prot == PROT_NONE) in syscall_arg__scnprintf_mmap_prot()
15 if (prot & PROT_##n) { \ in syscall_arg__scnprintf_mmap_prot()
17 prot &= ~PROT_##n; \ in syscall_arg__scnprintf_mmap_prot()
28 if (prot) in syscall_arg__scnprintf_mmap_prot()
29 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", prot); in syscall_arg__scnprintf_mmap_prot()
/tools/testing/selftests/x86/
Dprotection_keys.c680 int prot; member
685 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() argument
717 rec->prot = prot; in record_pkey_malloc()
750 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect() argument
757 size, prot, pkey); in malloc_pkey_with_mprotect()
759 ptr = mmap(NULL, size, prot, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_with_mprotect()
761 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect()
763 record_pkey_malloc(ptr, size, prot); in malloc_pkey_with_mprotect()
770 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge() argument
776 size, prot, pkey); in malloc_pkey_anon_huge()
[all …]
/tools/testing/selftests/net/forwarding/
Dmirror_gre.sh66 local prot=$1; shift
75 tc filter add dev $h3 ingress pref 77 prot $prot \
Dmirror_gre_changes.sh70 local prot=$1; shift
76 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 \
Dmirror_gre_lib.sh64 tc filter add dev $h3 ingress pref 77 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_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_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_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 \
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 \
/tools/perf/util/
Dmmap.h40 int prot, mask, nr_cblocks, affinity, flush, comp_level; member
Dmap.h31 u32 prot; member
115 u64 ino_gen, u32 prot, u32 flags,
Dsynthetic-events.c312 char prot[5]; in perf_event__synthesize_mmap_events() local
336 &event->mmap2.start, &event->mmap2.len, prot, in perf_event__synthesize_mmap_events()
358 event->mmap2.prot = 0; in perf_event__synthesize_mmap_events()
360 if (prot[0] == 'r') in perf_event__synthesize_mmap_events()
361 event->mmap2.prot |= PROT_READ; in perf_event__synthesize_mmap_events()
362 if (prot[1] == 'w') in perf_event__synthesize_mmap_events()
363 event->mmap2.prot |= PROT_WRITE; in perf_event__synthesize_mmap_events()
364 if (prot[2] == 'x') in perf_event__synthesize_mmap_events()
365 event->mmap2.prot |= PROT_EXEC; in perf_event__synthesize_mmap_events()
367 if (prot[3] == 's') in perf_event__synthesize_mmap_events()
[all …]
Dmap.c150 u64 ino_gen, u32 prot, u32 flags, char *filename, in map__new() argument
171 map->prot = prot; in map__new()
175 if ((anon || no_dso) && nsi && (prot & PROT_EXEC)) { in map__new()
215 if (!(prot & PROT_EXEC)) in map__new()
Devent.c272 (event->mmap2.prot & PROT_READ) ? 'r' : '-', in perf_event__fprintf_mmap2()
273 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-', in perf_event__fprintf_mmap2()
274 (event->mmap2.prot & PROT_EXEC) ? 'x' : '-', in perf_event__fprintf_mmap2()
Djitdump.c465 event->mmap2.prot = st.st_mode; in jit_repipe_code_load()
557 event->mmap2.prot = st.st_mode; in jit_repipe_code_move()
Dauxtrace.h297 int prot; member
Dmmap.c374 map->core.base = mmap(NULL, perf_mmap__mmap_len(map), mp->prot, in perf_mmap__mmap()
Dmachine.c1677 event->mmap2.prot, in machine__process_mmap2_event()
1706 u32 prot = 0; in machine__process_mmap_event() local
1726 prot = PROT_EXEC; in machine__process_mmap_event()
1730 0, 0, 0, 0, prot, 0, in machine__process_mmap_event()
Devlist.c647 mp->prot = PROT_READ | PROT_WRITE; in evlist__mmap_per_evsel()
660 mp->prot &= ~PROT_WRITE; in evlist__mmap_per_evsel()
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh78 prot ipv6 \
/tools/arch/s390/include/uapi/asm/
Dptrace.h427 ptprot_flags prot; member
/tools/perf/lib/include/perf/
Devent.h30 __u32 prot; member
/tools/perf/
Dbuiltin-report.c737 map->prot & PROT_READ ? 'r' : '-', in maps__fprintf_task()
738 map->prot & PROT_WRITE ? 'w' : '-', in maps__fprintf_task()
739 map->prot & PROT_EXEC ? 'x' : '-', in maps__fprintf_task()

12