Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 76 of 76) sorted by relevance

/linux-4.1.27/net/netfilter/
Dnft_limit.c23 u64 tokens; member
37 priv->tokens = priv->rate; in nft_limit_eval()
41 if (priv->tokens >= 1) { in nft_limit_eval()
42 priv->tokens--; in nft_limit_eval()
69 priv->tokens = priv->rate; in nft_limit_init()
/linux-4.1.27/scripts/
Dasn1_compiler.c351 struct token *tokens; in tokenise() local
358 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
359 if (!tokens) { in tokenise()
410 tokens[tix].line = lineno; in tokenise()
411 tokens[tix].value = p; in tokenise()
423 tokens[tix].size = q - p; in tokenise()
429 if (islower(tokens[tix].value[0])) { in tokenise()
430 tokens[tix++].token_type = TOKEN_ELEMENT_NAME; in tokenise()
437 dir = bsearch(&tokens[tix], directives, in tokenise()
442 tokens[tix++].token_type = dir - directives; in tokenise()
[all …]
/linux-4.1.27/lib/
Dts_fsm.c39 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-4.1.27/include/linux/wimax/
Ddebug.h494 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-4.1.27/drivers/i2c/busses/
Di2c-meson.c97 u32 tokens[2]; member
114 i2c->tokens[0] = 0; in meson_i2c_reset_tokens()
115 i2c->tokens[1] = 0; in meson_i2c_reset_tokens()
122 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token()
124 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token()
131 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_write_tokens()
132 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_write_tokens()
/linux-4.1.27/tools/perf/util/
Dcgroup.c14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; in cgroupfs_find_mountpoint() local
29 mountpoint, type, tokens) == 3) { in cgroupfs_find_mountpoint()
33 token = strtok_r(tokens, ",", &saved_ptr); in cgroupfs_find_mountpoint()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dconfig.c182 char *tokens; in lnet_parse_networks() local
196 LIBCFS_ALLOC(tokens, tokensize); in lnet_parse_networks()
197 if (tokens == NULL) { in lnet_parse_networks()
202 the_lnet.ln_network_tokens = tokens; in lnet_parse_networks()
204 memcpy(tokens, networks, tokensize); in lnet_parse_networks()
205 str = tmp = tokens; in lnet_parse_networks()
350 lnet_syntax("networks", networks, (int)(tmp - tokens), strlen(tmp)); in lnet_parse_networks()
362 LIBCFS_FREE(tokens, tokensize); in lnet_parse_networks()
835 static char tokens[LNET_SINGLE_TEXTBUF_NOB]; in lnet_match_network_tokens() local
845 LASSERT(strlen(net_entry) < sizeof(tokens)); in lnet_match_network_tokens()
[all …]
/linux-4.1.27/drivers/mtd/ubi/
Dblock.c112 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local
136 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param()
139 if (tokens[1]) { in ubiblock_set_param()
141 ret = kstrtoint(tokens[0], 10, &param->ubi_num); in ubiblock_set_param()
146 ret = kstrtoint(tokens[1], 10, &param->vol_id); in ubiblock_set_param()
149 strcpy(param->name, tokens[1]); in ubiblock_set_param()
154 strcpy(param->name, tokens[0]); in ubiblock_set_param()
Dbuild.c1417 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local
1447 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse()
1455 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse()
1457 token = tokens[1]; in ubi_mtd_param_parse()
1465 token = tokens[2]; in ubi_mtd_param_parse()
1476 token = tokens[3]; in ubi_mtd_param_parse()
/linux-4.1.27/fs/hfsplus/
Doptions.c30 static const match_table_t tokens = { variable
84 token = match_token(p, tokens, args); in hfsplus_parse_options_remount()
112 token = match_token(p, tokens, args); in hfsplus_parse_options()
/linux-4.1.27/net/sched/
Dsch_tbf.c111 s64 tokens; /* Current number of B tokens */ member
251 toks += q->tokens; in tbf_dequeue()
262 q->tokens = toks; in tbf_dequeue()
297 q->tokens = q->buffer; in tbf_reset()
416 q->tokens = q->buffer; in tbf_change()
Dsch_htb.c124 s64 tokens, ctokens;/* current number of tokens */ member
504 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode()
609 s64 toks = diff + cl->tokens; in htb_accnt_tokens()
617 cl->tokens = toks; in htb_accnt_tokens()
659 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class()
1145 cl->xstats.tokens = PSCHED_NS2TICKS(cl->tokens); in htb_dump_class_stats()
1227 parent->tokens = parent->buffer; in htb_parent_to_leaf()
1457 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
/linux-4.1.27/fs/proc/
Droot.c45 static const match_table_t tokens = { variable
66 token = match_token(p, tokens, args); in proc_parse_options()
/linux-4.1.27/fs/ramfs/
Dinode.c166 static const match_table_t tokens = { variable
188 token = match_token(p, tokens, args); in ramfs_parse_options()
/linux-4.1.27/fs/jffs2/
Dsuper.c172 static const match_table_t tokens = { variable
193 token = match_token(p, tokens, args); in jffs2_parse_options()
/linux-4.1.27/fs/autofs4/
Dinode.c116 static const match_table_t tokens = { variable
153 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/Documentation/filesystems/nfs/
Drpc-server-gss.txt52 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-4.1.27/drivers/platform/x86/
Ddell-laptop.c69 struct calling_interface_token tokens[]; member
326 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local
340 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
348 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
349 sizeof(struct calling_interface_token) * tokens); in parse_da_table()
351 da_num_tokens += tokens; in parse_da_table()
/linux-4.1.27/fs/pstore/
Dinode.c242 static const match_table_t tokens = { variable
262 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/hfs/
Dsuper.c199 static const match_table_t tokens = { variable
252 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/9p/
Dv9fs.c66 static const match_table_t tokens = { variable
144 token = match_token(p, tokens, args); in v9fs_parse_options()
/linux-4.1.27/fs/tracefs/
Dinode.c154 static const match_table_t tokens = { variable
180 token = match_token(p, tokens, args); in tracefs_parse_options()
/linux-4.1.27/scripts/genksyms/
Dparse.tab.h_shipped37 /* Put the tokens into the symbol table, so that GDB and other debuggers
Dlex.lex.c_shipped239 * still have a bunch of tokens to match, though, because of
570 and then we categorize those basic tokens in the second stage. */
877 /* The Pedant requires that the other C multi-character tokens be
878 recognized as tokens. We don't actually use them since we don't
897 /* All other tokens are single characters. */
1935 of the parser to tailor the tokens that are returned. */
Dparse.tab.c_shipped150 /* Put the tokens into the symbol table, so that GDB and other debuggers
1265 /* Number of reported tokens (one for the "unexpected", one per
1277 tokens because there are none.
1467 /* Number of tokens to shift before error messages enabled. */
1657 /* Count tokens shifted since error; after three, turn off error
/linux-4.1.27/fs/debugfs/
Dinode.c65 static const match_table_t tokens = { variable
91 token = match_token(p, tokens, args); in debugfs_parse_options()
/linux-4.1.27/fs/devpts/
Dinode.c116 static const match_table_t tokens = { variable
186 token = match_token(p, tokens, args); in parse_mount_options()
/linux-4.1.27/fs/adfs/
Dsuper.c149 static const match_table_t tokens = { variable
173 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/affs/
Dsuper.c169 static const match_table_t tokens = { variable
214 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/omfs/
Dinode.c366 static const match_table_t tokens = { variable
389 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/security/keys/
DKconfig9 This option provides support for retaining authentication tokens and
/linux-4.1.27/scripts/dtc/
Ddtc-parser.tab.h_shipped46 /* Put the tokens into the symbol table, so that GDB and other debuggers
Ddtc-parser.tab.c_shipped119 /* Put the tokens into the symbol table, so that GDB and other debuggers
1092 /* Number of reported tokens (one for the "unexpected", one per
1104 tokens because there are none.
1288 /* Number of tokens to shift before error messages enabled. */
1469 /* Count tokens shifted since error; after three, turn off error
Ddtc-lexer.lex.c_shipped249 * still have a bunch of tokens to match, though, because of
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-d3.h415 u8 tokens[IWL_WOWLAN_REMOTE_WAKE_MAX_TOKENS]; member
Dd3.c568 memcpy(cfg->tokens, tcp->payload_tok.token_stream, in iwl_mvm_send_remote_wake_cfg()
/linux-4.1.27/security/smack/
Dsmackfs.c418 int import, int tokens) in smk_parse_long_rule() argument
428 for (i = 0; i < tokens; ++i) { in smk_parse_long_rule()
482 int tokens; in smk_write_rules_list() local
528 tokens = (format == SMK_CHANGE_FMT ? 4 : 3); in smk_write_rules_list()
538 rc = smk_parse_long_rule(data + cnt, &rule, 1, tokens); in smk_write_rules_list()
/linux-4.1.27/fs/ecryptfs/
Dmain.c181 static const match_table_t tokens = { variable
294 token = match_token(p, tokens, args); in ecryptfs_parse_options()
/linux-4.1.27/net/9p/
Dtrans_rdma.c156 static match_table_t tokens = { variable
201 token = match_token(p, tokens, args); in parse_opts()
Dtrans_fd.c81 static const match_table_t tokens = { variable
755 token = match_token(p, tokens, args); in parse_opts()
Dclient.c60 static const match_table_t tokens = { variable
149 token = match_token(p, tokens, args); in parse_opts()
/linux-4.1.27/drivers/target/
Dtarget_core_rd.c596 static match_table_t tokens = { variable
620 token = match_token(ptr, tokens, args); in rd_set_configfs_dev_params()
Dtarget_core_iblock.c529 static match_table_t tokens = { variable
555 token = match_token(ptr, tokens, args); in iblock_set_configfs_dev_params()
Dtarget_core_file.c719 static match_table_t tokens = { variable
744 token = match_token(ptr, tokens, args); in fd_set_configfs_dev_params()
Dtarget_core_pscsi.c718 static match_table_t tokens = { variable
745 token = match_token(ptr, tokens, args); in pscsi_set_configfs_dev_params()
Dtarget_core_user.c944 static match_table_t tokens = { variable
970 token = match_token(ptr, tokens, args); in tcmu_set_configfs_dev_params()
Dtarget_core_configfs.c1006 static match_table_t tokens = { variable
1060 token = match_token(ptr, tokens, args); in target_core_dev_pr_store_attr_res_aptpl_metadata()
/linux-4.1.27/fs/qnx6/
Dinode.c226 static const match_table_t tokens = { variable
245 token = match_token(p, tokens, args); in qnx6_parse_options()
/linux-4.1.27/fs/hpfs/
Dsuper.c270 static const match_table_t tokens = { variable
311 token = match_token(p, tokens, args); in parse_opts()
/linux-4.1.27/fs/nilfs2/
Dsuper.c724 static match_table_t tokens = { variable
752 token = match_token(p, tokens, args); in parse_options()
1232 token = match_token(p, tokens, args); in nilfs_identify()
/linux-4.1.27/fs/jfs/
Dsuper.c212 static const match_table_t tokens = { variable
250 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/exofs/
Dsuper.c70 static match_table_t tokens = { variable
100 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/include/uapi/linux/
Dpkt_sched.h375 __u32 tokens; member
/linux-4.1.27/fs/hugetlbfs/
Dinode.c76 static const match_table_t tokens = { variable
775 token = match_token(p, tokens, args); in hugetlbfs_parse_options()
/linux-4.1.27/fs/ufs/
Dsuper.c376 static const match_table_t tokens = { variable
411 token = match_token(p, tokens, args); in ufs_parse_options()
1369 const struct match_token *tp = tokens; in ufs_show_options()
/linux-4.1.27/fs/btrfs/
Dsuper.c331 static match_table_t tokens = { variable
421 token = match_token(p, tokens, args); in btrfs_parse_options()
793 token = match_token(p, tokens, args); in btrfs_parse_early_options()
/linux-4.1.27/fs/fuse/
Dinode.c446 static const match_table_t tokens = { variable
484 token = match_token(p, tokens, args); in parse_fuse_opt()
/linux-4.1.27/fs/isofs/
Dinode.c300 static const match_table_t tokens = { variable
374 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/scripts/kconfig/
Dzconf.tab.c_shipped133 /* Put the tokens into the symbol table, so that GDB and other debuggers
1190 /* Number of reported tokens (one for the "unexpected", one per
1202 tokens because there are none.
1422 /* Number of tokens to shift before error messages enabled. */
1612 /* Count tokens shifted since error; after three, turn off error
Dzconf.lex.c_shipped258 * still have a bunch of tokens to match, though, because of
/linux-4.1.27/drivers/net/wireless/libertas/
DREADME204 line. If dur tokens are absent, the driver default setting will be used.
/linux-4.1.27/fs/gfs2/
Dsuper.c89 static const match_table_t tokens = { variable
153 token = match_token(o, tokens, tmp); in gfs2_mount_args()
/linux-4.1.27/fs/xfs/
Dxfs_super.c129 static const match_table_t tokens = { variable
1187 token = match_token(p, tokens, args); in xfs_fs_remount()
/linux-4.1.27/fs/ext2/
Dsuper.c411 static const match_table_t tokens = { variable
463 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/ubifs/
Dsuper.c931 static const match_table_t tokens = { variable
988 token = match_token(p, tokens, args); in ubifs_parse_options()
/linux-4.1.27/drivers/net/fddi/
Ddefxx.h906 PI_CNTR tokens; member
/linux-4.1.27/fs/udf/
Dsuper.c454 static const match_table_t tokens = { variable
511 token = match_token(p, tokens, args); in udf_parse_options()
/linux-4.1.27/fs/ocfs2/
Dsuper.c198 static const match_table_t tokens = { variable
1305 token = match_token(p, tokens, args); in ocfs2_parse_options()
/linux-4.1.27/fs/ext3/
Dsuper.c843 static const match_table_t tokens = { variable
1013 token = match_token(p, tokens, args); in parse_options()
/linux-4.1.27/fs/ext4/
Dsuper.c1151 static const match_table_t tokens = { variable
1691 token = match_token(p, tokens, args); in parse_options()
1777 for (t = tokens; t->token != Opt_err; t++) in token2str()
/linux-4.1.27/Documentation/security/
Dcredentials.txt202 These are only carried by tasks. They carry and cache security tokens
Dkeys.txt5 This service allows cryptographic keys, authentication tokens, cross-domain
37 tokens, keyrings, etc.. These are represented in the kernel by struct key.
/linux-4.1.27/security/selinux/
Dhooks.c355 static const match_table_t tokens = { variable
928 token = match_token(p, tokens, args); in selinux_parse_opts_str()
/linux-4.1.27/drivers/scsi/
Dqla1280.c4090 enum tokens { enum
/linux-4.1.27/Documentation/filesystems/
Dcoda.txt1498 call is issued when tokens for a user expire or are flushed.
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt87 property data to 4 bytes. Since tokens are