/linux/arch/alpha/kernel/ |
H A D | irq_alpha.c | 132 const char *reason; in process_mcheck_info() local 160 case 0x80: reason = "tag parity error"; break; in process_mcheck_info() 161 case 0x82: reason = "tag control parity error"; break; in process_mcheck_info() 162 case 0x84: reason = "generic hard error"; break; in process_mcheck_info() 163 case 0x86: reason = "correctable ECC error"; break; in process_mcheck_info() 164 case 0x88: reason = "uncorrectable ECC error"; break; in process_mcheck_info() 165 case 0x8A: reason = "OS-specific PAL bugcheck"; break; in process_mcheck_info() 166 case 0x90: reason = "callsys in kernel mode"; break; in process_mcheck_info() 167 case 0x96: reason = "i-cache read retryable error"; break; in process_mcheck_info() 168 case 0x98: reason = "processor detected hard error"; break; in process_mcheck_info() [all …]
|
/linux/include/trace/events/ |
H A D | ipi.h | 21 TP_PROTO(const struct cpumask *mask, const char *reason), 23 TP_ARGS(mask, reason), 27 __field(const char *, reason) 32 __entry->reason = reason; 35 TP_printk("target_mask=%s (%s)", __get_bitmask(target_cpus), __entry->reason) 84 TP_PROTO(const char *reason), 86 TP_ARGS(reason), 89 __field(const char *, reason) 93 __entry->reason = reason; 96 TP_printk("(%s)", __entry->reason) [all …]
|
H A D | skb.h | 13 #define FN(reason) TRACE_DEFINE_ENUM(SKB_DROP_REASON_##reason); argument 18 #define FN(reason) { SKB_DROP_REASON_##reason, #reason }, argument 19 #define FNe(reason) { SKB_DROP_REASON_##reason, #reason } argument 27 enum skb_drop_reason reason, struct sock *rx_sk), 29 TP_ARGS(skb, location, reason, rx_sk), 36 __field(enum skb_drop_reason, reason) 44 __entry->reason = reason; 50 __print_symbolic(__entry->reason,
|
H A D | migrate.h | 54 enum migrate_mode mode, int reason), 57 thp_split, large_folio_split, mode, reason), 67 __field( int, reason) 78 __entry->reason = reason; 89 __print_symbolic(__entry->reason, MIGRATE_REASON)) 94 TP_PROTO(enum migrate_mode mode, int reason), 96 TP_ARGS(mode, reason), 100 __field(int, reason) 105 __entry->reason = reason; 110 __print_symbolic(__entry->reason, MIGRATE_REASON))
|
H A D | tlb.h | 40 TP_PROTO(int reason, unsigned long pages), 41 TP_ARGS(reason, pages), 44 __field( int, reason) 49 __entry->reason = reason; 55 __print_symbolic(__entry->reason, TLB_FLUSH_REASON), 56 __entry->reason)
|
H A D | afs.h | 1275 enum afs_cb_break_reason reason), 1277 TP_ARGS(vid, cb_v_break, reason), 1282 __field(enum afs_cb_break_reason, reason) 1288 __entry->reason = reason; 1294 __print_symbolic(__entry->reason, afs_cb_break_reasons)) 1299 enum afs_cb_break_reason reason, bool skipped), 1301 TP_ARGS(fid, cb_break, reason, skipped), 1306 __field(enum afs_cb_break_reason, reason) 1313 __entry->reason = reason; 1321 __print_symbolic(__entry->reason, afs_cb_break_reasons)) [all …]
|
H A D | mctp.h | 49 TP_PROTO(const struct mctp_sk_key *key, int reason), 50 TP_ARGS(key, reason), 55 __field(int, reason) 61 __entry->reason = reason; 67 __print_symbolic(__entry->reason,
|
/linux/kernel/debug/kdb/ |
H A D | kdb_debugger.c | 58 kdb_reason_t reason = KDB_REASON_OOPS; in kdb_stub() local 64 reason = KDB_REASON_SWITCH; in kdb_stub() 70 reason = KDB_REASON_KEYBOARD; in kdb_stub() 73 reason = KDB_REASON_SYSTEM_NMI; in kdb_stub() 76 reason = KDB_REASON_NMI; in kdb_stub() 80 reason = KDB_REASON_BREAK; in kdb_stub() 87 if (reason == KDB_REASON_BREAK || reason == KDB_REASON_SWITCH) { in kdb_stub() 101 reason = KDB_REASON_BREAK; in kdb_stub() 109 if (reason != KDB_REASON_BREAK && ks->ex_vector == 0 && in kdb_stub() 111 reason = KDB_REASON_SSTEP; in kdb_stub() [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | machine_check.c | 14 unsigned long reason = regs->esr; in machine_check_4xx() local 16 if (reason & ESR_IMCP) { in machine_check_4xx() 18 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_4xx() 29 unsigned long reason = regs->esr; in machine_check_440A() local 32 if (reason & ESR_IMCP){ in machine_check_440A() 34 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_440A() 66 unsigned long reason = regs->esr; in machine_check_47x() local 70 if (reason & ESR_IMCP) { in machine_check_47x() 72 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_47x()
|
/linux/arch/loongarch/kvm/ |
H A D | trace.h | 56 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason), 57 TP_ARGS(vcpu, reason), 61 __field(unsigned int, reason) 67 __entry->reason = reason; 72 __print_symbolic(__entry->reason, 78 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason), 79 TP_ARGS(vcpu, reason)); 82 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason), 83 TP_ARGS(vcpu, reason)); 86 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason), [all …]
|
/linux/arch/mips/include/asm/ |
H A D | sync.h | 197 # define ___SYNC(type, reason, else) \ 198 ____SYNC(type, reason, else) 200 # define ___SYNC(type, reason, else) \ argument 201 __stringify(____SYNC(type, reason, else)) 204 #define __SYNC(type, reason) \ argument 205 ___SYNC(__SYNC_##type, __SYNC_##reason, ) 206 #define __SYNC_ELSE(type, reason, else) \ argument 207 ___SYNC(__SYNC_##type, __SYNC_##reason, else)
|
/linux/arch/x86/kernel/ |
H A D | nmi.c | 228 pci_serr_error(unsigned char reason, struct pt_regs *regs) in pci_serr_error() argument 235 reason, smp_processor_id()); in pci_serr_error() 243 reason = (reason & NMI_REASON_CLEAR_MASK) | NMI_REASON_CLEAR_SERR; in pci_serr_error() 244 outb(reason, NMI_REASON_PORT); in pci_serr_error() 249 io_check_error(unsigned char reason, struct pt_regs *regs) in io_check_error() argument 259 reason, smp_processor_id()); in io_check_error() 274 reason = (reason & NMI_REASON_CLEAR_MASK) | NMI_REASON_CLEAR_IOCHK; in io_check_error() 275 outb(reason, NMI_REASON_PORT); in io_check_error() 283 reason &= ~NMI_REASON_CLEAR_IOCHK; in io_check_error() 284 outb(reason, NMI_REASON_PORT); in io_check_error() [all …]
|
/linux/include/linux/ |
H A D | kmsg_dump.h | 49 enum kmsg_dump_reason reason; member 69 void kmsg_dump_desc(enum kmsg_dump_reason reason, const char *desc); 83 const char *kmsg_dump_reason_str(enum kmsg_dump_reason reason); 85 static inline void kmsg_dump_desc(enum kmsg_dump_reason reason, const char *desc) in kmsg_dump_desc() argument 115 static inline const char *kmsg_dump_reason_str(enum kmsg_dump_reason reason) in kmsg_dump_reason_str() argument 121 static inline void kmsg_dump(enum kmsg_dump_reason reason) in kmsg_dump() argument 123 kmsg_dump_desc(reason, NULL); in kmsg_dump()
|
H A D | reboot.h | 180 void __hw_protection_shutdown(const char *reason, int ms_until_forced, bool shutdown); 182 static inline void hw_protection_reboot(const char *reason, int ms_until_forced) in hw_protection_reboot() argument 184 __hw_protection_shutdown(reason, ms_until_forced, false); in hw_protection_reboot() 187 static inline void hw_protection_shutdown(const char *reason, int ms_until_forced) in hw_protection_shutdown() argument 189 __hw_protection_shutdown(reason, ms_until_forced, true); in hw_protection_shutdown()
|
/linux/arch/powerpc/kernel/ |
H A D | traps.c | 602 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4) argument 609 unsigned long reason = mcsr; in machine_check_e500mc() local 612 if (reason & MCSR_LD) { in machine_check_e500mc() 619 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc() 621 if (reason & MCSR_MCP) in machine_check_e500mc() 624 if (reason & MCSR_ICPERR) { in machine_check_e500mc() 639 reason &= ~MCSR_IF; in machine_check_e500mc() 642 if (reason & MCSR_DCPERR_MC) { in machine_check_e500mc() 661 if (reason & MCSR_L2MMU_MHIT) { in machine_check_e500mc() 666 if (reason & MCSR_NMI) in machine_check_e500mc() [all …]
|
/linux/drivers/misc/sgi-xp/ |
H A D | xpc_channel.c | 161 "reason=%d\n", ch->number, ch->partid, ch->reason); in xpc_process_disconnect() 190 enum xp_retval reason; in xpc_process_openclose_chctl_flags() local 211 "from partid=%d, channel=%d\n", args->reason, in xpc_process_openclose_chctl_flags() 268 reason = args->reason; in xpc_process_openclose_chctl_flags() 269 if (reason <= xpSuccess || reason > xpUnknownReason) in xpc_process_openclose_chctl_flags() 270 reason = xpUnknownReason; in xpc_process_openclose_chctl_flags() 271 else if (reason == xpUnregistering) in xpc_process_openclose_chctl_flags() 272 reason = xpOtherUnregistering; in xpc_process_openclose_chctl_flags() 274 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags); in xpc_process_openclose_chctl_flags() 486 return ch->reason; in xpc_connect_channel() [all …]
|
H A D | xpc_partition.c | 332 DBUG_ON(part->reason == xpSuccess); in xpc_mark_partition_active() 333 ret = part->reason; in xpc_mark_partition_active() 345 enum xp_retval reason) in xpc_deactivate_partition() argument 352 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition() 354 if (reason == xpReactivating) { in xpc_deactivate_partition() 361 if ((part->reason == xpUnloading && reason != xpUnloading) || in xpc_deactivate_partition() 362 reason == xpReactivating) { in xpc_deactivate_partition() 363 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition() 370 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition() 383 XPC_PARTID(part), reason); in xpc_deactivate_partition() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | link.c | 936 enum iwl_mvm_esr_state reason) in iwl_mvm_check_esr_prevention() argument 946 if (!(reason & IWL_MVM_ESR_PREVENT_REASONS)) in iwl_mvm_check_esr_prevention() 954 if (timeout_expired || mvmvif->last_esr_exit.reason != reason) { in iwl_mvm_check_esr_prevention() 977 iwl_get_esr_state_string(reason), reason); in iwl_mvm_check_esr_prevention() 988 enum iwl_mvm_esr_state reason, in iwl_mvm_exit_esr() argument 1013 iwl_get_esr_state_string(reason), reason, in iwl_mvm_exit_esr() 1019 prevented = iwl_mvm_check_esr_prevention(mvm, mvmvif, reason); in iwl_mvm_exit_esr() 1023 mvmvif->last_esr_exit.reason = reason; in iwl_mvm_exit_esr() 1030 if (prevented || reason & IWL_MVM_BLOCK_ESR_REASONS) in iwl_mvm_exit_esr() 1040 enum iwl_mvm_esr_state reason, in iwl_mvm_block_esr() argument [all …]
|
/linux/net/ipv6/ |
H A D | ip6_input.c | 151 enum skb_drop_reason reason; in ip6_rcv_core() local 168 SKB_DR_SET(reason, NOT_SPECIFIED); in ip6_rcv_core() 173 SKB_DR_SET(reason, IPV6DISABLED); in ip6_rcv_core() 198 SKB_DR_SET(reason, UNHANDLED_PROTO); in ip6_rcv_core() 239 SKB_DR_SET(reason, UNICAST_IN_L2_MULTICAST); in ip6_rcv_core() 270 SKB_DR_SET(reason, PKT_TOO_SMALL); in ip6_rcv_core() 295 SKB_DR_OR(reason, IP_INHDR); in ip6_rcv_core() 298 kfree_skb_reason(skb, reason); in ip6_rcv_core() 367 SKB_DR(reason); in ip6_protocol_deliver_rcu() 424 SKB_DR_SET(reason, IP_INADDRERRORS); in ip6_protocol_deliver_rcu() [all …]
|
H A D | icmp.c | 646 enum skb_drop_reason reason) in icmpv6_param_prob_reason() argument 649 kfree_skb_reason(skb, reason); in icmpv6_param_prob_reason() 733 SKB_DR(reason); in icmpv6_echo_reply() 739 return reason; in icmpv6_echo_reply() 745 return reason; in icmpv6_echo_reply() 820 reason = SKB_CONSUMED; in icmpv6_echo_reply() 828 return reason; in icmpv6_echo_reply() 837 enum skb_drop_reason reason; in icmpv6_notify() local 842 reason = pskb_may_pull_reason(skb, sizeof(struct ipv6hdr)); in icmpv6_notify() 843 if (reason != SKB_NOT_DROPPED_YET) in icmpv6_notify() [all …]
|
/linux/kernel/module/ |
H A D | signing.c | 74 const char *reason; in module_sig_check() local 101 reason = "unsigned module"; in module_sig_check() 104 reason = "module with unsupported crypto"; in module_sig_check() 107 reason = "module with unavailable key"; in module_sig_check() 120 pr_notice("Loading of %s is rejected\n", reason); in module_sig_check()
|
/linux/drivers/power/reset/ |
H A D | at91-reset.c | 156 const char *reason; in at91_reset_reason() local 160 reason = POWER_ON_REASON_REGULAR; in at91_reset_reason() 163 reason = POWER_ON_REASON_RTC; in at91_reset_reason() 166 reason = POWER_ON_REASON_WATCHDOG; in at91_reset_reason() 169 reason = POWER_ON_REASON_SOFTWARE; in at91_reset_reason() 172 reason = POWER_ON_REASON_RST_BTN; in at91_reset_reason() 175 reason = POWER_ON_REASON_CPU_CLK_FAIL; in at91_reset_reason() 178 reason = POWER_ON_REASON_XTAL_FAIL; in at91_reset_reason() 181 reason = POWER_ON_REASON_BROWN_OUT; in at91_reset_reason() 184 reason = POWER_ON_REASON_UNKNOWN; in at91_reset_reason() [all …]
|
/linux/tools/testing/selftests/powerpc/dexcr/ |
H A D | lsdexcr.c | 74 const char *reason = NULL; in print_aspect_config() local 81 reason = "set by unknown"; in print_aspect_config() 83 reason = "cleared by unknown"; in print_aspect_config() 101 reason = reason_prctl; in print_aspect_config() 107 reason = reason_hyp; in print_aspect_config() 116 reason, in print_aspect_config()
|
/linux/net/ipv4/ |
H A D | ip_forward.c | 90 SKB_DR(reason); in ip_forward() 103 SKB_DR_SET(reason, XFRM_POLICY); in ip_forward() 122 SKB_DR_SET(reason, XFRM_POLICY); in ip_forward() 139 SKB_DR_SET(reason, PKT_TOO_BIG); in ip_forward() 177 SKB_DR_SET(reason, IP_INHDR); in ip_forward() 179 kfree_skb_reason(skb, reason); in ip_forward()
|
/linux/tools/sched_ext/include/scx/ |
H A D | user_exit_info.h | 22 char reason[UEI_REASON_LEN]; member 41 bpf_probe_read_kernel_str(__uei_name.reason, \ 42 sizeof(__uei_name.reason), (__ei)->reason); \ 80 fprintf(stderr, "EXIT: %s", __uei->reason); \
|