Lines Matching refs:bo

181 	 * @bo: Pointer to the buffer object we're allocating space for.
205 struct ttm_buffer_object *bo,
374 * @bo: the buffer object to be evicted
376 * Return the bo flags for a buffer which is not mapped to the hardware.
378 * finished, they'll end up in bo->mem.flags
381 void(*evict_flags) (struct ttm_buffer_object *bo,
386 * @bo: the buffer to move
396 int (*move) (struct ttm_buffer_object *bo,
404 * @bo: Pointer to a buffer object.
414 int (*verify_access) (struct ttm_buffer_object *bo);
421 * fences directly. The bo driver needs the following functionality:
435 void (*move_notify)(struct ttm_buffer_object *bo,
439 int (*fault_reserve_notify)(struct ttm_buffer_object *bo);
442 * notify the driver that we're about to swap out this bo
444 void (*swap_notify) (struct ttm_buffer_object *bo);
474 * @lru_lock: Spinlock protecting the bo subsystem lru lists.
534 * Constant after bo device init / atomic.
702 * @bo: Pointer to a struct ttm_buffer_object. the data of which
709 * Allocate memory space for the buffer object pointed to by @bo, using
718 extern int ttm_bo_mem_space(struct ttm_buffer_object *bo,
724 extern void ttm_bo_mem_put(struct ttm_buffer_object *bo,
726 extern void ttm_bo_mem_put_locked(struct ttm_buffer_object *bo,
756 * @bo: tear down the virtual mappings for this BO
758 extern void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo);
763 * @bo: tear down the virtual mappings for this BO
767 extern void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo);
769 extern int ttm_mem_io_reserve_vm(struct ttm_buffer_object *bo);
770 extern void ttm_mem_io_free_vm(struct ttm_buffer_object *bo);
779 * @bo: A pointer to a struct ttm_buffer_object.
782 * @use_sequence: If @bo is already reserved, Only sleep waiting for
783 * it to become unreserved if @sequence < (@bo)->sequence.
806 * release all its buffer reservations, wait for @bo to become unreserved, and
813 * Release all buffer reservations, wait for @bo to become unreserved and
821 extern int ttm_bo_reserve(struct ttm_buffer_object *bo,
827 * @bo: A pointer to a struct ttm_buffer_object.
829 * @sequence: Set (@bo)->sequence to this value after lock
838 extern int ttm_bo_reserve_slowpath_nolru(struct ttm_buffer_object *bo,
845 * @bo: A pointer to a struct ttm_buffer_object.
847 * @sequence: Set (@bo)->sequence to this value after lock
853 extern int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo,
859 * @bo: A pointer to a struct ttm_buffer_object.
862 * @use_sequence: If @bo is already reserved, Only sleep waiting for
863 * it to become unreserved if @sequence < (@bo)->sequence.
870 * Release all buffer reservations, wait for @bo to become unreserved and
878 extern int ttm_bo_reserve_nolru(struct ttm_buffer_object *bo,
886 * @bo: A pointer to a struct ttm_buffer_object.
888 * Unreserve a previous reservation of @bo.
890 extern void ttm_bo_unreserve(struct ttm_buffer_object *bo);
895 * @bo: A pointer to a struct ttm_buffer_object.
897 * Unreserve a previous reservation of @bo.
900 extern void ttm_bo_unreserve_locked(struct ttm_buffer_object *bo);
909 * @bo: A pointer to a struct ttm_buffer_object.
917 * and update the (@bo)->mem placement flags. If unsuccessful, the old
924 extern int ttm_bo_move_ttm(struct ttm_buffer_object *bo,
931 * @bo: A pointer to a struct ttm_buffer_object.
939 * and update the (@bo)->mem placement flags. If unsuccessful, the old
946 extern int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
953 * @bo: A pointer to a struct ttm_buffer_object.
957 extern void ttm_bo_free_old_node(struct ttm_buffer_object *bo);
962 * @bo: A pointer to a struct ttm_buffer_object.
976 extern int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,