Home
last modified time | relevance | path

Searched refs:gv_plex (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/sys/geom/vinum/
H A Dgeom_vinum.h49 int gv_start_plex(struct gv_plex *);
79 int gv_sdstatemap(struct gv_plex *);
84 int gv_set_plex_state(struct gv_plex *, int, int);
86 void gv_update_plex_state(struct gv_plex *);
99 int gv_is_striped(struct gv_plex *);
107 int gv_sdcount(struct gv_plex *, int);
108 void gv_update_plex_config(struct gv_plex *);
111 off_t gv_plex_size(struct gv_plex *);
117 int gv_detach_plex(struct gv_plex *, int);
142 void gv_plex_start(struct gv_plex *, struct bio *);
[all …]
H A Dgeom_vinum_init.c45 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()
305 gv_grow_plex(struct gv_plex *p) in gv_grow_plex()
[all …]
H A Dgeom_vinum_var.h230 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 Dgeom_vinum_plex.c43 static int gv_check_parity(struct gv_plex *, struct bio *,
47 static void gv_plex_flush(struct gv_plex *);
55 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()
537 gv_plex_flush(struct gv_plex *p) in gv_plex_flush()
561 gv_sync_request(struct gv_plex *from, struct gv_plex *to, off_t offset, in gv_sync_request()
600 gv_sync_complete(struct gv_plex *to, struct bio *bp) in gv_sync_complete()
602 struct gv_plex *from, *p; in gv_sync_complete()
713 gv_grow_complete(struct gv_plex *p, struct bio *bp) in gv_grow_complete()
[all …]
H A Dgeom_vinum_subr.c64 struct gv_plex *p, *p2; in gv_parse_config()
185 struct gv_plex *p; in gv_format_config()
262 struct gv_plex *p; in gv_plexdown()
427 gv_plex_size(struct gv_plex *p) in gv_plex_size()
460 struct gv_plex *p; in gv_vol_size()
893 struct gv_plex *
896 struct gv_plex *p; in gv_find_plex()
1004 struct gv_plex *p; in gv_object_type()
1036 struct gv_plex *p; in gv_setup_objects()
1086 struct gv_plex *p, *p2; in gv_cleanup()
[all …]
H A Dgeom_vinum_share.c419 struct gv_plex *
422 struct gv_plex *p; in gv_alloc_plex()
425 p = g_malloc(sizeof(struct gv_plex), M_NOWAIT); in gv_alloc_plex()
427 p = malloc(sizeof(struct gv_plex)); in gv_alloc_plex()
431 bzero(p, sizeof(struct gv_plex)); in gv_alloc_plex()
526 struct gv_plex *
529 struct gv_plex *p; in gv_new_plex()
H A Dgeom_vinum_raid5.c42 static int gv_raid5_offset(struct gv_plex *, off_t, off_t,
46 static int gv_raid5_request(struct gv_plex *, struct gv_raid5_packet *,
48 static int gv_raid5_check(struct gv_plex *, struct gv_raid5_packet *,
50 static int gv_raid5_rebuild(struct gv_plex *, struct gv_raid5_packet *,
54 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, in gv_raid5_start()
148 gv_stripe_active(struct gv_plex *p, struct bio *bp) in gv_stripe_active()
177 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_check()
255 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, in gv_raid5_rebuild()
343 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, in gv_raid5_request()
585 gv_raid5_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, in gv_raid5_offset()
H A Dgeom_vinum_rm.c46 struct gv_plex *p; in gv_remove()
167 struct gv_plex *p, *p2; in gv_resetconfig()
203 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()
H A Dgeom_vinum_raid5.h51 struct gv_raid5_packet * gv_raid5_start(struct gv_plex *, struct bio *,
53 int gv_stripe_active(struct gv_plex *, struct bio *);
H A Dgeom_vinum_share.h46 struct gv_plex *gv_alloc_plex(void);
49 struct gv_plex *gv_new_plex(int, char **);
H A Dgeom_vinum_state.c46 struct gv_plex *p; in gv_setstate()
158 struct gv_plex *p; in gv_set_sd_state()
283 gv_set_plex_state(struct gv_plex *p, int newstate, int flags) in gv_set_plex_state()
414 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()
H A Dgeom_vinum_rename.c49 struct gv_plex *p; in gv_rename()
147 gv_rename_plex(struct gv_softc *sc, struct gv_plex *p, char *newname, int flags) in gv_rename_plex()
228 struct gv_plex *p; in gv_rename_vol()
H A Dgeom_vinum_create.c195 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()
H A Dgeom_vinum_volume.c61 struct gv_plex *p, *lp; in gv_volume_start()
143 struct gv_plex *p; in gv_bio_done()
H A Dgeom_vinum_list.c42 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()
H A Dgeom_vinum.c217 struct gv_plex *p; in gv_attach()
276 struct gv_plex *p; in gv_detach()
310 struct gv_plex *p, *p2; in gv_create()
528 struct gv_plex *p; in gv_parityop()
630 struct gv_plex *p; in gv_worker()
H A Dgeom_vinum_move.c108 struct gv_plex *p; in gv_move_sd()
/freebsd-14.2/sbin/gvinum/
H A Dgvinum.c177 struct gv_plex *p; in gvinum_create()