/linux-6.6.21/mm/ |
D | mremap.c | 137 unsigned long old_addr, unsigned long old_end, in move_ptes() argument 145 unsigned long len = old_end - old_addr; in move_ptes() 173 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes() 189 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes() 194 pte = ptep_get_and_clear(mm, old_addr, old_pte); in move_ptes() 208 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes() 236 static bool move_normal_pmd(struct vm_area_struct *vma, unsigned long old_addr, in move_normal_pmd() argument 287 flush_tlb_range(vma, old_addr, old_addr + PMD_SIZE); in move_normal_pmd() 296 unsigned long old_addr, unsigned long new_addr, pmd_t *old_pmd, in move_normal_pmd() argument 304 static bool move_normal_pud(struct vm_area_struct *vma, unsigned long old_addr, in move_normal_pud() argument [all …]
|
/linux-6.6.21/arch/sh/kernel/ |
D | ftrace.c | 261 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() argument 269 if (old_addr != __raw_readl((unsigned long *)code)) in ftrace_mod() 278 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local 281 old_addr = (unsigned long)(&skip_trace); in ftrace_enable_ftrace_graph_caller() 284 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller() 289 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local 292 old_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_disable_ftrace_graph_caller() 295 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
|
/linux-6.6.21/net/sched/ |
D | act_nat.c | 90 nparm->old_addr = parm->old_addr; in tcf_nat_init() 121 __be32 old_addr; in tcf_nat_act() local 136 old_addr = parms->old_addr; in tcf_nat_act() 155 if (!((old_addr ^ addr) & mask)) { in tcf_nat_act() 232 if ((old_addr ^ addr) & mask) in tcf_nat_act() 286 opt.old_addr = parms->old_addr; in tcf_nat_dump()
|
/linux-6.6.21/drivers/mtd/ |
D | ftl.c | 799 uint32_t old_addr; in set_bam_entry() local 815 (u_char *)&old_addr); in set_bam_entry() 820 old_addr = le32_to_cpu(old_addr); in set_bam_entry() 822 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry() 823 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry() 824 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry() 829 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry() 837 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry() 844 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry() 865 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local [all …]
|
D | rfd_ftl.c | 545 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument 552 block = old_addr / part->block_size; in mark_sector_deleted() 553 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted() 601 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument 614 rc = find_writable_block(part, old_addr); in do_writesect() 670 u_long old_addr; in rfd_ftl_writesect() local 686 old_addr = part->sector_map[sector]; in rfd_ftl_writesect() 692 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect() 701 if (old_addr != -1) in rfd_ftl_writesect() 702 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | main.c | 127 void *old_addr = (void *)initrd_addr; in prep_initrd() local 136 initrd_addr, old_addr, initrd_size); in prep_initrd() 137 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd() 169 void *old_addr = (void *)esm_blob_addr; in prep_esm_blob() local 177 esm_blob_addr, old_addr, esm_blob_size); in prep_esm_blob() 178 memmove((void *)esm_blob_addr, old_addr, esm_blob_size); in prep_esm_blob()
|
/linux-6.6.21/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 63 struct mac_address *old_addr, *tmp; in fman_set_multi() local 71 list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { in fman_set_multi() 72 addr = (enet_addr_t *)old_addr->addr; in fman_set_multi() 77 list_del(&old_addr->list); in fman_set_multi() 78 kfree(old_addr); in fman_set_multi()
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | file.c | 247 unsigned long old_addr = alloc_addr; in handle_cmdline_files() local 263 if (old_addr != 0) { in handle_cmdline_files() 270 memcpy((void *)alloc_addr, (void *)old_addr, alloc_size); in handle_cmdline_files() 271 efi_free(alloc_size, old_addr); in handle_cmdline_files()
|
/linux-6.6.21/arch/s390/kvm/ |
D | gaccess.c | 1189 __uint128_t *old_addr, __uint128_t new, in cmpxchg_guest_abs_with_key() argument 1222 ret = cmpxchg_user_key((u8 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key() 1223 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key() 1224 *old_addr = old; in cmpxchg_guest_abs_with_key() 1230 ret = cmpxchg_user_key((u16 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key() 1231 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key() 1232 *old_addr = old; in cmpxchg_guest_abs_with_key() 1238 ret = cmpxchg_user_key((u32 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key() 1239 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key() 1240 *old_addr = old; in cmpxchg_guest_abs_with_key() [all …]
|
/linux-6.6.21/arch/powerpc/kernel/trace/ |
D | ftrace_64_pg.c | 547 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in __ftrace_modify_call() argument 575 entry = ppc_global_function_entry((void *)old_addr); in __ftrace_modify_call() 633 static int __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in __ftrace_modify_call() argument 639 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 650 if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) { in ftrace_modify_call() 652 old = ftrace_call_replace(ip, old_addr, 1); in ftrace_modify_call() 674 return __ftrace_modify_call(rec, old_addr, addr); in ftrace_modify_call()
|
/linux-6.6.21/tools/testing/selftests/kvm/s390x/ |
D | memop.c | 86 ksmo.old_addr = (uint64_t)desc->old; in ksmo_from_desc() 153 ksmo->old_addr); in print_memop() 555 static bool _cmpxchg(int size, void *target, __uint128_t *old_addr, __uint128_t new) in _cmpxchg() argument 561 uint32_t old = *old_addr; in _cmpxchg() 569 ret = old == (uint32_t)*old_addr; in _cmpxchg() 570 *old_addr = old; in _cmpxchg() 574 uint64_t old = *old_addr; in _cmpxchg() 582 ret = old == (uint64_t)*old_addr; in _cmpxchg() 583 *old_addr = old; in _cmpxchg() 587 __uint128_t old = *old_addr; in _cmpxchg() [all …]
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | ftrace_dyn.c | 118 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in ftrace_modify_call() argument 128 if (!ftrace_find_callable_addr(rec, NULL, &old_addr)) in ftrace_modify_call() 132 old = larch_insn_gen_bl(pc, old_addr); in ftrace_modify_call()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | ftrace.c | 140 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 147 make_call_t0(caller, old_addr, call); in ftrace_modify_call()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | ftrace.c | 344 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 355 if (!ftrace_find_callable_addr(rec, NULL, &old_addr)) in ftrace_modify_call() 360 old = aarch64_insn_gen_branch_imm(pc, old_addr, in ftrace_modify_call()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | cache.c | 413 unsigned long addr, old_addr = 0; in flush_dcache_folio() local 483 if (old_addr == 0 || (old_addr & (SHM_COLOUR - 1)) in flush_dcache_folio() 495 if (old_addr) in flush_dcache_folio() 497 old_addr, addr, vma->vm_file); in flush_dcache_folio() 499 old_addr = addr; in flush_dcache_folio()
|
/linux-6.6.21/include/uapi/linux/tc_act/ |
D | tc_nat.h | 21 __be32 old_addr; member
|
/linux-6.6.21/include/net/tc_act/ |
D | tc_nat.h | 9 __be32 old_addr; member
|
/linux-6.6.21/arch/s390/boot/ |
D | startup.c | 77 unsigned long old_addr, addr, size; in rescue_initrd() local 85 old_addr = addr; in rescue_initrd() 88 memmove((void *)addr, (void *)old_addr, size); in rescue_initrd()
|
/linux-6.6.21/arch/arm/kernel/ |
D | ftrace.c | 171 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 177 old = ftrace_call_replace(ip, adjust_address(rec, old_addr), true); in ftrace_modify_call()
|
/linux-6.6.21/arch/s390/kernel/ |
D | ftrace.c | 146 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 157 if (old != old_addr) in ftrace_modify_call()
|
/linux-6.6.21/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 383 int active, old_addr; in snd_saa7134_capsrc_set() local 393 old_addr = chip->capture_source_addr; in snd_saa7134_capsrc_set() 397 change = old_addr != addr || in snd_saa7134_capsrc_set() 476 if (old_addr != MIXER_ADDR_UNSELECTED && old_addr != addr) in snd_saa7134_capsrc_set() 479 &chip->capture_ctl[old_addr]->id); in snd_saa7134_capsrc_set()
|
/linux-6.6.21/kernel/bpf/ |
D | trampoline.c | 174 static int unregister_fentry(struct bpf_trampoline *tr, void *old_addr) in unregister_fentry() argument 180 ret = unregister_ftrace_direct(tr->fops, (long)old_addr, false); in unregister_fentry() 182 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, NULL); in unregister_fentry() 187 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr, in modify_fentry() argument 199 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry()
|
/linux-6.6.21/drivers/media/rc/ |
D | nuvoton-cir.c | 154 unsigned long old_addr; in nvt_set_ioaddr() local 156 old_addr = nvt_cr_read(nvt, CR_CIR_BASE_ADDR_HI) << 8; in nvt_set_ioaddr() 157 old_addr |= nvt_cr_read(nvt, CR_CIR_BASE_ADDR_LO); in nvt_set_ioaddr() 159 if (old_addr) in nvt_set_ioaddr() 160 *ioaddr = old_addr; in nvt_set_ioaddr()
|
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 167 unsigned char old_addr[ETH_ALEN]; in qtnf_netdev_set_mac_address() local 169 memcpy(old_addr, sa->sa_data, sizeof(old_addr)); in qtnf_netdev_set_mac_address() 182 eth_hw_addr_set(ndev, old_addr); in qtnf_netdev_set_mac_address()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_main.c | 234 u8 old_addr[ETH_ALEN]; in txgbe_reset() local 243 memcpy(old_addr, &wx->mac_table[0].addr, netdev->addr_len); in txgbe_reset() 245 wx_mac_set_default_filter(wx, old_addr); in txgbe_reset()
|