Lines Matching refs:new
29 struct label *new; in add_label() local
32 for_each_label(*labels, new) in add_label()
33 if (streq(new->label, label)) in add_label()
36 new = xmalloc(sizeof(*new)); in add_label()
37 new->label = label; in add_label()
38 new->next = *labels; in add_label()
39 *labels = new; in add_label()
44 struct property *new = xmalloc(sizeof(*new)); in build_property() local
46 memset(new, 0, sizeof(*new)); in build_property()
48 new->name = name; in build_property()
49 new->val = val; in build_property()
51 return new; in build_property()
79 struct node *new = xmalloc(sizeof(*new)); in build_node() local
82 memset(new, 0, sizeof(*new)); in build_node()
84 new->proplist = reverse_properties(proplist); in build_node()
85 new->children = children; in build_node()
87 for_each_child(new, child) { in build_node()
88 child->parent = new; in build_node()
91 return new; in build_node()
207 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() local
209 memset(new, 0, sizeof(*new)); in build_reserve_entry()
211 new->re.address = address; in build_reserve_entry()
212 new->re.size = size; in build_reserve_entry()
214 return new; in build_reserve_entry()
227 struct reserve_info *new) in add_reserve_entry() argument
231 new->next = NULL; in add_reserve_entry()
234 return new; in add_reserve_entry()
239 last->next = new; in add_reserve_entry()