/kernel/linux/linux-5.10/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 | 284 if (!(t)->start && (t) > tokens) \ 533 jsmntok_t *tokens, *tok; in json_events() local 541 tokens = parse_json(fn, &map, &size, &len); in json_events() 542 if (!tokens) in json_events() 544 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array"); in json_events() 545 tok = tokens + 1; in json_events() 546 for (i = 0; i < tokens->size; i++) { in json_events() 704 EXPECT(tok - tokens == len, tok, "unexpected objects at end"); in json_events() 707 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);
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_limit.c | 20 u64 tokens; member 30 u64 now, tokens; in nft_limit_eval() local 35 tokens = limit->tokens + now - limit->last; in nft_limit_eval() 36 if (tokens > limit->tokens_max) in nft_limit_eval() 37 tokens = limit->tokens_max; in nft_limit_eval() 40 delta = tokens - cost; in nft_limit_eval() 42 limit->tokens = delta; in nft_limit_eval() 46 limit->tokens = tokens; in nft_limit_eval() 57 u64 unit, tokens; in nft_limit_init() local 79 tokens = div64_u64(limit->nsecs, limit->rate) * limit->burst; in nft_limit_init() [all …]
|
/kernel/linux/linux-5.10/scripts/ |
D | asn1_compiler.c | 348 struct token *tokens; in tokenise() local 355 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise() 356 if (!tokens) { in tokenise() 407 tokens[tix].line = lineno; in tokenise() 420 tokens[tix].size = q - p; in tokenise() 423 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 424 if (!tokens[tix].content) { in tokenise() 428 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise() 429 tokens[tix].content[tokens[tix].size] = 0; in tokenise() 434 if (islower(tokens[tix].content[0])) { in tokenise() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | ratelimiter.c | 27 u64 last_time_ns, tokens, ip; member 113 u64 now, tokens; in wg_ratelimiter_allow() local 122 tokens = min_t(u64, TOKEN_MAX, in wg_ratelimiter_allow() 123 entry->tokens + now - in wg_ratelimiter_allow() 126 ret = tokens >= PACKET_COST; in wg_ratelimiter_allow() 127 entry->tokens = ret ? tokens - PACKET_COST : tokens; in wg_ratelimiter_allow() 147 entry->tokens = TOKEN_MAX - PACKET_COST; in wg_ratelimiter_allow()
|
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
D | cgroup.c | 14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; in cgroupfs_find_mountpoint() local 32 mountpoint, type, tokens) == 3) { in cgroupfs_find_mountpoint() 36 token = strtok_r(tokens, ",", &saved_ptr); in cgroupfs_find_mountpoint()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/lib/ |
D | ts_fsm.c | 35 struct ts_fsm_token tokens[]; member 160 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find() 166 cur = &fsm->tokens[tok_idx]; in fsm_find() 169 next = &fsm->tokens[tok_idx + 1]; in fsm_find() 261 struct ts_fsm_token *tokens = (struct ts_fsm_token *) pattern; in fsm_init() local 262 unsigned int ntokens = len / sizeof(*tokens); in fsm_init() 272 struct ts_fsm_token *t = &tokens[i]; in fsm_init() 289 memcpy(fsm->tokens, pattern, len); in fsm_init() 292 struct ts_fsm_token *t = &fsm->tokens[i]; in fsm_init() 305 return fsm->tokens; in fsm_get_pattern()
|
/kernel/linux/linux-5.10/include/linux/wimax/ |
D | debug.h | 459 unsigned level, tokens; in d_parse_params() local 477 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params() 480 if (tokens == 2) in d_parse_params() 486 tag, token, tokens); in d_parse_params()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-meson.c | 103 u32 tokens[2]; member 122 i2c->tokens[0] = 0; in meson_i2c_reset_tokens() 123 i2c->tokens[1] = 0; in meson_i2c_reset_tokens() 130 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token() 132 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token() 224 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_prepare_xfer() 225 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_prepare_xfer()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | block.c | 107 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local 131 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param() 134 if (tokens[1]) { in ubiblock_set_param() 136 ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); in ubiblock_set_param() 141 ret = kstrtoint(tokens[1], 10, ¶m->vol_id); in ubiblock_set_param() 144 strcpy(param->name, tokens[1]); in ubiblock_set_param() 149 strcpy(param->name, tokens[0]); in ubiblock_set_param()
|
D | build.c | 1380 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local 1410 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse() 1418 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse() 1420 token = tokens[1]; in ubi_mtd_param_parse() 1428 token = tokens[2]; in ubi_mtd_param_parse() 1439 token = tokens[3]; in ubi_mtd_param_parse()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | dell-smbios-base.c | 356 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local 371 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table() 379 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table() 380 sizeof(struct calling_interface_token) * tokens); in parse_da_table() 382 da_num_tokens += tokens; in parse_da_table()
|
D | dell-smbios.h | 54 struct calling_interface_token tokens[]; member
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
D | topology.c | 802 const struct sof_topology_token *tokens, in sof_parse_uuid_tokens() argument 818 if (tokens[j].type != SND_SOC_TPLG_TUPLE_TYPE_UUID) in sof_parse_uuid_tokens() 822 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_parse_uuid_tokens() 826 tokens[j].get_token(elem, object, in sof_parse_uuid_tokens() 827 offset + tokens[j].offset, in sof_parse_uuid_tokens() 828 tokens[j].size); in sof_parse_uuid_tokens() 839 const struct sof_topology_token *tokens, in sof_parse_string_tokens() argument 855 if (tokens[j].type != SND_SOC_TPLG_TUPLE_TYPE_STRING) in sof_parse_string_tokens() 859 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_parse_string_tokens() 863 tokens[j].get_token(elem, object, in sof_parse_string_tokens() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_tbf.c | 107 s64 tokens; /* Current number of B tokens */ member 276 toks += q->tokens; in tbf_dequeue() 287 q->tokens = toks; in tbf_dequeue() 320 q->tokens = q->buffer; in tbf_reset() 448 q->tokens = q->buffer; in tbf_change()
|
D | sch_htb.c | 120 s64 tokens, ctokens;/* current number of tokens */ member 509 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode() 620 s64 toks = diff + cl->tokens; in htb_accnt_tokens() 628 cl->tokens = toks; in htb_accnt_tokens() 670 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class() 1131 cl->xstats.tokens = clamp_t(s64, PSCHED_NS2TICKS(cl->tokens), in htb_dump_class_stats() 1199 parent->tokens = parent->buffer; in htb_parent_to_leaf() 1423 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
D | kernel_include.py | 167 tokens = NumberLines([([], text)], startline, endline) 168 for classes, value in tokens:
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | vector_user.h | 54 char *tokens[MAXVARGS]; member
|
/kernel/linux/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-driver-dma-idxd | 48 Description: The total number of bandwidth tokens supported by this device. 49 The bandwidth tokens represent resources within the DSA 115 Description: The maximum number of bandwidth tokens that may be in use at
|
/kernel/linux/linux-5.10/Documentation/filesystems/nfs/ |
D | rpc-server-gss.rst | 55 A) It can handle tokens that are no bigger than 2KiB 57 In some Kerberos deployment GSSAPI tokens can be quite big, up and
|