Lines Matching refs:aml_name
1 /* $NetBSD: aml_name.c,v 1.4 2009/10/08 13:16:13 cegger Exp $ */
30 * Id: aml_name.c,v 1.15 2000/08/16 18:14:53 iwasaki Exp
31 * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_name.c,v 1.3 2000/11/09 06:24:45 iwasaki Exp $
34 __RCSID("$NetBSD: aml_name.c,v 1.4 2009/10/08 13:16:13 cegger Exp $");
42 #include <aml/aml_name.h>
54 static struct aml_name *aml_find_name(struct aml_name *, const u_int8_t *);
55 static struct aml_name *aml_new_name(struct aml_name *, const u_int8_t *);
56 static void aml_delete_name(struct aml_name *);
58 static struct aml_name rootname = {"\\", NULL, NULL, NULL, NULL, NULL};
69 struct aml_name *
76 static struct aml_name *
77 aml_find_name(struct aml_name *parent, const u_int8_t *name)
79 struct aml_name *result;
94 struct aml_name *
95 aml_find_from_namespace(struct aml_name *parent, const char *name)
99 struct aml_name *result;
130 _aml_apply_foreach_found_objects(struct aml_name *parent, char *name,
131 int len, int shallow, int (*func)(struct aml_name *, va_list), va_list ap)
133 struct aml_name *child, *ptr;
175 aml_apply_foreach_found_objects(struct aml_name *start, char *name,
176 int (*func)(struct aml_name *, va_list), ...)
179 struct aml_name *child, *parent;
273 static struct aml_name *
274 aml_new_name(struct aml_name *parent, const u_int8_t *name)
276 struct aml_name *newname;
304 aml_delete_name(struct aml_name *target)
306 struct aml_name *next;
307 struct aml_name *ptr;
338 static struct aml_name *aml_nameman(struct aml_environ *, const u_int8_t *, int);
340 struct aml_name *
347 struct aml_name *
354 static struct aml_name *
359 struct aml_name *newname, *curname;
360 struct aml_name *(*searchfunc) (struct aml_name *, const u_int8_t *);
456 struct aml_name *
465 struct aml_name *
476 struct aml_name *
479 struct aml_name *result;