• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/

Lines Matching refs:object

61 			      union acpi_operand_object *object,
74 * PARAMETERS: walk_state - Current walk state object
128 * PARAMETERS: walk_state - Current walk state object
146 if (walk_state->local_variables[index].object) {
150 object));
152 /* Detach object (if present) and remove a reference */
162 if (walk_state->arguments[index].object) {
165 walk_state->arguments[index].object));
167 /* Detach object (if present) and remove a reference */
182 * walk_state - Current walk state object
238 * walk_state - Current walk state object
303 * walk_state - Current walk state object
307 * DESCRIPTION: Insert an object onto the method stack at entry Opcode:Index.
315 union acpi_operand_object *object,
324 "NewObj %p Type %2.2X, Refs=%u [%s]\n", object,
325 type, object->common.reference_count,
326 acpi_ut_get_type_name(object->common.type)));
336 * Increment ref count so object can't be deleted while installed.
337 * NOTE: We do not copy the object in order to preserve the call by
341 acpi_ut_add_reference(object);
343 /* Install the object */
345 node->object = object;
356 * walk_state - Current walk state object
374 union acpi_operand_object *object;
378 /* Validate the object descriptor */
381 ACPI_ERROR((AE_INFO, "Null object descriptor pointer"));
392 /* Get the object from the node */
394 object = node->object;
396 /* Examine the returned object, it must be valid. */
398 if (!object) {
400 * Index points to uninitialized object.
410 object = acpi_ut_create_integer_object((u64) 0);
411 if (!object) {
415 node->object = object;
448 * The Index points to an initialized and valid object.
449 * Return an additional reference to the object
451 *dest_desc = object;
452 acpi_ut_add_reference(object);
464 * walk_state - Current walk state object
469 * a null into the stack slot after the object is deleted.
479 union acpi_operand_object *object;
490 /* Get the associated object */
492 object = acpi_ns_get_attached_object(node);
499 node->object = NULL;
501 if ((object) &&
502 (ACPI_GET_DESCRIPTOR_TYPE(object) == ACPI_DESC_TYPE_OPERAND)) {
504 * There is a valid object.
506 * increment when the object was stored.
508 acpi_ut_remove_reference(object);
568 * If the reference count on the object is more than one, we must
569 * take a copy of the object before we store. A reference count
570 * of exactly 1 means that the object was just created during the
585 * If there is an object already in this slot, we either
587 * is an object reference stored there, we have to do
593 * contains an object reference (stored as an Node).
596 * anything there, including an object reference.
609 * If we have a valid reference object that came from ref_of(),
624 * Store this object to the Node (perform the indirect store)
632 object,
636 /* Remove local reference if we copied the object above */
645 /* Delete the existing object before storing the new one */
653 * (increments the object reference count by one)
659 /* Remove local reference if we copied the object above */
675 * walk_state - Current walk state object
679 * DESCRIPTION: Get the type of the object stored in the Local or Arg
689 union acpi_operand_object *object;
700 /* Get the object */
702 object = acpi_ns_get_attached_object(node);
703 if (!object) {
710 /* Get the object type */
712 return_VALUE(object->type);