Lines Matching defs:geom
53 struct ggeom *geom;
103 if (!strcmp(name, "geom") && mt->geom == NULL) {
104 mt->geom = calloc(1, sizeof *mt->geom);
105 if (mt->geom == NULL) {
112 mt->geom->lg_id = id;
113 LIST_INSERT_HEAD(&mt->class->lg_geom, mt->geom, lg_geom);
114 LIST_INIT(&mt->geom->lg_provider);
115 LIST_INIT(&mt->geom->lg_consumer);
116 LIST_INIT(&mt->geom->lg_config);
119 if (!strcmp(name, "class") && mt->geom != NULL) {
120 mt->geom->lg_class = ref;
133 LIST_INSERT_HEAD(&mt->geom->lg_consumer, mt->consumer,
138 if (!strcmp(name, "geom") && mt->consumer != NULL) {
156 LIST_INSERT_HEAD(&mt->geom->lg_provider, mt->provider,
162 if (!strcmp(name, "geom") && mt->provider != NULL) {
175 if (mt->geom != NULL) {
176 mt->config = &mt->geom->lg_config;
217 } else if (mt->geom != NULL) {
218 mt->geom->lg_name = p;
225 if (!strcmp(name, "rank") && mt->geom != NULL) {
226 mt->geom->lg_rank = strtoul(p, NULL, 0);
266 (mt->provider != NULL || mt->geom != NULL))) {
272 c = &mt->geom->lg_config;
312 if (!strcmp(name, "geom") && mt->consumer != NULL) {
315 if (!strcmp(name, "geom") && mt->provider != NULL) {
318 if (!strcmp(name, "geom") && mt->geom != NULL) {
319 mt->geom = NULL;
322 if (!strcmp(name, "class") && mt->geom != NULL) {