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_register() -> core_tpg_alloc_lun()

Type Parameter Key Value
PARAM_VALUE 0 tpg 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_list.next 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_list.next->next 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_list.prev 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_mutex.dep_map->name 0-255
PARAM_VALUE 0 tpg->acl_node_mutex.first_waiter 0
PARAM_VALUE 0 tpg->acl_node_mutex.magic 4096-ptr_max
PARAM_VALUE 0 tpg->acl_node_mutex.osq.tail.counter 0
PARAM_VALUE 0 tpg->acl_node_mutex.owner.counter 0
PARAM_VALUE 0 tpg->proto_id 0-s32max
PARAM_VALUE 0 tpg->se_tpg_tfo 1-u64max
PARAM_VALUE 0 tpg->se_tpg_wwn 4096-ptr_max
PARAM_VALUE 0 tpg->se_tpg_wwn->wwn_tf 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_lun_mutex.dep_map->name 0-255
PARAM_VALUE 0 tpg->tpg_lun_mutex.first_waiter 0
PARAM_VALUE 0 tpg->tpg_lun_mutex.magic 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_lun_mutex.osq.tail.counter 0
PARAM_VALUE 0 tpg->tpg_lun_mutex.owner.counter 0
PARAM_VALUE 0 tpg->tpg_pr_ref_count.counter 0
PARAM_VALUE 0 tpg->tpg_sess_list.next 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_sess_list.next->next 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_sess_list.prev 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_sess_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tpg->tpg_sess_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 unpacked_lun 0
DATA_SOURCE 0 tpg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &opts->dep_lock
HALF_LOCKED2 global &tpg_instances_lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex

drivers/target/target_core_fabric_configfs.c target_fabric_make_lun() -> core_tpg_alloc_lun()

Type Parameter Key Value
PARAM_VALUE 0 tpg 4096-ptr_max
PARAM_VALUE 0 tpg->se_tpg_wwn 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 unpacked_lun 0-u64max
NO_OVERFLOW_SIMPLE 1 unpacked_lun
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex