Searched refs:block_bytes (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/drivers/md/bcache/ |
| D | bset.h | 264 #define __set_blocks(i, k, block_bytes) \ argument 265 DIV_ROUND_UP(__set_bytes(i, k), block_bytes) 266 #define set_blocks(i, block_bytes) \ argument 267 __set_blocks(i, (i)->keys, block_bytes) 285 unsigned int block_bytes) in bset_next_set() argument 289 return ((void *) i) + roundup(set_bytes(i), block_bytes); in bset_next_set()
|
| D | debug.c | 28 i = (void *) i + set_blocks(i, block_bytes(b->c)) * \ 29 block_bytes(b->c)) 85 block_bytes(b->c); in bch_btree_verify() 92 ((void *) i - (void *) ondisk) / block_bytes(b->c)); in bch_btree_verify()
|
| D | journal.c | 101 blocks = set_blocks(j, block_bytes(ca->set)); in journal_read_bucket() 164 j = ((void *) j) + blocks * block_bytes(ca); in journal_read_bucket() 691 unsigned int i, sectors = set_blocks(w->data, block_bytes(c)) * in journal_write_unlocked() 711 c->journal.blocks_free -= set_blocks(w->data, block_bytes(c)); in journal_write_unlocked() 806 block_bytes(c)) * c->sb.block_size; in journal_wait_for_write()
|
| D | btree.c | 165 return ((void *) btree_bset_first(b)) + b->written * block_bytes(b->c); in write_block() 234 if (b->written + set_blocks(i, block_bytes(b->c)) > in bch_btree_node_read_done() 260 b->written += set_blocks(i, block_bytes(b->c)); in bch_btree_node_read_done() 266 i = ((void *) i) + block_bytes(b->c)) in bch_btree_node_read_done() 408 b->bio->bi_iter.bi_size = roundup(set_bytes(i), block_bytes(b->c)); in do_btree_node_write() 484 atomic_long_add(set_blocks(i, block_bytes(b->c)) * b->c->sb.block_size, in __bch_btree_node_write() 487 b->written += set_blocks(i, block_bytes(b->c)); in __bch_btree_node_write() 1391 block_bytes(b->c)) > blocks * (nodes - 1)) in btree_gc_coalesce() 1425 block_bytes(b->c)) > blocks) in btree_gc_coalesce() 1441 block_bytes(b->c)) > in btree_gc_coalesce() [all …]
|
| D | sysfs.c | 690 sysfs_hprint(block_size, block_bytes(c)); in SHOW() 976 sysfs_hprint(block_size, block_bytes(ca)); in SHOW()
|
| D | bcache.h | 756 #define block_bytes(c) ((c)->sb.block_size << 9) macro
|
| D | request.c | 114 if (newsize * sizeof(uint64_t) > block_bytes(c) - sizeof(struct jset)) in bch_keylist_realloc()
|
| D | super.c | 1424 if (bcache_device_init(d, block_bytes(c), u->sectors)) in flash_dev_run()
|
| /Linux-v5.4/drivers/media/pci/bt8xx/ |
| D | bt878.c | 125 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()
|
| D | bt878.h | 110 u32 block_bytes; member
|
| D | dvb-bt8xx.c | 52 card->bt->block_bytes], in dvb_bt8xx_task() 53 card->bt->block_bytes); in dvb_bt8xx_task()
|
| /Linux-v5.4/fs/ocfs2/cluster/ |
| D | heartbeat.c | 1575 unsigned long block_bytes; in o2hb_region_block_bytes_store() local 1581 status = o2hb_read_block_input(reg, page, &block_bytes, in o2hb_region_block_bytes_store() 1586 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_store() 1943 CONFIGFS_ATTR(o2hb_region_, block_bytes);
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | r100.c | 2096 int block_width, block_height, block_bytes; in r100_track_compress_size() local 2106 block_bytes = 8; in r100_track_compress_size() 2111 block_bytes = 16; in r100_track_compress_size() 2120 sz = wblocks * hblocks * block_bytes; in r100_track_compress_size()
|