Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/target/target_core_tpg.c core_tpg_check_initiator_node_acl() -> core_tpg_add_node_to_devs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | acl | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_free_comp.done | 0 |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_free_comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_pr_ref_count.counter | 0 |
| PARAM_VALUE | 0 | acl->acl_sess_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_sess_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_sess_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_sess_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->acl_sess_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->dynamic_node_acl | 1 |
| PARAM_VALUE | 0 | acl->lun_entry_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | acl->lun_entry_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | acl->lun_entry_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->lun_entry_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | acl->lun_entry_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | acl->queue_depth | 1-u32max |
| PARAM_VALUE | 0 | acl->se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->se_tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | acl->se_tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig | 0 |
| BUF_SIZE | 0 | acl | s32min-s32max |
| BUF_SIZE | 0 | acl->se_tpg | (-1),1408 |
| BUF_SIZE | 1 | tpg | (-1),1408 |
| BUF_SIZE | 1 | tpg | (-1),1408 |
| DATA_SOURCE | 0 | acl | r target_alloc_node_acl |
| DATA_SOURCE | 1 | tpg | $0 |
| STR_LEN | 0 | acl | (-1),16,35 |
| STR_LEN | 0 | acl->se_tpg | (-1),16,35 |
| STR_LEN | 1 | tpg | (-1),16,35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->tpg->np_login_sem |
drivers/target/target_core_device.c core_dev_add_lun() -> core_tpg_add_node_to_devs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | acl | 4096-ptr_max |
| PARAM_VALUE | 0 | acl->dynamic_node_acl | 1 |
| PARAM_VALUE | 1 | tpg | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->se_tpg_wwn | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_hlist->first->pprev | 1-u64max |
| PARAM_VALUE | 1 | tpg->tpg_lun_hlist.first | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_hlist.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | lun_orig | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->link.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_deve_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | lun_orig->lun_ref.data | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_ref.data->confirm_switch | 0 |
| PARAM_VALUE | 2 | lun_orig->lun_ref.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 2 | lun_orig->lun_ref.data->ref | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_ref.percpu_count_ptr | 4096-18446744073709547523 |
| PARAM_VALUE | 2 | lun_orig->lun_se_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_tg_pt_gp | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_tg_pt_gp_link.next | 4096-ptr_max |
| PARAM_VALUE | 2 | lun_orig->lun_tg_pt_gp_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &acl->acl_list | 1 |
| CAPPED_DATA | 1 | &tpg->acl_node_list | 1 |
| CAPPED_DATA | 1 | &tpg->acl_node_mutex | 1 |
| DATA_SOURCE | 1 | tpg | $0 |
| DATA_SOURCE | 2 | lun_orig | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | 1 | &tpg->acl_node_mutex | |
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct se_portal_group)->acl_node_mutex |