Home
last modified time | relevance | path

Searched refs:args (Results 1 – 12 of 12) sorted by relevance

/lib/
Dcmdline.c201 char *next_arg(char *args, char **param, char **val) in next_arg() argument
207 if (*args == '"') { in next_arg()
208 args++; in next_arg()
213 for (i = 0; args[i]; i++) { in next_arg()
214 if (isspace(args[i]) && !in_quote) in next_arg()
217 if (args[i] == '=') in next_arg()
220 if (args[i] == '"') in next_arg()
224 *param = args; in next_arg()
228 args[equals] = '\0'; in next_arg()
229 *val = args + equals + 1; in next_arg()
[all …]
Dparser.c24 static int match_one(char *s, const char *p, substring_t args[]) in match_one() argument
56 args[argc].from = s; in match_one()
65 args[argc].to = s + len; in match_one()
69 simple_strtol(s, &args[argc].to, 0); in match_one()
72 simple_strtoul(s, &args[argc].to, 0); in match_one()
75 simple_strtoul(s, &args[argc].to, 8); in match_one()
78 simple_strtoul(s, &args[argc].to, 16); in match_one()
80 if (args[argc].to == args[argc].from) in match_one()
86 s = args[argc].to; in match_one()
105 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token() argument
[all …]
Dvsprintf.c2458 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) in vsnprintf() argument
2497 set_field_width(&spec, va_arg(args, int)); in vsnprintf()
2501 set_precision(&spec, va_arg(args, int)); in vsnprintf()
2515 c = (unsigned char) va_arg(args, int); in vsnprintf()
2528 str = string(str, end, va_arg(args, char *), spec); in vsnprintf()
2532 str = pointer(fmt, str, end, va_arg(args, void *), in vsnprintf()
2558 num = va_arg(args, long long); in vsnprintf()
2561 num = va_arg(args, unsigned long); in vsnprintf()
2564 num = va_arg(args, long); in vsnprintf()
2568 num = va_arg(args, ssize_t); in vsnprintf()
[all …]
Ddump_stack.c30 va_list args; in dump_stack_set_arch_desc() local
32 va_start(args, fmt); in dump_stack_set_arch_desc()
34 fmt, args); in dump_stack_set_arch_desc()
35 va_end(args); in dump_stack_set_arch_desc()
Ddynamic_debug.c555 va_list args; in __dynamic_pr_debug() local
562 va_start(args, fmt); in __dynamic_pr_debug()
565 vaf.va = &args; in __dynamic_pr_debug()
569 va_end(args); in __dynamic_pr_debug()
577 va_list args; in __dynamic_dev_dbg() local
582 va_start(args, fmt); in __dynamic_dev_dbg()
585 vaf.va = &args; in __dynamic_dev_dbg()
598 va_end(args); in __dynamic_dev_dbg()
608 va_list args; in __dynamic_netdev_dbg() local
613 va_start(args, fmt); in __dynamic_netdev_dbg()
[all …]
Datomic64_test.c36 #define FAMILY_TEST(test, bit, op, args...) \ argument
38 test(bit, op, ##args); \
39 test(bit, op##_acquire, ##args); \
40 test(bit, op##_release, ##args); \
41 test(bit, op##_relaxed, ##args); \
72 #define TEST_ARGS(bit, op, init, ret, expect, args...) \ argument
75 BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \
Dkobject_uevent.c64 const char **args) in kobject_action_type() argument
89 if (args) in kobject_action_type()
90 *args = args_start; in kobject_action_type()
655 va_list args; in add_uevent_var() local
663 va_start(args, format); in add_uevent_var()
666 format, args); in add_uevent_var()
667 va_end(args); in add_uevent_var()
Dkobject.c429 va_list args; in kobject_add() local
441 va_start(args, fmt); in kobject_add()
442 retval = kobject_add_varg(kobj, parent, fmt, args); in kobject_add()
443 va_end(args); in kobject_add()
467 va_list args; in kobject_init_and_add() local
472 va_start(args, fmt); in kobject_init_and_add()
473 retval = kobject_add_varg(kobj, parent, fmt, args); in kobject_init_and_add()
474 va_end(args); in kobject_init_and_add()
Dseq_buf.c57 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()
Dsyscall.c31 (unsigned long *)&info->data.args[0]); in collect_syscall()
Dts_bm.c47 #define DEBUGP(args, format...) argument
Dbch.c97 #define dbg(_fmt, args...) do {} while (0) argument