/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | test_global_funcs.c | 5 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 84 err_str = test->err_str; in test_test_global_funcs() 86 CHECK_FAIL(!!err ^ !!err_str); in test_test_global_funcs() 87 if (err_str) in test_test_global_funcs() 88 CHECK(found, "", "expected string '%s'", err_str); in test_test_global_funcs()
|
A D | btf.c | 67 const char *err_str; member 402 .err_str = "Invalid type", 427 .err_str = "Invalid type", 464 .err_str = "Invalid size", 1878 .err_str = "size != 0", 1941 .err_str = "type != 0", 3580 .err_str = "vlen != 0", 3801 .err_str = "vlen != 0", 4096 CHECK(test->err_str && !strstr(btf_log_buf, test->err_str), in do_test_raw() 5366 const char *err_str; member [all …]
|
A D | bpf_tcp_ca.c | 214 static char *err_str; variable 231 if (err_str && strstr(log_buf, err_str) != NULL) in libbpf_debug_print() 243 err_str = "struct ops programs must have a GPL compatible license"; in test_invalid_license() 313 err_str = "unknown func bpf_setsockopt"; in test_rel_setsockopt()
|
/linux/drivers/infiniband/core/ |
A D | iwpm_msg.c | 69 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 …]
|
A D | iwpm_util.c | 463 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/ |
A D | error.c | 231 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | reporter_rx.c | 686 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rx_timeout() local 697 snprintf(err_str, sizeof(err_str), in mlx5e_reporter_rx_timeout() 701 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rx_timeout() 706 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_rq_cqe_err() local 713 snprintf(err_str, sizeof(err_str), "ERR CQE on RQ: 0x%x", rq->rqn); in mlx5e_reporter_rq_cqe_err() 715 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_rq_cqe_err() 721 char err_str[MLX5E_REPORTER_PER_Q_MAX_LEN]; in mlx5e_reporter_icosq_cqe_err() local 727 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err() 729 mlx5e_health_report(priv, priv->rx_reporter, err_str, &err_ctx); in mlx5e_reporter_icosq_cqe_err()
|
A D | reporter_tx.c | 550 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()
|
A D | health.c | 226 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()
|
A D | health.h | 49 struct devlink_health_reporter *reporter, char *err_str,
|
/linux/tools/bpf/bpftool/ |
A D | common.c | 161 char err_str[ERR_MAX_LEN]; in mount_tracefs() local 164 err = mnt_fs(target, "tracefs", err_str, ERR_MAX_LEN); in mount_tracefs() 166 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_tracefs() 167 p_err("can't mount tracefs: %s", err_str); in mount_tracefs() 226 char err_str[ERR_MAX_LEN]; in mount_bpffs_for_pin() local 250 err = mnt_fs(dir, "bpf", err_str, ERR_MAX_LEN); in mount_bpffs_for_pin() 252 err_str[ERR_MAX_LEN - 1] = '\0'; in mount_bpffs_for_pin() 254 name, err_str); in mount_bpffs_for_pin()
|
/linux/drivers/sbus/char/ |
A D | oradax.c | 712 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/drivers/media/platform/sti/delta/ |
A D | delta-mjpeg-dec.c | 103 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/net/ethernet/intel/iavf/ |
A D | iavf_common.c | 98 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()
|
A D | iavf_type.h | 192 char err_str[16]; member
|
/linux/drivers/platform/x86/ |
A D | think-lmi.h | 15 const char *err_str; member
|
/linux/drivers/perf/ |
A D | arm_spe_pmu.c | 537 const char *err_str; in arm_spe_pmu_buf_get_fault_act() local 575 err_str = "Unexpected buffer fault"; in arm_spe_pmu_buf_get_fault_act() 578 err_str = "Unknown error code"; in arm_spe_pmu_buf_get_fault_act() 589 err_str = "Unknown buffer status code"; in arm_spe_pmu_buf_get_fault_act() 594 err_str, smp_processor_id(), pmbsr, in arm_spe_pmu_buf_get_fault_act()
|
/linux/lib/ |
A D | kobject.c | 351 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()
|
/linux/tools/perf/util/ |
A D | parse-events.c | 1056 char *err_str; in config_term_avail() local 1080 if (asprintf(&err_str, "'%s' is not usable in 'perf stat'", in config_term_avail() 1082 parse_events_error__handle(err, -1, err_str, NULL); in config_term_avail() 1541 char *err_str; in parse_events_add_pmu() local 1543 if (asprintf(&err_str, in parse_events_add_pmu() 1546 parse_events_error__handle(err, 0, err_str, NULL); in parse_events_add_pmu() 2362 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument 2369 if (err_str) { in __parse_events_error__print() 2411 fprintf(stderr, "%*s\\___ %s\n", idx + 1, "", err_str); in __parse_events_error__print()
|
A D | pmu.c | 1349 char *err_str; in pmu_config_term() local 1352 asprintf(&err_str, in pmu_config_term() 1356 : err_str, in pmu_config_term()
|
/linux/drivers/i2c/ |
A D | i2c-core-base.c | 404 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/net/sctp/ |
A D | sm_statefuns.c | 4816 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()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_common.c | 121 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()
|
/linux/drivers/vdpa/vdpa_user/ |
A D | vduse_dev.c | 1310 goto err_str; in vduse_create_dev() 1357 err_str: in vduse_create_dev()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_main.c | 2787 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()
|