Home
last modified time | relevance | path

Searched refs:block_bytes (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/md/bcache/
H A Ddebug.c28 i = (void *) i + set_blocks(i, block_bytes(b->c->cache)) * \
29 block_bytes(b->c->cache))
85 block_bytes(b->c->cache); in bch_btree_verify()
92 ((void *) i - (void *) ondisk) / block_bytes(b->c->cache)); in bch_btree_verify()
H A Dbtree.c109 return ((void *) btree_bset_first(b)) + b->written * block_bytes(b->c->cache); in write_block()
178 if (b->written + set_blocks(i, block_bytes(b->c->cache)) > in bch_btree_node_read_done()
204 b->written += set_blocks(i, block_bytes(b->c->cache)); in bch_btree_node_read_done()
210 i = ((void *) i) + block_bytes(b->c->cache)) in bch_btree_node_read_done()
352 b->bio->bi_iter.bi_size = roundup(set_bytes(i), block_bytes(b->c->cache)); in do_btree_node_write()
428 atomic_long_add(set_blocks(i, block_bytes(b->c->cache)) * b->c->cache->sb.block_size, in __bch_btree_node_write()
431 b->written += set_blocks(i, block_bytes(b->c->cache)); in __bch_btree_node_write()
1383 block_bytes(b->c->cache)) > blocks * (nodes - 1)) in btree_gc_coalesce()
1417 block_bytes(b->c->cache)) > blocks) in btree_gc_coalesce()
1433 block_bytes(b->c->cache)) > in btree_gc_coalesce()
[all …]
H A Dsysfs.c731 sysfs_hprint(block_size, block_bytes(c->cache)); in SHOW()
1036 sysfs_hprint(block_size, block_bytes(ca)); in SHOW()
H A Dbcache.h776 #define block_bytes(ca) ((ca)->sb.block_size << 9) macro
H A Drequest.c102 if (newsize * sizeof(uint64_t) > block_bytes(c->cache) - sizeof(struct jset)) in bch_keylist_realloc()
H A Dsuper.c1539 if (bcache_device_init(d, block_bytes(c->cache), u->sectors, in flash_dev_run()
/linux/drivers/media/pci/bt8xx/
H A Dbt878.c125 bt->block_bytes = bt->buf_size >> 4; in bt878_make_risc()
127 bt->line_bytes = bt->block_bytes; in bt878_make_risc()
156 if (!(buf_pos % bt->block_bytes)) in bt878_risc_program()
160 bt->block_bytes) + in bt878_risc_program()
H A Dbt878.h111 u32 block_bytes; member
H A Ddvb-bt8xx.c53 card->bt->block_bytes], in dvb_bt8xx_work()
54 card->bt->block_bytes); in dvb_bt8xx_work()
/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1571 unsigned long block_bytes; in o2hb_region_block_bytes_store() local
1577 status = o2hb_read_block_input(reg, page, &block_bytes, in o2hb_region_block_bytes_store()
1582 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_store()
1928 CONFIGFS_ATTR(o2hb_region_, block_bytes);
/linux/drivers/gpu/drm/radeon/
H A Dr100.c2125 int block_width, block_height, block_bytes; in r100_track_compress_size() local
2135 block_bytes = 8; in r100_track_compress_size()
2140 block_bytes = 16; in r100_track_compress_size()
2149 sz = wblocks * hblocks * block_bytes; in r100_track_compress_size()