/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | devlink_port_split.py | 26 def run_command(cmd, should_fail=False): function 58 stdout, stderr = run_command(cmd) 82 stdout, stderr = run_command(cmd) 100 stdout, stderr = run_command(cmd) 116 stdout, stderr = run_command(cmd, should_fail=should_fail) 136 stdout, stderr = run_command(cmd) 215 stdout, stderr = run_command(cmd) 263 stdout, stderr = run_command(cmd) 271 stdout, stderr = run_command(cmd)
|
H A D | ncdevmem.c | 273 #define run_command(cmd, ...) \ macro 290 run_command("sudo ethtool -K %s ntuple off >&2", ifname); in reset_flow_steering() 291 run_command("sudo ethtool -K %s ntuple on >&2", ifname); in reset_flow_steering() 292 run_command( in reset_flow_steering() 354 return run_command("sudo ethtool -X %s equal %d >&2", ifname, start_queue); in configure_rss() 359 return run_command("sudo ethtool -L %s rx %u tx %u", ifname, rx, tx); in configure_channels() 377 if (run_command("sudo ethtool -N %s flow-type %s %s %s dst-ip %s %s %s dst-port %s queue %d >&2", in configure_flow_steering() 387 if (run_command("sudo ethtool -N %s flow-type %s dst-ip %s dst-port %s queue %d >&2", in configure_flow_steering()
|
/linux/tools/testing/ktest/ |
H A D | config-bisect.pl | 159 sub run_command { subroutine 235 if (!run_command "$make olddefconfig") { 239 if (!run_command "$make oldnoconfig") { 242 run_command "yes '' | $make oldconfig" or 734 run_command "cp $good_start $good" or die "failed to copy to $good\n"; 735 run_command "cp $bad_start $bad" or die "failed to copy to $bad\n"; 744 run_command "cp $output_config $good" or die "failed to copy $config to $good\n"; 746 run_command "cp $output_config $bad" or die "failed to copy $config to $bad\n"; 760 run_command "rm $good"; 761 run_command "rm $bad";
|
/linux/tools/tracing/rtla/src/ |
H A D | rtla.c | 46 int run_command(int argc, char **argv, int start_position) in run_command() function 69 retval = run_command(argc, argv, 0); in main() 82 retval = run_command(argc, argv, 1); in main()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 81 #define run_command(cmd, ...) \ macro 719 if (run_command("sudo tc qdisc show dev %s | grep -q 'qdisc mqprio 8001:'", ifname) == 0) in clean_existing_configurations() 720 run_command("sudo tc qdisc del dev %s root", ifname); in clean_existing_configurations() 723 if (run_command("sudo tc qdisc show dev %s | grep -q 'qdisc ingress ffff:'", ifname) == 0) in clean_existing_configurations() 724 run_command("sudo tc qdisc del dev %s ingress", ifname); in clean_existing_configurations() 727 if (run_command("sudo ethtool -n %s | grep -q 'Filter:'", ifname) == 0) { in clean_existing_configurations() 728 …run_command("sudo ethtool -n %s | grep 'Filter:' | awk '{print $2}' | xargs -n1 sudo ethtool -N %s… in clean_existing_configurations() 806 …run_command("sudo tc qdisc add dev %s handle 8001: parent root mqprio num_tc %d map %squeues %shw … in main() 812 …run_command("sudo tc qdisc replace dev %s parent 8001:%d etf offload clockid CLOCK_TAI delta 50000… in main() 817 if (run_command("sudo ethtool -N %s flow-type ether vlan 0x2000 vlan-mask 0x1FFF action %d", in main() [all …]
|
/linux/kernel/trace/ |
H A D | trace_dynevent.c | 411 dynevent_create_fn_t run_command) in dynevent_cmd_init() argument 417 cmd->run_command = run_command; in dynevent_cmd_init() 486 return cmd->run_command(cmd); in dynevent_create()
|
H A D | trace_dynevent.h | 125 dynevent_create_fn_t run_command);
|
/linux/tools/usb/usbip/src/ |
H A D | usbip.c | 127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command() function 182 rc = run_command(&cmds[i], argc, argv); in main()
|
/linux/tools/lib/subcmd/ |
H A D | run-command.h | 59 int run_command(struct child_process *);
|
H A D | run-command.c | 273 int run_command(struct child_process *cmd) in run_command() function 296 return run_command(&cmd); in run_command_v_opt()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 1510 static const char run_command[] = "run"; in wil_write_file_recovery() local 1511 char buf[sizeof(run_command) + 1]; /* to detect "runx" */ in wil_write_file_recovery() 1534 if (0 == strcmp(buf, run_command)) in wil_write_file_recovery()
|
/linux/include/linux/ |
H A D | trace_events.h | 513 dynevent_create_fn_t run_command; member
|
/linux/Documentation/trace/ |
H A D | events.rst | 1063 correct command type, and a pointer to an event-specific run_command()
|