Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 19 of 19) sorted by relevance

/linux-3.4.99/mm/
Dmremap.c72 unsigned long old_addr, unsigned long old_end, in move_ptes() argument
96 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes()
103 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes()
107 pte = ptep_get_and_clear(mm, old_addr, old_pte); in move_ptes()
108 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
124 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
131 old_end = old_addr + len; in move_page_tables()
132 flush_cache_range(vma, old_addr, old_end); in move_page_tables()
134 mmu_notifier_invalidate_range_start(vma->vm_mm, old_addr, old_end); in move_page_tables()
136 for (; old_addr < old_end; old_addr += extent, new_addr += extent) { in move_page_tables()
[all …]
Dhuge_memory.c1077 unsigned long old_addr, in move_huge_pmd() argument
1086 if ((old_addr & ~HPAGE_PMD_MASK) || in move_huge_pmd()
1088 old_end - old_addr < HPAGE_PMD_SIZE || in move_huge_pmd()
1103 pmd = pmdp_get_and_clear(mm, old_addr, old_pmd); in move_huge_pmd()
/linux-3.4.99/arch/sh/kernel/
Dftrace.c288 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() argument
296 if (old_addr != __raw_readl((unsigned long *)code)) in ftrace_mod()
305 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local
308 old_addr = (unsigned long)(&skip_trace); in ftrace_enable_ftrace_graph_caller()
311 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller()
316 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local
319 old_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_disable_ftrace_graph_caller()
322 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
/linux-3.4.99/net/sched/
Dact_nat.c84 p->old_addr = parm->old_addr; in tcf_nat_init()
110 __be32 old_addr; in tcf_nat() local
122 old_addr = p->old_addr; in tcf_nat()
146 if (!((old_addr ^ addr) & mask)) { in tcf_nat()
230 if ((old_addr ^ addr) & mask) in tcf_nat()
275 .old_addr = p->old_addr, in tcf_nat_dump()
/linux-3.4.99/drivers/mtd/
Dftl.c839 uint32_t old_addr; in set_bam_entry() local
855 (u_char *)&old_addr); in set_bam_entry()
860 old_addr = le32_to_cpu(old_addr); in set_bam_entry()
862 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
863 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry()
864 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry()
869 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
877 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry()
884 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry()
905 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local
[all …]
Drfd_ftl.c583 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument
590 block = old_addr / part->block_size; in mark_sector_deleted()
591 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted()
640 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument
653 rc = find_writable_block(part, old_addr); in do_writesect()
711 u_long old_addr; in rfd_ftl_writesect() local
727 old_addr = part->sector_map[sector]; in rfd_ftl_writesect()
733 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect()
742 if (old_addr != -1) in rfd_ftl_writesect()
743 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
/linux-3.4.99/arch/parisc/kernel/
Dcache.c281 unsigned long addr, old_addr = 0; in flush_dcache_page() local
316 if (old_addr == 0 || (old_addr & (SHMLBA - 1)) != (addr & (SHMLBA - 1))) { in flush_dcache_page()
318 if (old_addr) in flush_dcache_page()
319 …printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %s\n", old_addr, addr, mpnt->vm_file… in flush_dcache_page()
320 old_addr = addr; in flush_dcache_page()
/linux-3.4.99/arch/powerpc/boot/
Dmain.c116 void *old_addr = (void *)initrd_addr; in prep_initrd() local
125 initrd_addr, old_addr, initrd_size); in prep_initrd()
126 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
/linux-3.4.99/include/linux/tc_act/
Dtc_nat.h21 __be32 old_addr; member
/linux-3.4.99/include/net/tc_act/
Dtc_nat.h10 __be32 old_addr; member
/linux-3.4.99/drivers/media/video/saa7134/
Dsaa7134-alsa.c330 int active, old_addr; in snd_saa7134_capsrc_set() local
340 old_addr = chip->capture_source_addr; in snd_saa7134_capsrc_set()
344 change = old_addr != addr || in snd_saa7134_capsrc_set()
423 if (old_addr != MIXER_ADDR_UNSELECTED && old_addr != addr) in snd_saa7134_capsrc_set()
426 &chip->capture_ctl[old_addr]->id); in snd_saa7134_capsrc_set()
/linux-3.4.99/kernel/events/
Dhw_breakpoint.c451 u64 old_addr = bp->attr.bp_addr; in modify_user_hw_breakpoint() local
470 bp->attr.bp_addr = old_addr; in modify_user_hw_breakpoint()
/linux-3.4.99/kernel/
Dkexec.c751 unsigned long old_addr; in kimage_alloc_page() local
754 old_addr = *old & PAGE_MASK; in kimage_alloc_page()
755 old_page = pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page()
768 addr = old_addr; in kimage_alloc_page()
/linux-3.4.99/include/linux/
Dhuge_mm.h27 unsigned long old_addr,
Dmm.h1049 unsigned long old_addr, struct vm_area_struct *new_vma,
/linux-3.4.99/drivers/dma/ppc4xx/
Dadma.c1072 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count() local
1075 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count()
1081 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count()
1093 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count()
1097 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count()
1101 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count()
1105 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count()
1522 char *old_addr = page_address(ppc440spe_rxor_srcs[i - 1]); in ppc440spe_can_rxor() local
1526 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor()
1530 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor()
[all …]
/linux-3.4.99/arch/sparc/include/asm/
Dpgtable_64.h696 #define move_pte(pte, prot, old_addr, new_addr) \ argument
703 (((old_addr) ^ (new_addr)) & (1 << 13))) \
/linux-3.4.99/include/asm-generic/
Dpgtable.h217 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
/linux-3.4.99/drivers/staging/bcm/
DPHSModule.c1496 unsigned char *old_addr = out_buf; in phs_compress() local
1522 *old_addr = (unsigned char)phs_rule->u8PHSI; in phs_compress()
1527 *old_addr = ZERO_PHSI; in phs_compress()