Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/qedi/qedi_main.c qedi_alloc_and_init_sb() -> (struct qed_common_ops)->sb_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->cache_shift | 7 |
| PARAM_VALUE | 0 | cdev->common_dev_info.mbi_version | 0-16777215 |
| PARAM_VALUE | 0 | cdev->dp_level | 0 |
| PARAM_VALUE | 0 | cdev->drv_type | 16777216 |
| PARAM_VALUE | 0 | cdev->iro_arr | 5537634953632645120 |
| PARAM_VALUE | 0 | cdev->protocol | 1 |
| PARAM_VALUE | 0 | cdev->recov_in_prog | 0 |
| PARAM_VALUE | 0 | *cdev->iro_arr | 0 |
| PARAM_VALUE | 2 | sb_virt_addr | 1-ptr_max |
| PARAM_VALUE | 5 | type | 2 |
| BUF_SIZE | 0 | cdev | 27400 |
| BUF_SIZE | 0 | cdev | 27400 |
| BUF_SIZE | 2 | sb_virt_addr | 32 |
| DATA_SOURCE | 1 | sb_info | $1 |
| DATA_SOURCE | 2 | sb_virt_addr | r dma_alloc_coherent |
| DATA_SOURCE | 4 | sb_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | sb_info->cdev->num_ports_in_engine | |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qede/qede_main.c qede_alloc_mem_sb() -> (struct qed_common_ops)->sb_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev->b_is_vf | 0-1 |
| PARAM_VALUE | 0 | cdev->int_params.fp_initialized | 0-1 |
| PARAM_VALUE | 0 | cdev->num_hwfns | 0-255 |
| PARAM_VALUE | 2 | sb_virt_addr | 1-ptr_max |
| PARAM_VALUE | 5 | type | 0 |
| BUF_SIZE | 2 | sb_virt_addr | 32 |
| DATA_SOURCE | 1 | sb_info | $1 |
| DATA_SOURCE | 2 | sb_virt_addr | r dma_alloc_coherent |
| DATA_SOURCE | 4 | sb_id | $2 |
| CONTAINER | 0 | *(-80-0-48+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &edev->qede_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct qede_dev)->qede_lock |
drivers/infiniband/hw/qedr/main.c qedr_alloc_mem_sb() -> (struct qed_common_ops)->sb_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sb_info | 4096-ptr_max |
| PARAM_VALUE | 2 | sb_virt_addr | 1-ptr_max |
| PARAM_VALUE | 5 | type | 1 |
| BUF_SIZE | 0 | cdev | (-1),27400 |
| BUF_SIZE | 0 | cdev | (-1),27400 |
| BUF_SIZE | 2 | sb_virt_addr | 32 |
| DATA_SOURCE | 1 | sb_info | $1 |
| DATA_SOURCE | 2 | sb_virt_addr | r dma_alloc_coherent |
| DATA_SOURCE | 4 | sb_id | $2 |
| CONTAINER | 0 | *(-80-0-5232+5000) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &qedr_dev_list_lock |
drivers/scsi/qedf/qedf_main.c qedf_alloc_and_init_sb() -> (struct qed_common_ops)->sb_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->cache_shift | 7 |
| PARAM_VALUE | 0 | cdev->common_dev_info.mbi_version | 0-16777215 |
| PARAM_VALUE | 0 | cdev->drv_type | 16777216 |
| PARAM_VALUE | 0 | cdev->iro_arr | 5537634953632645120 |
| PARAM_VALUE | 0 | cdev->iwarp_cmt | 0-1 |
| PARAM_VALUE | 0 | cdev->ops_cookie | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cdev->protocol | 2 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe | 1634642777240883200 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.bw_update | 2069906955917324288 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.dcbx_aen | 8418540091441811456 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.get_generic_tlv_data | 4114159729231962112 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.get_protocol_tlv_data | 9032019972727111680 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.link_update | 6319728624572284928 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.schedule_hw_err_handler | 8896500331565715456 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->common.schedule_recovery_handler | 7820616333423185920 |
| PARAM_VALUE | 0 | cdev->protocol_ops.fcoe->get_login_failures | 0,2966315734796840960 |
| PARAM_VALUE | 0 | cdev->recov_in_prog | 0 |
| PARAM_VALUE | 0 | *cdev->iro_arr | 0 |
| PARAM_VALUE | 1 | sb_info | 4096-ptr_max |
| PARAM_VALUE | 2 | sb_virt_addr | 1-ptr_max |
| PARAM_VALUE | 4 | sb_id | 0-254 |
| PARAM_VALUE | 5 | type | 2 |
| BUF_SIZE | 0 | cdev | 27400 |
| BUF_SIZE | 0 | cdev | 27400 |
| BUF_SIZE | 1 | sb_info | 48 |
| BUF_SIZE | 2 | sb_virt_addr | 32 |
| CAPPED_DATA | 4 | sb_id | 1 |
| DATA_SOURCE | 1 | sb_info | $1 |
| DATA_SOURCE | 2 | sb_virt_addr | r dma_alloc_coherent |
| DATA_SOURCE | 4 | sb_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | sb_info->cdev->num_ports_in_engine | |
| NO_OVERFLOW_SIMPLE | 4 | sb_id | |
| HALF_LOCKED2 | &pool->lock |