Searched refs:F2FS_BLKSIZE (Results 1 – 2 of 2) sorted by relevance
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 186 return read_structure(fd, F2FS_BLKSIZE*start_blk, buf, F2FS_BLKSIZE * len); in read_structure_blk() 211 return (unsigned int)(le64_to_cpu(sb.block_count)*F2FS_BLKSIZE/DEFAULT_SECTOR_SIZE); in get_f2fs_filesystem_size_sec() 221 cp_block_1 = malloc(F2FS_BLKSIZE); in validate_checkpoint() 234 cp_block_2 = malloc(F2FS_BLKSIZE); in validate_checkpoint() 329 …if (read_structure(fd, address * F2FS_BLKSIZE, &info->sit_blocks[sit_block], sizeof(struct f2fs_si… in gather_sit_info() 353 char buffer[F2FS_BLKSIZE]; in get_sit_summary() 410 info->block_size = F2FS_BLKSIZE; in generate_f2fs_info() 431 if (read_structure(fd, info->cp_valid_cp_blkaddr * F2FS_BLKSIZE in generate_f2fs_info() 572 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET); in copy_used() 578 ret = write(d->outfd, d->buf, F2FS_BLKSIZE); in copy_used() [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 497 #define F2FS_BLKSIZE 4096 macro 512 if (TEMP_FAILURE_RETRY(pread(fd, &sb2, sizeof(sb2), F2FS_BLKSIZE + F2FS_SUPER_OFFSET)) != in read_f2fs_superblock() 536 if (TEMP_FAILURE_RETRY(pread(fd, &sb, sizeof(sb), F2FS_BLKSIZE + F2FS_SUPER_OFFSET)) != in fs_mgr_is_f2fs()
|