| /freebsd-12.1/sys/geom/vinum/ |
| H A D | geom_vinum.h | 51 int gv_start_plex(struct gv_plex *); 82 int gv_sdstatemap(struct gv_plex *); 87 int gv_set_plex_state(struct gv_plex *, int, int); 89 void gv_update_plex_state(struct gv_plex *); 102 int gv_is_striped(struct gv_plex *); 110 int gv_sdcount(struct gv_plex *, int); 111 void gv_update_plex_config(struct gv_plex *); 114 off_t gv_plex_size(struct gv_plex *); 120 int gv_detach_plex(struct gv_plex *, int); 144 void gv_plex_start(struct gv_plex *, struct bio *); [all …]
|
| H A D | geom_vinum_init.c | 45 static int gv_sync_plex(struct gv_plex *, struct gv_plex *); 53 struct gv_plex *p; in gv_start_obj() 103 gv_start_plex(struct gv_plex *p) in gv_start_plex() 106 struct gv_plex *up; in gv_start_plex() 168 struct gv_plex *p; in gv_start_vol() 190 gv_sync_plex(struct gv_plex *p, struct gv_plex *up) in gv_sync_plex() 217 static struct gv_plex * 220 struct gv_plex *up; in gv_find_good_plex() 236 struct gv_plex *p, *up; in gv_sync() 306 gv_grow_plex(struct gv_plex *p) in gv_grow_plex() [all …]
|
| H A D | geom_vinum_var.h | 230 LIST_HEAD(,gv_plex) plexes; /* All plexes. */ 304 struct gv_plex *plex_sc; /* Pointer to associated plex. */ 314 struct gv_plex { struct 350 LIST_ENTRY(gv_plex) in_volume; /* Plex list of associated volume. */ argument 351 LIST_ENTRY(gv_plex) plex; /* Entry in the vinum config. */ 376 LIST_HEAD(,gv_plex) plexes; /* List of attached plexes. */ argument 387 struct gv_plex *last_read_plex;
|
| H A D | geom_vinum_plex.c | 44 static int gv_check_parity(struct gv_plex *, struct bio *, 48 static void gv_plex_flush(struct gv_plex *); 56 gv_plex_start(struct gv_plex *p, struct bio *bp) in gv_plex_start() 303 gv_plex_normal_done(struct gv_plex *p, struct bio *bp) in gv_plex_normal_done() 329 gv_plex_raid5_done(struct gv_plex *p, struct bio *bp) in gv_plex_raid5_done() 538 gv_plex_flush(struct gv_plex *p) in gv_plex_flush() 564 gv_sync_request(struct gv_plex *from, struct gv_plex *to, off_t offset, in gv_sync_request() 603 gv_sync_complete(struct gv_plex *to, struct bio *bp) in gv_sync_complete() 605 struct gv_plex *from, *p; in gv_sync_complete() 716 gv_grow_complete(struct gv_plex *p, struct bio *bp) in gv_grow_complete() [all …]
|
| H A D | geom_vinum_subr.c | 65 struct gv_plex *p, *p2; in gv_parse_config() 186 struct gv_plex *p; in gv_format_config() 263 struct gv_plex *p; in gv_plexdown() 428 gv_plex_size(struct gv_plex *p) in gv_plex_size() 461 struct gv_plex *p; in gv_vol_size() 897 struct gv_plex * 900 struct gv_plex *p; in gv_find_plex() 1008 struct gv_plex *p; in gv_object_type() 1040 struct gv_plex *p; in gv_setup_objects() 1090 struct gv_plex *p, *p2; in gv_cleanup() [all …]
|
| H A D | geom_vinum_share.c | 423 struct gv_plex * 426 struct gv_plex *p; in gv_alloc_plex() 429 p = g_malloc(sizeof(struct gv_plex), M_NOWAIT); in gv_alloc_plex() 431 p = malloc(sizeof(struct gv_plex)); in gv_alloc_plex() 435 bzero(p, sizeof(struct gv_plex)); in gv_alloc_plex() 530 struct gv_plex * 533 struct gv_plex *p; in gv_new_plex()
|
| H A D | geom_vinum_raid5.c | 43 static int gv_raid5_offset(struct gv_plex *, off_t, off_t, 47 static int gv_raid5_request(struct gv_plex *, struct gv_raid5_packet *, 49 static int gv_raid5_check(struct gv_plex *, struct gv_raid5_packet *, 51 static int gv_raid5_rebuild(struct gv_plex *, struct gv_raid5_packet *, 55 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, in gv_raid5_start() 146 gv_stripe_active(struct gv_plex *p, struct bio *bp) in gv_stripe_active() 175 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_check() 253 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_rebuild() 341 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, in gv_raid5_request() 586 gv_raid5_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, in gv_raid5_offset()
|
| H A D | geom_vinum_rm.c | 47 struct gv_plex *p; in gv_remove() 168 struct gv_plex *p, *p2; in gv_resetconfig() 204 struct gv_plex *p, *p2; in gv_rm_vol() 235 gv_rm_plex(struct gv_softc *sc, struct gv_plex *p) in gv_rm_plex() 272 struct gv_plex *p; in gv_rm_sd() 306 struct gv_plex *p; in gv_rm_drive()
|
| H A D | geom_vinum_state.c | 47 struct gv_plex *p; in gv_setstate() 159 struct gv_plex *p; in gv_set_sd_state() 284 gv_set_plex_state(struct gv_plex *p, int newstate, int flags) in gv_set_plex_state() 415 gv_update_plex_state(struct gv_plex *p) in gv_update_plex_state() 473 struct gv_plex *p; in gv_update_vol_state() 503 gv_sdstatemap(struct gv_plex *p) in gv_sdstatemap()
|
| H A D | geom_vinum_raid5.h | 53 struct gv_raid5_packet * gv_raid5_start(struct gv_plex *, struct bio *, 55 int gv_stripe_active(struct gv_plex *, struct bio *);
|
| H A D | geom_vinum_share.h | 48 struct gv_plex *gv_alloc_plex(void); 51 struct gv_plex *gv_new_plex(int, char **);
|
| H A D | geom_vinum_rename.c | 50 struct gv_plex *p; in gv_rename() 148 gv_rename_plex(struct gv_softc *sc, struct gv_plex *p, char *newname, int flags) in gv_rename_plex() 229 struct gv_plex *p; in gv_rename_vol()
|
| H A D | geom_vinum_volume.c | 64 struct gv_plex *p, *lp; in gv_volume_start() 147 struct gv_plex *p; in gv_bio_done()
|
| H A D | geom_vinum_list.c | 44 void gv_lpi(struct gv_plex *, struct sbuf *, int); 53 struct gv_plex *p; in gv_list() 245 struct gv_plex *p; in gv_lvi() 279 struct gv_plex *p; in gv_lp() 299 gv_lpi(struct gv_plex *p, struct sbuf *sb, int flags) in gv_lpi()
|
| H A D | geom_vinum_create.c | 197 gv_create_plex(struct gv_softc *sc, struct gv_plex *p) in gv_create_plex() 234 struct gv_plex *p; in gv_create_sd() 316 struct gv_plex *p; in gv_concat() 381 struct gv_plex *p; in gv_mirror() 473 struct gv_plex *p; in gv_raid5() 551 struct gv_plex *p; in gv_stripe()
|
| H A D | geom_vinum.c | 219 struct gv_plex *p; in gv_attach() 278 struct gv_plex *p; in gv_detach() 312 struct gv_plex *p, *p2; in gv_create() 534 struct gv_plex *p; in gv_parityop() 636 struct gv_plex *p; in gv_worker()
|
| H A D | geom_vinum_move.c | 109 struct gv_plex *p; in gv_move_sd()
|
| /freebsd-12.1/sbin/gvinum/ |
| H A D | gvinum.c | 179 struct gv_plex *p; in gvinum_create()
|