/external/f2fs-tools/lib/ |
libf2fs_io.c | 90 memcpy(out + (i * F2FS_BLKSIZE), 91 blocks[cur_block], F2FS_BLKSIZE); 93 memset(out + (i * F2FS_BLKSIZE), 0, F2FS_BLKSIZE); 107 blocks[cur_block] = calloc(1, F2FS_BLKSIZE); 111 memcpy(blocks[cur_block], in + (i * F2FS_BLKSIZE), 112 F2FS_BLKSIZE); 126 if (!nr_blocks || len % F2FS_BLKSIZE) 137 buf = calloc(num, F2FS_BLKSIZE); 140 (unsigned long long)num * F2FS_BLKSIZE); [all...] |
libf2fs.c | 531 F2FS_BLKSIZE - offset); 920 c.sectors_per_blk = F2FS_BLKSIZE / c.sector_size; 1061 c.sectors_per_blk = F2FS_BLKSIZE / c.sector_size;
|
/external/f2fs-tools/mkfs/ |
f2fs_format.c | 223 2 * F2FS_BLKSIZE + zone_size_bytes - 1) / 603 cp = calloc(F2FS_BLKSIZE, 1); 609 sum = calloc(F2FS_BLKSIZE, 1); 615 sum_compact = calloc(F2FS_BLKSIZE, 1); 624 F2FS_BLKSIZE - 1); 625 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks); 631 cp_payload = calloc(F2FS_BLKSIZE, 1); 703 if (blk_size_bytes != F2FS_BLKSIZE) { 705 blk_size_bytes, F2FS_BLKSIZE); 931 F2FS_BLKSIZE, cp_seg_blk + i)) [all...] |
f2fs_format_main.c | 177 c.device_size &= (~((u_int64_t)(F2FS_BLKSIZE - 1)));
|
/external/f2fs-tools/fsck/ |
sload.c | 149 de->link = calloc(F2FS_BLKSIZE, 1); 151 ret = readlink(de->full_path, de->link, F2FS_BLKSIZE - 1);
|
mount.c | 622 if (F2FS_BLKSIZE != PAGE_CACHE_SIZE) 626 if (F2FS_BLKSIZE != blocksize) 664 char buf[F2FS_BLKSIZE]; 1050 nat_block = malloc(F2FS_BLKSIZE); 1106 F2FS_BLKSIZE - 1); 1125 8 + F2FS_BLKSIZE - 1); 1132 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks); 1135 nat_block = malloc(F2FS_BLKSIZE); 1182 if (dev_write_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) [all...] |
dump.c | 232 char buf[F2FS_BLKSIZE]; 239 memset(buf, 0, F2FS_BLKSIZE); 247 dev_write_dump(buf, offset, F2FS_BLKSIZE); 287 dump_data_blk(sbi, *ofs * F2FS_BLKSIZE, 387 dump_data_blk(sbi, ofs * F2FS_BLKSIZE, le32_to_cpu(
|
fsck.c | 997 u64 i_size = i_blocks * F2FS_BLKSIZE; [all...] |
f2fs.h | 282 return ((char *)ckpt + F2FS_BLKSIZE);
|
dir.c | 309 if ((__u64)((block + 1) * F2FS_BLKSIZE) > 311 parent->i.i_size = cpu_to_le64((block + 1) * F2FS_BLKSIZE);
|
resize.c | 32 2 * F2FS_BLKSIZE + zone_size_bytes - 1) /
|
/external/f2fs-tools/include/ |
f2fs_fs.h | 548 #define F2FS_BLKSIZE 4096 /* support only 4KB block */ 550 #define F2FS_BLK_ALIGN(x) (((x) + F2FS_BLKSIZE - 1) / F2FS_BLKSIZE) 972 #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\ [all...] |