| /tools/tracing/rtla/src/ |
| A D | actions.c | 35 for (struct action *action = self->list; action < self->list + self->len; action++) { in actions_destroy() local 37 free(action->command); in actions_destroy() 49 static struct action * 66 struct action *action = actions_new(self); in actions_add_trace_output() local 84 struct action *action = actions_new(self); in actions_add_signal() local 89 action->pid = pid; in actions_add_signal() 100 struct action *action = actions_new(self); in actions_add_shell() local 105 if (!action->command) in actions_add_shell() 118 struct action *action = actions_new(self); in actions_add_continue() local 224 const struct action *action; in actions_perform() local [all …]
|
| /tools/testing/selftests/powerpc/signal/ |
| A D | sigreturn_unaligned.c | 27 struct sigaction action; in test_sigreturn_unaligned() local 29 memset(&action, 0, sizeof(action)); in test_sigreturn_unaligned() 30 action.sa_sigaction = sigusr1_handler; in test_sigreturn_unaligned() 31 action.sa_flags = SA_SIGINFO; in test_sigreturn_unaligned() 33 FAIL_IF(sigaction(SIGUSR1, &action, NULL) == -1); in test_sigreturn_unaligned()
|
| /tools/perf/tests/shell/lib/ |
| A D | perf_json_output_lint.py | 10 ap.add_argument('--no-args', action='store_true') 11 ap.add_argument('--interval', action='store_true') 13 ap.add_argument('--system-wide', action='store_true') 14 ap.add_argument('--event', action='store_true') 15 ap.add_argument('--per-core', action='store_true') 16 ap.add_argument('--per-thread', action='store_true') 17 ap.add_argument('--per-cache', action='store_true') 18 ap.add_argument('--per-cluster', action='store_true') 19 ap.add_argument('--per-die', action='store_true') 20 ap.add_argument('--per-node', action='store_true') [all …]
|
| /tools/testing/selftests/bpf/ |
| A D | ima_setup.sh | 129 if [[ "${action}" == "setup" ]]; then 131 elif [[ "${action}" == "cleanup" ]]; then 133 elif [[ "${action}" == "run" ]]; then 135 elif [[ "${action}" == "modify-bin" ]]; then 137 elif [[ "${action}" == "restore-bin" ]]; then 139 elif [[ "${action}" == "load-policy" ]]; then 142 echo "Unknown action: ${action}"
|
| A D | verify_sig_setup.sh | 101 local action="$1" 106 if [[ "${action}" == "setup" ]]; then 108 elif [[ "${action}" == "cleanup" ]]; then 110 elif [[ "${action}" == "fsverity-create-sign" ]]; then 112 elif [[ "${action}" == "fsverity-enable" ]]; then 115 echo "Unknown action: ${action}"
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | tc_restrictions.sh | 48 skip_sw dst_ip 192.0.2.2 action drop 65 skip_sw dst_ip 192.0.2.2 action drop 74 skip_sw dst_ip 192.0.2.2 action drop 194 local action=$1 205 skip_sw dst_ip 192.0.2.2 action drop 208 matchall skip_sw action $action_args 214 matchall skip_sw action $action_args 220 matchall skip_sw action $action_args 223 skip_sw dst_ip 192.0.2.2 action drop 249 local action=$1 [all …]
|
| A D | sharedbuffer.sh | 29 tc filter add dev $h1 egress pref 2 handle 102 matchall action drop 34 tc filter del dev $h1 egress pref 2 handle 102 matchall action drop 46 tc filter add dev $h2 egress pref 1 handle 101 matchall action drop 51 tc filter del dev $h2 egress pref 1 handle 101 matchall action drop 121 action pass 143 action pass 154 action pass 176 action pass 185 src_mac $h1mac action pass 204 src_mac $h1mac action pass
|
| /tools/testing/selftests/net/forwarding/ |
| A D | tc_mpls_l2vpn.sh | 84 action mpls mac_push label 102 \ 85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \ 86 action mirred egress redirect dev $mpls1 93 action vlan pop_eth \ 94 action mpls pop protocol teb \ 95 action mirred egress redirect dev $edge1 113 action mpls mac_push label 101 \ 115 action mirred egress redirect dev $mpls2 122 action vlan pop_eth \ 123 action mpls pop protocol teb \ [all …]
|
| A D | tc_actions.sh | 59 local action=$1 67 dst_ip 192.0.2.2 action drop 77 action mirred egress $action dev $swp2 214 action ct clear pipe \ 216 action ct clear pipe \ 217 action skbedit ptype host pipe \ 224 action drop 252 action vlan push id 100 protocol 0x8100 action goto chain 5 255 cvlan_ethtype 0x800 action pass 274 pipe action vlan push id 100 protocol 0x8100 action goto chain 5 [all …]
|
| A D | tc_flower.sh | 45 $tcflags dst_mac $dummy_mac action drop 47 $tcflags dst_mac $h2mac action drop 71 $tcflags src_mac $dummy_mac action drop 73 $tcflags src_mac $h1mac action drop 95 $tcflags dst_ip 198.51.100.2 action drop 97 $tcflags dst_ip 192.0.2.2 action drop 131 $tcflags src_ip 192.0.2.1 action drop 163 $tcflags ip_flags frag action continue 169 $tcflags ip_flags nofrag action drop 323 $tcflags dst_ip 192.0.2.2 action drop [all …]
|
| A D | tc_tunnel_key.sh | 79 if ! tc action add action tunnel_key help 2>&1 | grep -q nofrag; then 106 ip_flags nofrag action drop 109 ip_flags firstfrag action drop 112 ip_flags nofirstfrag action drop 116 action tunnel_key set src_ip 192.0.2.1 dst_ip 192.0.2.2 id 42 nofrag index 10 130 tc actions change action tunnel_key set src_ip 192.0.2.1 dst_ip 192.0.2.2 id 42 index 10
|
| /tools/net/sunrpc/xdrgen/ |
| A D | xdrgen | 39 action="version", 50 action="store_true", 56 action="store_true", 75 action="store_true", 81 action="store_true", 104 action="store_true", 110 action="store_true",
|
| /tools/testing/selftests/net/ |
| A D | bareudp.sh | 372 action mirred egress redirect dev bareudp_ns1 376 action mirred egress redirect dev bareudp_ns2 385 action mirred egress redirect dev bareudp_ns1 389 action mirred egress redirect dev bareudp_ns2 401 action mirred egress redirect dev bareudp_ns1 405 action mirred egress redirect dev bareudp_ns2 422 action mirred egress redirect dev bareudp_ns1 426 action mirred egress redirect dev bareudp_ns2 435 action mirred egress redirect dev bareudp_ns1 439 action mirred egress redirect dev bareudp_ns2 [all …]
|
| A D | xfrm_policy.sh | 75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 78 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 81 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block 107 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block 145 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow 157 echo netns exec $ns ip xfrm policy add src 0.0.0.0/0 dst 10.$i.99.0/30 dir out action block 158 echo netns exec $ns ip xfrm policy add src 10.$i.99.0/30 dst 0.0.0.0/0 dir out action block 160 … echo netns exec $ns ip xfrm policy add src 10.$i.1.0/30 dst 10.$i.$j.0/30 dir out action block 162 … echo netns exec $ns ip xfrm policy add src 10.$i.1.0/29 dst 10.$i.$j.0/29 dir out action block 299 ip -net $ns xfrm policy add dst $j.0.0.0/24 dir out priority 10 action allow [all …]
|
| /tools/testing/selftests/perf_events/ |
| A D | remove_on_exec.c | 78 struct sigaction action = {}; in FIXTURE_SETUP() local 83 action.sa_flags = SA_SIGINFO | SA_NODEFER; in FIXTURE_SETUP() 84 action.sa_sigaction = sigtrap_handler; in FIXTURE_SETUP() 85 sigemptyset(&action.sa_mask); in FIXTURE_SETUP() 86 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0); in FIXTURE_SETUP() 231 struct sigaction action = {}; in exec_child() local 235 action.sa_flags = SA_SIGINFO | SA_NODEFER; in exec_child() 236 action.sa_sigaction = sigtrap_handler; in exec_child() 237 sigemptyset(&action.sa_mask); in exec_child() 238 if (sigaction(SIGTRAP, &action, NULL)) in exec_child()
|
| /tools/net/ynl/pyynl/ |
| A D | cli.py | 57 spec_group.add_argument('--list-families', action='store_true', 63 parser.add_argument('--no-schema', action='store_true') 68 group.add_argument('--multi', dest='multi', nargs=2, action='append', 71 group.add_argument('--list-ops', action='store_true') 72 group.add_argument('--list-msgs', action='store_true') 79 parser.add_argument('--replace', dest='flags', action='append_const', 81 parser.add_argument('--excl', dest='flags', action='append_const', 83 parser.add_argument('--create', dest='flags', action='append_const', 85 parser.add_argument('--append', dest='flags', action='append_const', 88 parser.add_argument('--output-json', action='store_true') [all …]
|
| A D | ethtool.py | 128 parser.add_argument('--json', action=argparse.BooleanOptionalAction) 129 parser.add_argument('--show-priv-flags', action=argparse.BooleanOptionalAction) 130 parser.add_argument('--set-priv-flags', action=argparse.BooleanOptionalAction) 131 parser.add_argument('--show-eee', action=argparse.BooleanOptionalAction) 132 parser.add_argument('--set-eee', action=argparse.BooleanOptionalAction) 133 parser.add_argument('-a', '--show-pause', action=argparse.BooleanOptionalAction) 134 parser.add_argument('-A', '--set-pause', action=argparse.BooleanOptionalAction) 136 parser.add_argument('-C', '--set-coalesce', action=argparse.BooleanOptionalAction) 137 parser.add_argument('-g', '--show-ring', action=argparse.BooleanOptionalAction) 138 parser.add_argument('-G', '--set-ring', action=argparse.BooleanOptionalAction) [all …]
|
| /tools/testing/selftests/powerpc/primitives/ |
| A D | load_unaligned_zeropad.c | 94 struct sigaction action; in setup_segv_handler() local 96 memset(&action, 0, sizeof(action)); in setup_segv_handler() 97 action.sa_sigaction = segv_handler; in setup_segv_handler() 98 action.sa_flags = SA_SIGINFO; in setup_segv_handler() 99 sigaction(SIGSEGV, &action, NULL); in setup_segv_handler()
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | devlink_trap.sh | 75 local action 83 action=$(devlink_trap_action_get $trap_name) 84 if [ $action != "trap" ]; then 89 action=$(devlink_trap_action_get $trap_name) 90 if [ $action != "drop" ]; then 97 action=$(devlink_trap_action_get $trap_name) 98 if [ $action != $orig_action ]; then 104 if [ $action != $orig_action ]; then 206 local action 225 if [ $action != "trap" ]; then [all …]
|
| /tools/testing/selftests/drivers/net/ocelot/ |
| A D | tc_flower_chains.sh | 118 skip_sw action goto chain $(IS1 0) 120 flower skip_sw action goto chain $(IS1 1) 161 action vlan pop \ 162 action goto chain $(IS1 2) 166 action vlan push protocol 802.1Q id 100 170 action skbedit priority 7 \ 171 action goto chain $(IS1 1) 176 action goto chain $(IS2 1 0) 250 action vlan modify id 300 \ 251 action goto chain $(IS2 0 0) [all …]
|
| /tools/power/acpi/tools/acpidump/ |
| A D | apmain.c | 294 struct ap_dump_action *action; in main() local 316 action = &action_table[i]; in main() 317 switch (action->to_be_done) { in main() 325 status = ap_dump_table_by_address(action->argument); in main() 330 status = ap_dump_table_by_name(action->argument); in main() 335 status = ap_dump_table_from_file(action->argument); in main() 342 action->to_be_done); in main()
|
| /tools/testing/selftests/powerpc/copyloops/ |
| A D | exc_validate.c | 46 struct sigaction action; in setup_segv_handler() local 48 memset(&action, 0, sizeof(action)); in setup_segv_handler() 49 action.sa_sigaction = segv_handler; in setup_segv_handler() 50 action.sa_flags = SA_SIGINFO; in setup_segv_handler() 51 sigaction(SIGSEGV, &action, NULL); in setup_segv_handler()
|
| /tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| A D | tc_flower.sh | 102 $tcflags dst_ip 192.0.2.2 action drop 148 $tcflags dst_ip 192.0.2.2 action drop 150 $tcflags dst_ip 192.0.2.2 action drop 167 $tcflags dst_ip 192.0.2.2 action drop 913 $tcflags action goto chain 2 1058 action drop &> /dev/null 1062 action drop &> /dev/null 1079 action drop &> /dev/null 1083 action drop &> /dev/null 1114 action drop [all …]
|
| /tools/perf/scripts/python/ |
| A D | stackcollapse.py | 41 action="store_true", default=False, 44 action="store_true", default=False, 47 action="store_false", default=True, 50 action="store_true", default=False, 53 action="store_true", default=False,
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | perf_skip.c | 37 struct sigaction action = {}; in serial_test_perf_skip() local 47 action.sa_flags = SA_SIGINFO | SA_NODEFER; in serial_test_perf_skip() 48 action.sa_sigaction = handle_sigtrap; in serial_test_perf_skip() 49 sigemptyset(&action.sa_mask); in serial_test_perf_skip() 50 if (!ASSERT_OK(sigaction(SIGTRAP, &action, &previous_sigtrap), "sigaction")) in serial_test_perf_skip()
|