Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/tools/testing/selftests/futex/
DTEST_MAPPING7 "include-filter": "kselftest_futex_requeue"
10 "include-filter": "kselftest_futex_requeue_pi"
13 "include-filter": "kselftest_futex_requeue_pi_500k"
16 "include-filter": "kselftest_futex_requeue_pi_5k"
19 "include-filter": "kselftest_futex_requeue_pi_b"
22 "include-filter": "kselftest_futex_requeue_pi_b_500k"
25 "include-filter": "kselftest_futex_requeue_pi_b_5k"
28 "include-filter": "kselftest_futex_requeue_pi_bl"
31 "include-filter": "kselftest_futex_requeue_pi_bl_2G"
34 "include-filter": "kselftest_futex_requeue_pi_bl_500k"
[all …]
/tools/testing/selftests/timers/
DTEST_MAPPING7 "include-filter": "kselftest_timers_inconsistency_check"
10 "include-filter": "kselftest_timers_nanosleep"
13 "include-filter": "kselftest_timers_nsleep_lat"
16 "include-filter": "kselftest_timers_posix_timers"
19 "include-filter": "kselftest_timers_set_timer_lat"
22 "include-filter": "kselftest_timers_tests_raw_skew"
25 "include-filter": "kselftest_timers_threadtest"
28 "include-filter": "kselftest_timers_valid_adjtimex"
/tools/perf/util/
Dstrfilter.c30 void strfilter__delete(struct strfilter *filter) in strfilter__delete() argument
32 if (filter) { in strfilter__delete()
33 strfilter_node__delete(filter->root); in strfilter__delete()
34 free(filter); in strfilter__delete()
162 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new() local
165 if (filter) in strfilter__new()
166 filter->root = strfilter_node__new(rules, &ep); in strfilter__new()
168 if (!filter || !filter->root || *ep != '\0') { in strfilter__new()
171 strfilter__delete(filter); in strfilter__new()
172 filter = NULL; in strfilter__new()
[all …]
Dstrfilter.h42 int strfilter__or(struct strfilter *filter,
55 int strfilter__and(struct strfilter *filter,
65 bool strfilter__compare(struct strfilter *filter, const char *str);
73 void strfilter__delete(struct strfilter *filter);
82 char *strfilter__string(struct strfilter *filter);
/tools/testing/selftests/net/forwarding/
Dtc_flower.sh44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
Dtc_actions.sh65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
117 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
130 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
132 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
[all …]
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
133 tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \
137 tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \
[all …]
Dtc_flower_cfm.sh60 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \
62 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \
85 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower
86 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower
96 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \
98 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \
100 tc filter add dev $h2 ingress protocol cfm pref 1 handle 103 \
131 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower
132 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower
133 tc filter del dev $h2 ingress protocol cfm pref 1 handle 103 flower
[all …]
Drouter_multicast.sh240 tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \
242 tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \
266 tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower
267 tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower
280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \
282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \
306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower
307 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower
323 tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \
325 tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \
[all …]
Dtc_police.sh132 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
152 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
158 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
164 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
207 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
212 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
219 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
[all …]
/tools/testing/selftests/x86/
DTEST_MAPPING7 "include-filter": "kselftest_x86_check_initial_reg_state"
10 "include-filter": "kselftest_x86_ldt_gdt"
13 "include-filter": "kselftest_x86_ptrace_syscall"
16 "include-filter": "kselftest_x86_single_step_syscall"
19 "include-filter": "kselftest_x86_syscall_nt"
22 "include-filter": "kselftest_x86_test_mremap_vdso"
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
73 tc filter add block 22 protocol ip pref 1 handle 101 flower \
77 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter add block 22 protocol ip pref 1 handle 101 flower \
108 tc filter del block 22 protocol ip pref 1 handle 101 flower
113 tc filter add block 22 protocol ip pref 1 handle 101 flower \
123 tc filter add block 22 protocol ip pref 1 handle 101 flower \
130 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
Dtc_sample.sh232 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
250 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
263 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
267 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
269 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
284 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
288 tc filter add dev $rp1 ingress protocol all pref 2 handle 102 matchall \
295 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
297 tc filter add dev $rp1 ingress protocol all pref 2 handle 102 matchall \
303 tc filter del dev $rp1 ingress protocol all pref 2 handle 102 matchall
[all …]
Dport_range_occ.sh73 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
79 tc filter add dev $swp1 ingress pref 1 handle 102 proto ip \
82 tc filter add dev $swp1 ingress pref 2 handle 103 proto ipv6 \
85 tc filter add dev $swp1 ingress pref 2 handle 104 proto ipv6 \
91 tc filter del dev $swp1 ingress pref 2 handle 104 flower
92 tc filter del dev $swp1 ingress pref 2 handle 103 flower
93 tc filter del dev $swp1 ingress pref 1 handle 102 flower
97 tc filter del dev $swp1 ingress pref 1 handle 101 flower
Dtc_police_occ.sh70 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
76 tc filter del dev $swp1 ingress pref 1 handle 101 flower
80 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
84 tc filter add dev $swp1 ingress pref 2 handle 102 proto ip \
90 tc filter del dev $swp1 ingress pref 2 handle 102 flower
94 tc filter del dev $swp1 ingress pref 1 handle 101 flower
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
110 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
125 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
133 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
147 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
149 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
158 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
166 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
175 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
183 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/tools/testing/selftests/drivers/net/dsa/
Dtc_actions.sh65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
117 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
130 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
132 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
[all …]
/tools/tracing/rtla/src/
Dtrace.c212 if (free_event->filter) in trace_events_free()
213 free(free_event->filter); in trace_events_free()
250 int trace_event_add_filter(struct trace_events *event, char *filter) in trace_event_add_filter() argument
252 if (event->filter) in trace_event_add_filter()
253 free(event->filter); in trace_event_add_filter()
255 event->filter = strdup(filter); in trace_event_add_filter()
256 if (!event->filter) in trace_event_add_filter()
283 char filter[1024]; in trace_event_disable_filter() local
286 if (!tevent->filter) in trace_event_disable_filter()
293 tevent->event ? : "*", tevent->filter); in trace_event_disable_filter()
[all …]
/tools/testing/selftests/vDSO/
DTEST_MAPPING7 "include-filter": "kselftest_vdso_vdso_test_abi"
10 "include-filter": "kselftest_vdso_vdso_test_clock_getres"
13 "include-filter": "kselftest_vdso_vdso_test_getcpu"
16 "include-filter": "kselftest_vdso_vdso_test_gettimeofday"
/tools/perf/tests/shell/
Drecord_bpf_filter.sh31 if ! perf record -e task-clock --filter 'period > 1' \
43 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \
69 if ! perf record -e task-clock --filter 'cpu > 0' \
77 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \
91 if ! perf record -e task-clock --filter 'period > 1000 || ip > 0' \
99 if ! perf record -e task-clock --filter 'cpu > 0 || ip > 0' \
107 if ! perf record -e task-clock --filter 'period > 0 || code_pgsz > 4096' \
/tools/testing/selftests/netfilter/
Dnft_nat.sh86 ip netns exec $ns nft list counter inet filter $counter 1>&2
94 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
99 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
106 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect")
111 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect")
125 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
131 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
137 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
142 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out6 | grep -q "packets 0 bytes 0")
150 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir} | grep -q "$expect")
[all …]
/tools/testing/selftests/net/
DTEST_MAPPING7 "include-filter": "kselftest_net_psock_tpacket"
10 "include-filter": "kselftest_net_reuseaddr_conflict"
13 "include-filter": "kselftest_net_socket"
/tools/testing/selftests/mm/
DTEST_MAPPING7 "include-filter": "kselftest_mm_mremap_dontunmap"
10 "include-filter": "kselftest_mm_mremap_test"
13 "include-filter": "kselftest_mm_uffd_unit_tests"
/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh117 tc filter add dev $eth ingress chain 0 pref 49152 flower \
119 tc filter add dev $eth ingress chain $(IS1 0) pref 49152 \
121 tc filter add dev $eth ingress chain $(IS1 1) pref 49152 \
123 tc filter add dev $eth ingress chain $(IS1 2) pref 49152 \
135 tc filter add dev $eth ingress chain $(IS2 0 0) pref 49152 \
159 tc filter add dev $swp1 ingress chain $(IS1 1) pref 1 \
164 tc filter add dev $swp1 egress chain $(ES0) pref 1 \
168 tc filter add dev $swp1 ingress chain $(IS1 0) pref 2 \
173 tc filter add dev $swp1 ingress chain $(IS2 0 0) pref 1 \
248 tc filter add dev $swp1 ingress chain $(IS1 2) pref 3 \
[all …]
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c391 struct sock_filter filter[] = { in TEST() local
395 .len = (unsigned short)ARRAY_SIZE(filter), in TEST()
396 .filter = filter, in TEST()
427 struct sock_filter *filter; in TEST() local
431 filter = calloc(count, sizeof(*filter)); in TEST()
432 ASSERT_NE(NULL, filter); in TEST()
435 filter[i] = allow[0]; in TEST()
440 prog.filter = filter; in TEST()
464 struct sock_filter *filter; in TEST() local
468 filter = calloc(count, sizeof(*filter)); in TEST()
[all …]

12345678910>>...12