Searched refs:to_o2hb_region (Results 1 – 1 of 1) sorted by relevance
1478 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() function1490 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()1553 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()1560 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()1582 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show()1589 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()1608 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()1615 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()1638 if (to_o2hb_region(item)->hr_bdev) in o2hb_region_dev_show()1639 ret = sprintf(page, "%pg\n", to_o2hb_region(item)->hr_bdev); in o2hb_region_dev_show()[all …]