Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/infiniband/core/
H A Diwpm_msg.c69 const char *err_str = ""; in iwpm_register_pid() local
77 err_str = "Unable to create a nlmsg"; in iwpm_register_pid()
115 err_str = "Unable to send a nlmsg"; in iwpm_register_pid()
149 const char *err_str = ""; in iwpm_add_mapping() local
160 err_str = "Unable to create a nlmsg"; in iwpm_add_mapping()
200 err_str = "Unable to send a nlmsg"; in iwpm_add_mapping()
232 const char *err_str = ""; in iwpm_add_and_query_mapping() local
244 err_str = "Unable to create a nlmsg"; in iwpm_add_and_query_mapping()
289 err_str = "Unable to send a nlmsg"; in iwpm_add_and_query_mapping()
319 const char *err_str = ""; in iwpm_remove_mapping() local
[all …]
H A Diwpm_util.c463 const char *err_str = ""; in iwpm_parse_nlmsg() local
468 err_str = "Invalid attribute"; 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()
607 err_str = "Unable to send a nlmsg"; in send_mapinfo_num()
646 const char *err_str = ""; in iwpm_send_mapinfo() local
652 err_str = "Unable to allocate skb"; in iwpm_send_mapinfo()
765 const char *err_str; in iwpm_send_hello() local
[all …]
/linux-6.15/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-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c64 const char *err_str; member
399 .err_str = "Invalid type",
424 .err_str = "Invalid type",
461 .err_str = "Invalid size",
1903 .err_str = "size != 0",
1966 .err_str = "type != 0",
3645 .err_str = "vlen != 0",
3866 .err_str = "vlen != 0",
4432 CHECK(test->err_str && !strstr(btf_log_buf, test->err_str), in do_test_raw()
5681 const char *err_str; member
[all …]
H A Dbpf_tcp_ca.c217 static char *err_str; variable
235 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print()
247 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license()
326 err_str = "program of this type cannot use helper bpf_setsockopt"; in test_rel_setsockopt()
379 err_str = "attach to unsupported member get_info"; in test_unsupp_cong_op()
H A Dtc_redirect.c331 char err_str[128], ifname[16]; in qdisc_clsact_create() local
337 snprintf(err_str, sizeof(err_str), in qdisc_clsact_create()
340 err_str[sizeof(err_str) - 1] = 0; in qdisc_clsact_create()
341 ASSERT_OK(err, err_str); in qdisc_clsact_create()
351 char err_str[128], ifname[16]; in xgress_filter_add() local
358 snprintf(err_str, sizeof(err_str), in xgress_filter_add()
363 err_str[sizeof(err_str) - 1] = 0; in xgress_filter_add()
364 ASSERT_OK(err, err_str); in xgress_filter_add()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c471 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
478 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
480 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
485 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
494 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
499 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
506 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_ptpsq_unhealthy() local
515 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_ptpsq_unhealthy()
519 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_ptpsq_unhealthy()
H A Dreporter_rx.c590 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
602 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
606 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
611 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
618 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
620 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
626 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
632 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
634 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
H A Dhealth.c151 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
154 netdev_err(priv->netdev, "%s\n", err_str); in mlx5e_health_report()
159 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/linux-6.15/drivers/net/ethernet/intel/iavf/
H A Diavf_common.c66 snprintf(hw->err_str, sizeof(hw->err_str), "%d", aq_err); in iavf_aq_str()
67 return hw->err_str; in iavf_aq_str()
214 snprintf(hw->err_str, sizeof(hw->err_str), "%d", stat_err); in iavf_stat_str()
215 return hw->err_str; in iavf_stat_str()
H A Diavf_type.h178 char err_str[16]; member
/linux-6.15/tools/bpf/bpftool/
H A Dcommon.c184 char err_str[ERR_MAX_LEN]; in mount_tracefs() local
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 create_and_mount_bpffs_dir() local
299 err = mnt_fs(dir_name, "bpf", err_str, ERR_MAX_LEN); in create_and_mount_bpffs_dir()
301 err_str[ERR_MAX_LEN - 1] = '\0'; in create_and_mount_bpffs_dir()
303 dir_name, err_str); in create_and_mount_bpffs_dir()
314 char err_str[ERR_MAX_LEN]; in mount_bpffs_for_file() local
348 err = mnt_fs(dir, "bpf", err_str, ERR_MAX_LEN); in mount_bpffs_for_file()
350 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_bpffs_for_file()
[all …]
/linux-6.15/tools/perf/util/
H A Dhwmon_pmu.c621 char *err_str; in hwmon_pmu__config_term() local
624 asprintf(&err_str, in hwmon_pmu__config_term()
629 : err_str, in hwmon_pmu__config_term()
679 char *err_str; in hwmon_pmu__check_alias() local
682 asprintf(&err_str, in hwmon_pmu__check_alias()
687 : err_str, in hwmon_pmu__check_alias()
H A Dparse-events.c818 char *err_str; in config_term_avail() local
862 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
864 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail()
1018 char *err_str; in config_term_pmu() local
1020 if (asprintf(&err_str, "Failed to find PMU for type %d", attr->type) >= 0) in config_term_pmu()
1022 err_str, /*help=*/NULL); in config_term_pmu()
1044 char *err_str; in config_term_pmu() local
1048 err_str, /*help=*/NULL); in config_term_pmu()
2296 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument
2303 if (err_str) { in __parse_events_error__print()
[all …]
/linux-6.15/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-6.15/drivers/sbus/char/
H A 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-6.15/drivers/platform/x86/
H A Dthink-lmi.h17 const char *err_str; member
/linux-6.15/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-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c278 char err_str[256]; in tegra241_cmdqv_isr() local
285 snprintf(err_str, sizeof(err_str), in tegra241_cmdqv_isr()
292 dev_warn(cmdqv->dev, "unexpected error reported. %s\n", err_str); in tegra241_cmdqv_isr()
/linux-6.15/fs/ext4/
H A 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()
230 err_str = "e_name out of bounds"; in check_xattrs()
234 err_str = "bad e_name length"; in check_xattrs()
251 err_str = "invalid ea_ino"; in check_xattrs()
255 err_str = "e_value size too large"; in check_xattrs()
270 err_str = "e_value out of bounds"; in check_xattrs()
277 err_str = "overlapping e_value "; in check_xattrs()
[all …]
/linux-6.15/drivers/perf/
H A Darm_spe_pmu.c578 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local
616 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act()
619 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act()
629 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act()
634 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
/linux-6.15/drivers/firmware/arm_scmi/
H A Ddriver.c3107 char *err_str = "probe failure\n"; in scmi_probe() local
3117 err_str = "transport invalid\n"; in scmi_probe()
3155 err_str = "failed to setup channels\n"; in scmi_probe()
3161 err_str = "failed to register bus notifier\n"; in scmi_probe()
3168 err_str = "failed to register device notifier\n"; in scmi_probe()
3174 err_str = "failed to init xfers pool\n"; in scmi_probe()
3213 err_str = "unable to communicate with SCMI\n"; in scmi_probe()
3215 dev_err(dev, "%s", err_str); in scmi_probe()
3273 return dev_err_probe(dev, ret, "%s", err_str); in scmi_probe()
/linux-6.15/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()
455 err_str = "no {get|set}_scl() found"; in i2c_init_recovery()
459 err_str = "either get_sda() or set_sda() needed"; in i2c_init_recovery()
467 dev_err(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
469 dev_dbg(&adap->dev, "Not using recovery: %s\n", err_str); in i2c_init_recovery()
/linux-6.15/tools/testing/vsock/
H A Dutil.c36 static unsigned int parse_uint(const char *str, const char *err_str) in parse_uint() argument
44 fprintf(stderr, "malformed %s \"%s\"\n", err_str, str); in parse_uint()

12