Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 28) sorted by relevance

12

/arch/sparc/mm/
Dtlb.c113 pte_t *ptep, pte_t orig, int fullmm, in tlb_batch_add() argument
117 pte_dirty(orig)) { in tlb_batch_add()
118 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add()
141 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add()
167 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument
172 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct()
187 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct()
203 if (!pmd_none(orig)) { in __set_pmd_acct()
205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
206 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct()
[all …]
Dhugetlbpage.c335 pte_t orig; in set_huge_pte_at() local
353 orig = *ptep; in set_huge_pte_at()
354 orig_shift = pte_none(orig) ? PAGE_SHIFT : huge_tte_to_shift(orig); in set_huge_pte_at()
359 maybe_tlb_batch_add(mm, addr, ptep, orig, 0, orig_shift); in set_huge_pte_at()
362 maybe_tlb_batch_add(mm, addr + REAL_HPAGE_SIZE, ptep, orig, 0, in set_huge_pte_at()
/arch/mips/generic/
Dboard-sead3.c184 unsigned int freq, orig, tick = 0; in sead3_measure_hpt_freq() local
189 orig = readl(status_reg) & 0x2; /* get original sample */ in sead3_measure_hpt_freq()
191 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq()
193 orig = orig ^ 0x2; /* flip the bit */ in sead3_measure_hpt_freq()
200 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq()
202 orig = orig ^ 0x2; /* flip the bit */ in sead3_measure_hpt_freq()
/arch/arm/probes/kprobes/
Dopt-arm.c182 int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *orig) in NOKPROBE_SYMBOL()
189 if (!can_optimize(orig)) in NOKPROBE_SYMBOL()
222 (long)orig->addr + 8) & 0xfe000003; in NOKPROBE_SYMBOL()
239 BUG_ON(orig->ainsn.stack_space < 0); in NOKPROBE_SYMBOL()
241 stack_protect += orig->ainsn.stack_space; in NOKPROBE_SYMBOL()
260 orig->ainsn.kprobe_direct_exec = false; in NOKPROBE_SYMBOL()
261 if (can_kprobe_direct_exec(orig->ainsn.register_usage_flags)) { in NOKPROBE_SYMBOL()
273 code[TMPL_RESTORE_ORIGN_INSN] = __opcode_to_mem_arm(orig->opcode); in NOKPROBE_SYMBOL()
277 orig->ainsn.kprobe_direct_exec = true; in NOKPROBE_SYMBOL()
/arch/mips/include/asm/
Dbitops.h185 unsigned long res, orig; in test_and_set_bit_lock() local
190 orig = __test_bit_op(*m, "%0", in test_and_set_bit_lock()
193 res = (orig & BIT(bit)) != 0; in test_and_set_bit_lock()
229 unsigned long res, orig; in test_and_clear_bit() local
241 orig = __test_bit_op(*m, "%0", in test_and_clear_bit()
245 res = (orig & BIT(bit)) != 0; in test_and_clear_bit()
266 unsigned long res, orig; in test_and_change_bit() local
273 orig = __test_bit_op(*m, "%0", in test_and_change_bit()
276 res = (orig & BIT(bit)) != 0; in test_and_change_bit()
/arch/x86/include/asm/
Dpgtable-3level.h176 union split_pmd res, *orig = (union split_pmd *)pmdp; in native_pmdp_get_and_clear() local
179 res.pmd_low = xchg(&orig->pmd_low, 0); in native_pmdp_get_and_clear()
180 res.pmd_high = orig->pmd_high; in native_pmdp_get_and_clear()
181 orig->pmd_high = 0; in native_pmdp_get_and_clear()
234 union split_pud res, *orig = (union split_pud *)pudp; in native_pudp_get_and_clear() local
241 res.pud_low = xchg(&orig->pud_low, 0); in native_pudp_get_and_clear()
242 res.pud_high = orig->pud_high; in native_pudp_get_and_clear()
243 orig->pud_high = 0; in native_pudp_get_and_clear()
Dalternative.h314 .macro altinstruction_entry orig alt feature orig_len alt_len
315 .long \orig - .
/arch/arc/include/asm/
Datomic-llsc.h48 unsigned int val, orig; \
56 [orig] "=&r" (orig) \
61 return orig; \
Datomic-spinlock.h63 unsigned int orig; \
69 orig = v->counter; \
73 return orig; \
Datomic64-arcv2.h91 s64 val, orig; \
100 : "=&r"(orig), "=&r"(val) \
104 return orig; \
Dentry.h138 ; Retrieve orig r25 and save it with rest of callee_regs
/arch/mips/n64/
Dinit.c88 void *orig; in n64_platform_init() local
122 orig = kzalloc(W * H * 2 + 63, GFP_DMA | GFP_KERNEL); in n64_platform_init()
123 if (!orig) in n64_platform_init()
125 phys = virt_to_phys(orig); in n64_platform_init()
/arch/ia64/lib/
Dstrlen.S75 #define orig r17 macro
91 mov orig=in0 // keep trackof initial byte address
145 sub ret0=src,orig // distance from base
187 sub ret0=base,orig // distance from base
/arch/mips/txx9/generic/
Dsmsc_fdc37m81x.c135 u8 orig; in smsc_fdc37m81x_config_dump() local
140 orig = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DNUM); in smsc_fdc37m81x_config_dump()
165 smsc_dc37m81x_wr(SMSC_FDC37M81X_DNUM, orig); in smsc_fdc37m81x_config_dump()
/arch/sparc/vdso/
Dvma.c116 static int patchsym64(struct vdso_elfinfo *_e, const char *orig, in patchsym64() argument
120 Elf64_Sym *osym = find_sym64(e, orig); in patchsym64()
184 static int patchsym32(struct vdso_elfinfo *_e, const char *orig, in patchsym32() argument
188 Elf32_Sym *osym = find_sym32(e, orig); in patchsym32()
213 static int patch_one_symbol(struct vdso_elfinfo *e, const char *orig, in patch_one_symbol() argument
217 return patchsym64(e, orig, new_target); in patch_one_symbol()
219 return patchsym32(e, orig, new_target); in patch_one_symbol()
/arch/s390/kernel/
Dftrace.c115 static const char orig[6] = { 0xc0, 0x04, 0x00, 0x00, 0x00, 0x00 }; in ftrace_init_nop() local
143 if (WARN_ON_ONCE(memcmp((const void *)rec->ip, &orig, sizeof(orig)))) in ftrace_init_nop()
Duprobes.c147 unsigned long orig; in arch_uretprobe_hijack_return_addr() local
149 orig = regs->gprs[14]; in arch_uretprobe_hijack_return_addr()
151 return orig; in arch_uretprobe_hijack_return_addr()
/arch/alpha/kernel/
Dsys_sio.c261 unsigned char orig, config; in alphabook1_init_pci() local
300 outb(0x0f, 0x3ce); orig = inb(0x3cf); /* read PR5 */ in alphabook1_init_pci()
308 outb(0x0f, 0x3ce); outb(orig, 0x3cf); /* (re)lock PR0-4 */ in alphabook1_init_pci()
/arch/m68k/fpsp040/
Dx_fline.S68 cmpib #VER_40,(%a7) |test for orig unimp frame
70 subl #UNIMP_40_SIZE-4,%a7 |emulate an orig fsave
Dgen_except.S60 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
102 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
280 cmpib #VER_40,(%a7) |test for orig unimp frame
331 moveql #13,%d0 |in orig, need to zero 14 lwords
Dx_snan.S90 cmpib #VER_40,(%a7) |test for orig unimp frame
118 cmpib #VER_40,(%a7) |test for orig unimp frame
/arch/sparc/include/asm/
Dpgtable_64.h893 pte_t *ptep, pte_t orig, int fullmm,
897 pte_t *ptep, pte_t orig, int fullmm, in maybe_tlb_batch_add() argument
906 if (likely(mm != &init_mm) && pte_accessible(mm, orig)) in maybe_tlb_batch_add()
907 tlb_batch_add(mm, vaddr, ptep, orig, fullmm, hugepage_shift); in maybe_tlb_batch_add()
923 pte_t orig = *ptep; in __set_pte_at() local
926 maybe_tlb_batch_add(mm, addr, ptep, orig, fullmm, PAGE_SHIFT); in __set_pte_at()
/arch/arc/kernel/
Dentry-arcv2.S218 ; Exception in U mode, preempted in kernel, Intr taken (K mode), orig
244 ; (since IRQ NOT allowed in DS in ARCv2, this can only happen if orig
Dentry.S172 ; Tracing code now returns the syscall num (orig or modif)
/arch/x86/xen/
Denlighten_pv.c587 void (*orig)(void); member
593 .orig = asm_##func, \
598 .orig = asm_##func, \
646 if (*addr == entry->orig) { in get_trap_addr()

12