Home
last modified time | relevance | path

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

12

/lib/
Dvsprintf.c561 const char *fmt) in dentry_name() argument
568 switch (fmt[1]) { in dentry_name()
570 depth = fmt[1] - '0'; in dentry_name()
618 struct printf_spec spec, const char *fmt) in symbol_string() argument
625 if (fmt[1] == 'R') in symbol_string()
630 if (*fmt == 'B') in symbol_string()
632 else if (*fmt != 'f' && *fmt != 's') in symbol_string()
649 struct printf_spec spec, const char *fmt) in resource_string() argument
702 int decode = (fmt[0] == 'R') ? 1 : 0; in resource_string()
757 const char *fmt) in hex_string() argument
[all …]
Dkasprintf.c14 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf() argument
21 len = vsnprintf(NULL, 0, fmt, aq); in kvasprintf()
28 vsnprintf(p, len+1, fmt, ap); in kvasprintf()
40 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const() argument
42 if (!strchr(fmt, '%')) in kvasprintf_const()
43 return kstrdup_const(fmt, gfp); in kvasprintf_const()
44 if (!strcmp(fmt, "%s")) in kvasprintf_const()
46 return kvasprintf(gfp, fmt, ap); in kvasprintf_const()
50 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() argument
55 va_start(ap, fmt); in kasprintf()
[all …]
Dtest_printf.c5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
45 const char *fmt, va_list ap) in do_test() argument
54 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
59 bufsize, fmt, ret, elen); in do_test()
66 fmt); in do_test()
75 bufsize, fmt); in do_test()
81 bufsize, fmt, test_buffer, written, expect); in do_test()
88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
96 va_start(ap, fmt); in __test()
104 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
[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__); \
543 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...) in __dynamic_pr_debug() argument
550 BUG_ON(!fmt); in __dynamic_pr_debug()
552 va_start(args, fmt); in __dynamic_pr_debug()
554 vaf.fmt = fmt; in __dynamic_pr_debug()
564 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument
570 BUG_ON(!fmt); in __dynamic_dev_dbg()
572 va_start(args, fmt); in __dynamic_dev_dbg()
[all …]
Dtest_module.c10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dkobject.c255 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs() argument
260 if (kobj->name && !fmt) in kobject_set_name_vargs()
263 s = kvasprintf_const(GFP_KERNEL, fmt, vargs); in kobject_set_name_vargs()
298 int kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name() argument
303 va_start(vargs, fmt); in kobject_set_name()
304 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name()
354 const char *fmt, va_list vargs) in kobject_add_varg() argument
358 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg()
393 const char *fmt, ...) in kobject_add() argument
408 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_firmware.c10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dtest_siphash.c15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dnmi_backtrace.c139 static int nmi_vprintk(const char *fmt, va_list args) in nmi_vprintk() argument
144 seq_buf_vprintf(&s->seq, fmt, args); in nmi_vprintk()
Dbug.c41 #define pr_fmt(fmt) fmt argument
Dtest-hexdump.c4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dpercpu-refcount.c1 #define pr_fmt(fmt) "%s: " fmt "\n", __func__ argument
Ddigsig.c18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Datomic64_test.c12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlist_sort.c2 #define pr_fmt(fmt) "list_sort_test: " fmt argument
Dtest_kasan.c12 #define pr_fmt(fmt) "kasan test: %s " fmt, __func__ argument
Dtest-string_helpers.c4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dswiotlb.c20 #define pr_fmt(fmt) "software IO TLB: " fmt 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