Searched refs:mount_crypt_stat (Results 1 - 7 of 7) sorted by relevance

/linux-master/fs/ecryptfs/
H A Dsuper.c104 &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat);
135 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
136 &ecryptfs_superblock_to_private(sb)->mount_crypt_stat;
139 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
141 &mount_crypt_stat->global_auth_tok_list,
148 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
151 mount_crypt_stat->global_default_cipher_name);
153 if (mount_crypt_stat->global_default_cipher_key_size)
155 mount_crypt_stat->global_default_cipher_key_size);
156 if (mount_crypt_stat
[all...]
H A Dmain.c185 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
192 &mount_crypt_stat->global_auth_tok_list,
213 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
215 memset((void *)mount_crypt_stat, 0,
217 INIT_LIST_HEAD(&mount_crypt_stat->global_auth_tok_list);
218 mutex_init(&mount_crypt_stat->global_auth_tok_list_mutex);
219 mount_crypt_stat->flags |= ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED;
254 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
255 &sbi->mount_crypt_stat;
275 ecryptfs_init_mount_crypt_stat(mount_crypt_stat);
184 ecryptfs_init_global_auth_toks( struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
212 ecryptfs_init_mount_crypt_stat( struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
481 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
[all...]
H A Dcrypto.c200 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
204 if (!(mount_crypt_stat->flags & ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED))
206 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
208 &mount_crypt_stat->global_auth_tok_list,
215 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
216 memset(mount_crypt_stat, 0, sizeof(struct ecryptfs_mount_crypt_stat));
651 * @mount_crypt_stat: The mount point's cryptographic context
658 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
660 if (mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED)
662 if (mount_crypt_stat
199 ecryptfs_destroy_mount_crypt_stat( struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
656 ecryptfs_copy_mount_wide_flags_to_inode_flags( struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
675 ecryptfs_copy_mount_wide_sigs_to_inode_sigs( struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
710 ecryptfs_set_default_crypt_stat_vals( struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
747 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
1215 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
1363 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
1432 ecryptfs_encrypt_filename(struct ecryptfs_filename *filename, struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
1864 ecryptfs_encrypt_and_encode_filename( char **encoded_name, size_t *encoded_name_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, const char *name, size_t name_size) argument
1969 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
2029 ecryptfs_set_f_namelen(long *namelen, long lower_namelen, struct ecryptfs_mount_crypt_stat *mount_crypt_stat) argument
[all...]
H A Dkeystore.c487 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)
494 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
496 &mount_crypt_stat->global_auth_tok_list,
533 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
541 * @mount_crypt_stat: inode crypt_stat crypto context
545 * linked off the mount_crypt_stat, so all the auth_toks that can be
557 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
563 mount_crypt_stat, sig);
566 * mount_crypt_stat structure, we prevent to use auth toks that
570 if (mount_crypt_stat
484 ecryptfs_find_global_auth_tok_for_sig( struct key **auth_tok_key, struct ecryptfs_auth_tok **auth_tok, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) argument
554 ecryptfs_find_auth_tok_for_sig( struct key **auth_tok_key, struct ecryptfs_auth_tok **auth_tok, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) argument
619 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *filename, size_t filename_size) argument
892 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *data, size_t max_packet_size) argument
2188 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
2406 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = local
2512 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig, u32 global_auth_tok_flags) argument
[all...]
H A Dinode.c395 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
404 mount_crypt_stat = &ecryptfs_superblock_to_private(
405 ecryptfs_dentry->d_sb)->mount_crypt_stat;
406 if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) {
409 mount_crypt_stat, name, len);
476 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL; local
481 mount_crypt_stat = &ecryptfs_superblock_to_private(
482 dir->i_sb)->mount_crypt_stat;
485 mount_crypt_stat, symname,
922 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
990 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
[all...]
H A Dfile.c149 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; local
154 mount_crypt_stat = &ecryptfs_superblock_to_private(
155 inode->i_sb)->mount_crypt_stat;
168 if (mount_crypt_stat->flags & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED) {
175 if (!(mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED) &&
H A Decryptfs_kernel.h238 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; member in struct:ecryptfs_crypt_stat
282 * these objects hangs off of the mount_crypt_stat struct for any
351 struct ecryptfs_mount_crypt_stat mount_crypt_stat; member in struct:ecryptfs_sb_info
558 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
569 struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
636 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
640 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig);
693 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
698 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
701 struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
[all...]

Completed in 299 milliseconds