Home
last modified time | relevance | path

Searched refs:mount_flags (Results 1 – 19 of 19) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dismounted.c44 int *mount_flags, char *mtpt, int mtlen) in check_mntent_file() argument
54 *mount_flags = 0; in check_mntent_file()
97 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file()
132 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file()
137 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file()
151 *mount_flags |= EXT2_MF_ISROOT; in check_mntent_file()
155 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file()
166 static errcode_t check_mntent(const char *file, int *mount_flags, in check_mntent() argument
172 retval = check_mntent_file("/tmp/mtab", file, mount_flags, in check_mntent()
178 retval = check_mntent_file("/proc/mounts", file, mount_flags, in check_mntent()
[all …]
Dmkjournal.c462 int mount_flags, f; in ext2fs_add_journal_inode() local
465 if ((retval = ext2fs_check_mount_point(fs->device_name, &mount_flags, in ext2fs_add_journal_inode()
469 if (mount_flags & EXT2_MF_MOUNTED) { in ext2fs_add_journal_inode()
526 if ((mount_flags & EXT2_MF_BUSY) && in ext2fs_add_journal_inode()
Dnt_io.c995 ext2fs_check_if_mounted(const char *file, int *mount_flags) in ext2fs_check_if_mounted() argument
1000 *mount_flags = 0; in ext2fs_check_if_mounted()
1009 *mount_flags &= _IsMounted(h) ? EXT2_MF_MOUNTED : 0; in ext2fs_check_if_mounted()
Dext2fs.h1048 extern errcode_t ext2fs_check_if_mounted(const char *file, int *mount_flags);
1049 extern errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
/external/e2fsprogs/misc/
Dismounted.c78 int *mount_flags) in check_mntent_file() argument
88 *mount_flags = 0; in check_mntent_file()
144 *mount_flags = MF_MOUNTED; in check_mntent_file()
174 *mount_flags = MF_MOUNTED; in check_mntent_file()
188 int mount_flags = 0; in is_mounted() local
191 retval = check_mntent_file("/proc/mounts", file, &mount_flags); in is_mounted()
194 if (mount_flags) in is_mounted()
197 retval = check_mntent_file("/etc/mtab", file, &mount_flags); in is_mounted()
200 return (mount_flags); in is_mounted()
Dutil.c146 int mount_flags; in check_mount() local
148 retval = ext2fs_check_if_mounted(device, &mount_flags); in check_mount()
155 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount()
166 if (mount_flags & EXT2_MF_BUSY) { in check_mount()
De2undo.c128 int mount_flags; in main() local
166 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main()
173 if (mount_flags & EXT2_MF_MOUNTED) { in main()
Dblkid.c173 int len, mount_flags; in pretty_print_dev() local
204 retval = ext2fs_check_mount_point(devname, &mount_flags, in pretty_print_dev()
207 if (mount_flags & EXT2_MF_MOUNTED) { in pretty_print_dev()
210 } else if (mount_flags & EXT2_MF_BUSY) in pretty_print_dev()
Dtune2fs.c71 static int max_mount_count, mount_count, mount_flags; variable
337 if (mount_flags & EXT2_MF_READONLY) in request_fsck_afterwards()
385 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set()
386 !(mount_flags & EXT2_MF_READONLY)) { in update_feature_set()
437 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set()
438 !(mount_flags & EXT2_MF_READONLY)) { in update_feature_set()
565 if ((mount_flags & EXT2_MF_MOUNTED) == 0) in add_journal()
1672 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main()
1819 if (mount_flags & EXT2_MF_MOUNTED) { in main()
Dbadblocks.c926 int mount_flags; in check_mount() local
928 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in check_mount()
935 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount()
947 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) { in check_mount()
/external/e2fsprogs/resize/
Dmain.c175 int len, mount_flags; in main() local
245 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main()
253 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) in main()
305 if (!(mount_flags & EXT2_MF_MOUNTED)) in main()
452 if (mount_flags & EXT2_MF_MOUNTED) { in main()
/external/e2fsprogs/e2fsck/
Dunix.c208 &ctx->mount_flags); in check_mount()
221 if ((!(ctx->mount_flags & EXT2_MF_MOUNTED)) || in check_mount()
222 ((ctx->mount_flags & EXT2_MF_ISROOT) && in check_mount()
223 (ctx->mount_flags & EXT2_MF_READONLY) && in check_mount()
1049 if ((ctx->mount_flags & EXT2_MF_MOUNTED) == 0) in main()
1215 if ((ctx->mount_flags & EXT2_MF_MOUNTED) && in main()
1433 if (ctx->mount_flags & EXT2_MF_ISROOT) { in main()
Djournal.c929 int group, mount_flags; in e2fsck_move_ext3_journal() local
980 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags); in e2fsck_move_ext3_journal()
981 if (retval || (mount_flags & EXT2_MF_MOUNTED)) in e2fsck_move_ext3_journal()
De2fsck.h218 int mount_flags; member
/external/strace/
Dsystem.c97 static const struct xlat mount_flags[] = { variable
155 printflags(mount_flags, tcp->u_arg[3], "MS_???"); in sys_mount()
1292 static const struct xlat mount_flags[] = { variable
1347 printflags(mount_flags, tcp->u_arg[2], "MS_???");
1392 static const struct xlat mount_flags[] = { variable
1459 printflags(mount_flags, tcp->u_arg[2], "MS_???");
DChangeLog-CVS1356 [LINUX] (mount_flags): Add them.
1723 [LINUX] (mount_flags): Add it.
2375 [LINUX] (mount_flags): Add them.
5300 (mount_flags, nfs_flags) [SVR4, MIPS]: New objects.
5421 * system.c (mount_flags) [LINUX]: Omit duplicated MS_NOSUID entry.
5501 * system.c [LINUX] (mount_flags): Handle renaming of MS_SYNC to
DChangeLog255 (mount_flags): Add MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION,
/external/chromium_org/chrome/browser/chromeos/login/
Dparallel_authenticator.cc499 int mount_flags = cryptohome::MOUNT_FLAGS_NONE; in Resolve() local
559 mount_flags |= cryptohome::CREATE_IF_MISSING; in Resolve()
566 mount_flags)); in Resolve()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1321 @deftypefun errcode_t ext2fs_check_if_mounted (const char *@var{file}, int *@var{mount_flags})