Home
last modified time | relevance | path

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

123

/fs/btrfs/
Dstruct-funcs.c43 struct btrfs_map_token *token) \
55 ASSERT(token); \
56 ASSERT(token->eb == eb); \
58 if (token->kaddr && token->offset <= offset && \
59 (token->offset + PAGE_SIZE >= offset + size)) { \
60 kaddr = token->kaddr; \
61 p = kaddr + part_offset - token->offset; \
75 token->kaddr = kaddr; \
76 token->offset = map_start; \
107 struct btrfs_map_token *token) \
[all …]
Dctree.c3589 struct btrfs_map_token token; in leaf_space_used() local
3596 btrfs_init_map_token(&token, l); in leaf_space_used()
3599 data_len = btrfs_token_item_offset(l, start_item, &token) + in leaf_space_used()
3600 btrfs_token_item_size(l, start_item, &token); in leaf_space_used()
3601 data_len = data_len - btrfs_token_item_offset(l, end_item, &token); in leaf_space_used()
3642 struct btrfs_map_token token; in __push_leaf_right() local
3726 btrfs_init_map_token(&token, right); in __push_leaf_right()
3732 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
3733 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
3879 struct btrfs_map_token token; in __push_leaf_left() local
[all …]
Dtree-log.c507 struct btrfs_map_token token; in overwrite_item() local
509 btrfs_init_map_token(&token, dst_eb); in overwrite_item()
511 ino_size, &token); in overwrite_item()
3862 struct btrfs_map_token token; in fill_inode_item() local
3864 btrfs_init_map_token(&token, leaf); in fill_inode_item()
3872 btrfs_set_token_inode_generation(leaf, item, 0, &token); in fill_inode_item()
3873 btrfs_set_token_inode_size(leaf, item, logged_isize, &token); in fill_inode_item()
3877 &token); in fill_inode_item()
3878 btrfs_set_token_inode_size(leaf, item, inode->i_size, &token); in fill_inode_item()
3881 btrfs_set_token_inode_uid(leaf, item, i_uid_read(inode), &token); in fill_inode_item()
[all …]
Dsuper.c455 int token; in btrfs_parse_options() local
459 token = match_token(p, tokens, args); in btrfs_parse_options()
460 switch (token) { in btrfs_parse_options()
520 if (token == Opt_compress || in btrfs_parse_options()
521 token == Opt_compress_force || in btrfs_parse_options()
532 if (token != Opt_compress && in btrfs_parse_options()
533 token != Opt_compress_force) in btrfs_parse_options()
707 if (token == Opt_space_cache || in btrfs_parse_options()
917 int token; in btrfs_parse_device_options() local
922 token = match_token(p, tokens, args); in btrfs_parse_device_options()
[all …]
/fs/orangefs/
Ddir.c16 __u64 token; member
76 op->upcall.req.readdir.token = od->token; in do_readdir()
127 od->token = resp->token; in do_readdir()
297 od->token = ORANGEFS_ITERATE_START; in orangefs_dir_llseek()
343 while (od->token != ORANGEFS_ITERATE_END && in orangefs_dir_iterate()
349 if (od->token == ORANGEFS_ITERATE_END && ctx->pos > od->end) in orangefs_dir_iterate()
360 if (od->token != ORANGEFS_ITERATE_END) { in orangefs_dir_iterate()
378 od->token = ORANGEFS_ITERATE_START; in orangefs_dir_open()
Dxattr.c411 __u64 token = ORANGEFS_ITERATE_START; in orangefs_listxattr() local
435 new_op->upcall.req.listxattr.token = token; in orangefs_listxattr()
509 token = new_op->downcall.resp.listxattr.token; in orangefs_listxattr()
510 if (token != ORANGEFS_ITERATE_END) in orangefs_listxattr()
Dupcall.h71 __u64 token; member
78 __u64 token; member
134 __u64 token; member
Ddowncall.h69 __u64 token; member
131 __u64 token; member
/fs/hfsplus/
Doptions.c76 int token; in hfsplus_parse_options_remount() local
85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount()
86 switch (token) { in hfsplus_parse_options_remount()
104 int tmp, token; in hfsplus_parse_options() local
113 token = match_token(p, tokens, args); in hfsplus_parse_options()
114 switch (token) { in hfsplus_parse_options()
/fs/ecryptfs/
Dkeystore.c760 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
761 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet()
815 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
823 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1031 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1039 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1104 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1107 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1294 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1463 memcpy((*new_auth_tok)->token.password.salt, in parse_tag_3_packet()
[all …]
Ddebug.c29 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
33 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok()
37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
/fs/
Dfs_context.c86 unsigned int token; in vfs_parse_sb_flag() local
93 token = lookup_constant(common_set_sb_flag, key, 0); in vfs_parse_sb_flag()
94 if (token) { in vfs_parse_sb_flag()
95 fc->sb_flags |= token; in vfs_parse_sb_flag()
96 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
100 token = lookup_constant(common_clear_sb_flag, key, 0); in vfs_parse_sb_flag()
101 if (token) { in vfs_parse_sb_flag()
102 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
103 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
/fs/autofs/
Ddev-ioctl.c302 autofs_wqt_t token; in autofs_dev_ioctl_ready() local
304 token = (autofs_wqt_t) param->ready.token; in autofs_dev_ioctl_ready()
305 return autofs_wait_release(sbi, token, 0); in autofs_dev_ioctl_ready()
316 autofs_wqt_t token; in autofs_dev_ioctl_fail() local
319 token = (autofs_wqt_t) param->fail.token; in autofs_dev_ioctl_fail()
321 return autofs_wait_release(sbi, token, status); in autofs_dev_ioctl_fail()
Dinode.c154 int token; in parse_options() local
159 token = match_token(p, tokens, args); in parse_options()
160 switch (token) { in parse_options()
/fs/ceph/
Dsuper.c222 int token, intval, ret; in parse_fsopt_token() local
224 token = match_token((char *)c, fsopt_tokens, argstr); in parse_fsopt_token()
225 if (token < 0) in parse_fsopt_token()
228 if (token < Opt_last_int) { in parse_fsopt_token()
234 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
235 } else if (token > Opt_last_int && token < Opt_last_string) { in parse_fsopt_token()
236 dout("got string token %d val %s\n", token, in parse_fsopt_token()
239 dout("got token %d\n", token); in parse_fsopt_token()
242 switch (token) { in parse_fsopt_token()
407 BUG_ON(token); in parse_fsopt_token()
/fs/ext4/
Dsuper.c1690 int token; member
1818 static int handle_mount_opt(struct super_block *sb, char *opt, int token, in handle_mount_opt() argument
1829 if (token == Opt_usrjquota) in handle_mount_opt()
1831 else if (token == Opt_grpjquota) in handle_mount_opt()
1833 else if (token == Opt_offusrjquota) in handle_mount_opt()
1835 else if (token == Opt_offgrpjquota) in handle_mount_opt()
1838 switch (token) { in handle_mount_opt()
1862 for (m = ext4_mount_opts; m->token != Opt_err; m++) in handle_mount_opt()
1863 if (token == m->token) in handle_mount_opt()
1866 if (m->token == Opt_err) { in handle_mount_opt()
[all …]
/fs/pstore/
Dinode.c237 int token; in parse_options() local
242 token = match_token(p, tokens, args); in parse_options()
243 switch (token) { in parse_options()
/fs/unicode/
Dutf8-core.c157 static const struct match_token token[] = { in utf8_parse_version() local
164 if (match_token(version_string, token, args) != 1) in utf8_parse_version()
/fs/hfs/
Dsuper.c228 int tmp, token; in parse_options() local
247 token = match_token(p, tokens, args); in parse_options()
248 switch (token) { in parse_options()
/fs/ntfs/
Dcompress.c179 int token; /* Loop counter for the eight tokens in tag. */ in ntfs_decompress() local
331 for (token = 0; token < 8; token++, tag >>= 1) { in ntfs_decompress()
/fs/ufs/
Dsuper.c394 int token; in ufs_parse_options() local
398 token = match_token(p, tokens, args); in ufs_parse_options()
399 switch (token) { in ufs_parse_options()
1398 while (tp->token != Opt_onerror_panic && tp->token != mval) in ufs_show_options()
1400 BUG_ON(tp->token == Opt_onerror_panic); in ufs_show_options()
1404 while (tp->token != Opt_err && tp->token != mval) in ufs_show_options()
1406 BUG_ON(tp->token == Opt_err); in ufs_show_options()
/fs/tracefs/
Dinode.c166 int token; in tracefs_parse_options() local
177 token = match_token(p, tokens, args); in tracefs_parse_options()
178 switch (token) { in tracefs_parse_options()
/fs/erofs/
Dsuper.c241 int token; in erofs_parse_options() local
247 token = match_token(p, erofs_tokens, args); in erofs_parse_options()
249 switch (token) { in erofs_parse_options()
/fs/devpts/
Dinode.c269 int token; in parse_mount_options() local
275 token = match_token(p, tokens, args); in parse_mount_options()
276 switch (token) { in parse_mount_options()
/fs/9p/
Dv9fs.c191 int token, r; in v9fs_parse_options() local
194 token = match_token(p, tokens, args); in v9fs_parse_options()
195 switch (token) { in v9fs_parse_options()

123