Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/hw/bnxt_re/ib_verbs.c, line 4922
- drivers/infiniband/hw/bnxt_re/main.c
- drivers/infiniband/hw/bnxt_re/uapi.c
Smatch caller information:
drivers/infiniband/hw/bnxt_re/ib_verbs.c bnxt_re_dealloc_ucontext() -> bnxt_qplib_dealloc_dpi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi->dbr | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |
drivers/infiniband/hw/bnxt_re/main.c bnxt_re_alloc_res() -> bnxt_qplib_dealloc_dpi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->cctx | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dattr | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dpi_tbl.app_tbl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | res->dpi_tbl.tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dpi_tbl.ucreg.bar_id | 2 |
| PARAM_VALUE | 0 | res->dpi_tbl.ucreg.bar_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dpi_tbl.ucreg.len | 20480,69632 |
| PARAM_VALUE | 0 | res->dpi_tbl.ucreg.offset | 0-u32max |
| PARAM_VALUE | 0 | res->dpi_tbl.wcreg.bar_id | 2 |
| PARAM_VALUE | 0 | res->dpi_tbl.wcreg.offset | 0-u32max |
| PARAM_VALUE | 0 | res->dpi_tbl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | res->en_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->pd_tbl.tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | res->pd_tbl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | res->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->rcfw | 4096-ptr_max |
| PARAM_VALUE | 0 | res->sgid_tbl.ctx | 16,4096-ptr_max |
| PARAM_VALUE | 0 | res->sgid_tbl.hw_id | 16,4096-ptr_max |
| PARAM_VALUE | 0 | res->sgid_tbl.tbl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | res->sgid_tbl.vlan | 16,4096-ptr_max |
| PARAM_VALUE | 1 | dpi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi->bit | 0-64 |
| PARAM_VALUE | 1 | dpi->dpi | 0-64 |
| PARAM_VALUE | 1 | dpi->type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | res->sgid_tbl.max | |
| LOCK2 | global &bnxt_re_mutex |
drivers/infiniband/hw/bnxt_re/main.c bnxt_re_free_res() -> bnxt_qplib_dealloc_dpi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dpi_tbl.max | 1-u16max |
| PARAM_VALUE | 1 | dpi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | res->sgid_tbl.max | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &bnxt_re_mutex |
drivers/infiniband/hw/bnxt_re/uapi.c alloc_page_obj_cleanup() -> bnxt_qplib_dealloc_dpi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi->dbr | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &uctx->wcdpi_lock | ||
| TYPE_LOCK | (struct bnxt_re_ucontext)->wcdpi_lock |
drivers/infiniband/hw/bnxt_re/uapi.c bnxt_re_handler_BNXT_RE_METHOD_ALLOC_PAGE() -> bnxt_qplib_dealloc_dpi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpi->dbr | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &uctx->wcdpi_lock | ||
| TYPE_LOCK | (struct bnxt_re_ucontext)->wcdpi_lock |