Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/qp.c get_tx_affinity_rr() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &qp->mutex

drivers/infiniband/hw/mlx5/main.c mlx5_ib_alloc_ucontext() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 0 dev->cmd.pool->dev->iommu->attach_deferred 0-1
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->priv.eq_table->ctrl_irq 0-s64max
UNITS 0 dev unit_byte
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/mlx5/main.c mlx5_ib_bind_slave_port() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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
CAPPED_DATA 0 dev->coredev_type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 global &mlx5_ib_multiport_mutex

drivers/infiniband/hw/mlx5/main.c mlx5_ib_cleanup_multiport_master() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_init_multiport_master() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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->priv.eq_table->ctrl_irq 0-s64max
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_init_multiport_master() -> mlx5_core_native_port_num()

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
UNITS 0 dev unit_byte
LOCK2 global &mlx5_ib_multiport_mutex

drivers/infiniband/hw/mlx5/main.c mlx5_ib_roce_cleanup() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->cmd.token 1-255
PARAM_VALUE 0 dev->cmd.token_lock.rlock.dep_map->name 0-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 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.dep_map->name 0-255
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 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.dep_map->name 0-255
PARAM_VALUE 0 dev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 0 dev->priv.lag->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->priv.lag->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->priv.lag->lock.osq.tail.counter 0-s32max
CAPPED_DATA 0 dev 1
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_roce_init() -> mlx5_core_native_port_num()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_stage_cong_debugfs_cleanup() -> mlx5_core_native_port_num()

Type Parameter Key Value
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_stage_cong_debugfs_init() -> mlx5_core_native_port_num()

Type Parameter Key Value
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_unbind_slave_port() -> mlx5_core_native_port_num()

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
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 global &mlx5_ib_multiport_mutex
HALF_LOCKED2 &dev->mutex