Home
last modified time | relevance | path

Searched refs:mount_crypt_stat (Results 1 – 6 of 6) sorted by relevance

/linux/fs/ecryptfs/
H A Dmain.c184 struct ecryptfs_mount_crypt_stat *mount_crypt_stat) in ecryptfs_init_global_auth_toks() argument
191 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_init_global_auth_toks()
212 struct ecryptfs_mount_crypt_stat *mount_crypt_stat) in ecryptfs_init_mount_crypt_stat() argument
214 memset((void *)mount_crypt_stat, 0, in ecryptfs_init_mount_crypt_stat()
216 INIT_LIST_HEAD(&mount_crypt_stat->global_auth_tok_list); in ecryptfs_init_mount_crypt_stat()
217 mutex_init(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_init_mount_crypt_stat()
218 mount_crypt_stat->flags |= ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED; in ecryptfs_init_mount_crypt_stat()
251 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_parse_param() local
252 &sbi->mount_crypt_stat; in ecryptfs_parse_param()
261 rc = ecryptfs_add_global_auth_tok(mount_crypt_stat, in ecryptfs_parse_param()
341 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; ecryptfs_validate_options() local
439 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; ecryptfs_get_tree() local
[all...]
H A Dsuper.c104 &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat); in ecryptfs_statfs()
135 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_show_options() local
136 &ecryptfs_superblock_to_private(sb)->mount_crypt_stat; in ecryptfs_show_options()
139 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_show_options()
141 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_show_options()
148 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_show_options()
151 mount_crypt_stat->global_default_cipher_name); in ecryptfs_show_options()
153 if (mount_crypt_stat->global_default_cipher_key_size) in ecryptfs_show_options()
155 mount_crypt_stat->global_default_cipher_key_size); in ecryptfs_show_options()
156 if (mount_crypt_stat in ecryptfs_show_options()
[all...]
H A Dkeystore.c489 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
496 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
498 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
535 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
543 * @mount_crypt_stat: inode crypt_stat crypto context
547 * linked off the mount_crypt_stat, so all the auth_toks that can be
559 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
565 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
568 * mount_crypt_stat structure, we prevent to use auth toks that in ecryptfs_find_auth_tok_for_sig()
572 if (mount_crypt_stat in ecryptfs_find_auth_tok_for_sig()
623 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) ecryptfs_write_tag_70_packet() argument
896 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) ecryptfs_parse_tag_70_packet() argument
2190 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = write_tag_3_packet() local
2408 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = ecryptfs_generate_key_packet_set() local
2514 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat * mount_crypt_stat,char * sig,u32 global_auth_tok_flags) ecryptfs_add_global_auth_tok() argument
[all...]
H A Decryptfs_kernel.h238 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; member
282 * these objects hangs off of the mount_crypt_stat struct for any
351 struct ecryptfs_mount_crypt_stat mount_crypt_stat; member
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);
692 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
697 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
700 struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
[all...]
H A Dinode.c395 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in ecryptfs_lookup() local
404 mount_crypt_stat = &ecryptfs_superblock_to_private( in ecryptfs_lookup()
405 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_lookup()
406 if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) { in ecryptfs_lookup()
410 mount_crypt_stat, qname.name, len); in ecryptfs_lookup()
478 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL; in ecryptfs_symlink() local
483 mount_crypt_stat = &ecryptfs_superblock_to_private( in ecryptfs_symlink()
484 dir->i_sb)->mount_crypt_stat; in ecryptfs_symlink()
487 mount_crypt_stat, symname, in ecryptfs_symlink()
930 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in ecryptfs_setattr() local
998 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; ecryptfs_getattr_link() local
[all...]
H A Dfile.c149 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in read_or_initialize_metadata() local
154 mount_crypt_stat = &ecryptfs_superblock_to_private( in read_or_initialize_metadata()
155 inode->i_sb)->mount_crypt_stat; in read_or_initialize_metadata()
168 if (mount_crypt_stat->flags & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED) { in read_or_initialize_metadata()
175 if (!(mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED) && in read_or_initialize_metadata()