/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 24 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 D | fault.c | 57 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 D | pl330.c | 123 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 D | hinic_devlink.c | 366 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 D | dmar.c | 1881 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 D | ldst_helper.c | 422 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 D | xmon.c | 2322 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 D | shmem.c | 151 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 D | drbd_int.h | 1516 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 D | bpmp-abi.h | 3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-f2fs | 681 What: /sys/fs/f2fs/<disk>/fault_type
|
/openbmc/linux/Documentation/filesystems/ |
H A D | f2fs.rst | 181 fault_type=%d Support configuring fault injection type, should be
|