Lines Matching refs:sbi
257 static int ecryptfs_parse_options(struct ecryptfs_sb_info *sbi, char *options, in ecryptfs_parse_options() argument
270 &sbi->mount_crypt_stat; in ecryptfs_parse_options()
495 struct ecryptfs_sb_info *sbi; in ecryptfs_mount() local
504 sbi = kmem_cache_zalloc(ecryptfs_sb_info_cache, GFP_KERNEL); in ecryptfs_mount()
505 if (!sbi) { in ecryptfs_mount()
510 rc = ecryptfs_parse_options(sbi, raw_data, &check_ruid); in ecryptfs_mount()
515 mount_crypt_stat = &sbi->mount_crypt_stat; in ecryptfs_mount()
523 rc = bdi_setup_and_register(&sbi->bdi, "ecryptfs"); in ecryptfs_mount()
527 ecryptfs_set_superblock_private(s, sbi); in ecryptfs_mount()
528 s->s_bdi = &sbi->bdi; in ecryptfs_mount()
531 sbi = NULL; in ecryptfs_mount()
615 if (sbi) { in ecryptfs_mount()
616 ecryptfs_destroy_mount_crypt_stat(&sbi->mount_crypt_stat); in ecryptfs_mount()
617 kmem_cache_free(ecryptfs_sb_info_cache, sbi); in ecryptfs_mount()