Searched refs:nints (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | string2.h | 24 char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints); 26 static inline char *asprintf_expr_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_in_ints() argument 28 return asprintf_expr_inout_ints(var, true, nints, ints); in asprintf_expr_in_ints() 31 static inline char *asprintf_expr_not_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_not_in_ints() argument 33 return asprintf_expr_inout_ints(var, false, nints, ints); in asprintf_expr_not_in_ints()
|
D | string.c | 211 char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints) in asprintf_expr_inout_ints() argument 219 size_t size = nints * 28 + 1; /* \0 */ in asprintf_expr_inout_ints() 232 for (i = 0; i < nints; ++i) { in asprintf_expr_inout_ints()
|
/linux-6.12.1/lib/ |
D | cmdline.c | 107 char *get_options(const char *str, int nints, int *ints) in get_options() argument 109 bool validate = (nints == 0); in get_options() 112 while (i < nints || validate) { in get_options() 119 int n = validate ? 0 : nints - i; in get_options()
|
D | string_helpers.c | 156 int *ints, nints; in parse_int_array_user() local 164 get_options(buf, 0, &nints); in parse_int_array_user() 165 if (!nints) { in parse_int_array_user() 170 ints = kcalloc(nints + 1, sizeof(*ints), GFP_KERNEL); in parse_int_array_user() 176 get_options(buf, nints + 1, ints); in parse_int_array_user()
|
/linux-6.12.1/include/linux/ |
D | string.h | 317 extern char *get_options(const char *str, int nints, int *ints);
|