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_configfs.c target_core_make_subdev() -> target_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->hba_access_mutex.dep_map->name 0-255
PARAM_VALUE 0 hba->hba_access_mutex.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 hba->hba_access_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->hba_access_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->hba_access_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hba->hba_access_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 hba->hba_access_mutex.wait_lock.owner_cpu u32max
BUF_SIZE 1 name s32min-(-2),1-s32max
BUF_SIZE 1 name s32min-(-2),1-s32max
CAPPED_DATA 0 &hba->hba_access_mutex 1
DATA_SOURCE 0 hba r item_to_hba
DATA_SOURCE 1 name $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
LOCK2 0 &hba->hba_access_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex
TYPE_LOCK (struct se_hba)->hba_access_mutex

drivers/target/target_core_device.c core_dev_setup_virtual_lun0() -> target_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->backend 4096-ptr_max
PARAM_VALUE 0 hba->backend->ops 4096-ptr_max
PARAM_VALUE 0 hba->backend->ops->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 hba->backend->ops->owner->state 0-1,3-u32max
PARAM_VALUE 0 hba->hba_access_mutex.dep_map->name 0-255
PARAM_VALUE 0 hba->hba_access_mutex.first_waiter 0
PARAM_VALUE 0 hba->hba_access_mutex.magic 4096-ptr_max
PARAM_VALUE 0 hba->hba_access_mutex.osq.tail.counter 0
PARAM_VALUE 0 hba->hba_access_mutex.owner.counter 0
PARAM_VALUE 0 hba->hba_node.next 5084587781196206080
PARAM_VALUE 0 hba->hba_node.prev 4096-ptr_max
PARAM_VALUE 1 name 4283616609255342080
BUF_SIZE 0 hba 416
BUF_SIZE 1 name 10
DATA_SOURCE 0 hba r core_alloc_hba
STR_LEN 0 hba 9
TERMINATED 1 name 1