/kernel/debug/kdb/ |
D | kdb_main.c | 459 int kdb_set(int argc, const char **argv) in kdb_set() argument 467 if (argc == 3) { in kdb_set() 469 argc--; in kdb_set() 472 if (argc != 2) in kdb_set() 543 int kdbgetaddrarg(int argc, const char **argv, int *nextarg, in kdbgetaddrarg() argument 574 if (*nextarg > argc) in kdbgetaddrarg() 626 if ((*nextarg > argc) in kdbgetaddrarg() 651 if ((*nextarg > argc) in kdbgetaddrarg() 722 static int kdb_exec_defcmd(int argc, const char **argv); 751 static int kdb_defcmd(int argc, const char **argv) in kdb_defcmd() argument [all …]
|
D | kdb_bt.c | 127 kdb_bt(int argc, const char **argv) in kdb_bt() argument 141 const char *mask = argc ? argv[1] : kdbgetenv("PS"); 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()
|
D | kdb_bp.c | 48 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/ |
D | trace_eprobe.c | 44 static int __trace_eprobe_create(int argc, const char *argv[]); 124 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument 156 if (argc < 1) in eprobe_dyn_event_match() 172 argc--; in eprobe_dyn_event_match() 176 if (argc < 1) in eprobe_dyn_event_match() 179 return trace_probe_match_command_args(&ep->tp, argc, argv); in eprobe_dyn_event_match() 922 static int trace_eprobe_parse_filter(struct trace_eprobe *ep, int argc, const char *argv[]) in trace_eprobe_parse_filter() argument 928 if (argc == 0) { in trace_eprobe_parse_filter() 934 for (i = 0; i < argc; i++) in trace_eprobe_parse_filter() 942 for (i = 0; i < argc; i++) { in trace_eprobe_parse_filter() [all …]
|
D | trace_kdb.c | 95 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()
|
D | trace_probe.c | 147 void trace_probe_log_init(const char *subsystem, int argc, const char **argv) in trace_probe_log_init() argument 150 trace_probe_log.argc = argc; in trace_probe_log_init() 174 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err() 183 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err() 195 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err() 1202 int argc, const char **argv) in trace_probe_match_command_args() argument 1207 if (tp->nr_args < argc) in trace_probe_match_command_args() 1210 for (i = 0; i < argc; i++) { in trace_probe_match_command_args() 1221 int argc = 0, ret = 0; in trace_probe_create() local 1224 argv = argv_split(GFP_KERNEL, raw_command, &argc); in trace_probe_create() [all …]
|
D | trace_uprobe.c | 44 int argc, const char **argv, struct dyn_event *ev); 285 int argc, const char **argv) in trace_uprobe_match_command_head() argument 290 if (!argc) in trace_uprobe_match_command_head() 307 argc--; argv++; in trace_uprobe_match_command_head() 309 return trace_probe_match_command_args(&tu->tp, argc, argv); in trace_uprobe_match_command_head() 313 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() 540 static int __trace_uprobe_create(int argc, const char **argv) in __trace_uprobe_create() argument 565 if (argc < 2) in __trace_uprobe_create() 585 trace_probe_log_init("trace_uprobe", argc, argv); in __trace_uprobe_create() [all …]
|
D | trace_events_user.c | 674 static int user_dyn_field_set_string(int argc, const char **argv, int *iout, in user_dyn_field_set_string() argument 681 for (; i < argc; ++i) { in user_dyn_field_set_string() 1173 static bool user_field_match(struct ftrace_event_field *field, int argc, in user_field_match() argument 1180 if (*iout >= argc) in user_field_match() 1183 dyn_len = user_dyn_field_set_string(argc, argv, iout, dyn_field_name, in user_field_match() 1197 user_dyn_field_set_string(argc, argv, iout, dyn_field_name, in user_field_match() 1210 static bool user_fields_match(struct user_event *user, int argc, in user_fields_match() argument 1218 if (!user_field_match(field, argc, argv, &i)) in user_fields_match() 1221 if (i != argc) in user_fields_match() 1228 int argc, const char **argv, struct dyn_event *ev) in user_event_match() argument [all …]
|
D | trace_kprobe.c | 45 int argc, const char **argv, struct dyn_event *ev); 141 int argc, const char **argv) in trace_kprobe_match_command_head() argument 145 if (!argc) in trace_kprobe_match_command_head() 157 argc--; argv++; in trace_kprobe_match_command_head() 159 return trace_probe_match_command_args(&tk->tp, argc, argv); in trace_kprobe_match_command_head() 163 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() 744 static int __trace_kprobe_create(int argc, const char *argv[]) in __trace_kprobe_create() argument 792 if (argc < 2) in __trace_kprobe_create() 795 trace_probe_log_init("trace_kprobe", argc, argv); in __trace_kprobe_create() [all …]
|
D | trace_events_synth.c | 92 int argc, const char **argv, struct dyn_event *ev); 120 int argc, const char **argv, struct dyn_event *ev) in synth_event_match() argument 705 static struct synth_field *parse_synth_field(int argc, char **argv, in parse_synth_field() argument 715 if (argc < 3) { in parse_synth_field() 1291 int i, argc, n_fields = 0, ret = 0; in __create_synth_event() local 1327 argv = argv_split(GFP_KERNEL, field_str, &argc); in __create_synth_event() 1333 if (!argc) { in __create_synth_event() 1340 while (argc > consumed) { in __create_synth_event() 1343 field = parse_synth_field(argc - consumed, in __create_synth_event() 1385 if (consumed < argc) { in __create_synth_event() [all …]
|
D | trace_dynevent.c | 76 int argc, ret = -ENOENT; in dyn_event_release() local 79 argv = argv_split(GFP_KERNEL, raw_command, &argc); in dyn_event_release() 114 argc - 1, (const char **)argv + 1, pos)) in dyn_event_release()
|
D | trace_probe.h | 349 int argc, const char **argv); 469 int argc; member 473 void trace_probe_log_init(const char *subsystem, int argc, const char **argv);
|
D | trace_dynevent.h | 47 int argc, const char **argv, struct dyn_event *ev);
|
/kernel/module/ |
D | kdb.c | 17 int kdb_lsmod(int argc, const char **argv) in kdb_lsmod() argument 21 if (argc != 0) in kdb_lsmod()
|
/kernel/ |
D | audit.h | 199 int argc; member
|
D | auditsc.c | 1154 audit_log_format(*ab, "argc=%d", context->execve.argc); in audit_log_execve_info() 1283 } while (arg < context->execve.argc); in audit_log_execve_info() 2660 context->execve.argc = bprm->argc; in __audit_bprm()
|