Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/pstore/ram.c ramoops_pstore_erase() -> persistent_ram_free_old()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &target->i_rwsem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/pstore/ram.c ramoops_pstore_read() -> persistent_ram_free_old()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->old_log_size | 1-u64max |
| DATA_SOURCE | 0 | prz | r ramoops_get_next_prz |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *prz->old_log | 0-255 |
| LOCK2 | &psi->read_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &efivars_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| TYPE_LOCK | (struct pstore_info)->read_mutex |
fs/pstore/ram_core.c persistent_ram_free() -> persistent_ram_free_old()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->ecc_info.par | 0 |
| PARAM_VALUE | 0 | prz->rs_decoder | 0 |
| PARAM_VALUE | 0 | prz->vaddr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/pstore/ram_core.c persistent_ram_save_old() -> persistent_ram_free_old()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prz | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | prz->old_log | 1-u64max |
| BUF_SIZE | 0 | prz | (-1),200 |
| BUF_SIZE | 0 | prz | (-1),200 |
| DATA_SOURCE | 0 | prz | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | prz->ecc_info.ecc_size | |
| HALF_LOCKED2 | &psi->read_mutex |