Searched refs:subcmd_config (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | exec-cmd.c | 23 subcmd_config.exec_name = exec_name; in exec_cmd_init() 24 subcmd_config.prefix = prefix; in exec_cmd_init() 25 subcmd_config.exec_path = exec_path; in exec_cmd_init() 26 subcmd_config.exec_path_env = exec_path_env; in exec_cmd_init() 79 astrcatf(&buf, "%s/%s", subcmd_config.prefix, path); in system_path() 109 setenv(subcmd_config.exec_path_env, exec_path, 1); in set_argv_exec_path() 121 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path() 125 return system_path(subcmd_config.exec_path); in get_argv_exec_path() 169 nargv[0] = subcmd_config.exec_name; in prepare_exec_cmd() 180 execvp(subcmd_config in execv_cmd() [all...] |
H A D | subcmd-config.h | 5 struct subcmd_config { struct 13 extern struct subcmd_config subcmd_config;
|
H A D | subcmd-config.c | 6 struct subcmd_config subcmd_config = { variable
|
H A D | pager.c | 23 subcmd_config.pager_env = pager_env; in pager_init() 73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager()
|
H A D | parse-options.c | 641 astrcatf(&buf, "%s %s [<options>] {", subcmd_config.exec_name, argv[0]); in parse_options_subcommand()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | exec-cmd.c | 23 subcmd_config.exec_name = exec_name; in exec_cmd_init() 24 subcmd_config.prefix = prefix; in exec_cmd_init() 25 subcmd_config.exec_path = exec_path; in exec_cmd_init() 26 subcmd_config.exec_path_env = exec_path_env; in exec_cmd_init() 84 astrcatf(&buf, "%s/%s", subcmd_config.prefix, path); in system_path() 114 setenv(subcmd_config.exec_path_env, exec_path, 1); in set_argv_exec_path() 126 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path() 130 return system_path(subcmd_config.exec_path); in get_argv_exec_path() 177 nargv[0] = subcmd_config.exec_name; in prepare_exec_cmd() 188 execvp(subcmd_config in execv_cmd() [all...] |
H A D | subcmd-config.h | 5 struct subcmd_config { struct 13 extern struct subcmd_config subcmd_config;
|
H A D | subcmd-config.c | 6 struct subcmd_config subcmd_config = { variable
|
H A D | pager.c | 23 subcmd_config.pager_env = pager_env; in pager_init() 73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager()
|
H A D | parse-options.c | 641 astrcatf(&buf, "%s %s [<options>] {", subcmd_config.exec_name, argv[0]); in parse_options_subcommand()
|
Completed in 4 milliseconds