geom_int.h (5dcf28b202aa90b85fba4b783c326680b3996255) geom_int.h (2874f1cf36f46861f3195cee145ccb36ff773996)
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 56 unchanged lines hidden (view full) ---

65 struct g_geom *geom;
66 struct g_provider *provider;
67 struct g_consumer *consumer;
68 void *arg;
69 g_call_me_t *func;
70};
71
72/* geom_dump.c */
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 56 unchanged lines hidden (view full) ---

65 struct g_geom *geom;
66 struct g_provider *provider;
67 struct g_consumer *consumer;
68 void *arg;
69 g_call_me_t *func;
70};
71
72/* geom_dump.c */
73struct sbuf * g_conf(void);
74struct sbuf * g_conf_specific(struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
75struct sbuf * g_confdot(void);
73void g_confxml(void *);
74void g_conf_specific(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
75void g_confdot(void *);
76
77
78/* geom_event.c */
79void g_event_init(void);
80void g_post_event(enum g_events ev, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
81void g_run_events(void);
82
83/* geom_subr.c */
84extern struct class_list_head g_classes;
85extern char *g_wait_event, *g_wait_sim, *g_wait_up, *g_wait_down;
86
87/* geom_io.c */
88void g_io_init(void);
89void g_io_schedule_down(struct thread *tp);
90void g_io_schedule_up(struct thread *tp);
91
92/* geom_kern.c / geom_kernsim.c */
93void g_init(void);
76
77
78/* geom_event.c */
79void g_event_init(void);
80void g_post_event(enum g_events ev, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
81void g_run_events(void);
82
83/* geom_subr.c */
84extern struct class_list_head g_classes;
85extern char *g_wait_event, *g_wait_sim, *g_wait_up, *g_wait_down;
86
87/* geom_io.c */
88void g_io_init(void);
89void g_io_schedule_down(struct thread *tp);
90void g_io_schedule_up(struct thread *tp);
91
92/* geom_kern.c / geom_kernsim.c */
93void g_init(void);