Lines Matching refs:bo
259 struct ttm_buffer_object *bo; member
291 static inline void ttm_bo_get(struct ttm_buffer_object *bo) in ttm_bo_get() argument
293 kref_get(&bo->kref); in ttm_bo_get()
307 ttm_bo_get_unless_zero(struct ttm_buffer_object *bo) in ttm_bo_get_unless_zero() argument
309 if (!kref_get_unless_zero(&bo->kref)) in ttm_bo_get_unless_zero()
311 return bo; in ttm_bo_get_unless_zero()
328 int ttm_bo_wait(struct ttm_buffer_object *bo, bool interruptible, bool no_wait);
357 int ttm_bo_validate(struct ttm_buffer_object *bo,
368 void ttm_bo_put(struct ttm_buffer_object *bo);
380 void ttm_bo_add_to_lru(struct ttm_buffer_object *bo);
392 void ttm_bo_del_from_lru(struct ttm_buffer_object *bo);
404 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo,
441 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
458 int ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait);
467 void ttm_bo_synccpu_write_release(struct ttm_buffer_object *bo);
521 struct ttm_buffer_object *bo,
569 int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
700 int ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page,
722 int ttm_fbdev_mmap(struct vm_area_struct *vma, struct ttm_buffer_object *bo);
768 int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo);
784 static inline bool ttm_bo_uses_embedded_gem_object(struct ttm_buffer_object *bo) in ttm_bo_uses_embedded_gem_object() argument
786 return bo->base.dev != NULL; in ttm_bo_uses_embedded_gem_object()