Home
last modified time | relevance | path

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

/linux/fs/ecryptfs/
H A Dmain.c215 memset((void *)mount_crypt_stat, 0, in ecryptfs_init_mount_crypt_stat()
255 &sbi->mount_crypt_stat; in ecryptfs_parse_options()
307 mount_crypt_stat->flags |= in ecryptfs_parse_options()
311 mount_crypt_stat->flags |= in ecryptfs_parse_options()
315 mount_crypt_stat->flags |= in ecryptfs_parse_options()
317 mount_crypt_stat->flags |= in ecryptfs_parse_options()
325 mount_crypt_stat, in ecryptfs_parse_options()
326 mount_crypt_stat->global_default_fnek_sig, in ecryptfs_parse_options()
335 mount_crypt_stat->flags |= in ecryptfs_parse_options()
358 mount_crypt_stat->flags |= in ecryptfs_parse_options()
[all …]
H A Dsuper.c135 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()
158 if (mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED) in ecryptfs_show_options()
160 if (mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_show_options()
[all …]
H A Dcrypto.c666 if (mount_crypt_stat->flags in ecryptfs_copy_mount_wide_flags_to_inode_flags()
721 crypt_stat->mount_crypt_stat = mount_crypt_stat; in ecryptfs_set_default_crypt_stat_vals()
758 mount_crypt_stat); in ecryptfs_new_file_context()
1220 mount_crypt_stat = in ecryptfs_i_size_init()
1439 if (mount_crypt_stat && (mount_crypt_stat->flags in ecryptfs_encrypt_filename()
1447 mount_crypt_stat, NULL, in ecryptfs_encrypt_filename()
1466 mount_crypt_stat, in ecryptfs_encrypt_filename()
1873 if (mount_crypt_stat && (mount_crypt_stat->flags in ecryptfs_encrypt_and_encode_filename()
1895 if (mount_crypt_stat in ecryptfs_encrypt_and_encode_filename()
1912 if (mount_crypt_stat in ecryptfs_encrypt_and_encode_filename()
[all …]
H A Dkeystore.c498 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
565 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
572 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
637 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
638 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
964 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1886 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2191 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2410 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2428 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
[all …]
H A Decryptfs_kernel.h238 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; member
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);
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);
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()
409 mount_crypt_stat, name, len); in ecryptfs_lookup()
481 mount_crypt_stat = &ecryptfs_superblock_to_private( in ecryptfs_symlink()
482 dir->i_sb)->mount_crypt_stat; in ecryptfs_symlink()
485 mount_crypt_stat, symname, in ecryptfs_symlink()
925 dentry->d_sb)->mount_crypt_stat; in ecryptfs_setattr()
934 if (!(mount_crypt_stat->flags in ecryptfs_setattr()
990 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in 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()