Searched refs:F2FS_BLKSIZE (Results 1 - 7 of 7) sorted by relevance

/external/f2fs-tools/lib/
H A Dlibf2fs_io.c51 return dev_write(buf, blk_addr * F2FS_BLKSIZE, F2FS_BLKSIZE);
77 return dev_read(buf, blk_addr * F2FS_BLKSIZE, F2FS_BLKSIZE);
82 return dev_read(buf, addr * F2FS_BLKSIZE, nr_blks * F2FS_BLKSIZE);
/external/f2fs-tools/fsck/
H A Ddump.c120 char buf[F2FS_BLKSIZE];
127 memset(buf, 0, F2FS_BLKSIZE);
135 dev_write_dump(buf, offset, F2FS_BLKSIZE);
173 dump_data_blk(*ofs * F2FS_BLKSIZE,
207 dump_data_blk(ofs * F2FS_BLKSIZE,
H A Df2fs.h220 return ((char *)ckpt + F2FS_BLKSIZE);
H A Dmount.c204 if (F2FS_BLKSIZE != PAGE_CACHE_SIZE) {
209 if (F2FS_BLKSIZE != blocksize) {
233 offset = F2FS_BLKSIZE + F2FS_SUPER_OFFSET;
583 node_blk = malloc(F2FS_BLKSIZE);
H A Dfsck.c938 ret = dev_write_block(((unsigned char *)ckp) + i * F2FS_BLKSIZE,
/external/f2fs-tools/mkfs/
H A Df2fs_format.c139 2 * F2FS_BLKSIZE + zone_size_bytes - 1) /
438 ckp = calloc(F2FS_BLKSIZE, 1);
444 sum = calloc(F2FS_BLKSIZE, 1);
450 cp_payload = calloc(F2FS_BLKSIZE, 1);
679 zero_buff = calloc(F2FS_BLKSIZE, 1);
685 if (dev_write(zero_buff, index * F2FS_BLKSIZE, F2FS_BLKSIZE)) {
702 raw_node = calloc(F2FS_BLKSIZE, 1);
751 if (dev_write(raw_node, main_area_node_seg_blk_offset, F2FS_BLKSIZE)) {
765 if (dev_write(raw_node, main_area_node_seg_blk_offset, F2FS_BLKSIZE)) {
[all...]
/external/f2fs-tools/include/
H A Df2fs_fs.h287 #define F2FS_LOG_SECTORS_PER_BLOCK 3 /* 4KB: F2FS_BLKSIZE */
288 #define F2FS_BLKSIZE 4096 /* support only 4KB block */ macro
290 #define F2FS_BLK_ALIGN(x) (((x) + F2FS_BLKSIZE - 1) / F2FS_BLKSIZE)
603 #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\

Completed in 136 milliseconds