Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_evict_first() -> ttm_bo_get_unless_zero()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->lru_lock
TYPE_LOCK (struct ttm_device)->lru_lock

drivers/gpu/drm/ttm/ttm_device.c ttm_device_clear_lru_dma_mappings() -> ttm_bo_get_unless_zero()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->lru_lock
TYPE_LOCK (struct ttm_device)->lru_lock

drivers/gpu/drm/ttm/ttm_bo_util.c __ttm_bo_lru_cursor_next() -> ttm_bo_get_unless_zero()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->base.resv 4096-ptr_max
PARAM_VALUE 0 bo->kref.refcount.refs.counter (-1073741824),0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 lru_lock
HALF_LOCKED2 0 bo->base.resv