Home
last modified time | relevance | path

Searched refs:err_str (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/edac/
H A Dversalnet_edac.c597 const char *err_str; in rpmsg_cb() local
636 case 5: err_str = "General Software Non-Correctable error"; break; in rpmsg_cb()
637 case 6: err_str = "CFU error"; break; in rpmsg_cb()
638 case 7: err_str = "CFRAME error"; break; in rpmsg_cb()
639 case 10: err_str = "DDRMC Microblaze Correctable ECC error"; break; in rpmsg_cb()
640 case 11: err_str = "DDRMC Microblaze Non-Correctable ECC error"; break; in rpmsg_cb()
641 case 15: err_str = "MMCM error"; break; in rpmsg_cb()
642 case 16: err_str = "HNICX Correctable error"; break; in rpmsg_cb()
643 case 17: err_str = "HNICX Non-Correctable error"; break; in rpmsg_cb()
668 case 21: err_str = "GT Non-Correctable error"; break; in rpmsg_cb()
[all …]
/linux/drivers/infiniband/core/
H A Diwpm_util.c463 const char *err_str = ""; in iwpm_parse_nlmsg() local
468 err_str = "Invalid attribute"; in iwpm_parse_nlmsg()
474 err_str = "Unable to parse the nlmsg"; in iwpm_parse_nlmsg()
479 err_str = "Invalid NULL attribute"; in iwpm_parse_nlmsg()
485 __func__, err_str, msg_type, ret); in iwpm_parse_nlmsg()
583 const char *err_str = ""; in send_mapinfo_num() local
588 err_str = "Unable to create a nlmsg"; in send_mapinfo_num()
593 err_str = "Unable to put attribute of mapinfo number nlmsg"; in send_mapinfo_num()
607 err_str = "Unable to send a nlmsg"; in send_mapinfo_num()
613 pr_info("%s: %s\n", __func__, err_str); in send_mapinfo_num()
[all …]
/linux/drivers/crypto/caam/
H A Derror.c231 const char *err_str = "unidentified err_id value 0x"; in report_ccb_status() local
248 err_str = rng_err_id_list[err_id]; in report_ccb_status()
250 err_str = err_id_list[err_id]; in report_ccb_status()
262 err_str, err_err_code); in report_ccb_status()
283 const char *err_str = "unidentified error value 0x"; in report_deco_status() local
297 err_str = desc_error_list[i].error_text; in report_deco_status()
302 status, error, idx_str, idx, err_str, err_err_code); in report_deco_status()
311 const char *err_str = "unidentified error value 0x"; in report_qi_status() local
320 err_str = qi_error_list[i].error_text; in report_qi_status()
325 status, error, err_str, err_err_code); in report_qi_status()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c64 const char *err_str; member
222 .err_str = "Invalid member bits_offset",
352 .err_str = "Linkage not supported",
374 .err_str = "Invalid type_id",
399 .err_str = "Invalid type",
424 .err_str = "Invalid type",
461 .err_str = "Invalid size",
498 .err_str = "Invalid size",
535 .err_str = "Invalid size",
613 .err_str
5666 const char *err_str; global() member
[all...]
H A Dbpf_tcp_ca.c221 static char *err_str; variable
239 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print()
251 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license()
330 err_str = "program of this type cannot use helper bpf_setsockopt"; in test_rel_setsockopt()
383 err_str = "attach to unsupported member get_info"; in test_unsupp_cong_op()
H A Dtc_redirect.c332 char err_str[128], ifname[16]; in qdisc_clsact_create() local
338 snprintf(err_str, sizeof(err_str), in qdisc_clsact_create()
341 err_str[sizeof(err_str) - 1] = 0; in qdisc_clsact_create()
342 ASSERT_OK(err, err_str); in qdisc_clsact_create()
352 char err_str[128], ifname[16]; in xgress_filter_add() local
359 snprintf(err_str, sizeof(err_str), in xgress_filter_add()
364 err_str[sizeof(err_str) - 1] = 0; in xgress_filter_add()
365 ASSERT_OK(err, err_str); in xgress_filter_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c535 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
542 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
544 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
549 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
558 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
563 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
570 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_ptpsq_unhealthy() local
579 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_ptpsq_unhealthy()
583 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_ptpsq_unhealthy()
H A Dreporter_rx.c611 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
623 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
627 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
632 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
639 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
641 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
647 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
653 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
655 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/linux/tools/perf/util/
H A Ddrm_pmu.c329 char *err_str; in drm_pmu__config_term()
332 asprintf(&err_str, in drm_pmu__config_term()
337 : err_str, in drm_pmu__config_term()
376 char *err_str; in drm_pmu__check_alias()
379 asprintf(&err_str, in drm_pmu__check_alias()
384 : err_str, in drm_pmu__check_alias()
333 char *err_str; drm_pmu__config_term() local
380 char *err_str; drm_pmu__check_alias() local
H A Dhwmon_pmu.c632 char *err_str; in hwmon_pmu__config_term() local
635 asprintf(&err_str, in hwmon_pmu__config_term()
640 : err_str, in hwmon_pmu__config_term()
690 char *err_str; in hwmon_pmu__check_alias() local
693 asprintf(&err_str, in hwmon_pmu__check_alias()
698 : err_str, in hwmon_pmu__check_alias()
H A Dparse-events.c744 char *err_str; in config_term_avail() local
791 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
793 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail()
2399 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument
2406 if (err_str) { in __parse_events_error__print()
2448 fprintf(stderr, "%*s\\___ %s\n", idx + 1, "", err_str); in __parse_events_error__print()
H A Dpmu.c1660 char *err_str; in pmu_config_term() local
1662 if (asprintf(&err_str, in pmu_config_term()
1665 err_str = strdup("value too big for format"); in pmu_config_term()
1667 parse_events_error__handle(err, term->err_val, err_str, /*help=*/NULL); in pmu_config_term()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_common.c154 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in iavf_stat_str()
155 return hw->err_str; in iavf_stat_str()
/linux/drivers/sbus/char/
H A Doradax.c710 char *err_str; in dax_ccb_kill() local
720 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_kill()
721 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_kill()
736 char *err_str; in dax_ccb_info() local
749 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_info()
750 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_info()
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-dec.c103 static inline const char *err_str(enum jpeg_decoding_error_t err) in err_str() function
184 err_str(status->error_code)); in delta_mjpeg_check_status()
190 err_str(status->error_code)); in delta_mjpeg_check_status()
/linux/lib/
H A Dkobject.c335 char *err_str; in kobject_init() local
338 err_str = "invalid kobject pointer!"; in kobject_init()
342 err_str = "must have a ktype to be initialized properly!\n"; in kobject_init()
357 pr_err("kobject (%p): %s\n", kobj, err_str); in kobject_init()
/linux/drivers/perf/
H A Darm_spe_pmu.c682 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local
720 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act()
723 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act()
733 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act()
738 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
/linux/drivers/i2c/
H A Di2c-core-base.c429 char *err_str; in i2c_init_recovery() local
438 err_str = "no suitable method provided"; in i2c_init_recovery()
454 err_str = "no {get|set}_scl() found"; in i2c_init_recovery()
458 err_str = "either get_sda() or set_sda() needed"; in i2c_init_recovery()
466 dev_err(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
468 dev_dbg(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
/linux/tools/testing/vsock/
H A Dutil.c42 static unsigned int parse_uint(const char *str, const char *err_str) in parse_uint() argument
50 fprintf(stderr, "malformed %s \"%s\"\n", err_str, str); in parse_uint()
/linux/drivers/firmware/arm_ffa/
H A Ddriver.c1826 char *err_str; in ffa_irq_map() local
1830 err_str = "Notification Pending Interrupt"; in ffa_irq_map()
1832 err_str = "Schedule Receiver Interrupt"; in ffa_irq_map()
1834 err_str = "Unknown ID"; in ffa_irq_map()
1840 pr_err("Failed to retrieve FF-A %s %u\n", err_str, id); in ffa_irq_map()
/linux/net/sctp/
H A Dsm_statefuns.c4834 static const char err_str[] = "The following chunk had invalid length:"; in sctp_sf_violation_chunklen() local
4836 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4837 sizeof(err_str)); in sctp_sf_violation_chunklen()
4897 static const char err_str[] = "The cumulative tsn ack beyond the max tsn currently sent:"; in sctp_sf_violation_ctsn() local
4899 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4900 sizeof(err_str)); in sctp_sf_violation_ctsn()
4917 static const char err_str[] = "The following chunk violates protocol:"; in sctp_sf_violation_chunk() local
4919 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4920 sizeof(err_str)); in sctp_sf_violation_chunk()
/linux/fs/ext4/
H A Dinode.c5166 const char *err_str; in check_igot_inode() local
5170 err_str = "missing EA_INODE flag"; in check_igot_inode()
5175 err_str = "ea_inode with extended attributes"; in check_igot_inode()
5187 err_str = "unexpected EA_INODE flag"; in check_igot_inode()
5192 err_str = "unexpected bad inode w/o EXT4_IGET_BAD"; in check_igot_inode()
5198 ext4_error_inode(inode, function, line, 0, "%s", err_str); in check_igot_inode()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c2758 const char *err_str; in qed_hw_error_occurred() local
2762 err_str = qed_hw_err_type_descr[err_type]; in qed_hw_error_occurred()
2764 DP_NOTICE(p_hwfn, "HW error occurred [%s]\n", err_str); in qed_hw_error_occurred()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_type.h584 char err_str[16]; member

12