Lines Matching refs:mp

131     struct g_class *mp, struct g_geom *gp);
132 static void g_sched_config(struct gctl_req *req, struct g_class *mp,
134 static struct g_geom *g_sched_taste(struct g_class *mp,
138 static void g_sched_init(struct g_class *mp);
139 static void g_sched_fini(struct g_class *mp);
976 g_sched_create(struct gctl_req *req, struct g_class *mp,
989 LIST_FOREACH(gp, &mp->geom, geom) {
997 gp = g_new_geomf(mp, "%s", name);
1073 g_sched_change_algo(struct gctl_req *req, struct g_class *mp,
1346 g_sched_destroy_geom(struct gctl_req *req, struct g_class *mp,
1395 g_sched_init(struct g_class *mp)
1400 G_SCHED_DEBUG(0, "Loading: mp = %p, g_sched_class = %p.",
1401 mp, &g_sched_class);
1408 g_sched_fini(struct g_class *mp)
1482 g_sched_taste(struct g_class *mp, struct g_provider *pp,
1491 mp->name, pp->name);
1498 if (pp->geom->class == mp)
1530 g_sched_create(NULL, mp, pp, gsp, 0);
1537 g_sched_ctl_create(struct gctl_req *req, struct g_class *mp, int proxy)
1574 if (g_sched_create(req, mp, pp, gsp, proxy) != 0)
1582 g_sched_ctl_configure(struct gctl_req *req, struct g_class *mp)
1614 if (pp == NULL || pp->geom->class != mp) {
1619 if (g_sched_change_algo(req, mp, pp, gsp) != 0)
1627 g_sched_find_geom(struct g_class *mp, const char *name)
1631 LIST_FOREACH(gp, &mp->geom, geom) {
1639 g_sched_ctl_destroy(struct gctl_req *req, struct g_class *mp)
1660 gp = g_sched_find_geom(mp, name);
1677 g_sched_config(struct gctl_req *req, struct g_class *mp, const char *verb)
1696 g_sched_ctl_create(req, mp, 0);
1699 g_sched_ctl_create(req, mp, 1);
1702 g_sched_ctl_configure(req, mp);
1705 g_sched_ctl_destroy(req, mp);