Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c, line 1928
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c, line 167
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c, line 243
Smatch caller information:
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_close() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | res | (-1),40 |
| BUF_SIZE | 0 | res | (-1),40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_open() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->addr | 0,256-s64max |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner | (-1) |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-s64max |
| BUF_SIZE | 0 | res | 40 |
| BUF_SIZE | 0 | res | 40 |
| DATA_SOURCE | 0 | res | r nfp_resource_acquire |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_resource_wait() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->addr | 0,256-18446744073709551360 |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex | 4096-ptr_max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner | (-1) |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-18446744073709551360 |
| BUF_SIZE | 0 | res | 40 |
| DATA_SOURCE | 0 | res | r nfp_resource_acquire |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c nfp_nffw_info_close() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res->addr | 0,256-s64max |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-s64max |
| PARAM_VALUE | 0 | *res->mutex->cpp->resource_lock.owner | (-4611686018427387904)-4611686018427387903 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c nfp_nffw_info_open() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->addr | 0,256-s64max |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner | (-1) |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-s64max |
| BUF_SIZE | 0 | res | 40 |
| BUF_SIZE | 0 | res | 40 |
| DATA_SOURCE | 0 | res | r nfp_resource_acquire |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c hwinfo_try_fetch() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->addr | 0,256-s64max |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner | (-1) |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-s64max |
| BUF_SIZE | 0 | res | 40 |
| BUF_SIZE | 0 | res | 40 |
| DATA_SOURCE | 0 | res | r nfp_resource_acquire |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_dump_nsp_diag() -> nfp_resource_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->addr | 0,256-s64max |
| PARAM_VALUE | 0 | res->cpp_id | 0-s32max |
| PARAM_VALUE | 0 | res->mutex->address | 554050781184-554050785248 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner | (-1) |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | res->mutex->cpp->resource_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | res->mutex->depth | 1 |
| PARAM_VALUE | 0 | res->mutex->target | 7 |
| PARAM_VALUE | 0 | res->size | 0,256-s64max |
| BUF_SIZE | 0 | res | 40 |
| BUF_SIZE | 0 | res | 40 |
| DATA_SOURCE | 0 | res | r nfp_resource_acquire |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |