Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_alloc_ucontext() -> erdma_user_mmap_entry_insert()

Type Parameter Key Value
PARAM_VALUE 0 uctx 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.dep_map->name 0-255
PARAM_VALUE 0 uctx->dbrecords_page_mutex.first_waiter 0
PARAM_VALUE 0 uctx->dbrecords_page_mutex.magic 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.owner.counter 0
PARAM_VALUE 0 uctx->ext_db.enable 1
PARAM_VALUE 2 size 4096
PARAM_VALUE 3 mmap_flag 0
PARAM_VALUE 4 mmap_offset 5265619463653445648
PARAM_VALUE 4 *mmap_offset 0
DATA_SOURCE 0 uctx r to_ectx
UNITS 1 address unit_byte
UNITS 2 size 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/erdma/erdma_verbs.c erdma_alloc_ucontext() -> erdma_user_mmap_entry_insert()

Type Parameter Key Value
PARAM_VALUE 0 uctx 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.dep_map->name 0-255
PARAM_VALUE 0 uctx->dbrecords_page_mutex.first_waiter 0
PARAM_VALUE 0 uctx->dbrecords_page_mutex.magic 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.owner.counter 0
PARAM_VALUE 0 uctx->ext_db.enable 1
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.dep_map->name 0-255
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 uctx->sq_db_mmap_entry 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs.next 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs.prev 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs_lock.magic 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->npages 0-u32max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->ref.refcount.refs.counter 1
PARAM_VALUE 0 uctx->sq_db_mmap_entry->start_pgoff 0-u32max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->ucontext 4096-ptr_max
PARAM_VALUE 2 size 4096
PARAM_VALUE 3 mmap_flag 0
PARAM_VALUE 4 mmap_offset 5265619463653445656
PARAM_VALUE 4 *mmap_offset 0
BUF_SIZE 0 uctx->sq_db_mmap_entry 208
DATA_SOURCE 0 uctx r to_ectx
NO_OVERFLOW_SIMPLE 0 uctx->sq_db_mmap_entry->rdma_entry.start_pgoff
UNITS 1 address unit_byte
UNITS 2 size 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/erdma/erdma_verbs.c erdma_alloc_ucontext() -> erdma_user_mmap_entry_insert()

Type Parameter Key Value
PARAM_VALUE 0 uctx 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.next->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->next 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.dep_map->name 0-255
PARAM_VALUE 0 uctx->dbrecords_page_mutex.first_waiter 0
PARAM_VALUE 0 uctx->dbrecords_page_mutex.magic 4096-ptr_max
PARAM_VALUE 0 uctx->dbrecords_page_mutex.owner.counter 0
PARAM_VALUE 0 uctx->ext_db.enable 1
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.dep_map->name 0-255
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 uctx->ibucontext.ufile->umap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 uctx->rq_db_mmap_entry 4096-ptr_max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->dmabufs.next 4096-ptr_max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->dmabufs.prev 4096-ptr_max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->dmabufs_lock.magic 4096-ptr_max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->npages 0-u32max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->ref.refcount.refs.counter 1
PARAM_VALUE 0 uctx->rq_db_mmap_entry->start_pgoff 0-u32max
PARAM_VALUE 0 uctx->rq_db_mmap_entry->ucontext 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs.next 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs.prev 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->dmabufs_lock.magic 4096-ptr_max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->npages 0-u32max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->ref.refcount.refs.counter 1
PARAM_VALUE 0 uctx->sq_db_mmap_entry->start_pgoff 0-u32max
PARAM_VALUE 0 uctx->sq_db_mmap_entry->ucontext 4096-ptr_max
PARAM_VALUE 2 size 4096
PARAM_VALUE 3 mmap_flag 0
PARAM_VALUE 4 mmap_offset 5265619463653445664
PARAM_VALUE 4 *mmap_offset 0
BUF_SIZE 0 uctx->rq_db_mmap_entry 208
BUF_SIZE 0 uctx->sq_db_mmap_entry 208
DATA_SOURCE 0 uctx r to_ectx
NO_OVERFLOW_SIMPLE 0 uctx->rq_db_mmap_entry->rdma_entry.start_pgoff
NO_OVERFLOW_SIMPLE 0 uctx->sq_db_mmap_entry->rdma_entry.start_pgoff
UNITS 1 address unit_byte
UNITS 2 size 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