Home
last modified time | relevance | path

Searched refs:F2FS_BLKSIZE_BITS (Results 1 – 6 of 6) 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()
587 return dev_write(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_write_block()
619 return dev_fill(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_fill_block()
624 return dev_read(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_read_block()
629 return dev_readahead(blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_reada_block()
Dlibf2fs_zoned.c191 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_get_zone_blocks()
363 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
383 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
/third_party/f2fs-tools/fsck/
Dquotaio_v2.c194 ((filesize + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS < in v2_init_io()
205 filesize = (last_blkofs + 1) << F2FS_BLKSIZE_BITS; in v2_init_io()
Dmount.c728 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
729 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
734 dev_readahead(start_blk << F2FS_BLKSIZE_BITS, in f2fs_ra_meta_pages()
735 len << F2FS_BLKSIZE_BITS); in f2fs_ra_meta_pages()
3093 ret = dev_read(buf, src << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
3094 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
3097 ret = dev_write(buf, dst << F2FS_BLKSIZE_BITS, in duplicate_checkpoint()
3098 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
Dsegment.c459 offset + (i << F2FS_BLKSIZE_BITS), NEW_ADDR); in f2fs_fix_mutable()
515 end_blk = f2fs_max_file_offset(&inode->i) >> F2FS_BLKSIZE_BITS; in update_largest_extent()
/third_party/f2fs-tools/include/
Df2fs_fs.h362 #define F2FS_BYTES_TO_BLK(bytes) ((bytes) >> F2FS_BLKSIZE_BITS)
363 #define F2FS_BLKSIZE_BITS 12 macro