Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dnft_limit.c24 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()
68 limit->tokens = limit->tokens_max = limit->nsecs; in nft_limit_init()
/linux-4.4.14/scripts/
Dasn1_compiler.c352 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-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/mtd/ubi/
Dblock.c113 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local
137 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param()
140 if (tokens[1]) { in ubiblock_set_param()
142 ret = kstrtoint(tokens[0], 10, &param->ubi_num); in ubiblock_set_param()
147 ret = kstrtoint(tokens[1], 10, &param->vol_id); in ubiblock_set_param()
150 strcpy(param->name, tokens[1]); in ubiblock_set_param()
155 strcpy(param->name, tokens[0]); in ubiblock_set_param()
Dbuild.c1386 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local
1416 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse()
1424 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse()
1426 token = tokens[1]; in ubi_mtd_param_parse()
1434 token = tokens[2]; in ubi_mtd_param_parse()
1445 token = tokens[3]; in ubi_mtd_param_parse()
/linux-4.4.14/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.4.14/net/sched/
Dsch_tbf.c111 s64 tokens; /* Current number of B tokens */ member
253 toks += q->tokens; in tbf_dequeue()
264 q->tokens = toks; in tbf_dequeue()
299 q->tokens = q->buffer; in tbf_reset()
419 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()
610 s64 toks = diff + cl->tokens; in htb_accnt_tokens()
618 cl->tokens = toks; in htb_accnt_tokens()
660 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class()
1146 cl->xstats.tokens = PSCHED_NS2TICKS(cl->tokens); in htb_dump_class_stats()
1221 parent->tokens = parent->buffer; in htb_parent_to_leaf()
1453 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
/linux-4.4.14/fs/proc/
Droot.c45 static const match_table_t tokens = { variable
66 token = match_token(p, tokens, args); in proc_parse_options()
/linux-4.4.14/fs/ramfs/
Dinode.c166 static const match_table_t tokens = { variable
188 token = match_token(p, tokens, args); in ramfs_parse_options()
/linux-4.4.14/fs/jffs2/
Dsuper.c172 static const match_table_t tokens = { variable
193 token = match_token(p, tokens, args); in jffs2_parse_options()
/linux-4.4.14/fs/autofs4/
Dinode.c116 static const match_table_t tokens = { variable
153 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/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.4.14/Documentation/powerpc/
Dcxlflash.txt161 There are a few important aspects regarding the "tokens" (context id
164 - These tokens are only valid for the process under which they
169 - These tokens are only valid for the lifetime of the context and
171 destroyed, the tokens are to be considered stale and subsequent
177 - A close on fd2 will invalidate the tokens. This operation is not
254 success, all "tokens" which had been provided to the user from the
/linux-4.4.14/drivers/platform/x86/
Ddell-laptop.c71 struct calling_interface_token tokens[]; member
331 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local
345 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
353 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
354 sizeof(struct calling_interface_token) * tokens); in parse_da_table()
356 da_num_tokens += tokens; in parse_da_table()
/linux-4.4.14/fs/pstore/
Dinode.c243 static const match_table_t tokens = { variable
263 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/hfs/
Dsuper.c200 static const match_table_t tokens = { variable
253 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/9p/
Dv9fs.c66 static const match_table_t tokens = { variable
144 token = match_token(p, tokens, args); in v9fs_parse_options()
/linux-4.4.14/fs/tracefs/
Dinode.c154 static const match_table_t tokens = { variable
180 token = match_token(p, tokens, args); in tracefs_parse_options()
/linux-4.4.14/fs/debugfs/
Dinode.c60 static const match_table_t tokens = { variable
86 token = match_token(p, tokens, args); in debugfs_parse_options()
/linux-4.4.14/scripts/genksyms/
Dparse.tab.h_shipped46 /* 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_shipped146 /* Put the tokens into the symbol table, so that GDB and other debuggers
1249 /* Number of reported tokens (one for the "unexpected", one per
1261 tokens because there are none.
1450 /* Number of tokens to shift before error messages enabled. */
1631 /* Count tokens shifted since error; after three, turn off error
/linux-4.4.14/fs/adfs/
Dsuper.c149 static const match_table_t tokens = { variable
173 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/devpts/
Dinode.c116 static const match_table_t tokens = { variable
188 token = match_token(p, tokens, args); in parse_mount_options()
/linux-4.4.14/drivers/target/
Dtarget_core_rd.c561 static match_table_t tokens = { variable
585 token = match_token(ptr, tokens, args); in rd_set_configfs_dev_params()
Dtarget_core_file.c607 static match_table_t tokens = { variable
632 token = match_token(ptr, tokens, args); in fd_set_configfs_dev_params()
Dtarget_core_iblock.c489 static match_table_t tokens = { variable
515 token = match_token(ptr, tokens, args); in iblock_set_configfs_dev_params()
Dtarget_core_pscsi.c723 static match_table_t tokens = { variable
750 token = match_token(ptr, tokens, args); in pscsi_set_configfs_dev_params()
Dtarget_core_user.c991 static match_table_t tokens = { variable
1017 token = match_token(ptr, tokens, args); in tcmu_set_configfs_dev_params()
Dtarget_core_configfs.c1462 static match_table_t tokens = { variable
1515 token = match_token(ptr, tokens, args); in target_pr_res_aptpl_metadata_store()
/linux-4.4.14/fs/omfs/
Dinode.c366 static const match_table_t tokens = { variable
389 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/affs/
Dsuper.c170 static const match_table_t tokens = { variable
215 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/security/keys/
DKconfig9 This option provides support for retaining authentication tokens and
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-d3.h420 u8 tokens[IWL_WOWLAN_REMOTE_WAKE_MAX_TOKENS]; member
Dd3.c562 memcpy(cfg->tokens, tcp->payload_tok.token_stream, in iwl_mvm_send_remote_wake_cfg()
/linux-4.4.14/fs/ecryptfs/
Dmain.c181 static const match_table_t tokens = { variable
294 token = match_token(p, tokens, args); in ecryptfs_parse_options()
/linux-4.4.14/net/9p/
Dtrans_rdma.c154 static match_table_t tokens = { variable
199 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.4.14/fs/qnx6/
Dinode.c226 static const match_table_t tokens = { variable
245 token = match_token(p, tokens, args); in qnx6_parse_options()
/linux-4.4.14/fs/hpfs/
Dsuper.c297 static const match_table_t tokens = { variable
338 token = match_token(p, tokens, args); in parse_opts()
/linux-4.4.14/fs/nilfs2/
Dsuper.c727 static match_table_t tokens = { variable
755 token = match_token(p, tokens, args); in parse_options()
1235 token = match_token(p, tokens, args); in nilfs_identify()
/linux-4.4.14/security/smack/
Dsmackfs.c413 int import, int tokens) in smk_parse_long_rule() argument
423 for (i = 0; i < tokens; ++i) { in smk_parse_long_rule()
477 int tokens; in smk_write_rules_list() local
523 tokens = (format == SMK_CHANGE_FMT ? 4 : 3); in smk_write_rules_list()
531 rc = smk_parse_long_rule(data + cnt, &rule, 1, tokens); in smk_write_rules_list()
/linux-4.4.14/fs/jfs/
Dsuper.c212 static const match_table_t tokens = { variable
250 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/exofs/
Dsuper.c70 static match_table_t tokens = { variable
100 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/include/uapi/linux/
Dpkt_sched.h376 __u32 tokens; member
/linux-4.4.14/fs/ufs/
Dsuper.c361 static const match_table_t tokens = { variable
396 token = match_token(p, tokens, args); in ufs_parse_options()
1341 const struct match_token *tp = tokens; in ufs_show_options()
/linux-4.4.14/fs/btrfs/
Dsuper.c312 static match_table_t tokens = { variable
407 token = match_token(p, tokens, args); in btrfs_parse_options()
795 token = match_token(p, tokens, args); in btrfs_parse_early_options()
/linux-4.4.14/fs/fuse/
Dinode.c446 static const match_table_t tokens = { variable
484 token = match_token(p, tokens, args); in parse_fuse_opt()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c77 static const match_table_t tokens = { variable
1042 token = match_token(p, tokens, args); in hugetlbfs_parse_options()
/linux-4.4.14/fs/isofs/
Dinode.c300 static const match_table_t tokens = { variable
374 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/drivers/net/wireless/libertas/
DREADME204 line. If dur tokens are absent, the driver default setting will be used.
/linux-4.4.14/fs/gfs2/
Dsuper.c89 static const match_table_t tokens = { variable
153 token = match_token(o, tokens, tmp); in gfs2_mount_args()
/linux-4.4.14/scripts/kconfig/
Dzconf.tab.c_shipped141 /* Put the tokens into the symbol table, so that GDB and other debuggers
1212 /* Number of reported tokens (one for the "unexpected", one per
1224 tokens because there are none.
1444 /* Number of tokens to shift before error messages enabled. */
1634 /* Count tokens shifted since error; after three, turn off error
Dzconf.lex.c_shipped267 * still have a bunch of tokens to match, though, because of
/linux-4.4.14/fs/ext2/
Dsuper.c414 static const match_table_t tokens = { variable
466 token = match_token(p, tokens, args); in parse_options()
/linux-4.4.14/fs/xfs/
Dxfs_super.c131 static const match_table_t tokens = { variable
1187 token = match_token(p, tokens, args); in xfs_fs_remount()
/linux-4.4.14/scripts/dtc/
Ddtc-parser.tab.c_shipped1055 /* Number of reported tokens (one for the "unexpected", one per
1063 tokens because there are none.
1216 /* Number of tokens to shift before error messages enabled. */
1414 /* Count tokens shifted since error; after three, turn off error
Ddtc-lexer.lex.c_shipped250 * still have a bunch of tokens to match, though, because of
/linux-4.4.14/fs/ubifs/
Dsuper.c935 static const match_table_t tokens = { variable
992 token = match_token(p, tokens, args); in ubifs_parse_options()
/linux-4.4.14/drivers/net/fddi/
Ddefxx.h906 PI_CNTR tokens; member
/linux-4.4.14/fs/udf/
Dsuper.c454 static const match_table_t tokens = { variable
511 token = match_token(p, tokens, args); in udf_parse_options()
/linux-4.4.14/fs/ocfs2/
Dsuper.c199 static const match_table_t tokens = { variable
1307 token = match_token(p, tokens, args); in ocfs2_parse_options()
/linux-4.4.14/fs/ext4/
Dsuper.c1168 static const match_table_t tokens = { variable
1717 token = match_token(p, tokens, args); in parse_options()
1803 for (t = tokens; t->token != Opt_err; t++) in token2str()
/linux-4.4.14/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.4.14/security/selinux/
Dhooks.c367 static const match_table_t tokens = { variable
944 token = match_token(p, tokens, args); in selinux_parse_opts_str()
/linux-4.4.14/drivers/scsi/
Dqla1280.c4090 enum tokens { enum
/linux-4.4.14/Documentation/filesystems/
Dcoda.txt1498 call is issued when tokens for a user expire or are flushed.
/linux-4.4.14/Documentation/devicetree/
Dbooting-without-of.txt87 property data to 4 bytes. Since tokens are