Home
last modified time | relevance | path

Searched refs:gv_drive (Results 1 – 17 of 17) sorted by relevance

/freebsd-10-stable/sys/geom/vinum/
Dgeom_vinum.h37 int gv_create_drive(struct gv_softc *, struct gv_drive *);
61 int gv_move_sd(struct gv_softc *, struct gv_sd *, struct gv_drive *, int);
65 int gv_rename_drive(struct gv_softc *, struct gv_drive *, char *, int);
74 void gv_rm_drive(struct gv_softc *, struct gv_drive *, int);
82 int gv_set_drive_state(struct gv_drive *, int, int);
93 struct gv_drive *gv_find_drive(struct gv_softc *, char *);
94 struct gv_drive *gv_find_drive_device(struct gv_softc *, char *);
105 struct gv_drive *);
106 int gv_sd_to_drive(struct gv_sd *, struct gv_drive *);
129 void gv_drive_lost(struct gv_softc *, struct gv_drive *);
Dgeom_vinum_share.c389 struct gv_drive *
392 struct gv_drive *d; in gv_alloc_drive()
395 d = g_malloc(sizeof(struct gv_drive), M_NOWAIT); in gv_alloc_drive()
397 d = malloc(sizeof(struct gv_drive)); in gv_alloc_drive()
401 bzero(d, sizeof(struct gv_drive)); in gv_alloc_drive()
438 struct gv_drive *
441 struct gv_drive *d; in gv_new_drive()
Dgeom_vinum_subr.c55 int gv_drive_is_newer(struct gv_softc *, struct gv_drive *);
59 gv_parse_config(struct gv_softc *sc, char *buf, struct gv_drive *d) in gv_parse_config()
182 struct gv_drive *d; in gv_format_config()
567 gv_sd_to_drive(struct gv_sd *s, struct gv_drive *d) in gv_sd_to_drive()
761 struct gv_drive *d; in gv_free_sd()
819 struct gv_drive *d; in gv_adjust_freespace()
923 struct gv_drive *
926 struct gv_drive *d; in gv_find_drive()
937 struct gv_drive *
940 struct gv_drive *d; in gv_find_drive_device()
[all …]
Dgeom_vinum_var.h227 LIST_HEAD(,gv_drive) drives; /* All drives. */
246 struct gv_drive { struct
269 LIST_ENTRY(gv_drive) drive; /* Entry in the vinum config. */ argument
301 struct gv_drive *drive_sc; /* Pointer to underlying drive. */
Dgeom_vinum_share.h47 struct gv_drive *gv_alloc_drive(void);
48 struct gv_drive *gv_new_drive(int, char **);
Dgeom_vinum_move.c47 struct gv_drive *d; in gv_move()
103 struct gv_drive *destination, int flags) in gv_move_sd()
105 struct gv_drive *d; in gv_move_sd()
Dgeom_vinum_create.c50 gv_create_drive(struct gv_softc *sc, struct gv_drive *d) in gv_create_drive()
55 struct gv_drive *d2; in gv_create_drive()
233 struct gv_drive *d; in gv_create_sd()
246 d = g_malloc(sizeof(struct gv_drive), in gv_create_sd()
311 struct gv_drive *d; in gv_concat()
376 struct gv_drive *d; in gv_mirror()
469 struct gv_drive *d; in gv_raid5()
546 struct gv_drive *d; in gv_stripe()
Dgeom_vinum_rm.c47 struct gv_drive *d; in gv_remove()
164 struct gv_drive *d, *d2; in gv_resetconfig()
300 gv_rm_drive(struct gv_softc *sc, struct gv_drive *d, int flags) in gv_rm_drive()
307 struct gv_drive *d2; in gv_rm_drive()
Dgeom_vinum_events.c104 struct gv_drive *d; in gv_drive_tasted()
201 gv_drive_lost(struct gv_softc *sc, struct gv_drive *d) in gv_drive_lost()
204 struct gv_drive *d2; in gv_drive_lost()
Dgeom_vinum_state.c43 struct gv_drive *d; in gv_setstate()
122 gv_set_drive_state(struct gv_drive *d, int newstate, int flags) in gv_set_drive_state()
156 struct gv_drive *d; in gv_set_sd_state()
377 struct gv_drive *d; in gv_update_sd_state()
Dgeom_vinum_list.c44 void gv_ldi(struct gv_drive *, struct sbuf *, int);
50 struct gv_drive *d; in gv_list()
442 struct gv_drive *d; in gv_ld()
462 gv_ldi(struct gv_drive *d, struct sbuf *sb, int flags) in gv_ldi()
Dgeom_vinum_rename.c50 struct gv_drive *d; in gv_rename()
123 gv_rename_drive(struct gv_softc *sc, struct gv_drive *d, char *newname, in gv_rename_drive()
Dgeom_vinum_init.c267 struct gv_drive *d; in gv_rebuild_plex()
352 struct gv_drive *d; in gv_init_plex()
Dgeom_vinum.c68 struct gv_drive *d; in gv_orphan()
132 struct gv_drive *d, *d2; in gv_access()
310 struct gv_drive *d, *d2; in gv_create()
637 struct gv_drive *d; in gv_worker()
Dgeom_vinum_drive.c265 struct gv_drive *d; in gv_save_config()
Dgeom_vinum_plex.c783 struct gv_drive *d; in gv_init_request()
830 struct gv_drive *d; in gv_init_complete()
/freebsd-10-stable/sbin/gvinum/
Dgvinum.c88 static void copy_device(struct gv_drive *, const char *);
177 struct gv_drive *d; in gvinum_create()
421 struct gv_drive *d; in create_drive()
637 copy_device(struct gv_drive *d, const char *device) in copy_device()
1267 struct gv_drive *d; in gvinum_grow()