Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.6/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.6/tools/testing/selftests/bpf/prog_tests/
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 …]
Dtc_redirect.c243 char err_str[128], ifname[16]; in qdisc_clsact_create() local
249 snprintf(err_str, sizeof(err_str), in qdisc_clsact_create()
252 err_str[sizeof(err_str) - 1] = 0; in qdisc_clsact_create()
253 ASSERT_OK(err, err_str); in qdisc_clsact_create()
263 char err_str[128], ifname[16]; in xgress_filter_add() local
270 snprintf(err_str, sizeof(err_str), in xgress_filter_add()
275 err_str[sizeof(err_str) - 1] = 0; in xgress_filter_add()
276 ASSERT_OK(err, err_str); in xgress_filter_add()
Dbpf_tcp_ca.c218 static char *err_str; variable
236 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print()
248 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license()
322 err_str = "unknown func bpf_setsockopt"; in test_rel_setsockopt()
375 err_str = "attach to unsupported member get_info"; in test_unsupp_cong_op()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c638 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
645 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
647 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
652 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
661 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
666 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
673 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_ptpsq_unhealthy() local
682 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_ptpsq_unhealthy()
686 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_ptpsq_unhealthy()
Dreporter_rx.c706 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
717 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
721 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
726 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
733 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
735 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
741 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
747 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
749 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
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.h50 struct devlink_health_reporter *reporter, char *err_str,
/Linux-v6.6/tools/bpf/bpftool/
Dcommon.c184 char err_str[ERR_MAX_LEN]; in mount_tracefs() local
187 err = mnt_fs(target, "tracefs", err_str, ERR_MAX_LEN); in mount_tracefs()
189 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_tracefs()
190 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
249 char err_str[ERR_MAX_LEN]; in mount_bpffs_for_pin() local
276 err = mnt_fs(dir, "bpf", err_str, ERR_MAX_LEN); in mount_bpffs_for_pin()
278 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_bpffs_for_pin()
280 name, err_str); in mount_bpffs_for_pin()
/Linux-v6.6/tools/perf/util/
Dparse-events.c784 char *err_str; in config_term_avail() local
827 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
829 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail()
980 char *err_str; in config_term_pmu() local
982 if (asprintf(&err_str, "Failed to find PMU for type %d", attr->type) >= 0) in config_term_pmu()
984 err_str, /*help=*/NULL); in config_term_pmu()
998 char *err_str; in config_term_pmu() local
1000 if (asprintf(&err_str, "Failed to find PMU for type %d", attr->type) >= 0) in config_term_pmu()
1002 err_str, /*help=*/NULL); in config_term_pmu()
1386 char *err_str; in parse_events_add_pmu() local
[all …]
Dpmu.c1339 char *err_str; in pmu_config_term() local
1342 asprintf(&err_str, in pmu_config_term()
1346 : err_str, in pmu_config_term()
/Linux-v6.6/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.6/drivers/sbus/char/
Doradax.c711 char *err_str; in dax_ccb_kill() local
721 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_kill()
722 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_kill()
737 char *err_str; in dax_ccb_info() local
750 err_str = dax_hv_errno(hv_ret, &ret); in dax_ccb_info()
751 dax_dbg("%s (ca_ra 0x%llx)", err_str, ca); in dax_ccb_info()
/Linux-v6.6/drivers/platform/x86/
Dthink-lmi.h16 const char *err_str; member
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_common.c97 snprintf(hw->err_str, sizeof(hw->err_str), "%d", aq_err); in iavf_aq_str()
98 return hw->err_str; in iavf_aq_str()
245 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in iavf_stat_str()
246 return hw->err_str; in iavf_stat_str()
Diavf_type.h192 char err_str[16]; member
/Linux-v6.6/lib/
Dkobject.c333 char *err_str; in kobject_init() local
336 err_str = "invalid kobject pointer!"; in kobject_init()
340 err_str = "must have a ktype to be initialized properly!\n"; in kobject_init()
355 pr_err("kobject (%p): %s\n", kobj, err_str); in kobject_init()
/Linux-v6.6/fs/ext4/
Dxattr.c197 char *err_str; in check_xattrs() local
202 err_str = "invalid header"; in check_xattrs()
209 err_str = "invalid checksum"; in check_xattrs()
217 err_str = "in-inode xattr block too small"; in check_xattrs()
221 err_str = "bad magic number in in-inode xattr"; in check_xattrs()
230 err_str = "e_name out of bounds"; in check_xattrs()
234 err_str = "bad e_name length"; in check_xattrs()
246 err_str = "ea_inode specified without ea_inode feature enabled"; in check_xattrs()
251 err_str = "invalid ea_ino"; in check_xattrs()
255 err_str = "e_value size too large"; in check_xattrs()
[all …]
/Linux-v6.6/drivers/perf/
Darm_spe_pmu.c585 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local
623 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act()
626 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act()
636 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act()
641 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
/Linux-v6.6/drivers/i2c/
Di2c-core-base.c426 char *err_str; in i2c_init_recovery() local
435 err_str = "no suitable method provided"; in i2c_init_recovery()
452 err_str = "no {get|set}_scl() found"; in i2c_init_recovery()
456 err_str = "either get_sda() or set_sda() needed"; in i2c_init_recovery()
464 dev_err(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
466 dev_dbg(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
/Linux-v6.6/net/sctp/
Dsm_statefuns.c4815 static const char err_str[] = "The following chunk had invalid length:"; in sctp_sf_violation_chunklen() local
4817 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4818 sizeof(err_str)); in sctp_sf_violation_chunklen()
4878 static const char err_str[] = "The cumulative tsn ack beyond the max tsn currently sent:"; in sctp_sf_violation_ctsn() local
4880 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4881 sizeof(err_str)); in sctp_sf_violation_ctsn()
4898 static const char err_str[] = "The following chunk violates protocol:"; in sctp_sf_violation_chunk() local
4900 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4901 sizeof(err_str)); in sctp_sf_violation_chunk()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2759 const char *err_str; in qed_hw_error_occurred() local
2763 err_str = qed_hw_err_type_descr[err_type]; in qed_hw_error_occurred()
2765 DP_NOTICE(p_hwfn, "HW error occurred [%s]\n", err_str); in qed_hw_error_occurred()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_type.h605 char err_str[16]; member

12