Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_port_split.py26 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 Dncdevmem.c237 #define run_command(cmd, ...) \ macro
254 run_command("sudo ethtool -K %s ntuple off >&2", ifname); in reset_flow_steering()
255 run_command("sudo ethtool -K %s ntuple on >&2", ifname); in reset_flow_steering()
256 run_command( in reset_flow_steering()
318 return run_command("sudo ethtool -X %s equal %d >&2", ifname, start_queue); in configure_rss()
323 return run_command("sudo ethtool -L %s rx %u tx %u", ifname, rx, tx); in configure_channels()
340 …return 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()
/linux-6.15/tools/testing/ktest/
H A Dktest.pl577 sub run_command;
1466 run_command "$power_cycle";
1485 if (run_command $reboot) {
1488 run_command "$power_cycle";
1524 run_command $switch_to_good;
1607 run_command $post_test;
1858 run_command $post_test;
1864 sub run_command { subroutine
2733 run_command "$power_off";
2767 run_command $post_test;
[all …]
H A Dconfig-bisect.pl159 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-6.15/tools/tracing/rtla/src/
H A Drtla.c46 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-6.15/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c81 #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()
806run_command("sudo tc qdisc add dev %s handle 8001: parent root mqprio num_tc %d map %squeues %shw … in main()
817 if (run_command("sudo ethtool -N %s flow-type ether vlan 0x2000 vlan-mask 0x1FFF action %d", in main()
819 run_command("sudo tc qdisc add dev %s ingress", ifname); in main()
820 run_command("sudo tc filter add dev %s parent ffff: protocol 802.1Q flower vlan_prio 1 hw_tc %d", in main()
[all …]
/linux-6.15/kernel/trace/
H A Dtrace_dynevent.c411 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 Dtrace_dynevent.h125 dynevent_create_fn_t run_command);
/linux-6.15/tools/usb/usbip/src/
H A Dusbip.c127 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-6.15/tools/lib/subcmd/
H A Drun-command.h59 int run_command(struct child_process *);
H A Drun-command.c262 int run_command(struct child_process *cmd) in run_command() function
285 return run_command(&cmd); in run_command_v_opt()
/linux-6.15/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c1510 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-6.15/include/linux/
H A Dtrace_events.h514 dynevent_create_fn_t run_command; member
/linux-6.15/Documentation/trace/
H A Devents.rst1063 correct command type, and a pointer to an event-specific run_command()