Lines Matching refs:ttm_buffer_object
118 struct ttm_buffer_object { struct
128 void (*destroy) (struct ttm_buffer_object *); argument
190 struct ttm_buffer_object *bo;
223 static inline void ttm_bo_get(struct ttm_buffer_object *bo) in ttm_bo_get()
238 static inline __must_check struct ttm_buffer_object *
239 ttm_bo_get_unless_zero(struct ttm_buffer_object *bo) in ttm_bo_get_unless_zero()
260 int ttm_bo_wait(struct ttm_buffer_object *bo, bool interruptible, bool no_wait);
262 static inline int ttm_bo_wait_ctx(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) in ttm_bo_wait_ctx()
282 int ttm_bo_validate(struct ttm_buffer_object *bo,
293 void ttm_bo_put(struct ttm_buffer_object *bo);
306 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo,
344 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
383 struct ttm_buffer_object *bo,
389 void (*destroy) (struct ttm_buffer_object *));
428 int ttm_bo_init(struct ttm_device *bdev, struct ttm_buffer_object *bo,
433 void (*destroy) (struct ttm_buffer_object *));
469 int ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page,
495 int ttm_bo_vmap(struct ttm_buffer_object *bo, struct dma_buf_map *map);
505 void ttm_bo_vunmap(struct ttm_buffer_object *bo, struct dma_buf_map *map);
515 int ttm_bo_mmap_obj(struct vm_area_struct *vma, struct ttm_buffer_object *bo);
541 int ttm_bo_swapout(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx,
550 static inline void ttm_bo_pin(struct ttm_buffer_object *bo) in ttm_bo_pin()
563 static inline void ttm_bo_unpin(struct ttm_buffer_object *bo) in ttm_bo_unpin()
582 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo,