Lines Matching defs:up
104 struct gv_plex *up;
129 up = gv_find_good_plex(v);
130 if (up == NULL) {
139 "access volume: %d", up->name, error);
143 error = gv_sync_plex(p, up);
147 * In case we have a stripe that is up, check whether it can be
186 /* Sync a plex p from the plex up. */
188 gv_sync_plex(struct gv_plex *p, struct gv_plex *up)
193 KASSERT(up != NULL, ("%s: NULL up", __func__));
194 if ((p == up) || (p->state == GV_PLEX_UP))
204 error = gv_sync_request(up, p, p->synced,
205 MIN(GV_DFLT_SYNCSIZE, up->size - p->synced),
218 struct gv_plex *up;
220 /* Find the plex that's up. */
221 up = NULL;
222 LIST_FOREACH(up, &v->plexes, in_volume) {
223 if (up->state == GV_PLEX_UP)
227 return (up);
234 struct gv_plex *p, *up;
242 up = gv_find_good_plex(v);
243 if (up == NULL)
250 up->name, error);
257 error = gv_sync_plex(p, up);