Defined in 2 files as a function:
- drivers/infiniband/core/multicast.c, line 150 (as a function)
- drivers/infiniband/hw/mlx4/mcg.c, line 183 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx4/mcg.c acquire_group() -> mcast_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->flushing | 0 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->demux | 4096-ptr_max |
| PARAM_VALUE | 1 | group->demux->flushing | 0 |
| PARAM_VALUE | 1 | group->demux->mcg_table_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->demux->mcg_table_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->demux->mcg_table_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | group->dentry.attr.mode | 256 |
| PARAM_VALUE | 1 | group->dentry.show | 5691118521295060992 |
| PARAM_VALUE | 1 | group->dentry.show_const | 5691118521295060992 |
| PARAM_VALUE | 1 | group->dentry.store | 0 |
| PARAM_VALUE | 1 | group->dentry.store_const | 0 |
| PARAM_VALUE | 1 | group->func | 4096-ptr_max |
| PARAM_VALUE | 1 | group->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->lock.first_waiter | 0 |
| PARAM_VALUE | 1 | group->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | group->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | group->lock.owner.counter | 0 |
| PARAM_VALUE | 1 | group->mgid0_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mgid0_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mgid0_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mgid0_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mgid0_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->state | 0 |
| BUF_SIZE | 1 | group | 3504 |
| BUF_SIZE | 1 | group->dentry.attr.name | 33 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | group | r _kzalloc_noprof |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &ctx->mcg_table_lock | |
| TYPE_LOCK | (struct mlx4_ib_demux_ctx)->mcg_table_lock |
drivers/infiniband/hw/mlx4/mcg.c search_relocate_mgid0_group() -> mcast_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->mcg_table_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->last_req_tid | 0-255 |
| PARAM_VALUE | 1 | group->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | group->mgid0_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mgid0_list.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | &ctx->mcg_mgid0_list | 1 |
| CAPPED_DATA | 0 | &ctx->mcg_table_lock | 1 |
| CAPPED_DATA | 1 | group->last_req_tid | 1 |
| CAPPED_DATA | 1 | &group->lock | 1 |
| CAPPED_DATA | 1 | &group->mgid0_list | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &ctx->mcg_table_lock | |
| LOCK2 | 1 | &group->lock | |
| TYPE_LOCK | (struct mcast_group)->lock | ||
| TYPE_LOCK | (struct mlx4_ib_demux_ctx)->mcg_table_lock |
drivers/infiniband/core/multicast.c acquire_group() -> mcast_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->active_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->active_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->active_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->active_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->active_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->pkey_index | u16max |
| PARAM_VALUE | 1 | group->retries | 3 |
| PARAM_VALUE | 2 | allow_duplicates | 0-1 |
| BUF_SIZE | 1 | group | 328 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | group | r _kzalloc_noprof |
| FUZZY_MAX | 2 | allow_duplicates | 1 |
| HARD_MAX | 2 | allow_duplicates | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctx->lock | |
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct mcast_port)->lock |
drivers/infiniband/core/multicast.c join_handler() -> mcast_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev->device->ops.query_pkey | 1-u64max |
| PARAM_VALUE | 0 | ctx->dev->device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->table.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->port | 4096-ptr_max |
| PARAM_VALUE | 1 | group->port->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | group->port->dev->device | 4096-ptr_max |
| PARAM_VALUE | 1 | group->port->dev->device->ops.query_pkey | 1-u64max |
| PARAM_VALUE | 1 | group->port->dev->device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | group->port->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->port->table.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | allow_duplicates | 0-1 |
| CAPPED_DATA | 1 | &group->node | 1 |
| DATA_SOURCE | 1 | group | $2 |
| FUZZY_MAX | 2 | allow_duplicates | 1 |
| HARD_MAX | 2 | allow_duplicates | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ctx->lock | |
| LOCK2 | 1 | &group->port->lock | |
| TYPE_LOCK | (struct mcast_port)->lock |