/fs/btrfs/ |
D | struct-funcs.c | 55 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 …]
|
D | tree-log.c | 3060 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 …]
|
D | ctree.c | 3363 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 …]
|
D | super.c | 399 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/ |
D | getopt.c | 29 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/ |
D | options.c | 75 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/ |
D | keystore.c | 744 (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 …]
|
D | debug.c | 43 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/ |
D | main.c | 78 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/ |
D | dev-ioctl.c | 309 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()
|
D | inode.c | 151 int token; in parse_options() local 155 token = match_token(p, tokens, args); in parse_options() 156 switch (token) { in parse_options()
|
/fs/ceph/ |
D | super.c | 177 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/ |
D | root.c | 61 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/ |
D | inode.c | 181 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/ |
D | super.c | 1353 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/ |
D | super.c | 188 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/ |
D | inode.c | 233 int token; in parse_options() local 238 token = match_token(p, tokens, args); in parse_options() 239 switch (token) { in parse_options()
|
/fs/ntfs/ |
D | compress.c | 196 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/ |
D | v9fs.c | 137 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/ |
D | super.c | 149 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/ |
D | super.c | 233 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/ |
D | super.c | 408 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/ |
D | inode.c | 178 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/ |
D | super.c | 170 int token; in parse_options() local 174 token = match_token(p, tokens, args); in parse_options() 175 switch (token) { in parse_options()
|
/fs/debugfs/ |
D | inode.c | 157 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()
|