Lines Matching defs:opts
177 static struct ntfs_options opts;
3918 ntfs_log_info("Unmounting %s (%s)\n", opts.device,
3936 ntfs_log_perror("Failed to close volume %s", opts.device);
4219 fc = fuse_mount(opts.mnt_point, &margs);
4295 fuse_unmount(opts.mnt_point, ctx->fc);
4316 if (strcmp(opts.arg_device,opts.device))
4318 opts.arg_device,opts.device);
4320 opts.device, (ctx->ro) ? "Read-Only" : "Read-Write",
4323 ntfs_log_info("Cmdline options: %s\n", opts.options ? opts.options : "");
4369 if (ntfs_parse_options(&opts, usage, argc, argv)) {
4379 parsed_options = parse_mount_options(ctx, &opts, FALSE);
4384 if (!ntfs_check_if_mounted(opts.device,&existing_mount)
4393 if (opts.mnt_point[0] == '/')
4394 ctx->abs_mnt_point = strdup(opts.mnt_point);
4398 if ((strlen(opts.mnt_point) < PATH_MAX)
4400 PATH_MAX - strlen(opts.mnt_point) - 1)) {
4402 strcat(ctx->abs_mnt_point, opts.mnt_point);
4405 opts.mnt_point = ctx->abs_mnt_point;
4420 if ((opts.mnt_point[0] == '/')
4421 && !stat(opts.mnt_point,&sbuf)) {
4441 if (stat(opts.device, &sbuf)) {
4442 ntfs_log_perror("Failed to access '%s'", opts.device);
4460 err = ntfs_open(opts.device);
4588 fuse_unmount(opts.mnt_point, ctx->fc);
4591 ntfs_mount_error(opts.device, opts.mnt_point, err);
4604 free(opts.options);
4605 free(opts.device);