Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/core/cma.c, line 2807
- drivers/infiniband/core/ucma.c, line 1333
- drivers/nvme/host/rdma.c, line 1827
- net/rds/rdma_transport.c, line 90
Smatch caller information:
net/rds/rdma_transport.c rds_rdma_cm_event_handler_cmn() -> rdma_set_service_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->context | 4096-ptr_max |
| PARAM_VALUE | 0 | id->device | 4096-ptr_max |
| DATA_SOURCE | 0 | id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | id->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | id->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | id->device->phys_port_cnt | |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
drivers/nvme/host/rdma.c nvme_rdma_addr_resolved() -> rdma_set_service_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id->device->attrs.device_cap_flags | 2097152-u64max |
| PARAM_VALUE | 0 | id->device->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | id->qp | 4096-ptr_max |
| PARAM_VALUE | 1 | tos | 0-s32max |
| CAPPED_DATA | 0 | id->device | 1 |
| FUZZY_MAX | 1 | tos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
drivers/infiniband/core/ucma.c ucma_set_option_id() -> rdma_set_service_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tos | 0-255 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | tos | 0-255 |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |