Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdpstore.c mtdpstore_erase() -> mtdpstore_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3653605967233236992 |
| BUF_SIZE | 0 | cxt | 264 |
| DATA_SOURCE | 1 | off | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &target->i_rwsem | ||
| LOCK2 | _T->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 |
drivers/mtd/mtdpstore.c mtdpstore_flush_removed() -> mtdpstore_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3653605967233236992 |
| PARAM_VALUE | 0 | cxt->index | 0-s32max |
| PARAM_VALUE | 0 | cxt->mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-s64max |
| BUF_SIZE | 0 | cxt | 264 |
| CAPPED_DATA | 0 | cxt->index | 1 |
| CAPPED_DATA | 0 | cxt->mtd | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| FUZZY_MAX | 0 | cxt->index | 0 |
| FUZZY_MAX | 1 | off | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdpstore.c mtdpstore_read() -> mtdpstore_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3653605967233236992 |
| PARAM_VALUE | 0 | cxt->mtd | 0,4096-ptr_max |
| BUF_SIZE | 0 | cxt | 264 |
| DATA_SOURCE | 1 | off | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &psi->read_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &efivars_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| TYPE_LOCK | (struct pstore_info)->read_mutex |
drivers/mtd/mtdpstore.c mtdpstore_security() -> mtdpstore_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3653605967233236992 |
| PARAM_VALUE | 0 | cxt->badmap | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->usedmap | 4096-ptr_max |
| BUF_SIZE | 0 | cxt | 264 |
| CAPPED_DATA | 0 | cxt->mtd | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| DATA_SOURCE | 1 | off | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
| HALF_LOCKED2 | &psi->read_mutex |
drivers/mtd/mtdpstore.c mtdpstore_write() -> mtdpstore_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3653605967233236992 |
| PARAM_VALUE | 0 | cxt->mtd | 0,4096-ptr_max |
| BUF_SIZE | 0 | cxt | 264 |
| DATA_SOURCE | 1 | off | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |