Home
last modified time | relevance | path

Searched refs:mmp_fd (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Ddupfs.c45 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()
Dmmp.c59 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()
Dtst_fs_struct.c76 check_field(mmp_fd); in main()
Dext2fs.h286 int mmp_fd; member