Home
last modified time | relevance | path

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

/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()
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_pagefault.c33 u8 fault_type; member
48 enum fault_type { enum
259 pf->fault_type, pf->access_type, pf->fault_level, in print_pagefault()
286 pf->fault_type = FIELD_GET(PFD_FAULT_TYPE, desc->dw2); in get_pagefault()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c345 u8 fault_type; in fault_report_show() local
347 fault_type = (event->type < FAULT_TYPE_MAX) ? event->type : FAULT_TYPE_MAX; in fault_report_show()
349 devlink_fmsg_string_pair_put(fmsg, "Fault type", type_str[fault_type]); in fault_report_show()
/linux/drivers/iommu/intel/
H A Ddmar.c1826 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1830 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1834 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1837 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1840 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1904 int fault_type; in dmar_fault_do_one() local
1906 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1908 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/linux/arch/powerpc/xmon/
H A Dxmon.c2303 static int fault_type; variable
2312 fault_type = 0; in handle_fault()
2316 fault_type = 1; in handle_fault()
2319 fault_type = 2; in handle_fault()
2433 printf("%s", fault_chars[fault_type]); in memex()
2569 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2977 printf("%s", fault_chars[fault_type]); in prdump()
3016 const char *x = fault_chars[fault_type]; in generic_inst_dump()
/linux/mm/
H A Dshmem.c163 struct vm_area_struct *vma, vm_fault_t *fault_type);
2317 vm_fault_t *fault_type) in shmem_swapin_folio() argument
2377 if (fault_type) { in shmem_swapin_folio()
2378 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
2495 * vmf and fault_type are only supplied by shmem_fault: otherwise they are NULL.
2499 gfp_t gfp, struct vm_fault *vmf, vm_fault_t *fault_type) in shmem_get_folio_gfp() argument
2525 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
2531 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
2574 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
/linux/drivers/block/drbd/
H A Ddrbd_int.h1489 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1499 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/linux/include/soc/tegra/
H A Dbpmp-abi.h3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs705 What: /sys/fs/f2fs/<disk>/fault_type
/linux/Documentation/filesystems/
H A Df2fs.rst181 fault_type=%d Support configuring fault injection type, should be