Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 50) sorted by relevance

12

/fs/btrfs/
Dstruct-funcs.c47 …_set_token_##name(struct extent_buffer *eb, type *s, u##bits val, struct btrfs_map_token *token); \
49 type *s, struct btrfs_map_token *token) \
60 if (token && token->kaddr && token->offset <= offset && \
61 token->eb == eb && \
62 (token->offset + PAGE_CACHE_SIZE >= offset + mem_len)) { \
63 kaddr = token->kaddr; \
64 p = (type *)(kaddr + part_offset - token->offset); \
78 if (token) { \
79 token->kaddr = kaddr; \
80 token->offset = map_start; \
[all …]
Dctree.c2356 struct btrfs_map_token token; in __push_leaf_right() local
2368 btrfs_init_map_token(&token); in __push_leaf_right()
2447 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
2448 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
2578 struct btrfs_map_token token; in __push_leaf_left() local
2580 btrfs_init_map_token(&token); in __push_leaf_left()
2641 ioff = btrfs_token_item_offset(left, item, &token); in __push_leaf_left()
2644 &token); in __push_leaf_left()
2675 item, &token); in __push_leaf_left()
2676 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_left()
[all …]
Dsuper.c359 int token; in btrfs_parse_options() local
363 token = match_token(p, tokens, args); in btrfs_parse_options()
364 switch (token) { in btrfs_parse_options()
392 if (token == Opt_compress || in btrfs_parse_options()
393 token == Opt_compress_force || in btrfs_parse_options()
611 int token; in btrfs_parse_early_options() local
615 token = match_token(p, tokens, args); in btrfs_parse_early_options()
616 switch (token) { in btrfs_parse_early_options()
/fs/ncpfs/
Dgetopt.c29 char *token; in ncp_getopt() local
33 if ((token = strsep(options, ",")) == NULL) in ncp_getopt()
35 } while (*token == '\0'); in ncp_getopt()
37 *optopt = token; in ncp_getopt()
39 if ((val = strchr (token, '=')) != NULL) { in ncp_getopt()
44 if (!strcmp(opts->name, token)) { in ncp_getopt()
50 caller, token); in ncp_getopt()
61 caller, token, val); in ncp_getopt()
68 caller, val, token); in ncp_getopt()
72 printk(KERN_INFO "%s: Unrecognized mount option %s\n", caller, token); in ncp_getopt()
/fs/hfsplus/
Doptions.c75 int token; in hfsplus_parse_options_remount() local
84 token = match_token(p, tokens, args); in hfsplus_parse_options_remount()
85 switch (token) { in hfsplus_parse_options_remount()
103 int tmp, token; in hfsplus_parse_options() local
112 token = match_token(p, tokens, args); in hfsplus_parse_options()
113 switch (token) { in hfsplus_parse_options()
/fs/ecryptfs/
Dkeystore.c744 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
745 s->auth_tok->token.password.session_key_encryption_key_bytes); in ecryptfs_write_tag_70_packet()
765 s->auth_tok->token.password.session_key_encryption_key_bytes); in ecryptfs_write_tag_70_packet()
842 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
850 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1050 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1058 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1124 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1127 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1314 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
[all …]
Ddebug.c43 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
47 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok()
51 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
/fs/ceph/
Dsuper.c176 int token, intval, ret; in parse_fsopt_token() local
178 token = match_token((char *)c, fsopt_tokens, argstr); in parse_fsopt_token()
179 if (token < 0) in parse_fsopt_token()
182 if (token < Opt_last_int) { in parse_fsopt_token()
189 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
190 } else if (token > Opt_last_int && token < Opt_last_string) { in parse_fsopt_token()
191 dout("got string token %d val %s\n", token, in parse_fsopt_token()
194 dout("got token %d\n", token); in parse_fsopt_token()
197 switch (token) { in parse_fsopt_token()
263 BUG_ON(token); in parse_fsopt_token()
/fs/autofs4/
Ddev-ioctl.c323 autofs_wqt_t token; in autofs_dev_ioctl_ready() local
325 token = (autofs_wqt_t) param->ready.token; in autofs_dev_ioctl_ready()
326 return autofs4_wait_release(sbi, token, 0); in autofs_dev_ioctl_ready()
337 autofs_wqt_t token; in autofs_dev_ioctl_fail() local
340 token = (autofs_wqt_t) param->fail.token; in autofs_dev_ioctl_fail()
342 return autofs4_wait_release(sbi, token, status); in autofs_dev_ioctl_fail()
Dinode.c149 int token; in parse_options() local
153 token = match_token(p, tokens, args); in parse_options()
154 switch (token) { in parse_options()
/fs/proc/
Droot.c60 int token; in proc_parse_options() local
65 token = match_token(p, tokens, args); in proc_parse_options()
66 switch (token) { in proc_parse_options()
/fs/ramfs/
Dinode.c181 int token; in ramfs_parse_options() local
190 token = match_token(p, tokens, args); in ramfs_parse_options()
191 switch (token) { in ramfs_parse_options()
/fs/pstore/
Dinode.c131 int token; in parse_options() local
136 token = match_token(p, tokens, args); in parse_options()
137 switch (token) { in parse_options()
/fs/jffs2/
Dsuper.c195 int token; in jffs2_parse_options() local
200 token = match_token(p, tokens, args); in jffs2_parse_options()
201 switch (token) { in jffs2_parse_options()
/fs/hfs/
Dsuper.c235 int tmp, token; in parse_options() local
254 token = match_token(p, tokens, args); in parse_options()
255 switch (token) { in parse_options()
/fs/9p/
Dv9fs.c137 int token, r; in v9fs_parse_options() local
140 token = match_token(p, tokens, args); in v9fs_parse_options()
141 switch (token) { in v9fs_parse_options()
/fs/ext4/
Dsuper.c1376 int token; member
1450 static int handle_mount_opt(struct super_block *sb, char *opt, int token, in handle_mount_opt() argument
1459 if (token == Opt_usrjquota) in handle_mount_opt()
1461 else if (token == Opt_grpjquota) in handle_mount_opt()
1463 else if (token == Opt_offusrjquota) in handle_mount_opt()
1465 else if (token == Opt_offgrpjquota) in handle_mount_opt()
1470 switch (token) { in handle_mount_opt()
1508 for (m = ext4_mount_opts; m->token != Opt_err; m++) { in handle_mount_opt()
1509 if (token != m->token) in handle_mount_opt()
1517 if (token == Opt_noquota && sb_any_quota_loaded(sb)) { in handle_mount_opt()
[all …]
/fs/ntfs/
Dcompress.c196 int token; /* Loop counter for the eight tokens in tag. */ in ntfs_decompress() local
351 for (token = 0; token < 8; token++, tag >>= 1) { in ntfs_decompress()
/fs/afs/
Dsuper.c141 int token; in afs_parse_options() local
151 token = match_token(p, afs_options_list, args); in afs_parse_options()
152 switch (token) { in afs_parse_options()
/fs/ufs/
Dsuper.c411 int token; in ufs_parse_options() local
415 token = match_token(p, tokens, args); in ufs_parse_options()
416 switch (token) { in ufs_parse_options()
1358 while (tp->token != Opt_onerror_panic && tp->token != mval) in ufs_show_options()
1360 BUG_ON(tp->token == Opt_onerror_panic); in ufs_show_options()
1364 while (tp->token != Opt_err && tp->token != mval) in ufs_show_options()
1366 BUG_ON(tp->token == Opt_err); in ufs_show_options()
/fs/debugfs/
Dinode.c160 int token; in debugfs_parse_options() local
169 token = match_token(p, tokens, args); in debugfs_parse_options()
170 switch (token) { in debugfs_parse_options()
/fs/devpts/
Dinode.c176 int token; in parse_mount_options() local
182 token = match_token(p, tokens, args); in parse_mount_options()
183 switch (token) { in parse_mount_options()
/fs/adfs/
Dsuper.c169 int token; in parse_options() local
173 token = match_token(p, tokens, args); in parse_options()
174 switch (token) { in parse_options()
/fs/nilfs2/
Dsuper.c726 int token; in parse_options() local
730 token = match_token(p, tokens, args); in parse_options()
731 switch (token) { in parse_options()
1213 int token; in nilfs_identify() local
1219 token = match_token(p, tokens, args); in nilfs_identify()
1220 if (token == Opt_snapshot) { in nilfs_identify()
/fs/affs/
Dsuper.c194 int token, n, option; in parse_options() local
198 token = match_token(p, tokens, args); in parse_options()
199 switch (token) { in parse_options()

12