Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx4/eq.c
- drivers/net/ethernet/mellanox/mlx4/fw.c
- drivers/net/ethernet/mellanox/mlx4/main.c, line 428
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/main.c mlx4_dev_port() -> mlx4_QUERY_PORT()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.alloc_res_qp_mask | 0,64,192 |
| PARAM_VALUE | 0 | dev->caps.cqe_size | 0-2040 |
| PARAM_VALUE | 0 | dev->caps.dmfs_high_rate_qpn_range | 1-16777215 |
| PARAM_VALUE | 0 | dev->caps.dmfs_high_steer_mode | 0,2-3 |
| PARAM_VALUE | 0 | dev->caps.eqe_factor | 0-1 |
| PARAM_VALUE | 0 | dev->caps.eqe_size | 0-2040 |
| PARAM_VALUE | 0 | dev->caps.flags | 2199023255552-36029896530591743 |
| PARAM_VALUE | 0 | dev->caps.flags2 | 0-2199090364415 |
| PARAM_VALUE | 0 | dev->caps.fs_log_max_ucast_qp_range_size | 0-31 |
| PARAM_VALUE | 0 | dev->caps.local_ca_ack_delay | 0-31 |
| PARAM_VALUE | 0 | dev->caps.log_num_vlans | 0-7 |
| PARAM_VALUE | 0 | dev->caps.max_rq_desc_sz | 0-u16max |
| PARAM_VALUE | 0 | dev->caps.max_rq_sg | 0-255 |
| PARAM_VALUE | 0 | dev->caps.max_sq_desc_sz | 0-u16max |
| PARAM_VALUE | 0 | dev->caps.max_sq_sg | 0-255 |
| PARAM_VALUE | 0 | dev->caps.max_srq_sge | (-1)-254 |
| PARAM_VALUE | 0 | dev->caps.mtt_entry_sz | 0-u16max |
| PARAM_VALUE | 0 | dev->caps.num_ports | 1-2 |
| PARAM_VALUE | 0 | dev->caps.num_sys_eqs | 0-4095 |
| PARAM_VALUE | 0 | dev->caps.num_uars | (-524288)-524287 |
| PARAM_VALUE | 0 | dev->caps.reserved_pds | 0-15 |
| PARAM_VALUE | 0 | dev->caps.reserved_uars | 0-15,128 |
| PARAM_VALUE | 0 | dev->caps.reserved_xrcds | 0-15 |
| PARAM_VALUE | 0 | dev->caps.rl_caps.max_unit | 0-3 |
| PARAM_VALUE | 0 | dev->caps.rl_caps.max_val | 0-4095 |
| PARAM_VALUE | 0 | dev->caps.rl_caps.min_unit | 0-3 |
| PARAM_VALUE | 0 | dev->caps.rl_caps.min_val | 0-4095 |
| PARAM_VALUE | 0 | dev->caps.sqp_demux | 0,128 |
| PARAM_VALUE | 0 | dev->caps.steering_mode | 0-2 |
| PARAM_VALUE | 0 | dev->caps.tunnel_offload_mode | 0-1 |
| PARAM_VALUE | 0 | dev->caps.uar_page_size | 4096 |
| PARAM_VALUE | 0 | dev->oper_log_mgm_entry_size | (-1),1-s32max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-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.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| 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->phys_caps.num_phys_eqs | 0-4095 |
| PARAM_VALUE | 0 | dev->uar_page_shift | 12 |
| PARAM_VALUE | 0 | *dev->caps.default_sense | 0-255 |
| PARAM_VALUE | 0 | *dev->caps.eth_mtu_cap | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.gid_table_len | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.ib_mtu_cap | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.pkey_table_len | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_width_cap | 0-255 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.suggested_type | 0-255 |
| PARAM_VALUE | 0 | *dev->caps.supported_type | 0-255 |
| PARAM_VALUE | 0 | *dev->caps.trans_type | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.vendor_oui | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.vl_cap | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.wavelength | s32min-s32max |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 1 | port | 1-2 |
| PARAM_VALUE | 2 | port_cap | 3031037629711515648 |
| CAPPED_DATA | 0 | dev->persist->num_vfs | 1 |
| CAPPED_DATA | 1 | port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | port | $1 |
| DATA_SOURCE | 2 | port_cap | $2 |
| FUZZY_MAX | 0 | dev->caps.dmfs_high_steer_mode | 2 |
| FUZZY_MAX | 0 | dev->caps.steering_mode | 2 |
| BIT_INFO | 0 | dev->caps.dmfs_high_steer_mode | 0x0,0x7 |
| BIT_INFO | 0 | dev->caps.reserved_uars | 0x0,0x8f |
| UNITS | 1 | port | unit_array_size |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_slave_eqe() -> mlx4_QUERY_PORT()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 128-u64max |
| PARAM_VALUE | 1 | port | 1 |
| PARAM_VALUE | 2 | port_cap | 4794330330090254336 |
| BUF_SIZE | 0 | dev | 944 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_slave_eqe() -> mlx4_QUERY_PORT()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 128-u64max |
| PARAM_VALUE | 1 | port | 2 |
| PARAM_VALUE | 2 | port_cap | 4794330330090254336 |
| BUF_SIZE | 0 | dev | 944 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx4/fw.c mlx4_QUERY_DEV_CAP() -> mlx4_QUERY_PORT()
| 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->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-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->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 |
| PARAM_VALUE | 1 | port | 1-15 |
| PARAM_VALUE | 2 | port_cap | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),944 |
| BUF_SIZE | 0 | dev | (-1),944 |
| CAPPED_DATA | 1 | port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx4/fw.c mlx4_QUERY_PORT_wrapper() -> mlx4_QUERY_PORT()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.port_type | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 128-u64max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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->blocked_on | 0 |
| 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->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 |
| PARAM_VALUE | 1 | port | 1-2 |
| PARAM_VALUE | 2 | port_cap | 7698153853830774784 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 1 | port | 2 |
| HARD_MAX | 1 | port | 2 |
| 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 | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->cmd.slave_cmd_mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->slave_cmd_mutex |