| /freebsd-13.1/sys/geom/vinum/ |
| H A D | geom_vinum.h | 51 int gv_start_plex(struct gv_plex *); 81 int gv_sdstatemap(struct gv_plex *); 86 int gv_set_plex_state(struct gv_plex *, int, int); 88 void gv_update_plex_state(struct gv_plex *); 101 int gv_is_striped(struct gv_plex *); 109 int gv_sdcount(struct gv_plex *, int); 110 void gv_update_plex_config(struct gv_plex *); 113 off_t gv_plex_size(struct gv_plex *); 119 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 | 46 static int gv_sync_plex(struct gv_plex *, struct gv_plex *); 54 struct gv_plex *p; in gv_start_obj() 104 gv_start_plex(struct gv_plex *p) in gv_start_plex() 107 struct gv_plex *up; in gv_start_plex() 169 struct gv_plex *p; in gv_start_vol() 191 gv_sync_plex(struct gv_plex *p, struct gv_plex *up) in gv_sync_plex() 218 static struct gv_plex * 221 struct gv_plex *up; in gv_find_good_plex() 237 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. */ 306 struct gv_plex *plex_sc; /* Pointer to associated plex. */ 316 struct gv_plex { struct 352 LIST_ENTRY(gv_plex) in_volume; /* Plex list of associated volume. */ argument 353 LIST_ENTRY(gv_plex) plex; /* Entry in the vinum config. */ 378 LIST_HEAD(,gv_plex) plexes; /* List of attached plexes. */ argument 389 struct gv_plex *last_read_plex;
|
| H A D | geom_vinum_plex.c | 45 static int gv_check_parity(struct gv_plex *, struct bio *, 49 static void gv_plex_flush(struct gv_plex *); 57 gv_plex_start(struct gv_plex *p, struct bio *bp) in gv_plex_start() 305 gv_plex_normal_done(struct gv_plex *p, struct bio *bp) in gv_plex_normal_done() 331 gv_plex_raid5_done(struct gv_plex *p, struct bio *bp) in gv_plex_raid5_done() 539 gv_plex_flush(struct gv_plex *p) in gv_plex_flush() 565 gv_sync_request(struct gv_plex *from, struct gv_plex *to, off_t offset, in gv_sync_request() 604 gv_sync_complete(struct gv_plex *to, struct bio *bp) in gv_sync_complete() 606 struct gv_plex *from, *p; in gv_sync_complete() 717 gv_grow_complete(struct gv_plex *p, struct bio *bp) in gv_grow_complete() [all …]
|
| H A D | geom_vinum_subr.c | 66 struct gv_plex *p, *p2; in gv_parse_config() 187 struct gv_plex *p; in gv_format_config() 264 struct gv_plex *p; in gv_plexdown() 429 gv_plex_size(struct gv_plex *p) in gv_plex_size() 462 struct gv_plex *p; in gv_vol_size() 895 struct gv_plex * 898 struct gv_plex *p; in gv_find_plex() 1006 struct gv_plex *p; in gv_object_type() 1038 struct gv_plex *p; in gv_setup_objects() 1088 struct gv_plex *p, *p2; in gv_cleanup() [all …]
|
| H A D | 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()
|
| H A D | geom_vinum_raid5.c | 44 static int gv_raid5_offset(struct gv_plex *, off_t, off_t, 48 static int gv_raid5_request(struct gv_plex *, struct gv_raid5_packet *, 50 static int gv_raid5_check(struct gv_plex *, struct gv_raid5_packet *, 52 static int gv_raid5_rebuild(struct gv_plex *, struct gv_raid5_packet *, 56 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, in gv_raid5_start() 150 gv_stripe_active(struct gv_plex *p, struct bio *bp) in gv_stripe_active() 179 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_check() 257 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_rebuild() 345 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, in gv_raid5_request() 590 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 | 48 struct gv_plex *p; in gv_remove() 169 struct gv_plex *p, *p2; in gv_resetconfig() 205 struct gv_plex *p, *p2; in gv_rm_vol() 236 gv_rm_plex(struct gv_softc *sc, struct gv_plex *p) in gv_rm_plex() 273 struct gv_plex *p; in gv_rm_sd() 307 struct gv_plex *p; in gv_rm_drive()
|
| 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_state.c | 48 struct gv_plex *p; in gv_setstate() 160 struct gv_plex *p; in gv_set_sd_state() 285 gv_set_plex_state(struct gv_plex *p, int newstate, int flags) in gv_set_plex_state() 416 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_rename.c | 51 struct gv_plex *p; in gv_rename() 149 gv_rename_plex(struct gv_softc *sc, struct gv_plex *p, char *newname, int flags) in gv_rename_plex() 230 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 | 198 gv_create_plex(struct gv_softc *sc, struct gv_plex *p) in gv_create_plex() 235 struct gv_plex *p; in gv_create_sd() 317 struct gv_plex *p; in gv_concat() 382 struct gv_plex *p; in gv_mirror() 474 struct gv_plex *p; in gv_raid5() 552 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() 533 struct gv_plex *p; in gv_parityop() 635 struct gv_plex *p; in gv_worker()
|
| H A D | geom_vinum_move.c | 110 struct gv_plex *p; in gv_move_sd()
|
| /freebsd-13.1/sbin/gvinum/ |
| H A D | gvinum.c | 179 struct gv_plex *p; in gvinum_create()
|