• Home
  • Raw
  • Download

Lines Matching refs:rc

109 	int rc;  in ecryptfs_init_lower_file()  local
111 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file()
113 if (rc) { in ecryptfs_init_lower_file()
116 "rc = [%d]\n", path->dentry, path->mnt, rc); in ecryptfs_init_lower_file()
119 return rc; in ecryptfs_init_lower_file()
125 int count, rc = 0; in ecryptfs_get_lower_file() local
131 rc = -EINVAL; in ecryptfs_get_lower_file()
133 rc = ecryptfs_init_lower_file(dentry, in ecryptfs_get_lower_file()
135 if (rc) in ecryptfs_get_lower_file()
139 return rc; in ecryptfs_get_lower_file()
189 int rc = 0; in ecryptfs_init_global_auth_toks() local
194 rc = ecryptfs_keyring_auth_tok_for_sig( in ecryptfs_init_global_auth_toks()
197 if (rc) { in ecryptfs_init_global_auth_toks()
209 return rc; in ecryptfs_init_global_auth_toks()
246 int rc = 0; in ecryptfs_parse_options() local
272 rc = -EINVAL; in ecryptfs_parse_options()
284 rc = ecryptfs_add_global_auth_tok(mount_crypt_stat, in ecryptfs_parse_options()
286 if (rc) { in ecryptfs_parse_options()
288 "global sig; rc = [%d]\n", rc); in ecryptfs_parse_options()
334 rc = ecryptfs_add_global_auth_tok( in ecryptfs_parse_options()
338 if (rc) { in ecryptfs_parse_options()
342 rc); in ecryptfs_parse_options()
386 rc = -EINVAL; in ecryptfs_parse_options()
417 rc = -EINVAL; in ecryptfs_parse_options()
424 rc = ecryptfs_add_new_key_tfm( in ecryptfs_parse_options()
427 if (rc) { in ecryptfs_parse_options()
433 rc); in ecryptfs_parse_options()
434 rc = -EINVAL; in ecryptfs_parse_options()
442 rc = ecryptfs_add_new_key_tfm( in ecryptfs_parse_options()
445 if (rc) { in ecryptfs_parse_options()
451 rc); in ecryptfs_parse_options()
452 rc = -EINVAL; in ecryptfs_parse_options()
458 rc = ecryptfs_init_global_auth_toks(mount_crypt_stat); in ecryptfs_parse_options()
459 if (rc) in ecryptfs_parse_options()
461 "properly register; rc = [%d]\n", rc); in ecryptfs_parse_options()
463 return rc; in ecryptfs_parse_options()
487 int rc; in ecryptfs_mount() local
491 rc = -ENOMEM; in ecryptfs_mount()
496 rc = -EINVAL; in ecryptfs_mount()
501 rc = ecryptfs_parse_options(sbi, raw_data, &check_ruid); in ecryptfs_mount()
502 if (rc) { in ecryptfs_mount()
510 rc = PTR_ERR(s); in ecryptfs_mount()
514 rc = super_setup_bdi(s); in ecryptfs_mount()
515 if (rc) in ecryptfs_mount()
527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
528 if (rc) { in ecryptfs_mount()
533 rc = -EINVAL; in ecryptfs_mount()
541 rc = -EINVAL; in ecryptfs_mount()
547 rc = -EPERM; in ecryptfs_mount()
577 rc = -EINVAL; in ecryptfs_mount()
584 rc = PTR_ERR(inode); in ecryptfs_mount()
590 rc = -ENOMEM; in ecryptfs_mount()
594 rc = -ENOMEM; in ecryptfs_mount()
615 printk(KERN_ERR "%s; rc = [%d]\n", err, rc); in ecryptfs_mount()
616 return ERR_PTR(rc); in ecryptfs_mount()
788 int rc; in do_sysfs_registration() local
793 rc = -ENOMEM; in do_sysfs_registration()
796 rc = sysfs_create_group(ecryptfs_kobj, &attr_group); in do_sysfs_registration()
797 if (rc) { in do_sysfs_registration()
803 return rc; in do_sysfs_registration()
814 int rc; in ecryptfs_init() local
817 rc = -EINVAL; in ecryptfs_init()
827 rc = ecryptfs_init_kmem_caches(); in ecryptfs_init()
828 if (rc) { in ecryptfs_init()
833 rc = do_sysfs_registration(); in ecryptfs_init()
834 if (rc) { in ecryptfs_init()
838 rc = ecryptfs_init_kthread(); in ecryptfs_init()
839 if (rc) { in ecryptfs_init()
841 "rc = [%d]\n", __func__, rc); in ecryptfs_init()
844 rc = ecryptfs_init_messaging(); in ecryptfs_init()
845 if (rc) { in ecryptfs_init()
851 rc = ecryptfs_init_crypto(); in ecryptfs_init()
852 if (rc) { in ecryptfs_init()
854 "rc = [%d]\n", rc); in ecryptfs_init()
857 rc = register_filesystem(&ecryptfs_fs_type); in ecryptfs_init()
858 if (rc) { in ecryptfs_init()
878 return rc; in ecryptfs_init()
883 int rc; in ecryptfs_exit() local
885 rc = ecryptfs_destroy_crypto(); in ecryptfs_exit()
886 if (rc) in ecryptfs_exit()
888 "rc = [%d]\n", rc); in ecryptfs_exit()