Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/rl.c mlx5_rl_add_rate_raw() -> find_rl_entry()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->max_size 1-u16max
PARAM_VALUE 0 table->rl_entry 1-u64max
PARAM_VALUE 0 table->rl_lock.dep_map->name 0-255
PARAM_VALUE 0 table->rl_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 table->rl_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 table->rl_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 table->rl_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 table->rl_lock.wait_lock.owner (-1)
PARAM_VALUE 0 table->rl_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 rl_in 4096-ptr_max
BUF_SIZE 0 table 184
BUF_SIZE 1 rl_in 48
BUF_SIZE 1 rl_in 48
CAPPED_DATA 0 table->max_size 1
CAPPED_DATA 0 &table->rl_lock 1
DATA_SOURCE 1 rl_in $1
DATA_SOURCE 2 uid $2
DATA_SOURCE 3 dedicated $3
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 table->max_size
LOCK2 0 &table->rl_lock
TYPE_LOCK (struct mlx5_rl_table)->rl_lock

drivers/net/ethernet/mellanox/mlx5/core/rl.c mlx5_rl_remove_rate() -> find_rl_entry()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->rl_lock.dep_map->name 0-255
PARAM_VALUE 0 table->rl_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 table->rl_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 table->rl_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 table->rl_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 table->rl_lock.wait_lock.owner (-1)
PARAM_VALUE 0 table->rl_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 rl_in 4096-ptr_max
PARAM_VALUE 2 uid 0,u16max
PARAM_VALUE 3 dedicated 0
BUF_SIZE 0 table 184
BUF_SIZE 1 rl_in 48
CAPPED_DATA 0 &table->rl_lock 1
FUZZY_MAX 2 uid u16max
HARD_MAX 2 uid u16max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &table->rl_lock
LOCK2 0 &table->rl_lock
HALF_LOCKED2 &qp->mutex
TYPE_LOCK (struct mlx5_rl_table)->rl_lock