Searched refs:bbits (Results 1 – 3 of 3) sorted by relevance
1685 unsigned int blocksize, bbits; in __block_write_full_page() local1705 bbits = block_size_bits(blocksize); in __block_write_full_page()1707 block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in __block_write_full_page()1708 last_block = (i_size_read(inode) - 1) >> bbits; in __block_write_full_page()1891 unsigned blocksize, bbits; in __block_write_begin() local1901 bbits = block_size_bits(blocksize); in __block_write_begin()1903 block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in __block_write_begin()2164 unsigned int blocksize, bbits; in block_read_full_page() local2170 bbits = block_size_bits(blocksize); in block_read_full_page()2172 iblock = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in block_read_full_page()[all …]
582 static unsigned long long ocfs2_max_file_offset(unsigned int bbits, in ocfs2_max_file_offset() argument615 bytes = 1 << bbits; in ocfs2_max_file_offset()2056 int i, cbits, bbits; in ocfs2_initialize_super() local2081 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()2082 sb->s_maxbytes = ocfs2_max_file_offset(bbits, cbits); in ocfs2_initialize_super()2084 osb->osb_dx_mask = (1 << (cbits - bbits)) - 1; in ocfs2_initialize_super()
909 unsigned bbits; in ext4_block_write_begin() local921 bbits = ilog2(blocksize); in ext4_block_write_begin()922 block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in ext4_block_write_begin()