Searched refs:run_cmd (Results 1 – 4 of 4) sorted by relevance
| /src/tests/atf_python/sys/net/ |
| H A D | vnet.py | 21 def run_cmd(cmd: str, verbose=True) -> str: function 87 def run_cmd(self, cmd, verbose=False): member in VnetInterface 90 return run_cmd(cmd, verbose) 101 name = run_cmd("/sbin/ifconfig {} create".format(iface_name)).rstrip() 107 run_cmd("/sbin/ifconfig {} -txcsum -txcsum6".format(name)) 114 run_cmd("/sbin/ifconfig {} mtu {}".format(self.name, mtu)) 127 self.run_cmd(cmd) 138 self.run_cmd(cmd) 143 self.run_cmd(cmd) 147 self.run_cmd(cmd) [all …]
|
| /src/sbin/swapon/ |
| H A D | swapon.c | 65 static int run_cmd(int *, const char *, ...) __printflike(2, 3); 399 error = run_cmd(NULL, "%s onetime%s %s", _PATH_GELI, args, in swap_on_off_geli() 473 error = run_cmd(&fd, "%s -l -n -f %s", in swap_on_off_md() 484 error = run_cmd(&fd, "%s -a -t vnode -n -f %s", in swap_on_off_md() 520 error = run_cmd(&fd, "%s -l -n -f %s -u %d", in swap_on_off_md() 531 error = run_cmd(NULL, "%s -a -t vnode -u %d -f %s", in swap_on_off_md() 542 error = run_cmd(&fd, "%s -l -n -f %s", in swap_on_off_md() 584 error = run_cmd(&fd, "%s -l -n -f %s -u %d", in swap_on_off_md() 613 error = run_cmd(NULL, "%s -d -u %d", in swap_on_off_md() 630 run_cmd(int *ofd, const char *cmdline, ...) in run_cmd() function
|
| /src/tools/tools/cxgbtool/ |
| H A D | cxgbtool.c | 1637 run_cmd(int argc, char *argv[], const char *iff_name) in run_cmd() function 1734 (void) run_cmd(i, args, iff_name); in run_cmd_loop() 1766 r = run_cmd(argc, argv, iff_name); in main()
|
| /src/usr.sbin/cxgbetool/ |
| H A D | cxgbetool.c | 3744 run_cmd(int argc, const char *argv[]) in run_cmd() function 3841 rc = run_cmd(i, args); in run_cmd_loop() 3929 rc = run_cmd(argc, argv); in main()
|