Lines Matching defs:opts
138 static struct options opts;
215 opts.inode = -1;
220 if (!opts.device)
221 opts.device = argv[optind - 1];
222 else if (!opts.file)
223 opts.file = argv[optind - 1];
231 opts.encrypt++;
234 opts.force++;
240 if (!opts.keyfile)
241 opts.keyfile = argv[optind - 1];
249 if (opts.inode != -1)
252 else if (utils_parse_size(optarg, &opts.inode, FALSE))
259 opts.quiet++;
266 opts.verbose++;
279 opts.quiet = 0;
282 if (!opts.keyfile) {
285 } else if (opts.device == NULL) {
288 } else if (opts.file == NULL && opts.inode == -1) {
292 } else if (opts.file != NULL && opts.inode != -1) {
297 if (opts.quiet && opts.verbose) {
1563 if (ntfs_pkcs12_load_pfxfile(opts.keyfile, &pfx_buf, &pfx_size)) {
1590 vol = utils_mount_volume(opts.device,
1591 (opts.encrypt ? 0 : NTFS_MNT_RDONLY) |
1592 (opts.force ? NTFS_MNT_RECOVER : 0));
1600 if (opts.inode != -1)
1601 inode = ntfs_inode_open(vol, opts.inode);
1603 inode = ntfs_pathname_to_inode(vol, NULL, opts.file);
1616 if (opts.encrypt)