Searched defs:mount_flags (Results 1 - 13 of 13) sorted by relevance

/external/e2fsprogs/misc/
H A De2undo.c128 int mount_flags; local
166 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
173 if (mount_flags & EXT2_MF_MOUNTED) {
H A Dismounted.c78 int *mount_flags)
88 *mount_flags = 0;
144 *mount_flags = MF_MOUNTED;
174 *mount_flags = MF_MOUNTED;
188 int mount_flags = 0; local
191 retval = check_mntent_file("/proc/mounts", file, &mount_flags);
194 if (mount_flags)
197 retval = check_mntent_file("/etc/mtab", file, &mount_flags);
200 return (mount_flags);
77 check_mntent_file(const char *mtab_file, const char *file, int *mount_flags) argument
H A Dutil.c146 int mount_flags; local
148 retval = ext2fs_check_if_mounted(device, &mount_flags);
155 if (mount_flags & EXT2_MF_MOUNTED) {
166 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 Dbadblocks.c923 int mount_flags; local
925 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
932 if (mount_flags & EXT2_MF_MOUNTED) {
944 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) {
H A Dtune2fs.c71 static int max_mount_count, mount_count, mount_flags; variable
371 if ((mount_flags & EXT2_MF_MOUNTED) &&
372 !(mount_flags & EXT2_MF_READONLY)) {
423 if ((mount_flags & EXT2_MF_MOUNTED) &&
424 !(mount_flags & EXT2_MF_READONLY)) {
452 if (mount_flags & EXT2_MF_READONLY)
527 if ((mount_flags & EXT2_MF_MOUNTED) == 0)
1622 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
1769 if (mount_flags & EXT2_MF_MOUNTED) {
/external/e2fsprogs/lib/ext2fs/
H A Dismounted.c44 int *mount_flags, char *mtpt, int mtlen)
54 *mount_flags = 0;
97 *mount_flags = EXT2_MF_MOUNTED;
132 *mount_flags = EXT2_MF_MOUNTED;
137 *mount_flags |= EXT2_MF_READONLY;
151 *mount_flags |= EXT2_MF_ISROOT;
155 *mount_flags |= EXT2_MF_READONLY;
166 static errcode_t check_mntent(const char *file, int *mount_flags, argument
172 retval = check_mntent_file("/tmp/mtab", file, mount_flags,
178 retval = check_mntent_file("/proc/mounts", file, mount_flags,
43 check_mntent_file(const char *mtab_file, const char *file, int *mount_flags, char *mtpt, int mtlen) argument
198 check_getmntinfo(const char *file, int *mount_flags, char *mtpt, int mtlen) argument
301 ext2fs_check_mount_point(const char *device, int *mount_flags, char *mtpt, int mtlen) argument
348 ext2fs_check_if_mounted(const char *file, int *mount_flags) argument
356 int retval, mount_flags; local
[all...]
H A Dmkjournal.c462 int mount_flags, f; local
465 if ((retval = ext2fs_check_mount_point(fs->device_name, &mount_flags,
469 if (mount_flags & EXT2_MF_MOUNTED) {
526 if ((mount_flags & EXT2_MF_BUSY) &&
H A Dnt_io.c995 ext2fs_check_if_mounted(const char *file, int *mount_flags) argument
1000 *mount_flags = 0;
1009 *mount_flags &= _IsMounted(h) ? EXT2_MF_MOUNTED : 0;
/external/e2fsprogs/resize/
H A Dmain.c175 int len, mount_flags; local
245 retval = ext2fs_check_mount_point(device_name, &mount_flags,
253 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0))
305 if (!(mount_flags & EXT2_MF_MOUNTED))
437 if (mount_flags & EXT2_MF_MOUNTED) {
/external/e2fsprogs/e2fsck/
H A Djournal.c928 int group, mount_flags; local
979 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags);
980 if (retval || (mount_flags & EXT2_MF_MOUNTED))
H A De2fsck.h214 int mount_flags; member in struct:e2fsck_struct
/external/strace/
H A Dsystem.c97 static const struct xlat mount_flags[] = { variable in typeref:struct:xlat
155 printflags(mount_flags, tcp->u_arg[3], "MS_???");
1292 static const struct xlat mount_flags[] = { variable in typeref:struct:xlat
1347 printflags(mount_flags, tcp->u_arg[2], "MS_???");
1392 static const struct xlat mount_flags[] = { variable in typeref:struct:xlat
1459 printflags(mount_flags, tcp->u_arg[2], "MS_???");

Completed in 145 milliseconds