/openbmc/linux/drivers/md/bcache/ |
H A 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()
|
H A D | debug.c | 28 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 D | journal.c | 99 blocks = set_blocks(j, block_bytes(ca)); in journal_read_bucket() 163 j = ((void *) j) + blocks * block_bytes(ca); in journal_read_bucket() 755 unsigned int i, sectors = set_blocks(w->data, block_bytes(ca)) * in journal_write_unlocked() 775 c->journal.blocks_free -= set_blocks(w->data, block_bytes(ca)); in journal_write_unlocked() 867 block_bytes(ca)) * ca->sb.block_size; in journal_wait_for_write()
|
H A D | btree.c | 109 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() 1380 block_bytes(b->c->cache)) > blocks * (nodes - 1)) in btree_gc_coalesce() 1414 block_bytes(b->c->cache)) > blocks) in btree_gc_coalesce() 1430 block_bytes(b->c->cache)) > in btree_gc_coalesce() [all …]
|
H A D | sysfs.c | 738 sysfs_hprint(block_size, block_bytes(c->cache)); in SHOW() 1042 sysfs_hprint(block_size, block_bytes(ca)); in SHOW()
|
H A D | bcache.h | 766 #define block_bytes(ca) ((ca)->sb.block_size << 9) macro
|
H A D | request.c | 102 if (newsize * sizeof(uint64_t) > block_bytes(c->cache) - sizeof(struct jset)) in bch_keylist_realloc()
|
H A D | super.c | 1538 if (bcache_device_init(d, block_bytes(c->cache), u->sectors, in flash_dev_run()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A 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()
|
H A D | bt878.h | 110 u32 block_bytes; member
|
H A D | dvb-bt8xx.c | 53 card->bt->block_bytes], in dvb_bt8xx_task() 54 card->bt->block_bytes); in dvb_bt8xx_task()
|
/openbmc/u-boot/disk/ |
H A D | part_amiga.c | 304 info->blksz = rdb.block_bytes; in part_get_info_amiga() 344 rdb->block_bytes, rdb->cylinders, rdb->sectors, in part_print_amiga()
|
H A D | part_amiga.h | 35 u32 block_bytes; member
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1562 unsigned long block_bytes; in o2hb_region_block_bytes_store() local 1568 status = o2hb_read_block_input(reg, page, &block_bytes, in o2hb_region_block_bytes_store() 1573 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_store() 1922 CONFIGFS_ATTR(o2hb_region_, block_bytes);
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | r100.c | 2124 int block_width, block_height, block_bytes; in r100_track_compress_size() local 2134 block_bytes = 8; in r100_track_compress_size() 2139 block_bytes = 16; in r100_track_compress_size() 2148 sz = wblocks * hblocks * block_bytes; in r100_track_compress_size()
|