Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/s390/mm/
Dfault.c49 enum fault_type { enum
68 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
233 enum fault_type fault_type; in handle_fault_error_nolock() local
244 fault_type = get_fault_type(regs); in handle_fault_error_nolock()
245 if (fault_type == KERNEL_FAULT) { in handle_fault_error_nolock()
251 if (fault_type == KERNEL_FAULT) in handle_fault_error_nolock()
288 enum fault_type type; in do_exception()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_pagefault.c31 u8 fault_type; member
46 enum fault_type { enum
271 pf->fault_type, pf->access_type, pf->fault_level, in print_pagefault()
297 pf->fault_type = FIELD_GET(PFD_FAULT_TYPE, desc->dw2); in get_pagefault()
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
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-6.12.1/drivers/iommu/intel/
Ddmar.c1825 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1829 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1833 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1836 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1839 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1916 int fault_type; in dmar_fault_do_one() local
1918 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1920 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c2320 static int fault_type; variable
2329 fault_type = 0; in handle_fault()
2333 fault_type = 1; in handle_fault()
2336 fault_type = 2; in handle_fault()
2450 printf("%s", fault_chars[fault_type]); in memex()
2586 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2994 printf("%s", fault_chars[fault_type]); in prdump()
3033 const char *x = fault_chars[fault_type]; in generic_inst_dump()
/linux-6.12.1/mm/
Dshmem.c158 struct vm_area_struct *vma, vm_fault_t *fault_type);
2094 vm_fault_t *fault_type) in shmem_swapin_folio() argument
2125 if (fault_type) { in shmem_swapin_folio()
2126 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
2232 gfp_t gfp, struct vm_fault *vmf, vm_fault_t *fault_type) in shmem_get_folio_gfp() argument
2258 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
2264 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
2307 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
/linux-6.12.1/drivers/block/drbd/
Ddrbd_int.h1506 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1516 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/linux-6.12.1/include/soc/tegra/
Dbpmp-abi.h3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-fs-f2fs702 What: /sys/fs/f2fs/<disk>/fault_type
/linux-6.12.1/Documentation/filesystems/
Df2fs.rst181 fault_type=%d Support configuring fault injection type, should be