Lines Matching defs:bound
944 unsigned int bound;
946 bound = atomic_read(&vma->flags);
951 return (flags & bound) == flags;
957 if (unlikely(flags & ~bound))
960 if (unlikely(bound & (I915_VMA_OVERFLOW | I915_VMA_ERROR)))
963 GEM_BUG_ON(((bound + 1) & I915_VMA_PIN_MASK) == 0);
964 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1));
1384 * Before we release the pages that were bound by this vma, we
1441 unsigned int bound;
1538 bound = atomic_read(&vma->flags);
1539 if (unlikely(bound & I915_VMA_ERROR)) {
1544 if (unlikely(!((bound + 1) & I915_VMA_PIN_MASK))) {
1549 if (unlikely(!(flags & ~bound & I915_VMA_BIND_MASK))) {
1559 if (!(bound & I915_VMA_BIND_MASK)) {
1577 GEM_BUG_ON(bound + I915_VMA_PAGES_ACTIVE < bound);
1962 /* Wait for the vma to be bound before we start! */