Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs_io.c52 __u64 blk_addr = *offset >> F2FS_BLKSIZE_BITS; in __get_device_fd()
59 c.devices[i].start_blkaddr << F2FS_BLKSIZE_BITS; in __get_device_fd()
583 return dev_write(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_write_block()
622 return dev_fill(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_fill_block()
627 return dev_read(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_read_block()
632 return dev_readahead(blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_reada_block()
Dlibf2fs_zoned.c181 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - 9); in f2fs_get_zone_blocks()
347 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
367 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
/external/f2fs-tools/fsck/
Dquotaio_v2.c195 ((filesize + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS < in v2_init_io()
206 filesize = (last_blkofs + 1) << F2FS_BLKSIZE_BITS; in v2_init_io()
Dmount.c667 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
668 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
673 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
674 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
2955 ret = dev_read(buf, src << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
2956 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
2959 ret = dev_write(buf, dst << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
2960 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
Dsegment.c446 offset + (i << F2FS_BLKSIZE_BITS), NEW_ADDR); in f2fs_fix_mutable()
Dfsck.c3074 (20 - F2FS_BLKSIZE_BITS)); in fsck_verify()
/external/f2fs-tools/include/
Df2fs_fs.h343 #define F2FS_BYTES_TO_BLK(bytes) ((bytes) >> F2FS_BLKSIZE_BITS)
344 #define F2FS_BLKSIZE_BITS 12 macro