Lines Matching defs:to_o2hb_region
1478 static struct o2hb_region *to_o2hb_region(struct config_item *item)
1490 struct o2hb_region *reg = to_o2hb_region(item);
1553 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes);
1560 struct o2hb_region *reg = to_o2hb_region(item);
1582 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block);
1589 struct o2hb_region *reg = to_o2hb_region(item);
1608 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks);
1615 struct o2hb_region *reg = to_o2hb_region(item);
1638 if (to_o2hb_region(item)->hr_bdev)
1639 ret = sprintf(page, "%pg\n", to_o2hb_region(item)->hr_bdev);
1753 struct o2hb_region *reg = to_o2hb_region(item);
1908 struct o2hb_region *reg = to_o2hb_region(item);
2064 struct o2hb_region *reg = to_o2hb_region(item);