/lib/ |
D | vsprintf.c | 605 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 …]
|
D | kasprintf.c | 14 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 …]
|
D | test_printf.c | 5 #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 …]
|
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__); \ 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 …]
|
D | test_module.c | 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | kobject.c | 257 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 …]
|
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_uuid.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | bug.c | 41 #define pr_fmt(fmt) fmt argument
|
D | test_firmware.c | 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | percpu-refcount.c | 1 #define pr_fmt(fmt) "%s: " fmt "\n", __func__ argument
|
D | test_hash.c | 16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt "\n" argument
|
D | test_hexdump.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | digsig.c | 18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | list_sort.c | 2 #define pr_fmt(fmt) "list_sort_test: " fmt argument
|
D | test_bitmap.c | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test-string_helpers.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | atomic64_test.c | 12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_kasan.c | 12 #define pr_fmt(fmt) "kasan test: %s " fmt, __func__ 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
|