Searched refs:wasted (Results 1 – 3 of 3) sorted by relevance
155 unsigned soffset, eoffset, wasted; in amdgpu_sa_bo_try_alloc() local159 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc()161 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_bo_try_alloc()162 soffset += wasted; in amdgpu_sa_bo_try_alloc()188 unsigned soffset, eoffset, wasted; in amdgpu_sa_event() local197 wasted = (align - (soffset % align)) % align; in amdgpu_sa_event()199 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_event()
194 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc()200 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_bo_try_alloc()201 soffset += wasted; in radeon_sa_bo_try_alloc()227 unsigned soffset, eoffset, wasted; in radeon_sa_event() local238 wasted = (align - (soffset % align)) % align; in radeon_sa_event()240 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_event()
9 wasted resource.