Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_user.c tcmu_alloc_data_space() -> tcmu_get_empty_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 0 | udev->qfull_queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->dbi_cnt | 1-u32max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->se_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->se_cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | tcmu_cmd->tcmu_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->tcmu_dev->qfull_queue.next | 4096-ptr_max |
| CAPPED_DATA | 1 | tcmu_cmd->dbi_cnt | 1 |
| DATA_SOURCE | 0 | udev | $0 |
| DATA_SOURCE | 1 | tcmu_cmd | $1 |
| STR_LEN | 1 | tcmu_cmd->se_cmd | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tcmu_cmd->se_cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | udev->dbi_thresh | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->dbi_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_task_lba | |
| NO_OVERFLOW_SIMPLE | 2 | length | |
| UNITS | 2 | length | unit_byte |
| LOCK2 | &udev->cmdr_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tcmu_dev)->cmdr_lock |
drivers/target/target_core_user.c tcmu_alloc_data_space() -> tcmu_get_empty_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 0 | udev->data_pages.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | udev->dbi_max | 1-64 |
| PARAM_VALUE | 0 | udev->qfull_queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->dbi_bidi_cnt | 1-u32max |
| PARAM_VALUE | 1 | tcmu_cmd->dbi_cnt | 1-u32max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->queue_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->se_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->se_cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | tcmu_cmd->tcmu_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | tcmu_cmd->tcmu_dev->qfull_queue.next | 4096-ptr_max |
| CAPPED_DATA | 1 | tcmu_cmd->dbi_cnt | 1 |
| DATA_SOURCE | 0 | udev | $0 |
| DATA_SOURCE | 1 | tcmu_cmd | $1 |
| STR_LEN | 1 | tcmu_cmd->se_cmd | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tcmu_cmd->se_cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | udev->dbi_thresh | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->dbi_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tcmu_cmd->se_cmd->t_task_lba | |
| UNITS | 2 | length | unit_byte |
| LOCK2 | &udev->cmdr_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tcmu_dev)->cmdr_lock |