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

/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;
H A 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/
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 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 Dtune2fs.c71 static int max_mount_count, mount_count, mount_flags; variable
337 if (mount_flags & EXT2_MF_READONLY)
385 if ((mount_flags & EXT2_MF_MOUNTED) &&
386 !(mount_flags & EXT2_MF_READONLY)) {
437 if ((mount_flags & EXT2_MF_MOUNTED) &&
438 !(mount_flags & EXT2_MF_READONLY)) {
565 if ((mount_flags & EXT2_MF_MOUNTED) == 0)
1672 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
1819 if (mount_flags & EXT2_MF_MOUNTED) {
H A Dbadblocks.c926 int mount_flags; local
928 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
935 if (mount_flags & EXT2_MF_MOUNTED) {
947 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) {
/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))
452 if (mount_flags & EXT2_MF_MOUNTED) {
/external/e2fsprogs/e2fsck/
H A Dunix.c208 &ctx->mount_flags);
221 if ((!(ctx->mount_flags & EXT2_MF_MOUNTED)) ||
222 ((ctx->mount_flags & EXT2_MF_ISROOT) &&
223 (ctx->mount_flags & EXT2_MF_READONLY) &&
1049 if ((ctx->mount_flags & EXT2_MF_MOUNTED) == 0)
1215 if ((ctx->mount_flags & EXT2_MF_MOUNTED) &&
1433 if (ctx->mount_flags & EXT2_MF_ISROOT) {
H A Djournal.c929 int group, mount_flags; local
980 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags);
981 if (retval || (mount_flags & EXT2_MF_MOUNTED))
H A De2fsck.h218 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 263 milliseconds