Home
last modified time | relevance | path

Searched refs:fault_type (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A 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()
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dfault.c57 enum fault_type { enum
76 static enum fault_type get_fault_type(struct pt_regs *regs) in get_fault_type()
249 enum fault_type fault_type; in do_no_context() local
255 fault_type = get_fault_type(regs); in do_no_context()
256 if ((fault_type == KERNEL_FAULT) && (fault == VM_FAULT_BADCONTEXT)) { in do_no_context()
266 if (fault_type == KERNEL_FAULT) in do_no_context()
363 enum fault_type type; in do_exception()
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A 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()
/kernel/linux/linux-5.10/arch/s390/mm/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A 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()
/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Ddmar.c1756 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1760 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1764 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1767 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1770 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1845 int fault_type; in dmar_fault_do_one() local
1847 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1849 if (fault_type == INTR_REMAP) in dmar_fault_do_one()
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Ddmar.c1875 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1879 *fault_type = INTR_REMAP; in dmar_get_fault_reason()
1883 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1886 *fault_type = DMA_REMAP; in dmar_get_fault_reason()
1889 *fault_type = UNKNOWN; in dmar_get_fault_reason()
1966 int fault_type; in dmar_fault_do_one() local
1968 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1970 if (fault_type == INTR_REMAP) { in dmar_fault_do_one()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dxmon.c2322 static int fault_type; variable
2331 fault_type = 0; in handle_fault()
2335 fault_type = 1; in handle_fault()
2338 fault_type = 2; in handle_fault()
2452 printf("%s", fault_chars[fault_type]); in memex()
2588 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()
/kernel/linux/linux-5.10/mm/
H A Dshmem.c146 vm_fault_t *fault_type);
150 struct vm_fault *vmf, vm_fault_t *fault_type);
1701 vm_fault_t *fault_type) in shmem_swapin_page()
1718 if (fault_type) { in shmem_swapin_page()
1719 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_page()
1795 * vmf and fault_type are only supplied by shmem_fault:
1801 vm_fault_t *fault_type) in shmem_getpage_gfp()
1830 sgp, gfp, vma, fault_type); in shmem_getpage_gfp()
1861 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_getpage_gfp()
1698 shmem_swapin_page(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, vm_fault_t *fault_type) shmem_swapin_page() argument
1798 shmem_getpage_gfp(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, struct vm_fault *vmf, vm_fault_t *fault_type) shmem_getpage_gfp() argument
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_receiver.c1640 const int fault_type) in drbd_submit_peer_request()
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()
1637 drbd_submit_peer_request(struct drbd_device *device, struct drbd_peer_request *peer_req, const unsigned op, const unsigned op_flags, const int fault_type) drbd_submit_peer_request() argument
H A Ddrbd_int.h1579 int fault_type, struct bio *bio) in drbd_submit_bio_noacct()
1589 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
1578 drbd_submit_bio_noacct(struct drbd_device *device, int fault_type, struct bio *bio) drbd_submit_bio_noacct() argument
/kernel/linux/linux-6.6/mm/
H A Dshmem.c151 vm_fault_t *fault_type);
1833 vm_fault_t *fault_type) in shmem_swapin_folio()
1862 if (fault_type) { in shmem_swapin_folio()
1863 *fault_type |= VM_FAULT_MAJOR; in shmem_swapin_folio()
1941 * vma, vmf, and fault_type are only supplied by shmem_fault:
1947 vm_fault_t *fault_type) in shmem_get_folio_gfp()
1975 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp()
1981 sgp, gfp, vma, fault_type); in shmem_get_folio_gfp()
2024 *fault_type = handle_userfault(vmf, VM_UFFD_MISSING); in shmem_get_folio_gfp()
1830 shmem_swapin_folio(struct inode *inode, pgoff_t index, struct folio **foliop, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, vm_fault_t *fault_type) shmem_swapin_folio() argument
1944 shmem_get_folio_gfp(struct inode *inode, pgoff_t index, struct folio **foliop, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, struct vm_fault *vmf, vm_fault_t *fault_type) shmem_get_folio_gfp() argument
/kernel/linux/linux-6.6/include/soc/tegra/
H A Dbpmp-abi.h3227 uint32_t fault_type; /**< @ref fmon_fault_type */ member
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_int.h1516 int fault_type, struct bio *bio) in drbd_submit_bio_noacct()
1526 if (drbd_insert_fault(device, fault_type)) in drbd_submit_bio_noacct()
1515 drbd_submit_bio_noacct(struct drbd_device *device, int fault_type, struct bio *bio) drbd_submit_bio_noacct() argument

Completed in 51 milliseconds