Lines Matching refs:arg
54 static void __for_each_pid(void (*helper)(int, const char *, void *), const char *header, void *arg… in __for_each_pid() argument
82 helper(pid, cmdline, arg); in __for_each_pid()
88 static void for_each_pid_helper(int pid, const char *cmdline, void *arg) { in for_each_pid_helper() argument
89 for_each_pid_func *func = arg; in for_each_pid_helper()
97 static void for_each_tid_helper(int pid, const char *cmdline, void *arg) { in for_each_tid_helper() argument
101 for_each_tid_func *func = arg; in for_each_tid_helper()
205 char arg[255]; in do_showmap() local
208 sprintf(arg, "%d", pid); in do_showmap()
209 run_command(title, 10, SU_PATH, "root", "showmap", arg, NULL); in do_showmap()
268 size_t arg; in run_command() local
276 for (arg = 1; arg < sizeof(args) / sizeof(args[0]); ++arg) { in run_command()
277 args[arg] = va_arg(ap, const char *); in run_command()
278 if (args[arg] == NULL) break; in run_command()
279 if (title) printf(" %s", args[arg]); in run_command()