/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_requests.c | 64 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 D | intel_timeline_types.h | 71 struct intel_timeline *retire; member
|
H A D | intel_engine_types.h | 482 struct intel_timeline *retire; member
|
H A D | intel_timeline.c | 291 GEM_BUG_ON(timeline->retire); in intel_timeline_fini()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_requests.c | 64 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 D | intel_timeline_types.h | 70 struct intel_timeline *retire; member
|
H A D | intel_engine_types.h | 558 struct intel_timeline *retire; member
|
H A D | intel_timeline.c | 398 GEM_BUG_ON(timeline->retire); in __intel_timeline_free()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_active.h | 154 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 D | i915_active_types.h | 47 void (*retire)(struct i915_active *ref); member
|
H A D | i915_active.c | 83 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 D | i915_active.h | 154 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 D | i915_active_types.h | 40 void (*retire)(struct i915_active *ref); member
|
H A D | i915_active.c | 79 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 D | fscache.h | 246 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 D | fscache.h | 431 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 D | endpoint.h | 39 void (*retire)(struct snd_usb_substream *subs,
|
H A D | endpoint.c | 553 /* 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 D | cookie.c | 614 * 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 D | cookie.c | 966 * - 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 D | fscache.h | 347 * @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 D | fscache.h | 296 * @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 D | i915_active.c | 150 /* 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 D | i915_active.c | 151 /* 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()
|