Home
last modified time | relevance | path

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

/Linux-v5.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-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c378 u8 fault_type; in fault_report_show() local
381 fault_type = (event->type < FAULT_TYPE_MAX) ? event->type : FAULT_TYPE_MAX; in fault_report_show()
383 err = devlink_fmsg_string_pair_put(fmsg, "Fault type", type_str[fault_type]); in fault_report_show()
/Linux-v5.10/drivers/iommu/intel/
Ddmar.c1753 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1757 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1761 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1764 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1767 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1842 int fault_type; in dmar_fault_do_one() local
1844 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1846 if (fault_type == INTR_REMAP) in dmar_fault_do_one()
/Linux-v5.10/arch/s390/mm/
Dfault.c53 enum fault_type { enum
73 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
388 enum fault_type type; in do_exception()
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c2232 static int fault_type; variable
2241 fault_type = 0; in handle_fault()
2245 fault_type = 1; in handle_fault()
2248 fault_type = 2; in handle_fault()
2362 printf("%s", fault_chars[fault_type]); in memex()
2498 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2926 printf("%s", fault_chars[fault_type]); in prdump()
2965 const char *x = fault_chars[fault_type]; in generic_inst_dump()
/Linux-v5.10/mm/
Dshmem.c146 vm_fault_t *fault_type);
150 struct vm_fault *vmf, vm_fault_t *fault_type);
1696 vm_fault_t *fault_type) in shmem_swapin_page() argument
1713 if (fault_type) { in shmem_swapin_page()
1714 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_page()
1796 vm_fault_t *fault_type) in shmem_getpage_gfp() argument
1825 sgp, gfp, vma, fault_type); in shmem_getpage_gfp()
1856 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_getpage_gfp()
/Linux-v5.10/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.h1579 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1589 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/Linux-v5.10/Documentation/filesystems/
Df2fs.rst171 fault_type=%d Support configuring fault injection type, should be