Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/tests/seq_buf_kunit.c seq_buf_putmem_hex_overflow_test() -> seq_buf_putmem_hex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1221920785284612096 |
| PARAM_VALUE | 0 | s->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | s->len | 0 |
| PARAM_VALUE | 0 | s->size | 20 |
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 10 |
| BUF_SIZE | 1 | mem | 10 |
| UNITS | 2 | len | unit_byte |
lib/tests/seq_buf_kunit.c seq_buf_putmem_hex_test() -> seq_buf_putmem_hex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4362691821551140864 |
| PARAM_VALUE | 0 | s->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | s->len | 0 |
| PARAM_VALUE | 0 | s->size | 24 |
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 10 |
| BUF_SIZE | 1 | mem | 10 |
| UNITS | 2 | len | unit_byte |
kernel/trace/trace_seq.c trace_seq_putmem_hex() -> seq_buf_putmem_hex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->size | 1-u64max |
| PARAM_VALUE | 2 | len | 1,4,8 |
| BUF_SIZE | 1 | mem | (-1),4,8 |
| BUF_SIZE | 1 | mem | (-1),4,8 |
| DATA_SOURCE | 1 | mem | $1 |
| DATA_SOURCE | 2 | len | $2 |
| HARD_MAX | 2 | len | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &iter->mutex | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &all_cpu_access_lock | ||
| HALF_LOCKED2 | global &trace_event_sem |