Home
last modified time | relevance | path

Searched refs:retire (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_gt_requests.c64 struct intel_timeline *tl = xchg(&engine->retire, NULL); in engine_retire()
67 struct intel_timeline *next = xchg(&tl->retire, NULL); in engine_retire()
70 * Our goal here is to retire _idle_ timelines as soon as in engine_retire()
100 if (cmpxchg(&tl->retire, NULL, STUB)) /* already queued */ in add_retire()
104 first = READ_ONCE(engine->retire); in add_retire()
106 tl->retire = ptr_pack_bits(first, 1, 1); in add_retire()
107 while (!try_cmpxchg(&engine->retire, &first, tl)); in add_retire()
130 GEM_BUG_ON(engine->retire); in intel_engine_fini_retire()
H A Dintel_timeline_types.h71 struct intel_timeline *retire; member
H A Dintel_engine_types.h482 struct intel_timeline *retire; member
H A Dintel_timeline.c291 GEM_BUG_ON(timeline->retire); in intel_timeline_fini()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_gt_requests.c64 struct intel_timeline *tl = xchg(&engine->retire, NULL); in engine_retire()
67 struct intel_timeline *next = xchg(&tl->retire, NULL); in engine_retire()
70 * Our goal here is to retire _idle_ timelines as soon as in engine_retire()
100 if (cmpxchg(&tl->retire, NULL, STUB)) /* already queued */ in add_retire()
104 first = READ_ONCE(engine->retire); in add_retire()
106 tl->retire = ptr_pack_bits(first, 1, 1); in add_retire()
107 while (!try_cmpxchg(&engine->retire, &first, tl)); in add_retire()
130 GEM_BUG_ON(engine->retire); in intel_engine_fini_retire()
H A Dintel_timeline_types.h70 struct intel_timeline *retire; member
H A Dintel_engine_types.h558 struct intel_timeline *retire; member
H A Dintel_timeline.c398 GEM_BUG_ON(timeline->retire); in __intel_timeline_free()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_active.h154 void (*retire)(struct i915_active *ref),
159 #define i915_active_init(ref, active, retire) do { \
163 __i915_active_init(ref, active, retire, &__mkey, &__wkey); \
H A Di915_active_types.h47 void (*retire)(struct i915_active *ref); member
H A Di915_active.c83 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint()
167 /* After the final retire, the entire struct may be freed */ in __active_retire()
168 if (ref->retire) in __active_retire()
169 ref->retire(ref); in __active_retire()
347 void (*retire)(struct i915_active *ref), in __i915_active_init()
357 ref->retire = ptr_unpack_bits(retire, &bits, 2); in __i915_active_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_active.h154 void (*retire)(struct i915_active *ref),
160 #define i915_active_init(ref, active, retire, flags) do { \
164 __i915_active_init(ref, active, retire, flags, &__mkey, &__wkey); \
H A Di915_active_types.h40 void (*retire)(struct i915_active *ref); member
H A Di915_active.c79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint()
162 /* After the final retire, the entire struct may be freed */ in __active_retire()
163 if (ref->retire) in __active_retire()
164 ref->retire(ref); in __active_retire()
340 void (*retire)(struct i915_active *ref), in __i915_active_init()
349 ref->retire = retire; in __i915_active_init()
/kernel/linux/linux-5.10/include/trace/events/
H A Dfscache.h246 TP_PROTO(struct fscache_cookie *cookie, bool retire),
248 TP_ARGS(cookie, retire),
257 __field(bool, retire )
267 __entry->retire = retire;
273 __entry->flags, __entry->retire)
/kernel/linux/linux-6.6/include/trace/events/
H A Dfscache.h431 TP_PROTO(struct fscache_cookie *cookie, bool retire),
433 TP_ARGS(cookie, retire),
441 __field(bool, retire )
450 __entry->retire = retire;
455 __entry->n_active, __entry->flags, __entry->retire)
/kernel/linux/linux-6.6/sound/usb/
H A Dendpoint.h39 void (*retire)(struct snd_usb_substream *subs,
H A Dendpoint.c553 /* can be stopped during retire callback */ in snd_complete_urb()
576 /* can be stopped during retire callback */ in snd_complete_urb()
902 void (*retire)(struct snd_usb_substream *subs, in snd_usb_endpoint_set_callback()
907 ep->retire_data_urb = retire; in snd_usb_endpoint_set_callback()
/kernel/linux/linux-5.10/fs/fscache/
H A Dcookie.c614 * there, and if it's doing that, it may as well just retire the in __fscache_invalidate()
776 * - the object will be marked as recyclable on disk if retire is true
782 bool retire) in __fscache_relinquish_cookie()
785 if (retire) in __fscache_relinquish_cookie()
796 atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
798 trace_fscache_relinquish(cookie, retire); in __fscache_relinquish_cookie()
804 __fscache_disable_cookie(cookie, aux_data, retire); in __fscache_relinquish_cookie()
780 __fscache_relinquish_cookie(struct fscache_cookie *cookie, const void *aux_data, bool retire) __fscache_relinquish_cookie() argument
/kernel/linux/linux-6.6/fs/fscache/
H A Dcookie.c966 * - the object will be marked as recyclable on disk if retire is true
968 void __fscache_relinquish_cookie(struct fscache_cookie *cookie, bool retire) in __fscache_relinquish_cookie() argument
971 if (retire) in __fscache_relinquish_cookie()
975 cookie->debug_id, atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
981 if (retire) in __fscache_relinquish_cookie()
983 trace_fscache_relinquish(cookie, retire); in __fscache_relinquish_cookie()
/kernel/linux/linux-5.10/include/linux/
H A Dfscache.h347 * @retire: True if the cache object the cookie represents is to be discarded
350 * associated cache object if retire is set to true. The opportunity is
360 bool retire) in fscache_relinquish_cookie()
363 __fscache_relinquish_cookie(cookie, aux_data, retire); in fscache_relinquish_cookie()
358 fscache_relinquish_cookie(struct fscache_cookie *cookie, const void *aux_data, bool retire) fscache_relinquish_cookie() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfscache.h296 * @retire: True if the cache object the cookie represents is to be discarded
299 * associated cache object if retire is set to true.
305 void fscache_relinquish_cookie(struct fscache_cookie *cookie, bool retire) in fscache_relinquish_cookie() argument
308 __fscache_relinquish_cookie(cookie, retire); in fscache_relinquish_cookie()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_active.c150 /* Check that we get a callback when requests retire upon waiting */ in live_active_wait()
211 /* Check that we get a callback when requests retire upon waiting */ in live_active_barrier()
280 drm_printf(m, "active %ps:%ps\n", ref->active, ref->retire); in i915_active_print()
346 /* And wait for the retire callback */ in i915_active_unlock_wait()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Di915_active.c151 /* Check that we get a callback when requests retire upon waiting */ in live_active_wait()
212 /* Check that we get a callback when requests retire upon waiting */ in live_active_barrier()
281 drm_printf(m, "active %ps:%ps\n", ref->active, ref->retire); in i915_active_print()
347 /* And wait for the retire callback */ in i915_active_unlock_wait()

Completed in 20 milliseconds