Lines Matching defs:g_provider

52 struct g_provider;
63 typedef int g_ctl_create_geom_t (struct gctl_req *, struct g_class *cp, struct g_provider *pp);
68 typedef struct g_geom * g_taste_t (struct g_class *, struct g_provider *, int flags);
69 typedef int g_ioctl_t(struct g_provider *pp, u_long cmd, void *data, int fflag, struct thread *td);
73 typedef int g_access_t (struct g_provider *, int, int, int);
80 typedef void g_provgone_t (struct g_provider *);
82 struct g_consumer *, struct g_provider *);
135 LIST_HEAD(,g_provider) provider;
169 * A g_consumer is an attachment point for a g_provider. One g_consumer
170 * can only be attached to one g_provider, but multiple g_consumers
171 * can be attached to one g_provider.
177 struct g_provider *provider;
194 * A g_provider is a "logical disk".
196 struct g_provider {
198 LIST_ENTRY(g_provider) provider;
203 TAILQ_ENTRY(g_provider) orphan;
243 struct g_provider *g_dev_getprovider(struct cdev *dev);
258 int g_attr_changed(struct g_provider *pp, const char *attr, int flag);
259 int g_media_changed(struct g_provider *pp, int flag);
260 int g_media_gone(struct g_provider *pp, int flag);
261 void g_orphan_provider(struct g_provider *pp, int error);
266 int g_attach(struct g_consumer *cp, struct g_provider *pp);
270 void g_destroy_provider(struct g_provider *pp);
272 void g_error_provider(struct g_provider *pp, int error);
273 struct g_provider *g_provider_by_name(char const *arg);
285 struct g_provider * g_new_providerf(struct g_geom *gp, const char *fmt, ...)
287 void g_resize_provider(struct g_provider *pp, off_t size);
289 void g_spoil(struct g_provider *pp, struct g_consumer *cp);
290 int g_std_access(struct g_provider *pp, int dr, int dw, int de);
295 void g_wither_provider(struct g_provider *pp, int error);
308 KASSERT(g_valid_obj(foo) == 4, ("%p is not a g_provider", foo))
418 struct g_provider *gctl_get_provider(struct gctl_req *req, char const *arg);