Lines Matching defs:ut
102 #define DR_GET_BOARD_DEVUNIT(sb, ut, un) (&((sb)->b_dev[DEVSET_NIX(ut)][un]))
2661 int s, ut;
2670 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) {
2671 if (DEVSET_IN_SET(devset, SBD_COMP_CPU, ut) == 0)
2674 cp = dr_get_common_unit(bp, SBD_COMP_CPU, ut);
2677 DEVSET_DEL(devset, SBD_COMP_CPU, ut);
2682 DEVSET_DEL(devset, SBD_COMP_CPU, ut);
2688 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) {
2689 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, ut) == 0)
2692 cp = dr_get_common_unit(bp, SBD_COMP_MEM, ut);
2695 DEVSET_DEL(devset, SBD_COMP_MEM, ut);
2700 DEVSET_DEL(devset, SBD_COMP_MEM, ut);
2706 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) {
2707 if (DEVSET_IN_SET(devset, SBD_COMP_IO, ut) == 0)
2710 cp = dr_get_common_unit(bp, SBD_COMP_IO, ut);
2713 DEVSET_DEL(devset, SBD_COMP_IO, ut);
2718 DEVSET_DEL(devset, SBD_COMP_IO, ut);
3137 int ut;
3157 for (ut = 0; ut < MAX_CPU_UNITS_PER_BOARD; ut++) {
3158 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_CPU, ut))
3161 cp = dr_get_cpu_unit(bp, ut);
3165 for (ut = 0; ut < MAX_MEM_UNITS_PER_BOARD; ut++) {
3166 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_MEM, ut))
3169 mp = dr_get_mem_unit(bp, ut);
3173 for (ut = 0; ut < MAX_IO_UNITS_PER_BOARD; ut++) {
3174 if (!DEVSET_IN_SET(devs_lost, SBD_COMP_IO, ut))
3177 ip = dr_get_io_unit(bp, ut);