Lines Matching defs:scheme
678 struct g_part_scheme *iter, *scheme;
683 scheme = (table != NULL) ? table->gpt_scheme : NULL;
684 pri = (scheme != NULL) ? G_PART_PROBE(table, cp) : INT_MIN;
688 scheme = NULL;
703 scheme = iter;
714 return ((scheme == NULL) ? ENXIO : 0);
972 struct g_part_scheme *scheme;
978 scheme = gpp->gpp_scheme;
994 (gpp->gpp_entries < scheme->gps_minent ||
995 gpp->gpp_entries > scheme->gps_maxent)) {
1008 gpp->gpp_entries : scheme->gps_defent;
1049 * when the partitition scheme doesn't, we do it here in
1050 * scheme-independent code.
1542 * when the partitition scheme doesn't, we do it here in
1543 * scheme-independent code.
1745 if (!strcmp(ap->name, "scheme"))
1874 /* Allow the scheme to check or modify the parameters. */
2026 * when the partitition scheme doesn't, we do it here in
2027 * scheme-independent code.
2096 * libdisk compatibility quirk - the scheme dumps the
2123 sbuf_printf(sb, "%s<scheme>%s</scheme>\n", indent,
2286 if (g_handleattr_str(bp, "PART::scheme",
2300 * used. If the request comes from the nested scheme
2356 struct g_part_scheme *scheme;
2366 scheme = (void *)(*xchg);
2372 if (table->gpt_scheme != scheme)
2388 TAILQ_REMOVE(&g_part_schemes, scheme, scheme_list);
2394 g_part_modevent(module_t mod, int type, struct g_part_scheme *scheme)
2404 if (scheme == iter) {
2405 printf("GEOM_PART: scheme %s is already "
2406 "registered!\n", scheme->name);
2411 TAILQ_INSERT_TAIL(&g_part_schemes, scheme,
2417 arg = (uintptr_t)scheme;