/lib/ |
D | vsprintf.c | 561 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 …]
|
D | kasprintf.c | 14 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 …]
|
D | test_printf.c | 5 #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 …]
|
D | seq_buf.c | 56 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()
|
D | test-kstrtox.c | 26 #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", \
|
D | dynamic_debug.c | 14 #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 …]
|
D | test_module.c | 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | kobject.c | 255 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 …]
|
D | crc8.c | 17 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_user_copy.c | 19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_firmware.c | 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_siphash.c | 15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | nmi_backtrace.c | 139 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()
|
D | bug.c | 41 #define pr_fmt(fmt) fmt argument
|
D | test-hexdump.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | percpu-refcount.c | 1 #define pr_fmt(fmt) "%s: " fmt "\n", __func__ argument
|
D | digsig.c | 18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | atomic64_test.c | 12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | list_sort.c | 2 #define pr_fmt(fmt) "list_sort_test: " fmt argument
|
D | test_kasan.c | 12 #define pr_fmt(fmt) "kasan test: %s " fmt, __func__ argument
|
D | test-string_helpers.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | swiotlb.c | 20 #define pr_fmt(fmt) "software IO TLB: " fmt argument
|
D | debugobjects.c | 11 #define pr_fmt(fmt) "ODEBUG: " fmt argument
|
/lib/842/ |
D | 842_decompress.c | 19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | 842_compress.c | 19 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|