Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/target/target_core_rd.c rd_get_device_type() -> sbc_get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev->se_hba (-1),416
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->dev_attrib.da_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_alua.t10_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_wwn.t10_dev->queue_cnt
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &tpg->tpg_lun_mutex
HALF_LOCKED2 rcu_read

drivers/target/target_core_spc.c spc_emulate_evpd_86() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_evpd_b0() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_evpd_b1() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_evpd_b2() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_evpd_b3() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_inquiry() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_inquiry_std() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_inquiry_std() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 *(-168-4376+0) $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_emulate_modesense() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_parse_cdb() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_spc.c spc_parse_cdb() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/target/target_core_tpg.c core_tpg_add_node_to_devs() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tpg->tpg_lun_mutex
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &tpg->acl_node_mutex
TYPE_LOCK (struct se_portal_group)->tpg_lun_mutex

drivers/target/target_core_stat.c target_stat_lu_dev_type_show() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
DATA_SOURCE 0 dev r to_stat_lu_dev
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/target/target_core_device.c scsi_dump_inquiry() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem 4096-ptr_max
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem->lu_gp_mem_dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem->lu_gp_mem_list.next 4096-ptr_max
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem->lu_gp_mem_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->dev_index 0-s32max
PARAM_VALUE 0 dev->transport 4096-ptr_max
PARAM_VALUE 0 dev->transport->configure_unmap 0,6027120026758565888,6236154244283904000
PARAM_VALUE 0 dev->transport->transport_flags_default 0-1,7
PARAM_VALUE 0 *dev->udev_path 0-255
BUF_SIZE 0 dev (-1),5816
BUF_SIZE 0 dev (-1),5816
BUF_SIZE 0 dev->se_hba (-1),416
DATA_SOURCE 0 dev $0
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->dev_attrib.da_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_alua.t10_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_wwn.t10_dev->queue_cnt
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 sh->host_lock

drivers/target/sbp/sbp_target.c sbp_update_unit_directory() -> (struct target_backend_ops)->get_device_type()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->transport 4096-ptr_max
CONTAINER 0 -168-4376+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &frag->frag_sem