/external/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 96 int *mount_flags, char *mtpt, int mtlen) in check_mntent_file() argument 106 *mount_flags = 0; in check_mntent_file() 161 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file() 196 *mount_flags = EXT2_MF_MOUNTED; in check_mntent_file() 201 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file() 215 *mount_flags |= EXT2_MF_ISROOT; in check_mntent_file() 219 *mount_flags |= EXT2_MF_READONLY; in check_mntent_file() 230 static errcode_t check_mntent(const char *file, int *mount_flags, in check_mntent() argument 236 retval = check_mntent_file("/tmp/mtab", file, mount_flags, in check_mntent() 242 retval = check_mntent_file("/proc/mounts", file, mount_flags, in check_mntent() [all …]
|
D | mkjournal.c | 442 int mount_flags; in ext2fs_add_journal_inode2() local 446 mount_flags = 0; in ext2fs_add_journal_inode2() 448 &mount_flags, in ext2fs_add_journal_inode2() 452 if (mount_flags & EXT2_MF_MOUNTED) { in ext2fs_add_journal_inode2() 522 if ((mount_flags & EXT2_MF_BUSY) && in ext2fs_add_journal_inode2()
|
D | nt_io.c | 993 ext2fs_check_if_mounted(const char *file, int *mount_flags) in ext2fs_check_if_mounted() argument 998 *mount_flags = 0; in ext2fs_check_if_mounted() 1007 *mount_flags &= _IsMounted(h) ? EXT2_MF_MOUNTED : 0; in ext2fs_check_if_mounted()
|
D | ext2fs.h | 1514 extern errcode_t ext2fs_check_if_mounted(const char *file, int *mount_flags); 1515 extern errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
|
/external/e2fsprogs/misc/ |
D | ismounted.c | 81 int *mount_flags) in check_mntent_file() argument 91 *mount_flags = 0; in check_mntent_file() 147 *mount_flags = MF_MOUNTED; in check_mntent_file() 177 *mount_flags = MF_MOUNTED; in check_mntent_file() 191 int mount_flags = 0; in is_mounted() local 194 retval = check_mntent_file("/proc/mounts", file, &mount_flags); in is_mounted() 197 if (mount_flags) in is_mounted() 200 retval = check_mntent_file("/etc/mtab", file, &mount_flags); in is_mounted() 203 return (mount_flags); in is_mounted()
|
D | util.c | 121 int mount_flags; in check_mount() local 123 retval = ext2fs_check_if_mounted(device, &mount_flags); in check_mount() 130 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount() 141 if (mount_flags & EXT2_MF_BUSY) { in check_mount()
|
D | blkid.c | 185 int len, mount_flags; in pretty_print_dev() local 216 retval = ext2fs_check_mount_point(devname, &mount_flags, in pretty_print_dev() 219 if (mount_flags & EXT2_MF_MOUNTED) { in pretty_print_dev() 222 } else if (mount_flags & EXT2_MF_BUSY) in pretty_print_dev()
|
D | tune2fs.c | 85 static int max_mount_count, mount_count, mount_flags; variable 422 if (mount_flags & EXT2_MF_READONLY) in check_fsck_needed() 444 if (mount_flags & EXT2_MF_READONLY) in request_dir_fsck_afterwards() 457 if (mount_flags & EXT2_MF_READONLY) in request_fsck_afterwards() 1023 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set() 1024 !(mount_flags & EXT2_MF_READONLY)) { in update_feature_set() 1062 if ((mount_flags & EXT2_MF_MOUNTED) || in update_feature_set() 1063 (mount_flags & EXT2_MF_READONLY)) { in update_feature_set() 1090 if (mount_flags & EXT2_MF_READONLY) { in update_feature_set() 1154 if ((mount_flags & EXT2_MF_MOUNTED) && in update_feature_set() [all …]
|
D | e2undo.c | 294 int mount_flags, csum_error = 0, io_error = 0; in main() local 425 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main() 432 if (mount_flags & EXT2_MF_MOUNTED) { in main()
|
D | badblocks.c | 988 int mount_flags; in check_mount() local 990 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in check_mount() 997 if (mount_flags & EXT2_MF_MOUNTED) { in check_mount() 1009 if ((mount_flags & EXT2_MF_BUSY) && !exclusive_ok) { in check_mount()
|
D | e2image.c | 1458 int mount_flags = 0; in main() local 1551 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main() 1558 (mount_flags & EXT2_MF_MOUNTED) && in main() 1559 !(mount_flags & EXT2_MF_READONLY)) { in main()
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 182 int mount_flags, int remount_flags, int invalid_flags) in test_unpriv_remount() argument 215 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount() 245 static bool test_unpriv_remount_simple(int mount_flags) in test_unpriv_remount_simple() argument 247 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, 0); in test_unpriv_remount_simple() 250 static bool test_unpriv_remount_atime(int mount_flags, int invalid_flags) in test_unpriv_remount_atime() argument 252 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, in test_unpriv_remount_atime()
|
/external/e2fsprogs/resize/ |
D | main.c | 269 int len, mount_flags; in main() local 349 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main() 357 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) in main() 401 if (!(mount_flags & EXT2_MF_MOUNTED)) in main() 430 if (!force && !(mount_flags & EXT2_MF_MOUNTED)) { in main() 574 if (mount_flags & EXT2_MF_MOUNTED) { in main() 602 if (mount_flags & EXT2_MF_MOUNTED) { in main()
|
/external/strace/xlat/ |
D | mount_flags.h | 92 # error static const struct xlat mount_flags in mpers mode 97 const struct xlat mount_flags[] = { variable
|
D | Makemodule.am | 1 …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… 317 $(top_srcdir)/xlat/mount_flags.h: $(top_srcdir)/xlat/mount_flags.in $(top_srcdir)/xlat/gen.sh
|
/external/e2fsprogs/e2fsck/ |
D | unix.c | 232 &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() 255 if (ctx->mount_flags & EXT2_MF_MOUNTED) in check_mount() 264 if (ctx->mount_flags & EXT2_MF_MOUNTED) in check_mount() 268 if (!ctx->interactive || ctx->mount_flags & EXT2_MF_BUSY) in check_mount() 1425 if (!(ctx->mount_flags & EXT2_MF_ISROOT && in main() 1426 ctx->mount_flags & EXT2_MF_READONLY)) in main() [all …]
|
D | journal.c | 427 if (!(ctx->mount_flags & EXT2_MF_ISROOT && in e2fsck_get_journal() 428 ctx->mount_flags & EXT2_MF_READONLY)) in e2fsck_get_journal() 430 if ((ctx->mount_flags & EXT2_MF_READONLY) && in e2fsck_get_journal() 1035 int mount_flags; in e2fsck_move_ext3_journal() local 1087 retval = ext2fs_check_if_mounted(ctx->filesystem_name, &mount_flags); in e2fsck_move_ext3_journal() 1088 if (retval || (mount_flags & EXT2_MF_MOUNTED)) in e2fsck_move_ext3_journal()
|
D | e2fsck.h | 237 int mount_flags; member
|
D | util.c | 73 if (ctx->mount_flags & EXT2_MF_ISROOT) in fatal_error()
|
D | super.c | 788 (!csum_flag || !(ctx->mount_flags & EXT2_MF_MOUNTED))) { in check_super_block()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 80 const char *mount_flags[] = {"noatime", "relatime", NULL}; in setup() local 90 if (tst_path_has_mnt_flags(cleanup, NULL, mount_flags)) { in setup()
|
/external/strace/ |
D | mount.c | 78 printflags64(mount_flags, flags, "MS_???"); in SYS_FUNC()
|
D | ChangeLog-CVS | 1356 [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
|
D | Makefile | 795 xlat/module_init_flags.in xlat/mount_flags.in \ 937 xlat/modetypes.h xlat/module_init_flags.h xlat/mount_flags.h \ 6255 $(top_srcdir)/xlat/mount_flags.h: $(top_srcdir)/xlat/mount_flags.in $(top_srcdir)/xlat/gen.sh
|
/external/e2fsprogs/doc/ |
D | libext2fs.texinfo | 1318 @deftypefun errcode_t ext2fs_check_if_mounted (const char *@var{file}, int *@var{mount_flags})
|