/external/e2fsprogs/lib/ext2fs/ |
H A D | ismounted.c | 81 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 D | mkjournal.c | 499 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 D | nt_io.c | 994 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 D | ext2fs.h | 1326 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 D | ismounted.c | 80 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 D | util.c | 141 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 D | blkid.c | 173 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 D | e2undo.c | 127 int mount_flags; local 166 retval = ext2fs_check_if_mounted(device_name, &mount_flags); 173 if (mount_flags & EXT2_MF_MOUNTED) {
|
H A D | tune2fs.c | 82 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 D | badblocks.c | 981 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 D | e2image.c | 1440 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 D | mount.c | 38 #include "xlat/mount_flags.h" 77 printflags(mount_flags, flags, "MS_???");
|
/external/strace/xlat/ |
H A D | mount_flags.h | 1 /* 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 D | main.c | 184 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 D | unix.c | 232 &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 D | journal.c | 376 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 D | e2fsck.h | 233 int mount_flags; member in struct:e2fsck_struct
|
H A D | util.c | 68 if (ctx->mount_flags & EXT2_MF_ISROOT)
|