Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/odp.c destroy_unused_implicit_child_mr() -> mlx5_base_mkey()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &(&imr->implicit_children)->xa_lock
LOCK2 &umem_odp->umem_mutex
HALF_LOCKED2 &mm->mmap_lock
TYPE_LOCK (struct ib_umem_odp)->umem_mutex

drivers/infiniband/hw/mlx5/odp.c find_odp_mkey() -> mlx5_base_mkey()

Type Parameter Key Value
DATA_SOURCE 0 key $1
PREEMPT_ADD <- disables preempt
LOCK2 &(&dev->odp_mkeys)->xa_lock
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/mlx5/odp.c get_prefetchable_mr() -> mlx5_base_mkey()

Type Parameter Key Value
DATA_SOURCE 0 key $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &(&dev->odp_mkeys)->xa_lock

drivers/infiniband/hw/mlx5/odp.c implicit_get_child_mr() -> mlx5_base_mkey()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &(&imr->implicit_children)->xa_lock
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/mlx5/odp.c mkey_is_eq() -> mlx5_base_mkey()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 &(&dev->odp_mkeys)->xa_lock
LOCK2 &pool->lock

drivers/infiniband/hw/mlx5/odp.c mkey_is_eq() -> mlx5_base_mkey()

Type Parameter Key Value
DATA_SOURCE 0 key $1
PREEMPT_ADD
LOCK2 &(&dev->odp_mkeys)->xa_lock
LOCK2 &pool->lock

drivers/infiniband/hw/mlx5/odp.c mlx5_ib_free_odp_mr() -> mlx5_base_mkey()

Type Parameter Key Value
PARAM_VALUE 0 key 1-u32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->data_direct_lock

drivers/infiniband/hw/mlx5/odp.c mlx5r_store_odp_mkey() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/cq.c mlx5_poll_one() -> mlx5_base_mkey()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &(&dev->sig_mrs)->xa_lock
LOCK2 &cq->lock
LOCK2 flags
TYPE_LOCK (struct mlx5_ib_cq)->lock

drivers/infiniband/hw/mlx5/devx.c devx_obj_cleanup() -> mlx5_base_mkey()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/devx.c mlx5r_store_odp_mkey() -> mlx5_base_mkey()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/mr.c __mlx5_ib_dereg_mr() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->data_direct_lock

drivers/infiniband/hw/mlx5/mr.c __mlx5_ib_dereg_mr() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->data_direct_lock

drivers/infiniband/hw/mlx5/mr.c destroy_mkey() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/mr.c mlx5_alloc_integrity_descs() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 &iser_conn->state_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/infiniband/hw/mlx5/mr.c mlx5_ib_dealloc_mw() -> mlx5_base_mkey()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/mr.c mlx5r_store_odp_mkey() -> mlx5_base_mkey()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING