Searched refs:mount_crypt_stat (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.10/fs/ecryptfs/ | 
| D | main.c | 185 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)  in ecryptfs_init_global_auth_toks()  argument 192 			    &mount_crypt_stat->global_auth_tok_list,  in ecryptfs_init_global_auth_toks() 213 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)  in ecryptfs_init_mount_crypt_stat()  argument 215 	memset((void *)mount_crypt_stat, 0,  in ecryptfs_init_mount_crypt_stat() 217 	INIT_LIST_HEAD(&mount_crypt_stat->global_auth_tok_list);  in ecryptfs_init_mount_crypt_stat() 218 	mutex_init(&mount_crypt_stat->global_auth_tok_list_mutex);  in ecryptfs_init_mount_crypt_stat() 219 	mount_crypt_stat->flags |= ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED;  in ecryptfs_init_mount_crypt_stat() 254 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat =  in ecryptfs_parse_options()  local 255 		&sbi->mount_crypt_stat;  in ecryptfs_parse_options() 275 	ecryptfs_init_mount_crypt_stat(mount_crypt_stat);  in ecryptfs_parse_options() [all …] 
 | 
| D | super.c | 104 	       &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->flags & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED)  in ecryptfs_show_options() [all …] 
 | 
| D | crypto.c | 200 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)  in ecryptfs_destroy_mount_crypt_stat()  argument 204 	if (!(mount_crypt_stat->flags & ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED))  in ecryptfs_destroy_mount_crypt_stat() 206 	mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);  in ecryptfs_destroy_mount_crypt_stat() 208 				 &mount_crypt_stat->global_auth_tok_list,  in ecryptfs_destroy_mount_crypt_stat() 215 	mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);  in ecryptfs_destroy_mount_crypt_stat() 216 	memset(mount_crypt_stat, 0, sizeof(struct ecryptfs_mount_crypt_stat));  in ecryptfs_destroy_mount_crypt_stat() 687 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)  in ecryptfs_copy_mount_wide_flags_to_inode_flags()  argument 689 	if (mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED)  in ecryptfs_copy_mount_wide_flags_to_inode_flags() 691 	if (mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)  in ecryptfs_copy_mount_wide_flags_to_inode_flags() 693 	if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) {  in ecryptfs_copy_mount_wide_flags_to_inode_flags() [all …] 
 | 
| D | keystore.c | 487 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)  in ecryptfs_find_global_auth_tok_for_sig()  argument 494 	mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);  in ecryptfs_find_global_auth_tok_for_sig() 496 			    &mount_crypt_stat->global_auth_tok_list,  in ecryptfs_find_global_auth_tok_for_sig() 533 	mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);  in ecryptfs_find_global_auth_tok_for_sig() 556 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat,  in ecryptfs_find_auth_tok_for_sig()  argument 562 						   mount_crypt_stat, sig);  in ecryptfs_find_auth_tok_for_sig() 569 		if (mount_crypt_stat->flags  in ecryptfs_find_auth_tok_for_sig() 620 			     struct ecryptfs_mount_crypt_stat *mount_crypt_stat,  in ecryptfs_write_tag_70_packet()  argument 634 		&s->auth_tok, mount_crypt_stat,  in ecryptfs_write_tag_70_packet() 635 		mount_crypt_stat->global_default_fnek_sig);  in ecryptfs_write_tag_70_packet() [all …] 
 | 
| D | inode.c | 387 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat;  in ecryptfs_lookup()  local 396 	mount_crypt_stat = &ecryptfs_superblock_to_private(  in ecryptfs_lookup() 397 				ecryptfs_dentry->d_sb)->mount_crypt_stat;  in ecryptfs_lookup() 398 	if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) {  in ecryptfs_lookup() 401 			mount_crypt_stat, name, len);  in ecryptfs_lookup() 471 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL;  in ecryptfs_symlink()  local 476 	mount_crypt_stat = &ecryptfs_superblock_to_private(  in ecryptfs_symlink() 477 		dir->i_sb)->mount_crypt_stat;  in ecryptfs_symlink() 480 						  mount_crypt_stat, symname,  in ecryptfs_symlink() 906 		struct ecryptfs_mount_crypt_stat *mount_crypt_stat;  in ecryptfs_setattr()  local [all …] 
 | 
| D | ecryptfs_kernel.h | 238 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat;  member 354 	struct ecryptfs_mount_crypt_stat mount_crypt_stat;  member 573 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, 584 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat); 651 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, 655 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig); 708 			     struct ecryptfs_mount_crypt_stat *mount_crypt_stat, 713 			     struct ecryptfs_mount_crypt_stat *mount_crypt_stat, 716 			   struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
  | 
| D | file.c | 130 	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()
  |