Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/pstore/ram_core.c persistent_ram_write() -> persistent_ram_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->buffer->size.counter | 0-s32max |
| PARAM_VALUE | 0 | prz->buffer->start.counter | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | prz->buffer_size | 1-u64max |
| PARAM_VALUE | 3 | count | 0-2147483646,2147483648-u32max |
| BUF_SIZE | 1 | s | (-1),36 |
| BUF_SIZE | 1 | s | (-1),36 |
| CAPPED_DATA | 0 | prz->buffer_size | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | prz | $0 |
| DATA_SOURCE | 1 | s | $1 [m] |
| DATA_SOURCE | 2 | start | r buffer_start_add |
| PARAM_COMPARE | 0 | prz->buffer_size | > $3 |
| PARAM_COMPARE | 3 | count | < $0->buffer_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | s | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | count | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &psinfo->buf_lock | ||
| HALF_LOCKED2 | rcu_read |
fs/pstore/ram_core.c persistent_ram_write() -> persistent_ram_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->buffer->size.counter | 0-s32max |
| PARAM_VALUE | 0 | prz->buffer->start.counter | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | prz->buffer_size | 1-u64max |
| BUF_SIZE | 1 | s | (-1),36 |
| BUF_SIZE | 1 | s | (-1),36 |
| CAPPED_DATA | 0 | prz->buffer_size | 1 |
| DATA_SOURCE | 0 | prz | $0 |
| DATA_SOURCE | 1 | s | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | s | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | count | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &psinfo->buf_lock | ||
| HALF_LOCKED2 | rcu_read |