Lines Matching refs:consumer
54 struct gconsumer *consumer;
122 if (!strcmp(name, "consumer") && mt->consumer == NULL) {
123 mt->consumer = calloc(1, sizeof *mt->consumer);
124 if (mt->consumer == NULL) {
131 mt->consumer->lg_id = id;
132 LIST_INSERT_HEAD(&mt->geom->lg_consumer, mt->consumer,
134 LIST_INIT(&mt->consumer->lg_config);
137 if (!strcmp(name, "geom") && mt->consumer != NULL) {
138 mt->consumer->lg_geom = ref;
141 if (!strcmp(name, "provider") && mt->consumer != NULL) {
142 mt->consumer->lg_provider = ref;
170 if (mt->consumer != NULL) {
171 mt->config = &mt->consumer->lg_config;
233 if (!strcmp(name, "mode") && mt->consumer != NULL) {
234 mt->consumer->lg_mode = p;
301 if (!strcmp(name, "consumer") && mt->consumer != NULL) {
302 mt->consumer = NULL;
309 if (!strcmp(name, "geom") && mt->consumer != NULL) {