/lib/ |
D | vsprintf.c | 843 const char *fmt) in dentry_name() argument 850 switch (fmt[1]) { in dentry_name() 852 depth = fmt[1] - '0'; in dentry_name() 892 struct printf_spec spec, const char *fmt) in file_dentry_name() argument 897 return dentry_name(buf, end, f->f_path.dentry, spec, fmt); in file_dentry_name() 902 struct printf_spec spec, const char *fmt) in bdev_name() argument 925 struct printf_spec spec, const char *fmt) in symbol_string() argument 932 if (fmt[1] == 'R') in symbol_string() 937 if (*fmt == 'B') in symbol_string() 939 else if (*fmt != 'f' && *fmt != 's') in symbol_string() [all …]
|
D | kasprintf.c | 15 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf() argument 22 first = vsnprintf(NULL, 0, fmt, aq); in kvasprintf() 29 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf() 31 first, second, fmt); in kvasprintf() 43 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const() argument 45 if (!strchr(fmt, '%')) in kvasprintf_const() 46 return kstrdup_const(fmt, gfp); in kvasprintf_const() 47 if (!strcmp(fmt, "%s")) in kvasprintf_const() 49 return kvasprintf(gfp, fmt, ap); in kvasprintf_const() 53 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() argument [all …]
|
D | test_printf.c | 6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 38 const char *fmt, va_list ap) in do_test() argument 47 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test() 52 bufsize, fmt, ret, elen); in do_test() 57 pr_warn("vsnprintf(buf, %d, \"%s\", ...) wrote before buffer\n", bufsize, fmt); in do_test() 64 fmt); in do_test() 73 bufsize, fmt); in do_test() 79 bufsize, fmt); in do_test() 85 bufsize, fmt, test_buffer, written, expect); in do_test() 92 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument [all …]
|
D | dynamic_debug.c | 14 #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ argument 108 #define vpr_info(fmt, ...) \ argument 111 pr_info(fmt, ##__VA_ARGS__); \ 553 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...) in __dynamic_pr_debug() argument 560 BUG_ON(!fmt); in __dynamic_pr_debug() 562 va_start(args, fmt); in __dynamic_pr_debug() 564 vaf.fmt = fmt; in __dynamic_pr_debug() 574 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument 580 BUG_ON(!fmt); in __dynamic_dev_dbg() 582 va_start(args, fmt); in __dynamic_dev_dbg() [all …]
|
D | seq_buf.c | 57 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) in seq_buf_vprintf() argument 64 len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); in seq_buf_vprintf() 83 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...) in seq_buf_printf() argument 88 va_start(ap, fmt); in seq_buf_printf() 89 ret = seq_buf_vprintf(s, fmt, ap); in seq_buf_printf() 113 int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary) in seq_buf_bprintf() argument 121 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 | test_overflow.c | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 218 #define check_one_op(t, fmt, op, sym, a, b, r, of) do { \ argument 224 pr_warn("expected "fmt" "sym" "fmt \ 230 pr_warn("expected "fmt" "sym" "fmt" == " \ 231 fmt", got "fmt" (type %s)\n", \ 237 #define DEFINE_TEST_FUNC(t, fmt) \ argument 242 check_one_op(t, fmt, add, "+", p->a, p->b, p->sum, p->s_of); \ 243 check_one_op(t, fmt, add, "+", p->b, p->a, p->sum, p->s_of); \ 244 check_one_op(t, fmt, sub, "-", p->a, p->b, p->diff, p->d_of); \ 245 check_one_op(t, fmt, mul, "*", p->a, p->b, p->prod, p->p_of); \ [all …]
|
D | dump_stack.c | 28 void __init dump_stack_set_arch_desc(const char *fmt, ...) in dump_stack_set_arch_desc() argument 32 va_start(args, fmt); in dump_stack_set_arch_desc() 34 fmt, args); in dump_stack_set_arch_desc()
|
D | test_module.c | 11 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | kobject.c | 281 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs() argument 286 if (kobj->name && !fmt) in kobject_set_name_vargs() 289 s = kvasprintf_const(GFP_KERNEL, fmt, vargs); in kobject_set_name_vargs() 324 int kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name() argument 329 va_start(vargs, fmt); in kobject_set_name() 330 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name() 380 const char *fmt, va_list vargs) in kobject_add_varg() argument 384 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg() 427 const char *fmt, ...) in kobject_add() argument 441 va_start(args, fmt); in kobject_add() [all …]
|
D | crc8.c | 17 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_sysctl.c | 25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_strscpy.c | 3 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_siphash.c | 15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_uuid.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_memcat_p.c | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_bitfield.c | 6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_list_sort.c | 2 #define pr_fmt(fmt) "list_sort_test: " fmt argument
|
D | bug.c | 42 #define pr_fmt(fmt) fmt argument
|
/lib/livepatch/ |
D | test_klp_callbacks_mod.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_klp_livepatch.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_klp_callbacks_busy.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_klp_atomic_replace.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_klp_callbacks_demo2.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | test_klp_callbacks_demo.c | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|