Searched refs:F2FS_BLKSIZE_BITS (Results 1 – 7 of 7) sorted by relevance
19 #define F2FS_BLKSIZE_BITS 12 /* bits for F2FS_BLKSIZE */ macro22 #define F2FS_BLK_ALIGN(x) (((x) + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS)28 #define F2FS_BYTES_TO_BLK(bytes) ((bytes) >> F2FS_BLKSIZE_BITS)29 #define F2FS_BLK_TO_BYTES(blk) ((blk) << F2FS_BLKSIZE_BITS)
265 si->base_mem += (NM_I(sbi)->nat_bits_blocks << F2FS_BLKSIZE_BITS); in update_mem_info()
503 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_llseek()2832 ret = __exchange_data_block(src, dst, pos_in >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range()2833 pos_out >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range()2834 len >> F2FS_BLKSIZE_BITS, false); in f2fs_move_file_range()
3131 nm_i->nat_bits_blocks << F2FS_BLKSIZE_BITS, GFP_KERNEL); in __get_nat_bitmaps()3150 memcpy(nm_i->nat_bits + (i << F2FS_BLKSIZE_BITS), in __get_nat_bitmaps()
1535 (i << F2FS_BLKSIZE_BITS), blk + i); in do_checkpoint()
510 start = bio->bi_iter.bi_size >> F2FS_BLKSIZE_BITS; in __submit_bio()1910 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_fiemap()
3290 if (le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE_BITS) { in sanity_check_raw_super()3293 F2FS_BLKSIZE_BITS); in sanity_check_raw_super()