Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dtest_global_funcs.c5 const char *err_str; variable
22 if (err_str && strstr(log_buf, err_str) == 0) in libbpf_debug_print()
50 const char *err_str; member
76 err_str = test->err_str; in test_test_global_funcs()
78 CHECK_FAIL(!!err ^ !!err_str); in test_test_global_funcs()
79 if (err_str) in test_test_global_funcs()
80 CHECK(found, "", "expected string '%s'", err_str); in test_test_global_funcs()
Dbtf.c67 const char *err_str; member
225 .err_str = "Invalid member bits_offset",
355 .err_str = "Linkage not supported",
377 .err_str = "Invalid type_id",
402 .err_str = "Invalid type",
427 .err_str = "Invalid type",
464 .err_str = "Invalid size",
501 .err_str = "Invalid size",
538 .err_str = "Invalid size",
616 .err_str = "Invalid offset+size",
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_msg.c69 const char *err_str = ""; in iwpm_register_pid() local
73 err_str = "Invalid port mapper client"; in iwpm_register_pid()
81 err_str = "Unable to create a nlmsg"; in iwpm_register_pid()
87 err_str = "Unable to allocate netlink request"; in iwpm_register_pid()
93 err_str = "Unable to put attribute of the nlmsg"; in iwpm_register_pid()
119 err_str = "Unable to send a nlmsg"; in iwpm_register_pid()
126 pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); in iwpm_register_pid()
153 const char *err_str = ""; in iwpm_add_mapping() local
157 err_str = "Invalid port mapper client"; in iwpm_add_mapping()
163 err_str = "Unregistered port mapper client"; in iwpm_add_mapping()
[all …]
Diwpm_util.c507 const char *err_str = ""; in iwpm_parse_nlmsg() local
512 err_str = "Invalid attribute"; in iwpm_parse_nlmsg()
518 err_str = "Unable to parse the nlmsg"; in iwpm_parse_nlmsg()
523 err_str = "Invalid NULL attribute"; in iwpm_parse_nlmsg()
529 __func__, err_str, msg_type, ret); in iwpm_parse_nlmsg()
627 const char *err_str = ""; in send_mapinfo_num() local
632 err_str = "Unable to create a nlmsg"; in send_mapinfo_num()
637 err_str = "Unable to put attribute of mapinfo number nlmsg"; in send_mapinfo_num()
651 err_str = "Unable to send a nlmsg"; in send_mapinfo_num()
657 pr_info("%s: %s\n", __func__, err_str); in send_mapinfo_num()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c562 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
568 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
572 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
578 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
584 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
586 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
592 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
598 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
600 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
Dreporter_tx.c408 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
414 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
416 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
422 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
430 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
435 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
Dhealth.c228 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
231 netdev_err(priv->netdev, "%s\n", err_str); in mlx5e_health_report()
236 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
Dhealth.h49 struct devlink_health_reporter *reporter, char *err_str,
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dcommon.c153 char err_str[ERR_MAX_LEN]; in mount_tracefs() local
156 err = mnt_fs(target, "tracefs", err_str, ERR_MAX_LEN); in mount_tracefs()
158 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_tracefs()
159 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
218 char err_str[ERR_MAX_LEN]; in mount_bpffs_for_pin() local
242 err = mnt_fs(dir, "bpf", err_str, ERR_MAX_LEN); in mount_bpffs_for_pin()
244 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_bpffs_for_pin()
246 name, err_str); in mount_bpffs_for_pin()
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
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()
/kernel/linux/linux-5.10/drivers/sbus/char/
Doradax.c712 char *err_str; in dax_ccb_kill() local
722 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_kill()
723 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_kill()
738 char *err_str; in dax_ccb_info() local
751 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_info()
752 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_info()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_monitor_user.c472 char *err_str = ""; in stats_print() local
490 err_str = "drv-err"; in stats_print()
493 i, pps, drop, info, i_str, err_str); in stats_print()
504 err_str = "drv-err"; in stats_print()
506 info, i_str, err_str); in stats_print()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_common.c98 snprintf(hw->err_str, sizeof(hw->err_str), "%d", aq_err); in iavf_aq_str()
99 return hw->err_str; in iavf_aq_str()
246 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in iavf_stat_str()
247 return hw->err_str; in iavf_stat_str()
Diavf_type.h192 char err_str[16]; member
/kernel/linux/linux-5.10/lib/
Dkobject.c351 char *err_str; in kobject_init() local
354 err_str = "invalid kobject pointer!"; in kobject_init()
358 err_str = "must have a ktype to be initialized properly!\n"; in kobject_init()
373 pr_err("kobject (%p): %s\n", kobj, err_str); in kobject_init()
/kernel/linux/linux-5.10/drivers/perf/
Darm_spe_pmu.c557 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local
595 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act()
598 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act()
609 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act()
614 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c1026 char *err_str; in config_term_avail() local
1049 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
1051 parse_events__handle_error(err, -1, err_str, NULL); in config_term_avail()
1467 char *err_str; in parse_events_add_pmu() local
1469 if (asprintf(&err_str, in parse_events_add_pmu()
1472 parse_events__handle_error(err, 0, err_str, NULL); in parse_events_add_pmu()
2197 static void __parse_events_print_error(int err_idx, const char *err_str, in __parse_events_print_error() argument
2204 if (err_str) { in __parse_events_print_error()
2246 fprintf(stderr, "%*s\\___ %s\n", idx + 1, "", err_str); in __parse_events_print_error()
Dpmu.c1178 char *err_str; in pmu_config_term() local
1181 asprintf(&err_str, in pmu_config_term()
1185 : err_str, in pmu_config_term()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c382 char *err_str, *err_level = KERN_ERR; in i2c_init_recovery() local
391 err_str = "no suitable method provided"; in i2c_init_recovery()
408 err_str = "no {get|set}_scl() found"; in i2c_init_recovery()
412 err_str = "either get_sda() or set_sda() needed"; in i2c_init_recovery()
419 dev_printk(err_level, &adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
/kernel/linux/linux-5.10/net/sctp/
Dsm_statefuns.c4712 static const char err_str[] = "The following chunk had invalid length:"; in sctp_sf_violation_chunklen() local
4714 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4715 sizeof(err_str)); in sctp_sf_violation_chunklen()
4775 static const char err_str[] = "The cumulative tsn ack beyond the max tsn currently sent:"; in sctp_sf_violation_ctsn() local
4777 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4778 sizeof(err_str)); in sctp_sf_violation_ctsn()
4795 static const char err_str[] = "The following chunk violates protocol:"; in sctp_sf_violation_chunk() local
4800 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4801 sizeof(err_str)); in sctp_sf_violation_chunk()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_common.c121 snprintf(hw->err_str, sizeof(hw->err_str), "%d", aq_err); in i40e_aq_str()
122 return hw->err_str; in i40e_aq_str()
269 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in i40e_stat_str()
270 return hw->err_str; in i40e_stat_str()
Di40e_type.h605 char err_str[16]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2787 const char *err_str; in qed_hw_error_occurred() local
2791 err_str = qed_hw_err_type_descr[err_type]; in qed_hw_error_occurred()
2793 DP_NOTICE(p_hwfn, "HW error occurred [%s]\n", err_str); in qed_hw_error_occurred()
/kernel/linux/linux-5.10/fs/ext4/
Dinode.c4800 const char *err_str; in __ext4_iget() local
4825 if ((err_str = check_igot_inode(inode, flags)) != NULL) { in __ext4_iget()
4826 ext4_error_inode(inode, function, line, 0, err_str); in __ext4_iget()
5100 if ((err_str = check_igot_inode(inode, flags)) != NULL) { in __ext4_iget()
5101 ext4_error_inode(inode, function, line, 0, err_str); in __ext4_iget()

12