Defined in 1 files as a function:
Referenced in 6 files:
- drivers/infiniband/core/addr.c
- drivers/infiniband/hw/irdma/verbs.c
- drivers/infiniband/hw/mlx5/macsec.c, line 275
- drivers/infiniband/hw/ocrdma/ocrdma_ah.c
- drivers/infiniband/hw/ocrdma/ocrdma_hw.c
- drivers/infiniband/sw/rxe/rxe_av.c
Smatch caller information:
drivers/infiniband/core/addr.c rdma_addr_find_l2_eth_by_grh() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 6048805538301894656 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| DATA_SOURCE | 1 | gid | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/addr.c rdma_addr_find_l2_eth_by_grh() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 1302538350400684032 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| DATA_SOURCE | 1 | gid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/addr.c roce_resolve_route_from_path() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 6039926675137708032 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/addr.c roce_resolve_route_from_path() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 929093309400772608 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/sw/rxe/rxe_av.c rxe_av_fill_ip_info() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 4096-ptr_max |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| MEM_ZERO | 0 | out | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibp->rvp.lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/sw/rxe/rxe_av.c rxe_av_fill_ip_info() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 4096-ptr_max |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| MEM_ZERO | 0 | out | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibp->rvp.lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/ocrdma/ocrdma_ah.c set_av_attr() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 8725169136698290176 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| DATA_SOURCE | 1 | gid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/ocrdma/ocrdma_ah.c set_av_attr() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 8941632798604427264 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_set_av_params() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 6216426617582075904 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->dev_lock |
drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_set_av_params() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 7809172328426889216 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->dev_lock |
drivers/infiniband/hw/irdma/verbs.c irdma_attach_mcast() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 6131221237535625216 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| PARAM_VALUE | 1 | gid->raw | 4096-ptr_max |
| PARAM_VALUE | 1 | *gid->raw | 0-255 |
| BUF_SIZE | 0 | out | 28 |
| DATA_SOURCE | 1 | gid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_PTR | 1 | gid->raw | |
| HALF_LOCKED2 | &obj->mcast_lock |
drivers/infiniband/hw/irdma/verbs.c irdma_detach_mcast() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 1524031575969505280 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| PARAM_VALUE | 1 | gid->raw | 4096-ptr_max |
| PARAM_VALUE | 1 | *gid->raw | 0-255 |
| BUF_SIZE | 0 | out | 28 |
| DATA_SOURCE | 1 | gid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | gid->global.interface_id | 0-u64max[u] |
| USER_DATA | 1 | gid->global.subnet_prefix | 0-u64max[u] |
| USER_PTR | 1 | gid | |
| HALF_LOCKED2 | &obj->mcast_lock |
drivers/infiniband/hw/irdma/verbs.c irdma_modify_qp_roce() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 4096-ptr_max |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/irdma/verbs.c irdma_modify_qp_roce() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 4096-ptr_max |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/irdma/verbs.c irdma_setup_ah() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 5120892097596792832 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/irdma/verbs.c irdma_setup_ah() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 4492207962103713792 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/macsec.c mlx5r_add_gid_macsec_operations() -> rdma_gid2ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | out | 7448872216906534912 |
| PARAM_VALUE | 1 | gid | 4096-ptr_max |
| BUF_SIZE | 0 | out | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->macsec.lock | ||
| LOCK2 | &table->lock | ||
| TYPE_LOCK | (struct ib_gid_table)->lock | ||
| TYPE_LOCK | (struct mlx5_macsec)->lock |