/third_party/ltp/include/ |
D | tst_cmd.h | 59 static inline int tst_cmd(const char *const argv[], in tst_cmd() function 78 static inline int tst_cmd(void (cleanup_fn)(void), in tst_cmd() function
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs05_make_tree.c | 85 tst_cmd(cmd_run, output_file, NULL, 0); in run_targets() 182 tst_cmd(cmd_make, NULL, NULL, 0); in thread_fn() 186 tst_cmd(cmd_make_clean, NULL, NULL, 0); in thread_fn()
|
/third_party/ltp/lib/ |
D | tst_module.c | 100 tst_cmd(cleanup_fn, mod_argv, NULL, NULL, 0); in tst_module_load_() 112 rc = tst_cmd(NULL, argv, "/dev/null", "/dev/null", in tst_module_unload_()
|
D | tst_mkfs.c | 99 ret = tst_cmd(cleanup_fn, argv, "/dev/null", NULL, TST_CMD_PASS_RETVAL | in tst_mkfs_()
|
D | tst_safe_macros.c | 547 switch ((rval = tst_cmd(argv, stdout_path, stderr_path, in safe_cmd()
|
/third_party/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority01.c | 115 switch ((rc = tst_cmd(cmd_useradd, NULL, NULL, TST_CMD_PASS_RETVAL))) { in setup() 136 if (tst_cmd(cmd_userdel, NULL, NULL, TST_CMD_PASS_RETVAL)) in cleanup()
|
/third_party/ltp/testcases/kernel/device-drivers/zram/ |
D | zram03.c | 203 if (!tst_cmd(cmd_rmmod, NULL, NULL, TST_CMD_PASS_RETVAL)) { in setup() 216 if (tst_cmd(cmd_zramctl, zramctl_log_path, NULL, TST_CMD_PASS_RETVAL)) in setup()
|
/third_party/ltp/testcases/kernel/input/ |
D | input_helper.c | 95 ret = tst_cmd(NULL, argv, NULL, NULL, TST_CMD_PASS_RETVAL); in try_load_uinput() 111 ret = tst_cmd(NULL, argv, NULL, NULL, TST_CMD_PASS_RETVAL); in unload_uinput()
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_common.h | 29 tst_cmd(argv, NULL, NULL, TST_CMD_TCONF_ON_MISSING); in can_cmd()
|
/third_party/ltp/libs/libltpswap/ |
D | libswap.c | 33 return tst_cmd(argv, "/dev/null", "/dev/null", safe); in make_swapfile()
|
/third_party/ltp/testcases/kernel/fs/squashfs/ |
D | squashfs01.c | 83 tst_cmd(argv, "/dev/null", NULL, 0); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl09.c | 29 ret = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL); in change_partition()
|
D | ioctl_loop01.c | 110 ret = tst_cmd(cmd_parted, NULL, NULL, TST_CMD_PASS_RETVAL); in setup()
|
/third_party/ltp/testcases/network/can/cve/ |
D | can_bcm01.c | 51 tst_cmd((const char*[]){"modprobe", "vcan", NULL}, NULL, NULL, 0); in setup()
|
/third_party/ltp/tools/apicmds/ |
D | ltpapicmd.c | 111 tst_cmd(NULL, cmd, NULL, NULL, 0); in tst_cat_file()
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key05.c | 55 if (tst_cmd(cmd_userdel, NULL, NULL, TST_CMD_PASS_RETVAL)) in clean_user()
|
/third_party/ltp/testcases/cve/ |
D | stack_clash.c | 122 tst_cmd(cmd, NULL, NULL, 0); in dump_proc_self_maps()
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range02.c | 94 ret = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL); in run_command()
|
/third_party/ltp/testcases/kernel/syscalls/acct/ |
D | acct02.c | 74 rc = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL) << 8; in run_command()
|
/third_party/ltp/testcases/network/netstress/ |
D | netstress.c | 965 if (tst_cmd(argv, NULL, NULL, TST_CMD_PASS_RETVAL)) in setup()
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 1231 int tst_cmd(const char *const argv[], 1237 'tst_cmd()' is a wrapper for 'vfork() + execvp()' which provides a way 1243 'TST_CMD_PASS_RETVAL' enum 'tst_cmd_flags' makes 'tst_cmd()' 1244 return the program exit code to the caller, otherwise 'tst_cmd()' exit the 1266 tst_cmd(cmd, "log.txt", NULL, 0); 2035 method in the version_parsers structure of lib/tst_cmd.c.
|