Home
last modified time | relevance | path

Searched refs:old (Results 376 - 400 of 2212) sorted by relevance

1...<<11121314151617181920>>...89

/kernel/linux/linux-6.6/lib/
H A Dcrc-t10dif.c38 struct crypto_shash *new, *old; in crc_t10dif_rehash() local
41 old = rcu_dereference_protected(crct10dif_tfm, in crc_t10dif_rehash()
51 if (old) { in crc_t10dif_rehash()
53 crypto_free_shash(old); in crc_t10dif_rehash()
H A Dcrc64-rocksoft.c32 struct crypto_shash *new, *old; in crc64_rocksoft_rehash() local
35 old = rcu_dereference_protected(crc64_rocksoft_tfm, in crc64_rocksoft_rehash()
45 if (old) { in crc64_rocksoft_rehash()
47 crypto_free_shash(old); in crc64_rocksoft_rehash()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dbt1-pvt.c143 u32 old; in pvt_update() local
145 old = readl_relaxed(reg); in pvt_update()
146 writel((old & ~mask) | (data & mask), reg); in pvt_update()
148 return old & mask; in pvt_update()
160 u32 old; in pvt_set_mode() local
164 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); in pvt_set_mode()
166 mode | old); in pvt_set_mode()
178 u32 old; in pvt_set_trim() local
182 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); in pvt_set_trim()
184 trim | old); in pvt_set_trim()
189 u32 old; pvt_set_tout() local
233 u32 val, thres_sts, old; pvt_soft_isr() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dbt1-pvt.c119 u32 old; in pvt_update() local
121 old = readl_relaxed(reg); in pvt_update()
122 writel((old & ~mask) | (data & mask), reg); in pvt_update()
124 return old & mask; in pvt_update()
136 u32 old; in pvt_set_mode() local
140 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); in pvt_set_mode()
142 mode | old); in pvt_set_mode()
154 u32 old; in pvt_set_trim() local
158 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); in pvt_set_trim()
160 trim | old); in pvt_set_trim()
165 u32 old; pvt_set_tout() local
209 u32 val, thres_sts, old; pvt_soft_isr() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/tegra/
H A Dclk-tegra210-emc.c125 struct clk_hw *old, *new, *parent; in tegra210_clk_emc_set_rate() local
147 old = clk_hw_get_parent_by_index(hw, old_idx); in tegra210_clk_emc_set_rate()
151 if (config->parent_rate != clk_hw_get_rate(old)) { in tegra210_clk_emc_set_rate()
187 parent = old; in tegra210_clk_emc_set_rate()
209 if (parent != old) { in tegra210_clk_emc_set_rate()
223 * Finally, switch the EMC programming with both old and new parent in tegra210_clk_emc_set_rate()
235 if (parent != old) in tegra210_clk_emc_set_rate()
241 /* reparent to new parent clock and disable the old parent clock */ in tegra210_clk_emc_set_rate()
242 if (parent != old) { in tegra210_clk_emc_set_rate()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dcmpxchg.h108 u##sz old, \
112 ptr, old, new); \
152 unsigned long old, \
158 return __cmpxchg_case##sfx##_8(ptr, old, new); \
160 return __cmpxchg_case##sfx##_16(ptr, old, new); \
162 return __cmpxchg_case##sfx##_32(ptr, old, new); \
164 return __cmpxchg_case##sfx##_64(ptr, old, new); \
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dpageattr.c56 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() argument
74 table = (unsigned long)old & mask; in pgt_set()
75 crdte(*old, new, table, dtt, addr, S390_lowcore.kernel_asce); in pgt_set()
77 cspg(old, *old, new); in pgt_set()
79 csp((unsigned int *)old + 1, *old, new); in pgt_set()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Datomic_ll_sc.h242 unsigned long old, \
251 * upper bits of the register containing "old". \
254 old = (u##sz)old; \
259 " eor %" #w "[tmp], %" #w "[oldval], %" #w "[old]\n" \
267 : [old] __stringify(constraint) "r" (old), [new] "r" (new) \
306 __ll_sc__cmpxchg128##name(volatile u128 *ptr, u128 old, u128 new) \
308 union __u128_halves r, o = { .full = (old) }, \
/kernel/linux/linux-5.10/net/sched/
H A Dsch_mq.c110 struct Qdisc *qdisc, *old; in mq_attach() local
115 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in mq_attach()
116 if (old) in mq_attach()
117 qdisc_put(old); in mq_attach()
214 struct Qdisc **old, struct netlink_ext_ack *extack) in mq_graft()
223 *old = dev_graft_qdisc(dev_queue, new); in mq_graft()
234 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, *old, in mq_graft() local
213 mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) mq_graft() argument
/kernel/linux/linux-5.10/sound/aoa/core/
H A Dgpio-feature.c316 notify_func_t old; in ftr_set_notify() local
346 old = notif->notify; in ftr_set_notify()
348 if (!old && !notify) { in ftr_set_notify()
353 if (old && notify) { in ftr_set_notify()
354 if (old == notify && notif->data == data) in ftr_set_notify()
359 if (old && !notify) in ftr_set_notify()
362 if (!old && notify) { in ftr_set_notify()
/kernel/linux/linux-5.10/sound/soc/intel/common/
H A Dsst-dsp.c87 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local
92 old = ret; in sst_dsp_shim_update_bits_unlocked()
93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked()
95 change = (old != new); in sst_dsp_shim_update_bits_unlocked()
107 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local
112 old = ret; in sst_dsp_shim_update_bits_forced_unlocked()
113 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked()
/kernel/linux/linux-6.6/drivers/clk/tegra/
H A Dclk-tegra210-emc.c125 struct clk_hw *old, *new, *parent; in tegra210_clk_emc_set_rate() local
147 old = clk_hw_get_parent_by_index(hw, old_idx); in tegra210_clk_emc_set_rate()
151 if (config->parent_rate != clk_hw_get_rate(old)) { in tegra210_clk_emc_set_rate()
187 parent = old; in tegra210_clk_emc_set_rate()
209 if (parent != old) { in tegra210_clk_emc_set_rate()
223 * Finally, switch the EMC programming with both old and new parent in tegra210_clk_emc_set_rate()
235 if (parent != old) in tegra210_clk_emc_set_rate()
241 /* reparent to new parent clock and disable the old parent clock */ in tegra210_clk_emc_set_rate()
242 if (parent != old) { in tegra210_clk_emc_set_rate()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dcfg_space.c73 u8 mask, new, old; in vgpu_pci_cfg_mem_write() local
79 old = cfg_base[off + i]; in vgpu_pci_cfg_mem_write()
88 new = (~new & old) & mask; in vgpu_pci_cfg_mem_write()
90 cfg_base[off + i] = (old & ~mask) | new; in vgpu_pci_cfg_mem_write()
148 u8 old = vgpu_cfg_space(vgpu)[offset]; in emulate_pci_command_write() local
150 u8 changed = old ^ new; in emulate_pci_command_write()
156 if (old & PCI_COMMAND_MEMORY) { in emulate_pci_command_write()
227 * Untrap the old BAR first, since guest has in emulate_pci_bar_write()
/kernel/linux/linux-6.6/net/sched/
H A Dsch_mq.c110 struct Qdisc *qdisc, *old; in mq_attach() local
115 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in mq_attach()
116 if (old) in mq_attach()
117 qdisc_put(old); in mq_attach()
176 struct Qdisc **old, struct netlink_ext_ack *extack) in mq_graft()
185 *old = dev_graft_qdisc(dev_queue, new); in mq_graft()
196 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, *old, in mq_graft() local
175 mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) mq_graft() argument
/kernel/linux/linux-6.6/sound/aoa/core/
H A Dgpio-feature.c316 notify_func_t old; in ftr_set_notify() local
346 old = notif->notify; in ftr_set_notify()
348 if (!old && !notify) { in ftr_set_notify()
353 if (old && notify) { in ftr_set_notify()
354 if (old == notify && notif->data == data) in ftr_set_notify()
359 if (old && !notify) in ftr_set_notify()
362 if (!old && notify) { in ftr_set_notify()
/kernel/linux/linux-6.6/security/apparmor/
H A Dpolicy_compat.c23 /* remap old accept table embedded permissions to separate permission table */
51 * map old dfa inline permissions to new format
73 * map_old_perms - map old file perms layout to the new layout
74 * @old: permission set in old mapping
78 static u32 map_old_perms(u32 old) in map_old_perms() argument
80 u32 new = old & 0xf; in map_old_perms()
82 if (old & MAY_READ) in map_old_perms()
84 if (old & MAY_WRITE) in map_old_perms()
87 if (old in map_old_perms()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/common/
H A Dsst-dsp.c87 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local
92 old = ret; in sst_dsp_shim_update_bits_unlocked()
93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked()
95 change = (old != new); in sst_dsp_shim_update_bits_unlocked()
107 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local
112 old = ret; in sst_dsp_shim_update_bits_forced_unlocked()
113 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked()
/kernel/linux/linux-5.10/arch/s390/kvm/
H A Dgaccess.c279 union ipte_control old, new, *ic; in ipte_lock_simple() local
289 old = READ_ONCE(*ic); in ipte_lock_simple()
290 if (old.k) { in ipte_lock_simple()
295 new = old; in ipte_lock_simple()
297 } while (cmpxchg(&ic->val, old.val, new.val) != old.val); in ipte_lock_simple()
305 union ipte_control old, new, *ic; in ipte_unlock_simple() local
314 old = READ_ONCE(*ic); in ipte_unlock_simple()
315 new = old; in ipte_unlock_simple()
317 } while (cmpxchg(&ic->val, old in ipte_unlock_simple()
326 union ipte_control old, new, *ic; ipte_lock_siif() local
347 union ipte_control old, new, *ic; ipte_unlock_siif() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dinode.c1157 struct inode *old; in inode_insert5() local
1162 old = find_inode(inode->i_sb, head, test, data); in inode_insert5()
1163 if (unlikely(old)) { in inode_insert5()
1166 * Use the old inode instead of the preallocated one. in inode_insert5()
1169 if (IS_ERR(old)) in inode_insert5()
1171 wait_on_inode(old); in inode_insert5()
1172 if (unlikely(inode_unhashed(old))) { in inode_insert5()
1173 iput(old); in inode_insert5()
1176 return old; in inode_insert5()
1275 struct inode *old; in iget_locked() local
1621 struct inode *old = NULL; insert_inode_locked() local
1664 struct inode *old; insert_inode_locked4() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dinode.c1196 struct inode *old; in inode_insert5() local
1200 old = find_inode(inode->i_sb, head, test, data); in inode_insert5()
1201 if (unlikely(old)) { in inode_insert5()
1204 * Use the old inode instead of the preallocated one. in inode_insert5()
1207 if (IS_ERR(old)) in inode_insert5()
1209 wait_on_inode(old); in inode_insert5()
1210 if (unlikely(inode_unhashed(old))) { in inode_insert5()
1211 iput(old); in inode_insert5()
1214 return old; in inode_insert5()
1318 struct inode *old; in iget_locked() local
1664 struct inode *old = NULL; insert_inode_locked() local
1707 struct inode *old; insert_inode_locked4() local
[all...]
/kernel/linux/linux-5.10/security/apparmor/
H A Dfile.c176 * map_old_perms - map old file perms layout to the new layout
177 * @old: permission set in old mapping
181 static u32 map_old_perms(u32 old) in map_old_perms() argument
183 u32 new = old & 0xf; in map_old_perms()
184 if (old & MAY_READ) in map_old_perms()
186 if (old & MAY_WRITE) in map_old_perms()
189 if (old & 0x10) in map_old_perms()
191 /* the old mapping lock and link_subset flags where overlaid in map_old_perms()
194 if (old in map_old_perms()
487 struct aa_label *l, *old; update_file_ctx() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c480 pr_debug("reuse old bo svms 0x%p [0x%lx 0x%lx]\n", in svm_range_validate_svm_bo()
901 unsigned char *new, *old, *pold; in svm_range_split_array() local
915 old = svm_range_copy_array(pold, size, old_n, d); in svm_range_split_array()
916 if (!old) { in svm_range_split_array()
921 *(void **)ppold = old; in svm_range_split_array()
928 svm_range_split_pages(struct svm_range *new, struct svm_range *old, in svm_range_split_pages() argument
935 r = svm_range_split_array(&new->dma_addr[i], &old->dma_addr[i], in svm_range_split_pages()
936 sizeof(*old->dma_addr[i]), old->start, in svm_range_split_pages()
946 svm_range_split_nodes(struct svm_range *new, struct svm_range *old, in svm_range_split_nodes() argument
987 svm_range_split_adjust(struct svm_range *new, struct svm_range *old, uint64_t start, uint64_t last) svm_range_split_adjust() argument
1959 svm_range_clone(struct svm_range *old) svm_range_clone() argument
2109 struct svm_range *old = prange; svm_range_add() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iolatency.c335 unsigned long old = atomic_read(&lat_info->scale_cookie); in scale_cookie_change() local
339 if (old < DEFAULT_SCALE_COOKIE) in scale_cookie_change()
340 diff = DEFAULT_SCALE_COOKIE - old; in scale_cookie_change()
343 if (scale + old > DEFAULT_SCALE_COOKIE) in scale_cookie_change()
377 unsigned long old = iolat->max_depth; in scale_change() local
379 if (old > qd) in scale_change()
380 old = qd; in scale_change()
383 if (old == 1 && blkcg_unuse_delay(lat_to_blkg(iolat))) in scale_change()
386 if (old < qd) { in scale_change()
387 old in scale_change()
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-u300/
H A Dregulator.c40 sigset_t old, all; in u300_pm_poweroff() local
43 if (!sigprocmask(SIG_BLOCK, &all, &old)) { in u300_pm_poweroff()
49 (void) sigprocmask(SIG_SETMASK, &old, NULL); in u300_pm_poweroff()
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/
H A Dtask_size.c70 struct sigaction sa, old; in os_get_top_address() local
93 if (sigaction(SIGSEGV, &sa, &old)) { in os_get_top_address()
132 /* Restore the old SIGSEGV handling */ in os_get_top_address()
133 if (sigaction(SIGSEGV, &old, NULL)) { in os_get_top_address()
147 /* The old value of CONFIG_TOP_ADDR */ in os_get_top_address()

Completed in 23 milliseconds

1...<<11121314151617181920>>...89