Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/accel/amdxdna/amdxdna_gem.c amdxdna_drm_sync_bo_ioctl() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 4096-ptr_max
PARAM_VALUE 0 abo->base.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 abo->base.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 0 abo->base.base.resv->lock.ctx 0
PARAM_VALUE 0 abo->base.pages 16,4096-ptr_max
PARAM_VALUE 0 abo->base.pages_pin_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 abo->base.pages_use_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 abo->lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 abo->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 abo->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 abo->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 abo->type 0-2,4-255
CAPPED_DATA 0 abo->mem.size 1
DATA_SOURCE 0 abo r to_xdna_obj
NOCHECK_CALL

drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_dev_obj_free() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 4096-ptr_max
PARAM_VALUE 0 abo->pinned 1
DATA_SOURCE 0 abo r to_xdna_obj
NOCHECK_CALL

drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_obj_free() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 4096-ptr_max
PARAM_VALUE 0 abo->pinned 1
DATA_SOURCE 0 abo r to_xdna_obj
NOCHECK_CALL

drivers/accel/amdxdna/amdxdna_ctx.c amdxdna_hwctx_expand_heap() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 4096-ptr_max
PARAM_VALUE 0 abo->lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 abo->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 abo->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 abo->lock.osq.tail.counter 0-s32max
NOCHECK_CALL
LOCK2 &client->mm_lock
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdxdna_client)->mm_lock

drivers/accel/amdxdna/amdxdna_ctx.c amdxdna_hwctx_release_expanded_heap() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &client->mm_lock
HALF_LOCKED2 &xdna->client_lock
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdxdna_client)->mm_lock

drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_fini() -> amdxdna_gem_unpin()

Type Parameter Key Value
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &xdna->client_lock
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_init() -> amdxdna_gem_unpin()

Type Parameter Key Value
PARAM_VALUE 0 abo 4096-ptr_max
PARAM_VALUE 0 abo->base.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 abo->base.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 abo->base.base.resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 0 abo->base.base.resv->lock.ctx 0
PARAM_VALUE 0 abo->base.pages 16,4096-ptr_max
PARAM_VALUE 0 abo->base.pages_pin_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 abo->base.pages_use_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 abo->lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 abo->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 abo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 abo->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 abo->lock.osq.tail.counter 0-s32max
DATA_SOURCE 0 abo r xa_load
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 global &drm_unplug_srcu