Lines Matching refs:mmp_fd
43 * mmp_fd <= 0 is OK to validate that the fd is valid. This opens its
47 if (fs->mmp_fd <= 0) {
48 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT);
49 if (fs->mmp_fd < 0) {
56 int align = ext2fs_get_dio_alignment(fs->mmp_fd);
64 if ((blk64_t) ext2fs_llseek(fs->mmp_fd, mmp_blk * fs->blocksize,
71 if (read(fs->mmp_fd, fs->mmp_cmp, fs->blocksize) != fs->blocksize) {
111 /* I was tempted to make this use O_DIRECT and the mmp_fd, but
354 if (fs->mmp_fd > 0) {
355 close(fs->mmp_fd);
356 fs->mmp_fd = -1;