Lines Matching refs:ttm_buffer_object

101 struct ttm_buffer_object {  struct
110 void (*destroy) (struct ttm_buffer_object *); argument
164 struct ttm_buffer_object *bo;
208 s64 (*process_bo)(struct ttm_lru_walk *walk, struct ttm_buffer_object *bo);
242 long ttm_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo,
245 bool ttm_bo_shrink_suitable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx);
254 static inline void ttm_bo_get(struct ttm_buffer_object *bo) in ttm_bo_get()
269 static inline __must_check struct ttm_buffer_object *
270 ttm_bo_get_unless_zero(struct ttm_buffer_object *bo) in ttm_bo_get_unless_zero()
299 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve()
334 static inline int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath()
349 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo);
352 ttm_bo_move_to_lru_tail_unlocked(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail_unlocked()
359 static inline void ttm_bo_assign_mem(struct ttm_buffer_object *bo, in ttm_bo_assign_mem()
373 static inline void ttm_bo_move_null(struct ttm_buffer_object *bo, in ttm_bo_move_null()
387 static inline void ttm_bo_unreserve(struct ttm_buffer_object *bo) in ttm_bo_unreserve()
411 int ttm_bo_wait_ctx(struct ttm_buffer_object *bo,
413 int ttm_bo_validate(struct ttm_buffer_object *bo,
416 void ttm_bo_put(struct ttm_buffer_object *bo);
417 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo,
419 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
421 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo,
425 void (*destroy)(struct ttm_buffer_object *));
426 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo,
430 void (*destroy)(struct ttm_buffer_object *));
431 int ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page,
434 int ttm_bo_vmap(struct ttm_buffer_object *bo, struct iosys_map *map);
435 void ttm_bo_vunmap(struct ttm_buffer_object *bo, struct iosys_map *map);
436 int ttm_bo_mmap_obj(struct vm_area_struct *vma, struct ttm_buffer_object *bo);
440 void ttm_bo_pin(struct ttm_buffer_object *bo);
441 void ttm_bo_unpin(struct ttm_buffer_object *bo);
445 int ttm_bo_access(struct ttm_buffer_object *bo, unsigned long offset,
447 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo,
459 int ttm_bo_mem_space(struct ttm_buffer_object *bo,
464 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo);
475 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
478 int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,
482 void ttm_bo_move_sync_cleanup(struct ttm_buffer_object *bo,
484 int ttm_bo_pipeline_gutting(struct ttm_buffer_object *bo);
485 pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
487 void ttm_bo_tt_destroy(struct ttm_buffer_object *bo);
488 int ttm_bo_populate(struct ttm_buffer_object *bo,
508 struct ttm_buffer_object *bo;
523 struct ttm_buffer_object *ttm_bo_lru_cursor_first(struct ttm_bo_lru_cursor *curs);
525 struct ttm_buffer_object *ttm_bo_lru_cursor_next(struct ttm_bo_lru_cursor *curs);