Home
last modified time | relevance | path

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

12

/Linux-v6.1/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()
62 const char *err_str; member
97 err_str = test->err_str; in test_test_global_funcs()
99 CHECK_FAIL(!!err ^ !!err_str); in test_test_global_funcs()
100 if (err_str) in test_test_global_funcs()
101 CHECK(found, "", "expected string '%s'", err_str); in test_test_global_funcs()
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 = "Invalid offset+size",
[all …]
Dbpf_tcp_ca.c215 static char *err_str; variable
233 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print()
245 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license()
319 err_str = "unknown func bpf_setsockopt"; in test_rel_setsockopt()
372 err_str = "attach to unsupported member get_info"; in test_unsupp_cong_op()
/Linux-v6.1/drivers/infiniband/core/
Diwpm_msg.c69 const char *err_str = ""; in iwpm_register_pid() local
77 err_str = "Unable to create a nlmsg"; in iwpm_register_pid()
83 err_str = "Unable to allocate netlink request"; in iwpm_register_pid()
89 err_str = "Unable to put attribute of the nlmsg"; in iwpm_register_pid()
115 err_str = "Unable to send a nlmsg"; in iwpm_register_pid()
122 pr_info("%s: %s (client = %u)\n", __func__, err_str, nl_client); in iwpm_register_pid()
149 const char *err_str = ""; in iwpm_add_mapping() local
155 err_str = "Unregistered port mapper client"; in iwpm_add_mapping()
160 err_str = "Unable to create a nlmsg"; in iwpm_add_mapping()
166 err_str = "Unable to allocate netlink request"; in iwpm_add_mapping()
[all …]
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-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c668 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
679 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
683 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
688 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
695 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
697 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
703 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
709 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
711 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
Dreporter_tx.c550 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
557 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
559 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
564 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
573 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
578 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
Dhealth.c226 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
229 netdev_err(priv->netdev, "%s\n", err_str); in mlx5e_health_report()
234 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
Dhealth.h49 struct devlink_health_reporter *reporter, char *err_str,
/Linux-v6.1/tools/bpf/bpftool/
Dcommon.c182 char err_str[ERR_MAX_LEN]; in mount_tracefs() local
185 err = mnt_fs(target, "tracefs", err_str, ERR_MAX_LEN); in mount_tracefs()
187 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_tracefs()
188 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
247 char err_str[ERR_MAX_LEN]; in mount_bpffs_for_pin() local
271 err = mnt_fs(dir, "bpf", err_str, ERR_MAX_LEN); in mount_bpffs_for_pin()
273 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_bpffs_for_pin()
275 name, err_str); in mount_bpffs_for_pin()
/Linux-v6.1/drivers/media/platform/st/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/platform/x86/
Dthink-lmi.h16 const char *err_str; member
/Linux-v6.1/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
/Linux-v6.1/lib/
Dkobject.c319 char *err_str; in kobject_init() local
322 err_str = "invalid kobject pointer!"; in kobject_init()
326 err_str = "must have a ktype to be initialized properly!\n"; in kobject_init()
341 pr_err("kobject (%p): %s\n", kobj, err_str); in kobject_init()
/Linux-v6.1/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()
/Linux-v6.1/tools/perf/util/
Dparse-events.c972 char *err_str; in config_term_avail() local
996 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
998 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail()
1458 char *err_str; in parse_events_add_pmu() local
1460 if (asprintf(&err_str, in parse_events_add_pmu()
1463 parse_events_error__handle(err, 0, err_str, NULL); in parse_events_add_pmu()
2346 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument
2353 if (err_str) { in __parse_events_error__print()
2395 fprintf(stderr, "%*s\\___ %s\n", idx + 1, "", err_str); in __parse_events_error__print()
Dpmu.c1323 char *err_str; in pmu_config_term() local
1326 asprintf(&err_str, in pmu_config_term()
1330 : err_str, in pmu_config_term()
/Linux-v6.1/drivers/i2c/
Di2c-core-base.c404 char *err_str; in i2c_init_recovery() local
413 err_str = "no suitable method provided"; in i2c_init_recovery()
430 err_str = "no {get|set}_scl() found"; in i2c_init_recovery()
434 err_str = "either get_sda() or set_sda() needed"; in i2c_init_recovery()
442 dev_err(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
444 dev_dbg(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
/Linux-v6.1/net/sctp/
Dsm_statefuns.c4817 static const char err_str[] = "The following chunk had invalid length:"; in sctp_sf_violation_chunklen() local
4819 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4820 sizeof(err_str)); in sctp_sf_violation_chunklen()
4880 static const char err_str[] = "The cumulative tsn ack beyond the max tsn currently sent:"; in sctp_sf_violation_ctsn() local
4882 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4883 sizeof(err_str)); in sctp_sf_violation_ctsn()
4900 static const char err_str[] = "The following chunk violates protocol:"; in sctp_sf_violation_chunk() local
4902 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4903 sizeof(err_str)); in sctp_sf_violation_chunk()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_common.c123 snprintf(hw->err_str, sizeof(hw->err_str), "%d", aq_err); in i40e_aq_str()
124 return hw->err_str; in i40e_aq_str()
271 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in i40e_stat_str()
272 return hw->err_str; in i40e_stat_str()
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2768 const char *err_str; in qed_hw_error_occurred() local
2772 err_str = qed_hw_err_type_descr[err_type]; in qed_hw_error_occurred()
2774 DP_NOTICE(p_hwfn, "HW error occurred [%s]\n", err_str); in qed_hw_error_occurred()
/Linux-v6.1/drivers/vdpa/vdpa_user/
Dvduse_dev.c1504 goto err_str; in vduse_create_dev()
1551 err_str: in vduse_create_dev()

12