Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_rd.c rd_configure_device() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev->se_hba | (-1),416 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->dev_attrib.da_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_alua.t10_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_wwn.t10_dev->queue_cnt | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/target/target_core_rd.c rd_destroy_device() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev->se_hba | (-1),416 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->dev_attrib.da_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_alua.t10_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_wwn.t10_dev->queue_cnt |
drivers/target/target_core_rd.c rd_dev_call_rcu() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/target/target_core_rd.c rd_do_prot_rw() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_rd.c rd_execute_rw() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_rd.c rd_free_prot() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev->se_hba | (-1),416 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->dev_attrib.da_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_alua.t10_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_wwn.t10_dev->queue_cnt | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/target/target_core_rd.c rd_get_blocks() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/target/target_core_rd.c rd_get_device_type() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev->se_hba | (-1),416 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->dev_attrib.da_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_alua.t10_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_wwn.t10_dev->queue_cnt | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &tpg->tpg_lun_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/target/target_core_rd.c rd_init_prot() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/target/target_core_rd.c rd_set_configfs_dev_params() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev | (-1),5816 |
| BUF_SIZE | 0 | dev->se_hba | (-1),416 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),33 |
| STR_LEN | 0 | dev | (-1),33 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->dev_attrib.da_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_alua.t10_dev->queue_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | dev->t10_wwn.t10_dev->queue_cnt | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/target/target_core_rd.c rd_show_configfs_dev_params() -> RD_DEV()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |