Searched refs:mount_flags (Results 1 - 18 of 18) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A Dismounted.c81 int *mount_flags, char *mtpt, int mtlen)
91 *mount_flags = 0;
145 *mount_flags = EXT2_MF_MOUNTED;
180 *mount_flags = EXT2_MF_MOUNTED;
185 *mount_flags |= EXT2_MF_READONLY;
199 *mount_flags |= EXT2_MF_ISROOT;
203 *mount_flags |= EXT2_MF_READONLY;
214 static errcode_t check_mntent(const char *file, int *mount_flags, argument
220 retval = check_mntent_file("/tmp/mtab", file, mount_flags,
226 retval = check_mntent_file("/proc/mounts", file, mount_flags,
80 check_mntent_file(const char *mtab_file, const char *file, int *mount_flags, char *mtpt, int mtlen) argument
246 check_getmntinfo(const char *file, int *mount_flags, char *mtpt, int mtlen) argument
349 ext2fs_check_mount_point(const char *device, int *mount_flags, char *mtpt, int mtlen) argument
397 ext2fs_check_if_mounted(const char *file, int *mount_flags) argument
405 int retval, mount_flags; local
[all...]
H A Dmkjournal.c499 int mount_flags; local
503 mount_flags = 0;
505 &mount_flags,
509 if (mount_flags & EXT2_MF_MOUNTED) {
577 if ((mount_flags & EXT2_MF_BUSY) &&
H A Dnt_io.c994 ext2fs_check_if_mounted(const char *file, int *mount_flags) argument
999 *mount_flags = 0;
1008 *mount_flags &= _IsMounted(h) ? EXT2_MF_MOUNTED : 0;
H A 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/
H A Dismounted.c80 int *mount_flags)
90 *mount_flags = 0;
146 *mount_flags = MF_MOUNTED;
176 *mount_flags = MF_MOUNTED;
190 int mount_flags = 0; local
193 retval = check_mntent_file("/proc/mounts", file, &mount_flags);
196 if (mount_flags)
199 retval = check_mntent_file("/etc/mtab", file, &mount_flags);
202 return (mount_flags);
79 check_mntent_file(const char *mtab_file, const char *file, int *mount_flags) argument
H A Dutil.c141 int mount_flags; local
143 retval = ext2fs_check_if_mounted(device, &mount_flags);
150 if (mount_flags & EXT2_MF_MOUNTED) {
161 if (mount_flags & EXT2_MF_BUSY) {
H A Dblkid.c173 int len, mount_flags; local
204 retval = ext2fs_check_mount_point(devname, &mount_flags,
207 if (mount_flags & EXT2_MF_MOUNTED) {
210 } else if (mount_flags & EXT2_MF_BUSY)
H A De2undo.c127 int mount_flags; local
166 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
173 if (mount_flags & EXT2_MF_MOUNTED) {
H A Dtune2fs.c82 static int max_mount_count, mount_count, mount_flags; variable
369 if (mount_flags & EXT2_MF_READONLY)
382 if (mount_flags & EXT2_MF_READONLY)
430 if ((mount_flags & EXT2_MF_MOUNTED) &&
431 !(mount_flags & EXT2_MF_READONLY)) {
457 if ((mount_flags & EXT2_MF_MOUNTED) ||
458 (mount_flags & EXT2_MF_READONLY)) {
485 if (mount_flags & EXT2_MF_READONLY) {
549 if ((mount_flags & EXT2_MF_MOUNTED) &&
550 !(mount_flags
[all...]
H A Dbadblocks.c981 int mount_flags; local
983 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
990 if (mount_flags & EXT2_MF_MOUNTED) {
1002 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) {
H A De2image.c1440 int mount_flags = 0; local
1533 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
1540 (mount_flags & EXT2_MF_MOUNTED) &&
1541 !(mount_flags & EXT2_MF_READONLY)) {
/external/strace/
H A Dmount.c38 #include "xlat/mount_flags.h"
77 printflags(mount_flags, flags, "MS_???");
/external/strace/xlat/
H A Dmount_flags.h1 /* Generated by ./xlat/gen.sh from ./xlat/mount_flags.in; do not edit. */
89 # error static const struct xlat mount_flags in mpers mode
94 const struct xlat mount_flags[] = { variable in typeref:struct:xlat
/external/e2fsprogs/resize/
H A Dmain.c184 int len, mount_flags; local
255 retval = ext2fs_check_mount_point(device_name, &mount_flags,
263 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0))
307 if (!(mount_flags & EXT2_MF_MOUNTED))
442 if (mount_flags & EXT2_MF_MOUNTED) {
/external/e2fsprogs/e2fsck/
H A Dunix.c232 &ctx->mount_flags);
245 if ((!(ctx->mount_flags & (EXT2_MF_MOUNTED | EXT2_MF_BUSY))) ||
246 ((ctx->mount_flags & EXT2_MF_ISROOT) &&
247 (ctx->mount_flags & EXT2_MF_READONLY) &&
253 (ctx->mount_flags & EXT2_MF_READONLY))) &&
257 ctx->mount_flags & EXT2_MF_MOUNTED ?
263 ctx->mount_flags & EXT2_MF_MOUNTED ? "mounted" : "in use");
264 if (!ctx->interactive || ctx->mount_flags & EXT2_MF_BUSY)
1264 if (!(ctx->mount_flags & EXT2_MF_ISROOT &&
1265 ctx->mount_flags
[all...]
H A Djournal.c376 if (!(ctx->mount_flags & EXT2_MF_ISROOT &&
377 ctx->mount_flags & EXT2_MF_READONLY))
379 if ((ctx->mount_flags & EXT2_MF_READONLY) &&
948 int mount_flags; local
1000 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags);
1001 if (retval || (mount_flags & EXT2_MF_MOUNTED))
H A De2fsck.h233 int mount_flags; member in struct:e2fsck_struct
H A Dutil.c68 if (ctx->mount_flags & EXT2_MF_ISROOT)

Completed in 167 milliseconds