Home
last modified time | relevance | path

Searched refs:old (Results 276 - 300 of 3359) sorted by relevance

1...<<11121314151617181920>>...135

/kernel/linux/linux-5.10/tools/perf/bench/
H A Dfind-bit-bench.c64 unsigned int old; in do_for_each_set_bit() local
76 old = accumulator; in do_for_each_set_bit()
83 assert(old + (inner_iterations * set_bits) == accumulator); in do_for_each_set_bit()
88 old = accumulator; in do_for_each_set_bit()
97 assert(old + (inner_iterations * set_bits) == accumulator); in do_for_each_set_bit()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A Dtask_storage_map.c58 cpu_set_t old, new; in test_task_storage_map_stress_lookup() local
87 /* Save the old affinity setting */ in test_task_storage_map_stress_lookup()
88 sched_getaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup() local
125 sched_setaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup() local
/kernel/liteos_m/kal/posix/src/
H A Dsignal.c92 SIG_HANDLER old = NULL; in sigaction() local
100 old = LOS_SignalSet(sig, act->sa_handler); in sigaction()
102 old = LOS_SignalSet(sig, NULL); in sigaction()
103 (void)LOS_SignalSet(sig, old); in sigaction()
107 oldact->sa_handler = old; in sigaction()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c245 struct drm_crtc_state *old) in komeda_crtc_do_flush()
261 komeda_pipeline_update(master, old->state); in komeda_crtc_do_flush()
264 komeda_pipeline_update(slave, old->state); in komeda_crtc_do_flush()
276 struct drm_crtc_state *old) in komeda_crtc_atomic_enable()
282 komeda_crtc_do_flush(crtc, old); in komeda_crtc_atomic_enable()
322 struct drm_crtc_state *old) in komeda_crtc_atomic_disable()
325 struct komeda_crtc_state *old_st = to_kcrtc_st(old); in komeda_crtc_atomic_disable()
336 komeda_pipeline_disable(slave, old->state); in komeda_crtc_atomic_disable()
339 needs_phase2 = komeda_pipeline_disable(master, old->state); in komeda_crtc_atomic_disable()
366 komeda_pipeline_disable(kcrtc->master, old in komeda_crtc_atomic_disable()
244 komeda_crtc_do_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_do_flush() argument
275 komeda_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_enable() argument
321 komeda_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_disable() argument
381 komeda_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_flush() argument
502 struct komeda_crtc_state *old = to_kcrtc_st(crtc->state); komeda_crtc_atomic_duplicate_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c247 struct drm_crtc_state *old) in komeda_crtc_do_flush()
263 komeda_pipeline_update(master, old->state); in komeda_crtc_do_flush()
266 komeda_pipeline_update(slave, old->state); in komeda_crtc_do_flush()
280 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, in komeda_crtc_atomic_enable() local
286 komeda_crtc_do_flush(crtc, old); in komeda_crtc_atomic_enable()
328 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, in komeda_crtc_atomic_disable() local
331 struct komeda_crtc_state *old_st = to_kcrtc_st(old); in komeda_crtc_atomic_disable()
342 komeda_pipeline_disable(slave, old->state); in komeda_crtc_atomic_disable()
345 needs_phase2 = komeda_pipeline_disable(master, old->state); in komeda_crtc_atomic_disable()
372 komeda_pipeline_disable(kcrtc->master, old in komeda_crtc_atomic_disable()
246 komeda_crtc_do_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_do_flush() argument
392 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, komeda_crtc_atomic_flush() local
512 struct komeda_crtc_state *old = to_kcrtc_st(crtc->state); komeda_crtc_atomic_duplicate_state() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dtiming.c46 u64 old; in add_exit_timing() local
53 old = vcpu->arch.timing_sum_duration[type]; in add_exit_timing()
55 if (unlikely(old > vcpu->arch.timing_sum_duration[type])) { in add_exit_timing()
57 " old %lld new %lld type %d exit # of type %d\n", in add_exit_timing()
58 __func__, old, vcpu->arch.timing_sum_duration[type], in add_exit_timing()
63 old = vcpu->arch.timing_sum_quad_duration[type]; in add_exit_timing()
65 if (unlikely(old > vcpu->arch.timing_sum_quad_duration[type])) { in add_exit_timing()
67 " old %lld new %lld type %d exit # of type %d\n", in add_exit_timing()
68 __func__, old, in add_exit_timing()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dtiming.c46 u64 old; in add_exit_timing() local
53 old = vcpu->arch.timing_sum_duration[type]; in add_exit_timing()
55 if (unlikely(old > vcpu->arch.timing_sum_duration[type])) { in add_exit_timing()
57 " old %lld new %lld type %d exit # of type %d\n", in add_exit_timing()
58 __func__, old, vcpu->arch.timing_sum_duration[type], in add_exit_timing()
63 old = vcpu->arch.timing_sum_quad_duration[type]; in add_exit_timing()
65 if (unlikely(old > vcpu->arch.timing_sum_quad_duration[type])) { in add_exit_timing()
67 " old %lld new %lld type %d exit # of type %d\n", in add_exit_timing()
68 __func__, old, in add_exit_timing()
/kernel/linux/linux-5.10/sound/aoa/core/
H A Dgpio-pmf.c135 notify_func_t old; in pmf_set_notify() local
159 old = notif->notify; in pmf_set_notify()
161 if (!old && !notify) { in pmf_set_notify()
166 if (old && notify) { in pmf_set_notify()
167 if (old == notify && notif->data == data) in pmf_set_notify()
172 if (old && !notify) { in pmf_set_notify()
178 if (!old && notify) { in pmf_set_notify()
/kernel/linux/linux-6.6/sound/aoa/core/
H A Dgpio-pmf.c135 notify_func_t old; in pmf_set_notify() local
159 old = notif->notify; in pmf_set_notify()
161 if (!old && !notify) { in pmf_set_notify()
166 if (old && notify) { in pmf_set_notify()
167 if (old == notify && notif->data == data) in pmf_set_notify()
172 if (old && !notify) { in pmf_set_notify()
178 if (!old && notify) { in pmf_set_notify()
/kernel/linux/linux-5.10/net/mac80211/
H A Dkey.c288 static void ieee80211_pairwise_rekey(struct ieee80211_key *old, in ieee80211_pairwise_rekey() argument
318 } else if (old) { in ieee80211_pairwise_rekey()
324 if (!(old->flags & KEY_FLAG_UPLOADED_TO_HARDWARE)) in ieee80211_pairwise_rekey()
328 old->flags |= KEY_FLAG_TAINTED; in ieee80211_pairwise_rekey()
342 ieee80211_flush_queues(local, old->sdata, false); in ieee80211_pairwise_rekey()
430 struct ieee80211_key *old, in ieee80211_key_replace()
437 /* caller must provide at least one old/new */ in ieee80211_key_replace()
438 if (WARN_ON(!new && !old)) in ieee80211_key_replace()
444 WARN_ON(new && old && new->conf.keyidx != old in ieee80211_key_replace()
427 ieee80211_key_replace(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, bool pairwise, struct ieee80211_key *old, struct ieee80211_key *new) ieee80211_key_replace() argument
765 ieee80211_key_identical(struct ieee80211_sub_if_data *sdata, struct ieee80211_key *old, struct ieee80211_key *new) ieee80211_key_identical() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dbitops.h127 unsigned long old, mask; in arch_test_and_set_bit() local
130 old = __atomic64_or_barrier(mask, (long *)addr); in arch_test_and_set_bit()
131 return (old & mask) != 0; in arch_test_and_set_bit()
138 unsigned long old, mask; in arch_test_and_clear_bit() local
141 old = __atomic64_and_barrier(mask, (long *)addr); in arch_test_and_clear_bit()
142 return (old & ~mask) != 0; in arch_test_and_clear_bit()
149 unsigned long old, mask; in arch_test_and_change_bit() local
152 old = __atomic64_xor_barrier(mask, (long *)addr); in arch_test_and_change_bit()
153 return (old & mask) != 0; in arch_test_and_change_bit()
/kernel/linux/linux-5.10/arch/sparc/mm/
H A Dtlb.c229 pmd_t old; in pmdp_establish() local
232 old = *pmdp; in pmdp_establish()
233 } while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd); in pmdp_establish()
234 __set_pmd_acct(vma->vm_mm, address, old, pmd); in pmdp_establish()
236 return old; in pmdp_establish()
245 pmd_t old, entry; in pmdp_invalidate() local
248 old = pmdp_establish(vma, address, pmdp, entry); in pmdp_invalidate()
260 return old; in pmdp_invalidate()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dhash_pgtable.c194 unsigned long old; in hash__pmd_hugepage_update() local
214 old = be64_to_cpu(old_be); in hash__pmd_hugepage_update()
216 trace_hugepage_update(addr, old, clr, set); in hash__pmd_hugepage_update()
217 if (old & H_PAGE_HASHPTE) in hash__pmd_hugepage_update()
218 hpte_do_hugepage_flush(mm, addr, pmdp, old); in hash__pmd_hugepage_update()
219 return old; in hash__pmd_hugepage_update()
256 * the old content. in hash__pmdp_collapse_flush()
349 unsigned long old; in hash__pmdp_huge_get_and_clear() local
352 old = pmd_hugepage_update(mm, addr, pmdp, ~0UL, 0); in hash__pmdp_huge_get_and_clear()
353 old_pmd = __pmd(old); in hash__pmdp_huge_get_and_clear()
[all...]
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dmemmap.c296 void *old, *new; in efi_memmap_insert() local
314 for (old = old_memmap->map, new = buf; in efi_memmap_insert()
315 old < old_memmap->map_end; in efi_memmap_insert()
316 old += old_memmap->desc_size, new += old_memmap->desc_size) { in efi_memmap_insert()
319 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
335 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
348 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
356 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
370 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dcmpxchg.h107 u##sz old, \
111 ptr, old, new); \
135 u128 old, u128 new) \
138 ptr, old, new); \
148 unsigned long old, \
154 return __cmpxchg_case##sfx##_8(ptr, old, new); \
156 return __cmpxchg_case##sfx##_16(ptr, old, new); \
158 return __cmpxchg_case##sfx##_32(ptr, old, new); \
160 return __cmpxchg_case##sfx##_64(ptr, old, new); \
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dhash_pgtable.c195 unsigned long old; in hash__pmd_hugepage_update() local
215 old = be64_to_cpu(old_be); in hash__pmd_hugepage_update()
217 trace_hugepage_update_pmd(addr, old, clr, set); in hash__pmd_hugepage_update()
218 if (old & H_PAGE_HASHPTE) in hash__pmd_hugepage_update()
219 hpte_do_hugepage_flush(mm, addr, pmdp, old); in hash__pmd_hugepage_update()
220 return old; in hash__pmd_hugepage_update()
257 * the old content. in hash__pmdp_collapse_flush()
350 unsigned long old; in hash__pmdp_huge_get_and_clear() local
353 old = pmd_hugepage_update(mm, addr, pmdp, ~0UL, 0); in hash__pmdp_huge_get_and_clear()
354 old_pmd = __pmd(old); in hash__pmdp_huge_get_and_clear()
[all...]
/kernel/linux/linux-6.6/arch/sparc/mm/
H A Dtlb.c234 pmd_t old; in pmdp_establish() local
237 old = *pmdp; in pmdp_establish()
238 } while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd); in pmdp_establish()
239 __set_pmd_acct(vma->vm_mm, address, old, pmd); in pmdp_establish()
241 return old; in pmdp_establish()
250 pmd_t old, entry; in pmdp_invalidate() local
253 old = pmdp_establish(vma, address, pmdp, entry); in pmdp_invalidate()
265 return old; in pmdp_invalidate()
/kernel/linux/linux-5.10/drivers/xen/events/
H A Devents_fifo.c229 event_word_t new, old, w; in clear_masked_cond() local
240 old = w & ~(1 << EVTCHN_FIFO_BUSY); in clear_masked_cond()
241 new = old & ~(1 << EVTCHN_FIFO_MASKED); in clear_masked_cond()
242 w = sync_cmpxchg(word, old, new); in clear_masked_cond()
243 } while (w != old); in clear_masked_cond()
262 event_word_t new, old, w; in clear_linked() local
267 old = w; in clear_linked()
270 } while ((w = sync_cmpxchg(word, old, new)) != old); in clear_linked()
/kernel/linux/linux-5.10/net/core/
H A Ddst.c195 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic() argument
200 struct dst_metrics *old_p = (struct dst_metrics *)__DST_METRICS_PTR(old); in dst_cow_metrics_generic()
207 prev = cmpxchg(&dst->_metrics, old, new); in dst_cow_metrics_generic()
209 if (prev != old) { in dst_cow_metrics_generic()
225 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) in __dst_destroy_metrics_generic() argument
230 prev = cmpxchg(&dst->_metrics, old, new); in __dst_destroy_metrics_generic()
231 if (prev == old) in __dst_destroy_metrics_generic()
232 kfree(__DST_METRICS_PTR(old)); in __dst_destroy_metrics_generic()
241 u32 *dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old) in dst_blackhole_cow_metrics() argument
/kernel/linux/linux-6.6/drivers/xen/events/
H A Devents_fifo.c229 event_word_t new, old, w; in clear_masked_cond() local
240 old = w & ~(1 << EVTCHN_FIFO_BUSY); in clear_masked_cond()
241 new = old & ~(1 << EVTCHN_FIFO_MASKED); in clear_masked_cond()
242 w = sync_cmpxchg(word, old, new); in clear_masked_cond()
243 } while (w != old); in clear_masked_cond()
262 event_word_t new, old, w; in clear_linked() local
267 old = w; in clear_linked()
270 } while ((w = sync_cmpxchg(word, old, new)) != old); in clear_linked()
/kernel/linux/linux-6.6/net/core/
H A Ddst.c178 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic() argument
183 struct dst_metrics *old_p = (struct dst_metrics *)__DST_METRICS_PTR(old); in dst_cow_metrics_generic()
190 prev = cmpxchg(&dst->_metrics, old, new); in dst_cow_metrics_generic()
192 if (prev != old) { in dst_cow_metrics_generic()
208 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) in __dst_destroy_metrics_generic() argument
213 prev = cmpxchg(&dst->_metrics, old, new); in __dst_destroy_metrics_generic()
214 if (prev == old) in __dst_destroy_metrics_generic()
215 kfree(__DST_METRICS_PTR(old)); in __dst_destroy_metrics_generic()
224 u32 *dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old) in dst_blackhole_cow_metrics() argument
/kernel/linux/linux-5.10/scripts/
H A Dstackdelta48 or die "usage: $0 <old> <new>";
50 my $old = read_stack_usage_file($ARGV[0]);
52 my @common = sort grep {exists $new->{$_}} keys %$old;
54 my $x = $old->{$_}{size};
/kernel/linux/linux-6.6/scripts/
H A Dstackdelta48 or die "usage: $0 <old> <new>";
50 my $old = read_stack_usage_file($ARGV[0]);
52 my @common = sort grep {exists $new->{$_}} keys %$old;
54 my $x = $old->{$_}{size};
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_probe_user.c8 static struct sockaddr_in old; variable
14 bpf_probe_read_user(&old, sizeof(old), uservaddr); in handle_sys_connect_common()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
H A Dfutex.h20 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \
39 : [oldval] "=&r" (old), [newval] "=&r" (ret) \
44 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \
63 : [oldval] "=&r" (old), [newval] "=&r" (ret), \

Completed in 14 milliseconds

1...<<11121314151617181920>>...135