Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/core/device.c, line 904
- drivers/infiniband/hw/mlx5/qp.c, line 3605
- fs/smb/smbdirect/devices.c, line 93
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c mlx5_set_path() -> ib_port_immutable_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 1 | port | $4 |
| NOSPEC | 1 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | port | 0-255 |
| UNITS | 1 | port | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct mlx5_ib_qp)->mutex |
fs/smb/smbdirect/devices.c smbdirect_ib_client_add() -> ib_port_immutable_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev->driver_def | (-1),32,112 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 1 | port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),6-9,11-12 |
| STR_LEN | 0 | dev | (-1),6-9,11-12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_comp_vectors | |
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| LOCK2 | 0 | &dev->client_data_rwsem | |
| HALF_LOCKED2 | 0 | &dev->unregistration_lock | |
| TYPE_LOCK | (struct ib_device)->client_data_rwsem |