Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 26) sorted by relevance

12

/lib/
Dvsprintf.c605 const char *fmt) in dentry_name() argument
612 switch (fmt[1]) { in dentry_name()
614 depth = fmt[1] - '0'; in dentry_name()
650 struct printf_spec spec, const char *fmt) in bdev_name() argument
669 struct printf_spec spec, const char *fmt) in symbol_string() argument
676 if (fmt[1] == 'R') in symbol_string()
681 if (*fmt == 'B') in symbol_string()
683 else if (*fmt != 'f' && *fmt != 's') in symbol_string()
696 struct printf_spec spec, const char *fmt) in resource_string() argument
749 int decode = (fmt[0] == 'R') ? 1 : 0; in resource_string()
[all …]
Dkasprintf.c14 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf() argument
21 first = vsnprintf(NULL, 0, fmt, aq); in kvasprintf()
28 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf()
30 first, second, fmt); in kvasprintf()
42 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const() argument
44 if (!strchr(fmt, '%')) in kvasprintf_const()
45 return kstrdup_const(fmt, gfp); in kvasprintf_const()
46 if (!strcmp(fmt, "%s")) in kvasprintf_const()
48 return kvasprintf(gfp, fmt, ap); in kvasprintf_const()
52 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() argument
[all …]
Dtest_printf.c5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
52 const char *fmt, va_list ap) in do_test() argument
61 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
66 bufsize, fmt, ret, elen); in do_test()
71 pr_warn("vsnprintf(buf, %d, \"%s\", ...) wrote before buffer\n", bufsize, fmt); in do_test()
78 fmt); in do_test()
87 bufsize, fmt); in do_test()
93 bufsize, fmt); in do_test()
99 bufsize, fmt, test_buffer, written, expect); in do_test()
106 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
[all …]
Dseq_buf.c56 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) in seq_buf_vprintf() argument
63 len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); in seq_buf_vprintf()
82 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...) in seq_buf_printf() argument
87 va_start(ap, fmt); in seq_buf_printf()
88 ret = seq_buf_vprintf(s, fmt, ap); in seq_buf_printf()
112 int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary) in seq_buf_bprintf() argument
120 ret = bstr_printf(s->buffer + s->len, len, fmt, binary); in seq_buf_bprintf()
Dtest-kstrtox.c26 #define TEST_FAIL(fn, type, fmt, test) \ argument
38 WARN(1, "str '%s', base %u, expected -E, got %d/" fmt "\n", \
45 #define TEST_OK(fn, type, fmt, test) \ argument
56 WARN(1, "str '%s', base %u, expected 0/" fmt ", got %d\n", \
61 WARN(1, "str '%s', base %u, expected " fmt ", got " fmt "\n", \
Ddynamic_debug.c14 #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ argument
106 #define vpr_info(fmt, ...) \ argument
109 pr_info(fmt, ##__VA_ARGS__); \
551 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...) in __dynamic_pr_debug() argument
558 BUG_ON(!fmt); in __dynamic_pr_debug()
560 va_start(args, fmt); in __dynamic_pr_debug()
562 vaf.fmt = fmt; in __dynamic_pr_debug()
572 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument
578 BUG_ON(!fmt); in __dynamic_dev_dbg()
580 va_start(args, fmt); in __dynamic_dev_dbg()
[all …]
Dtest_module.c10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dkobject.c257 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs() argument
262 if (kobj->name && !fmt) in kobject_set_name_vargs()
265 s = kvasprintf_const(GFP_KERNEL, fmt, vargs); in kobject_set_name_vargs()
300 int kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name() argument
305 va_start(vargs, fmt); in kobject_set_name()
306 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name()
356 const char *fmt, va_list vargs) in kobject_add_varg() argument
360 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg()
395 const char *fmt, ...) in kobject_add() argument
410 va_start(args, fmt); in kobject_add()
[all …]
Dcrc8.c17 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dtest_user_copy.c19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dtest_uuid.c4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dbug.c41 #define pr_fmt(fmt) fmt argument
Dtest_firmware.c10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dpercpu-refcount.c1 #define pr_fmt(fmt) "%s: " fmt "\n", __func__ argument
Dtest_hash.c16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt "\n" argument
Dtest_hexdump.c4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Ddigsig.c18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlist_sort.c2 #define pr_fmt(fmt) "list_sort_test: " fmt argument
Dtest_bitmap.c5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dtest-string_helpers.c4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Datomic64_test.c12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dtest_kasan.c12 #define pr_fmt(fmt) "kasan test: %s " fmt, __func__ argument
Ddebugobjects.c11 #define pr_fmt(fmt) "ODEBUG: " fmt argument
/lib/842/
D842_decompress.c19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
D842_compress.c19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument

12