| /freebsd-14-stable/sys/geom/ |
| HD | geom.h | 49 struct g_class; 63 typedef void g_ctl_req_t (struct gctl_req *, struct g_class *cp, char const *verb); 64 typedef int g_ctl_create_geom_t (struct gctl_req *, struct g_class *cp, struct g_provider *pp); 65 typedef int g_ctl_destroy_geom_t (struct gctl_req *, struct g_class *cp, struct g_geom *gp); 67 typedef void g_init_t (struct g_class *mp); 68 typedef void g_fini_t (struct g_class *mp); 69 typedef struct g_geom * g_taste_t (struct g_class *, struct g_provider *, int flags); 93 struct g_class { struct 119 LIST_ENTRY(g_class) class; argument 132 struct g_class *class; [all …]
|
| HD | geom_dump.c | 89 g_confdot_class(struct sbuf *sb, struct g_class *mp) in g_confdot_class() 100 struct g_class *mp; in g_confdot() 133 g_conftxt_class(struct sbuf *sb, struct g_class *mp) in g_conftxt_class() 144 struct g_class *mp; in g_conftxt() 283 g_conf_class(struct sbuf *sb, struct g_class *mp, struct g_geom **gps) in g_conf_class() 304 struct g_class *mp2; in g_conf_specific()
|
| HD | geom_slice.h | 78 struct g_geom * g_slice_new(struct g_class *mp, u_int slices, struct g_provider *pp, struct g_consu… 86 int g_slice_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp);
|
| HD | geom_subr.c | 75 struct g_class *mp; 127 struct g_class *mp2, *mp; in g_load_class() 182 g_unload_class(struct g_class *mp) in g_unload_class() 255 struct g_class *mp; in g_modevent() 304 struct g_class *mp, *mp2; in g_retaste_event() 347 g_retaste(struct g_class *mp) in g_retaste() 372 g_new_geomf(struct g_class *mp, const char *fmt, ...) in g_new_geomf() 484 struct g_class *mp; in g_wither_washer() 564 struct g_class *mp; in g_new_provider_event() 679 struct g_class *mp; in g_resize_provider_event() [all …]
|
| HD | geom_ctl.c | 445 struct g_class * 449 struct g_class *cp; in gctl_get_class() 465 gctl_get_geom(struct gctl_req *req, struct g_class *mp, char const *arg) in gctl_get_geom() 502 g_ctl_getxml(struct gctl_req *req, struct g_class *mp) in g_ctl_getxml() 560 struct g_class *mp; in g_ctl_req()
|
| HD | geom_kern.c | 233 SYSCTL_INT(_debug_sizeof, OID_AUTO, g_class, CTLFLAG_RD, 234 SYSCTL_NULL_INT_PTR, sizeof(struct g_class), "sizeof(struct g_class)");
|
| /freebsd-14-stable/sys/geom/mountver/ |
| HD | g_mountver.c | 65 static int g_mountver_destroy_geom(struct gctl_req *req, struct g_class *mp, 67 static void g_mountver_config(struct gctl_req *req, struct g_class *mp, 71 static void g_mountver_init(struct g_class *mp); 72 static void g_mountver_fini(struct g_class *mp); 74 struct g_class g_mountver_class = { 270 g_mountver_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp) in g_mountver_create() 394 g_mountver_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) in g_mountver_destroy_geom() 401 g_mountver_ctl_create(struct gctl_req *req, struct g_class *mp) in g_mountver_ctl_create() 429 g_mountver_find_geom(struct g_class *mp, const char *name) in g_mountver_find_geom() 441 g_mountver_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_mountver_ctl_destroy() [all …]
|
| /freebsd-14-stable/sys/geom/label/ |
| HD | g_label.c | 59 static int g_label_destroy_geom(struct gctl_req *req, struct g_class *mp, 62 static struct g_geom *g_label_taste(struct g_class *mp, struct g_provider *pp, 65 static void g_label_config(struct gctl_req *req, struct g_class *mp, 70 struct g_class g_label_class = { 129 g_label_destroy_geom(struct gctl_req *req __unused, struct g_class *mp, in g_label_destroy_geom() 222 g_label_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, in g_label_create() 379 g_label_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_label_taste() 441 g_label_ctl_create(struct gctl_req *req, struct g_class *mp) in g_label_ctl_create() 493 g_label_find_geom(struct g_class *mp, const char *name) in g_label_find_geom() 510 g_label_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_label_ctl_destroy() [all …]
|
| /freebsd-14-stable/sys/geom/raid/ |
| HD | g_raid_ctl.c | 49 g_raid_find_node(struct g_class *mp, const char *name) in g_raid_find_node() 99 g_raid_ctl_label(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_label() 148 g_raid_ctl_stop(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_stop() 188 g_raid_ctl_other(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_other() 226 g_raid_ctl(struct gctl_req *req, struct g_class *mp, const char *verb) in g_raid_ctl()
|
| HD | g_raid_md_if.m | 52 struct g_class *mp, struct g_geom **gp) 60 struct g_class *mp, struct gctl_req *req, struct g_geom **gp) 102 struct g_class *mp; 109 struct g_class *mp; 117 struct g_class *mp;
|
| /freebsd-14-stable/sys/geom/zero/ |
| HD | g_zero.c | 100 g_zero_init(struct g_class *mp) in g_zero_init() 119 g_zero_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, in g_zero_destroy_geom() 137 static struct g_class g_zero_class = {
|
| /freebsd-14-stable/sys/geom/multipath/ |
| HD | g_multipath.c | 95 g_multipath_destroy_geom(struct gctl_req *, struct g_class *, struct g_geom *); 97 static struct g_geom *g_multipath_find_geom(struct g_class *, const char *); 106 struct g_class g_multipath_class = { 534 g_multipath_create(struct g_class *mp, struct g_multipath_metadata *md) in g_multipath_create() 706 g_multipath_destroy_geom(struct gctl_req *req, struct g_class *mp, in g_multipath_destroy_geom() 745 g_multipath_init(struct g_class *mp) in g_multipath_init() 753 g_multipath_fini(struct g_class *mp) in g_multipath_fini() 815 g_multipath_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_multipath_taste() 945 g_multipath_ctl_add_name(struct gctl_req *req, struct g_class *mp, in g_multipath_ctl_add_name() 1010 g_multipath_ctl_prefer(struct gctl_req *req, struct g_class *mp) in g_multipath_ctl_prefer() [all …]
|
| /freebsd-14-stable/sys/geom/union/ |
| HD | g_union.c | 52 static void g_union_config(struct gctl_req *req, struct g_class *mp, 58 static int g_union_destroy_geom(struct gctl_req *req, struct g_class *mp, 63 struct g_class g_union_class = { 76 static void g_union_ctl_create(struct gctl_req *req, struct g_class *mp, bool); 79 static void g_union_ctl_destroy(struct gctl_req *req, struct g_class *mp, bool); 80 static struct g_geom *g_union_find_geom(struct g_class *mp, const char *name); 81 static void g_union_ctl_reset(struct gctl_req *req, struct g_class *mp, bool); 82 static void g_union_ctl_revert(struct gctl_req *req, struct g_class *mp, bool); 85 static void g_union_ctl_commit(struct gctl_req *req, struct g_class *mp, bool); 98 g_union_config(struct gctl_req *req, struct g_class *mp, const char *verb) in g_union_config() [all …]
|
| /freebsd-14-stable/sys/geom/shsec/ |
| HD | g_shsec.c | 52 static int g_shsec_destroy_geom(struct gctl_req *req, struct g_class *mp, 61 struct g_class g_shsec_class = { 112 g_shsec_init(struct g_class *mp __unused) in g_shsec_init() 124 g_shsec_fini(struct g_class *mp __unused) in g_shsec_fini() 526 g_shsec_create(struct g_class *mp, const struct g_shsec_metadata *md) in g_shsec_create() 620 g_shsec_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, in g_shsec_destroy_geom() 630 g_shsec_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_shsec_taste() 726 g_shsec_find_device(struct g_class *mp, const char *name) in g_shsec_find_device() 742 g_shsec_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_shsec_ctl_destroy() 789 g_shsec_config(struct gctl_req *req, struct g_class *mp, const char *verb) in g_shsec_config()
|
| /freebsd-14-stable/sys/geom/nop/ |
| HD | g_nop.c | 54 static int g_nop_destroy_geom(struct gctl_req *req, struct g_class *mp, 56 static void g_nop_config(struct gctl_req *req, struct g_class *mp, 65 struct g_class g_nop_class = { 335 g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, in g_nop_create() 530 g_nop_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) in g_nop_destroy_geom() 537 g_nop_ctl_create(struct gctl_req *req, struct g_class *mp) in g_nop_ctl_create() 691 g_nop_ctl_configure(struct gctl_req *req, struct g_class *mp) in g_nop_ctl_configure() 797 g_nop_find_geom(struct g_class *mp, const char *name) in g_nop_find_geom() 809 g_nop_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_nop_ctl_destroy() 858 g_nop_ctl_reset(struct gctl_req *req, struct g_class *mp) in g_nop_ctl_reset() [all …]
|
| /freebsd-14-stable/sys/geom/raid3/ |
| HD | g_raid3_ctl.c | 48 g_raid3_find_device(struct g_class *mp, const char *name) in g_raid3_find_device() 95 g_raid3_ctl_configure(struct gctl_req *req, struct g_class *mp) in g_raid3_ctl_configure() 261 g_raid3_ctl_rebuild(struct gctl_req *req, struct g_class *mp) in g_raid3_ctl_rebuild() 333 g_raid3_ctl_stop(struct gctl_req *req, struct g_class *mp) in g_raid3_ctl_stop() 394 g_raid3_ctl_insert(struct gctl_req *req, struct g_class *mp) in g_raid3_ctl_insert() 527 g_raid3_ctl_remove(struct gctl_req *req, struct g_class *mp) in g_raid3_ctl_remove() 599 g_raid3_config(struct gctl_req *req, struct g_class *mp, const char *verb) in g_raid3_config()
|
| /freebsd-14-stable/sys/geom/mirror/ |
| HD | g_mirror_ctl.c | 50 g_mirror_find_device(struct g_class *mp, const char *name) in g_mirror_find_device() 80 g_mirror_find_launched_device(struct g_class *mp, const char *name, int flags) in g_mirror_find_launched_device() 146 g_mirror_ctl_configure(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_configure() 364 g_mirror_ctl_create(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_create() 525 g_mirror_ctl_rebuild(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_rebuild() 608 g_mirror_ctl_insert(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_insert() 792 g_mirror_ctl_remove(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_remove() 856 g_mirror_ctl_resize(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_resize() 924 g_mirror_ctl_deactivate(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_deactivate() 986 g_mirror_ctl_forget(struct gctl_req *req, struct g_class *mp) in g_mirror_ctl_forget() [all …]
|
| /freebsd-14-stable/sys/geom/bde/ |
| HD | g_bde.c | 114 g_bde_create_geom(struct gctl_req *req, struct g_class *mp, struct g_provider *pp) in g_bde_create_geom() 232 g_bde_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) in g_bde_destroy_geom() 266 g_bde_ctlreq(struct gctl_req *req, struct g_class *mp, char const *verb) in g_bde_ctlreq() 284 static struct g_class g_bde_class = {
|
| /freebsd-14-stable/sys/geom/eli/ |
| HD | g_eli_ctl.c | 53 g_eli_ctl_attach(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_attach() 168 g_eli_find_device(struct g_class *mp, const char *prov) in g_eli_find_device() 194 g_eli_ctl_detach(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_detach() 252 g_eli_ctl_onetime(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_onetime() 386 g_eli_ctl_configure(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_configure() 640 g_eli_ctl_setkey(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_setkey() 748 g_eli_ctl_delkey(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_delkey() 910 g_eli_ctl_suspend(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_suspend() 969 g_eli_ctl_resume(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_resume() 1105 g_eli_ctl_kill(struct gctl_req *req, struct g_class *mp) in g_eli_ctl_kill() [all …]
|
| HD | g_eli.c | 207 static int g_eli_read_metadata_offset(struct g_class *mp, struct g_provider *pp, 210 static int g_eli_destroy_geom(struct gctl_req *req, struct g_class *mp, 212 static void g_eli_init(struct g_class *mp); 213 static void g_eli_fini(struct g_class *mp); 218 struct g_class g_eli_class = { 763 g_eli_read_metadata_offset(struct g_class *mp, struct g_provider *pp, in g_eli_read_metadata_offset() 813 g_eli_read_metadata(struct g_class *mp, struct g_provider *pp, in g_eli_read_metadata() 1005 g_eli_create(struct gctl_req *req, struct g_class *mp, struct g_provider *bpp, in g_eli_create() 1245 struct g_class *mp __unused, struct g_geom *gp) in g_eli_destroy_geom() 1322 g_eli_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_eli_taste() [all …]
|
| /freebsd-14-stable/sys/geom/cache/ |
| HD | g_cache.c | 101 struct g_class g_cache_class = { 457 g_cache_find_device(struct g_class *mp, const char *name) in g_cache_find_device() 469 g_cache_create(struct g_class *mp, struct g_provider *pp, in g_cache_create() 598 g_cache_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) in g_cache_destroy_geom() 657 g_cache_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_cache_taste() 704 g_cache_ctl_create(struct gctl_req *req, struct g_class *mp) in g_cache_ctl_create() 770 g_cache_ctl_configure(struct gctl_req *req, struct g_class *mp) in g_cache_ctl_configure() 850 g_cache_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_cache_ctl_destroy() 897 g_cache_ctl_reset(struct gctl_req *req, struct g_class *mp) in g_cache_ctl_reset() 942 g_cache_config(struct gctl_req *req, struct g_class *mp, const char *verb) in g_cache_config()
|
| /freebsd-14-stable/sys/geom/virstor/ |
| HD | g_virstor.c | 70 struct g_class g_virstor_class = { 107 static struct g_geom *create_virstor_geom(struct g_class *, 124 static void virstor_ctl_stop(struct gctl_req *, struct g_class *); 125 static void virstor_ctl_add(struct gctl_req *, struct g_class *); 126 static void virstor_ctl_remove(struct gctl_req *, struct g_class *); 127 static struct g_virstor_softc * virstor_find_geom(const struct g_class *, 145 g_virstor_init(struct g_class *mp __unused) in g_virstor_init() 159 g_virstor_fini(struct g_class *mp __unused) in g_virstor_fini() 169 g_virstor_config(struct gctl_req *req, struct g_class *cp, char const *verb) in g_virstor_config() 201 virstor_ctl_stop(struct gctl_req *req, struct g_class *cp) in virstor_ctl_stop() [all …]
|
| /freebsd-14-stable/sys/geom/stripe/ |
| HD | g_stripe.c | 52 static int g_stripe_destroy_geom(struct gctl_req *req, struct g_class *mp, 61 struct g_class g_stripe_class = { 116 g_stripe_init(struct g_class *mp __unused) in g_stripe_init() 128 g_stripe_fini(struct g_class *mp __unused) in g_stripe_fini() 830 g_stripe_create(struct g_class *mp, const struct g_stripe_metadata *md, in g_stripe_create() 943 struct g_class *mp __unused, struct g_geom *gp) in g_stripe_destroy_geom() 952 g_stripe_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_stripe_taste() 1057 g_stripe_ctl_create(struct gctl_req *req, struct g_class *mp) in g_stripe_ctl_create() 1145 g_stripe_find_device(struct g_class *mp, const char *name) in g_stripe_find_device() 1161 g_stripe_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_stripe_ctl_destroy() [all …]
|
| /freebsd-14-stable/sys/geom/concat/ |
| HD | g_concat.c | 57 static int g_concat_destroy_geom(struct gctl_req *req, struct g_class *mp, 64 struct g_class g_concat_class = { 625 g_concat_create(struct g_class *mp, const struct g_concat_metadata *md, in g_concat_create() 730 struct g_class *mp __unused, struct g_geom *gp) in g_concat_destroy_geom() 739 g_concat_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) in g_concat_taste() 844 g_concat_ctl_create(struct gctl_req *req, struct g_class *mp) in g_concat_ctl_create() 925 g_concat_find_device(struct g_class *mp, const char *name) in g_concat_find_device() 944 g_concat_ctl_destroy(struct gctl_req *req, struct g_class *mp) in g_concat_ctl_destroy() 1053 g_concat_ctl_append(struct gctl_req *req, struct g_class *mp) in g_concat_ctl_append() 1188 g_concat_config(struct gctl_req *req, struct g_class *mp, const char *verb) in g_concat_config()
|
| /freebsd-14-stable/sys/dev/ofw/ |
| HD | ofw_disk.c | 64 struct g_class g_ofwd_class = { 133 g_ofwd_init(struct g_class *mp __unused) in g_ofwd_init()
|