Searched refs:read_structure (Results 1 – 1 of 1) sorted by relevance
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 162 static int read_structure(int fd, unsigned long long start, void *buf, ssize_t len) in read_structure() function 186 return read_structure(fd, F2FS_BLKSIZE*start_blk, buf, F2FS_BLKSIZE * len); in read_structure_blk() 192 rc = read_structure(fd, F2FS_SUPER_OFFSET, sb, sizeof(*sb)); in read_f2fs_sb() 329 …if (read_structure(fd, address * F2FS_BLKSIZE, &info->sit_blocks[sit_block], sizeof(struct f2fs_si… in gather_sit_info() 431 if (read_structure(fd, info->cp_valid_cp_blkaddr * F2FS_BLKSIZE in generate_f2fs_info()
|