Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_alloc_ucontext() -> to_ionic_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ibctx 4096-ptr_max
DATA_SOURCE 0 ibctx $0
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/ionic/ionic_controlpath.c ionic_dealloc_ucontext() -> to_ionic_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ibctx 4096-ptr_max
DATA_SOURCE 0 ibctx $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_mmap() -> to_ionic_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ibctx 4096-ptr_max
DATA_SOURCE 0 ibctx $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &file->device->disassociate_srcu
LOCK2 &file->disassociation_lock
HALF_LOCKED2 &ipcp->lock
TYPE_LOCK (struct ib_uverbs_device)->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_file)->disassociation_lock

drivers/infiniband/hw/ionic/ionic_controlpath.c to_ionic_ctx_uobj() -> to_ionic_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ibctx 1-u64max
RX_PATH
TASK_NOT_RUNNING