Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/main.c mlx5_ib_alloc_ucontext() -> mlx5_ib_devx_create()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ib_active 1
PARAM_VALUE 1 is_user 1
DATA_SOURCE 0 dev r to_mdev
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_devx_init() -> mlx5_ib_devx_create()

Type Parameter Key Value
PARAM_VALUE 1 is_user 0
PARAM_VALUE 2 req_ucaps 0
DATA_SOURCE 0 dev $0