Lines Matching defs:to_o2hb_region
1489 static struct o2hb_region *to_o2hb_region(struct config_item *item)
1501 struct o2hb_region *reg = to_o2hb_region(item);
1564 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes);
1571 struct o2hb_region *reg = to_o2hb_region(item);
1593 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block);
1600 struct o2hb_region *reg = to_o2hb_region(item);
1618 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks);
1625 struct o2hb_region *reg = to_o2hb_region(item);
1648 if (to_o2hb_region(item)->hr_bdev)
1649 ret = sprintf(page, "%s\n", to_o2hb_region(item)->hr_dev_name);
1763 struct o2hb_region *reg = to_o2hb_region(item);
1919 struct o2hb_region *reg = to_o2hb_region(item);
2075 struct o2hb_region *reg = to_o2hb_region(item);