/arch/riscv/kernel/ |
D | kernel_mode_vector.c | 28 int orig; in riscv_v_start() local 30 orig = riscv_v_flags(); in riscv_v_start() 31 BUG_ON((orig & flags) != 0); in riscv_v_start() 32 riscv_v_flags_set(orig | flags); in riscv_v_start() 38 int orig; in riscv_v_stop() local 41 orig = riscv_v_flags(); in riscv_v_stop() 42 BUG_ON((orig & flags) == 0); in riscv_v_stop() 43 riscv_v_flags_set(orig & ~flags); in riscv_v_stop()
|
/arch/sparc/mm/ |
D | tlb.c | 113 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() 143 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add() 171 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument 176 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct() 191 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct() 207 if (!pmd_none(orig)) { in __set_pmd_acct() 209 if (pmd_trans_huge(orig)) { in __set_pmd_acct() 210 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct() [all …]
|
D | hugetlbpage.c | 336 pte_t orig; in __set_huge_pte_at() local 354 orig = *ptep; in __set_huge_pte_at() 355 orig_shift = pte_none(orig) ? PAGE_SHIFT : huge_tte_to_shift(orig); in __set_huge_pte_at() 360 maybe_tlb_batch_add(mm, addr, ptep, orig, 0, orig_shift); in __set_huge_pte_at() 363 maybe_tlb_batch_add(mm, addr + REAL_HPAGE_SIZE, ptep, orig, 0, in __set_huge_pte_at()
|
/arch/mips/generic/ |
D | board-sead3.c | 184 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/ |
D | opt-arm.c | 182 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/ |
D | bitops.h | 183 unsigned long res, orig; in test_and_set_bit_lock() local 188 orig = __test_bit_op(*m, "%0", in test_and_set_bit_lock() 191 res = (orig & BIT(bit)) != 0; in test_and_set_bit_lock() 227 unsigned long res, orig; in test_and_clear_bit() local 239 orig = __test_bit_op(*m, "%0", in test_and_clear_bit() 243 res = (orig & BIT(bit)) != 0; in test_and_clear_bit() 264 unsigned long res, orig; in test_and_change_bit() local 271 orig = __test_bit_op(*m, "%0", in test_and_change_bit() 274 res = (orig & BIT(bit)) != 0; in test_and_change_bit()
|
/arch/x86/kernel/ |
D | resource.c | 33 struct resource orig = *avail; in remove_e820_regions() local 44 if (orig.start != avail->start || orig.end != avail->end) { in remove_e820_regions() 55 orig = *avail; in remove_e820_regions()
|
/arch/arc/include/asm/ |
D | atomic-llsc.h | 48 unsigned int val, orig; \ 56 [orig] "=&r" (orig) \ 61 return orig; \
|
D | atomic-spinlock.h | 63 unsigned int orig; \ 69 orig = v->counter; \ 73 return orig; \
|
D | atomic64-arcv2.h | 91 s64 val, orig; \ 100 : "=&r"(orig), "=&r"(val) \ 104 return orig; \
|
/arch/mips/n64/ |
D | init.c | 88 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/ |
D | strlen.S | 75 #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/ |
D | smsc_fdc37m81x.c | 135 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/ |
D | vma.c | 116 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/loongarch/include/asm/ |
D | alternative-asm.h | 15 .macro altinstruction_entry orig alt feature orig_len alt_len 16 .long \orig - .
|
/arch/s390/kernel/ |
D | ftrace.c | 82 static const char orig[6] = { 0xc0, 0x04, 0x00, 0x00, 0x00, 0x00 }; in ftrace_init_nop() local 110 if (WARN_ON_ONCE(memcmp((const void *)rec->ip, &orig, sizeof(orig)))) in ftrace_init_nop()
|
D | uprobes.c | 147 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/ |
D | sys_sio.c | 263 unsigned char orig, config; in alphabook1_init_pci() local 302 outb(0x0f, 0x3ce); orig = inb(0x3cf); /* read PR5 */ in alphabook1_init_pci() 310 outb(0x0f, 0x3ce); outb(orig, 0x3cf); /* (re)lock PR0-4 */ in alphabook1_init_pci()
|
/arch/m68k/fpsp040/ |
D | x_fline.S | 68 cmpib #VER_40,(%a7) |test for orig unimp frame 70 subl #UNIMP_40_SIZE-4,%a7 |emulate an orig fsave
|
D | gen_except.S | 60 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
|
/arch/x86/kvm/ |
D | cpuid.c | 173 struct kvm_cpuid_entry2 *orig; in kvm_cpuid_check_equal() local 180 orig = &vcpu->arch.cpuid_entries[i]; in kvm_cpuid_check_equal() 181 if (e2[i].function != orig->function || in kvm_cpuid_check_equal() 182 e2[i].index != orig->index || in kvm_cpuid_check_equal() 183 e2[i].flags != orig->flags || in kvm_cpuid_check_equal() 184 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal() 185 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal()
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 895 pte_t *ptep, pte_t orig, int fullmm, 899 pte_t *ptep, pte_t orig, int fullmm, in maybe_tlb_batch_add() argument 908 if (likely(mm != &init_mm) && pte_accessible(mm, orig)) in maybe_tlb_batch_add() 909 tlb_batch_add(mm, vaddr, ptep, orig, fullmm, hugepage_shift); in maybe_tlb_batch_add() 925 pte_t orig = *ptep; in __set_pte_at() local 928 maybe_tlb_batch_add(mm, addr, ptep, orig, fullmm, PAGE_SHIFT); in __set_pte_at()
|
/arch/x86/include/asm/ |
D | alternative.h | 365 .macro altinstr_entry orig alt ft_flags orig_len alt_len 366 .long \orig - .
|
/arch/arc/kernel/ |
D | entry-arcv2.S | 203 ; Exception in U mode, preempted in kernel, Intr taken (K mode), orig 229 ; (since IRQ NOT allowed in DS in ARCv2, this can only happen if orig
|
/arch/x86/xen/ |
D | enlighten_pv.c | 682 void (*orig)(void); member 688 .orig = asm_##func, \ 693 .orig = asm_##func, \ 744 if (*addr == entry->orig) { in get_trap_addr()
|