Defined in 6 files as a member:
- drivers/mtd/nand/raw/brcmnand/brcmnand.c, line 256 (as a member)
- drivers/net/wireless/marvell/mwifiex/main.h, line 872 (as a member)
- drivers/net/wireless/nxp/nxpwifi/main.h, line 805 (as a member)
- drivers/nfc/pn533/pn533.h, line 154 (as a member)
- drivers/scsi/elx/efct/efct_hw.h, line 424 (as a member)
- drivers/scsi/lpfc/lpfc_disc.h, line 158 (as a member)
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/mtd/nand/raw/brcmnand/brcmnand.c
- drivers/net/ethernet/mellanox/mlx4/cmd.c
- drivers/net/wireless/marvell/mwifiex/cmdevt.c
- drivers/net/wireless/marvell/mwifiex/main.c
- drivers/net/wireless/marvell/mwifiex/util.c
- drivers/net/wireless/nxp/nxpwifi/cmdevt.c
- drivers/net/wireless/nxp/nxpwifi/main.c
- drivers/net/wireless/nxp/nxpwifi/util.c
- drivers/nfc/pn533/pn533.c
- drivers/scsi/elx/efct/efct_hw.c
- drivers/scsi/lpfc/lpfc_debugfs.c, line 905
- drivers/scsi/lpfc/lpfc_hbadisc.c, line 4939
- drivers/scsi/lpfc/lpfc_nvme.c
- drivers/scsi/lpfc/lpfc_scsi.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_poll() -> cmd_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->error_state | 1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.sqp_demux | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count | |
| LOCK2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->poll_sem |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_poll() -> cmd_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->error_state | 1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.sqp_demux | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count | |
| LOCK2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->poll_sem |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_poll() -> cmd_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->error_state | 1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.sqp_demux | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count | |
| LOCK2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->poll_sem |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_post() -> cmd_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->error_state | 1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| CAPPED_DATA | 0 | &dev->persist->device_state_mutex | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.sqp_demux | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count | |
| LOCK2 | 0 | &dev->persist->device_state_mutex | |
| HALF_LOCKED2 | &cmd->event_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_dev_persistent)->device_state_mutex |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_post() -> cmd_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->error_state | 1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| CAPPED_DATA | 0 | &dev->persist->device_state_mutex | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.sqp_demux | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count | |
| LOCK2 | 0 | &dev->persist->device_state_mutex | |
| HALF_LOCKED2 | &cmd->event_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_dev_persistent)->device_state_mutex |