Home
last modified time | relevance | path

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

/linux/fs/ecryptfs/
A Dmain.c215 memset((void *)mount_crypt_stat, 0, in ecryptfs_init_mount_crypt_stat()
255 &sbi->mount_crypt_stat; in ecryptfs_parse_options()
297 mount_crypt_stat-> in ecryptfs_parse_options()
314 mount_crypt_stat->flags |= in ecryptfs_parse_options()
318 mount_crypt_stat->flags |= in ecryptfs_parse_options()
322 mount_crypt_stat->flags |= in ecryptfs_parse_options()
324 mount_crypt_stat->flags |= in ecryptfs_parse_options()
335 mount_crypt_stat, in ecryptfs_parse_options()
345 mount_crypt_stat->flags |= in ecryptfs_parse_options()
372 mount_crypt_stat->flags |= in ecryptfs_parse_options()
[all …]
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 …]
A Dcrypto.c690 if (mount_crypt_stat->flags in ecryptfs_copy_mount_wide_flags_to_inode_flags()
745 crypt_stat->mount_crypt_stat = mount_crypt_stat; in ecryptfs_set_default_crypt_stat_vals()
782 mount_crypt_stat); in ecryptfs_new_file_context()
1244 mount_crypt_stat = in ecryptfs_i_size_init()
1463 if (mount_crypt_stat && (mount_crypt_stat->flags in ecryptfs_encrypt_filename()
1471 mount_crypt_stat, NULL, in ecryptfs_encrypt_filename()
1490 mount_crypt_stat, in ecryptfs_encrypt_filename()
1899 if (mount_crypt_stat && (mount_crypt_stat->flags in ecryptfs_encrypt_and_encode_filename()
1921 if (mount_crypt_stat in ecryptfs_encrypt_and_encode_filename()
1938 if (mount_crypt_stat in ecryptfs_encrypt_and_encode_filename()
[all …]
A Dkeystore.c496 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
563 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
570 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
635 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
636 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
962 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1884 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2189 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2408 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2426 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
[all …]
A Dinode.c385 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in ecryptfs_lookup() local
394 mount_crypt_stat = &ecryptfs_superblock_to_private( in ecryptfs_lookup()
395 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_lookup()
399 mount_crypt_stat, name, len); in ecryptfs_lookup()
471 mount_crypt_stat = &ecryptfs_superblock_to_private( in ecryptfs_symlink()
472 dir->i_sb)->mount_crypt_stat; in ecryptfs_symlink()
475 mount_crypt_stat, symname, in ecryptfs_symlink()
913 dentry->d_sb)->mount_crypt_stat; in ecryptfs_setattr()
922 if (!(mount_crypt_stat->flags in ecryptfs_setattr()
978 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in ecryptfs_getattr_link() local
[all …]
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);
A Dfile.c130 struct ecryptfs_mount_crypt_stat *mount_crypt_stat; in read_or_initialize_metadata() local
135 mount_crypt_stat = &ecryptfs_superblock_to_private( in read_or_initialize_metadata()
136 inode->i_sb)->mount_crypt_stat; in read_or_initialize_metadata()
149 if (mount_crypt_stat->flags & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED) { in read_or_initialize_metadata()
156 if (!(mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED) && in read_or_initialize_metadata()

Completed in 22 milliseconds