Home
last modified time | relevance | path

Searched refs:error_buf (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/reiserfs/
Dprints.c13 static char error_buf[1024]; variable
207 char *p = error_buf; in prepare_error_buf()
208 char * const end = &error_buf[sizeof(error_buf)]; in prepare_error_buf()
214 strscpy(error_buf, "format string too long", end - error_buf); in prepare_error_buf()
292 function, error_buf); in __reiserfs_warning()
295 id ? id : "", id ? " " : "", function, error_buf); in __reiserfs_warning()
304 sb->s_id, error_buf); in reiserfs_info()
306 printk(KERN_NOTICE "REISERFS %s:", error_buf); in reiserfs_info()
313 printk(error_buf); in reiserfs_printk()
322 s->s_id, error_buf); in reiserfs_debug()
[all …]
/linux-6.1.9/tools/lib/subcmd/
Dparse-options.c18 char *error_buf; variable
676 astrcatf(&error_buf, "unknown option `%s'", in parse_options_subcommand()
679 astrcatf(&error_buf, "unknown switch `%c'", *ctx.opt); in parse_options_subcommand()
880 if (error_buf) { in usage_with_options_internal()
881 fprintf(stderr, " Error: %s\n", error_buf); in usage_with_options_internal()
882 zfree(&error_buf); in usage_with_options_internal()
926 char *tmp = error_buf; in usage_with_options_msg()
929 if (vasprintf(&error_buf, fmt, ap) == -1) in usage_with_options_msg()
/linux-6.1.9/tools/lib/traceevent/
Dparse-filter.c33 static void show_error(char *error_buf, const char *fmt, ...) in show_error() argument
46 strcpy(error_buf, input); in show_error()
47 error_buf[len] = '\n'; in show_error()
49 error_buf[len+i] = ' '; in show_error()
50 error_buf[len + i] = '^'; in show_error()
51 error_buf[len + i + 1] = '\n'; in show_error()
56 vsnprintf(error_buf + len, TEP_FILTER_ERROR_BUFSZ - len, fmt, ap); in show_error()