Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nftlcore.c NFTL_findwriteunit() -> NFTL_findfreeblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nftl | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->EUNtable | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->lastEUN | 0-65534 |
| PARAM_VALUE | 1 | desperate | 0 |
| BUF_SIZE | 0 | nftl | 128,736,792,816,1000-s32max |
| BUF_SIZE | 0 | nftl | 128,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | nftl->lastEUN | 1 |
| DATA_SOURCE | 0 | nftl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c NFTL_findwriteunit() -> NFTL_findfreeblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nftl | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->EUNtable | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->lastEUN | 0-65534 |
| PARAM_VALUE | 1 | desperate | 1 |
| BUF_SIZE | 0 | nftl | 128,736,792,816,1000-s32max |
| BUF_SIZE | 0 | nftl | 128,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | nftl->lastEUN | 1 |
| DATA_SOURCE | 0 | nftl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c NFTL_foldchain() -> NFTL_findfreeblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nftl | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->EUNtable | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->ReplUnitTable | 4096-ptr_max |
| PARAM_VALUE | 0 | nftl->lastEUN | 0-32766 |
| PARAM_VALUE | 1 | desperate | 1 |
| BUF_SIZE | 0 | nftl | 64,128,280,736,792,816,1000-s32max |
| BUF_SIZE | 0 | nftl | 64,128,280,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | nftl->lastEUN | 1 |
| DATA_SOURCE | 0 | nftl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |