Home
last modified time | relevance | path

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

/Linux-v6.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-v6.1/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-v6.1/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()
336 enum fault_type type; in do_exception()
/Linux-v6.1/drivers/iommu/intel/
Ddmar.c1829 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1833 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1837 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1840 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1843 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1918 int fault_type; in dmar_fault_do_one() local
1920 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1922 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/Linux-v6.1/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-v6.1/mm/
Dshmem.c142 vm_fault_t *fault_type);
1734 vm_fault_t *fault_type) in shmem_swapin_folio() argument
1754 if (fault_type) { in shmem_swapin_folio()
1755 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
1840 vm_fault_t *fault_type) in shmem_get_folio_gfp() argument
1870 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
1876 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
1912 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
/Linux-v6.1/drivers/block/drbd/
Ddrbd_receiver.c1624 const blk_opf_t opf, const int fault_type) in drbd_submit_peer_request() argument
1700 drbd_submit_bio_noacct(device, fault_type, bio); in drbd_submit_peer_request()
2792 unsigned int fault_type; in receive_DataRequest() local
2856 fault_type = DRBD_FAULT_DT_RD; in receive_DataRequest()
2870 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2877 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2926 fault_type = DRBD_FAULT_RS_RD; in receive_DataRequest()
2979 fault_type) == 0) in receive_DataRequest()
Ddrbd_int.h1571 int fault_type, struct bio *bio) in drbd_submit_bio_noacct() argument
1581 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
/Linux-v6.1/Documentation/filesystems/
Df2fs.rst177 fault_type=%d Support configuring fault injection type, should be