Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/intel/idpf/idpf_lib.c, line 385
- drivers/net/ethernet/intel/idpf/idpf_txrx.c, line 4499
Smatch caller information:
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_intr_req() -> idpf_get_vec_ids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | vecids | 16,4096-ptr_max |
| PARAM_VALUE | 2 | num_vecids | 0-s32max |
| PARAM_VALUE | 3 | chunks | 4096-ptr_max |
| BUF_SIZE | 0 | adapter->msix_entries | 0-524280 |
| BUF_SIZE | 0 | adapter->netdevs | (-1)-524280 |
| BUF_SIZE | 0 | adapter->rdma_msix_entries | 0,16-524280,u64max |
| BUF_SIZE | 0 | adapter->vcxn_mngr | (-1),55192 |
| BUF_SIZE | 0 | adapter->vports | 0-524280 |
| BUF_SIZE | 1 | vecids | 2 |
| CAPPED_DATA | 0 | adapter | 1 |
| CAPPED_DATA | 2 | num_vecids | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | vecids | r _kmalloc_array_noprof |
| DATA_SOURCE | 2 | num_vecids | r pci_alloc_irq_vectors |
| MEM_ZERO | 0 | adapter->vcxn_mngr->free_xn_bm | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->max_vports | |
| NO_OVERFLOW_SIMPLE | 2 | num_vecids | |
| UNITS | 2 | num_vecids | unit_array_size |
| LOCK2 | 0 | &adapter->vport_ctrl_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct idpf_adapter)->vport_ctrl_lock |
drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_vport_intr_init_vec_idx() -> idpf_get_vec_ids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | vecids | 16,4096-ptr_max |
| PARAM_VALUE | 3 | chunks | 4096-ptr_max |
| BUF_SIZE | 1 | vecids | 2 |
| DATA_SOURCE | 1 | vecids | r _kmalloc_array_noprof |
| PARAM_COMPARE | 0 | adapter->caps.num_allocated_vectors | == $2 |
| PARAM_COMPARE | 2 | num_vecids | == $0->caps.num_allocated_vectors |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | num_vecids | |
| HALF_LOCKED2 | global &rtnl_mutex |