Home
last modified time | relevance | path

Searched refs:run_cmd (Results 1 – 4 of 4) sorted by relevance

/freebsd/tests/atf_python/sys/net/
H A Dvnet.py21 def run_cmd(cmd: str, verbose=True) -> str: function
86 def run_cmd(self, cmd, verbose=False): member in VnetInterface
89 return run_cmd(cmd, verbose)
100 name = run_cmd("/sbin/ifconfig {} create".format(iface_name)).rstrip()
106 run_cmd("/sbin/ifconfig {} -txcsum -txcsum6".format(name))
113 run_cmd("/sbin/ifconfig {} mtu {}".format(self.name, mtu))
126 self.run_cmd(cmd)
137 self.run_cmd(cmd)
142 self.run_cmd(cmd)
146 self.run_cmd(cmd)
[all …]
/freebsd/sbin/swapon/
H A Dswapon.c65 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
/freebsd/tools/tools/cxgbtool/
H A Dcxgbtool.c1637 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()
/freebsd/usr.sbin/cxgbetool/
H A Dcxgbetool.c3784 run_cmd(int argc, const char *argv[])
3881 rc = run_cmd(i, args);
3969 rc = run_cmd(argc, argv);
3543 run_cmd(int argc, const char *argv[]) run_cmd() function