Lines Matching defs:object

21  *              object              - Object to be attached
22 * type - Type of object, or ACPI_TYPE_ANY if not
27 * DESCRIPTION: Record the given object as the value associated with the
38 union acpi_operand_object *object, acpi_object_type type)
57 if (!object && (ACPI_TYPE_ANY != type)) {
59 /* Null object */
62 "Null object, but type not ACPI_TYPE_ANY"));
75 /* Check if this object is already attached */
77 if (node->object == object) {
80 object, node));
85 /* If null object, we will just install it */
87 if (!object) {
93 * If the source object is a namespace Node with an attached object,
94 * we will use that (attached) object
96 else if ((ACPI_GET_DESCRIPTOR_TYPE(object) == ACPI_DESC_TYPE_NAMED) &&
97 ((struct acpi_namespace_node *)object)->object) {
102 obj_desc = ((struct acpi_namespace_node *)object)->object;
103 object_type = ((struct acpi_namespace_node *)object)->type;
107 * Otherwise, we will use the parameter object, but we must type
111 obj_desc = (union acpi_operand_object *)object;
121 /* Detach an existing attached object if present */
123 if (node->object) {
130 * (if it is an internal object)
143 /* Install the object at the front of the object list */
145 last_obj_desc->common.next_object = node->object;
149 node->object = obj_desc;
158 * PARAMETERS: node - A Namespace node whose object will be detached
162 * DESCRIPTION: Detach/delete an object associated with a namespace node.
163 * if the object is an allocated object, it is freed.
174 obj_desc = node->object;
195 node->object = NULL;
198 /* Unlink object from front of possible object list */
200 node->object = obj_desc->common.next_object;
202 /* Handle possible 2-descriptor object */
204 if (node->object &&
205 (node->object->common.type != ACPI_TYPE_LOCAL_DATA)) {
206 node->object = node->object->common.next_object;
210 * Detach the object from any data objects (which are still held by
227 /* Remove one reference on the object (and all subobjects) */
239 * RETURN: Current value of the object field from the Node whose
242 * DESCRIPTION: Obtain the object attached to a namespace node.
257 if (!node->object ||
258 ((ACPI_GET_DESCRIPTOR_TYPE(node->object) != ACPI_DESC_TYPE_OPERAND)
259 && (ACPI_GET_DESCRIPTOR_TYPE(node->object) !=
261 || ((node->object)->common.type == ACPI_TYPE_LOCAL_DATA)) {
265 return_PTR(node->object);
274 * RETURN: Current value of the object field from the Node whose
277 * DESCRIPTION: Obtain a secondary object associated with a namespace node.
308 * DESCRIPTION: Low-level attach data. Create and attach a Data object.
323 obj_desc = node->object;
334 /* Create an internal object for the data */
344 /* Install the data object */
349 node->object = data_desc;
377 obj_desc = node->object;
385 node->object = obj_desc->common.next_object;
420 obj_desc = node->object;