Lines Matching defs:flags
234 ni->flags = si->file_attributes;
353 if (a->flags & ATTR_COMPRESSION_MASK ||
354 a->flags & ATTR_IS_ENCRYPTED) {
492 * @flags: optional mount flags
502 ntfs_mount_flags flags)
544 if (flags & NTFS_MNT_RDONLY)
919 * @flags: optional mount flags
924 * @flags is an optional second parameter. The same flags are used as for
938 ntfs_volume *ntfs_device_mount(struct ntfs_device *dev, ntfs_mount_flags flags)
956 vol = ntfs_volume_startup(dev, flags);
1013 if (mrec->flags & MFT_RECORD_IN_USE) {
1027 if (mrec2->flags & MFT_RECORD_IN_USE) {
1136 * Now load $Volume and set the version information and flags in the
1181 vol->flags = vinf->flags;
1286 if (!(flags & (NTFS_MNT_RDONLY | NTFS_MNT_FORENSIC))) {
1287 if (!(flags & NTFS_MNT_IGNORE_HIBERFILE) &&
1289 if (flags & NTFS_MNT_MAY_RDONLY)
1296 if (!(flags & NTFS_MNT_RECOVER) || (errno == EPERM)) {
1297 if (flags & NTFS_MNT_MAY_RDONLY)
1309 if (!(flags & NTFS_MNT_RDONLY) && !need_fallback_ro) {
1338 * Set appropriate flags for showing NTFS metafiles
1392 * @flags: optional mount flags
1397 * @flags is an optional second parameter. The same flags are used as for
1398 * the mount system call (man 2 mount). Currently only the following flags
1415 ntfs_mount_flags flags __attribute__((unused)))
1426 vol = ntfs_device_mount(dev, flags);
1600 * @mnt_flags: pointer into which to return the ntfs mount flags (see volume.h)
1610 * If the device @file is found, set the NTFS_MF_MOUNTED flags in *@mnt_flags.
1618 * On success return 0 with *@mnt_flags set to the ntfs mount flags.
1729 * ntfs_volume_write_flags - set the flags of an ntfs volume
1730 * @vol: ntfs volume where we set the volume flags
1731 * @flags: new flags
1733 * Set the on-disk volume flags in the mft record of $Volume and
1734 * on volume @vol to @flags.
1738 int ntfs_volume_write_flags(ntfs_volume *vol, const le16 flags)
1780 /* Set the volume flags. */
1781 vol->flags = c->flags = flags & VOLUME_FLAGS_MASK;