Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/qp.c create_xrc_tgt_qp() -> to_mxrcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/qp.c create_xrc_tgt_qp() -> to_mxrcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/qp.c mlx5_ib_alloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
DATA_SOURCE 0 ibxrcd $0
LOCK2 &ibudev->xrcd_tree_mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx5/qp.c mlx5_ib_dealloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
DATA_SOURCE 0 ibxrcd $0
HALF_LOCKED2 &attrs->ufile->device->xrcd_tree_mutex
HALF_LOCKED2 &ibudev->xrcd_tree_mutex
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx4/qp.c _mlx4_ib_create_qp() -> to_mxrcd()

Type Parameter Key Value
BUF_SIZE 0 ibxrcd (-1)-s32max
BUF_SIZE 0 ibxrcd (-1)-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/qp.c _mlx4_ib_create_qp() -> to_mxrcd()

Type Parameter Key Value
BUF_SIZE 0 ibxrcd (-1)-s32max
BUF_SIZE 0 ibxrcd (-1)-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/qp.c _mlx4_ib_create_qp() -> to_mxrcd()

Type Parameter Key Value
BUF_SIZE 0 ibxrcd (-1)-s32max
BUF_SIZE 0 ibxrcd (-1)-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/qp.c get_cqs() -> to_mxrcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/qp.c get_pd() -> to_mxrcd()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/srq.c mlx5_ib_create_srq() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx4/main.c mlx4_ib_alloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
DATA_SOURCE 0 ibxrcd $0
LOCK2 &ibudev->xrcd_tree_mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx4/main.c mlx4_ib_dealloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
DATA_SOURCE 0 ibxrcd $0
HALF_LOCKED2 &attrs->ufile->device->xrcd_tree_mutex
HALF_LOCKED2 &ibudev->xrcd_tree_mutex
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx4/main.c mlx4_ib_dealloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
DATA_SOURCE 0 ibxrcd $0
HALF_LOCKED2 &attrs->ufile->device->xrcd_tree_mutex
HALF_LOCKED2 &ibudev->xrcd_tree_mutex
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx4/main.c mlx4_ib_dealloc_xrcd() -> to_mxrcd()

Type Parameter Key Value
PARAM_VALUE 0 ibxrcd 4096-ptr_max
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 0 ibxrcd (-1),16,24,32,40,56,64,232,264,280,352,536,680
DATA_SOURCE 0 ibxrcd $0
HALF_LOCKED2 &attrs->ufile->device->xrcd_tree_mutex
HALF_LOCKED2 &ibudev->xrcd_tree_mutex
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_create_srq() -> to_mxrcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex