Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/arch/s390/mm/
Dfault.c55 enum fault_type { enum
74 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
337 enum fault_type type; in do_exception()
/linux-5.19.10/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-5.19.10/drivers/iommu/intel/
Ddmar.c1847 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1851 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1855 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1858 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1861 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1936 int fault_type; in dmar_fault_do_one() local
1938 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1940 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/linux-5.19.10/arch/powerpc/xmon/
Dxmon.c2324 static int fault_type; variable
2333 fault_type = 0; in handle_fault()
2337 fault_type = 1; in handle_fault()
2340 fault_type = 2; in handle_fault()
2454 printf("%s", fault_chars[fault_type]); in memex()
2590 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-5.19.10/mm/
Dshmem.c140 vm_fault_t *fault_type);
144 struct vm_fault *vmf, vm_fault_t *fault_type);
1717 vm_fault_t *fault_type) in shmem_swapin_folio() argument
1738 if (fault_type) { in shmem_swapin_folio()
1739 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
1826 vm_fault_t *fault_type) in shmem_getpage_gfp() argument
1856 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_getpage_gfp()
1862 sgp, gfp, vma, fault_type); in shmem_getpage_gfp()
1898 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_getpage_gfp()
/linux-5.19.10/drivers/block/drbd/
Ddrbd_receiver.c1625 const int fault_type) in drbd_submit_peer_request() argument
1702 drbd_submit_bio_noacct(device, fault_type, bio); in drbd_submit_peer_request()
2796 unsigned int fault_type; in receive_DataRequest() local
2860 fault_type = DRBD_FAULT_DT_RD; in receive_DataRequest()
2874 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2881 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2930 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2983 fault_type) == 0) in receive_DataRequest()
Ddrbd_int.h1573 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1583 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/linux-5.19.10/Documentation/filesystems/
Df2fs.rst177 fault_type=%d Support configuring fault injection type, should be