Searched refs:UBIFS_BLOCK_SHIFT (Results 1 – 7 of 7) sorted by relevance
94 #define UBIFS_BLOCK_SHIFT 12 macro
414 free, free >> UBIFS_BLOCK_SHIFT); in ubifs_statfs()419 buf->f_bfree = free >> UBIFS_BLOCK_SHIFT; in ubifs_statfs()421 buf->f_bavail = (free - c->report_rp_size) >> UBIFS_BLOCK_SHIFT; in ubifs_statfs()782 c->block_cnt = tmp64 >> UBIFS_BLOCK_SHIFT; in init_constants_master()2222 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()657 read = (i << UBIFS_BLOCK_SHIFT) + len; in populate_page()
1730 blk = new_size >> UBIFS_BLOCK_SHIFT; in ubifs_jnl_truncate()1811 blk = (new_size >> UBIFS_BLOCK_SHIFT) + (bit ? 1 : 0); in ubifs_jnl_truncate()1815 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)
3538 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()3569 ((loff_t)block) << UBIFS_BLOCK_SHIFT); in dbg_check_inode_size()
2076 blk_offs <<= UBIFS_BLOCK_SHIFT; in check_leaf()