Lines Matching refs:h
95 struct heap_fence *h = container_of(fence, typeof(*h), fence); in heap_fence_notify() local
102 heap_fence_put(&h->fence); in heap_fence_notify()
110 struct heap_fence *h; in heap_fence_create() local
112 h = kmalloc(sizeof(*h), gfp); in heap_fence_create()
113 if (!h) in heap_fence_create()
116 i915_sw_fence_init(&h->fence, heap_fence_notify); in heap_fence_create()
117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
119 return &h->fence; in heap_fence_create()
124 struct heap_fence *h = container_of(ref, typeof(*h), ref); in heap_fence_release() local
126 i915_sw_fence_fini(&h->fence); in heap_fence_release()
128 kfree_rcu(h, rcu); in heap_fence_release()
133 struct heap_fence *h = container_of(fence, typeof(*h), fence); in heap_fence_put() local
135 kref_put(&h->ref, heap_fence_release); in heap_fence_put()