Lines Matching defs:ref
86 static inline struct i915_vma *active_to_vma(struct i915_active *ref)
88 return container_of(ref, typeof(struct i915_vma), active);
91 static int __i915_vma_active(struct i915_active *ref)
93 return i915_vma_tryget(active_to_vma(ref)) ? 0 : -ENOENT;
97 static void __i915_vma_retire(struct i915_active *ref)
99 i915_vma_put(active_to_vma(ref));
118 kref_init(&vma->ref);
1096 void i915_vma_release(struct kref *ref)
1098 struct i915_vma *vma = container_of(ref, typeof(*vma), ref);