• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ecryptfs/

Lines Matching defs:mount_crypt_stat

258 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
262 if (!(mount_crypt_stat->flags & ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED))
264 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
266 &mount_crypt_stat->global_auth_tok_list,
269 mount_crypt_stat->num_global_auth_toks--;
275 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
276 memset(mount_crypt_stat, 0, sizeof(struct ecryptfs_mount_crypt_stat));
898 * @mount_crypt_stat: The mount point's cryptographic context
905 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
907 if (mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED)
909 if (mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)
911 if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) {
913 if (mount_crypt_stat->flags
916 else if (mount_crypt_stat->flags
924 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
930 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
933 &mount_crypt_stat->global_auth_tok_list,
945 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
953 * @mount_crypt_stat: The mount point's cryptographic context
959 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
962 mount_crypt_stat);
968 crypt_stat->mount_crypt_stat = mount_crypt_stat;
994 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
996 ecryptfs_dentry->d_sb)->mount_crypt_stat;
1000 ecryptfs_set_default_crypt_stat_vals(crypt_stat, mount_crypt_stat);
1003 mount_crypt_stat);
1005 mount_crypt_stat);
1012 strlen(mount_crypt_stat->global_default_cipher_name);
1014 mount_crypt_stat->global_default_cipher_name,
1018 mount_crypt_stat->global_default_cipher_key_size;
1479 crypt_stat->mount_crypt_stat = &ecryptfs_superblock_to_private(
1480 ecryptfs_dentry->d_sb)->mount_crypt_stat;
1587 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
1589 ecryptfs_dentry->d_sb)->mount_crypt_stat;
1592 mount_crypt_stat);
1624 if (crypt_stat->mount_crypt_stat->flags
1656 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
1663 || (mount_crypt_stat && (mount_crypt_stat->flags
1671 mount_crypt_stat, NULL,
1693 mount_crypt_stat,
2097 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
2106 || (mount_crypt_stat && (mount_crypt_stat->flags
2121 mount_crypt_stat);
2134 || (mount_crypt_stat
2135 && (mount_crypt_stat->flags
2156 || (mount_crypt_stat
2157 && (mount_crypt_stat->flags
2211 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2213 ecryptfs_dir_dentry->d_sb)->mount_crypt_stat;
2219 if ((mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES)
2220 && !(mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)
2244 mount_crypt_stat,