Lines Matching refs:opts
48 } opts;
70 if (opts.probetype == PROBE_READONLY)
100 opts.probetype = PROBE_UNSET;
105 if (!opts.device) {
106 opts.device = ntfs_malloc(PATH_MAX + 1);
107 if (!opts.device)
110 strncpy(opts.device, optarg, PATH_MAX);
111 opts.device[PATH_MAX] = 0;
122 opts.probetype = PROBE_READONLY;
125 opts.probetype = PROBE_READWRITE;
134 if (!opts.device) {
139 if (opts.probetype == PROBE_UNSET) {
158 err = ntfs_open(opts.device);
160 free(opts.device);