Documented in 2 files:
Defined in 2 files as a prototype:
- include/linux/string.h, line 310 (as a prototype)
- tools/include/linux/string.h, line 10 (as a prototype)
Defined in 2 files as a function:
Referenced in 13 files:
- drivers/hid/hid-msi.c, line 897
- drivers/media/rc/nuvoton-cir.c, line 247
- drivers/ptp/ptp_ocp.c
- kernel/reboot.c, line 851
- kernel/trace/trace_dynevent.c, line 77
- kernel/trace/trace_events_filter.c, line 2574
- kernel/trace/trace_events_synth.c
- kernel/trace/trace_events_user.c
- kernel/trace/trace_probe.c, line 2807
- lib/argv_split.c, line 95
- tools/perf/builtin-daemon.c, line 386
- tools/perf/util/probe-event.c
- tools/perf/util/probe-file.c, line 837
Smatch caller information:
kernel/trace/trace_events_user.c user_event_argv_split() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4097-18446744073709547521 |
| PARAM_VALUE | 2 | argcp | 4042979648503914496 |
| PARAM_VALUE | 2 | *argcp | 0 |
| DATA_SOURCE | 1 | str | $0 |
| DATA_SOURCE | 2 | argcp | $1 |
| HALF_LOCKED2 | &group->reg_mutex | ||
| HALF_LOCKED2 | global &dyn_event_ops_mutex | ||
| TYPE_LOCK | (struct user_event_group)->reg_mutex |
kernel/trace/trace_events_user.c user_event_argv_split() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 16,4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 4042979648503914496 |
| PARAM_VALUE | 2 | *argcp | 0 |
| BUF_SIZE | 1 | str | s32min-s32max |
| DATA_SOURCE | 1 | str | r insert_space_after_semis |
| DATA_SOURCE | 2 | argcp | $1 |
| HALF_LOCKED2 | &group->reg_mutex | ||
| HALF_LOCKED2 | global &dyn_event_ops_mutex | ||
| TYPE_LOCK | (struct user_event_group)->reg_mutex |
drivers/hid/hid-msi.c claw_mkey_store() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 1427545593158582272 |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/trace/trace_events_filter.c ftrace_function_filter_re() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 6910765597184098304 |
| DATA_SOURCE | 1 | str | r kstrndup |
| DATA_SOURCE | 2 | argcp | $2 |
| LOCK2 | _T->lock |
drivers/media/rc/nuvoton-cir.c wakeup_data_store() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 8879158148330979328 |
| DATA_SOURCE | 1 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/ptp/ptp_ocp.c signal_store() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 1841651431822708736 |
| DATA_SOURCE | 1 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/ptp/ptp_ocp.c sma_parse_inputs() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 4026153714074865664 |
| BUF_SIZE | 1 | str | (-1),16 |
| BUF_SIZE | 1 | str | (-1),16 |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
kernel/trace/trace_events_synth.c __create_synth_event() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 1-u64max |
| PARAM_VALUE | 2 | argcp | 601806764861169664 |
| DATA_SOURCE | 1 | str | r strsep |
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | global &dyn_event_ops_mutex |
kernel/trace/trace_events_synth.c check_command() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 1631527403073511424 |
| DATA_SOURCE | 1 | str | r strsep |
| HALF_LOCKED2 | global &dyn_event_ops_mutex |
kernel/reboot.c run_cmd() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 208704821222334464,1431227441321828352 |
| PARAM_VALUE | 2 | argcp | 0 |
| BUF_SIZE | 1 | str | 13,256 |
| BUF_SIZE | 1 | str | 13,256 |
| DATA_SOURCE | 1 | str | $0 |
| HALF_LOCKED2 | &pool->lock |
kernel/trace/trace_probe.c trace_probe_create() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 5399945375626969088 |
| PARAM_VALUE | 2 | *argcp | 0 |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | str | $0 |
| STR_LEN | 0 | gfp | (-1),11-12,49,63,66 |
| STR_LEN | 1 | str | (-1),11-12,49,63,66 |
| USER_DATA | 1 | str | 4096-ptr_max[c][u] |
| USER_DATA | 1 | *str | 0-255 |
| USER_PTR | 1 | str | |
| LOCK2 | global &dyn_event_ops_mutex |
kernel/trace/trace_dynevent.c dyn_event_release() -> argv_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | argcp | 3045969106872942592 |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | str | $0 |
| STR_LEN | 0 | gfp | (-1),11-12,49,63,66 |
| STR_LEN | 1 | str | (-1),11-12,49,63,66 |
| USER_DATA | 1 | str | 4096-ptr_max[c][u] |
| USER_DATA | 1 | *str | 0-255 |
| UNITS | 1 | str | unit_byte |
| USER_PTR | 1 | str |