Lines Matching refs:o2hb_region
215 struct o2hb_region { struct
291 struct o2hb_region *reg = in o2hb_write_timeout() argument
292 container_of(work, struct o2hb_region, in o2hb_write_timeout()
323 static void o2hb_arm_write_timeout(struct o2hb_region *reg) in o2hb_arm_write_timeout()
343 static void o2hb_disarm_write_timeout(struct o2hb_region *reg) in o2hb_disarm_write_timeout()
369 static void o2hb_wait_on_io(struct o2hb_region *reg, in o2hb_wait_on_io()
391 static struct bio *o2hb_setup_one_bio(struct o2hb_region *reg, in o2hb_setup_one_bio()
444 static int o2hb_read_slots(struct o2hb_region *reg, in o2hb_read_slots()
476 static int o2hb_issue_node_write(struct o2hb_region *reg, in o2hb_issue_node_write()
502 static u32 o2hb_compute_block_crc_le(struct o2hb_region *reg, in o2hb_compute_block_crc_le()
530 static int o2hb_verify_crc(struct o2hb_region *reg, in o2hb_verify_crc()
548 static int o2hb_check_own_slot(struct o2hb_region *reg) in o2hb_check_own_slot()
587 static inline void o2hb_prepare_block(struct o2hb_region *reg, in o2hb_prepare_block()
724 static void o2hb_set_quorum_device(struct o2hb_region *reg) in o2hb_set_quorum_device()
767 static int o2hb_check_slot(struct o2hb_region *reg, in o2hb_check_slot()
954 static int o2hb_do_disk_heartbeat(struct o2hb_region *reg) in o2hb_do_disk_heartbeat()
1072 struct o2hb_region *reg = data; in o2hb_thread()
1150 struct o2hb_region *reg; in o2hb_debug_open()
1176 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1182 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1188 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1197 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1409 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region()
1411 return item ? container_of(item, struct o2hb_region, hr_item) : NULL; in to_o2hb_region()
1421 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1456 static int o2hb_read_block_input(struct o2hb_region *reg, in o2hb_read_block_input()
1493 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1522 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1547 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1576 static void o2hb_init_region_params(struct o2hb_region *reg) in o2hb_init_region_params()
1589 static int o2hb_map_slot_data(struct o2hb_region *reg) in o2hb_map_slot_data()
1652 static int o2hb_populate_slot_data(struct o2hb_region *reg) in o2hb_populate_slot_data()
1685 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1848 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
1901 static int o2hb_debug_region_init(struct o2hb_region *reg, struct dentry *dir) in o2hb_debug_region_init()
1969 struct o2hb_region *reg = NULL; in o2hb_heartbeat_group_make_item()
1972 reg = kzalloc(sizeof(struct o2hb_region), GFP_KERNEL); in o2hb_heartbeat_group_make_item()
2014 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()
2210 struct o2hb_region *reg; in o2hb_region_pin()
2262 struct o2hb_region *reg; in o2hb_region_unpin()
2481 struct o2hb_region *reg; in o2hb_stop_all_regions()
2496 struct o2hb_region *reg; in o2hb_get_all_regions()