Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/trace/trace_pid.c trace_pid_write() -> trace_get_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parser | 4402252118024962048 |
| PARAM_VALUE | 0 | parser->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | parser->cont | 0 |
| PARAM_VALUE | 0 | parser->idx | 0 |
| PARAM_VALUE | 0 | parser->size | 128 |
| PARAM_VALUE | 2 | cnt | 1-2147479552,18446744071562067970-u64max |
| PARAM_VALUE | 3 | ppos | 5885255128454483968 |
| PARAM_VALUE | 3 | *ppos | 0 |
| DATA_SOURCE | 1 | ubuf | $2 |
| DATA_SOURCE | 2 | cnt | $3 |
| FUZZY_MAX | 2 | cnt | 2147479552 |
| MEM_ZERO | 0 | parser | |
| USER_DATA | 1 | ubuf | 0-u64max[c] |
| USER_DATA | 2 | cnt | 1-1000000000,18446744071562067970-u64max |
| LOCK2 | _T->lock |
kernel/trace/ftrace.c ftrace_graph_write() -> trace_get_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parser | 4096-ptr_max |
| PARAM_VALUE | 2 | cnt | 1-1000000000,2147479552 |
| PARAM_VALUE | 3 | *ppos | 0-1000000000 |
| BUF_SIZE | 0 | parser | 24 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| CAPPED_DATA | 1 | ubuf | 1 |
| DATA_SOURCE | 1 | ubuf | $1 |
| DATA_SOURCE | 2 | cnt | $2 |
| DATA_SOURCE | 3 | ppos | $3 |
| USER_DATA | 1 | ubuf | 0-u64max[c] |
| USER_DATA | 2 | cnt | 1-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos | |
| LOCK2 | _T->lock |
kernel/trace/ftrace.c ftrace_regex_write() -> trace_get_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parser | 4096-ptr_max |
| PARAM_VALUE | 2 | cnt | 1-1000000000,2147479552 |
| PARAM_VALUE | 3 | *ppos | 0-1000000000 |
| BUF_SIZE | 0 | parser | 24 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| CAPPED_DATA | 1 | ubuf | 1 |
| DATA_SOURCE | 1 | ubuf | $1 |
| DATA_SOURCE | 2 | cnt | $2 |
| DATA_SOURCE | 3 | ppos | $3 |
| FUZZY_MAX | 2 | cnt | 2147479552 |
| USER_DATA | 1 | ubuf | 0-u64max[c] |
| USER_DATA | 2 | cnt | 1-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos | |
| LOCK2 | _T->lock |
kernel/trace/trace_events.c ftrace_event_write() -> trace_get_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parser | 7232943623174868992 |
| PARAM_VALUE | 0 | parser->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | parser->cont | 0 |
| PARAM_VALUE | 0 | parser->fail | 0 |
| PARAM_VALUE | 0 | parser->idx | 0 |
| PARAM_VALUE | 0 | parser->size | 128 |
| PARAM_VALUE | 2 | cnt | 1-1000000000,2147479552 |
| PARAM_VALUE | 3 | *ppos | 0-1000000000 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| CAPPED_DATA | 1 | ubuf | 1 |
| DATA_SOURCE | 1 | ubuf | $1 |
| DATA_SOURCE | 2 | cnt | $2 |
| DATA_SOURCE | 3 | ppos | $3 |
| MEM_ZERO | 0 | parser | |
| USER_DATA | 1 | ubuf | 0-u64max[c] |
| USER_DATA | 2 | cnt | 1-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos |