/linux-6.6.21/rust/macros/ |
D | quote.rs | 6 fn to_tokens(&self, tokens: &mut TokenStream); in to_tokens() 10 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 12 v.to_tokens(tokens); in to_tokens() 18 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 19 tokens.extend([TokenTree::from(self.clone())]); in to_tokens() 24 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 25 tokens.extend([self.clone()]); in to_tokens() 30 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 31 tokens.extend(self.clone()); in to_tokens() 43 let mut tokens; localVariable [all …]
|
D | paste.rs | 5 fn concat(tokens: &[TokenTree], group_span: Span) -> TokenTree { in concat() 6 let mut tokens = tokens.iter(); in concat() localVariable 10 match tokens.next() { in concat() 21 let Some(TokenTree::Ident(ident)) = tokens.next() else { in concat() 49 pub(crate) fn expand(tokens: &mut Vec<TokenTree>) { in expand() 50 for token in tokens.iter_mut() { in expand() 74 for i in (0..tokens.len().saturating_sub(3)).rev() { in expand() 77 (&tokens[i + 1], &tokens[i + 2]), in expand() 81 match &tokens[i + 3] { in expand() 83 tokens.splice(i + 3..i + 4, group.stream()); in expand() [all …]
|
D | vtable.rs | 8 let mut tokens: Vec<_> = ts.into_iter().collect(); in vtable() localVariable 11 let is_trait = tokens in vtable() 24 let body = match tokens.pop() { in vtable() 94 tokens.push(TokenTree::Group(Group::new(Delimiter::Brace, new_body))); in vtable() 95 tokens.into_iter().collect() in vtable()
|
D | lib.rs | 343 let mut tokens = input.into_iter().collect(); in paste() localVariable 344 paste::expand(&mut tokens); in paste() 345 tokens.into_iter().collect() in paste()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/net/netfilter/ |
D | nft_limit.c | 20 u64 tokens; member 34 u64 now, tokens; in nft_limit_eval() local 39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval() 40 if (tokens > priv->tokens_max) in nft_limit_eval() 41 tokens = priv->tokens_max; in nft_limit_eval() 44 delta = tokens - cost; in nft_limit_eval() 46 priv->limit->tokens = delta; in nft_limit_eval() 50 priv->limit->tokens = tokens; in nft_limit_eval() 61 u64 unit, tokens, rate_with_burst; in nft_limit_init() local 88 if (check_mul_overflow(tmp, priv->burst, &tokens)) in nft_limit_init() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/sound/soc/sof/ |
D | topology.c | 59 const struct sof_topology_token *tokens; in sof_update_ipc_object() local 76 tokens = token_list[token_id].tokens; in sof_update_ipc_object() 77 if (!tokens) { in sof_update_ipc_object() 87 if (tokens[i].token == tuples[j].token) { in sof_update_ipc_object() 88 switch (tokens[i].type) { in sof_update_ipc_object() 91 u32 *val = (u32 *)((u8 *)object + tokens[i].offset + in sof_update_ipc_object() 100 u16 *val = (u16 *)((u8 *)object + tokens[i].offset + in sof_update_ipc_object() 108 if (!tokens[i].get_token) { in sof_update_ipc_object() 111 tokens[i].token, token_list[token_id].name); in sof_update_ipc_object() 115 tokens[i].get_token((void *)tuples[j].value.s, object, in sof_update_ipc_object() [all …]
|
/linux-6.6.21/tools/arch/x86/kcpuid/ |
D | kcpuid.c | 311 char *tokens[6]; in parse_line() local 325 tokens[i] = strtok(str, ","); in parse_line() 326 if (!tokens[i]) in parse_line() 330 tokens[5] = strtok(str, "\n"); in parse_line() 331 if (!tokens[5]) in parse_line() 335 index = strtoull(tokens[0], NULL, 0); in parse_line() 354 sub = strtoul(tokens[1], NULL, 0); in parse_line() 359 buf = tokens[2]; in parse_line() 376 buf = tokens[3]; in parse_line() 387 strcpy(bdesc->simp, tokens[4]); in parse_line() [all …]
|
/linux-6.6.21/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-6.6.21/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()
|
/linux-6.6.21/drivers/mtd/ubi/ |
D | block.c | 103 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local 127 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param() 130 if (tokens[1]) { in ubiblock_set_param() 132 ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); in ubiblock_set_param() 137 ret = kstrtoint(tokens[1], 10, ¶m->vol_id); in ubiblock_set_param() 140 strcpy(param->name, tokens[1]); in ubiblock_set_param() 145 strcpy(param->name, tokens[0]); in ubiblock_set_param()
|
D | build.c | 1402 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local 1432 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse() 1440 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse() 1442 token = tokens[1]; in ubi_mtd_param_parse() 1450 token = tokens[2]; in ubi_mtd_param_parse() 1461 token = tokens[3]; in ubi_mtd_param_parse() 1473 token = tokens[4]; in ubi_mtd_param_parse()
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-meson.c | 101 u32 tokens[2]; member 124 i2c->tokens[0] = 0; in meson_i2c_reset_tokens() 125 i2c->tokens[1] = 0; in meson_i2c_reset_tokens() 132 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token() 134 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token() 274 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_prepare_xfer() 275 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_prepare_xfer()
|
/linux-6.6.21/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-6.6.21/drivers/platform/x86/dell/ |
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 | 56 struct calling_interface_token tokens[]; member
|
/linux-6.6.21/net/sched/ |
D | sch_tbf.c | 108 s64 tokens; /* Current number of B tokens */ member 291 toks += q->tokens; in tbf_dequeue() 302 q->tokens = toks; in tbf_dequeue() 335 q->tokens = q->buffer; in tbf_reset() 463 q->tokens = q->buffer; in tbf_change()
|
D | sch_htb.c | 120 s64 tokens, ctokens;/* current number of tokens */ member 541 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode() 659 s64 toks = diff + cl->tokens; in htb_accnt_tokens() 667 cl->tokens = toks; in htb_accnt_tokens() 713 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class() 1341 cl->xstats.tokens = clamp_t(s64, PSCHED_NS2TICKS(cl->tokens), in htb_dump_class_stats() 1526 parent->tokens = parent->buffer; in htb_parent_to_leaf() 1987 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
|
/linux-6.6.21/Documentation/sphinx/ |
D | kernel_include.py | 170 tokens = NumberLines([([], text)], startline, endline) 171 for classes, value in tokens:
|
/linux-6.6.21/arch/um/drivers/ |
D | vector_user.h | 54 char *tokens[MAXVARGS]; member
|
/linux-6.6.21/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
|
/linux-6.6.21/fs/autofs/ |
D | inode.c | 117 static const match_table_t tokens = { variable 160 token = match_token(p, tokens, args); in parse_options()
|
/linux-6.6.21/fs/hfs/ |
D | super.c | 193 static const match_table_t tokens = { variable 246 token = match_token(p, tokens, args); in parse_options()
|
/linux-6.6.21/fs/adfs/ |
D | super.c | 120 static const match_table_t tokens = { variable 144 token = match_token(p, tokens, args); in parse_options()
|