Home
last modified time | relevance | path

Searched refs:fault_type (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c24 static volatile sig_atomic_t fault_pkey, fault_code, fault_type; variable
73 switch (fault_type) { in segv_handler()
165 fault_type = -1; in test()
204 fault_type = PKEY_DISABLE_ACCESS; in test()
263 fault_type = -1; in test()
266 fault_type = PKEY_DISABLE_EXECUTE; in test()
/openbmc/linux/arch/s390/mm/
H A Dfault.c57 enum fault_type { enum
76 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
249 enum fault_type fault_type; in do_no_context() local
255 fault_type = get_fault_type(regs); in do_no_context()
256 if ((fault_type == KERNEL_FAULT) && (fault == VM_FAULT_BADCONTEXT)) { in do_no_context()
266 if (fault_type == KERNEL_FAULT) in do_no_context()
365 enum fault_type type; in do_exception()
/openbmc/qemu/hw/dma/
H A Dpl330.c123 uint32_t fault_type; member
150 VMSTATE_UINT32(fault_type, PL330Chan),
595 ch->fault_type |= flags; in pl330_fault()
789 ch->fault_type = 0; in pl330_dmakill()
1328 if (ch->fault_type) { in pl330_debug_exec()
1329 ch->fault_type |= PL330_FAULT_DBG_INSTR; in pl330_debug_exec()
1455 return s->chan[chan_id].fault_type; in pl330_iomem_read_imp()
1486 return s->manager.fault_type; in pl330_iomem_read_imp()
1526 ch->fault_type = 0; in pl330_chan_reset()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c366 u8 fault_type; in fault_report_show() local
369 fault_type = (event->type < FAULT_TYPE_MAX) ? event->type : FAULT_TYPE_MAX; in fault_report_show()
371 err = devlink_fmsg_string_pair_put(fmsg, "Fault type", type_str[fault_type]); in fault_report_show()
/openbmc/linux/drivers/iommu/intel/
H A Ddmar.c1881 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1885 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1889 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1892 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1895 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1972 int fault_type; in dmar_fault_do_one() local
1974 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1976 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/openbmc/qemu/target/sparc/
H A Dldst_helper.c422 int fault_type; in sparc_raise_mmu_fault() local
438 fault_type = (env->mmuregs[3] & 0x1c) >> 2; in sparc_raise_mmu_fault()
439 if ((fault_type > 4) || (fault_type == 0)) { in sparc_raise_mmu_fault()
460 if (fault_type == ((env->mmuregs[3] & 0x1c)) >> 2) { in sparc_raise_mmu_fault()
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c2322 static int fault_type; variable
2331 fault_type = 0; in handle_fault()
2335 fault_type = 1; in handle_fault()
2338 fault_type = 2; in handle_fault()
2452 printf("%s", fault_chars[fault_type]); in memex()
2588 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2996 printf("%s", fault_chars[fault_type]); in prdump()
3035 const char *x = fault_chars[fault_type]; in generic_inst_dump()
/openbmc/linux/mm/
H A Dshmem.c151 vm_fault_t *fault_type);
1840 vm_fault_t *fault_type) in shmem_swapin_folio() argument
1869 if (fault_type) { in shmem_swapin_folio()
1870 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
1954 vm_fault_t *fault_type) in shmem_get_folio_gfp() argument
1982 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
1988 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
2031 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_int.h1516 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1526 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/openbmc/linux/include/soc/tegra/
H A Dbpmp-abi.h3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs681 What: /sys/fs/f2fs/<disk>/fault_type
/openbmc/linux/Documentation/filesystems/
H A Df2fs.rst181 fault_type=%d Support configuring fault injection type, should be