Defined in 2 files as a prototype:
- drivers/net/ethernet/cisco/enic/vnic_cq.h, line 74 (as a prototype)
- drivers/scsi/fnic/vnic_cq.h, line 100 (as a prototype)
Defined in 1 files as a macro:
Defined in 2 files as a function:
- drivers/net/ethernet/cisco/enic/vnic_cq.c, line 39 (as a function)
- drivers/scsi/fnic/vnic_cq.c, line 19 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/cisco/enic/enic_res.c enic_alloc_vnic_resources() -> vnic_cq_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | cq | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-4294967294 |
| PARAM_VALUE | 3 | desc_count | 0,32-u32max |
| PARAM_VALUE | 4 | desc_size | 16,32,64 |
| BUF_SIZE | 0 | vdev | (-1),1544 |
| BUF_SIZE | 0 | vdev | (-1),1544 |
| BUF_SIZE | 0 | vdev->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| CAPPED_DATA | 2 | index | 1 |
| BIT_INFO | 4 | desc_size | 0x0,0x70 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vdev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 2 | index | |
| UNITS | 2 | index | unit_array_size |
| UNITS | 3 | desc_count | unit_array_size |
drivers/net/ethernet/cisco/enic/enic_res.c enic_alloc_vnic_resources() -> vnic_cq_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | cq | 4096-ptr_max |
| PARAM_VALUE | 3 | desc_count | 0,32-u32max |
| PARAM_VALUE | 4 | desc_size | 16 |
| BUF_SIZE | 0 | vdev | (-1),1544 |
| BUF_SIZE | 0 | vdev | (-1),1544 |
| BUF_SIZE | 0 | vdev->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| CAPPED_DATA | 2 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vdev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 2 | index | |
| UNITS | 2 | index | unit_array_size |
| UNITS | 3 | desc_count | unit_array_size |
| UNITS | 4 | desc_size | unit_byte |