Home
last modified time | relevance | path

Searched refs:F2FS_BLKSIZE_BITS (Results 1 – 4 of 4) sorted by relevance

/external/f2fs-tools/lib/
Dlibf2fs_io.c43 __u64 blk_addr = *offset >> F2FS_BLKSIZE_BITS; in __get_device_fd()
50 c.devices[i].start_blkaddr << F2FS_BLKSIZE_BITS; in __get_device_fd()
148 return dev_write(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_write_block()
183 return dev_fill(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_fill_block()
188 return dev_read(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_read_block()
193 return dev_readahead(blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_reada_block()
Dlibf2fs_zoned.c89 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - 9); in f2fs_get_zone_blocks()
/external/f2fs-tools/fsck/
Dsegment.c87 off_in_block = offset & ((1 << F2FS_BLKSIZE_BITS) - 1); in f2fs_write_block()
88 len_in_block = (1 << F2FS_BLKSIZE_BITS) - off_in_block; in f2fs_write_block()
96 + ((1 << F2FS_BLKSIZE_BITS) - 1)); in f2fs_write_block()
133 if ((count - len_already) > (1 << F2FS_BLKSIZE_BITS)) in f2fs_write_block()
134 len_in_block = 1 << F2FS_BLKSIZE_BITS; in f2fs_write_block()
/external/f2fs-tools/include/
Df2fs_fs.h220 #define F2FS_BYTES_TO_BLK(bytes) ((bytes) >> F2FS_BLKSIZE_BITS)
221 #define F2FS_BLKSIZE_BITS 12 macro