Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/core/sysfs.c, line 309
- drivers/infiniband/core/verbs.c, line 265
- drivers/infiniband/hw/mthca/mthca_mad.c, line 68
- drivers/infiniband/ulp/ipoib/ipoib_ethtool.c, line 199
Smatch caller information:
drivers/infiniband/core/verbs.c ib_port_attr_to_speed_info() -> ib_width_enum_to_int()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/infiniband/hw/mthca/mthca_mad.c mthca_update_rate() -> ib_width_enum_to_int()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->cmd.poll_sem | ||
| HALF_LOCKED2 | global &mthca_device_mutex |
drivers/infiniband/core/sysfs.c rate_show() -> ib_width_enum_to_int()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c ipoib_get_link_ksettings() -> ib_width_enum_to_int()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |