···712712713713extern void ttm_bo_swapout_all(struct ttm_bo_device *bdev);714714715715-/**716716- * ttm_bo_is_reserved - return an indication if a ttm buffer object is reserved717717- *718718- * @bo: The buffer object to check.719719- *720720- * This function returns an indication if a bo is reserved or not, and should721721- * only be used to print an error when it is not from incorrect api usage, since722722- * there's no guarantee that it is the caller that is holding the reservation.723723- */724724-static inline bool ttm_bo_is_reserved(struct ttm_buffer_object *bo)725725-{726726- return ww_mutex_is_locked(&bo->resv->lock);727727-}728728-729715#endif