Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/infiniband/core/ib_core_uverbs.c rdma_user_mmap_entry_get() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get_pgoff
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/hns/hns_roce_main.c hns_roce_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get_pgoff
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/bnxt_re/ib_verbs.c bnxt_re_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/erdma/erdma_verbs.c erdma_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/sw/siw/siw_verbs.c siw_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/efa/efa_verbs.c __efa_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/core/uverbs_std_types_dmabuf.c ib_uverbs_handler_UVERBS_METHOD_DMABUF_ALLOC() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->dmabufs.prev 4096-ptr_max
PARAM_VALUE 0 entry->dmabufs.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->dmabufs.prev->next->next 4096-ptr_max
PARAM_VALUE 0 entry->dmabufs_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 entry->dmabufs_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 entry->dmabufs_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->driver_removed 1
CAPPED_DATA 0 entry->start_pgoff 1
CAPPED_DATA 0 &entry->dmabufs_lock 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_std_types_dmabuf.c uverbs_dmabuf_fd_destroy_uobj() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->dmabufs_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 entry->dmabufs_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 entry->dmabufs_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 entry->dmabufs_lock.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &entry->dmabufs_lock 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_main.c rdma_umap_close() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ufile->umap_lock
TYPE_LOCK (struct ib_uverbs_file)->umap_lock

drivers/infiniband/core/uverbs_main.c uverbs_user_mmap_disassociate() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ufile->disassociation_lock
LOCK2 &ufile->umap_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
HALF_LOCKED2 &uverbs_dev->lists_mutex
TYPE_LOCK (struct ib_uverbs_file)->disassociation_lock
TYPE_LOCK (struct ib_uverbs_file)->umap_lock

drivers/infiniband/core/uverbs_main.c uverbs_user_mmap_disassociate() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &ufile->disassociation_lock
LOCK2 &ufile->umap_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
HALF_LOCKED2 &uverbs_dev->lists_mutex
TYPE_LOCK (struct ib_uverbs_file)->disassociation_lock
TYPE_LOCK (struct ib_uverbs_file)->umap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/infiniband/hw/mlx5/main.c mlx5_ib_mmap_offset() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 ionic_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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 ionic_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/irdma/verbs.c irdma_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/qedr/verbs.c qedr_mmap() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->driver_removed 0
PARAM_VALUE 0 entry->start_pgoff 0-u32max
CAPPED_DATA 0 entry->start_pgoff 1
DATA_SOURCE 0 entry r rdma_user_mmap_entry_get
NOSPEC 0 entry->start_pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 entry->start_pgoff 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 entry->start_pgoff
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/bnxt_re/uapi.c bnxt_re_handler_BNXT_RE_METHOD_GET_TOGGLE_MEM() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->ref.refcount.refs.counter (-1073741824)
NOCHECK_CALL

drivers/infiniband/hw/bnxt_re/uapi.c get_toggle_mem_obj_cleanup() -> rdma_user_mmap_entry_put()

Type Parameter Key Value
NOCHECK_CALL