Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/scsi/snic/snic_disc.c snic_tgt_del() -> scsi_block_targets()

Type Parameter Key Value
PARAM_VALUE 0 shost 0,4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->parent 4096-ptr_max
DATA_SOURCE 0 shost r dev_to_shost
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/scsi_transport_iscsi.c __iscsi_block_session() -> scsi_block_targets()

Type Parameter Key Value
PARAM_VALUE 0 shost 0,4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->parent 4096-ptr_max
DATA_SOURCE 0 shost r dev_to_shost
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/scsi_transport_srp.c __srp_start_tl_fail_timers() -> scsi_block_targets()

Type Parameter Key Value
PARAM_VALUE 0 shost 0,4096-ptr_max
PARAM_VALUE 1 dev 1256,4096-ptr_max
DATA_SOURCE 0 shost r rport_to_shost
NOCHECK_CALL
LOCK2 &rport->mutex
TYPE_LOCK (struct srp_rport)->mutex

drivers/scsi/scsi_transport_srp.c srp_reconnect_rport() -> scsi_block_targets()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
DATA_SOURCE 0 shost r rport_to_shost
NOCHECK_CALL
LOCK2 &rport->mutex
TYPE_LOCK (struct srp_rport)->mutex

drivers/scsi/scsi_transport_fc.c fc_remote_port_delete() -> scsi_block_targets()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 0 shost->host_lock 4096-ptr_max
PARAM_VALUE 0 shost->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->parent 4096-ptr_max
DATA_SOURCE 0 shost r dev_to_shost
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &child_device->mutex
HALF_LOCKED2 &fnic->fnic_lock