Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/qp.c alloc_high_class_bfreg() -> max_bfregs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devr.s1 1-u64max
PARAM_VALUE 0 dev->mdev 4096-ptr_max
PARAM_VALUE 0 dev->mdev->caps.hca 4096-ptr_max
PARAM_VALUE 1 bfregi 4096-ptr_max
PARAM_VALUE 1 bfregi->lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 bfregi->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bfregi->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bfregi->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.wait_lock.owner (-1)
PARAM_VALUE 1 bfregi->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bfregi->ver 2
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 bfregi $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &bfregi->lock
TYPE_LOCK (struct mlx5_bfreg_info)->lock

drivers/infiniband/hw/mlx5/qp.c alloc_high_class_bfreg() -> max_bfregs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devr.s1 1-u64max
PARAM_VALUE 0 dev->mdev 4096-ptr_max
PARAM_VALUE 0 dev->mdev->caps.hca 4096-ptr_max
PARAM_VALUE 1 bfregi 4096-ptr_max
PARAM_VALUE 1 bfregi->count 4096-ptr_max
PARAM_VALUE 1 bfregi->lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 bfregi->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bfregi->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bfregi->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.wait_lock.owner (-1)
PARAM_VALUE 1 bfregi->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bfregi->ver 2
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 bfregi $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &bfregi->lock
TYPE_LOCK (struct mlx5_bfreg_info)->lock

drivers/infiniband/hw/mlx5/qp.c num_med_bfreg() -> max_bfregs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devr.s1 1-u64max
PARAM_VALUE 0 dev->mdev 4096-ptr_max
PARAM_VALUE 0 dev->mdev->caps.hca 4096-ptr_max
PARAM_VALUE 1 bfregi 4096-ptr_max
PARAM_VALUE 1 bfregi->lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 bfregi->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bfregi->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 bfregi->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bfregi->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 bfregi->lock.wait_lock.owner (-1)
PARAM_VALUE 1 bfregi->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bfregi->lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 bfregi->ver 2
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 bfregi $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &bfregi->lock
TYPE_LOCK (struct mlx5_bfreg_info)->lock