Lines Matching refs:ut
96 #define DR_GET_BOARD_DEVUNIT(sb, ut, un) (&((sb)->b_dev[NIX(ut)][un])) argument
2692 int s, ut; in dr_check_transition() local
2701 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) { in dr_check_transition()
2702 if (DEVSET_IN_SET(devset, SBD_COMP_CPU, ut) == 0) in dr_check_transition()
2705 cp = dr_get_common_unit(bp, SBD_COMP_CPU, ut); in dr_check_transition()
2708 DEVSET_DEL(devset, SBD_COMP_CPU, ut); in dr_check_transition()
2713 DEVSET_DEL(devset, SBD_COMP_CPU, ut); in dr_check_transition()
2719 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) { in dr_check_transition()
2720 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, ut) == 0) in dr_check_transition()
2723 cp = dr_get_common_unit(bp, SBD_COMP_MEM, ut); in dr_check_transition()
2726 DEVSET_DEL(devset, SBD_COMP_MEM, ut); in dr_check_transition()
2731 DEVSET_DEL(devset, SBD_COMP_MEM, ut); in dr_check_transition()
2737 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) { in dr_check_transition()
2738 if (DEVSET_IN_SET(devset, SBD_COMP_IO, ut) == 0) in dr_check_transition()
2741 cp = dr_get_common_unit(bp, SBD_COMP_IO, ut); in dr_check_transition()
2744 DEVSET_DEL(devset, SBD_COMP_IO, ut); in dr_check_transition()
2749 DEVSET_DEL(devset, SBD_COMP_IO, ut); in dr_check_transition()
3181 int ut; in dr_board_discovery() local
3199 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) { in dr_board_discovery()
3200 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_CPU, ut)) in dr_board_discovery()
3203 cp = dr_get_cpu_unit(bp, ut); in dr_board_discovery()
3207 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) { in dr_board_discovery()
3208 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_MEM, ut)) in dr_board_discovery()
3211 mp = dr_get_mem_unit(bp, ut); in dr_board_discovery()
3215 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) { in dr_board_discovery()
3216 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_IO, ut)) in dr_board_discovery()
3219 ip = dr_get_io_unit(bp, ut); in dr_board_discovery()