Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/qp.c _create_kernel_qp() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vfio/pci/mlx5/cmd.c alloc_cq_frag_buf() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 6-7
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
DATA_SOURCE 2 log_sz r __ilog2_u32
FUZZY_MAX 1 log_stride 7
HARD_MAX 1 log_stride 7
MEM_ZERO 3 fbc
NOCHECK_CALL
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vfio/pci/mlx5/cmd.c mlx5vf_create_rc_qp() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 2 log_sz 0-31,255
PARAM_VALUE 3 fbc 4096-ptr_max
DATA_SOURCE 2 log_sz r __ilog2_u32
BIT_INFO 2 log_sz 0x0,0x1f
NOCHECK_CALL
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vdpa/mlx5/net/mlx5_vnet.c cq_frag_buf_alloc() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 3 fbc 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock

drivers/net/ethernet/mellanox/mlx5/core/eq.c create_map_eq() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 2 log_sz 0-64
PARAM_VALUE 3 fbc 4096-ptr_max
DATA_SOURCE 2 log_sz r __order_base_2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &eq_table->lock
HALF_LOCKED2 &table->comp_lock

drivers/infiniband/hw/mlx5/srq.c create_srq_kernel() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 0-31
PARAM_VALUE 2 log_sz 0-31,255
PARAM_VALUE 3 fbc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/net/ethernet/mellanox/mlx5/core/wq.c mlx5_cqwq_create() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 6-7
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
FUZZY_MAX 1 log_stride 7
BIT_INFO 1 log_stride 0x6,0x7
HARD_MAX 1 log_stride 7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 wc_state_lock

drivers/net/ethernet/mellanox/mlx5/core/wq.c mlx5_wq_cyc_create() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 0-15
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
BUF_SIZE 3 fbc 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 wc_state_lock

drivers/net/ethernet/mellanox/mlx5/core/wq.c mlx5_wq_ll_create() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 0-15
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
BUF_SIZE 3 fbc 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->state_lock

drivers/net/ethernet/mellanox/mlx5/core/wq.c mlx5_wq_qp_create() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 4-11
PARAM_VALUE 2 log_sz 0-15
PARAM_VALUE 3 fbc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/wq.c mlx5_wq_qp_create() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 4096-ptr_max
PARAM_VALUE 2 log_sz 0-15
PARAM_VALUE 3 fbc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 frags unit_page

drivers/infiniband/hw/mlx5/cq.c alloc_cq_frag_buf() -> mlx5_init_fbc()

Type Parameter Key Value
PARAM_VALUE 0 frags 1-u64max
PARAM_VALUE 1 log_stride 6-7
PARAM_VALUE 2 log_sz 0-31
PARAM_VALUE 3 fbc 4096-ptr_max
DATA_SOURCE 2 log_sz r __ilog2_u32
FUZZY_MAX 1 log_stride 7
HARD_MAX 1 log_stride 7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cq->resize_mutex