/lib/ |
D | cmdline.c | 25 static int get_range(char **str, int *pint) in get_range() argument 29 (*str)++; in get_range() 30 upper_range = simple_strtol((*str), NULL, 0); in get_range() 52 int get_option (char **str, int *pint) in get_option() argument 54 char *cur = *str; in get_option() 58 *pint = simple_strtol (cur, str, 0); in get_option() 59 if (cur == *str) in get_option() 61 if (**str == ',') { in get_option() 62 (*str)++; in get_option() 65 if (**str == '-') in get_option() [all …]
|
D | vsprintf.c | 1394 char *str, *end; in vsnprintf() local 1402 str = buf; in vsnprintf() 1420 if (str < end) { in vsnprintf() 1421 if (copy > end - str) in vsnprintf() 1422 copy = end - str; in vsnprintf() 1423 memcpy(str, old_fmt, copy); in vsnprintf() 1425 str += read; in vsnprintf() 1442 if (str < end) in vsnprintf() 1443 *str = ' '; in vsnprintf() 1444 ++str; in vsnprintf() [all …]
|
D | argv_split.c | 11 static int count_argc(const char *str) in count_argc() argument 16 for (was_space = true; *str; str++) { in count_argc() 17 if (isspace(*str)) { in count_argc() 59 char **argv_split(gfp_t gfp, const char *str, int *argcp) in argv_split() argument 66 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
|
D | strnlen_user.c | 95 long strnlen_user(const char __user *str, long count) in strnlen_user() argument 103 src_addr = (unsigned long)str; in strnlen_user() 106 return do_strnlen_user(str, count, max); in strnlen_user() 126 long strlen_user(const char __user *str) in strlen_user() argument 131 src_addr = (unsigned long)str; in strlen_user() 134 return do_strnlen_user(str, ~0ul, max); in strlen_user()
|
D | test-kstrtox.c | 9 const char *str; member 18 const char *str; \ 36 rv = fn(t->str, t->base, &tmp); \ 39 t->str, t->base, rv, tmp); \ 54 rv = fn(t->str, t->base, &res); \ 57 t->str, t->base, t->expected_res, rv); \ 62 t->str, t->base, t->expected_res, res); \
|
D | dynamic_debug.c | 264 static inline int parse_lineno(const char *str, unsigned int *val) in parse_lineno() argument 267 BUG_ON(str == NULL); in parse_lineno() 268 if (*str == '\0') { in parse_lineno() 272 *val = simple_strtoul(str, &end, 10); in parse_lineno() 273 if (end == NULL || end == str || *end != '\0') { in parse_lineno() 274 pr_err("bad line-number: %s\n", str); in parse_lineno() 379 static int ddebug_parse_flags(const char *str, unsigned int *flagsp, in ddebug_parse_flags() argument 385 switch (*str) { in ddebug_parse_flags() 389 op = *str++; in ddebug_parse_flags() 392 pr_err("bad flag-op %c, at start of %s\n", *str, str); in ddebug_parse_flags() [all …]
|
D | swiotlb.c | 96 setup_io_tlb_npages(char *str) in setup_io_tlb_npages() argument 98 if (isdigit(*str)) { in setup_io_tlb_npages() 99 io_tlb_nslabs = simple_strtoul(str, &str, 0); in setup_io_tlb_npages() 103 if (*str == ',') in setup_io_tlb_npages() 104 ++str; in setup_io_tlb_npages() 105 if (!strcmp(str, "force")) in setup_io_tlb_npages()
|
D | dma-debug.c | 824 static __init int dma_debug_cmdline(char *str) in dma_debug_cmdline() argument 826 if (!str) in dma_debug_cmdline() 829 if (strncmp(str, "off", 3) == 0) { in dma_debug_cmdline() 837 static __init int dma_debug_entries_cmdline(char *str) in dma_debug_entries_cmdline() argument 841 if (!str) in dma_debug_entries_cmdline() 844 res = get_option(&str, &req_entries); in dma_debug_entries_cmdline() 1408 static int __init dma_debug_driver_setup(char *str) in dma_debug_driver_setup() argument 1412 for (i = 0; i < NAME_MAX_LEN - 1; ++i, ++str) { in dma_debug_driver_setup() 1413 current_driver_name[i] = *str; in dma_debug_driver_setup() 1414 if (*str == 0) in dma_debug_driver_setup()
|
D | string.c | 345 char *skip_spaces(const char *str) in skip_spaces() argument 347 while (isspace(*str)) in skip_spaces() 348 ++str; in skip_spaces() 349 return (char *)str; in skip_spaces()
|
D | nlattr.c | 304 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp() argument 306 int len = strlen(str) + 1; in nla_strcmp() 310 d = memcmp(nla_data(nla), str, len); in nla_strcmp()
|
D | fault-inject.c | 17 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() argument 25 if (sscanf(str, "%lu,%lu,%d,%d", in setup_fault_attr()
|
D | debugobjects.c | 58 static int __init enable_object_debug(char *str) in enable_object_debug() argument 64 static int __init disable_object_debug(char *str) in disable_object_debug() argument
|
D | locking-selftest.c | 29 static int __init setup_debug_locks_verbose(char *str) in setup_debug_locks_verbose() argument 31 get_option(&str, &debug_locks_verbose); in setup_debug_locks_verbose()
|
/lib/zlib_deflate/ |
D | defutil.h | 4 #define Assert(err, str) argument
|
D | deflate.c | 153 #define INSERT_STRING(s, str, match_head) \ argument 154 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ 155 s->prev[(str) & s->w_mask] = match_head = s->head[s->ins_h], \ 156 s->head[s->ins_h] = (Pos)(str))
|