Lines Matching defs:mirrors

40  * chain of mirrors
118 mm_unit_list_t *mirrors[MD_PASS_MAX + 1]
126 for (p = mirrors[i], n = NULL; (p != NULL); p = n) {
130 mirrors[i] = NULL;
140 mm_unit_list_t *mirrors[MD_PASS_MAX + 1],
172 lp->next = mirrors[lp->pass];
173 mirrors[lp->pass] = lp;
182 * resync all mirrors (in background)
191 mm_unit_list_t *mirrors[MD_PASS_MAX + 1];
198 /* get mirrors */
199 (void) memset(mirrors, 0, sizeof (mirrors));
200 if (setup_units(sp, mirrors, ep) != 0)
210 free_units(mirrors);
234 * Determine which pass level is the highest that contains mirrors to
236 * this high watermark. If all mirrors are at the same pass level
242 if (mirrors[pass] != NULL) {
249 * max_pass now contains the highest pass-level with resyncable mirrors
259 if (mirrors[pass] == NULL)
263 for (lp = mirrors[pass]; (lp != NULL); lp = lp->next) {
299 for (lp = mirrors[pass]; lp != NULL; lp = lp->next) {
327 free_units(mirrors);
336 * Resync all mirrors associated with given set (arg). Called when master
345 mm_unit_list_t *mirrors[MD_PASS_MAX + 1];
414 /* get mirrors */
415 (void) memset(mirrors, 0, sizeof (mirrors));
416 if (setup_units(sp, mirrors, &mde) != 0) {
422 * Determine which pass level is the highest that contains mirrors to
424 * this high watermark. If all mirrors are at the same pass level
429 if (mirrors[pass] != NULL) {
436 * max_pass now contains the highest pass-level with resyncable mirrors
445 if (mirrors[pass] == NULL)
449 for (lp = mirrors[pass]; (lp != NULL); lp = lp->next) {
475 for (lp = mirrors[pass]; lp != NULL; lp = lp->next) {
502 free_units(mirrors);
515 * sp setname to scan for mirrors
528 mm_unit_list_t *mirrors[MD_PASS_MAX + 1];
531 /* Grab all the mirrors from the set (if any) */
532 (void) memset(mirrors, 0, sizeof (mirrors));
533 if (setup_units(sp, mirrors, ep) != 0)
541 if (mirrors[pass] == NULL)
545 for (lp = mirrors[pass]; (lp != NULL); lp = lp->next) {
552 free_units(mirrors);
558 * Issue the given resync command to all mirrors contained in all multi-node
597 * mirrors.
649 * Kill any resync threads running on mirrors in the given set.