Home
last modified time | relevance | path

Searched refs:F2FS_SUPER_OFFSET (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_overlayfs_mount.cpp177 #define F2FS_SUPER_OFFSET 1024 macro
187 if ((TEMP_FAILURE_RETRY(lseek64(fd, F2FS_SUPER_OFFSET + F2FS_FEATURE_OFFSET, SEEK_SET)) < 0) || in fs_mgr_is_read_only_f2fs()
Dfs_mgr.cpp616 #define F2FS_SUPER_OFFSET 1024 macro
626 if (TEMP_FAILURE_RETRY(pread(fd, &sb1, sizeof(sb1), F2FS_SUPER_OFFSET)) != sizeof(sb1)) { in read_f2fs_superblock()
632 if (TEMP_FAILURE_RETRY(pread(fd, &sb2, sizeof(sb2), getpagesize() + F2FS_SUPER_OFFSET)) != in read_f2fs_superblock()
652 if (TEMP_FAILURE_RETRY(pread(fd, &sb, sizeof(sb), F2FS_SUPER_OFFSET)) != sizeof(sb)) { in fs_mgr_is_f2fs()
656 if (TEMP_FAILURE_RETRY(pread(fd, &sb, sizeof(sb), getpagesize() + F2FS_SUPER_OFFSET)) != in fs_mgr_is_f2fs()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c189 rc = read_structure(fd, F2FS_SUPER_OFFSET, sb, sizeof(*sb)); in read_f2fs_sb()