Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/pstore/ram.c ramoops_pstore_write() -> persistent_ram_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 1-u64max |
| PARAM_VALUE | 2 | count | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | s | unit_byte |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | flags |
fs/pstore/ram.c ramoops_pstore_write() -> persistent_ram_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | s | 4845163386059464704 |
| PARAM_VALUE | 2 | count | 24 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 1 | s | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags |
fs/pstore/ram.c ramoops_pstore_write() -> persistent_ram_write()
| 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 |
| CAPPED_DATA | 0 | prz->buffer_size | 1 |
| CAPPED_DATA | 0 | prz->ecc_info.ecc_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | s | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &psinfo->buf_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct pstore_info)->buf_lock |
fs/pstore/ram.c ramoops_write_kmsg_hdr() -> persistent_ram_write()
| 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 |
| PARAM_VALUE | 0 | prz->buffer->start.counter | 0 |
| PARAM_VALUE | 1 | s | 4112528519973691392 |
| PARAM_VALUE | 2 | count | 0-35 |
| BUF_SIZE | 1 | s | 36 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | prz | $0 |
| DATA_SOURCE | 2 | count | r scnprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &psinfo->buf_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct pstore_info)->buf_lock |