Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace_syscalls.c ftrace_syscall_enter() -> syscall_put_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sys_data | 4096-ptr_max |
| PARAM_VALUE | 0 | sys_data->user_mask | s16min-(-1),1-s16max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->nr | 0-472 |
| PARAM_VALUE | 2 | *buffer | 0-255 |
| PARAM_VALUE | 3 | size | 0-s32max |
| PARAM_VALUE | 4 | user_sizes | 3858677771309281280 |
| PARAM_VALUE | 4 | *user_sizes | (-1)-s32max |
| PARAM_VALUE | 5 | uargs | 0-3 |
| BUF_SIZE | 4 | user_sizes | 12 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | sys_data | r syscall_nr_to_meta |
| DATA_SOURCE | 1 | entry | r ring_buffer_event_data |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | buffer | |
| USER_PTR | 2 | buffer |
kernel/trace/trace_syscalls.c perf_syscall_enter() -> syscall_put_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sys_data | 4096-ptr_max |
| PARAM_VALUE | 0 | sys_data->enter_event | 4096-ptr_max |
| PARAM_VALUE | 0 | sys_data->user_mask | s16min-(-1),1-s16max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->nr | 0-472 |
| PARAM_VALUE | 2 | *buffer | 0-255 |
| PARAM_VALUE | 3 | size | (-4)-8192 |
| PARAM_VALUE | 4 | user_sizes | 8899296170512232448 |
| PARAM_VALUE | 4 | *user_sizes | (-1)-s32max |
| PARAM_VALUE | 5 | uargs | 0-3 |
| BUF_SIZE | 4 | user_sizes | 12 |
| CAPPED_DATA | 0 | sys_data->enter_event->prog_array | 1 |
| DATA_SOURCE | 0 | sys_data | r syscall_nr_to_meta |
| DATA_SOURCE | 1 | entry | r perf_trace_buf_alloc |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | buffer | |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | buffer |