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_dev_alua_lu_gp_store() -> __core_alua_attach_lu_gp_mem()

Type Parameter Key Value
PARAM_VALUE 0 lu_gp_mem 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp 0
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 lu_gp 0,4096-ptr_max
PARAM_VALUE 1 lu_gp->lu_gp_valid_id s32min-(-1),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 0 &lu_gp_mem->lu_gp_mem_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem
TYPE_LOCK (struct t10_alua_lu_gp_member)->lu_gp_mem_lock

drivers/target/target_core_alua.c core_alua_free_lu_gp() -> __core_alua_attach_lu_gp_mem()

Type Parameter Key Value
PARAM_VALUE 0 lu_gp_mem 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp_assoc 0
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 lu_gp 0,4096-ptr_max
CAPPED_DATA 0 &lu_gp_mem->lu_gp_mem_list 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &lu_gp_mem->lu_gp_mem_lock
TYPE_LOCK (struct t10_alua_lu_gp_member)->lu_gp_mem_lock

drivers/target/target_core_alua.c core_setup_alua() -> __core_alua_attach_lu_gp_mem()

Type Parameter Key Value
PARAM_VALUE 0 lu_gp_mem 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_dev 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_dev->dev_index 0-s32max
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_dev->se_hba 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_dev->transport 4096-ptr_max
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lu_gp_mem->lu_gp_mem_ref_cnt.counter 0
BUF_SIZE 0 lu_gp_mem->lu_gp_mem_dev (-1),5816
DATA_SOURCE 0 lu_gp_mem r core_alua_allocate_lu_gp_mem
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 lu_gp_mem->lu_gp_mem_dev->queue_cnt
LOCK2 0 &lu_gp_mem->lu_gp_mem_lock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 sh->host_lock
TYPE_LOCK (struct t10_alua_lu_gp_member)->lu_gp_mem_lock