| /NextBSD/sys/geom/vinum/ |
| HD | geom_vinum.h | 39 int gv_create_plex(struct gv_softc *, struct gv_plex *); 49 int gv_start_plex(struct gv_plex *); 66 int gv_rename_plex(struct gv_softc *, struct gv_plex *, char *, int); 75 void gv_rm_plex(struct gv_softc *, struct gv_plex *); 80 int gv_sdstatemap(struct gv_plex *); 85 int gv_set_plex_state(struct gv_plex *, int, int); 87 void gv_update_plex_state(struct gv_plex *); 95 struct gv_plex *gv_find_plex(struct gv_softc *, char *); 100 int gv_is_striped(struct gv_plex *); 107 int gv_sd_to_plex(struct gv_sd *, struct gv_plex *); [all …]
|
| HD | geom_vinum_init.c | 40 static int gv_rebuild_plex(struct gv_plex *); 41 static int gv_init_plex(struct gv_plex *); 42 static int gv_grow_plex(struct gv_plex *); 43 static int gv_sync_plex(struct gv_plex *, struct gv_plex *); 44 static struct gv_plex *gv_find_good_plex(struct gv_volume *); 51 struct gv_plex *p; in gv_start_obj() 101 gv_start_plex(struct gv_plex *p) in gv_start_plex() 104 struct gv_plex *up; in gv_start_plex() 166 struct gv_plex *p; in gv_start_vol() 188 gv_sync_plex(struct gv_plex *p, struct gv_plex *up) in gv_sync_plex() [all …]
|
| HD | geom_vinum_var.h | 228 LIST_HEAD(,gv_plex) plexes; /* All plexes. */ 302 struct gv_plex *plex_sc; /* Pointer to associated plex. */ 312 struct gv_plex { struct 348 LIST_ENTRY(gv_plex) in_volume; /* Plex list of associated volume. */ argument 349 LIST_ENTRY(gv_plex) plex; /* Entry in the vinum config. */ 374 LIST_HEAD(,gv_plex) plexes; /* List of attached plexes. */ argument 385 struct gv_plex *last_read_plex;
|
| HD | geom_vinum_plex.c | 42 static int gv_check_parity(struct gv_plex *, struct bio *, 44 static int gv_normal_parity(struct gv_plex *, struct bio *, 46 static void gv_plex_flush(struct gv_plex *); 47 static int gv_plex_offset(struct gv_plex *, off_t, off_t, off_t *, off_t *, 49 static int gv_plex_normal_request(struct gv_plex *, struct bio *, off_t, 54 gv_plex_start(struct gv_plex *p, struct bio *bp) in gv_plex_start() 127 gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, in gv_plex_offset() 196 gv_plex_normal_request(struct gv_plex *p, struct bio *bp, off_t boff, in gv_plex_normal_request() 301 gv_plex_normal_done(struct gv_plex *p, struct bio *bp) in gv_plex_normal_done() 327 gv_plex_raid5_done(struct gv_plex *p, struct bio *bp) in gv_plex_raid5_done() [all …]
|
| HD | geom_vinum_subr.c | 56 static off_t gv_plex_smallest_sd(struct gv_plex *); 63 struct gv_plex *p, *p2; in gv_parse_config() 184 struct gv_plex *p; in gv_format_config() 238 gv_plex_smallest_sd(struct gv_plex *p) in gv_plex_smallest_sd() 261 struct gv_plex *p; in gv_plexdown() 275 gv_sd_to_plex(struct gv_sd *s, struct gv_plex *p) in gv_sd_to_plex() 408 gv_sdcount(struct gv_plex *p, int growing) in gv_sdcount() 426 gv_plex_size(struct gv_plex *p) in gv_plex_size() 459 struct gv_plex *p; in gv_vol_size() 478 gv_update_plex_config(struct gv_plex *p) in gv_update_plex_config() [all …]
|
| HD | geom_vinum_share.c | 421 struct gv_plex * 424 struct gv_plex *p; in gv_alloc_plex() 427 p = g_malloc(sizeof(struct gv_plex), M_NOWAIT); in gv_alloc_plex() 429 p = malloc(sizeof(struct gv_plex)); in gv_alloc_plex() 433 bzero(p, sizeof(struct gv_plex)); in gv_alloc_plex() 528 struct gv_plex * 531 struct gv_plex *p; in gv_new_plex()
|
| HD | geom_vinum_raid5.c | 41 static int gv_raid5_offset(struct gv_plex *, off_t, off_t, 45 static int gv_raid5_request(struct gv_plex *, struct gv_raid5_packet *, 47 static int gv_raid5_check(struct gv_plex *, struct gv_raid5_packet *, 49 static int gv_raid5_rebuild(struct gv_plex *, struct gv_raid5_packet *, 53 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, in gv_raid5_start() 144 gv_stripe_active(struct gv_plex *p, struct bio *bp) in gv_stripe_active() 173 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_check() 251 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_rebuild() 339 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, in gv_raid5_request() 584 gv_raid5_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, in gv_raid5_offset()
|
| HD | geom_vinum_rm.c | 45 struct gv_plex *p; in gv_remove() 166 struct gv_plex *p, *p2; in gv_resetconfig() 202 struct gv_plex *p, *p2; in gv_rm_vol() 234 gv_rm_plex(struct gv_softc *sc, struct gv_plex *p) in gv_rm_plex() 271 struct gv_plex *p; in gv_rm_sd() 305 struct gv_plex *p; in gv_rm_drive()
|
| HD | geom_vinum_state.c | 45 struct gv_plex *p; in gv_setstate() 157 struct gv_plex *p; in gv_set_sd_state() 282 gv_set_plex_state(struct gv_plex *p, int newstate, int flags) in gv_set_plex_state() 413 gv_update_plex_state(struct gv_plex *p) in gv_update_plex_state() 471 struct gv_plex *p; in gv_update_vol_state() 501 gv_sdstatemap(struct gv_plex *p) in gv_sdstatemap()
|
| HD | geom_vinum_raid5.h | 51 struct gv_raid5_packet * gv_raid5_start(struct gv_plex *, struct bio *, 53 int gv_stripe_active(struct gv_plex *, struct bio *);
|
| HD | geom_vinum_share.h | 46 struct gv_plex *gv_alloc_plex(void); 49 struct gv_plex *gv_new_plex(int, char **);
|
| HD | geom_vinum_rename.c | 48 struct gv_plex *p; in gv_rename() 146 gv_rename_plex(struct gv_softc *sc, struct gv_plex *p, char *newname, int flags) in gv_rename_plex() 227 struct gv_plex *p; in gv_rename_vol()
|
| HD | geom_vinum_volume.c | 62 struct gv_plex *p, *lp; in gv_volume_start() 145 struct gv_plex *p; in gv_bio_done()
|
| HD | geom_vinum_list.c | 42 void gv_lpi(struct gv_plex *, struct sbuf *, int); 51 struct gv_plex *p; in gv_list() 243 struct gv_plex *p; in gv_lvi() 277 struct gv_plex *p; in gv_lp() 297 gv_lpi(struct gv_plex *p, struct sbuf *sb, int flags) in gv_lpi()
|
| HD | geom_vinum_create.c | 195 gv_create_plex(struct gv_softc *sc, struct gv_plex *p) in gv_create_plex() 232 struct gv_plex *p; in gv_create_sd() 314 struct gv_plex *p; in gv_concat() 379 struct gv_plex *p; in gv_mirror() 471 struct gv_plex *p; in gv_raid5() 549 struct gv_plex *p; in gv_stripe()
|
| HD | geom_vinum.c | 217 struct gv_plex *p; in gv_attach() 276 struct gv_plex *p; in gv_detach() 310 struct gv_plex *p, *p2; in gv_create() 532 struct gv_plex *p; in gv_parityop() 634 struct gv_plex *p; in gv_worker()
|
| HD | geom_vinum_move.c | 107 struct gv_plex *p; in gv_move_sd()
|
| /NextBSD/sbin/gvinum/ |
| HD | gvinum.c | 178 struct gv_plex *p; in gvinum_create()
|