Lines Matching refs:parent
77 aml_find_name(struct aml_name *parent, const u_int8_t *name)
81 if (!parent)
82 parent = &rootname;
83 for (result = parent->child; result; result = result->brother)
95 aml_find_from_namespace(struct aml_name *parent, const char *name)
102 if (!parent)
103 parent = &rootname;
107 parent = &rootname;
112 for (result = parent->child; result; result = result->brother) {
130 _aml_apply_foreach_found_objects(struct aml_name *parent, char *name,
142 for (child = parent->child; child; child = child->brother) {
155 for (ptr = parent->child; ptr; ptr = ptr->brother) {
169 * "\_GPE._L00" and so on. The name expression can include parent object
179 struct aml_name *child, *parent;
184 parent = &rootname;
186 parent = start;
190 parent = &rootname;
212 child = aml_find_from_namespace(parent, name);
221 parent = child->parent;
236 _aml_apply_foreach_found_objects(parent, name, len, shallow, func, ap);
274 aml_new_name(struct aml_name *parent, const u_int8_t *name)
278 if ((newname = aml_find_name(parent, name)) != NULL)
283 newname->parent = parent;
286 if (parent && parent->child)
287 newname->brother = parent->child;
290 if (parent)
291 parent->child = newname;
316 if (target->parent) {
317 if (target->parent->child == target) {
318 target->parent->child = target->brother;
320 ptr = target->parent->child;
328 } else if (target->parent) {
329 target->parent->child = NULL;
377 newname = newname->parent;
406 curname = curname->parent;
482 result->child = result->brother = result->parent = NULL;