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

/external/e2fsprogs/lib/ext2fs/
H A Ddupfs.c44 fs->mmp_fd = -1;
98 if (src->mmp_fd >= 0) {
99 fs->mmp_fd = dup(src->mmp_fd);
100 if (fs->mmp_fd < 0) {
106 int align = ext2fs_get_dio_alignment(src->mmp_fd);
H A Dmmp.c43 * 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);
[all...]
H A Dtst_fs_struct.c76 check_field(mmp_fd);
H A Dext2fs.h270 int mmp_fd; member in struct:struct_ext2_filsys

Completed in 667 milliseconds