/Linux-v4.19/tools/perf/pmu-events/ |
D | jsmn.c | 32 jsmntok_t *tokens, size_t num_tokens) in jsmn_alloc_token() argument 38 tok = &tokens[parser->toknext++]; in jsmn_alloc_token() 61 jsmntok_t *tokens, size_t num_tokens) in jsmn_parse_primitive() argument 103 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive() 118 jsmntok_t *tokens, size_t num_tokens) in jsmn_parse_string() argument 131 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_string() 174 jsmntok_t *tokens, unsigned int num_tokens) in jsmn_parse() argument 188 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse() 192 tokens[parser->toksuper].size++; in jsmn_parse() 201 token = &tokens[i]; in jsmn_parse() [all …]
|
D | json.c | 86 jsmntok_t *tokens; in parse_json() local 95 tokens = malloc(sz); in parse_json() 96 if (!tokens) in parse_json() 99 res = jsmn_parse(&parser, *map, *size, tokens, in parse_json() 107 return tokens; in parse_json() 109 free(tokens); in parse_json() 115 void free_json(char *map, size_t size, jsmntok_t *tokens) in free_json() argument 117 free(tokens); in free_json()
|
D | jevents.c | 254 if (!(t)->start && (t) > tokens) \ 510 jsmntok_t *tokens, *tok; in json_events() local 518 tokens = parse_json(fn, &map, &size, &len); in json_events() 519 if (!tokens) in json_events() 521 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array"); in json_events() 522 tok = tokens + 1; in json_events() 523 for (i = 0; i < tokens->size; i++) { in json_events() 681 EXPECT(tok - tokens == len, tok, "unexpected objects at end"); in json_events() 684 free_json(map, size, tokens); in json_events()
|
D | jsmn.h | 64 jsmntok_t *tokens, unsigned int num_tokens);
|
D | json.h | 8 void free_json(char *map, size_t size, jsmntok_t *tokens);
|
/Linux-v4.19/net/netfilter/ |
D | nft_limit.c | 23 u64 tokens; member 33 u64 now, tokens; in nft_limit_eval() local 38 tokens = limit->tokens + now - limit->last; in nft_limit_eval() 39 if (tokens > limit->tokens_max) in nft_limit_eval() 40 tokens = limit->tokens_max; in nft_limit_eval() 43 delta = tokens - cost; in nft_limit_eval() 45 limit->tokens = delta; in nft_limit_eval() 49 limit->tokens = tokens; in nft_limit_eval() 60 u64 unit, tokens; in nft_limit_init() local 82 tokens = div_u64(limit->nsecs, limit->rate) * limit->burst; in nft_limit_init() [all …]
|
/Linux-v4.19/scripts/ |
D | asn1_compiler.c | 352 struct token *tokens; in tokenise() local 359 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise() 360 if (!tokens) { in tokenise() 411 tokens[tix].line = lineno; in tokenise() 424 tokens[tix].size = q - p; in tokenise() 427 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 428 if (!tokens[tix].content) { in tokenise() 432 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise() 433 tokens[tix].content[tokens[tix].size] = 0; in tokenise() 438 if (islower(tokens[tix].content[0])) { in tokenise() [all …]
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-platform-dell-smbios | 1 What: /sys/devices/platform/<platform>/tokens/* 6 A read-only description of Dell platform tokens 20 only tokens available on that machine will be
|
/Linux-v4.19/lib/ |
D | ts_fsm.c | 39 struct ts_fsm_token tokens[0]; member 164 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find() 170 cur = &fsm->tokens[tok_idx]; in fsm_find() 173 next = &fsm->tokens[tok_idx + 1]; in fsm_find() 265 struct ts_fsm_token *tokens = (struct ts_fsm_token *) pattern; in fsm_init() local 266 unsigned int ntokens = len / sizeof(*tokens); in fsm_init() 276 struct ts_fsm_token *t = &tokens[i]; in fsm_init() 293 memcpy(fsm->tokens, pattern, len); in fsm_init() 296 struct ts_fsm_token *t = &fsm->tokens[i]; in fsm_init() 309 return fsm->tokens; in fsm_get_pattern()
|
/Linux-v4.19/include/linux/wimax/ |
D | debug.h | 494 unsigned level, tokens; in d_parse_params() local 512 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params() 515 if (tokens == 2) in d_parse_params() 521 tag, token, tokens); in d_parse_params()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-meson.c | 99 u32 tokens[2]; member 118 i2c->tokens[0] = 0; in meson_i2c_reset_tokens() 119 i2c->tokens[1] = 0; in meson_i2c_reset_tokens() 126 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token() 128 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token() 215 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_prepare_xfer() 216 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_prepare_xfer()
|
/Linux-v4.19/drivers/mtd/ubi/ |
D | block.c | 115 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local 139 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param() 142 if (tokens[1]) { in ubiblock_set_param() 144 ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); in ubiblock_set_param() 149 ret = kstrtoint(tokens[1], 10, ¶m->vol_id); in ubiblock_set_param() 152 strcpy(param->name, tokens[1]); in ubiblock_set_param() 157 strcpy(param->name, tokens[0]); in ubiblock_set_param()
|
D | build.c | 1367 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local 1397 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse() 1405 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse() 1407 token = tokens[1]; in ubi_mtd_param_parse() 1415 token = tokens[2]; in ubi_mtd_param_parse() 1426 token = tokens[3]; in ubi_mtd_param_parse()
|
/Linux-v4.19/fs/hfsplus/ |
D | options.c | 31 static const match_table_t tokens = { variable 85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount() 113 token = match_token(p, tokens, args); in hfsplus_parse_options()
|
/Linux-v4.19/tools/perf/util/ |
D | cgroup.c | 19 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; in cgroupfs_find_mountpoint() local 37 mountpoint, type, tokens) == 3) { in cgroupfs_find_mountpoint() 41 token = strtok_r(tokens, ",", &saved_ptr); in cgroupfs_find_mountpoint()
|
/Linux-v4.19/net/sched/ |
D | sch_tbf.c | 111 s64 tokens; /* Current number of B tokens */ member 235 toks += q->tokens; in tbf_dequeue() 246 q->tokens = toks; in tbf_dequeue() 281 q->tokens = q->buffer; in tbf_reset() 408 q->tokens = q->buffer; in tbf_change()
|
D | sch_htb.c | 124 s64 tokens, ctokens;/* current number of tokens */ member 512 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode() 636 s64 toks = diff + cl->tokens; in htb_accnt_tokens() 644 cl->tokens = toks; in htb_accnt_tokens() 686 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class() 1149 cl->xstats.tokens = clamp_t(s64, PSCHED_NS2TICKS(cl->tokens), in htb_dump_class_stats() 1217 parent->tokens = parent->buffer; in htb_parent_to_leaf() 1448 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
|
/Linux-v4.19/drivers/platform/x86/ |
D | dell-smbios-base.c | 359 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local 374 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table() 382 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table() 383 sizeof(struct calling_interface_token) * tokens); in parse_da_table() 385 da_num_tokens += tokens; in parse_da_table()
|
D | dell-smbios.h | 57 struct calling_interface_token tokens[]; member
|
/Linux-v4.19/fs/proc/ |
D | root.c | 33 static const match_table_t tokens = { variable 54 token = match_token(p, tokens, args); in proc_parse_options()
|
/Linux-v4.19/Documentation/sphinx/ |
D | kernel_include.py | 167 tokens = NumberLines([([], text)], startline, endline) 168 for classes, value in tokens:
|
/Linux-v4.19/fs/ramfs/ |
D | inode.c | 183 static const match_table_t tokens = { variable 201 token = match_token(p, tokens, args); in ramfs_parse_options()
|
/Linux-v4.19/arch/um/drivers/ |
D | vector_user.h | 47 char *tokens[MAXVARGS]; member
|
/Linux-v4.19/Documentation/filesystems/nfs/ |
D | rpc-server-gss.txt | 52 A) It can handle tokens that are no bigger than 2KiB 54 In some Kerberos deployment GSSAPI tokens can be quite big, up and
|
/Linux-v4.19/fs/autofs/ |
D | inode.c | 114 static const match_table_t tokens = { variable 152 token = match_token(p, tokens, args); in parse_options()
|