Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/scsi/scsi_debug.c sdebug_driver_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 2
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
CAPPED_DATA 0 shost->nr_hw_queues 1
DATA_SOURCE 0 shost r scsi_host_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/scsi_debug.c sdebug_driver_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
CAPPED_DATA 0 shost->nr_hw_queues 1
DATA_SOURCE 0 shost r scsi_host_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/isci/init.c isci_host_alloc() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
BUF_SIZE 0 *shost->hostdata 712
DATA_SOURCE 0 shost r scsi_host_alloc
MEM_ZERO 0 *shost->hostdata
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/scsi/qla2xxx/qla_attr.c qla24xx_vport_create() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1,3
BIT_INFO 1 type 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex

drivers/scsi/virtio_scsi.c virtscsi_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
CAPPED_DATA 0 shost->cmd_per_lun 1
CAPPED_DATA 0 shost->nr_hw_queues 1
DATA_SOURCE 0 shost r scsi_host_alloc
BIT_INFO 0 shost->nr_maps 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 shost->cmd_per_lun 0-s16max[c]
HOST_DATA 0 shost->max_id 1-65536
HOST_DATA 0 shost->max_sectors 1-u32max
HOST_DATA 0 shost->nr_hw_queues 1-u16max[c]
HOST_DATA 0 shost->sg_tablesize 0-u16max
NO_OVERFLOW_SIMPLE 0 shost->nr_hw_queues

drivers/scsi/lpfc/lpfc_init.c lpfc_setup_bg() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1-3
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
CAPPED_DATA 0 shost->hostt 1
CAPPED_DATA 0 shost->nr_hw_queues 1
CAPPED_DATA 1 type 1
DATA_SOURCE 0 shost $1
BIT_INFO 0 shost->hostt 0x10441080000,0xffffffffffffffff
BIT_INFO 0 shost->max_cmd_len 0x0,0x30
BIT_INFO 0 shost->nr_hw_queues 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_v3_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/qla2xxx/qla_os.c qla2x00_probe_one() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
BIT_INFO 0 shost->max_cmd_len 0x0,0x30
BIT_INFO 0 shost->sg_tablesize 0x0,0x4a0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 shost->nr_hw_queues

drivers/scsi/qla2xxx/qla_os.c qla2x00_probe_one() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1,3
BIT_INFO 0 shost->max_cmd_len 0x0,0x30
BIT_INFO 0 shost->sg_tablesize 0x0,0x4a0
BIT_INFO 1 type 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 shost->nr_hw_queues

drivers/target/loopback/tcm_loop.c tcm_loop_driver_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
DATA_SOURCE 0 shost r scsi_host_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/ulp/iser/iscsi_iser.c iscsi_iser_session_create() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 3
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
CAPPED_DATA 0 shost->can_queue 1
DATA_SOURCE 0 shost r iscsi_host_alloc
NOSPEC 0 shost->can_queue
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 shost->can_queue 1-65534[c]
USER_DATA 0 shost->cmd_per_lun s16min-s16max
LOCK2 &iser_conn->state_mutex
LOCK2 global &rx_queue_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct iser_conn)->state_mutex

drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 0-3
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
DATA_SOURCE 0 shost r scsi_host_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_probe() -> scsi_host_set_guard()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 type 1
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost 4600-s32max
BUF_SIZE 0 shost->hostt 360
DATA_SOURCE 0 shost r scsi_host_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL