Lines Matching refs:bound
910 unsigned int bound; in try_qad_pin() local
912 bound = atomic_read(&vma->flags); in try_qad_pin()
917 return (flags & bound) == flags; in try_qad_pin()
923 if (unlikely(flags & ~bound)) in try_qad_pin()
926 if (unlikely(bound & (I915_VMA_OVERFLOW | I915_VMA_ERROR))) in try_qad_pin()
929 GEM_BUG_ON(((bound + 1) & I915_VMA_PIN_MASK) == 0); in try_qad_pin()
930 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)); in try_qad_pin()
1407 unsigned int bound; in i915_vma_pin_ww() local
1498 bound = atomic_read(&vma->flags); in i915_vma_pin_ww()
1499 if (unlikely(bound & I915_VMA_ERROR)) { in i915_vma_pin_ww()
1504 if (unlikely(!((bound + 1) & I915_VMA_PIN_MASK))) { in i915_vma_pin_ww()
1509 if (unlikely(!(flags & ~bound & I915_VMA_BIND_MASK))) { in i915_vma_pin_ww()
1519 if (!(bound & I915_VMA_BIND_MASK)) { in i915_vma_pin_ww()
1537 GEM_BUG_ON(bound + I915_VMA_PAGES_ACTIVE < bound); in i915_vma_pin_ww()