Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/powerpc/mm/
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()
/Linux-v6.6/arch/s390/mm/
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()
363 enum fault_type type; in do_exception()
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
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()
/Linux-v6.6/drivers/iommu/intel/
Ddmar.c1857 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1861 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1865 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1868 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1871 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1948 int fault_type; in dmar_fault_do_one() local
1950 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1952 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/Linux-v6.6/arch/powerpc/xmon/
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()
/Linux-v6.6/mm/
Dshmem.c151 vm_fault_t *fault_type);
1816 vm_fault_t *fault_type) in shmem_swapin_folio() argument
1845 if (fault_type) { in shmem_swapin_folio()
1846 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
1930 vm_fault_t *fault_type) in shmem_get_folio_gfp() argument
1958 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
1964 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
2007 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
/Linux-v6.6/drivers/block/drbd/
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()
/Linux-v6.6/include/soc/tegra/
Dbpmp-abi.h3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-fs-f2fs681 What: /sys/fs/f2fs/<disk>/fault_type
/Linux-v6.6/Documentation/filesystems/
Df2fs.rst183 fault_type=%d Support configuring fault injection type, should be