Searched refs:block_bits (Results 1 – 3 of 3) sorted by relevance
303 static size_t iomap_bytes_to_truncate(loff_t end_pos, unsigned block_bits, in iomap_bytes_to_truncate() argument306 unsigned block_size = 1 << block_bits; in iomap_bytes_to_truncate()310 return blocks_truncated << block_bits; in iomap_bytes_to_truncate()312 return ((blocks_truncated - 1) << block_bits) + block_offset; in iomap_bytes_to_truncate()324 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local325 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range()329 unsigned first = poff >> block_bits; in iomap_adjust_read_range()330 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()346 (blocks_skipped << block_bits) - block_offset; in iomap_adjust_read_range()359 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()