Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c, line 735
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 2872
- drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c, line 146
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c mlx5e_ptp_open_rq() -> mlx5_sd_ch_ix_get_dev_ix()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->clock->ptp | 0,4096-9223372036854775807 |
| PARAM_VALUE | 0 | dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | dev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->device | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv.alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->priv.eq_table->curr_comp_eqs | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv.eq_table->max_comp_eqs | 1-s32max |
| PARAM_VALUE | 0 | dev->priv.pgdir_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->priv.pgdir_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->priv.pgdir_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *dev->priv->alloc_mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | ch_ix | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| TYPE_LOCK | (struct mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c mlx5_sd_ch_ix_get_dev() -> mlx5_sd_ch_ix_get_dev_ix()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | ch_ix | s32min-(-2),0-s32max |
| CAPPED_DATA | 1 | ch_ix | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | ch_ix | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ch_ix | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | ch_ix | |
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | ch_ix | unit_array_size |
| HALF_LOCKED2 | &priv->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_open_channel() -> mlx5_sd_ch_ix_get_dev_ix()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->pdev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->priv.dbg.eq_debugfs->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.eq_table | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_eqs.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_irqs.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv.eq_table->comp_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->priv.eq_table->curr_comp_eqs | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv.eq_table->max_comp_eqs | 1-s32max |
| PARAM_VALUE | 0 | dev->priv.fc_stats->bulk_query_len | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv.lag->mode | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv.parent_mdev->priv.eq_table->rmap->refcount.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->rsc_dump->number_of_menu_items | 0-4294967295 |
| PARAM_VALUE | 0 | dev->rsc_dump->pdn | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->priv.dbg.eq_debugfs->d_children.first->pprev | 1-u64max |
| PARAM_VALUE | 1 | ch_ix | s32min-(-2),0-u16max |
| CAPPED_DATA | 0 | dev->priv.eq_table->max_comp_eqs | 1 |
| CAPPED_DATA | 1 | ch_ix | 1 |
| DATA_SOURCE | 0 | dev | r mlx5_sd_ch_ix_get_dev |
| DATA_SOURCE | 1 | ch_ix | $1 |
| NOSPEC | 1 | ch_ix | |
| NOSPEC | 1 | ch_ix | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ch_ix | 2-u16max[c] |
| NO_OVERFLOW_SIMPLE | 1 | ch_ix | |
| UNITS | 1 | ch_ix | unit_array_size |
| HALF_LOCKED2 | &priv->state_lock | ||
| TYPE_LOCK | (struct mlx5e_priv)->state_lock |