Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dismounted.c81 int *mount_flags, char *mtpt, int mtlen) in check_mntent_file() argument
91 *mount_flags = 0; in check_mntent_file()
145 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file()
180 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file()
185 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file()
199 *mount_flags |= EXT2_MF_ISROOT; in check_mntent_file()
203 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file()
214 static errcode_t check_mntent(const char *file, int *mount_flags, in check_mntent() argument
220 retval = check_mntent_file("/tmp/mtab", file, mount_flags, in check_mntent()
226 retval = check_mntent_file("/proc/mounts", file, mount_flags, in check_mntent()
[all …]
Dmkjournal.c499 int mount_flags; in ext2fs_add_journal_inode() local
503 mount_flags = 0; in ext2fs_add_journal_inode()
505 &mount_flags, in ext2fs_add_journal_inode()
509 if (mount_flags & EXT2_MF_MOUNTED) { in ext2fs_add_journal_inode()
577 if ((mount_flags & EXT2_MF_BUSY) && in ext2fs_add_journal_inode()
Dnt_io.c994 ext2fs_check_if_mounted(const char *file, int *mount_flags) in ext2fs_check_if_mounted() argument
999 *mount_flags = 0; in ext2fs_check_if_mounted()
1008 *mount_flags &= _IsMounted(h) ? EXT2_MF_MOUNTED : 0; in ext2fs_check_if_mounted()
Dext2fs.h1326 extern errcode_t ext2fs_check_if_mounted(const char *file, int *mount_flags);
1327 extern errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
/external/e2fsprogs/misc/
Dismounted.c80 int *mount_flags) in check_mntent_file() argument
90 *mount_flags = 0; in check_mntent_file()
146 *mount_flags = MF_MOUNTED; in check_mntent_file()
176 *mount_flags = MF_MOUNTED; in check_mntent_file()
190 int mount_flags = 0; in is_mounted() local
193 retval = check_mntent_file("/proc/mounts", file, &mount_flags); in is_mounted()
196 if (mount_flags) in is_mounted()
199 retval = check_mntent_file("/etc/mtab", file, &mount_flags); in is_mounted()
202 return (mount_flags); in is_mounted()
Dutil.c141 int mount_flags; in check_mount() local
143 retval = ext2fs_check_if_mounted(device, &mount_flags); in check_mount()
150 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount()
161 if (mount_flags & EXT2_MF_BUSY) { in check_mount()
De2undo.c127 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.c82 static int max_mount_count, mount_count, mount_flags; variable
369 if (mount_flags & EXT2_MF_READONLY) in check_fsck_needed()
382 if (mount_flags & EXT2_MF_READONLY) in request_fsck_afterwards()
430 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set()
431 !(mount_flags & EXT2_MF_READONLY)) { in update_feature_set()
457 if ((mount_flags & EXT2_MF_MOUNTED) || in update_feature_set()
458 (mount_flags & EXT2_MF_READONLY)) { in update_feature_set()
485 if (mount_flags & EXT2_MF_READONLY) { in update_feature_set()
549 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set()
550 !(mount_flags & EXT2_MF_READONLY)) { in update_feature_set()
[all …]
Dbadblocks.c981 int mount_flags; in check_mount() local
983 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in check_mount()
990 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount()
1002 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) { in check_mount()
De2image.c1440 int mount_flags = 0; in main() local
1533 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main()
1540 (mount_flags & EXT2_MF_MOUNTED) && in main()
1541 !(mount_flags & EXT2_MF_READONLY)) { in main()
/external/e2fsprogs/resize/
Dmain.c184 int len, mount_flags; in main() local
255 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main()
263 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) in main()
307 if (!(mount_flags & EXT2_MF_MOUNTED)) in main()
442 if (mount_flags & EXT2_MF_MOUNTED) { in main()
/external/strace/xlat/
Dmount_flags.h89 # error static const struct xlat mount_flags in mpers mode
94 const struct xlat mount_flags[] = { variable
DMakemodule.am1 …n xlat/modem_flags.in xlat/modetypes.in xlat/module_init_flags.in xlat/mount_flags.in xlat/move_pa…
2 …ot.h xlat/modem_flags.h xlat/modetypes.h xlat/module_init_flags.h xlat/mount_flags.h xlat/move_pag…
237 $(top_srcdir)/xlat/mount_flags.h: $(top_srcdir)/xlat/mount_flags.in $(top_srcdir)/xlat/gen.sh
/external/e2fsprogs/e2fsck/
Dunix.c232 &ctx->mount_flags); in check_mount()
245 if ((!(ctx->mount_flags & (EXT2_MF_MOUNTED | EXT2_MF_BUSY))) || in check_mount()
246 ((ctx->mount_flags & EXT2_MF_ISROOT) && in check_mount()
247 (ctx->mount_flags & EXT2_MF_READONLY) && in check_mount()
253 (ctx->mount_flags & EXT2_MF_READONLY))) && in check_mount()
257 ctx->mount_flags & EXT2_MF_MOUNTED ? in check_mount()
263 ctx->mount_flags & EXT2_MF_MOUNTED ? "mounted" : "in use"); in check_mount()
264 if (!ctx->interactive || ctx->mount_flags & EXT2_MF_BUSY) in check_mount()
1264 if (!(ctx->mount_flags & EXT2_MF_ISROOT && in main()
1265 ctx->mount_flags & EXT2_MF_READONLY)) in main()
[all …]
Djournal.c376 if (!(ctx->mount_flags & EXT2_MF_ISROOT && in e2fsck_get_journal()
377 ctx->mount_flags & EXT2_MF_READONLY)) in e2fsck_get_journal()
379 if ((ctx->mount_flags & EXT2_MF_READONLY) && in e2fsck_get_journal()
948 int mount_flags; in e2fsck_move_ext3_journal() local
1000 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags); in e2fsck_move_ext3_journal()
1001 if (retval || (mount_flags & EXT2_MF_MOUNTED)) in e2fsck_move_ext3_journal()
De2fsck.h233 int mount_flags; member
Dutil.c68 if (ctx->mount_flags & EXT2_MF_ISROOT) in fatal_error()
/external/strace/
Dmount.c77 printflags(mount_flags, flags, "MS_???"); in SYS_FUNC()
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
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1318 @deftypefun errcode_t ext2fs_check_if_mounted (const char *@var{file}, int *@var{mount_flags})