| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | errors.c | 101 if (errnum == UDS_SUCCESS) { in get_error_info() 109 if ((errnum >= block->base) && (errnum < block->last)) { in get_error_info() 112 } else if ((errnum >= block->last) && (errnum < block->max)) { in get_error_info() 127 if ((errnum > 0) && (errnum < ARRAY_SIZE(message_table))) in system_string_error() 128 error_string = message_table[errnum]; in system_string_error() 151 if (errnum < 0) in uds_string_error() 152 errnum = -errnum; in uds_string_error() 161 block_name, errnum); in uds_string_error() 185 if (errnum < 0) in uds_string_error_name() 186 errnum = -errnum; in uds_string_error_name() [all …]
|
| H A D | logger.h | 56 #define vdo_log_strerror(priority, errnum, ...) \ argument 68 #define vdo_log_error_strerror(errnum, ...) \ argument 69 vdo_log_strerror(VDO_LOG_ERR, errnum, __VA_ARGS__) 71 #define vdo_log_debug_strerror(errnum, ...) \ argument 72 vdo_log_strerror(VDO_LOG_DEBUG, errnum, __VA_ARGS__) 74 #define vdo_log_info_strerror(errnum, ...) \ argument 75 vdo_log_strerror(VDO_LOG_INFO, errnum, __VA_ARGS__) 77 #define vdo_log_warning_strerror(errnum, ...) \ argument 78 vdo_log_strerror(VDO_LOG_WARNING, errnum, __VA_ARGS__) 80 #define vdo_log_fatal_strerror(errnum, ...) \ argument [all …]
|
| H A D | logger.c | 194 int vdo_vlog_strerror(int priority, int errnum, const char *module, const char *format, in vdo_vlog_strerror() argument 198 const char *message = uds_string_error(errnum, errbuf, sizeof(errbuf)); in vdo_vlog_strerror() 201 message, errnum); in vdo_vlog_strerror() 202 return errnum; in vdo_vlog_strerror() 205 int __vdo_log_strerror(int priority, int errnum, const char *module, const char *format, ...) in __vdo_log_strerror() argument 210 vdo_vlog_strerror(priority, errnum, module, format, args); in __vdo_log_strerror() 212 return errnum; in __vdo_log_strerror()
|
| H A D | errors.h | 63 const char * __must_check uds_string_error(int errnum, char *buf, size_t buflen); 65 const char *uds_string_error_name(int errnum, char *buf, size_t buflen);
|
| /linux-6.15/tools/perf/util/ |
| H A D | target.c | 148 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()
|
| H A D | target.h | 59 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
|
| H A D | dso.c | 1737 int idx, errnum = *dso__load_errno(dso); in dso__strerror_load() local 1751 if (errnum >= 0) { in dso__strerror_load() 1752 const char *err = str_error_r(errnum, buf, buflen); in dso__strerror_load() 1760 if (errnum < __DSO_LOAD_ERRNO__START || errnum >= __DSO_LOAD_ERRNO__END) in dso__strerror_load() 1763 idx = errnum - __DSO_LOAD_ERRNO__START; in dso__strerror_load()
|
| H A D | disasm.c | 1204 int symbol__strerror_disassemble(struct map_symbol *ms, int errnum, char *buf, size_t buflen) in symbol__strerror_disassemble() argument 1210 if (errnum >= 0) { in symbol__strerror_disassemble() 1211 str_error_r(errnum, buf, buflen); in symbol__strerror_disassemble() 1215 switch (errnum) { in symbol__strerror_disassemble() 1253 scnprintf(buf, buflen, "Internal error: Invalid %d error code\n", errnum); in symbol__strerror_disassemble()
|
| H A D | annotate.h | 458 int symbol__strerror_disassemble(struct map_symbol *ms, int errnum, char *buf, size_t buflen);
|
| /linux-6.15/tools/lib/ |
| H A D | str_error_r.c | 21 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.15/drivers/edac/ |
| H A D | i7300_edac.c | 355 u32 errnum, error_reg; in i7300_process_error_global() local 367 errnum = find_first_bit(&errors, in i7300_process_error_global() 369 specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum); in i7300_process_error_global() 370 is_fatal = ferr_global_hi_is_fatal(errnum); in i7300_process_error_global() 383 errnum = find_first_bit(&errors, in i7300_process_error_global() 386 is_fatal = ferr_global_lo_is_fatal(errnum); in i7300_process_error_global() 410 u32 errnum, value, error_reg; in i7300_process_fbd_error() local 426 errnum = find_first_bit(&errors, in i7300_process_fbd_error() 428 specific = GET_ERR_FROM_TABLE(ferr_fat_fbd_name, errnum); in i7300_process_fbd_error() 462 errnum = find_first_bit(&errors, in i7300_process_fbd_error() [all …]
|
| H A D | i5400_edac.c | 525 int errnum; in i5400_proccess_non_recoverable_info() local 558 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_proccess_non_recoverable_info() 563 bank, buf_id, ras, cas, allErrors, error_name[errnum]); in i5400_proccess_non_recoverable_info() 589 int errnum; in i5400_process_nonfatal_error_info() local 624 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info() 635 allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info() 646 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info() 652 branch >> 1, allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info()
|
| H A D | i7core_edac.c | 1708 u32 errnum = find_first_bit(&error, 32); in i7core_mce_output_error() local 1741 switch (errnum) { in i7core_mce_output_error()
|
| /linux-6.15/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-unavailable.c | 37 #define err_at_line(status, errnum, format, ...) \ argument 38 error_at_line(status, errnum, __FILE__, __LINE__, format ##__VA_ARGS__)
|
| /linux-6.15/tools/include/linux/ |
| H A D | string.h | 33 char *str_error_r(int errnum, char *buf, size_t buflen);
|
| /linux-6.15/include/xen/interface/io/ |
| H A D | xs_wire.h | 50 int errnum; member
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | socket_helpers.h | 32 #define _FAIL(errnum, fmt...) \ argument 34 error_at_line(0, (errnum), __func__, __LINE__, fmt); \
|
| /linux-6.15/sound/isa/wavefront/ |
| H A D | wavefront_synth.c | 230 wavefront_errorstr (int errnum) in wavefront_errorstr() argument 236 if (wavefront_errors[i].errno == errnum) { in wavefront_errorstr()
|
| /linux-6.15/drivers/xen/xenbus/ |
| H A D | xenbus_xs.c | 171 return xsd_errors[i].errnum; in get_error()
|