Searched refs:block_bits (Results 1 – 14 of 14) sorted by relevance
/linux/fs/bcachefs/ |
H A D | debug.c | 88 sectors = vstruct_blocks(n_ondisk, c->block_bits) << in bch2_btree_verify_replica() 89 c->block_bits; in bch2_btree_verify_replica() 95 sectors = vstruct_blocks(bne, c->block_bits) << in bch2_btree_verify_replica() 96 c->block_bits; in bch2_btree_verify_replica() 249 sectors = vstruct_sectors(n_ondisk, c->block_bits); in bch2_btree_node_ondisk_to_text() 274 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_ondisk_to_text()
|
H A D | btree_cache.h | 109 return btree_sectors(c) >> c->block_bits; in btree_blocks()
|
H A D | btree_io.c | 1082 sectors = vstruct_sectors(b->data, c->block_bits); in bch2_btree_node_read_done() 1116 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_read_done() 1394 offset += vstruct_sectors(bn, c->block_bits); in btree_node_sectors_written() 1399 offset += vstruct_sectors(bne, c->block_bits); in btree_node_sectors_written() 1493 sectors = vstruct_sectors(bn, c->block_bits); in CLOSURE_CALLBACK() 1498 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK() 1515 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK()
|
H A D | journal_io.c | 1048 sectors = vstruct_sectors(j, c->block_bits); in journal_read_bucket() 1336 prt_printf(&buf1, " size %zu", vstruct_sectors(&prev->j, c->block_bits)); in bch2_journal_read() 1483 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in journal_write_alloc() 1716 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in CLOSURE_CALLBACK() 1886 sectors = vstruct_sectors(jset, c->block_bits); in bch2_journal_write_prep()
|
H A D | io_misc.c | 143 unsigned max_sectors = KEY_SIZE_MAX & (~0 << c->block_bits); in bch2_fpunch_at()
|
H A D | journal.c | 269 sectors = vstruct_blocks_plus(buf->data, c->block_bits, in __journal_entry_close() 270 buf->u64s_reserved) << c->block_bits; in __journal_entry_close()
|
H A D | bcachefs.h | 788 unsigned short block_bits; /* ilog2(block_size) */ member
|
H A D | super.c | 863 c->block_bits = ilog2(block_sectors(c)); in bch2_fs_alloc()
|
/linux/drivers/md/bcache/ |
H A D | bcache.h | 557 unsigned short block_bits; member 763 ((unsigned int) (KEY_SIZE(&b->key) >> (b)->c->block_bits)) 766 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
|
H A D | btree.h | 192 return bset_sector_offset(&b->keys, i) >> b->c->block_bits; in bset_block_offset()
|
H A D | journal.c | 687 c->journal.blocks_free = ca->sb.bucket_size >> c->block_bits; in journal_reclaim()
|
H A D | super.c | 1880 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
|
/linux/fs/iomap/ |
H A D | buffered-io.c | 239 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local 240 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range() 244 unsigned first = poff >> block_bits; in iomap_adjust_read_range() 245 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range() 281 unsigned end = offset_in_folio(folio, isize - 1) >> block_bits; in iomap_adjust_read_range()
|
/linux/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1570 unsigned int block_bits; in o2hb_region_block_bytes_store() local 1576 &block_bits); in o2hb_region_block_bytes_store() 1581 reg->hr_block_bits = block_bits; in o2hb_region_block_bytes_store()
|