Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/pstore/ram_core.c persistent_ram_write_user() -> persistent_ram_update_user()
| 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_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | prz->buffer_size | 1-u64max |
| PARAM_VALUE | 3 | count | 0-2147479551,2147483648-u32max |
| 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 |
| USER_DATA | 1 | s | 4096-ptr_max[c][u] |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | count | unit_byte |
| LOCK2 | global &pmsg_lock |
fs/pstore/ram_core.c persistent_ram_write_user() -> persistent_ram_update_user()
| 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_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | prz->buffer_size | 1-u64max |
| PARAM_VALUE | 3 | count | 0-2147479552 |
| CAPPED_DATA | 0 | prz->buffer_size | 1 |
| DATA_SOURCE | 0 | prz | $0 |
| DATA_SOURCE | 1 | s | $1 [m] |
| PARAM_COMPARE | 3 | count | <= $0->buffer_size |
| USER_DATA | 1 | s | 4096-ptr_max[c][u] |
| USER_DATA | 3 | count | 1-1000000000[c] |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | count | unit_byte |
| LOCK2 | global &pmsg_lock |