/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-4.19/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 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument 204 old_end = old_addr + len; in move_page_tables() 205 flush_cache_range(vma, old_addr, old_end); in move_page_tables() 207 mmun_start = old_addr; in move_page_tables() [all …]
|
/kernel/linux/linux-4.19/kernel/livepatch/ |
D | patch.c | 37 struct klp_ops *klp_find_ops(unsigned long old_addr) in klp_find_ops() argument 45 if (func->old_addr == old_addr) in klp_find_ops() 145 if (WARN_ON(!func->old_addr)) in klp_unpatch_func() 148 ops = klp_find_ops(func->old_addr); in klp_unpatch_func() 155 ftrace_loc = klp_get_ftrace_location(func->old_addr); in klp_unpatch_func() 177 if (WARN_ON(!func->old_addr)) in klp_patch_func() 183 ops = klp_find_ops(func->old_addr); in klp_patch_func() 187 ftrace_loc = klp_get_ftrace_location(func->old_addr); in klp_patch_func()
|
/kernel/linux/linux-4.19/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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-4.19/net/sched/ |
D | act_nat.c | 83 p->old_addr = parm->old_addr; in tcf_nat_init() 102 __be32 old_addr; in tcf_nat_act() local 114 old_addr = p->old_addr; in tcf_nat_act() 138 if (!((old_addr ^ addr) & mask)) { in tcf_nat_act() 217 if ((old_addr ^ addr) & mask) in tcf_nat_act() 260 .old_addr = p->old_addr, in tcf_nat_dump()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-4.19/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 | 547 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument 554 block = old_addr / part->block_size; in mark_sector_deleted() 555 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted() 603 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument 616 rc = find_writable_block(part, old_addr); in do_writesect() 672 u_long old_addr; in rfd_ftl_writesect() local 688 old_addr = part->sector_map[sector]; in rfd_ftl_writesect() 694 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect() 703 if (old_addr != -1) in rfd_ftl_writesect() 704 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-4.19/arch/powerpc/kernel/trace/ |
D | ftrace.c | 497 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument 525 entry = ppc_global_function_entry((void *)old_addr); 590 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument 601 if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) { 603 old = ftrace_call_replace(ip, old_addr, 1); 617 return __ftrace_modify_call(rec, old_addr, addr);
|
/kernel/linux/linux-4.19/arch/powerpc/boot/ |
D | main.c | 131 void *old_addr = (void *)initrd_addr; in prep_initrd() local 140 initrd_addr, old_addr, initrd_size); in prep_initrd() 141 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | trampoline.c | 102 static int unregister_fentry(struct bpf_trampoline *tr, void *old_addr) in unregister_fentry() argument 108 ret = unregister_ftrace_direct((long)ip, (long)old_addr); in unregister_fentry() 110 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, NULL); in unregister_fentry() 114 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr) in modify_fentry() argument 120 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry() 122 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-4.19/arch/parisc/kernel/ |
D | cache.c | 311 unsigned long addr, old_addr = 0; in flush_dcache_page() local 346 if (old_addr == 0 || (old_addr & (SHM_COLOUR - 1)) in flush_dcache_page() 349 if (old_addr) in flush_dcache_page() 350 …printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %pD\n", old_addr, addr, mpnt->vm_fil… in flush_dcache_page() 351 old_addr = addr; in flush_dcache_page()
|
/kernel/linux/linux-4.19/arch/riscv/kernel/ |
D | ftrace.c | 129 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument 135 make_call(rec->ip, old_addr, call); in ftrace_modify_call()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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);
|
/kernel/linux/linux-5.10/include/net/tc_act/ |
D | tc_nat.h | 11 __be32 old_addr; member
|
/kernel/linux/linux-4.19/include/net/tc_act/ |
D | tc_nat.h | 11 __be32 old_addr; member
|
/kernel/linux/linux-5.10/include/uapi/linux/tc_act/ |
D | tc_nat.h | 21 __be32 old_addr; member
|