Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/cma.c cma_acquire_dev_by_src_ip() -> cma_attach_to_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.sgid_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->state | 2,7 |
| PARAM_VALUE | 1 | cma_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->default_gid_type | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->device | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->device->port_data | 4096-ptr_max |
| BUF_SIZE | 0 | id_priv | (-1),104 |
| BUF_SIZE | 0 | id_priv | (-1),104 |
| CAPPED_DATA | 0 | id_priv->id.port_num | 1 |
| DATA_SOURCE | 0 | id_priv | $0 |
| HARD_MAX | 0 | id_priv->state | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &lock | ||
| HALF_LOCKED2 | 0 | &id_priv->handler_mutex |
drivers/infiniband/core/cma.c cma_bind_loopback() -> cma_attach_to_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->bind_list | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.device | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->broadcast | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->src_dev_addr | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.dev_type | 1,32 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.sgid_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.transport | 0-4 |
| PARAM_VALUE | 0 | id_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.valid | 1 |
| PARAM_VALUE | 0 | id_priv->state | 1 |
| PARAM_VALUE | 0 | *id_priv->node.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->device | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->device->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cma_dev->device->port_data | 4096-ptr_max |
| CAPPED_DATA | 0 | id_priv | 1 |
| CAPPED_DATA | 0 | id_priv->id.port_num | 1 |
| DATA_SOURCE | 0 | id_priv | $0 |
| FUZZY_MAX | 0 | id_priv->id.route.addr.dev_addr.dev_type | 32 |
| BIT_INFO | 0 | id_priv->id.route.addr.dev_addr.dev_type | 0x0,0x21 |
| HARD_MAX | 0 | id_priv->id.route.addr.dev_addr.dev_type | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | id_priv->id.route.addr.dev_addr.bound_dev_if | s32min-s32max[u] |
| LOCK2 | global &lock | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/cma.c cma_ib_acquire_dev() -> cma_attach_to_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.done | 0 |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->gid_type | 0 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->id.port_num | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.sgid_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->min_rnr_timer_set | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->qp_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | id_priv->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | id_priv->res.comp.done | 0 |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | id_priv->res.type | 3 |
| PARAM_VALUE | 0 | id_priv->restricted_node_type | 7 |
| PARAM_VALUE | 0 | id_priv->seq_num | 0-16777215 |
| PARAM_VALUE | 0 | id_priv->state | 5 |
| PARAM_VALUE | 0 | id_priv->timeout_set | 0 |
| PARAM_VALUE | 0 | id_priv->tos_set | 0 |
| PARAM_VALUE | 1 | cma_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->default_gid_type | 4096-ptr_max |
| BUF_SIZE | 0 | id_priv | 1360 |
| CAPPED_DATA | 0 | id_priv->id.port_num | 1 |
| DATA_SOURCE | 0 | id_priv | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &listen_id_priv->handler_mutex | ||
| LOCK2 | global &lock | ||
| LOCK2 | 0 | &id_priv->handler_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rdma_id_private)->handler_mutex |
drivers/infiniband/core/cma.c cma_iw_acquire_dev() -> cma_attach_to_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.done | 0 |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->device_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->gid_type | 0 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->handler_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->id.ps | 262 |
| PARAM_VALUE | 0 | id_priv->id.qp_type | 2 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->broadcast | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->src_dev_addr | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.sgid_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id_list_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->listen_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->mc_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->min_rnr_timer_set | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->qp_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | id_priv->qp_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | id_priv->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | id_priv->res.comp.done | 0 |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | id_priv->res.type | 3 |
| PARAM_VALUE | 0 | id_priv->restricted_node_type | 7 |
| PARAM_VALUE | 0 | id_priv->seq_num | 0-16777215 |
| PARAM_VALUE | 0 | id_priv->state | 5 |
| PARAM_VALUE | 0 | id_priv->timeout_set | 0 |
| PARAM_VALUE | 0 | id_priv->tos_set | 0 |
| PARAM_VALUE | 1 | cma_dev | 4096-ptr_max |
| BUF_SIZE | 0 | id_priv | 1360 |
| CAPPED_DATA | 0 | id_priv->id.port_num | 1 |
| DATA_SOURCE | 0 | id_priv | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &listen_id_priv->handler_mutex | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | global &lock | ||
| LOCK2 | 0 | &id_priv->handler_mutex | |
| TYPE_LOCK | (struct rdma_id_private)->handler_mutex |
drivers/infiniband/core/cma.c cma_resolve_ib_dev() -> cma_attach_to_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->bind_list | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.device | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->broadcast | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr->src_dev_addr | 0-255 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.dev_type | 32 |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.sgid_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->id.route.addr.dev_addr.transport | 0-4 |
| PARAM_VALUE | 0 | id_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | id_priv->node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | id_priv->res.valid | 1 |
| PARAM_VALUE | 0 | id_priv->state | 1 |
| PARAM_VALUE | 0 | *id_priv->node.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cma_dev->device | 4096-ptr_max |
| CAPPED_DATA | 0 | id_priv | 1 |
| CAPPED_DATA | 0 | id_priv->id.port_num | 1 |
| DATA_SOURCE | 0 | id_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | id_priv->id.route.addr.dev_addr.bound_dev_if | s32min-s32max[u] |
| LOCK2 | global &lock | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |