Lines Matching refs:fctx
3723 struct fuse2fs fctx; in main() local
3729 memset(&fctx, 0, sizeof(fctx)); in main()
3730 fctx.magic = FUSE2FS_MAGIC; in main()
3732 fuse_opt_parse(&args, &fctx, fuse2fs_opts, fuse2fs_opt_proc); in main()
3733 if (fctx.device == NULL) { in main()
3739 if (fctx.ro) in main()
3754 fctx.err_fp = fopen(logfile, "a"); in main()
3755 if (!fctx.err_fp) { in main()
3760 fctx.err_fp = stderr; in main()
3765 "This is dangerous!\n"), fctx.device); in main()
3766 fctx.alloc_all_blocks = 1; in main()
3771 if (!fctx.ro) in main()
3773 err = ext2fs_open2(fctx.device, NULL, flags, 0, 0, unix_io_manager, in main()
3776 printf(_("%s: %s.\n"), fctx.device, error_message(err)); in main()
3777 printf(_("Please run e2fsck -fy %s.\n"), fctx.device); in main()
3780 fctx.fs = global_fs; in main()
3781 global_fs->priv_data = &fctx; in main()
3785 if (!fctx.ro) { in main()
3786 printf(_("%s: recovering journal\n"), fctx.device); in main()
3789 printf(_("%s: %s.\n"), fctx.device, in main()
3792 fctx.device); in main()
3804 if (!fctx.ro) { in main()
3807 fctx.device); in main()
3843 get_random_bytes(&fctx.next_generation, sizeof(unsigned int)); in main()
3849 if (fctx.no_default_opts == 0) in main()
3852 if (fctx.debug) { in main()
3861 pthread_mutex_init(&fctx.bfl, NULL); in main()
3862 fuse_main(args.argc, args.argv, &fs_ops, &fctx); in main()
3863 pthread_mutex_destroy(&fctx.bfl); in main()