Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/core/device.c, line 913
- drivers/infiniband/core/nldev.c, line 308
- drivers/infiniband/core/sysfs.c, line 1336
- drivers/infiniband/ulp/ipoib/ipoib_ethtool.c, line 66
Smatch caller information:
drivers/infiniband/core/sysfs.c fw_ver_show() -> ib_get_device_fw_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 8089973293141712896 |
| BUF_SIZE | 1 | str | 32 |
| DATA_SOURCE | 0 | dev | r rdma_device_to_ibdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/core/nldev.c fill_dev_info() -> ib_get_device_fw_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | str | 8536016054516711424 |
| BUF_SIZE | 1 | str | 32 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c ipoib_get_drvinfo() -> ib_get_device_fw_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | str | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &us_ibdev->usdev_lock | ||
| HALF_LOCKED2 | global &bnx2fc_dev_lock | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |