Lines Matching refs:clabel
322 RF_ComponentLabel_t *clabel;
366 clabel = raidget_component_label(raidPtr, col);
367 clabel->parity_map_ntick = cooldown;
368 clabel->parity_map_tickms = tickms;
369 clabel->parity_map_regions = regions;
372 if (clabel->status == rf_ds_spared)
381 clabel = raidget_component_label(raidPtr, raidPtr->numCol+col);
382 clabel->parity_map_ntick = cooldown;
383 clabel->parity_map_tickms = tickms;
384 clabel->parity_map_regions = regions;
618 RF_ComponentLabel_t *clabel;
642 clabel = raidget_component_label(raidPtr, col);
643 flags = clabel->parity_map_flags;
645 if (clabel->parity_map_modcount
646 != clabel->mod_counter) {
651 g_tickms = clabel->parity_map_tickms;
652 g_ntick = clabel->parity_map_ntick;
653 regions = clabel->parity_map_regions;
711 clabel = raidget_component_label(raidPtr, col);
718 clabel->parity_map_flags = flags;
719 clabel->parity_map_tickms = g_tickms;
720 clabel->parity_map_ntick = g_ntick;
721 clabel->parity_map_regions = g_regions;
732 rf_paritymap_init_label(struct rf_paritymap *pm, RF_ComponentLabel_t *clabel)
735 clabel->parity_map_flags =
737 clabel->parity_map_tickms = pm->params.tickms;
738 clabel->parity_map_ntick = pm->params.cooldown;
745 clabel->parity_map_regions = pm->params.regions;
760 RF_ComponentLabel_t *clabel;
768 clabel = raidget_component_label(raidPtr, col);
769 if (clabel->parity_map_flags & RF_PMLABEL_DISABLE)
775 clabel = raidget_component_label(raidPtr, raidPtr->numCol+col);
776 if (clabel->parity_map_flags & RF_PMLABEL_DISABLE)
787 RF_ComponentLabel_t *clabel;
793 clabel = raidget_component_label(raidPtr, col);
795 clabel->parity_map_flags |= RF_PMLABEL_DISABLE;
797 clabel->parity_map_flags &= ~RF_PMLABEL_DISABLE;
806 clabel = raidget_component_label(raidPtr, raidPtr->numCol+col);
808 clabel->parity_map_flags |= RF_PMLABEL_DISABLE;
810 clabel->parity_map_flags &= ~RF_PMLABEL_DISABLE;