/Linux-v5.10/tools/testing/selftests/powerpc/mm/ |
D | pkey_exec_prot.c | 26 static volatile unsigned int *fault_addr; variable 33 if (sinfo->si_addr != (void *) fault_addr) in trap_handler() 47 if (sinfo->si_addr != (void *) fault_addr) { in segv_handler() 162 fault_addr = insns; in test() 180 printf("read from %p, pkey permissions are %s\n", fault_addr, in test() 182 i = *fault_addr; in test() 197 printf("write to %p, pkey permissions are %s\n", fault_addr, in test() 199 *fault_addr = PPC_INST_TRAP; in test() 218 printf("read from %p, pkey permissions are %s\n", fault_addr, in test() 220 i = *fault_addr; in test() [all …]
|
D | pkey_siginfo.c | 32 static volatile unsigned int *volatile fault_addr; variable 50 if (sinfo->si_addr != (void *) fault_addr) { in segv_handler() 68 pgstart = (void *) ((unsigned long) fault_addr & ~(pgsize - 1)); in segv_handler() 179 fault_addr = base + (rand() % numinsns); in protect_access() 190 FAIL_IF_EXIT(*fault_addr != PPC_INST_NOP && in protect_access() 191 *fault_addr != PPC_INST_BLR); in protect_access() 200 *fault_addr = PPC_INST_BLR; in protect_access() 201 FAIL_IF_EXIT(*fault_addr != PPC_INST_BLR); in protect_access() 209 : : "r"(fault_addr) : "ctr", "lr"); in protect_access()
|
D | bad_accesses.c | 29 static volatile unsigned long fault_addr; variable 35 fault_addr = (unsigned long)info->si_addr; in segv_handler() 44 fault_addr = 0; in bad_access() 60 (fault_addr < PAGE_OFFSET || fault_addr >= kernel_virt_end)); in bad_access()
|
/Linux-v5.10/arch/x86/mm/ |
D | extable.c | 30 unsigned long fault_addr) in ex_handler_default() argument 40 unsigned long fault_addr) in ex_handler_fault() argument 61 unsigned long fault_addr) in ex_handler_fprestore() argument 76 unsigned long fault_addr) in ex_handler_uaccess() argument 87 unsigned long fault_addr) in ex_handler_copy() argument 99 unsigned long fault_addr) in ex_handler_rdmsr_unsafe() argument 116 unsigned long fault_addr) in ex_handler_wrmsr_unsafe() argument 132 unsigned long fault_addr) in ex_handler_clear_fs() argument 137 return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr); in ex_handler_clear_fs() 159 unsigned long fault_addr) in fixup_exception() argument [all …]
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | uaccess.h | 56 #define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\ argument 58 ".word (" #fault_addr " - .), (" #except_addr " - .)\n\t" \ 67 #define ASM_EXCEPTIONTABLE_ENTRY_EFAULT( fault_addr, except_addr )\ argument 68 ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr + 1)
|
D | assembly.h | 506 #define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \ argument 508 .word (fault_addr - .), (except_addr - .) ! \
|
/Linux-v5.10/arch/mips/include/asm/ |
D | fpu_emulator.h | 170 void __user **fault_addr); 171 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, 173 int process_fpemu_return(int sig, void __user *fault_addr,
|
/Linux-v5.10/arch/um/include/asm/ |
D | processor-generic.h | 25 void *fault_addr; member 51 .fault_addr = NULL, \
|
/Linux-v5.10/arch/mips/kernel/ |
D | traps.c | 762 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, in force_fcr31_sig() argument 778 force_sig_fault_to_task(SIGFPE, si_code, fault_addr, tsk); in force_fcr31_sig() 781 int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) in process_fpemu_return() argument 791 force_fcr31_sig(fcr31, fault_addr, current); in process_fpemu_return() 795 force_sig_fault(SIGBUS, BUS_ADRERR, fault_addr); in process_fpemu_return() 800 vma = find_vma(current->mm, (unsigned long)fault_addr); in process_fpemu_return() 801 if (vma && (vma->vm_start <= (unsigned long)fault_addr)) in process_fpemu_return() 806 force_sig_fault(SIGSEGV, si_code, fault_addr); in process_fpemu_return() 819 void __user *fault_addr; in simulate_fp() local 846 &fault_addr); in simulate_fp() [all …]
|
D | unaligned.c | 442 void __user *fault_addr = NULL; in emulate_load_store_insn() local 448 &fault_addr); in emulate_load_store_insn() 452 process_fpemu_return(res, fault_addr, 0); in emulate_load_store_insn() 956 void __user *fault_addr = NULL; in emulate_load_store_microMIPS() local 968 &fault_addr); in emulate_load_store_microMIPS() 972 process_fpemu_return(res, fault_addr, 0); in emulate_load_store_microMIPS()
|
D | mips-r2-to-r6-emul.c | 913 void __user *fault_addr = NULL; in mipsr2_decoder() local 1179 &fault_addr); in mipsr2_decoder() 1199 current->thread.cp0_baduaddr = (unsigned long)fault_addr; in mipsr2_decoder()
|
/Linux-v5.10/arch/mips/math-emu/ |
D | cp1emu.c | 972 struct mm_decoded_insn dec_insn, void __user **fault_addr) in cop1Emulate() argument 1056 *fault_addr = dva; in cop1Emulate() 1061 *fault_addr = dva; in cop1Emulate() 1074 *fault_addr = dva; in cop1Emulate() 1079 *fault_addr = dva; in cop1Emulate() 1090 *fault_addr = wva; in cop1Emulate() 1095 *fault_addr = wva; in cop1Emulate() 1108 *fault_addr = wva; in cop1Emulate() 1113 *fault_addr = wva; in cop1Emulate() 1363 sig = fpux_emu(xcp, ctx, ir, fault_addr); in cop1Emulate() [all …]
|
/Linux-v5.10/arch/x86/kernel/cpu/mce/ |
D | internal.h | 192 unsigned long fault_addr); 197 unsigned long fault_addr);
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | dtl.h | 18 __be64 fault_addr; member
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gt.c | 246 u64 fault_addr; in gen8_check_faults() local 251 fault_addr = ((u64)(fault_data1 & FAULT_VA_HIGH_BITS) << 44) | in gen8_check_faults() 260 upper_32_bits(fault_addr), lower_32_bits(fault_addr), in gen8_check_faults()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | extable.h | 40 unsigned long error_code, unsigned long fault_addr);
|
/Linux-v5.10/drivers/scsi/cxlflash/ |
D | ocxl_hw.h | 69 u64 fault_addr; /* Address that triggered the fault */ member
|
/Linux-v5.10/drivers/iommu/ |
D | exynos-iommu.c | 389 sysmmu_iova_t fault_addr) in show_fault_information() argument 394 dev_name(data->master), finfo->name, fault_addr); in show_fault_information() 396 ent = section_entry(phys_to_virt(data->pgtable), fault_addr); in show_fault_information() 399 ent = page_entry(ent, fault_addr); in show_fault_information() 410 sysmmu_iova_t fault_addr = -1; in exynos_sysmmu_irq() local 440 fault_addr = readl(data->sfrbase + finfo->addr_reg); in exynos_sysmmu_irq() 441 show_fault_information(data, finfo, fault_addr); in exynos_sysmmu_irq() 445 data->master, fault_addr, finfo->type); in exynos_sysmmu_irq()
|
D | omap-iommu.c | 234 u32 status, fault_addr; in iommu_report_fault() local 243 fault_addr = iommu_read_reg(obj, MMU_FAULT_AD); in iommu_report_fault() 244 *da = fault_addr; in iommu_report_fault()
|
/Linux-v5.10/arch/um/kernel/ |
D | trap.c | 242 current->thread.fault_addr = (void *) address; in segv() 245 else if (current->thread.fault_addr != NULL) in segv()
|
/Linux-v5.10/arch/s390/kvm/ |
D | vsie.c | 40 unsigned long fault_addr; /* 0x0228 */ member 922 vsie_page->fault_addr = current->thread.gmap_addr; in handle_fault() 936 if (vsie_page->fault_addr) in handle_last_fault() 938 vsie_page->fault_addr); in handle_last_fault() 939 vsie_page->fault_addr = 0; in handle_last_fault() 1269 vsie_page->fault_addr = 0; in get_vsie_page()
|
/Linux-v5.10/arch/sparc/mm/ |
D | fault_64.c | 158 unsigned long fault_addr, unsigned int insn, in do_fault_siginfo() argument 173 addr = fault_addr; in do_fault_siginfo()
|
/Linux-v5.10/include/uapi/linux/ |
D | idxd.h | 182 uint64_t fault_addr; member
|
/Linux-v5.10/drivers/dma/idxd/ |
D | registers.h | 253 u64 fault_addr; member
|
/Linux-v5.10/drivers/misc/cxl/ |
D | fault.c | 105 ctx->fault_addr = ctx->dar; in cxl_ack_ae()
|