Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/macsec.c del_sa_roce_rule() -> get_macsec_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | macsec_devices_list | 4096-ptr_max |
| DATA_SOURCE | 1 | macsec_devices_list | $0 |
| LOCK2 | &macsec->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |
drivers/infiniband/hw/mlx5/macsec.c handle_macsec_gids() -> get_macsec_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | macsec_devices_list | 4096-ptr_max |
| DATA_SOURCE | 1 | macsec_devices_list | $0 |
| LOCK2 | &macsec->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |
drivers/infiniband/hw/mlx5/macsec.c mlx5r_add_gid_macsec_operations() -> get_macsec_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | macdev | 4096-ptr_max |
| PARAM_VALUE | 1 | macsec_devices_list | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | macdev | unit_byte |
| LOCK2 | &dev->macsec.lock | ||
| LOCK2 | &table->lock | ||
| TYPE_LOCK | (struct ib_gid_table)->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |
drivers/infiniband/hw/mlx5/macsec.c mlx5r_del_gid_macsec_operations() -> get_macsec_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | macdev | 4096-ptr_max |
| PARAM_VALUE | 1 | macsec_devices_list | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | macdev | unit_byte |
| LOCK2 | &dev->macsec.lock | ||
| LOCK2 | &table->lock | ||
| TYPE_LOCK | (struct ib_gid_table)->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |