Searched refs:mmp_fd (Results 1 – 4 of 4) sorted by relevance
44 fs->mmp_fd = -1; in ext2fs_dup_handle()98 if (src->mmp_fd >= 0) { in ext2fs_dup_handle()99 fs->mmp_fd = dup(src->mmp_fd); in ext2fs_dup_handle()100 if (fs->mmp_fd < 0) { in ext2fs_dup_handle()106 int align = ext2fs_get_dio_alignment(src->mmp_fd); in ext2fs_dup_handle()
47 if (fs->mmp_fd <= 0) { in ext2fs_mmp_read()48 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT); in ext2fs_mmp_read()49 if (fs->mmp_fd < 0) { in ext2fs_mmp_read()56 int align = ext2fs_get_dio_alignment(fs->mmp_fd); in ext2fs_mmp_read()64 if ((blk64_t) ext2fs_llseek(fs->mmp_fd, mmp_blk * fs->blocksize, in ext2fs_mmp_read()71 if (read(fs->mmp_fd, fs->mmp_cmp, fs->blocksize) != fs->blocksize) { in ext2fs_mmp_read()354 if (fs->mmp_fd > 0) { in ext2fs_mmp_stop()355 close(fs->mmp_fd); in ext2fs_mmp_stop()356 fs->mmp_fd = -1; in ext2fs_mmp_stop()
76 check_field(mmp_fd); in main()
270 int mmp_fd; member