Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/main.c mlx4_slave_cap() -> mlx4_QUERY_FUNC_CAP()
| 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.dmfs_high_rate_qpn_range | 1-16777215 |
| PARAM_VALUE | 0 | dev->caps.dmfs_high_steer_mode | 0,4 |
| PARAM_VALUE | 0 | dev->caps.flags2 | 0-2199090364415 |
| 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 | 0-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_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.uar_page_size | 4096 |
| 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_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->phys_caps.num_phys_eqs | 0-4095 |
| PARAM_VALUE | 0 | dev->uar_page_shift | 0-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 | gen_or_port | 0 |
| PARAM_VALUE | 2 | func_cap | 4096-ptr_max |
| BUF_SIZE | 2 | func_cap | 88 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | func_cap | r _kzalloc_noprof |
| FUZZY_MAX | 0 | dev->uar_page_shift | 12 |
| POWER_OF_TWO | 0 | dev->caps | |
| HARD_MAX | 0 | dev->uar_page_shift | 12 |
drivers/net/ethernet/mellanox/mlx4/main.c mlx4_slave_special_qp_cap() -> mlx4_QUERY_FUNC_CAP()
| 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.dmfs_high_rate_qpn_range | 1-16777215 |
| PARAM_VALUE | 0 | dev->caps.dmfs_high_steer_mode | 0,4 |
| PARAM_VALUE | 0 | dev->caps.flags2 | 0-2199090364415 |
| 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_amgms | 0 |
| PARAM_VALUE | 0 | dev->caps.num_eqs | 0-16777215 |
| PARAM_VALUE | 0 | dev->caps.num_mgms | 0 |
| PARAM_VALUE | 0 | dev->caps.num_pds | 32768 |
| 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_eqs | 0-16777215 |
| PARAM_VALUE | 0 | dev->caps.reserved_pds | 0-15 |
| 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.spec_qps | 16,4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.sqp_demux | 0,128 |
| PARAM_VALUE | 0 | dev->caps.uar_page_size | 4096 |
| 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_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->phys_caps.num_phys_eqs | 0-4095 |
| PARAM_VALUE | 0 | dev->quotas.cq | 0-16777215 |
| PARAM_VALUE | 0 | dev->quotas.mpt | 0-16777215 |
| PARAM_VALUE | 0 | dev->quotas.mtt | 0-16777215 |
| PARAM_VALUE | 0 | dev->quotas.qp | 0-16777215 |
| PARAM_VALUE | 0 | dev->quotas.srq | 0-16777215 |
| PARAM_VALUE | 0 | dev->uar_page_shift | 0-12 |
| PARAM_VALUE | 0 | *dev->caps.def_mac | 0-255 |
| 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 | gen_or_port | 1-2 |
| PARAM_VALUE | 2 | func_cap | 4096-ptr_max |
| BUF_SIZE | 2 | func_cap | 88 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| CAPPED_DATA | 1 | gen_or_port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | func_cap | r _kzalloc_noprof |
| FUZZY_MAX | 0 | dev->uar_page_shift | 12 |
| BIT_INFO | 0 | dev->caps.num_ports | 0x0,0xff |
| POWER_OF_TWO | 0 | dev->caps | |
| HARD_MAX | 0 | dev->uar_page_shift | 12 |
| NO_OVERFLOW_SIMPLE | 1 | gen_or_port | |
| UNITS | 1 | gen_or_port | unit_array_size |
drivers/net/ethernet/mellanox/mlx4/fw.c get_phv_bit() -> mlx4_QUERY_FUNC_CAP()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.def_mac | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.eth_mtu_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | dev->caps.rx_checksum_flags_port | 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.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->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.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 2 | func_cap | 8718298795097104384 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.iommu_group->default_domain | 1 |
| CAPPED_DATA | 1 | gen_or_port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | gen_or_port | $1 |
| MEM_ZERO | 2 | func_cap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | gen_or_port | unit_array_size |
drivers/net/ethernet/mellanox/mlx4/fw.c mlx4_get_is_vlan_offload_disabled() -> mlx4_QUERY_FUNC_CAP()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.def_mac | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.eth_mtu_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | dev->caps.rx_checksum_flags_port | 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->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->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.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 2 | func_cap | 3425106298698526720 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.iommu_group->default_domain | 1 |
| CAPPED_DATA | 1 | gen_or_port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | gen_or_port | $1 |
| MEM_ZERO | 2 | func_cap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | gen_or_port | unit_array_size |