Searched refs:io_flags (Results 1 – 3 of 3) sorted by relevance
126 unsigned int blocks_per_group, io_flags; in ext2fs_open2() local164 io_flags = 0; in ext2fs_open2()166 io_flags |= IO_FLAG_RW; in ext2fs_open2()168 io_flags |= IO_FLAG_EXCLUSIVE; in ext2fs_open2()170 io_flags |= IO_FLAG_DIRECT_IO; in ext2fs_open2()171 retval = manager->open(fs->device_name, io_flags, &fs->io); in ext2fs_open2()
104 int io_flags; in ext2fs_initialize() local132 io_flags = IO_FLAG_RW; in ext2fs_initialize()134 io_flags |= IO_FLAG_EXCLUSIVE; in ext2fs_initialize()136 io_flags |= IO_FLAG_DIRECT_IO; in ext2fs_initialize()137 io_flags |= O_BINARY; in ext2fs_initialize()138 retval = manager->open(name, io_flags, &fs->io); in ext2fs_initialize()
254 int io_flags = 0; in main() local402 io_flags = EXT2_FLAG_RW | EXT2_FLAG_EXCLUSIVE; in main()404 io_flags |= EXT2_FLAG_64BITS; in main()410 retval = ext2fs_open2(device_name, io_options, io_flags, in main()