Lines Matching defs:opts
61 * @depth: the level of this dir relative to opts.path
84 * the tree is opts.path, but it is not part of the list because
91 * 1. opts.path is /
103 /* The global depth relative to opts.path.
104 * ie: opts.path has depth 0, a sub-dir of opts.path has depth 1
121 } opts;
220 memset(&opts, 0, sizeof(opts));
221 opts.device = NULL;
222 opts.path = "/";
227 if (!opts.device)
228 opts.device = optarg;
233 opts.path = optarg;
236 opts.force++;
248 opts.quiet++;
252 opts.verbose++;
259 opts.dos = 1;
262 opts.lng++;
265 opts.inode++;
268 opts.classify++;
271 opts.all++;
274 opts.system++;
277 opts.recursive++;
289 opts.verbose++;
291 opts.quiet++;
294 if (!opts.system)
295 opts.all++;
298 opts.quiet = 0;
300 if (opts.device == NULL) {
307 if (opts.quiet && opts.verbose) {
366 * For each directory, print its path relative to opts.path. List a directory,
402 base_comp.name = opts.path;
405 printf("%s:\n", opts.path);
454 && (!opts.classify
510 if ((MREF(mref) < FILE_first_user) && (!opts.system))
512 if (name_type == FILE_NAME_POSIX && !opts.all)
515 opts.dos)
518 !opts.dos)
520 if (dt_type == NTFS_DT_DIR && opts.classify)
523 if (dt_type == NTFS_DT_DIR && opts.recursive
540 if (!opts.lng) {
541 if (!opts.inode)
588 if (opts.inode)
653 vol = utils_mount_volume(opts.device, NTFS_MNT_RDONLY |
654 (opts.force ? NTFS_MNT_RECOVER : 0));
660 ni = ntfs_pathname_to_inode(vol, NULL, opts.path);
675 if (opts.recursive)