Lines Matching refs:to_add

585 		struct catalog_member_zone* to_add;
829 to_add= catalog_member_zone_create(xfrd->nsd->options->region);
830 to_add->options.name = region_strdup(
832 to_add->options.pattern = pattern;
834 &to_add->options)) {
839 &to_add->options);
842 to_add->member_id = dname_copy( xfrd->nsd->options->region
845 to_add->node.key = to_add;
846 if(!rbtree_insert( &consumer_zone->member_ids, &to_add->node)){
853 cursor = rbtree_next(&to_add->node);
858 getzonestatid(xfrd->nsd->options, &to_add->options));
863 if(zone_is_catalog_consumer(&to_add->options)) {
864 xfrd_init_catalog_consumer_zone(xfrd,&to_add->options);
869 &to_add->options);
871 if(zone_is_slave(&to_add->options)) {
872 xfrd_init_slave_zone(xfrd, &to_add->options);
955 producer_zone->to_add = NULL;
969 struct xfrd_producer_member* to_add;
997 /* Put data to be added to the producer zone to the to_add stack */
998 to_add = (struct xfrd_producer_member*)region_alloc(xfrd->region,
1000 to_add->member_id = cmz->member_id;
1001 to_add->member_zone_name = (dname_type*)cmz->options.node.key;
1002 to_add->group_name = cmz->options.pattern->pname;
1003 to_add->next = producer_zone->to_add;
1004 producer_zone->to_add = to_add;
1186 if(!producer_zone->to_add && !producer_zone->to_delete)
1195 assert(producer_zone->to_add && !producer_zone->to_delete);
1235 while(producer_zone->to_add) {
1236 struct xfrd_producer_member* to_add = producer_zone->to_add;
1238 /* Pop to_add from stack */
1239 producer_zone->to_add = to_add->next;
1240 to_add->next = NULL;
1243 xfr_writer_add_PTR(&xw, to_add->member_id,
1244 to_add->member_zone_name);
1249 , to_add->member_id)
1250 , to_add->group_name);
1255 region_recycle(xfrd->region, to_add, sizeof(*to_add));