Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/hns/hns_roce_main.c hns_roce_user_mmap_entry_insert() -> rdma_user_mmap_entry_insert_exact()

Type Parameter Key Value
PARAM_VALUE 0 ucontext 4096-ptr_max
PARAM_VALUE 0 ucontext->cg_obj.cg 4096-ptr_max
PARAM_VALUE 0 ucontext->device 4096-ptr_max
PARAM_VALUE 0 ucontext->device->cg_device.rpools.prev 4096-ptr_max
PARAM_VALUE 0 ucontext->device->cg_device.rpools.prev->next 4096-ptr_max
PARAM_VALUE 0 ucontext->device->cg_device.rpools.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ucontext->device->cg_device.rpools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ucontext->mmap_xa.xa_flags 33554436
PARAM_VALUE 0 ucontext->mmap_xa.xa_head 0
PARAM_VALUE 0 ucontext->res.comp.done 0
PARAM_VALUE 0 ucontext->res.comp.wait.lock.magic 3735899821
PARAM_VALUE 0 ucontext->res.comp.wait.lock.owner (-1)
PARAM_VALUE 0 ucontext->res.comp.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ucontext->res.comp.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ucontext->res.comp.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ucontext->res.kref.refcount.refs.counter 1
PARAM_VALUE 0 ucontext->res.type 5
PARAM_VALUE 0 ucontext->res.user 1
PARAM_VALUE 0 ucontext->ufile 4096-ptr_max
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 2 length 4096
PARAM_VALUE 3 pgoff 0
DATA_SOURCE 0 ucontext $0
DATA_SOURCE 2 length $2
RX_PATH
UNITS 2 length unit_byte
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/bnxt_re/ib_verbs.c bnxt_re_mmap_entry_insert() -> rdma_user_mmap_entry_insert_exact()

Type Parameter Key Value
PARAM_VALUE 0 ucontext 4096-ptr_max
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 2 length 4096
PARAM_VALUE 3 pgoff 0
RX_PATH
UNITS 2 length unit_byte
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