Searched refs:mnt_flags (Results 1 - 4 of 4) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dvolume.c1384 static int ntfs_mntent_check(const char *file, unsigned long *mnt_flags) argument
1416 *mnt_flags = NTFS_MF_MOUNTED;
1418 *mnt_flags |= NTFS_MF_ISROOT;
1421 *mnt_flags |= NTFS_MF_READONLY;
1437 * @mnt_flags: pointer into which to return the ntfs mount flags (see volume.h)
1440 * just return 0 and set *@mnt_flags to zero.
1445 * return 0 and set *@mnt_flags to zero.
1447 * If the device @file is found, set the NTFS_MF_MOUNTED flags in *@mnt_flags.
1450 * NTFS_MF_ISROOT in *@mnt_flags.
1453 * NTFS_MF_READONLY flag in *@mnt_flags
1459 ntfs_check_if_mounted(const char *file __attribute__((unused)), unsigned long *mnt_flags) argument
[all...]
H A Dvolume.h85 extern int ntfs_check_if_mounted(const char *file, unsigned long *mnt_flags);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c210 unsigned long mnt_flags = 0; local
232 if (ntfs_check_if_mounted(name, &mnt_flags)) {
241 } else if (mnt_flags & NTFS_MF_MOUNTED) {
H A Dmkntfs.c3099 unsigned long mnt_flags; local
3170 if (ntfs_check_if_mounted(vol->dev->d_name, &mnt_flags)) {
3172 } else if (mnt_flags & NTFS_MF_MOUNTED) {

Completed in 51 milliseconds