• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/acpi/executer/

Lines Matching defs:target_desc

56  *              target_desc         - Destination object of the copy
65 union acpi_operand_object *target_desc)
81 if ((target_desc->buffer.length == 0) ||
82 (target_desc->common.flags & AOPOBJ_STATIC_POINTER)) {
83 target_desc->buffer.pointer = ACPI_ALLOCATE(length);
84 if (!target_desc->buffer.pointer) {
88 target_desc->buffer.length = length;
93 if (length <= target_desc->buffer.length) {
97 ACPI_MEMSET(target_desc->buffer.pointer, 0,
98 target_desc->buffer.length);
99 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, length);
120 target_desc->buffer.length = length;
126 ACPI_MEMCPY(target_desc->buffer.pointer, buffer,
127 target_desc->buffer.length);
131 length, target_desc->buffer.length));
136 target_desc->buffer.flags = source_desc->buffer.flags;
137 target_desc->common.flags &= ~AOPOBJ_STATIC_POINTER;
146 * target_desc - Destination object of the copy
156 union acpi_operand_object *target_desc)
172 if ((length < target_desc->string.length) &&
173 (!(target_desc->common.flags & AOPOBJ_STATIC_POINTER))) {
178 ACPI_MEMSET(target_desc->string.pointer, 0,
179 (acpi_size) target_desc->string.length + 1);
180 ACPI_MEMCPY(target_desc->string.pointer, buffer, length);
186 if (target_desc->string.pointer &&
187 (!(target_desc->common.flags & AOPOBJ_STATIC_POINTER))) {
191 ACPI_FREE(target_desc->string.pointer);
194 target_desc->string.pointer = ACPI_ALLOCATE_ZEROED((acpi_size)
196 if (!target_desc->string.pointer) {
200 target_desc->common.flags &= ~AOPOBJ_STATIC_POINTER;
201 ACPI_MEMCPY(target_desc->string.pointer, buffer, length);
206 target_desc->string.length = length;