Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/scsi/advansys.c, line 3141
- drivers/scsi/hosts.c, line 633
- drivers/scsi/libsas/sas_scsi_host.c
- drivers/scsi/megaraid/megaraid_sas_base.c, line 3076
- drivers/scsi/mpt3sas/mpt3sas_base.c
- drivers/scsi/qlogicpti.c, line 974
- drivers/scsi/scsi.c, line 143
- drivers/scsi/scsi_debug.c
- drivers/scsi/scsi_error.c
- drivers/scsi/scsi_lib.c
- drivers/scsi/scsi_sysfs.c, line 385
- drivers/scsi/smartpqi/smartpqi_init.c, line 353
- drivers/ufs/core/ufshcd.c
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_is_ufs_dev_busy() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | shost->host_lock |
drivers/ufs/core/ufshcd.c ufshcd_print_host_state() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | shost->tag_set.srcu->sda | |
| HALF_LOCKED2 | &hba->host_sem | ||
| HALF_LOCKED2 | &hba->uic_cmd_mutex | ||
| HALF_LOCKED2 | 0 | &shost->scan_mutex |
drivers/scsi/scsi_debug.c delay_store() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &sdebug_host_list_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_debug.c ndelay_store() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &sdebug_host_list_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_error.c scsi_eh_inc_host_failed() -> scsi_host_busy()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/scsi/scsi_error.c scsi_error_handler() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | shost | 128 |
| BUF_SIZE | 0 | shost | 128 |
| DATA_SOURCE | 0 | shost | $0 |
drivers/scsi/scsi_error.c scsi_error_handler() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_eh_scheduled | 1-u32max |
| PARAM_VALUE | 0 | shost->host_failed | 0 |
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 4096-ptr_max |
| BUF_SIZE | 0 | shost | 128 |
| BUF_SIZE | 0 | shost | 128 |
| CAPPED_DATA | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | shost | $0 |
drivers/scsi/scsi_error.c scsi_rcu_eh_wakeup() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_sysfs.c show_host_busy() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/advansys.c asc_prt_driver_conf() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->hostdata->flags | 4-4294967295 |
| PARAM_VALUE | 0 | shost->hostt | 4096-ptr_max |
| BUF_SIZE | 0 | shost | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | shost | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | shost | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/mpt3sas/mpt3sas_base.c _base_recovery_check() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioc->base_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->config_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->ctl_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->pci_access_mutex | ||
| HALF_LOCKED2 | &ioc->reset_in_progress_mutex | ||
| HALF_LOCKED2 | &ioc->scsih_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->transport_cmds.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/mpt3sas/mpt3sas_base.c mpt3sas_wait_for_commands_to_complete() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ioc->reset_in_progress_mutex | ||
| HALF_LOCKED2 | &ioc->base_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->ctl_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->pci_access_mutex | ||
| HALF_LOCKED2 | &ioc->scsih_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->transport_cmds.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->reset_in_progress_mutex |
drivers/scsi/scsi_lib.c scsi_dec_host_busy() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| DATA_SOURCE | 0 | shost | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/scsi/scsi_lib.c scsi_host_queue_ready() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_blocked.counter | 1-s32max |
| PARAM_VALUE | 0 | shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | shost->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | shost->tmf_in_progress | 0 |
| DATA_SOURCE | 0 | shost | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/smartpqi/smartpqi_init.c pqi_scsi_block_requests() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_self_blocked | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl_info->scan_mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/scsi/smartpqi/smartpqi_init.c pqi_scsi_block_requests() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_self_blocked | 1 |
| PARAM_VALUE | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl_info->scan_mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/scsi/megaraid/megaraid_sas_base.c megasas_reset_bus_host() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->hostt | 4096-ptr_max |
drivers/scsi/libsas/sas_scsi_host.c sas_scsi_recover_host() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_eh_scheduled | 1-u32max |
| PARAM_VALUE | 0 | shost->host_failed | 0 |
| PARAM_VALUE | 0 | shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | shost->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->transportt | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->transportt->eh_strategy_handler | 1-u64max |
| BUF_SIZE | 0 | shost | 128 |
| BUF_SIZE | 0 | shost | 128 |
| CAPPED_DATA | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 1 |
| CAPPED_DATA | 0 | &shost->eh_cmd_q | 1 |
| DATA_SOURCE | 0 | shost | $0 |
drivers/scsi/libsas/sas_scsi_host.c sas_scsi_recover_host() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_eh_scheduled | 0 |
| PARAM_VALUE | 0 | shost->host_failed | 0 |
| PARAM_VALUE | 0 | shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | shost->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->shost_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | shost->tag_set.tags_srcu.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->transportt | 4096-ptr_max |
| PARAM_VALUE | 0 | shost->transportt->eh_strategy_handler | 1-u64max |
| PARAM_VALUE | 0 | *shost->hostdata | 4096-ptr_max |
| BUF_SIZE | 0 | shost | 128 |
| BUF_SIZE | 0 | shost | 128 |
| CAPPED_DATA | 0 | shost->tag_set.tags_srcu.srcu_ctrp | 1 |
| CAPPED_DATA | 0 | &shost->eh_cmd_q | 1 |
| DATA_SOURCE | 0 | shost | $0 |
drivers/scsi/scsi.c scsi_log_completion() -> scsi_host_busy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |