Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/tegra/gem.c tegra_bo_alloc() -> tegra_bo_iommu_map()

Type Parameter Key Value
PARAM_VALUE 0 tegra 4096-ptr_max
PARAM_VALUE 0 tegra->domain 1-u64max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.mappings.next 4096-ptr_max
PARAM_VALUE 1 bo->base.mappings.next->next 4096-ptr_max
PARAM_VALUE 1 bo->base.mappings.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.mappings.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->base.mappings.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->base.ops 709508036561268736
PARAM_VALUE 1 bo->base.ops->get 581983510805565440
PARAM_VALUE 1 bo->base.ops->mmap 1652028951534383104
PARAM_VALUE 1 bo->base.ops->munmap 5661815569191247872
PARAM_VALUE 1 bo->base.ops->pin 972483207328141312
PARAM_VALUE 1 bo->base.ops->put 7860947648984289280
PARAM_VALUE 1 bo->base.ops->unpin 1027656410493276160
PARAM_VALUE 1 bo->gem._resv.fences 0
PARAM_VALUE 1 bo->gem._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 1 bo->gem._resv.lock.base.first_waiter 0
PARAM_VALUE 1 bo->gem._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem._resv.lock.base.owner.counter 0
PARAM_VALUE 1 bo->gem._resv.lock.ctx 0
PARAM_VALUE 1 bo->gem._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.owner (-1)
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 bo->gem.filp 4096-ptr_max
PARAM_VALUE 1 bo->gem.funcs 1760598068160946176
PARAM_VALUE 1 bo->gem.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 1 bo->gem.gpuva.lock.first_waiter 0
PARAM_VALUE 1 bo->gem.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem.gpuva.lock.osq.tail.counter 0
PARAM_VALUE 1 bo->gem.gpuva.lock.owner.counter 0
PARAM_VALUE 1 bo->gem.handle_count 0
PARAM_VALUE 1 bo->gem.lru_node.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.next->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.refcount.refcount.refs.counter 1
PARAM_VALUE 1 bo->gem.resv 1-u64max
PARAM_VALUE 1 bo->gem.resv->fences 0
PARAM_VALUE 1 bo->gem.resv->lock.base.first_waiter 0
PARAM_VALUE 1 bo->gem.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem.resv->lock.base.owner.counter 0
PARAM_VALUE 1 bo->gem.resv->lock.ctx 0
PARAM_VALUE 1 bo->gem.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->gem.size 0-9223372036854775807
PARAM_VALUE 1 bo->gem.vma_node.driver_private 0
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.color 0
PARAM_VALUE 1 bo->gem.vma_node.vm_node.flags 0
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_size 0-1
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_addr.rb_node 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb.rb_left 0,4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb.rb_right 0,4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.subtree_max_hole 1
PARAM_VALUE 1 bo->num_pages 0-2251799813685247
PARAM_VALUE 1 bo->pages 16,4096-ptr_max
PARAM_VALUE 1 bo->sgt 4096-ptr_max
PARAM_VALUE 1 bo->sgt->nents 0-s32max
PARAM_VALUE 1 bo->sgt->sgl 0,16,4096-ptr_max
BUF_SIZE 0 tegra s32min-(-2),1-s32max
BUF_SIZE 0 tegra s32min-(-2),1-s32max
BUF_SIZE 1 bo 896
CAPPED_DATA 1 bo->pages 1
DATA_SOURCE 1 bo $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bo->gem.filp->f_flags 0-18433,32770
USER_DATA 1 bo->gem.filp->f_mode 33554432,34078720-571342855[c]
USER_DATA 1 bo->gem.size 0-9223372036854775807[c]
USER_DATA 1 bo->gem.vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 bo->gem.vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 bo->num_pages 0-2251799813685247[c]
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->num_crtcs
UNITS 0 tegra unit_byte
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &helper->lock

drivers/gpu/drm/tegra/gem.c tegra_bo_import() -> tegra_bo_iommu_map()

Type Parameter Key Value
PARAM_VALUE 0 tegra 4096-ptr_max
PARAM_VALUE 0 tegra->domain 1-u64max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.ops 709508036561268736
PARAM_VALUE 1 bo->base.ops->get 4096-ptr_max
PARAM_VALUE 1 bo->base.ops->mmap 1652028951534383104
PARAM_VALUE 1 bo->base.ops->munmap 5661815569191247872
PARAM_VALUE 1 bo->base.ops->pin 4096-ptr_max
PARAM_VALUE 1 bo->base.ops->put 7860947648984289280
PARAM_VALUE 1 bo->base.ops->unpin 1027656410493276160
PARAM_VALUE 1 bo->gem._resv.fences 0
PARAM_VALUE 1 bo->gem._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 1 bo->gem._resv.lock.base.first_waiter 0
PARAM_VALUE 1 bo->gem._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem._resv.lock.base.owner.counter 0
PARAM_VALUE 1 bo->gem._resv.lock.ctx 0
PARAM_VALUE 1 bo->gem._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 bo->gem._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager 4096-ptr_max
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.owner (-1)
PARAM_VALUE 1 bo->gem.dev->vma_offset_manager->vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->gem.filp 4096-ptr_max
PARAM_VALUE 1 bo->gem.funcs 1760598068160946176
PARAM_VALUE 1 bo->gem.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 1 bo->gem.gpuva.lock.first_waiter 0
PARAM_VALUE 1 bo->gem.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem.gpuva.lock.osq.tail.counter 0
PARAM_VALUE 1 bo->gem.gpuva.lock.owner.counter 0
PARAM_VALUE 1 bo->gem.handle_count 0
PARAM_VALUE 1 bo->gem.lru_node.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.next->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.refcount.refcount.refs.counter 1
PARAM_VALUE 1 bo->gem.resv 1-u64max
PARAM_VALUE 1 bo->gem.resv->fences 0
PARAM_VALUE 1 bo->gem.resv->lock.base.first_waiter 0
PARAM_VALUE 1 bo->gem.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->gem.resv->lock.base.owner.counter 0
PARAM_VALUE 1 bo->gem.resv->lock.ctx 0
PARAM_VALUE 1 bo->gem.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->gem.vma_node.driver_private 0
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 bo->gem.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.color 0
PARAM_VALUE 1 bo->gem.vma_node.vm_node.flags 0
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_size 0-1
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_addr.rb_node 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb.rb_left 0,4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb.rb_right 0,4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 1 bo->gem.vma_node.vm_node.subtree_max_hole 1
PARAM_VALUE 1 bo->sgt 4096-ptr_max
PARAM_VALUE 1 bo->sgt->nents 0
PARAM_VALUE 1 bo->sgt->orig_nents 0
BUF_SIZE 0 tegra s32min-(-2),1-s32max
BUF_SIZE 0 tegra s32min-(-2),1-s32max
BUF_SIZE 1 bo 896
DATA_SOURCE 1 bo r tegra_bo_alloc_object
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 bo->gem.dev->num_crtcs
UNITS 0 tegra unit_byte
LOCK2 &drm->object_name_lock
LOCK2 &file_priv->prime.lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock