Home
last modified time | relevance | path

Searched refs:errnum (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/tools/lib/traceevent/
Dtep_strerror.c30 enum tep_errno errnum, char *buf, size_t buflen) in tep_strerror() argument
38 if (errnum >= 0) { in tep_strerror()
39 int err = strerror_r(errnum, buf, buflen); in tep_strerror()
44 if (errnum <= __TEP_ERRNO__START || in tep_strerror()
45 errnum >= __TEP_ERRNO__END) in tep_strerror()
48 idx = errnum - __TEP_ERRNO__START - 1; in tep_strerror()
Devent-parse.h548 int tep_strerror(struct tep_handle *tep, enum tep_errno errnum,
/linux-6.1.9/tools/perf/util/
Dtarget.c148 int target__strerror(struct target *target, int errnum, in target__strerror() argument
156 if (errnum >= 0) { in target__strerror()
157 str_error_r(errnum, buf, buflen); in target__strerror()
161 if (errnum < __TARGET_ERRNO__START || errnum >= __TARGET_ERRNO__END) in target__strerror()
164 idx = errnum - __TARGET_ERRNO__START; in target__strerror()
167 switch (errnum) { in target__strerror()
Dtarget.h58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
Ddso.c1456 int idx, errnum = dso->load_errno; in dso__strerror_load() local
1470 if (errnum >= 0) { in dso__strerror_load()
1471 const char *err = str_error_r(errnum, buf, buflen); in dso__strerror_load()
1479 if (errnum < __DSO_LOAD_ERRNO__START || errnum >= __DSO_LOAD_ERRNO__END) in dso__strerror_load()
1482 idx = errnum - __DSO_LOAD_ERRNO__START; in dso__strerror_load()
Dannotate.h390 int symbol__strerror_disassemble(struct map_symbol *ms, int errnum, char *buf, size_t buflen);
Dannotate.c1594 int symbol__strerror_disassemble(struct map_symbol *ms, int errnum, char *buf, size_t buflen) in symbol__strerror_disassemble() argument
1600 if (errnum >= 0) { in symbol__strerror_disassemble()
1601 str_error_r(errnum, buf, buflen); in symbol__strerror_disassemble()
1605 switch (errnum) { in symbol__strerror_disassemble()
1640 scnprintf(buf, buflen, "Internal error: Invalid %d error code\n", errnum); in symbol__strerror_disassemble()
/linux-6.1.9/tools/lib/
Dstr_error_r.c21 char *str_error_r(int errnum, char *buf, size_t buflen) in str_error_r() argument
23 int err = strerror_r(errnum, buf, buflen); in str_error_r()
25 snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, [buf], %zd)=%d", errnum, buflen, err); in str_error_r()
/linux-6.1.9/drivers/edac/
Di7300_edac.c354 u32 errnum, error_reg; in i7300_process_error_global() local
366 errnum = find_first_bit(&errors, in i7300_process_error_global()
368 specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum); in i7300_process_error_global()
369 is_fatal = ferr_global_hi_is_fatal(errnum); in i7300_process_error_global()
382 errnum = find_first_bit(&errors, in i7300_process_error_global()
384 specific = GET_ERR_FROM_TABLE(ferr_global_lo_name, errnum); in i7300_process_error_global()
385 is_fatal = ferr_global_lo_is_fatal(errnum); in i7300_process_error_global()
409 u32 errnum, value, error_reg; in i7300_process_fbd_error() local
425 errnum = find_first_bit(&errors, in i7300_process_fbd_error()
427 specific = GET_ERR_FROM_TABLE(ferr_fat_fbd_name, errnum); in i7300_process_fbd_error()
[all …]
Di5400_edac.c523 int errnum; in i5400_proccess_non_recoverable_info() local
556 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_proccess_non_recoverable_info()
561 bank, buf_id, ras, cas, allErrors, error_name[errnum]); in i5400_proccess_non_recoverable_info()
587 int errnum; in i5400_process_nonfatal_error_info() local
622 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info()
633 allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info()
644 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info()
650 branch >> 1, allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info()
Di7core_edac.c1708 u32 errnum = find_first_bit(&error, 32); in i7core_mce_output_error() local
1741 switch (errnum) { in i7core_mce_output_error()
/linux-6.1.9/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c37 #define err_at_line(status, errnum, format, ...) \ argument
38 error_at_line(status, errnum, __FILE__, __LINE__, format ##__VA_ARGS__)
/linux-6.1.9/tools/include/linux/
Dstring.h31 char *str_error_r(int errnum, char *buf, size_t buflen);
/linux-6.1.9/include/xen/interface/io/
Dxs_wire.h50 int errnum; member
/linux-6.1.9/sound/isa/wavefront/
Dwavefront_synth.c230 wavefront_errorstr (int errnum) in wavefront_errorstr() argument
236 if (wavefront_errors[i].errno == errnum) { in wavefront_errorstr()
/linux-6.1.9/drivers/xen/xenbus/
Dxenbus_xs.c165 return xsd_errors[i].errnum; in get_error()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c33 #define _FAIL(errnum, fmt...) \ argument
35 error_at_line(0, (errnum), __func__, __LINE__, fmt); \