• Home
  • Raw
  • Download

Lines Matching refs:bo

68 	struct ttm_tt *(*ttm_tt_create)(struct ttm_buffer_object *bo,
138 bool (*eviction_valuable)(struct ttm_buffer_object *bo,
150 void (*evict_flags)(struct ttm_buffer_object *bo,
164 int (*move)(struct ttm_buffer_object *bo, bool evict,
180 int (*verify_access)(struct ttm_buffer_object *bo,
190 void (*move_notify)(struct ttm_buffer_object *bo,
195 int (*fault_reserve_notify)(struct ttm_buffer_object *bo);
200 void (*swap_notify)(struct ttm_buffer_object *bo);
219 unsigned long (*io_mem_pfn)(struct ttm_buffer_object *bo,
236 int (*access_memory)(struct ttm_buffer_object *bo, unsigned long offset,
246 void (*del_from_lru_notify)(struct ttm_buffer_object *bo);
256 void (*release_notify)(struct ttm_buffer_object *bo);
419 int ttm_bo_mem_space(struct ttm_buffer_object *bo,
453 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo);
462 void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo);
486 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve() argument
497 success = dma_resv_trylock(bo->base.resv); in ttm_bo_reserve()
502 ret = dma_resv_lock_interruptible(bo->base.resv, ticket); in ttm_bo_reserve()
504 ret = dma_resv_lock(bo->base.resv, ticket); in ttm_bo_reserve()
520 static inline int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath() argument
525 int ret = dma_resv_lock_slow_interruptible(bo->base.resv, in ttm_bo_reserve_slowpath()
531 dma_resv_lock_slow(bo->base.resv, ticket); in ttm_bo_reserve_slowpath()
535 static inline void ttm_bo_move_to_lru_tail_unlocked(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail_unlocked() argument
538 ttm_bo_move_to_lru_tail(bo, NULL); in ttm_bo_move_to_lru_tail_unlocked()
542 static inline void ttm_bo_assign_mem(struct ttm_buffer_object *bo, in ttm_bo_assign_mem() argument
545 bo->mem = *new_mem; in ttm_bo_assign_mem()
556 static inline void ttm_bo_move_null(struct ttm_buffer_object *bo, in ttm_bo_move_null() argument
559 struct ttm_resource *old_mem = &bo->mem; in ttm_bo_move_null()
562 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_null()
572 static inline void ttm_bo_unreserve(struct ttm_buffer_object *bo) in ttm_bo_unreserve() argument
574 ttm_bo_move_to_lru_tail_unlocked(bo); in ttm_bo_unreserve()
575 dma_resv_unlock(bo->base.resv); in ttm_bo_unreserve()
604 int ttm_bo_move_ttm(struct ttm_buffer_object *bo,
626 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
637 void ttm_bo_free_old_node(struct ttm_buffer_object *bo);
655 int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,
667 int ttm_bo_pipeline_gutting(struct ttm_buffer_object *bo);
685 int ttm_bo_tt_bind(struct ttm_buffer_object *bo, struct ttm_resource *mem);
692 void ttm_bo_tt_unbind(struct ttm_buffer_object *bo);
697 void ttm_bo_tt_destroy(struct ttm_buffer_object *bo);