Lines Matching +full:tf +full:- +full:a

4  * Permission is hereby granted, free of charge, to any person obtaining a
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
41 __init_waitqueue_head(&fence->wait, name, key); in __onstack_fence_init()
42 atomic_set(&fence->pending, 1); in __onstack_fence_init()
43 fence->error = 0; in __onstack_fence_init()
44 fence->fn = nop_fence_notify; in __onstack_fence_init()
49 if (!fence->fn) in onstack_fence_fini()
58 struct timed_fence *tf = from_timer(tf, t, timer); in timed_fence_wake() local
60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
65 onstack_fence_init(&tf->fence); in timed_fence_init()
67 timer_setup_on_stack(&tf->timer, timed_fence_wake, 0); in timed_fence_init()
70 mod_timer(&tf->timer, expires); in timed_fence_init()
72 i915_sw_fence_commit(&tf->fence); in timed_fence_init()
75 void timed_fence_fini(struct timed_fence *tf) in timed_fence_fini() argument
77 if (del_timer_sync(&tf->timer)) in timed_fence_fini()
78 i915_sw_fence_commit(&tf->fence); in timed_fence_fini()
80 destroy_timer_on_stack(&tf->timer); in timed_fence_fini()
81 i915_sw_fence_fini(&tf->fence); in timed_fence_fini()
102 heap_fence_put(&h->fence); in heap_fence_notify()
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()
126 i915_sw_fence_fini(&h->fence); in heap_fence_release()
135 kref_put(&h->ref, heap_fence_release); in heap_fence_put()