Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c382 int kdb_set(int argc, const char **argv) in kdb_set() argument
394 if (argc == 3) { in kdb_set()
396 argc--; in kdb_set()
399 if (argc != 2) in kdb_set()
494 int kdbgetaddrarg(int argc, const char **argv, int *nextarg, in kdbgetaddrarg() argument
525 if (*nextarg > argc) in kdbgetaddrarg()
577 if ((*nextarg > argc) in kdbgetaddrarg()
602 if ((*nextarg > argc) in kdbgetaddrarg()
672 static int kdb_exec_defcmd(int argc, const char **argv);
707 static int kdb_defcmd(int argc, const char **argv) in kdb_defcmd() argument
[all …]
Dkdb_bt.c106 kdb_bt(int argc, const char **argv) in kdb_bt() argument
121 unsigned long mask = kdb_task_state_string(argc ? argv[1] : in kdb_bt()
123 if (argc == 0) in kdb_bt()
143 if (argc != 1) in kdb_bt()
156 if (argc != 1) in kdb_bt()
167 if (argc > 1) in kdb_bt()
169 if (argc == 1) { in kdb_bt()
205 if (argc) { in kdb_bt()
207 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()
322 diag = kdb_parsebp(argc, argv, &nextarg, &template); in kdb_bp()
377 static int kdb_bc(int argc, const char **argv) in kdb_bc() argument
399 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()
78 static int create_dyn_event(int argc, char **argv) in create_dyn_event() argument
84 return dyn_event_release(argc, argv, NULL); in create_dyn_event()
88 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_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_uprobe.c43 static int trace_uprobe_create(int argc, const char **argv);
48 int argc, const char **argv, struct dyn_event *ev);
299 int argc, const char **argv) in trace_uprobe_match_command_head() argument
304 if (!argc) in trace_uprobe_match_command_head()
321 argc--; argv++; in trace_uprobe_match_command_head()
323 return trace_probe_match_command_args(&tu->tp, argc, argv); in trace_uprobe_match_command_head()
327 int argc, const char **argv, struct dyn_event *ev) in trace_uprobe_match() argument
333 trace_uprobe_match_command_head(tu, argc, argv); in trace_uprobe_match()
548 static int trace_uprobe_create(int argc, const char **argv) in trace_uprobe_create() argument
572 if (argc < 2) in trace_uprobe_create()
[all …]
Dtrace_kprobe.c38 static int trace_kprobe_create(int argc, const char **argv);
43 int argc, const char **argv, struct dyn_event *ev);
142 int argc, const char **argv) in trace_kprobe_match_command_head() argument
146 if (!argc) in trace_kprobe_match_command_head()
158 argc--; argv++; in trace_kprobe_match_command_head()
160 return trace_probe_match_command_args(&tk->tp, argc, argv); in trace_kprobe_match_command_head()
164 int argc, const char **argv, struct dyn_event *ev) in trace_kprobe_match() argument
170 trace_kprobe_match_command_head(tk, argc, argv); in trace_kprobe_match()
713 static int trace_kprobe_create(int argc, const char *argv[]) in trace_kprobe_create() argument
757 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()
1116 int argc, const char **argv) in trace_probe_match_command_args() argument
1121 if (tp->nr_args < argc) in trace_probe_match_command_args()
1124 for (i = 0; i < argc; i++) { in trace_probe_match_command_args()
Dtrace_probe.h338 int argc, const char **argv);
454 int argc; member
458 void trace_probe_log_init(const char *subsystem, int argc, const char **argv);
Dtrace_events_hist.c378 static int synth_event_create(int argc, const char **argv);
383 int argc, const char **argv, struct dyn_event *ev);
431 int argc, const char **argv, struct dyn_event *ev) in synth_event_match() argument
1009 static struct synth_field *parse_synth_field(int argc, const char **argv, in parse_synth_field() argument
1020 if (argc < 3) in parse_synth_field()
1290 static int __create_synth_event(int argc, const char *name, const char **argv) in __create_synth_event() argument
1303 if (name[0] == '\0' || argc < 1) in __create_synth_event()
1314 for (i = 0; i < argc - 1; i++) { in __create_synth_event()
1322 field = parse_synth_field(argc - i, &argv[i], &consumed); in __create_synth_event()
1331 if (i < argc && strcmp(argv[i], ";") != 0) { in __create_synth_event()
[all …]
Dtrace.c9015 int argc, ret; in trace_run_command() local
9017 argc = 0; in trace_run_command()
9019 argv = argv_split(GFP_KERNEL, buf, &argc); in trace_run_command()
9023 if (argc) in trace_run_command()
9024 ret = createfn(argc, argv); in trace_run_command()
/kernel/
Daudit.h189 int argc; member
Dauditsc.c1024 audit_log_format(*ab, "argc=%d", context->execve.argc); in audit_log_execve_info()
1153 } while (arg < context->execve.argc); in audit_log_execve_info()
2309 context->execve.argc = bprm->argc; in __audit_bprm()