Home
last modified time | relevance | path

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

/third_party/f2fs-tools/lib/
Dlibf2fs_io.c58 __u64 blk_addr = *offset >> F2FS_BLKSIZE_BITS; in __get_device_fd()
65 c.devices[i].start_blkaddr << F2FS_BLKSIZE_BITS; in __get_device_fd()
602 return dev_write(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_write_block()
641 return dev_fill(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_fill_block()
646 return dev_read(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_read_block()
651 return dev_readahead(blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_reada_block()
Dlibf2fs_zoned.c193 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_get_zone_blocks()
359 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
379 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
/third_party/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()
Dsegment.c446 offset + (i << F2FS_BLKSIZE_BITS), NEW_ADDR); in f2fs_fix_mutable()
502 end_blk = f2fs_max_file_offset(&inode->i) >> F2FS_BLKSIZE_BITS; in update_largest_extent()
Dmount.c663 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
664 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
669 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
670 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
3028 ret = dev_read(buf, src << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
3029 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
3032 ret = dev_write(buf, dst << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
3033 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
Dfsck.c3231 (20 - F2FS_BLKSIZE_BITS)); in fsck_verify()
/third_party/f2fs-tools/include/
Df2fs_fs.h360 #define F2FS_BYTES_TO_BLK(bytes) ((bytes) >> F2FS_BLKSIZE_BITS)
361 #define F2FS_BLKSIZE_BITS 12 macro