Searched refs:mmp_fd (Results 1 – 4 of 4) sorted by relevance
45 fs->mmp_fd = -1; in ext2fs_dup_handle()99 if (src->mmp_fd >= 0) { in ext2fs_dup_handle()100 fs->mmp_fd = dup(src->mmp_fd); in ext2fs_dup_handle()101 if (fs->mmp_fd < 0) { in ext2fs_dup_handle()107 int align = ext2fs_get_dio_alignment(src->mmp_fd); in ext2fs_dup_handle()
59 if (fs->mmp_fd <= 0) { in ext2fs_mmp_read()60 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT); in ext2fs_mmp_read()61 if (fs->mmp_fd < 0) { in ext2fs_mmp_read()68 int align = ext2fs_get_dio_alignment(fs->mmp_fd); in ext2fs_mmp_read()76 if ((blk64_t) ext2fs_llseek(fs->mmp_fd, mmp_blk * fs->blocksize, in ext2fs_mmp_read()83 if (read(fs->mmp_fd, fs->mmp_cmp, fs->blocksize) != fs->blocksize) { in ext2fs_mmp_read()410 if (fs->mmp_fd > 0) { in ext2fs_mmp_stop()411 close(fs->mmp_fd); in ext2fs_mmp_stop()412 fs->mmp_fd = -1; in ext2fs_mmp_stop()
76 check_field(mmp_fd); in main()
286 int mmp_fd; member