Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/ttm/ttm_resource.c ttm_bulk_move_drop_cursors() -> ttm_resource_cursor_clear_bulk()

Type Parameter Key Value
PARAM_VALUE 0 cursor 4096-ptr_max
CAPPED_DATA 0 &cursor->bulk_link 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bdev->lru_lock
TYPE_LOCK (struct ttm_device)->lru_lock

drivers/gpu/drm/ttm/ttm_resource.c ttm_resource_cursor_fini() -> ttm_resource_cursor_clear_bulk()

Type Parameter Key Value
PARAM_VALUE 0 cursor 3761922248189345792,5116035797458120704,5343824474183938048
PARAM_VALUE 0 cursor->hitch.link.next->prev 4096-ptr_max
PARAM_VALUE 0 cursor->hitch.link.prev->next 4096-ptr_max
PARAM_VALUE 0 cursor->man 4096-ptr_max
DATA_SOURCE 0 cursor $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bdev->lru_lock
HALF_LOCKED2 lru_lock

drivers/gpu/drm/ttm/ttm_resource.c ttm_resource_cursor_move_bulk_tail() -> ttm_resource_cursor_clear_bulk()

Type Parameter Key Value
PARAM_VALUE 0 cursor 4096-ptr_max
PARAM_VALUE 0 cursor->bulk 4096-ptr_max
PARAM_VALUE 0 cursor->man 4096-ptr_max
CAPPED_DATA 0 cursor->bulk 1
DATA_SOURCE 0 cursor $1
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 &(&vm->svm.gpusvm)->notifier_lock
HALF_LOCKED2 &adev->mman.bdev.lru_lock
HALF_LOCKED2 &adev->notifier_lock
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 &vm->xe->ttm.lru_lock
TYPE_LOCK (struct ttm_device)->lru_lock

drivers/gpu/drm/ttm/ttm_resource.c ttm_resource_manager_next() -> ttm_resource_cursor_clear_bulk()

Type Parameter Key Value
PARAM_VALUE 0 cursor 3761922248189345792,5116035797458120704,5343824474183938048
PARAM_VALUE 0 cursor->hitch.link.next 4096-ptr_max
PARAM_VALUE 0 cursor->hitch.link.prev 4096-ptr_max
PARAM_VALUE 0 cursor->man 4096-ptr_max
PARAM_VALUE 0 cursor->man->lru 4096-ptr_max
PARAM_VALUE 0 cursor->priority 0-3
DATA_SOURCE 0 cursor $0
HARD_MAX 0 cursor->priority 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 lru_lock