Home
last modified time | relevance | path

Searched refs:old (Results 301 - 325 of 3982) sorted by relevance

1...<<11121314151617181920>>...160

/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dpgtable-be-types.h81 static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new) in pte_xchg() argument
87 prev = (__force __be64)__cmpxchg_u64(p, (__force unsigned long)pte_raw(old), in pte_xchg()
90 return pte_raw(old) == prev; in pte_xchg()
93 static inline bool pmd_xchg(pmd_t *pmdp, pmd_t old, pmd_t new) in pmd_xchg() argument
98 prev = (__force __be64)__cmpxchg_u64(p, (__force unsigned long)pmd_raw(old), in pmd_xchg()
101 return pmd_raw(old) == prev; in pmd_xchg()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dcputable.c51 struct cpu_spec old; in setup_cpu_spec() local
54 old = *t; in setup_cpu_spec()
67 if (old.num_pmcs && !s->num_pmcs) { in setup_cpu_spec()
68 t->num_pmcs = old.num_pmcs; in setup_cpu_spec()
69 t->pmc_type = old.pmc_type; in setup_cpu_spec()
75 t->cpu_features |= old.cpu_features & CPU_FTR_PMAO_BUG; in setup_cpu_spec()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhelp-unknown-cmd.c32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list() argument
34 unsigned int i, nr = cmds->cnt + old->cnt; in add_cmd_list()
48 for (i = 0; i < old->cnt; i++) in add_cmd_list()
49 cmds->names[cmds->cnt++] = old->names[i]; in add_cmd_list()
50 zfree(&old->names); in add_cmd_list()
51 old->cnt = 0; in add_cmd_list()
/kernel/linux/linux-5.10/include/trace/events/
H A Dfilemap.h83 TP_PROTO(struct file *file, errseq_t old),
85 TP_ARGS(file, old),
91 __field(errseq_t, old)
104 __entry->old = old;
108 TP_printk("file=%p dev=%d:%d ino=0x%lx old=0x%x new=0x%x",
110 MINOR(__entry->s_dev), __entry->i_ino, __entry->old,
/kernel/linux/linux-5.10/fs/afs/
H A Dserver_list.c101 * Copy the annotations from an old server list to its potential replacement.
104 struct afs_server_list *old) in afs_annotate_server_list()
109 if (old->nr_servers != new->nr_servers) in afs_annotate_server_list()
112 for (i = 0; i < old->nr_servers; i++) in afs_annotate_server_list()
113 if (old->servers[i].server != new->servers[i].server) in afs_annotate_server_list()
120 cur = old->servers[old->preferred].server; in afs_annotate_server_list()
103 afs_annotate_server_list(struct afs_server_list *new, struct afs_server_list *old) afs_annotate_server_list() argument
/kernel/linux/linux-6.6/fs/afs/
H A Dserver_list.c101 * Copy the annotations from an old server list to its potential replacement.
104 struct afs_server_list *old) in afs_annotate_server_list()
109 if (old->nr_servers != new->nr_servers) in afs_annotate_server_list()
112 for (i = 0; i < old->nr_servers; i++) in afs_annotate_server_list()
113 if (old->servers[i].server != new->servers[i].server) in afs_annotate_server_list()
120 cur = old->servers[old->preferred].server; in afs_annotate_server_list()
103 afs_annotate_server_list(struct afs_server_list *new, struct afs_server_list *old) afs_annotate_server_list() argument
/kernel/linux/linux-6.6/include/trace/events/
H A Dfilemap.h85 TP_PROTO(struct file *file, errseq_t old),
87 TP_ARGS(file, old),
93 __field(errseq_t, old)
106 __entry->old = old;
110 TP_printk("file=%p dev=%d:%d ino=0x%lx old=0x%x new=0x%x",
112 MINOR(__entry->s_dev), __entry->i_ino, __entry->old,
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhelp-unknown-cmd.c32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list() argument
34 unsigned int i, nr = cmds->cnt + old->cnt; in add_cmd_list()
48 for (i = 0; i < old->cnt; i++) in add_cmd_list()
49 cmds->names[cmds->cnt++] = old->names[i]; in add_cmd_list()
50 zfree(&old->names); in add_cmd_list()
51 old->cnt = 0; in add_cmd_list()
/third_party/musl/porting/liteos_a/kernel/src/prng/
H A Drandom.c73 void *old; in initstate() local
80 old = savestate(); in initstate()
95 return old; in initstate()
99 void *old; in setstate() local
103 old = savestate(); in setstate()
106 return old; in setstate()
/third_party/musl/porting/liteos_m/kernel/src/prng/
H A Drandom.c72 void *old; in initstate() local
79 old = savestate(); in initstate()
94 return old; in initstate()
98 void *old; in setstate() local
102 old = savestate(); in setstate()
105 return old; in setstate()
/third_party/musl/src/prng/
H A Drandom.c74 void *old; in initstate() local
79 old = savestate(); in initstate()
94 return old; in initstate()
98 void *old; in setstate() local
101 old = savestate(); in setstate()
104 return old; in setstate()
/third_party/musl/porting/uniproton/kernel/src/prng/
H A Drandom.c72 void *old; in initstate() local
79 old = savestate(); in initstate()
94 return old; in initstate()
98 void *old; in setstate() local
102 old = savestate(); in setstate()
105 return old; in setstate()
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/
H A Dgenerate-core-block.rb86 renames.each_pair do |old, new|
87 puts old + ' -> ' + new
95 renames.each_pair do |old, new|
96 outdata.gsub!(old,new)
105 # Skip renaming in the extension appendix, since this should preserve the old names.
110 renames.each_pair do |old, new|
111 new_file.gsub!(old,new)
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dquartet.c507 unsigned int old, new, smute; in qtet_mute_put() local
508 old = get_scr(ice) & SCR_MUTE; in qtet_mute_put()
520 if (old != new) { in qtet_mute_put()
568 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local
569 old = new = get_scr(ice); in qtet_ain12_sw_put()
570 masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
579 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
587 new = old | SCR_RELAY; in qtet_ain12_sw_put()
594 new = old | SCR_RELAY; in qtet_ain12_sw_put()
623 unsigned int old, ne in qtet_php_put() local
699 unsigned int old, new; qtet_sw_put() local
872 unsigned int old, new; qtet_set_spdif_clock() local
[all...]
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dquartet.c507 unsigned int old, new, smute; in qtet_mute_put() local
508 old = get_scr(ice) & SCR_MUTE; in qtet_mute_put()
520 if (old != new) { in qtet_mute_put()
568 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local
569 old = get_scr(ice); in qtet_ain12_sw_put()
570 masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
579 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
587 new = old | SCR_RELAY; in qtet_ain12_sw_put()
594 new = old | SCR_RELAY; in qtet_ain12_sw_put()
623 unsigned int old, ne in qtet_php_put() local
699 unsigned int old, new; qtet_sw_put() local
854 unsigned int old, new; qtet_set_spdif_clock() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dwow.c81 const struct cfg80211_pkt_pattern *old) in ath10k_wow_convert_8023_to_80211()
88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211()
105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
106 old->pattern, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
127 if (old in ath10k_wow_convert_8023_to_80211()
80 ath10k_wow_convert_8023_to_80211(struct cfg80211_pkt_pattern *new, const struct cfg80211_pkt_pattern *old) ath10k_wow_convert_8023_to_80211() argument
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dcore.c2 * Heavily influenced by the old firewall.c by David Bonn and Alan Cox.
104 nf_hook_entries_grow(const struct nf_hook_entries *old, in nf_hook_entries_grow() argument
114 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
116 if (old) { in nf_hook_entries_grow()
117 orig_ops = nf_hook_entries_get_hook_ops(old); in nf_hook_entries_grow()
144 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow()
209 * @old -- current hook blob at @pp
216 * copies the live hooks, then replaces and discards old one.
222 static void *__nf_hook_entries_try_shrink(struct nf_hook_entries *old, in __nf_hook_entries_try_shrink() argument
432 nf_remove_net_hook(struct nf_hook_entries *old, const struct nf_hook_ops *unreg) nf_remove_net_hook() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dwow.c81 const struct cfg80211_pkt_pattern *old) in ath10k_wow_convert_8023_to_80211()
88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211()
105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
106 old->pattern, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
127 if (old in ath10k_wow_convert_8023_to_80211()
80 ath10k_wow_convert_8023_to_80211(struct cfg80211_pkt_pattern *new, const struct cfg80211_pkt_pattern *old) ath10k_wow_convert_8023_to_80211() argument
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dcore.c2 * Heavily influenced by the old firewall.c by David Bonn and Alan Cox.
104 nf_hook_entries_grow(const struct nf_hook_entries *old, in nf_hook_entries_grow() argument
114 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
116 if (old) { in nf_hook_entries_grow()
117 orig_ops = nf_hook_entries_get_hook_ops(old); in nf_hook_entries_grow()
156 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow()
221 * @old -- current hook blob at @pp
228 * copies the live hooks, then replaces and discards old one.
234 static void *__nf_hook_entries_try_shrink(struct nf_hook_entries *old, in __nf_hook_entries_try_shrink() argument
470 nf_remove_net_hook(struct nf_hook_entries *old, const struct nf_hook_ops *unreg) nf_remove_net_hook() argument
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Datomic.h154 #define arch_atomic_cmpxchg_relaxed(v, old, new) \
155 arch_cmpxchg_relaxed(&((v)->counter), (old), (new))
156 #define arch_atomic_cmpxchg_acquire(v, old, new) \
157 arch_cmpxchg_acquire(&((v)->counter), (old), (new))
158 #define arch_atomic_cmpxchg_release(v, old, new) \
159 arch_cmpxchg_release(&((v)->counter), (old), (new))
160 #define arch_atomic_cmpxchg(v, old, new) \
161 arch_cmpxchg(&((v)->counter), (old), (new))
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dbitops.h69 unsigned long old; \
77 : "=&r" (old), "+m" (*p) \
114 unsigned long old, t; \
123 : "=&r" (old), "=&r" (t) \
126 return (old & mask); \
167 unsigned long old, t; in clear_bit_unlock_return_word() local
177 : "=&r" (old), "=&r" (t) in clear_bit_unlock_return_word()
181 return old; in clear_bit_unlock_return_word()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dcmpxchg.h166 #define __cmpxchg_relaxed(ptr, old, new, size) \
169 __typeof__(*(ptr)) __old = (old); \
210 #define __cmpxchg_acquire(ptr, old, new, size) \
213 __typeof__(*(ptr)) __old = (old); \
256 #define __cmpxchg_release(ptr, old, new, size) \
259 __typeof__(*(ptr)) __old = (old); \
302 #define __cmpxchg(ptr, old, new, size) \
305 __typeof__(*(ptr)) __old = (old); \
/kernel/linux/linux-5.10/net/core/
H A Dgen_estimator.c132 struct net_rate_estimator *old, *est; in gen_new_estimator() local
172 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator()
173 if (old) { in gen_new_estimator()
174 del_timer_sync(&old->timer); in gen_new_estimator()
175 est->avbps = old->avbps; in gen_new_estimator()
176 est->avpps = old->avpps; in gen_new_estimator()
186 if (old) in gen_new_estimator()
187 kfree_rcu(old, rcu); in gen_new_estimator()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dposted_intr.c57 struct pi_desc old, new; in vmx_vcpu_pi_load() local
101 old.control = READ_ONCE(pi_desc->control); in vmx_vcpu_pi_load()
103 new.control = old.control; in vmx_vcpu_pi_load()
117 } while (pi_try_set_control(pi_desc, &old.control, new.control)); in vmx_vcpu_pi_load()
150 struct pi_desc old, new; in pi_enable_wakeup_handler() local
162 old.control = READ_ONCE(pi_desc->control); in pi_enable_wakeup_handler()
165 new.control = old.control; in pi_enable_wakeup_handler()
167 } while (pi_try_set_control(pi_desc, &old.control, new.control)); in pi_enable_wakeup_handler()
/kernel/linux/linux-6.6/net/core/
H A Dgen_estimator.c138 struct net_rate_estimator *old, *est; in gen_new_estimator() local
178 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator()
179 if (old) { in gen_new_estimator()
180 del_timer_sync(&old->timer); in gen_new_estimator()
181 est->avbps = old->avbps; in gen_new_estimator()
182 est->avpps = old->avpps; in gen_new_estimator()
192 if (old) in gen_new_estimator()
193 kfree_rcu(old, rcu); in gen_new_estimator()

Completed in 14 milliseconds

1...<<11121314151617181920>>...160