Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 15 of 15) sorted by relevance

/kernel/debug/kdb/
Dkdb_main.c434 int kdb_set(int argc, const char **argv) in kdb_set() argument
446 if (argc == 3) { in kdb_set()
448 argc--; in kdb_set()
451 if (argc != 2) in kdb_set()
552 int kdbgetaddrarg(int argc, const char **argv, int *nextarg, in kdbgetaddrarg() argument
583 if (*nextarg > argc) in kdbgetaddrarg()
635 if ((*nextarg > argc) in kdbgetaddrarg()
660 if ((*nextarg > argc) in kdbgetaddrarg()
730 static int kdb_exec_defcmd(int argc, const char **argv);
765 static int kdb_defcmd(int argc, const char **argv) in kdb_defcmd() argument
[all …]
Dkdb_bt.c127 kdb_bt(int argc, const char **argv) in kdb_bt() argument
141 unsigned long mask = kdb_task_state_string(argc ? argv[1] : in kdb_bt()
143 if (argc == 0) in kdb_bt()
163 if (argc != 1) in kdb_bt()
174 if (argc != 1) in kdb_bt()
182 if (argc > 1) in kdb_bt()
184 if (argc == 1) { in kdb_bt()
206 if (argc) { in kdb_bt()
208 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, in kdb_bt()
Dkdb_bp.c48 static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) in kdb_parsebp() argument
54 if ((argc + 1) != nextarg) { in kdb_parsebp()
68 if ((argc + 1) != nextarg) { in kdb_parsebp()
84 if ((argc + 1) != nextarg) in kdb_parsebp()
277 static int kdb_bp(int argc, const char **argv) in kdb_bp() argument
287 if (argc == 0) { in kdb_bp()
302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp()
331 diag = kdb_parsebp(argc, argv, &nextarg, &template); in kdb_bp()
386 static int kdb_bc(int argc, const char **argv) in kdb_bc() argument
408 if (argc != 1) in kdb_bc()
[all …]
/kernel/trace/
Dtrace_dynevent.c34 int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type) in dyn_event_release() argument
50 argc--; argv++; in dyn_event_release()
66 argc, (const char **)argv, pos)) in dyn_event_release()
79 static int create_dyn_event(int argc, char **argv) in create_dyn_event() argument
85 return dyn_event_release(argc, argv, NULL); in create_dyn_event()
89 ret = ops->create(argc, (const char **)argv); in create_dyn_event()
Dtrace_kdb.c95 static int kdb_ftdump(int argc, const char **argv) in kdb_ftdump() argument
103 if (argc > 2) in kdb_ftdump()
106 if (argc) { in kdb_ftdump()
112 if (argc == 2) { in kdb_ftdump()
Dtrace_uprobe.c37 static int trace_uprobe_create(int argc, const char **argv);
42 int argc, const char **argv, struct dyn_event *ev);
286 int argc, const char **argv) in trace_uprobe_match_command_head() argument
291 if (!argc) in trace_uprobe_match_command_head()
308 argc--; argv++; in trace_uprobe_match_command_head()
310 return trace_probe_match_command_args(&tu->tp, argc, argv); in trace_uprobe_match_command_head()
314 int argc, const char **argv, struct dyn_event *ev) in trace_uprobe_match() argument
320 trace_uprobe_match_command_head(tu, argc, argv); in trace_uprobe_match()
538 static int trace_uprobe_create(int argc, const char **argv) in trace_uprobe_create() argument
562 if (argc < 2) in trace_uprobe_create()
[all …]
Dtrace_dynevent.h42 int (*create)(int argc, const char *argv[]);
47 int argc, const char **argv, struct dyn_event *ev);
100 int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type);
Dtrace_events_synth.c65 static int create_synth_event(int argc, const char **argv);
70 int argc, const char **argv, struct dyn_event *ev);
98 int argc, const char **argv, struct dyn_event *ev) in synth_event_match() argument
582 static struct synth_field *parse_synth_field(int argc, const char **argv, in parse_synth_field() argument
595 if (argc < 3) { in parse_synth_field()
1162 static int save_cmdstr(int argc, const char *name, const char **argv) in save_cmdstr() argument
1176 for (i = 0; i < argc; i++) { in save_cmdstr()
1193 static int __create_synth_event(int argc, const char *name, const char **argv) in __create_synth_event() argument
1199 ret = save_cmdstr(argc, name, argv); in __create_synth_event()
1210 if (name[0] == '\0' || argc < 1) { in __create_synth_event()
[all …]
Dtrace_kprobe.c38 static int trace_kprobe_create(int argc, const char **argv);
43 int argc, const char **argv, struct dyn_event *ev);
143 int argc, const char **argv) in trace_kprobe_match_command_head() argument
147 if (!argc) in trace_kprobe_match_command_head()
159 argc--; argv++; in trace_kprobe_match_command_head()
161 return trace_probe_match_command_args(&tk->tp, argc, argv); in trace_kprobe_match_command_head()
165 int argc, const char **argv, struct dyn_event *ev) in trace_kprobe_match() argument
171 trace_kprobe_match_command_head(tk, argc, argv); in trace_kprobe_match()
718 static int trace_kprobe_create(int argc, const char *argv[]) in trace_kprobe_create() argument
764 if (argc < 2) in trace_kprobe_create()
[all …]
Dtrace_probe.c145 void trace_probe_log_init(const char *subsystem, int argc, const char **argv) in trace_probe_log_init() argument
148 trace_probe_log.argc = argc; in trace_probe_log_init()
172 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
181 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
193 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
1147 int argc, const char **argv) in trace_probe_match_command_args() argument
1152 if (tp->nr_args < argc) in trace_probe_match_command_args()
1155 for (i = 0; i < argc; i++) { in trace_probe_match_command_args()
Dtrace_probe.h343 int argc, const char **argv);
449 int argc; member
453 void trace_probe_log_init(const char *subsystem, int argc, const char **argv);
Dtrace.c9561 int argc, ret; in trace_run_command() local
9563 argc = 0; in trace_run_command()
9565 argv = argv_split(GFP_KERNEL, buf, &argc); in trace_run_command()
9569 if (argc) in trace_run_command()
9570 ret = createfn(argc, argv); in trace_run_command()
/kernel/bpf/preload/iterators/
Diterators.c38 int main(int argc, char **argv) in main() argument
/kernel/
Daudit.h189 int argc; member
Dauditsc.c1053 audit_log_format(*ab, "argc=%d", context->execve.argc); in audit_log_execve_info()
1182 } while (arg < context->execve.argc); in audit_log_execve_info()
2405 context->execve.argc = bprm->argc; in __audit_bprm()