Home
last modified time | relevance | path

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

12

/linux/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/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
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",
3611 .err_str = "vlen != 0",
3832 .err_str = "vlen != 0",
4383 CHECK(test->err_str && !strstr(btf_log_buf, test->err_str), in do_test_raw()
5632 const char *err_str; member
[all …]
H A Dbpf_tcp_ca.c129 static char *err_str; variable
147 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print()
159 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license()
233 err_str = "program of this type cannot use helper bpf_setsockopt"; in test_rel_setsockopt()
286 err_str = "attach to unsupported member get_info"; in test_unsupp_cong_op()
H A Dtc_redirect.c316 char err_str[128], ifname[16]; in qdisc_clsact_create() local
322 snprintf(err_str, sizeof(err_str), in qdisc_clsact_create()
325 err_str[sizeof(err_str) - 1] = 0; in qdisc_clsact_create()
326 ASSERT_OK(err, err_str); in qdisc_clsact_create()
336 char err_str[128], ifname[16]; in xgress_filter_add() local
343 snprintf(err_str, sizeof(err_str), in xgress_filter_add()
348 err_str[sizeof(err_str) - 1] = 0; in xgress_filter_add()
349 ASSERT_OK(err, err_str); in xgress_filter_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c472 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_err_cqe() local
479 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
481 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_err_cqe()
486 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_timeout() local
495 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_timeout()
500 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_timeout()
507 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_tx_ptpsq_unhealthy() local
516 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_tx_ptpsq_unhealthy()
520 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx); in mlx5e_reporter_tx_ptpsq_unhealthy()
H A Dreporter_rx.c495 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local
507 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout()
511 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout()
516 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local
523 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err()
525 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err()
531 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local
537 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
539 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/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/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/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/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/drivers/platform/x86/
H A Dthink-lmi.h16 const char *err_str; member
/linux/tools/perf/util/
H A Dparse-events.c815 char *err_str; in config_term_avail() local
858 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail()
860 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail()
1011 char *err_str; in config_term_pmu() local
1013 if (asprintf(&err_str, "Failed to find PMU for type %d", attr->type) >= 0) in config_term_pmu()
1015 err_str, /*help=*/NULL); in config_term_pmu()
1037 char *err_str; in config_term_pmu() local
1041 err_str, /*help=*/NULL); in config_term_pmu()
2246 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument
2253 if (err_str) { in __parse_events_error__print()
[all …]
/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.c563 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local
601 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act()
604 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act()
614 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act()
619 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
/linux/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/drivers/firmware/arm_scmi/
H A Ddriver.c2956 char *err_str = "probe failure\n"; in scmi_probe() local
3008 err_str = "transport not ready\n"; in scmi_probe()
3016 err_str = "failed to setup channels\n"; in scmi_probe()
3022 err_str = "failed to register bus notifier\n"; in scmi_probe()
3029 err_str = "failed to register device notifier\n"; in scmi_probe()
3035 err_str = "failed to init xfers pool\n"; in scmi_probe()
3074 err_str = "unable to communicate with SCMI\n"; in scmi_probe()
3076 dev_err(dev, "%s", err_str); in scmi_probe()
3133 return dev_err_probe(dev, ret, "%s", err_str); in scmi_probe()
/linux/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()
/linux/drivers/firmware/arm_ffa/
H A Ddriver.c1370 char *err_str; in ffa_irq_map() local
1374 err_str = "Notification Pending Interrupt"; in ffa_irq_map()
1376 err_str = "Schedule Receiver Interrupt"; in ffa_irq_map()
1378 err_str = "Unknown ID"; in ffa_irq_map()
1384 pr_err("Failed to retrieve FF-A %s %u\n", err_str, id); in ffa_irq_map()
/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()
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/net/sctp/
H A Dsm_statefuns.c4816 static const char err_str[] = "The following chunk had invalid length:"; in sctp_sf_violation_chunklen() local
4818 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4819 sizeof(err_str)); in sctp_sf_violation_chunklen()
4879 static const char err_str[] = "The cumulative tsn ack beyond the max tsn currently sent:"; in sctp_sf_violation_ctsn() local
4881 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4882 sizeof(err_str)); in sctp_sf_violation_ctsn()
4899 static const char err_str[] = "The following chunk violates protocol:"; in sctp_sf_violation_chunk() local
4901 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4902 sizeof(err_str)); in sctp_sf_violation_chunk()

12