Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/mtd/chips/cfi_cmdset_0001.c
- drivers/mtd/chips/cfi_cmdset_0002.c
- drivers/mtd/chips/cfi_util.c, line 442
- drivers/mtd/chips/fwh_lock.h
Smatch caller information:
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_erase_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_erase | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 6323291225966366720 |
| PARAM_VALUE | 4 | thunk | 0 |
| DATA_SOURCE | 0 | mtd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-(-2),0-s64max |
| USER_DATA | 3 | len | 1-u64max |
| UNITS | 2 | ofs | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_is_locked() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_is_locked | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 8211804135842713600 |
| PARAM_VALUE | 4 | thunk | 0 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_lock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 933309126824235008 |
| PARAM_VALUE | 4 | thunk | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_save_locks() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_suspend | 1-u64max |
| PARAM_VALUE | 0 | mtd->eraseregions | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->flags | 8192-u32max |
| PARAM_VALUE | 0 | mtd->master.suspended | 0 |
| PARAM_VALUE | 0 | mtd->numeraseregions | 1-s32max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 0 | mtd->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | frob | 8211804135842713600 |
| PARAM_VALUE | 3 | len | 0-u32max |
| PARAM_VALUE | 4 | thunk | 0 |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | mtd | $0 |
| BIT_INFO | 0 | mtd->flags | 0x2000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ofs | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_unlock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 933309126824235008 |
| PARAM_VALUE | 4 | thunk | 2 |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| UNITS | 2 | ofs | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/mtd/chips/cfi_cmdset_0001.c fwh_lock_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 1813754466372710400 |
| PARAM_VALUE | 4 | thunk | 4096-ptr_max |
| BUF_SIZE | 4 | thunk | 8 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0001.c fwh_unlock_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_unlock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 1813754466372710400 |
| PARAM_VALUE | 4 | thunk | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 4 | thunk | 8 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_erase_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_erase | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 7539953583434211328 |
| PARAM_VALUE | 4 | thunk | 0 |
| DATA_SOURCE | 0 | mtd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-(-2),0-s64max |
| USER_DATA | 3 | len | 1-u64max |
| UNITS | 2 | ofs | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_atmel_lock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 4394487835788300288 |
| PARAM_VALUE | 4 | thunk | 0 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_atmel_unlock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_unlock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 3885420289687773184 |
| PARAM_VALUE | 4 | thunk | 0 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_ppb_is_locked() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_is_locked | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 7254097656776323072 |
| PARAM_VALUE | 4 | thunk | 3 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_ppb_lock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 7254097656776323072 |
| PARAM_VALUE | 4 | thunk | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_ppb_unlock() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_unlock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 0 | mtd->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | frob | 7254097656776323072 |
| PARAM_VALUE | 4 | thunk | 2 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| CAPPED_DATA | 0 | mtd->numeraseregions | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| UNITS | 2 | ofs | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/chips/cfi_cmdset_0002.c fwh_lock_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 4246710923985088512 |
| PARAM_VALUE | 4 | thunk | 4096-ptr_max |
| BUF_SIZE | 4 | thunk | 8 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c fwh_unlock_varsize() -> cfi_varsize_frob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_unlock | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | frob | 4246710923985088512 |
| PARAM_VALUE | 4 | thunk | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 4 | thunk | 8 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | ofs | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ofs | s64min-s64max[c] |
| USER_DATA | 3 | len | 0-18446744065119617025[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |