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/cache.c, line 1042
- drivers/infiniband/core/cm.c, line 510
- drivers/infiniband/hw/mlx5/macsec.c, line 259
Smatch caller information:
drivers/infiniband/core/cm.c get_cm_port_from_path() -> rdma_find_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| PARAM_VALUE | 2 | gid_type | 0-2 |
| PARAM_VALUE | 3 | ndev | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &cm.device_lock | ||
| TYPE_LOCK | (struct ib_cm)->device_lock |
drivers/infiniband/hw/mlx5/macsec.c mlx5r_add_gid_macsec_operations() -> rdma_find_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ops.add_gid | 1-u64max |
| PARAM_VALUE | 0 | device->ops.del_gid | 1-u64max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| PARAM_VALUE | 2 | gid_type | 2 |
| PARAM_VALUE | 3 | ndev | 0 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->macsec.lock | ||
| LOCK2 | &table->lock | ||
| TYPE_LOCK | (struct ib_gid_table)->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |