Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c368 u8 fault_type; in fault_report_show() local
371 fault_type = (event->type < FAULT_TYPE_MAX) ? event->type : FAULT_TYPE_MAX; in fault_report_show()
373 err = devlink_fmsg_string_pair_put(fmsg, "Fault type", type_str[fault_type]); in fault_report_show()
/Linux-v5.15/arch/s390/mm/
Dfault.c54 enum fault_type { enum
73 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
355 enum fault_type type; in do_exception()
/Linux-v5.15/drivers/iommu/intel/
Ddmar.c1851 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1855 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1859 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1862 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1865 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1940 int fault_type; in dmar_fault_do_one() local
1942 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1944 if (fault_type == INTR_REMAP) in dmar_fault_do_one()
/Linux-v5.15/arch/powerpc/xmon/
Dxmon.c2321 static int fault_type; variable
2330 fault_type = 0; in handle_fault()
2334 fault_type = 1; in handle_fault()
2337 fault_type = 2; in handle_fault()
2451 printf("%s", fault_chars[fault_type]); in memex()
2587 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2991 printf("%s", fault_chars[fault_type]); in prdump()
3030 const char *x = fault_chars[fault_type]; in generic_inst_dump()
/Linux-v5.15/mm/
Dshmem.c142 vm_fault_t *fault_type);
146 struct vm_fault *vmf, vm_fault_t *fault_type);
1712 vm_fault_t *fault_type) in shmem_swapin_page() argument
1729 if (fault_type) { in shmem_swapin_page()
1730 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_page()
1812 vm_fault_t *fault_type) in shmem_getpage_gfp() argument
1844 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_getpage_gfp()
1850 sgp, gfp, vma, fault_type); in shmem_getpage_gfp()
1886 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_getpage_gfp()
/Linux-v5.15/drivers/block/drbd/
Ddrbd_receiver.c1640 const int fault_type) in drbd_submit_peer_request() argument
1726 drbd_submit_bio_noacct(device, fault_type, bio); in drbd_submit_peer_request()
2845 unsigned int fault_type; in receive_DataRequest() local
2909 fault_type = DRBD_FAULT_DT_RD; in receive_DataRequest()
2923 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2930 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2979 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
3032 fault_type) == 0) in receive_DataRequest()
Ddrbd_int.h1577 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1587 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/Linux-v5.15/Documentation/filesystems/
Df2fs.rst177 fault_type=%d Support configuring fault injection type, should be