Searched refs:UBIFS_BLOCK_SHIFT (Results 1 – 7 of 7) sorted by relevance
94 #define UBIFS_BLOCK_SHIFT 12 macro
418 free, free >> UBIFS_BLOCK_SHIFT); in ubifs_statfs()423 buf->f_bfree = free >> UBIFS_BLOCK_SHIFT; in ubifs_statfs()425 buf->f_bavail = (free - c->report_rp_size) >> UBIFS_BLOCK_SHIFT; in ubifs_statfs()786 c->block_cnt = tmp64 >> UBIFS_BLOCK_SHIFT; in init_constants_master()2212 sb->s_blocksize_bits = UBIFS_BLOCK_SHIFT; in ubifs_fill_super()
117 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()664 read = (i << UBIFS_BLOCK_SHIFT) + len; in populate_page()
1591 blk = new_size >> UBIFS_BLOCK_SHIFT; in ubifs_jnl_truncate()1671 blk = (new_size >> UBIFS_BLOCK_SHIFT) + (bit ? 1 : 0); in ubifs_jnl_truncate()1675 blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); in ubifs_jnl_truncate()
48 #define UBIFS_BLOCKS_PER_PAGE_SHIFT (PAGE_SHIFT - UBIFS_BLOCK_SHIFT)
3492 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()3523 ((loff_t)block) << UBIFS_BLOCK_SHIFT); in dbg_check_inode_size()
2071 blk_offs <<= UBIFS_BLOCK_SHIFT; in check_leaf()