Lines Matching defs:ut
96 #define DR_GET_BOARD_DEVUNIT(sb, ut, un) (&((sb)->b_dev[NIX(ut)][un]))
2691 int s, ut;
2700 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) {
2701 if (DEVSET_IN_SET(devset, SBD_COMP_CPU, ut) == 0)
2704 cp = dr_get_common_unit(bp, SBD_COMP_CPU, ut);
2707 DEVSET_DEL(devset, SBD_COMP_CPU, ut);
2712 DEVSET_DEL(devset, SBD_COMP_CPU, ut);
2718 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) {
2719 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, ut) == 0)
2722 cp = dr_get_common_unit(bp, SBD_COMP_MEM, ut);
2725 DEVSET_DEL(devset, SBD_COMP_MEM, ut);
2730 DEVSET_DEL(devset, SBD_COMP_MEM, ut);
2736 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) {
2737 if (DEVSET_IN_SET(devset, SBD_COMP_IO, ut) == 0)
2740 cp = dr_get_common_unit(bp, SBD_COMP_IO, ut);
2743 DEVSET_DEL(devset, SBD_COMP_IO, ut);
2748 DEVSET_DEL(devset, SBD_COMP_IO, ut);
3180 int ut;
3198 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) {
3199 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_CPU, ut))
3202 cp = dr_get_cpu_unit(bp, ut);
3206 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) {
3207 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_MEM, ut))
3210 mp = dr_get_mem_unit(bp, ut);
3214 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) {
3215 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_IO, ut))
3218 ip = dr_get_io_unit(bp, ut);