HomeSort by relevance Sort by last modified time
    Searched refs:F2FS_BLKSIZE (Results 1 - 10 of 10) sorted by null

  /external/f2fs-tools/lib/
libf2fs_io.c 69 return dev_write(buf, blk_addr * F2FS_BLKSIZE, F2FS_BLKSIZE);
95 return dev_read(buf, blk_addr * F2FS_BLKSIZE, F2FS_BLKSIZE);
100 return dev_read(buf, addr * F2FS_BLKSIZE, nr_blks * F2FS_BLKSIZE);
105 return dev_readahead(blk_addr * F2FS_BLKSIZE, F2FS_BLKSIZE);
  /system/extras/f2fs_utils/
f2fs_utils.c 68 len &= ~((__u64)(F2FS_BLKSIZE - 1));
71 f2fs_sparse_file = sparse_file_new(F2FS_BLKSIZE, len);
f2fs_sparseblock.c 183 return read_structure(fd, F2FS_BLKSIZE*start_blk, buf, F2FS_BLKSIZE * len);
208 return (unsigned int)(le64_to_cpu(sb.block_count)*F2FS_BLKSIZE/DEFAULT_SECTOR_SIZE);
218 cp_block_1 = malloc(F2FS_BLKSIZE);
231 cp_block_2 = malloc(F2FS_BLKSIZE);
330 if (read_structure(fd, address * F2FS_BLKSIZE, &info->sit_blocks[sit_block], sizeof(struct f2fs_sit_block))) {
353 char buffer[F2FS_BLKSIZE];
410 info->block_size = F2FS_BLKSIZE;
431 if (read_structure(fd, info->cp_valid_cp_blkaddr * F2FS_BLKSIZE
573 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET)
    [all...]
f2fs_ioutils.c 137 sparse_file_add_data(f2fs_sparse_file, bi->buf, byte_len, byte_offset/F2FS_BLKSIZE);
180 // return sparse_file_add_fill(f2fs_sparse_file, ((__u8*)(bi->buf))[0], byte_len, byte_offset/F2FS_BLKSIZE);
  /external/f2fs-tools/mkfs/
f2fs_format.c 202 2 * F2FS_BLKSIZE + zone_size_bytes - 1) /
450 cp = calloc(F2FS_BLKSIZE, 1);
456 sum = calloc(F2FS_BLKSIZE, 1);
462 sum_compact = calloc(F2FS_BLKSIZE, 1);
469 cp_payload = calloc(F2FS_BLKSIZE, 1);
706 zero_buff = calloc(F2FS_BLKSIZE, 1);
712 if (dev_write(zero_buff, index * F2FS_BLKSIZE, F2FS_BLKSIZE)) {
730 raw_node = calloc(F2FS_BLKSIZE, 1);
779 if (dev_write(raw_node, main_area_node_seg_blk_offset, F2FS_BLKSIZE)) {
    [all...]
  /external/f2fs-tools/fsck/
dump.c 121 char buf[F2FS_BLKSIZE];
128 memset(buf, 0, F2FS_BLKSIZE);
136 dev_write_dump(buf, offset, F2FS_BLKSIZE);
174 dump_data_blk(*ofs * F2FS_BLKSIZE,
208 dump_data_blk(ofs * F2FS_BLKSIZE,
f2fs.h 227 return ((char *)ckpt + F2FS_BLKSIZE);
mount.c 215 if (F2FS_BLKSIZE != PAGE_CACHE_SIZE) {
220 if (F2FS_BLKSIZE != blocksize) {
248 offset = F2FS_BLKSIZE + F2FS_SUPER_OFFSET;
628 node_blk = malloc(F2FS_BLKSIZE);
    [all...]
fsck.c 1008 ret = dev_write_block(((unsigned char *)ckp) + i * F2FS_BLKSIZE,
  /external/f2fs-tools/include/
f2fs_fs.h 294 #define F2FS_BLKSIZE 4096 /* support only 4KB block */
296 #define F2FS_BLK_ALIGN(x) (((x) + F2FS_BLKSIZE - 1) / F2FS_BLKSIZE)
612 #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\

Completed in 336 milliseconds