Lines Matching refs:open_flags
135 static void open_filesystem(char *device, int open_flags, blk64_t superblock, in open_filesystem() argument
150 if ((open_flags & EXT2_FLAG_IMAGE_FILE) == 0) { in open_filesystem()
165 open_flags |= EXT2_FLAG_SKIP_MMP | EXT2_FLAG_IGNORE_SB_ERRORS; in open_filesystem()
174 retval = ext2fs_open(device, open_flags, superblock, blocksize, in open_filesystem()
177 !(open_flags & EXT2_FLAG_IGNORE_CSUM_ERRORS)) { in open_filesystem()
178 open_flags |= EXT2_FLAG_IGNORE_CSUM_ERRORS; in open_filesystem()
228 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS; in do_open_filesys() local
236 open_flags |= EXT2_FLAG_IMAGE_FILE; in do_open_filesys()
242 open_flags |= EXT2_FLAG_RW; in do_open_filesys()
246 open_flags |= EXT2_FLAG_FORCE; in do_open_filesys()
249 open_flags |= EXT2_FLAG_EXCLUSIVE; in do_open_filesys()
258 open_flags |= EXT2_FLAG_DIRECT_IO; in do_open_filesys()
284 open_filesystem(argv[optind], open_flags, in do_open_filesys()
2518 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS; in main() local
2571 open_flags |= EXT2_FLAG_IMAGE_FILE; in main()
2574 open_flags |= EXT2_FLAG_IGNORE_CSUM_ERRORS; in main()
2578 open_flags |= EXT2_FLAG_RW; in main()
2582 open_flags |= EXT2_FLAG_DIRECT_IO; in main()
2612 open_filesystem(argv[optind], open_flags, in main()