Searched refs:block_bits (Results 1 – 5 of 5) sorted by relevance
272 static size_t iomap_bytes_to_truncate(loff_t end_pos, unsigned block_bits, in iomap_bytes_to_truncate() argument275 unsigned block_size = 1 << block_bits; in iomap_bytes_to_truncate()279 return blocks_truncated << block_bits; in iomap_bytes_to_truncate()281 return ((blocks_truncated - 1) << block_bits) + block_offset; in iomap_bytes_to_truncate()293 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local294 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range()298 unsigned first = poff >> block_bits; in iomap_adjust_read_range()299 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()315 (blocks_skipped << block_bits) - block_offset; in iomap_adjust_read_range()328 block_bits, last - next + 1); in iomap_adjust_read_range()[all …]
556 unsigned short block_bits; member770 ((unsigned int) (KEY_SIZE(&b->key) >> (b)->c->block_bits))773 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
192 return bset_sector_offset(&b->keys, i) >> b->c->block_bits; in bset_block_offset()
1892 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
1572 unsigned int block_bits; in o2hb_region_block_bytes_store() local1578 &block_bits); in o2hb_region_block_bytes_store()1583 reg->hr_block_bits = block_bits; in o2hb_region_block_bytes_store()