/linux-4.4.14/drivers/iommu/ |
D | amd_iommu_v2.c | 77 struct fault { struct 469 static void handle_fault_error(struct fault *fault) in handle_fault_error() argument 473 if (!fault->dev_state->inv_ppr_cb) { in handle_fault_error() 474 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() 478 status = fault->dev_state->inv_ppr_cb(fault->dev_state->pdev, in handle_fault_error() 479 fault->pasid, in handle_fault_error() 480 fault->address, in handle_fault_error() 481 fault->flags); in handle_fault_error() 484 set_pri_tag_status(fault->state, fault->tag, PPR_SUCCESS); in handle_fault_error() 487 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() [all …]
|
/linux-4.4.14/arch/nios2/kernel/ |
D | misaligned.c | 72 unsigned int fault; in handle_unaligned_c() local 85 fault = 0; in handle_unaligned_c() 98 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 111 fault |= __put_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 112 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 116 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 133 fault |= __put_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 134 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() [all …]
|
/linux-4.4.14/arch/arc/kernel/ |
D | unaligned.c | 54 goto fault; \ 69 goto fault; \ 96 goto fault; \ 129 goto fault; \ 163 fault: state->fault = 1; in fixup_load() 183 goto fault; in fixup_store() 195 fault: state->fault = 1; in fixup_store() 229 if (state.fault) in misaligned_fixup() 230 goto fault; in misaligned_fixup() 234 goto fault; in misaligned_fixup() [all …]
|
D | disasm.c | 43 goto fault; in disasm_instr() 56 goto fault; in disasm_instr() 432 fault: state->fault = 1; in disasm_instr()
|
/linux-4.4.14/arch/s390/mm/ |
D | fault.c | 313 static noinline void do_fault_error(struct pt_regs *regs, int fault) in do_fault_error() argument 317 switch (fault) { in do_fault_error() 323 si_code = (fault == VM_FAULT_BADMAP) ? in do_fault_error() 337 if (fault & VM_FAULT_OOM) { in do_fault_error() 342 } else if (fault & VM_FAULT_SIGSEGV) { in do_fault_error() 348 } else if (fault & VM_FAULT_SIGBUS) { in do_fault_error() 382 int fault; in do_exception() local 402 fault = VM_FAULT_BADCONTEXT; in do_exception() 422 fault = VM_FAULT_BADMAP; in do_exception() 431 fault = VM_FAULT_BADMAP; in do_exception() [all …]
|
D | Makefile | 5 obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o maccess.o
|
/linux-4.4.14/arch/powerpc/mm/ |
D | fault.c | 117 unsigned int fault) in do_sigbus() argument 133 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_sigbus() 139 if (fault & VM_FAULT_HWPOISON_LARGE) in do_sigbus() 140 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in do_sigbus() 141 if (fault & VM_FAULT_HWPOISON) in do_sigbus() 149 static int mm_fault_error(struct pt_regs *regs, unsigned long addr, int fault) in mm_fault_error() argument 161 if (!(fault & VM_FAULT_RETRY)) in mm_fault_error() 170 if (!(fault & VM_FAULT_ERROR)) in mm_fault_error() 174 if (fault & VM_FAULT_OOM) { in mm_fault_error() 187 if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) in mm_fault_error() [all …]
|
D | Makefile | 9 obj-y := fault.o mem.o pgtable.o mmap.o \
|
/linux-4.4.14/arch/mips/kernel/ |
D | unaligned.c | 960 goto fault; in emulate_load_store_insn() 973 goto fault; in emulate_load_store_insn() 986 goto fault; in emulate_load_store_insn() 1001 goto fault; in emulate_load_store_insn() 1014 goto fault; in emulate_load_store_insn() 1038 goto fault; in emulate_load_store_insn() 1057 goto fault; in emulate_load_store_insn() 1076 goto fault; in emulate_load_store_insn() 1095 goto fault; in emulate_load_store_insn() 1118 goto fault; in emulate_load_store_insn() [all …]
|
D | r2300_fpu.S | 128 .type fault@function 129 .ent fault 130 fault: li v0, -EFAULT label 132 .end fault
|
D | r4k_fpu.S | 33 PTR .ex\@, fault 361 .type fault@function 362 .ent fault 363 fault: li v0, -EFAULT # failure label 365 .end fault
|
/linux-4.4.14/arch/m68k/mm/ |
D | fault.c | 74 int fault; in do_page_fault() local 139 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 140 pr_debug("handle_mm_fault returns %d\n", fault); in do_page_fault() 142 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 145 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 146 if (fault & VM_FAULT_OOM) in do_page_fault() 148 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 150 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 161 if (fault & VM_FAULT_MAJOR) in do_page_fault() 165 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 7 obj-$(CONFIG_MMU) += cache.o fault.o
|
/linux-4.4.14/arch/arc/mm/ |
D | fault.c | 69 int fault, ret; in do_page_fault() local 140 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 144 if ((fault & VM_FAULT_ERROR) && !(fault & VM_FAULT_RETRY)) in do_page_fault() 152 if (likely(!(fault & VM_FAULT_ERROR))) { in do_page_fault() 155 if (fault & VM_FAULT_MAJOR) { in do_page_fault() 165 if (fault & VM_FAULT_RETRY) { in do_page_fault() 177 if (fault & VM_FAULT_OOM) in do_page_fault() 179 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 181 else if (fault & VM_FAULT_SIGBUS) in do_page_fault()
|
D | Makefile | 9 obj-y := extable.o ioremap.o dma.o fault.o init.o
|
D | tlbex.S | 210 bz do_slow_path_pf ; if no Page Table, do page fault 222 ; (1) x = addr >> PAGE_SHIFT -> masks page-off bits from @fault-addr
|
/linux-4.4.14/include/asm-generic/ |
D | termios-base.h | 20 goto fault; in user_termio_to_kernel_termios() 24 goto fault; in user_termio_to_kernel_termios() 28 goto fault; in user_termio_to_kernel_termios() 32 goto fault; in user_termio_to_kernel_termios() 36 goto fault; in user_termio_to_kernel_termios() 39 goto fault; in user_termio_to_kernel_termios() 43 fault: in user_termio_to_kernel_termios()
|
D | termios.h | 25 goto fault; in user_termio_to_kernel_termios() 29 goto fault; in user_termio_to_kernel_termios() 33 goto fault; in user_termio_to_kernel_termios() 37 goto fault; in user_termio_to_kernel_termios() 41 goto fault; in user_termio_to_kernel_termios() 44 goto fault; in user_termio_to_kernel_termios() 48 fault: in user_termio_to_kernel_termios()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | gdb-stub.c | 517 goto fault; in gdbstub_single_step() 523 goto fault; in gdbstub_single_step() 525 goto fault; in gdbstub_single_step() 528 goto fault; in gdbstub_single_step() 534 goto fault; in gdbstub_single_step() 537 goto fault; in gdbstub_single_step() 544 goto fault; in gdbstub_single_step() 552 goto fault; in gdbstub_single_step() 554 goto fault; in gdbstub_single_step() 564 goto fault; in gdbstub_single_step() [all …]
|
/linux-4.4.14/arch/hexagon/mm/ |
D | vm_fault.c | 54 int fault; in do_page_fault() local 104 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 106 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 110 if (likely(!(fault & VM_FAULT_ERROR))) { in do_page_fault() 112 if (fault & VM_FAULT_MAJOR) in do_page_fault() 116 if (fault & VM_FAULT_RETRY) { in do_page_fault() 133 if (fault & VM_FAULT_OOM) { in do_page_fault() 141 if (fault & VM_FAULT_SIGBUS) { in do_page_fault()
|
/linux-4.4.14/arch/unicore32/mm/ |
D | fault.c | 174 int fault; in __do_pf() local 177 fault = VM_FAULT_BADMAP; in __do_pf() 189 fault = VM_FAULT_BADACCESS; in __do_pf() 197 fault = handle_mm_fault(mm, vma, addr & PAGE_MASK, flags); in __do_pf() 198 return fault; in __do_pf() 204 return fault; in __do_pf() 211 int fault, sig, code; in do_pf() local 254 fault = __do_pf(mm, addr, fsr, flags, tsk); in do_pf() 260 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_pf() 263 if (!(fault & VM_FAULT_ERROR) && (flags & FAULT_FLAG_ALLOW_RETRY)) { in do_pf() [all …]
|
D | alignment.c | 108 goto fault; \ 132 goto fault; \ 162 goto fault; \ 176 goto fault; \ 193 goto fault; \ 244 fault: in do_alignment_ldrhstrh() 270 fault: in do_alignment_ldrstr() 346 fault: in do_alignment_ldmstm() 505 fault: in do_alignment()
|
D | Makefile | 5 obj-y := extable.o fault.o init.o pgd.o mmu.o
|
/linux-4.4.14/arch/microblaze/mm/ |
D | fault.c | 94 int fault; in do_page_fault() local 219 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 221 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 224 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 225 if (fault & VM_FAULT_OOM) in do_page_fault() 227 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 229 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 235 if (unlikely(fault & VM_FAULT_MAJOR)) in do_page_fault() 239 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 7 obj-$(CONFIG_MMU) += pgtable.o mmu_context.o fault.o
|
/linux-4.4.14/arch/nios2/mm/ |
D | fault.c | 49 int fault; in do_page_fault() local 134 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 136 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 139 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 140 if (fault & VM_FAULT_OOM) in do_page_fault() 142 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 144 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 155 if (fault & VM_FAULT_MAJOR) in do_page_fault() 159 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 8 obj-y += fault.o
|
/linux-4.4.14/arch/openrisc/mm/ |
D | fault.c | 56 int fault; in do_page_fault() local 166 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 168 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 171 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 172 if (fault & VM_FAULT_OOM) in do_page_fault() 174 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 176 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 183 if (fault & VM_FAULT_MAJOR) in do_page_fault() 187 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 5 obj-y := fault.o tlb.o init.o ioremap.o
|
/linux-4.4.14/arch/alpha/mm/ |
D | fault.c | 89 int fault, si_code = SEGV_MAPERR; in do_page_fault() local 150 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 152 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 155 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 156 if (fault & VM_FAULT_OOM) in do_page_fault() 158 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 160 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 166 if (fault & VM_FAULT_MAJOR) in do_page_fault() 170 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 7 obj-y := init.o fault.o extable.o
|
/linux-4.4.14/arch/avr32/mm/ |
D | fault.c | 66 int fault; in do_page_fault() local 137 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 139 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 142 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 143 if (fault & VM_FAULT_OOM) in do_page_fault() 145 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 147 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 153 if (fault & VM_FAULT_MAJOR) in do_page_fault() 157 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 6 obj-y += ioremap.o cache.o fault.o tlb.o
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_mmap.c | 197 vio->u.fault.ft_vma = vma; in ll_page_mkwrite0() 198 vio->u.fault.ft_vmpage = vmpage; in ll_page_mkwrite0() 309 vio->u.fault.ft_vma = vma; in ll_fault0() 310 vio->u.fault.ft_vmpage = NULL; in ll_fault0() 311 vio->u.fault.fault.ft_vmf = vmf; in ll_fault0() 312 vio->u.fault.fault.ft_flags = 0; in ll_fault0() 313 vio->u.fault.fault.ft_flags_valid = false; in ll_fault0() 319 if (vio->u.fault.fault.ft_flags_valid) in ll_fault0() 320 fault_ret = vio->u.fault.fault.ft_flags; in ll_fault0() 322 vmpage = vio->u.fault.ft_vmpage; in ll_fault0() [all …]
|
D | vvp_io.c | 111 vio->u.fault.ft_mtime = inode->i_mtime.tv_sec; in vvp_io_fault_iter_init() 328 (env, io, 0, vvp_mode_from_vma(vio->u.fault.ft_vma), in vvp_io_fault_lock() 608 struct vm_fault *vmf = cfio->fault.ft_vmf; in vvp_io_kernel_fault() 610 cfio->fault.ft_flags = filemap_fault(cfio->ft_vma, vmf); in vvp_io_kernel_fault() 611 cfio->fault.ft_flags_valid = 1; in vvp_io_kernel_fault() 619 if (unlikely(!(cfio->fault.ft_flags & VM_FAULT_LOCKED))) { in vvp_io_kernel_fault() 621 cfio->fault.ft_flags |= VM_FAULT_LOCKED; in vvp_io_kernel_fault() 628 if (cfio->fault.ft_flags & (VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV)) { in vvp_io_kernel_fault() 633 if (cfio->fault.ft_flags & VM_FAULT_OOM) { in vvp_io_kernel_fault() 638 if (cfio->fault.ft_flags & VM_FAULT_RETRY) in vvp_io_kernel_fault() [all …]
|
/linux-4.4.14/drivers/media/i2c/ |
D | adp1653.c | 94 int fault; in adp1653_get_fault() local 97 fault = i2c_smbus_read_byte_data(client, ADP1653_REG_FAULT); in adp1653_get_fault() 98 if (IS_ERR_VALUE(fault)) in adp1653_get_fault() 99 return fault; in adp1653_get_fault() 101 flash->fault |= fault; in adp1653_get_fault() 103 if (!flash->fault) in adp1653_get_fault() 117 return flash->fault; in adp1653_get_fault() 166 if (flash->fault & ADP1653_REG_FAULT_FLT_SCP) in adp1653_get_ctrl() 168 if (flash->fault & ADP1653_REG_FAULT_FLT_OT) in adp1653_get_ctrl() 170 if (flash->fault & ADP1653_REG_FAULT_FLT_TMR) in adp1653_get_ctrl() [all …]
|
D | lm3560.c | 175 s32 fault = 0; in lm3560_get_ctrl() local 181 fault |= V4L2_FLASH_FAULT_SHORT_CIRCUIT; in lm3560_get_ctrl() 183 fault |= V4L2_FLASH_FAULT_OVER_TEMPERATURE; in lm3560_get_ctrl() 185 fault |= V4L2_FLASH_FAULT_TIMEOUT; in lm3560_get_ctrl() 186 ctrl->cur.val = fault; in lm3560_get_ctrl() 288 struct v4l2_ctrl *fault; in lm3560_init_controls() local 330 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3560_init_controls() 335 if (fault != NULL) in lm3560_init_controls() 336 fault->flags |= V4L2_CTRL_FLAG_VOLATILE; in lm3560_init_controls()
|
D | lm3646.c | 208 struct v4l2_ctrl *fault; in lm3646_init_controls() local 248 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3646_init_controls() 253 if (fault != NULL) in lm3646_init_controls() 254 fault->flags |= V4L2_CTRL_FLAG_VOLATILE; in lm3646_init_controls()
|
/linux-4.4.14/arch/metag/mm/ |
D | fault.c | 55 int fault; in do_page_fault() local 136 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 138 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 141 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 142 if (fault & VM_FAULT_OOM) in do_page_fault() 144 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 146 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 151 if (fault & VM_FAULT_MAJOR) in do_page_fault() 155 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 7 obj-y += fault.o
|
/linux-4.4.14/arch/cris/mm/ |
D | fault.c | 60 int fault; in do_page_fault() local 171 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 173 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 176 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 177 if (fault & VM_FAULT_OOM) in do_page_fault() 179 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 181 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 187 if (fault & VM_FAULT_MAJOR) in do_page_fault() 191 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 5 obj-y := init.o fault.o tlb.o ioremap.o
|
/linux-4.4.14/arch/parisc/mm/ |
D | fault.c | 208 int fault; in do_page_fault() local 247 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 249 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 252 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 258 if (fault & VM_FAULT_OOM) in do_page_fault() 260 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 262 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 267 if (fault & VM_FAULT_MAJOR) in do_page_fault() 271 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 5 obj-y := init.o fault.o ioremap.o
|
/linux-4.4.14/arch/xtensa/mm/ |
D | fault.c | 47 int fault; in do_page_fault() local 113 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 115 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 118 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 119 if (fault & VM_FAULT_OOM) in do_page_fault() 121 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 123 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 128 if (fault & VM_FAULT_MAJOR) in do_page_fault() 132 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 6 obj-$(CONFIG_MMU) += cache.o fault.o mmu.o tlb.o
|
/linux-4.4.14/arch/ia64/mm/ |
D | fault.c | 87 int fault; in ia64_do_page_fault() local 162 fault = handle_mm_fault(mm, vma, address, flags); in ia64_do_page_fault() 164 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in ia64_do_page_fault() 167 if (unlikely(fault & VM_FAULT_ERROR)) { in ia64_do_page_fault() 173 if (fault & VM_FAULT_OOM) { in ia64_do_page_fault() 175 } else if (fault & VM_FAULT_SIGSEGV) { in ia64_do_page_fault() 177 } else if (fault & VM_FAULT_SIGBUS) { in ia64_do_page_fault() 185 if (fault & VM_FAULT_MAJOR) in ia64_do_page_fault() 189 if (fault & VM_FAULT_RETRY) { in ia64_do_page_fault()
|
D | Makefile | 5 obj-y := init.o fault.o tlb.o extable.o ioremap.o
|
/linux-4.4.14/arch/sh/mm/ |
D | fault.c | 322 unsigned long address, unsigned int fault) in mm_fault_error() argument 329 if (!(fault & VM_FAULT_RETRY)) in mm_fault_error() 336 if (!(fault & VM_FAULT_ERROR)) in mm_fault_error() 339 if (fault & VM_FAULT_OOM) { in mm_fault_error() 355 if (fault & VM_FAULT_SIGBUS) in mm_fault_error() 357 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error() 405 int fault; in do_page_fault() local 490 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 492 if (unlikely(fault & (VM_FAULT_RETRY | VM_FAULT_ERROR))) in do_page_fault() 493 if (mm_fault_error(regs, error_code, address, fault)) in do_page_fault() [all …]
|
D | Makefile | 18 mmu-$(CONFIG_MMU) := extable_$(BITS).o fault.o gup.o ioremap.o kmap.o \
|
/linux-4.4.14/arch/score/mm/ |
D | fault.c | 53 int fault; in do_page_fault() local 114 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 115 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 116 if (fault & VM_FAULT_OOM) in do_page_fault() 118 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 120 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 124 if (fault & VM_FAULT_MAJOR) in do_page_fault()
|
D | Makefile | 5 obj-y += cache.o extable.o fault.o init.o \
|
/linux-4.4.14/Documentation/fault-injection/ |
D | fault-injection.txt | 7 Available fault injection capabilities 20 injects futex deadlock and uaddr fault errors. 33 Configure fault-injection capabilities behavior 38 fault-inject-debugfs kernel module provides some debugfs entries for runtime 39 configuration of fault-injection capabilities. 75 to debug the problems revealed by fault injection. 137 How to add new fault injection capability 140 o #include <linux/fault-inject.h> 142 o define the fault attributes 146 Please see the definition of struct fault_attr in fault-inject.h [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | fault.c | 227 int fault; in __do_page_fault() local 230 fault = VM_FAULT_BADMAP; in __do_page_fault() 242 fault = VM_FAULT_BADACCESS; in __do_page_fault() 254 return fault; in __do_page_fault() 262 int fault, sig, code; in do_page_fault() local 311 fault = __do_page_fault(mm, addr, fsr, flags, tsk); in do_page_fault() 317 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 327 if (!(fault & VM_FAULT_ERROR) && flags & FAULT_FLAG_ALLOW_RETRY) { in do_page_fault() 328 if (fault & VM_FAULT_MAJOR) { in do_page_fault() 337 if (fault & VM_FAULT_RETRY) { in do_page_fault() [all …]
|
D | alignment.c | 224 goto fault; \ 245 goto fault; \ 277 goto fault; \ 319 goto fault; \ 386 fault: in do_alignment_ldrhstrh() 449 fault: in do_alignment_ldrdstrd() 485 fault: in do_alignment_ldrstr() 585 fault: in do_alignment_ldmstm() 777 unsigned int fault; in do_alignment() local 789 fault = probe_kernel_address(ptr, tinstr); in do_alignment() [all …]
|
D | abort-ev7.S | 29 ldr r3, =0x40d @ On permission fault 37 and r3, ip, #0x7b @ On translation fault
|
D | Makefile | 5 obj-y := dma-mapping.o extable.o fault.o init.o \ 8 obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
|
D | proc-v7m.S | 89 @ enable UsageFault, BusFault and MemManage fault.
|
/linux-4.4.14/drivers/power/ |
D | max8903_charger.c | 36 bool fault; member 72 if (data->fault) in max8903_get_property() 165 bool fault; in max8903_fault() local 167 fault = gpio_get_value(pdata->flt) ? false : true; in max8903_fault() 169 if (fault == data->fault) in max8903_fault() 172 data->fault = fault; in max8903_fault() 174 if (fault) in max8903_fault() 272 data->fault = false; in max8903_probe()
|
D | bq24257_charger.c | 87 u8 fault; member 349 switch (state.fault) { in bq24257_power_supply_get_property() 445 state->fault = ret; in bq24257_get_chip_state() 458 switch (state->fault) { in bq24257_get_chip_state() 478 bq->state.fault != new_state->fault || in bq24257_state_changed() 646 } else if (new_state->fault == FAULT_NO_BAT) { in bq24257_handle_state_change() 648 } else if (new_state->fault == FAULT_TIMER) { in bq24257_handle_state_change() 672 state.status, state.fault, state.power_good); in bq24257_irq_handler_thread() 738 else if (state.fault != FAULT_NO_BAT) in bq24257_hw_init()
|
D | da9030_battery.c | 110 uint8_t fault; member 228 da903x_read(charger->master, DA9030_FAULT_LOG, &charger->fault); in da9030_charger_update_state() 333 if (charger->fault & DA9030_FAULT_LOG_OVER_TEMP) in da9030_battery_check_health() 335 else if (charger->fault & DA9030_FAULT_LOG_VBAT_OVER) in da9030_battery_check_health()
|
/linux-4.4.14/arch/mips/mm/ |
D | fault.c | 47 int fault; in __do_page_fault() local 156 fault = handle_mm_fault(mm, vma, address, flags); in __do_page_fault() 158 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in __do_page_fault() 162 if (unlikely(fault & VM_FAULT_ERROR)) { in __do_page_fault() 163 if (fault & VM_FAULT_OOM) in __do_page_fault() 165 else if (fault & VM_FAULT_SIGSEGV) in __do_page_fault() 167 else if (fault & VM_FAULT_SIGBUS) in __do_page_fault() 172 if (fault & VM_FAULT_MAJOR) { in __do_page_fault() 181 if (fault & VM_FAULT_RETRY) { in __do_page_fault()
|
D | Makefile | 5 obj-y += cache.o dma-default.o extable.o fault.o \ 7 tlbex.o tlbex-fault.o tlb-funcs.o
|
/linux-4.4.14/arch/mn10300/mm/ |
D | fault.c | 126 int fault; in do_page_fault() local 257 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault() 259 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 262 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 263 if (fault & VM_FAULT_OOM) in do_page_fault() 265 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 267 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 272 if (fault & VM_FAULT_MAJOR) in do_page_fault() 276 if (fault & VM_FAULT_RETRY) { in do_page_fault()
|
D | Makefile | 28 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
/linux-4.4.14/arch/sparc/kernel/ |
D | wuf.S | 257 LEON_PI( lda [%l4] ASI_LEON_MMUREGS, %g0) ! clear fault status 258 SUN_PI_( lda [%l4] ASI_M_MMUREGS, %g0) ! clear fault status 267 or %l5, 0x2, %l5 ! turn on no-fault bit 283 andn %twin_tmp1, 0x2, %twin_tmp1 ! clear no-fault bit 288 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %g0) ! read fault address 289 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %g0) ! read fault address 292 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %twin_tmp2) ! read fault status 293 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %twin_tmp2) ! read fault status 294 andcc %twin_tmp2, 0x2, %g0 ! did fault occur?
|
D | dtlb_prot.S | 30 ba,pt %xcc, sparc64_realfault_common ! Nope, normal fault
|
D | tsb.S | 304 stb %l4, [%g6 + TI_FAULT_CODE] ! Save fault code 305 stx %l5, [%g6 + TI_FAULT_ADDR] ! Save fault address 306 call do_sparc64_fault ! Call fault handler
|
/linux-4.4.14/arch/arm64/mm/ |
D | fault.c | 212 int fault; in __do_page_fault() local 215 fault = VM_FAULT_BADMAP; in __do_page_fault() 232 fault = VM_FAULT_BADACCESS; in __do_page_fault() 242 return fault; in __do_page_fault() 250 int fault, sig, code; in do_page_fault() local 307 fault = __do_page_fault(mm, addr, mm_flags, vm_flags, tsk); in do_page_fault() 314 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault() 325 if (fault & VM_FAULT_MAJOR) { in do_page_fault() 334 if (fault & VM_FAULT_RETRY) { in do_page_fault() 350 if (likely(!(fault & (VM_FAULT_ERROR | VM_FAULT_BADMAP | in do_page_fault() [all …]
|
D | Makefile | 1 obj-y := dma-mapping.o extable.o fault.o init.o \
|
/linux-4.4.14/drivers/iio/dac/ |
D | ad5421.c | 205 unsigned int fault; in ad5421_fault_handler() local 209 fault = ad5421_read(indio_dev, AD5421_REG_FAULT); in ad5421_fault_handler() 210 if (!fault) in ad5421_fault_handler() 232 if (fault == 0xffff) in ad5421_fault_handler() 233 fault = 0; in ad5421_fault_handler() 236 events = (old_fault ^ fault) & fault; in ad5421_fault_handler() 266 old_fault = fault; in ad5421_fault_handler() 267 fault = ad5421_read(indio_dev, AD5421_REG_FAULT); in ad5421_fault_handler() 270 if (fault & AD5421_FAULT_TRIGGER_IRQ) in ad5421_fault_handler() 273 } while (fault & AD5421_FAULT_TRIGGER_IRQ); in ad5421_fault_handler()
|
/linux-4.4.14/arch/frv/mm/ |
D | fault.c | 42 int fault; in do_page_fault() local 167 fault = handle_mm_fault(mm, vma, ear0, flags); in do_page_fault() 168 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 169 if (fault & VM_FAULT_OOM) in do_page_fault() 171 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 173 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 177 if (fault & VM_FAULT_MAJOR) in do_page_fault()
|
D | Makefile | 8 pgalloc.o highmem.o fault.o extable.o cache-page.o tlb-flush.o tlb-miss.o \
|
/linux-4.4.14/arch/um/kernel/ |
D | trap.c | 74 int fault; in handle_page_fault() local 76 fault = handle_mm_fault(mm, vma, address, flags); in handle_page_fault() 78 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in handle_page_fault() 81 if (unlikely(fault & VM_FAULT_ERROR)) { in handle_page_fault() 82 if (fault & VM_FAULT_OOM) { in handle_page_fault() 84 } else if (fault & VM_FAULT_SIGSEGV) { in handle_page_fault() 86 } else if (fault & VM_FAULT_SIGBUS) { in handle_page_fault() 93 if (fault & VM_FAULT_MAJOR) in handle_page_fault() 97 if (fault & VM_FAULT_RETRY) { in handle_page_fault()
|
/linux-4.4.14/arch/sparc/mm/ |
D | fault_32.c | 176 int fault, code; in do_sparc_fault() local 244 fault = handle_mm_fault(mm, vma, address, flags); in do_sparc_fault() 246 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_sparc_fault() 249 if (unlikely(fault & VM_FAULT_ERROR)) { in do_sparc_fault() 250 if (fault & VM_FAULT_OOM) in do_sparc_fault() 252 else if (fault & VM_FAULT_SIGSEGV) in do_sparc_fault() 254 else if (fault & VM_FAULT_SIGBUS) in do_sparc_fault() 260 if (fault & VM_FAULT_MAJOR) { in do_sparc_fault() 269 if (fault & VM_FAULT_RETRY) { in do_sparc_fault()
|
D | fault_64.c | 288 int si_code, fault_code, fault; in do_sparc64_fault() local 442 fault = handle_mm_fault(mm, vma, address, flags); in do_sparc64_fault() 444 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_sparc64_fault() 447 if (unlikely(fault & VM_FAULT_ERROR)) { in do_sparc64_fault() 448 if (fault & VM_FAULT_OOM) in do_sparc64_fault() 450 else if (fault & VM_FAULT_SIGSEGV) in do_sparc64_fault() 452 else if (fault & VM_FAULT_SIGBUS) in do_sparc64_fault() 458 if (fault & VM_FAULT_MAJOR) { in do_sparc64_fault() 467 if (fault & VM_FAULT_RETRY) { in do_sparc64_fault()
|
/linux-4.4.14/Documentation/i2c/ |
D | fault-codes | 1 This is a summary of the most important conventions for use of fault 7 Not all fault reports imply errors; "page faults" should be a familiar 11 recovery, triggered by a fault report, there is no error. 13 In a similar way, sometimes a "fault" code just reports one defined 19 the right fault code, so that it can (in turn) behave correctly. 22 I2C and SMBus fault codes 25 some positive number indicating a non-fault return. The specific 32 cases (unless the hardware doesn't provide unique fault reports). 51 fault is only reported on read transactions; the SMBus slave 59 SMBus adapter) needs some fault recovery (such as resetting), [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | ltc4260.c | 99 unsigned int fault; in ltc4260_show_bool() local 102 ret = regmap_read(regmap, LTC4260_FAULT, &fault); in ltc4260_show_bool() 106 fault &= attr->index; in ltc4260_show_bool() 107 if (fault) /* Clear reported faults in chip register */ in ltc4260_show_bool() 110 return snprintf(buf, PAGE_SIZE, "%d\n", !!fault); in ltc4260_show_bool()
|
D | ltc4222.c | 114 unsigned int fault; in ltc4222_show_bool() local 117 ret = regmap_read(regmap, attr->nr, &fault); in ltc4222_show_bool() 120 fault &= attr->index; in ltc4222_show_bool() 121 if (fault) /* Clear reported faults in chip register */ in ltc4222_show_bool() 124 return snprintf(buf, PAGE_SIZE, "%d\n", !!fault); in ltc4222_show_bool()
|
D | ltc4261.c | 154 u8 fault; in ltc4261_show_bool() local 159 fault = data->regs[LTC4261_FAULT] & attr->index; in ltc4261_show_bool() 160 if (fault) /* Clear reported faults in chip register */ in ltc4261_show_bool() 161 i2c_smbus_write_byte_data(data->client, LTC4261_FAULT, ~fault); in ltc4261_show_bool() 163 return snprintf(buf, PAGE_SIZE, "%d\n", fault ? 1 : 0); in ltc4261_show_bool()
|
D | ltc2945.c | 334 unsigned int fault; in ltc2945_show_bool() local 337 ret = regmap_read(regmap, LTC2945_FAULT, &fault); in ltc2945_show_bool() 341 fault &= attr->index; in ltc2945_show_bool() 342 if (fault) /* Clear reported faults in chip register */ in ltc2945_show_bool() 345 return snprintf(buf, PAGE_SIZE, "%d\n", !!fault); in ltc2945_show_bool()
|
D | emc2103.c | 220 bool fault = (data->temp[nr].degrees == -128); in show_temp_fault() local 221 return sprintf(buf, "%d\n", fault ? 1 : 0); in show_temp_fault() 418 bool fault = ((data->fan_tach & 0x1fe0) == 0x1fe0); in show_fan_fault() local 419 return sprintf(buf, "%d\n", fault ? 1 : 0); in show_fan_fault()
|
D | max31790.c | 379 int fault; in get_fan_fault() local 384 fault = !!(data->fault_status & (1 << attr->index)); in get_fan_fault() 386 return sprintf(buf, "%d\n", fault); in get_fan_fault()
|
D | max16065.c | 99 int fault[2]; member 168 data->fault[i] in max16065_update_device() 183 int val = data->fault[attr2->nr]; in max16065_show_alarm()
|
/linux-4.4.14/net/core/ |
D | datagram.c | 408 goto fault; in skb_copy_datagram_iter() 423 fault: in skb_copy_datagram_iter() 428 goto fault; in skb_copy_datagram_iter() 456 goto fault; in skb_copy_datagram_from_iter() 479 goto fault; in skb_copy_datagram_from_iter() 500 goto fault; in skb_copy_datagram_from_iter() 510 fault: in skb_copy_datagram_from_iter() 585 goto fault; in skb_copy_and_csum_datagram() 611 goto fault; in skb_copy_and_csum_datagram() 635 goto fault; in skb_copy_and_csum_datagram() [all …]
|
/linux-4.4.14/arch/x86/mm/ |
D | fault.c | 172 struct task_struct *tsk, int fault) in force_sig_info_fault() argument 181 if (fault & VM_FAULT_HWPOISON_LARGE) in force_sig_info_fault() 182 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in force_sig_info_fault() 183 if (fault & VM_FAULT_HWPOISON) in force_sig_info_fault() 855 unsigned int fault) in do_sigbus() argument 875 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_sigbus() 882 force_sig_info_fault(SIGBUS, code, address, tsk, fault); in do_sigbus() 887 unsigned long address, unsigned int fault) in mm_fault_error() argument 894 if (fault & VM_FAULT_OOM) { in mm_fault_error() 909 if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| in mm_fault_error() [all …]
|
D | Makefile | 1 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
|
/linux-4.4.14/arch/tile/kernel/ |
D | pmc.c | 25 int handle_perf_interrupt(struct pt_regs *regs, int fault) in handle_perf_interrupt() argument 30 panic("Unexpected PERF_COUNT interrupt %d\n", fault); in handle_perf_interrupt() 33 retval = perf_irq(regs, fault); in handle_perf_interrupt()
|
D | stack.c | 81 const char *fault = NULL; /* happy compiler */ in valid_fault_handler() local 94 fault = "syscall"; in valid_fault_handler() 99 fault = fault_buf; in valid_fault_handler() 107 pr_err(" <%s while in kernel mode>\n", fault); in valid_fault_handler() 111 pr_err(" <%s while in user mode>\n", fault); in valid_fault_handler()
|
/linux-4.4.14/Documentation/devicetree/bindings/watchdog/ |
D | atmel-sama5d4-wdt.txt | 11 "hardware": enable watchdog fault reset. A watchdog fault triggers 13 "software": enable watchdog fault interrupt. A watchdog fault asserts
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | locking.txt | 12 Fast page fault: 14 Fast page fault is the fast path which fixes the guest page fault out of 15 the mmu-lock on x86. Currently, the page fault can be fast only if the 26 On fast page fault path, we will use cmpxchg to atomically set the spte W 43 on fast page fault path: 71 Currently, to simplify the whole things, we disable fast page fault for 79 But it is not true after fast page fault since the spte can be marked 95 on fast page fault path: 123 fast page fault path, in order to easily audit the path, we see if TLBs need 128 atomically update the spte, the race caused by fast page fault can be avoided,
|
D | msr.txt | 175 the hypervisor at the time of asynchronous page fault (APF) 176 injection to indicate type of asynchronous page fault. Value 177 of 1 means that the page referred to by the page fault is not 182 fault guest must reset the reason to 0 before it does 183 something that can generate normal page fault. If during page 184 fault APF reason is 0 it means that this is regular page 185 fault.
|
D | mmu.txt | 274 - guest page fault (or npt page fault, or ept violation) 276 This is the most complicated event. The cause of a page fault can be: 278 - a true guest fault (the guest translation won't allow the access) (*) 287 Handling a page fault is performed as follows: 289 - if the RSV bit of the error code is set, the page fault is caused by guest 297 be handled as a "fast page fault" (fixed without taking the MMU lock). See 301 - if permissions are insufficient, reflect the fault back to the guest 348 on fault type: 350 - kernel write fault: spte.u=0, spte.w=1 (allows full kernel access, 352 - read fault: spte.u=1, spte.w=0 (allows full read access, disallows kernel [all …]
|
/linux-4.4.14/arch/m32r/mm/ |
D | fault.c | 82 int fault; in do_page_fault() local 199 fault = handle_mm_fault(mm, vma, addr, flags); in do_page_fault() 200 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault() 201 if (fault & VM_FAULT_OOM) in do_page_fault() 203 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault() 205 else if (fault & VM_FAULT_SIGBUS) in do_page_fault() 209 if (fault & VM_FAULT_MAJOR) in do_page_fault()
|
D | Makefile | 6 obj-y := init.o fault.o mmu.o extable.o ioremap.o cache.o page.o 8 obj-y := init.o fault-nommu.o mmu.o extable.o ioremap-nommu.o cache.o page.o
|
/linux-4.4.14/Documentation/hwmon/ |
D | max6639 | 28 temp1_fault R Temperature channel 1 diode fault 29 temp2_fault R Temperature channel 2 diode fault 42 fan1_fault R Fan 1 fault 43 fan2_fault R Fan 2 fault
|
D | smsc47m192 | 93 temp[2-3]_input_fault - diode fault flags for temperature inputs 2 and 3. 94 A fault is detected if the two pins for the corresponding 96 to ground or Vcc. '1' indicates a diode fault.
|
D | max31790 | 34 fan[1-12]_fault RO fan experienced fault
|
D | emc2103 | 32 will show as "fault". The module parameter "apd=0" can be used to suppress
|
D | max6697 | 58 tempX_fault RO temperature diode fault (remote sensors only)
|
/linux-4.4.14/arch/x86/include/asm/ |
D | kvm_emulate.h | 112 struct x86_exception *fault); 133 struct x86_exception *fault); 143 struct x86_exception *fault); 153 struct x86_exception *fault); 165 struct x86_exception *fault); 180 struct x86_exception *fault);
|
D | msr.h | 80 : "c" (msr), [fault] "i" (-EIO)); in native_read_msr_safe() 103 [fault] "i" (-EIO) in native_write_msr_safe()
|
/linux-4.4.14/arch/tile/mm/ |
D | fault.c | 271 int fault; in handle_page_fault() local 438 fault = handle_mm_fault(mm, vma, address, flags); in handle_page_fault() 440 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in handle_page_fault() 443 if (unlikely(fault & VM_FAULT_ERROR)) { in handle_page_fault() 444 if (fault & VM_FAULT_OOM) in handle_page_fault() 446 else if (fault & VM_FAULT_SIGSEGV) in handle_page_fault() 448 else if (fault & VM_FAULT_SIGBUS) in handle_page_fault() 453 if (fault & VM_FAULT_MAJOR) in handle_page_fault() 457 if (fault & VM_FAULT_RETRY) { in handle_page_fault()
|
D | Makefile | 5 obj-y := init.o pgtable.o fault.o extable.o elf.o \
|
/linux-4.4.14/arch/arm/include/asm/ |
D | kvm_emulate.h | 98 return vcpu->arch.fault.hsr; in kvm_vcpu_get_hsr() 103 return vcpu->arch.fault.hxfar; in kvm_vcpu_get_hfar() 108 return ((phys_addr_t)vcpu->arch.fault.hpfar & HPFAR_MASK) << 8; in kvm_vcpu_get_fault_ipa() 113 return vcpu->arch.fault.hyp_pc; in kvm_vcpu_get_hyp_pc()
|
D | kvm_host.h | 112 struct kvm_vcpu_fault_info fault; member
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit_asm.S | 146 beqz $r_s0, fault; \ 165 bltz v0, fault; \ 230 bgtz t1, fault 250 beqz v0, fault; \ 281 fault: label
|
/linux-4.4.14/Documentation/ |
D | Intel-IOMMU.txt | 70 When errors are reported, the DMA engine signals via an interrupt. The fault 71 reason and device that caused it with fault reason is printed on console. 101 DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000 102 DMAR:[fault reason 05] PTE Write access is not set 103 DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000 104 DMAR:[fault reason 05] PTE Write access is not set
|
D | SubmitChecklist | 82 failures. See Documentation/fault-injection/. 84 If the new code is substantial, addition of subsystem-specific fault
|
D | oops-tracing.txt | 150 When a protection fault occurs the klogd daemon automatically 154 protection fault message can be simply cut out of the message files 173 to debug a protection fault which occurs in a loadable kernel module. 176 generated the protection fault. There may be additional symbolic 193 The following is an example of a protection fault in a loadable module
|
/linux-4.4.14/Documentation/x86/ |
D | exception-tables.txt | 27 accessible, the CPU generates a page fault exception and calls the 28 page fault handler 32 in arch/x86/mm/fault.c. The parameters on the stack are set up by 39 space of the process, the fault probably occurred, because the page 47 (fixup). If this search is successful, the fault handler modifies the 239 backward) is the address of the instruction that might fault, i.e. 245 the fault, in our case the actual value is c0199ff5: 260 So, what actually happens if a fault from kernel mode with no suitable 267 4.) do page fault calls search_exception_table (regs->eip == c017e7a5); 270 and returns the address of the associated fault handle code c0199ff5. [all …]
|
D | intel_mpx.txt | 53 this point, a bounds fault (#BR) is raised, the kernel allocates a 110 similar conceptually to a page fault and will be raised by the MPX 153 Q: Could a bounds fault be handed to userspace and the tables allocated 196 no bounds table exists for this entry. In this case the fault handler
|
/linux-4.4.14/Documentation/devicetree/bindings/leds/ |
D | leds-powernv.txt | 12 - led-types : Supported LED types (attention/identify/fault) provided 22 led-types = "identify", "fault";
|
D | leds-gpio.txt | 39 fault { 41 /* Keep LED on if BIOS detected hardware fault */
|
/linux-4.4.14/Documentation/ja_JP/ |
D | SubmitChecklist | 98 挙動について、fault-injectionを利用して確認してください。 99 Documentation/fault-injection/ を参照してください。 102 fault-injectionを追加したほうが良いかもしれません。
|
/linux-4.4.14/arch/x86/kvm/ |
D | paging_tmpl.h | 106 struct x86_exception fault; member 316 &walker->fault); in FNAME() 370 real_gpa = mmu->translate_gpa(vcpu, gfn_to_gpa(gfn), access, &walker->fault); in FNAME() 407 walker->fault.vector = PF_VECTOR; in FNAME() 408 walker->fault.error_code_valid = true; in FNAME() 409 walker->fault.error_code = errcode; in FNAME() 429 walker->fault.address = addr; in FNAME() 430 walker->fault.nested_page_fault = mmu != vcpu->arch.walk_mmu; in FNAME() 432 trace_kvm_mmu_walker_error(walker->fault.error_code); in FNAME() 735 inject_page_fault(vcpu, &walker.fault); in FNAME() [all …]
|
/linux-4.4.14/include/linux/ |
D | led-class-flash.h | 51 int (*fault_get)(struct led_classdev_flash *fled_cdev, u32 *fault); 190 u32 *fault);
|
D | cdrom.h | 132 __u8 fault : 1; member 141 __u8 fault : 1;
|
D | enclosure.h | 101 int fault; member
|
/linux-4.4.14/drivers/leds/ |
D | led-class-flash.c | 196 u32 fault, mask = 0x1; in flash_fault_show() local 200 ret = led_get_flash_fault(fled_cdev, &fault); in flash_fault_show() 207 if (fault & mask) { in flash_fault_show() 362 int led_get_flash_fault(struct led_classdev_flash *fled_cdev, u32 *fault) in led_get_flash_fault() argument 364 return call_flash_op(fled_cdev, fault_get, fault); in led_get_flash_fault()
|
D | leds-lp8860.c | 192 int ret, fault; in lp8860_fault_check() local 199 fault = read_buf; in lp8860_fault_check() 205 fault |= read_buf; in lp8860_fault_check() 208 if (fault) in lp8860_fault_check()
|
/linux-4.4.14/arch/x86/um/ |
D | Makefile | 11 obj-y = bug.o bugs_$(BITS).o delay.o fault.o ksyms.o ldt.o \ 36 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
|
/linux-4.4.14/drivers/spi/ |
D | spi-tle62x0.c | 105 unsigned long fault = 0; in tle62x0_status_show() local 118 fault <<= 8; in tle62x0_status_show() 119 fault |= ((unsigned long)buff[ptr]); in tle62x0_status_show() 125 bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2))); in tle62x0_status_show()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | kvm_emulate.h | 141 return vcpu->arch.fault.esr_el2; in kvm_vcpu_get_hsr() 146 return vcpu->arch.fault.far_el2; in kvm_vcpu_get_hfar() 151 return ((phys_addr_t)vcpu->arch.fault.hpfar_el2 & HPFAR_MASK) << 8; in kvm_vcpu_get_fault_ipa()
|
D | kvm_host.h | 106 struct kvm_vcpu_fault_info fault; member
|
/linux-4.4.14/arch/cris/arch-v32/mm/ |
D | mmu.S | 37 ; Bus fault handler. Extracts relevant information and calls mm subsystem 38 ; to handle the fault. 46 moveq 1, $r12 ; protection fault 187 clear.d $r12 ; Not a protection fault 201 ; This is the MMU bus fault handlers.
|
/linux-4.4.14/Documentation/arm/ |
D | swp_emulation | 10 sequence. If a memory access fault (an abort) occurs, a segmentation fault is
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-trace.txt | 133 <min|maj>fault [<ip.symbol>+<ip.offset>] => <addr.dso@addr.offset> (<map type><addr level>). 135 - min/maj indicates whether fault event is minor or major; 137 fault); if no debug symbols available, perf trace will print raw IP; 145 time it took for fault to be handled! 148 for both IP and fault address in the form of dso@symbol+offset.
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | kirkwood-dockstar.dts | 49 fault { 50 label = "status:orange:fault";
|
D | kirkwood-pogo_e02.dts | 43 fault { 44 label = "pogo_e02:orange:fault";
|
D | kirkwood-goflexnet.dts | 92 fault { 93 label = "status:orange:fault";
|
/linux-4.4.14/arch/ia64/kernel/ |
D | entry.S | 253 lfetch.fault.excl.nt1 [r3],128 255 lfetch.fault.excl.nt1 [r2],128 256 lfetch.fault.excl.nt1 [r3],128 258 lfetch.fault.excl [r2] 259 lfetch.fault.excl [r3] 267 lfetch.fault.excl.nt1 [r3],128 // prefetch offset 0x010 269 lfetch.fault.excl.nt1 [r3],128 // prefetch offset 0x090 270 lfetch.fault.excl.nt1 [r2],128 // prefetch offset 0x190 272 lfetch.fault.excl.nt1 [r3] // prefetch offset 0x110 273 lfetch.fault.excl.nt1 [r2] // prefetch offset 0x210 [all …]
|
D | fsys.S | 261 EX(.fail_efault, probe.w.fault r31, 3) 294 EX(.fail_efault, probe.w.fault r23, 3) // This also costs 5 cycles 353 EX(.fail_efault, (p6) probe.w.fault r32, 3) // M This takes 5 cycles 354 EX(.fail_efault, (p7) probe.w.fault r33, 3) // M This takes 5 cycles 369 EX(.fail_efault, (p6) probe.w.fault r32, 3) // M This takes 5 cycles 370 EX(.fail_efault, (p7) probe.w.fault r33, 3) // M This takes 5 cycles 481 lfetch.fault.excl.nt1 [r22] // M0|1 prefetch register backing-store
|
D | minstate.h | 75 (pUStk) lfetch.fault.excl.nt1 [r22]; \ 87 lfetch.fault.excl.nt1 [r17],L1_CACHE_BYTES; \ 90 lfetch.fault.excl.nt1 [r17]; \
|
/linux-4.4.14/arch/arm/kernel/ |
D | asm-offsets.c | 189 DEFINE(VCPU_HSR, offsetof(struct kvm_vcpu, arch.fault.hsr)); in main() 190 DEFINE(VCPU_HxFAR, offsetof(struct kvm_vcpu, arch.fault.hxfar)); in main() 191 DEFINE(VCPU_HPFAR, offsetof(struct kvm_vcpu, arch.fault.hpfar)); in main() 192 DEFINE(VCPU_HYP_PC, offsetof(struct kvm_vcpu, arch.fault.hyp_pc)); in main()
|
D | entry-armv.S | 54 @ PABORT handler takes pt_regs in r2, fault address in r4 and psr in r5 74 @ the fault status register in r1. r9 must be preserved. 243 @ which caused the fault. If the faulting instruction was ARM 580 * defined. The only instructions that should fault are the
|
/linux-4.4.14/arch/cris/arch-v10/mm/ |
D | Makefile | 5 obj-y := fault.o init.o tlb.o
|
/linux-4.4.14/arch/h8300/mm/ |
D | Makefile | 5 obj-y := init.o fault.o memory.o
|
/linux-4.4.14/Documentation/cgroups/ |
D | hugetlb.txt | 5 enforces the controller limit during page fault. Since HugeTLB doesn't 6 support page reclaim, enforcing the limit at page fault time implies that,
|
/linux-4.4.14/Documentation/fb/ |
D | deferred_io.txt | 10 - deferred IO and driver sets up fault and page_mkwrite handlers 12 - we get pagefault and reach fault handler 13 - fault handler finds and returns physical page
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.h | 13 struct work_struct fault; member
|
D | gk104.h | 18 struct work_struct fault; member
|
D | gf100.c | 119 struct gf100_fifo *fifo = container_of(work, typeof(*fifo), fault); in gf100_fifo_recover_work() 164 schedule_work(&fifo->fault); in gf100_fifo_recover() 563 flush_work(&fifo->fault); in gf100_fifo_fini() 639 INIT_WORK(&fifo->fault, gf100_fifo_recover_work); in gf100_fifo_new()
|
D | gk104.c | 94 struct gk104_fifo *fifo = container_of(work, typeof(*fifo), fault); in gk104_fifo_recover_work() 139 schedule_work(&fifo->fault); in gk104_fifo_recover() 634 flush_work(&fifo->fault); in gk104_fifo_fini() 735 INIT_WORK(&fifo->fault, gk104_fifo_recover_work); in gk104_fifo_new_()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | pmc.h | 53 int userspace_perf_handler(struct pt_regs *regs, int fault);
|
/linux-4.4.14/drivers/misc/cxl/ |
D | Makefile | 3 cxl-y += main.o file.o irq.o fault.o native.o
|
/linux-4.4.14/arch/arm64/kernel/ |
D | asm-offsets.c | 115 DEFINE(VCPU_ESR_EL2, offsetof(struct kvm_vcpu, arch.fault.esr_el2)); in main() 116 DEFINE(VCPU_FAR_EL2, offsetof(struct kvm_vcpu, arch.fault.far_el2)); in main() 117 DEFINE(VCPU_HPFAR_EL2, offsetof(struct kvm_vcpu, arch.fault.hpfar_el2)); in main()
|
D | armv8_deprecated.c | 414 goto fault; in swp_handler() 419 goto fault; in swp_handler() 435 fault: in swp_handler()
|
/linux-4.4.14/Documentation/trace/ |
D | mmiotrace.txt | 109 fault. The page fault handler calls mmiotrace to handle the fault. Mmiotrace 111 fault handler. The instruction that faulted is executed and debug trap is 116 Setting the page present in the page fault handler has a race condition on SMP
|
/linux-4.4.14/tools/testing/fault-injection/ |
D | failcmd.sh | 44 See Documentation/fault-injection/fault-injection.txt for more
|
/linux-4.4.14/Documentation/devicetree/bindings/rng/ |
D | apm,rng.txt | 8 - interrupts : specify the fault interrupt for the RNG device
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | Makefile | 9 BINARIES += on-fault-limit
|
D | run_vmtests | 125 sudo -u nobody ./on-fault-limit
|
/linux-4.4.14/Documentation/vm/ |
D | zswap.txt | 38 being swapped out. However, it will _not_ immediately write out or fault 43 fault back into memory all swapped out pages, including those in the 76 During a page fault on a PTE that is a swap entry, frontswap calls the zswap 77 load function to decompress the page into the page allocated by the page fault
|
D | unevictable-lru.txt | 208 If unevictable pages are culled in the fault path, or moved to the unevictable 285 (4) in the fault path, if mlocked pages are "culled" in the fault path, 321 populate_vma_page_range() to fault in the pages via get_user_pages() and to 325 get_user_pages() will be unable to fault in the pages. That's okay. If pages 327 fault path or in vmscan. 474 swapped out - but major page faults to fault memory in might still happen. 491 attempting to fault in a VMA with PROT_NONE access. In this case, we leave the 592 allocate or fault in the pages in the shared memory region. This happens
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 900 struct fm10k_fault *fault) in fm10k_handle_fault() argument 909 switch (fault->type) { in fm10k_handle_fault() 923 switch (fault->type) { in fm10k_handle_fault() 932 switch (fault->type) { in fm10k_handle_fault() 956 error, fault->address, fault->specinfo, in fm10k_handle_fault() 957 PCI_SLOT(fault->func), PCI_FUNC(fault->func)); in fm10k_handle_fault() 968 if (fault->func && iov_data) { in fm10k_handle_fault() 969 int vf = fault->func - 1; in fm10k_handle_fault() 987 struct fm10k_fault fault = { 0 }; in fm10k_report_fault() local 998 err = hw->mac.ops.get_fault(hw, type, &fault); in fm10k_report_fault() [all …]
|
D | fm10k_pf.c | 1533 struct fm10k_fault *fault) in fm10k_get_fault_pf() argument 1553 fault->address = fm10k_read_reg(hw, type + FM10K_FAULT_ADDR_HI); in fm10k_get_fault_pf() 1554 fault->address <<= 32; in fm10k_get_fault_pf() 1555 fault->address = fm10k_read_reg(hw, type + FM10K_FAULT_ADDR_LO); in fm10k_get_fault_pf() 1556 fault->specinfo = fm10k_read_reg(hw, type + FM10K_FAULT_SPECINFO); in fm10k_get_fault_pf() 1563 fault->func = 0; in fm10k_get_fault_pf() 1565 fault->func = 1 + ((func & FM10K_FAULT_FUNC_VF_MASK) >> in fm10k_get_fault_pf() 1569 fault->type = func & FM10K_FAULT_FUNC_TYPE_MASK; in fm10k_get_fault_pf()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | trace.c | 652 int tflags, i = 0, fault = 0; in dump_bfin_trace_buffer() local 677 if (!fault && addr == ((unsigned short *)evt_ivhw)) { in dump_bfin_trace_buffer() 683 fault = 1; in dump_bfin_trace_buffer() 686 if (!fault && addr == (unsigned short *)trap && in dump_bfin_trace_buffer() 692 fault = 1; in dump_bfin_trace_buffer()
|
/linux-4.4.14/Documentation/devicetree/bindings/usb/ |
D | fsl-usb.txt | 42 - fsl,invert-pwr-fault : boolean; for MPC5121 USB0 only. Indicates 82 fsl,invert-pwr-fault;
|
/linux-4.4.14/arch/parisc/kernel/ |
D | entry.S | 384 .macro space_check spc,tmp,fault 391 cmpb,COND(<>),n \tmp,\spc,\fault 400 .macro L2_ptep pmd,pte,index,va,fault 417 bb,>=,n \pmd,_PxD_PRESENT_BIT,\fault 425 bb,>=,n \pte,_PAGE_PRESENT_BIT,\fault 438 .macro L3_ptep pgd,pte,index,va,fault 445 bb,>=,n \pgd,_PxD_PRESENT_BIT,\fault 453 L2_ptep \pgd,\pte,\index,\va,\fault 457 .macro tlb_lock spc,ptp,pte,tmp,tmp1,fault 466 b \fault [all …]
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | hiddev.c | 466 goto fault; in hiddev_ioctl_usage() 469 goto fault; in hiddev_ioctl_usage() 489 goto fault; in hiddev_ioctl_usage() 530 goto fault; in hiddev_ioctl_usage() 547 goto fault; in hiddev_ioctl_usage() 559 fault: in hiddev_ioctl_usage()
|
/linux-4.4.14/arch/arm64/ |
D | Kconfig | 320 …l "Cortex-A57: 834220: Stage 2 translation fault might be incorrectly reported in presence of a St… 328 fault as the result of a Stage 1 fault for load crossing a 330 alignment fault at Stage 1 and a translation fault at Stage 2. 333 doesn't generate a fault before handling the Stage 2 fault. 670 set this bit instead of raising an access flag fault. 673 permission fault. 688 copy_to_user et al) memory access to fail with a permission fault.
|
/linux-4.4.14/include/media/ |
D | adp1653.h | 125 int fault; member
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-locking.xml.db | 11 API-fault-in-user-writeable
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | st,sta32x.txt | 45 - st,fault-detect-recovery: 46 If present, then fault recovery will be enabled.
|
D | st,sta350.txt | 45 - st,fault-detect-recovery: 46 If present, then fault recovery will be enabled.
|
/linux-4.4.14/init/ |
D | do_mounts_md.c | 65 int minor, level, factor, fault, partitioned = 0; in md_setup() local 96 get_option(&str, &fault) != 2) { in md_setup()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_vm.c | 372 .fault = drm_vm_fault, 379 .fault = drm_vm_shm_fault, 386 .fault = drm_vm_dma_fault, 393 .fault = drm_vm_sg_fault,
|
/linux-4.4.14/include/uapi/misc/ |
D | cxl.h | 107 struct cxl_event_data_storage fault; member
|
/linux-4.4.14/fs/ncpfs/ |
D | mmap.c | 99 .fault = ncp_file_mmap_fault,
|
/linux-4.4.14/arch/arm/vfp/ |
D | entry.S | 52 ret r9 @ we have handled the fault
|
/linux-4.4.14/Documentation/accounting/ |
D | taskstats-struct.txt | 79 /* The minor page fault count of a task, as set in task->min_flt. */ 82 /* The major page fault count of a task, as set in task->maj_flt. */ 114 /* Delay waiting for page fault I/O (swap in only) */
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | fault_injection.txt | 16 On the client, mount the fault injection server through NFS v4.0+ and do some 64 This script has been created to ease the fault injection process. This script
|
D | 00-INDEX | 6 - information for using fault injection on the server
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | Makefile | 5 spufs-y += switch.o fault.o lscsa_alloc.o
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_drv.c | 20 .fault = udl_gem_fault,
|
/linux-4.4.14/Documentation/devicetree/bindings/iommu/ |
D | renesas,ipmmu-vmsa.txt | 12 - interrupts: Specifiers for the MMU fault interrupts. For instances that
|
D | arm,smmu.txt | 7 The SMMU may also raise interrupts in response to various fault
|
/linux-4.4.14/arch/arm64/kvm/ |
D | handle_exit.c | 107 run->debug.arch.far = vcpu->arch.fault.far_el2; in kvm_handle_guest_debug()
|
/linux-4.4.14/Documentation/powerpc/ |
D | cxl.txt | 59 the fault. The context to which this fault is serviced is based on 265 struct cxl_event_data_storage fault; 337 This field gives information on the type of fault. It is a 339 fault occurred. The form of the DSISR is as defined in the
|
/linux-4.4.14/arch/arm/nwfpe/ |
D | entry.S | 114 @ to fault. Emit the appropriate exception gunk to fix things up.
|
/linux-4.4.14/fs/nilfs2/ |
D | file.c | 128 .fault = filemap_fault,
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 78 .fault = kvm_spapr_tce_fault,
|
/linux-4.4.14/fs/ocfs2/ |
D | mmap.c | 174 .fault = ocfs2_fault,
|
/linux-4.4.14/Documentation/x86/x86_64/ |
D | mm.txt | 29 the processes using the page fault handler, with init_level4_pgt as
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 128 r = ttm_vm_ops->fault(vma, vmf); 153 virtio_gpu_ttm_vm_ops.fault = &virtio_gpu_ttm_fault; in virtio_gpu_mmap()
|
/linux-4.4.14/Documentation/filesystems/ |
D | dax.txt | 64 include handlers for fault, pmd_fault and page_mkwrite (which should 74 calls to get_block() (for example by a page-fault racing with a read()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | disasm.h | 90 int fault, write; member
|
/linux-4.4.14/drivers/pnp/pnpbios/ |
D | Kconfig | 34 Also some buggy systems will fault when accessing certain features
|
/linux-4.4.14/net/rxrpc/ |
D | ar-key.c | 1135 goto fault; \ in rxrpc_read() 1142 goto fault; \ in rxrpc_read() 1145 goto fault; \ in rxrpc_read() 1152 goto fault; \ in rxrpc_read() 1244 fault: in rxrpc_read()
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 358 if (of->vm_ops->fault) in kernfs_vma_fault() 359 ret = of->vm_ops->fault(vma, vmf); in kernfs_vma_fault() 456 .fault = kernfs_vma_fault,
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 117 r = ttm_vm_ops->fault(vma, vmf); in qxl_ttm_fault() 149 qxl_ttm_vm_ops.fault = &qxl_ttm_fault; in qxl_mmap()
|
/linux-4.4.14/arch/ia64/lib/ |
D | memcpy_mck.S | 131 lfetch.fault [src_pre_mem], 128 132 lfetch.fault.excl [dst_pre_mem], 128 310 1: lfetch.fault [src_pre_mem], 128 311 lfetch.fault.excl [dst_pre_mem], 128
|
/linux-4.4.14/fs/ext2/ |
D | file.c | 123 .fault = ext2_dax_fault,
|
/linux-4.4.14/arch/blackfin/ |
D | Kconfig.debug | 6 bool "Verbose fault messages" 57 a double fault occurs. On the Blackfin, this is a unrecoverable 59 - RESET exactly when double fault occurs. The excepting
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | entry.S | 332 ;; This is the MMU bus fault handler. 338 ;; a real fault we let the mm subsystem handle it. 350 ;; write causes a MMU-fault, it will not be restarted correctly. 405 jsr handle_mmu_bus_fault ; in arch/cris/arch-v10/mm/fault.c
|
/linux-4.4.14/include/linux/ceph/ |
D | messenger.h | 37 void (*fault) (struct ceph_connection *con); member
|
/linux-4.4.14/drivers/char/agp/ |
D | alpha-agp.c | 44 .fault = alpha_core_agp_vm_fault,
|
/linux-4.4.14/Documentation/usb/ |
D | error-codes.txt | 109 device disconnect), or some other fault. 160 processing, devices may receive such fault reports for every request.
|
/linux-4.4.14/drivers/gpu/drm/vgem/ |
D | vgem_drv.c | 129 .fault = vgem_gem_fault,
|