Defined in 1 files as a function:
Referenced in 5 files:
- drivers/scsi/qla4xxx/ql4_bsg.c
- drivers/scsi/qla4xxx/ql4_dbg.c
- drivers/scsi/qla4xxx/ql4_def.h, line 884
- drivers/scsi/qla4xxx/ql4_init.c
- drivers/scsi/qla4xxx/ql4_inline.h
Smatch caller information:
drivers/scsi/qla4xxx/ql4_attr.c is_qla40XX() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| DATA_SOURCE | 0 | ha | $0 |
| 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/qla4xxx/ql4_init.c is_qla40XX() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ha->srb_mempool->min_nr | |
| UNITS | 0 | ha | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla4xxx/ql4_init.c qla4xxx_config_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16399,16401-16417,16419-u16max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/qla4xxx/ql4_init.c qla4xxx_config_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16417,16419-u16max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/qla4xxx/ql4_init.c qla4xxx_fw_ready() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ha | unit_byte |
drivers/scsi/qla4xxx/ql4_init.c qla4xxx_start_firmware() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16417,16419-u16max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/qla4xxx/ql4_init.c qla4xxx_start_firmware_from_flash() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16417,16419-u16max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ha->hardware_lock | |
| TYPE_LOCK | (struct scsi_qla_host)->hardware_lock |
drivers/scsi/qla4xxx/ql4_dbg.c qla4xxx_dump_registers() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16399,16401-16417,16419-32801,32803-u16max |
| DATA_SOURCE | 0 | ha | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &ha->hardware_lock |
drivers/scsi/qla4xxx/ql4_dbg.c qla4xxx_dump_registers() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16399,16401-16417,16419-32801,32803-u16max |
| DATA_SOURCE | 0 | ha | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &ha->hardware_lock |
drivers/scsi/qla4xxx/ql4_isr.c __qla4xxx_disable_intrs() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16417,16419-u16max |
| DATA_SOURCE | 0 | ha | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ha->hardware_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct scsi_qla_host)->hardware_lock |
drivers/scsi/qla4xxx/ql4_isr.c is_qla40XX() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ha->nx_dev_init_timeout | 0-255 |
| HOST_DATA | 0 | ha->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | ha->srb_mempool->min_nr | |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla4xxx/ql4_os.c is_qla40XX() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ha->fw_heartbeat_counter | 0-s32max |
| HOST_DATA | 0 | ha->nx_dev_init_timeout | 0-255 |
| HOST_DATA | 0 | ha->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | ha->queues_len | |
| NO_OVERFLOW_SIMPLE | 0 | ha->srb_mempool->min_nr | |
| UNITS | 0 | ha | unit_byte |
| HALF_LOCKED2 | &cls_conn->ep_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_read_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16399,16401-16417,16419-u16max |
| DATA_SOURCE | 0 | ha | r to_qla_host |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_read_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 16400,16434 |
| DATA_SOURCE | 0 | ha | r to_qla_host |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_update_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 0-16399,16401-16417,16419-u16max |
| DATA_SOURCE | 0 | ha | r to_qla_host |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_update_nvram() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->pdev->device | 16400,16434 |
| DATA_SOURCE | 0 | ha | r to_qla_host |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/qla4xxx/ql4_mbx.c is_qla40XX() -> is_qla4032()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha->dpc_thread | (-1),512,528-8720 |
| BUF_SIZE | 0 | ha->host | (-1),4520-s32max |
| BUF_SIZE | 0 | ha->host->hostt | (-1),360 |
| BUF_SIZE | 0 | ha->hw | (-1),6400 |
| BUF_SIZE | 0 | ha->isp_ops | (-1),200 |
| BUF_SIZE | 0 | ha->reg_tbl | (-1)-0,56 |
| BUF_SIZE | 0 | ha->task_wq | (-1),512,528-8720 |
| DATA_SOURCE | 0 | ha | $0 |
| STR_LEN | 0 | ha | (-1),14 |
| STR_LEN | 0 | ha | (-1),14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ha->fw_heartbeat_counter | 0-s32max |
| HOST_DATA | 0 | ha->hw_lock.raw_lock.cnts.counter | 0 |
| HOST_DATA | 0 | ha->link_width | 0[c] |
| HOST_DATA | 0 | ha->nx_dev_init_timeout | 0-255 |
| HOST_DATA | 0 | ha->nx_reset_timeout | 0 |
| HOST_DATA | 0 | ha->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | ha->chap_dma_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | ha->fw_ddb_dma_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | ha->fw_dump_size | |
| NO_OVERFLOW_SIMPLE | 0 | ha->fw_dump_tmplt_size | |
| NO_OVERFLOW_SIMPLE | 0 | ha->gnl.size | |
| NO_OVERFLOW_SIMPLE | 0 | ha->host->pseudo_sdev->budget_map.depth | |
| NO_OVERFLOW_SIMPLE | 0 | ha->host->pseudo_sdev->request_queue->limits.discard_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | ha->hw->init_cb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ha->hw->pdev->dev.cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | ha->queues_len | |
| NO_OVERFLOW_SIMPLE | 0 | ha->req->num_outstanding_cmds | |
| NO_OVERFLOW_SIMPLE | 0 | ha->reset_tmplt.buff | |
| NO_OVERFLOW_SIMPLE | 0 | ha->srb_mempool->min_nr | |
| UNITS | 0 | ha | unit_byte |
| HALF_LOCKED2 | 0 | &ha->chap_sem | |
| HALF_LOCKED2 | 0 | &ha->hw->hardware_lock | |
| HALF_LOCKED2 | 0 | &ha->hw->optrom_mutex | |
| HALF_LOCKED2 | 0 | &ha->hw->vport_slock |