/Linux-v5.10/mm/ |
D | mremap.c | 116 unsigned long old_addr, unsigned long old_end, in move_ptes() argument 124 unsigned long len = old_end - old_addr; in move_ptes() 151 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes() 159 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes() 164 pte = ptep_get_and_clear(mm, old_addr, old_pte); in move_ptes() 178 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes() 195 static bool move_normal_pmd(struct vm_area_struct *vma, unsigned long old_addr, in move_normal_pmd() argument 245 flush_tlb_range(vma, old_addr, old_addr + PMD_SIZE); in move_normal_pmd() 255 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument 263 old_end = old_addr + len; in move_page_tables() [all …]
|
/Linux-v5.10/arch/sh/kernel/ |
D | ftrace.c | 266 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() argument 274 if (old_addr != __raw_readl((unsigned long *)code)) in ftrace_mod() 283 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local 286 old_addr = (unsigned long)(&skip_trace); in ftrace_enable_ftrace_graph_caller() 289 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller() 294 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local 297 old_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_disable_ftrace_graph_caller() 300 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
|
/Linux-v5.10/net/sched/ |
D | act_nat.c | 86 p->old_addr = parm->old_addr; in tcf_nat_init() 107 __be32 old_addr; in tcf_nat_act() local 119 old_addr = p->old_addr; in tcf_nat_act() 143 if (!((old_addr ^ addr) & mask)) { in tcf_nat_act() 220 if ((old_addr ^ addr) & mask) in tcf_nat_act() 270 opt.old_addr = p->old_addr; in tcf_nat_dump()
|
/Linux-v5.10/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-v5.10/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 | 548 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument 555 block = old_addr / part->block_size; in mark_sector_deleted() 556 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted() 604 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument 617 rc = find_writable_block(part, old_addr); in do_writesect() 673 u_long old_addr; in rfd_ftl_writesect() local 689 old_addr = part->sector_map[sector]; in rfd_ftl_writesect() 695 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect() 704 if (old_addr != -1) in rfd_ftl_writesect() 705 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
|
/Linux-v5.10/drivers/firmware/efi/libstub/ |
D | file.c | 191 unsigned long old_addr = alloc_addr; in handle_cmdline_files() local 207 if (old_addr != 0) { in handle_cmdline_files() 214 memcpy((void *)alloc_addr, (void *)old_addr, alloc_size); in handle_cmdline_files() 215 efi_free(alloc_size, old_addr); in handle_cmdline_files()
|
/Linux-v5.10/kernel/bpf/ |
D | trampoline.c | 122 static int unregister_fentry(struct bpf_trampoline *tr, void *old_addr) in unregister_fentry() argument 128 ret = unregister_ftrace_direct((long)ip, (long)old_addr); in unregister_fentry() 130 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, NULL); in unregister_fentry() 134 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr) in modify_fentry() argument 140 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry() 142 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry()
|
/Linux-v5.10/include/linux/ |
D | ftrace.h | 287 int modify_ftrace_direct(unsigned long ip, unsigned long old_addr, unsigned long new_addr); 291 unsigned long old_addr, 305 unsigned long old_addr, unsigned long new_addr) in modify_ftrace_direct() argument 315 unsigned long old_addr, in ftrace_modify_direct_caller() argument 695 extern int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, 699 static inline int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
|
/Linux-v5.10/arch/parisc/kernel/ |
D | cache.c | 329 unsigned long addr, old_addr = 0; in flush_dcache_page() local 364 if (old_addr == 0 || (old_addr & (SHM_COLOUR - 1)) in flush_dcache_page() 367 if (parisc_requires_coherency() && old_addr) in flush_dcache_page() 368 …printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %pD\n", old_addr, addr, mpnt->vm_fil… in flush_dcache_page() 369 old_addr = addr; in flush_dcache_page()
|
D | ftrace.c | 107 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
|
/Linux-v5.10/arch/riscv/kernel/ |
D | ftrace.c | 138 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 144 make_call(rec->ip, old_addr, call); in ftrace_modify_call()
|
/Linux-v5.10/arch/powerpc/kernel/trace/ |
D | ftrace.c | 714 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument 742 entry = ppc_global_function_entry((void *)old_addr); 807 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument 818 if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) { 820 old = ftrace_call_replace(ip, old_addr, 1); 840 return __ftrace_modify_call(rec, old_addr, addr);
|
/Linux-v5.10/arch/arm/kernel/ |
D | ftrace.c | 137 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 143 old = ftrace_call_replace(ip, adjust_address(rec, old_addr)); in ftrace_modify_call()
|
/Linux-v5.10/include/net/tc_act/ |
D | tc_nat.h | 11 __be32 old_addr; member
|
/Linux-v5.10/include/uapi/linux/tc_act/ |
D | tc_nat.h | 21 __be32 old_addr; member
|
/Linux-v5.10/arch/arm64/kernel/ |
D | ftrace.c | 128 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 134 old = aarch64_insn_gen_branch_imm(pc, old_addr, in ftrace_modify_call()
|
/Linux-v5.10/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 285 struct mac_address *old_addr, *tmp; in set_multi() local 293 list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { in set_multi() 294 addr = (enet_addr_t *)old_addr->addr; in set_multi() 299 list_del(&old_addr->list); in set_multi() 300 kfree(old_addr); in set_multi()
|
/Linux-v5.10/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-v5.10/kernel/ |
D | kexec_core.c | 753 unsigned long old_addr; in kimage_alloc_page() local 756 old_addr = *old & PAGE_MASK; in kimage_alloc_page() 757 old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page() 770 addr = old_addr; in kimage_alloc_page()
|
/Linux-v5.10/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-v5.10/arch/s390/kernel/ |
D | ftrace.c | 75 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
|
/Linux-v5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 182 unsigned char old_addr[ETH_ALEN]; in qtnf_netdev_set_mac_address() local 184 memcpy(old_addr, sa->sa_data, sizeof(old_addr)); in qtnf_netdev_set_mac_address() 197 memcpy(ndev->dev_addr, old_addr, ETH_ALEN); in qtnf_netdev_set_mac_address()
|
/Linux-v5.10/arch/csky/kernel/ |
D | ftrace.c | 144 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
|
/Linux-v5.10/drivers/dma/ppc4xx/ |
D | adma.c | 823 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count() local 826 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count() 832 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count() 844 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count() 848 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count() 852 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count() 856 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count() 1273 char *old_addr = page_address(ppc440spe_rxor_srcs[i - 1]); in ppc440spe_can_rxor() local 1277 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor() 1281 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor() [all …]
|