• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ecryptfs/

Lines Matching defs:mount_crypt_stat

230 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
236 &mount_crypt_stat->global_auth_tok_list,
256 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
258 memset((void *)mount_crypt_stat, 0,
260 INIT_LIST_HEAD(&mount_crypt_stat->global_auth_tok_list);
261 mutex_init(&mount_crypt_stat->global_auth_tok_list_mutex);
262 mount_crypt_stat->flags |= ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED;
276 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
277 &sbi->mount_crypt_stat;
294 ecryptfs_init_mount_crypt_stat(mount_crypt_stat);
303 rc = ecryptfs_add_global_auth_tok(mount_crypt_stat,
316 mount_crypt_stat->
328 mount_crypt_stat->global_default_cipher_key_size =
333 mount_crypt_stat->flags |=
337 mount_crypt_stat->flags |=
341 mount_crypt_stat->flags |=
343 mount_crypt_stat->flags |=
349 mount_crypt_stat->global_default_fnek_sig;
351 mount_crypt_stat->global_default_fnek_sig[
354 mount_crypt_stat,
355 mount_crypt_stat->global_default_fnek_sig,
360 mount_crypt_stat->global_default_fnek_sig,
364 mount_crypt_stat->flags |=
371 mount_crypt_stat->global_default_fn_cipher_name;
374 mount_crypt_stat->global_default_fn_cipher_name[
383 mount_crypt_stat->global_default_fn_cipher_key_bytes =
388 mount_crypt_stat->flags |= ECRYPTFS_UNLINK_SIGS;
408 strcpy(mount_crypt_stat->global_default_cipher_name,
411 if ((mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES)
413 strcpy(mount_crypt_stat->global_default_fn_cipher_name,
414 mount_crypt_stat->global_default_cipher_name);
416 mount_crypt_stat->global_default_cipher_key_size = 0;
417 if ((mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES)
419 mount_crypt_stat->global_default_fn_cipher_key_bytes =
420 mount_crypt_stat->global_default_cipher_key_size;
422 if (!ecryptfs_tfm_exists(mount_crypt_stat->global_default_cipher_name,
425 NULL, mount_crypt_stat->global_default_cipher_name,
426 mount_crypt_stat->global_default_cipher_key_size);
431 mount_crypt_stat->global_default_cipher_name,
432 mount_crypt_stat->global_default_cipher_key_size,
439 if ((mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES)
441 mount_crypt_stat->global_default_fn_cipher_name, NULL)) {
443 NULL, mount_crypt_stat->global_default_fn_cipher_name,
444 mount_crypt_stat->global_default_fn_cipher_key_bytes);
449 mount_crypt_stat->global_default_fn_cipher_name,
450 mount_crypt_stat->global_default_fn_cipher_key_bytes,
458 rc = ecryptfs_init_global_auth_toks(mount_crypt_stat);
596 ecryptfs_destroy_mount_crypt_stat(&sbi->mount_crypt_stat);
615 ecryptfs_destroy_mount_crypt_stat(&sb_info->mount_crypt_stat);