Lines Matching refs:geom
54 struct ggeom *geom;
104 if (!strcmp(name, "geom") && mt->geom == NULL) {
105 mt->geom = calloc(1, sizeof *mt->geom);
106 if (mt->geom == NULL) {
113 mt->geom->lg_id = id;
114 LIST_INSERT_HEAD(&mt->class->lg_geom, mt->geom, lg_geom);
115 LIST_INIT(&mt->geom->lg_provider);
116 LIST_INIT(&mt->geom->lg_consumer);
117 LIST_INIT(&mt->geom->lg_config);
120 if (!strcmp(name, "class") && mt->geom != NULL) {
121 mt->geom->lg_class = ref;
134 LIST_INSERT_HEAD(&mt->geom->lg_consumer, mt->consumer,
139 if (!strcmp(name, "geom") && mt->consumer != NULL) {
157 LIST_INSERT_HEAD(&mt->geom->lg_provider, mt->provider,
163 if (!strcmp(name, "geom") && mt->provider != NULL) {
176 if (mt->geom != NULL) {
177 mt->config = &mt->geom->lg_config;
218 } else if (mt->geom != NULL) {
219 mt->geom->lg_name = p;
226 if (!strcmp(name, "rank") && mt->geom != NULL) {
227 mt->geom->lg_rank = strtoul(p, NULL, 0);
267 (mt->provider != NULL || mt->geom != NULL))) {
273 c = &mt->geom->lg_config;
313 if (!strcmp(name, "geom") && mt->consumer != NULL) {
316 if (!strcmp(name, "geom") && mt->provider != NULL) {
319 if (!strcmp(name, "geom") && mt->geom != NULL) {
320 mt->geom = NULL;
323 if (!strcmp(name, "class") && mt->geom != NULL) {