Home
last modified time | relevance | path

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

123

/fs/btrfs/
Dstruct-funcs.c55 struct btrfs_map_token *token) \
67 if (token && token->kaddr && token->offset <= offset && \
68 token->eb == eb && \
69 (token->offset + PAGE_CACHE_SIZE >= offset + size)) { \
70 kaddr = token->kaddr; \
71 p = kaddr + part_offset - token->offset; \
85 if (token) { \
86 token->kaddr = kaddr; \
87 token->offset = map_start; \
88 token->eb = eb; \
[all …]
Dtree-log.c3060 struct btrfs_map_token token; in fill_inode_item() local
3062 btrfs_init_map_token(&token); in fill_inode_item()
3070 btrfs_set_token_inode_generation(leaf, item, 0, &token); in fill_inode_item()
3071 btrfs_set_token_inode_size(leaf, item, 0, &token); in fill_inode_item()
3075 &token); in fill_inode_item()
3076 btrfs_set_token_inode_size(leaf, item, inode->i_size, &token); in fill_inode_item()
3079 btrfs_set_token_inode_uid(leaf, item, i_uid_read(inode), &token); in fill_inode_item()
3080 btrfs_set_token_inode_gid(leaf, item, i_gid_read(inode), &token); in fill_inode_item()
3081 btrfs_set_token_inode_mode(leaf, item, inode->i_mode, &token); in fill_inode_item()
3082 btrfs_set_token_inode_nlink(leaf, item, inode->i_nlink, &token); in fill_inode_item()
[all …]
Dctree.c3363 struct btrfs_map_token token; in leaf_space_used() local
3370 btrfs_init_map_token(&token); in leaf_space_used()
3373 data_len = btrfs_token_item_offset(l, start_item, &token) + in leaf_space_used()
3374 btrfs_token_item_size(l, start_item, &token); in leaf_space_used()
3375 data_len = data_len - btrfs_token_item_offset(l, end_item, &token); in leaf_space_used()
3415 struct btrfs_map_token token; in __push_leaf_right() local
3427 btrfs_init_map_token(&token); in __push_leaf_right()
3505 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
3506 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
3636 struct btrfs_map_token token; in __push_leaf_left() local
[all …]
Dsuper.c399 int token; in btrfs_parse_options() local
403 token = match_token(p, tokens, args); in btrfs_parse_options()
404 switch (token) { in btrfs_parse_options()
441 if (token == Opt_compress || in btrfs_parse_options()
442 token == Opt_compress_force || in btrfs_parse_options()
671 int token; in btrfs_parse_early_options() local
675 token = match_token(p, tokens, args); in btrfs_parse_early_options()
676 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()
1313 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/sdcardfs/
Dmain.c78 int token; in parse_options() local
83 token = match_token(p, sdcardfs_tokens, args); in parse_options()
85 switch (token) { in parse_options()
156 int token; in parse_options_remount() local
161 token = match_token(p, sdcardfs_tokens, args); in parse_options_remount()
163 switch (token) { in parse_options_remount()
/fs/autofs4/
Ddev-ioctl.c309 autofs_wqt_t token; in autofs_dev_ioctl_ready() local
311 token = (autofs_wqt_t) param->ready.token; in autofs_dev_ioctl_ready()
312 return autofs4_wait_release(sbi, token, 0); in autofs_dev_ioctl_ready()
323 autofs_wqt_t token; in autofs_dev_ioctl_fail() local
326 token = (autofs_wqt_t) param->fail.token; in autofs_dev_ioctl_fail()
328 return autofs4_wait_release(sbi, token, status); in autofs_dev_ioctl_fail()
Dinode.c151 int token; in parse_options() local
155 token = match_token(p, tokens, args); in parse_options()
156 switch (token) { in parse_options()
/fs/ceph/
Dsuper.c177 int token, intval, ret; in parse_fsopt_token() local
179 token = match_token((char *)c, fsopt_tokens, argstr); in parse_fsopt_token()
180 if (token < 0) in parse_fsopt_token()
183 if (token < Opt_last_int) { in parse_fsopt_token()
190 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
191 } else if (token > Opt_last_int && token < Opt_last_string) { in parse_fsopt_token()
192 dout("got string token %d val %s\n", token, in parse_fsopt_token()
195 dout("got token %d\n", token); in parse_fsopt_token()
198 switch (token) { in parse_fsopt_token()
264 BUG_ON(token); in parse_fsopt_token()
/fs/proc/
Droot.c61 int token; in proc_parse_options() local
66 token = match_token(p, tokens, args); in proc_parse_options()
67 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/ext4/
Dsuper.c1353 int token; member
1436 static int handle_mount_opt(struct super_block *sb, char *opt, int token, in handle_mount_opt() argument
1447 if (token == Opt_usrjquota) in handle_mount_opt()
1449 else if (token == Opt_grpjquota) in handle_mount_opt()
1451 else if (token == Opt_offusrjquota) in handle_mount_opt()
1453 else if (token == Opt_offgrpjquota) in handle_mount_opt()
1456 switch (token) { in handle_mount_opt()
1474 for (m = ext4_mount_opts; m->token != Opt_err; m++) in handle_mount_opt()
1475 if (token == m->token) in handle_mount_opt()
1478 if (m->token == Opt_err) { in handle_mount_opt()
[all …]
/fs/jffs2/
Dsuper.c188 int token; in jffs2_parse_options() local
193 token = match_token(p, tokens, args); in jffs2_parse_options()
194 switch (token) { in jffs2_parse_options()
/fs/pstore/
Dinode.c233 int token; in parse_options() local
238 token = match_token(p, tokens, args); in parse_options()
239 switch (token) { in parse_options()
/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/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/afs/
Dsuper.c149 int token; in afs_parse_options() local
159 token = match_token(p, afs_options_list, args); in afs_parse_options()
160 switch (token) { in afs_parse_options()
/fs/hfs/
Dsuper.c233 int tmp, token; in parse_options() local
252 token = match_token(p, tokens, args); in parse_options()
253 switch (token) { in parse_options()
/fs/ufs/
Dsuper.c408 int token; in ufs_parse_options() local
412 token = match_token(p, tokens, args); in ufs_parse_options()
413 switch (token) { in ufs_parse_options()
1374 while (tp->token != Opt_onerror_panic && tp->token != mval) in ufs_show_options()
1376 BUG_ON(tp->token == Opt_onerror_panic); in ufs_show_options()
1380 while (tp->token != Opt_err && tp->token != mval) in ufs_show_options()
1382 BUG_ON(tp->token == Opt_err); in ufs_show_options()
/fs/devpts/
Dinode.c178 int token; in parse_mount_options() local
184 token = match_token(p, tokens, args); in parse_mount_options()
185 switch (token) { in parse_mount_options()
/fs/adfs/
Dsuper.c170 int token; in parse_options() local
174 token = match_token(p, tokens, args); in parse_options()
175 switch (token) { in parse_options()
/fs/debugfs/
Dinode.c157 int token; in debugfs_parse_options() local
168 token = match_token(p, tokens, args); in debugfs_parse_options()
169 switch (token) { in debugfs_parse_options()

123