Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 618) sorted by relevance

12345678910>>...25

/linux-2.6.39/drivers/acpi/acpica/
Dexstorob.c81 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); in acpi_ex_store_buffer_to_buffer()
90 target_desc->buffer.pointer = ACPI_ALLOCATE(length); in acpi_ex_store_buffer_to_buffer()
91 if (!target_desc->buffer.pointer) { in acpi_ex_store_buffer_to_buffer()
104 ACPI_MEMSET(target_desc->buffer.pointer, 0, in acpi_ex_store_buffer_to_buffer()
106 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, length); in acpi_ex_store_buffer_to_buffer()
133 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, in acpi_ex_store_buffer_to_buffer()
178 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string()
191 ACPI_MEMSET(target_desc->string.pointer, 0, in acpi_ex_store_string_to_string()
193 ACPI_MEMCPY(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
199 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
[all …]
Dtbinstal.c71 if (!table_desc->pointer) { in acpi_tb_verify_table()
74 table_desc->pointer = in acpi_tb_verify_table()
78 if (!table_desc->pointer) { in acpi_tb_verify_table()
90 acpi_tb_verify_checksum(table_desc->pointer, in acpi_tb_verify_table()
121 if (!table_desc->pointer) { in acpi_tb_add_table()
123 if (ACPI_FAILURE(status) || !table_desc->pointer) { in acpi_tb_add_table()
141 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_add_table()
146 || !acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_add_table()
160 if (ACPI_MEMCMP(table_desc->pointer, in acpi_tb_add_table()
161 acpi_gbl_root_table_list.tables[i].pointer, in acpi_tb_add_table()
[all …]
Dexconfig.c171 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ex_load_table_op()
172 operand[1]->string.pointer, in acpi_ex_load_table_op()
173 operand[2]->string.pointer, &table_index); in acpi_ex_load_table_op()
203 acpi_ns_get_node(start_node, operand[3]->string.pointer, in acpi_ex_load_table_op()
213 if ((operand[4]->string.pointer[0] != '\\') && in acpi_ex_load_table_op()
214 (operand[4]->string.pointer[0] != '^')) { in acpi_ex_load_table_op()
225 acpi_ns_get_node(start_node, operand[4]->string.pointer, in acpi_ex_load_table_op()
419 table_desc.pointer = ACPI_ALLOCATE(length); in acpi_ex_load_op()
420 if (!table_desc.pointer) { in acpi_ex_load_op()
428 table_desc.pointer)); in acpi_ex_load_op()
[all …]
Dutcopy.c145 external_object->string.pointer = (char *)data_space; in acpi_ut_copy_isimple_to_esimple()
153 (void *)internal_object->string.pointer, in acpi_ut_copy_isimple_to_esimple()
159 external_object->buffer.pointer = data_space; in acpi_ut_copy_isimple_to_esimple()
166 (void *)internal_object->buffer.pointer, in acpi_ut_copy_isimple_to_esimple()
408 ret_buffer->pointer, in acpi_ut_copy_iobject_to_eobject()
418 pointer), in acpi_ut_copy_iobject_to_eobject()
421 pointer, in acpi_ut_copy_iobject_to_eobject()
498 internal_object->string.pointer = in acpi_ut_copy_esimple_to_isimple()
502 if (!internal_object->string.pointer) { in acpi_ut_copy_esimple_to_isimple()
506 ACPI_MEMCPY(internal_object->string.pointer, in acpi_ut_copy_esimple_to_isimple()
[all …]
Dexconvrt.c76 u8 *pointer; in acpi_ex_convert_to_integer() local
97 pointer = obj_desc->buffer.pointer; in acpi_ex_convert_to_integer()
127 status = acpi_ut_strtoul64((char *)pointer, flags, &result); in acpi_ex_convert_to_integer()
157 result |= (((u64) pointer[i]) << (i * 8)); in acpi_ex_convert_to_integer()
229 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
255 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
256 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer()
446 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string()
478 if (obj_desc->buffer.pointer[i] >= 100) { in acpi_ex_convert_to_string()
480 } else if (obj_desc->buffer.pointer[i] >= 10) { in acpi_ex_convert_to_string()
[all …]
Dexmisc.c187 length0 = ACPI_PTR_DIFF(end_tag, operand0->buffer.pointer); in acpi_ex_concat_template()
196 length1 = ACPI_PTR_DIFF(end_tag, operand1->buffer.pointer); in acpi_ex_concat_template()
213 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template()
214 ACPI_MEMCPY(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template()
215 ACPI_MEMCPY(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template()
315 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
343 new_buf = return_desc->string.pointer; in acpi_ex_do_concatenate()
347 ACPI_STRCPY(new_buf, operand0->string.pointer); in acpi_ex_do_concatenate()
349 local_operand1->string.pointer); in acpi_ex_do_concatenate()
366 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
[all …]
Drscreate.c87 aml_start = aml_buffer->buffer.pointer; in acpi_rs_create_resource_list()
111 resource = output_buffer->pointer; in acpi_rs_create_resource_list()
120 output_buffer->pointer, (u32) output_buffer->length)); in acpi_rs_create_resource_list()
190 buffer = output_buffer->pointer; in acpi_rs_create_pci_routing_table()
304 (u8 *) output_buffer->pointer); in acpi_rs_create_pci_routing_table()
305 path_buffer.pointer = user_prt->source; in acpi_rs_create_pci_routing_table()
321 obj_desc->string.pointer); in acpi_rs_create_pci_routing_table()
375 output_buffer->pointer, (u32) output_buffer->length)); in acpi_rs_create_pci_routing_table()
436 output_buffer->pointer); in acpi_rs_create_aml_resources()
442 output_buffer->pointer, (u32) output_buffer->length)); in acpi_rs_create_aml_resources()
Dtbfind.c97 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
108 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
116 (acpi_gbl_root_table_list.tables[i].pointer->signature, in acpi_tb_find_table()
121 tables[i].pointer-> in acpi_tb_find_table()
127 pointer->oem_table_id, in acpi_tb_find_table()
Dnsrepair.c232 status = acpi_ut_strtoul64(original_object->string.pointer, in acpi_ns_convert_to_integer()
252 pointer[i] << (i * 8)); in acpi_ns_convert_to_integer()
325 (original_object->buffer.pointer[length])) { in acpi_ns_convert_to_string()
340 ACPI_MEMCPY(new_object->string.pointer, in acpi_ns_convert_to_string()
341 original_object->buffer.pointer, length); in acpi_ns_convert_to_string()
403 ACPI_MEMCPY(new_object->buffer.pointer, in acpi_ns_convert_to_buffer()
404 original_object->string.pointer, in acpi_ns_convert_to_buffer()
438 dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); in acpi_ns_convert_to_buffer()
492 buffer = original_object->buffer.pointer; in acpi_ns_convert_to_package()
Dutalloc.c219 if (!buffer->pointer) { in acpi_ut_validate_buffer()
274 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()
281 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()
296 if (!buffer->pointer) { in acpi_ut_initialize_buffer()
302 ACPI_MEMSET(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
/linux-2.6.39/drivers/gpu/drm/i915/
Dintel_acpi.c40 input.pointer = params; in intel_dsm()
43 params[0].buffer.pointer = (char *)intel_dsm_guid; in intel_dsm()
57 obj = (union acpi_object *)output.pointer; in intel_dsm()
67 result =(obj->buffer.pointer[0] | in intel_dsm()
68 (obj->buffer.pointer[1] << 8) | in intel_dsm()
69 (obj->buffer.pointer[2] << 16) | in intel_dsm()
70 (obj->buffer.pointer[3] << 24)); in intel_dsm()
80 kfree(output.pointer); in intel_dsm()
145 input.pointer = params; in intel_dsm_platform_mux_info()
148 params[0].buffer.pointer = (char *)intel_dsm_guid; in intel_dsm_platform_mux_info()
[all …]
/linux-2.6.39/arch/ia64/sn/kernel/
Dio_acpi_init.c85 (char *)name_buffer.pointer); in sn_acpi_hubdev_init()
86 kfree(name_buffer.pointer); in sn_acpi_hubdev_init()
90 resource = buffer.pointer; in sn_acpi_hubdev_init()
98 vendor->byte_length, (char *)name_buffer.pointer); in sn_acpi_hubdev_init()
99 kfree(name_buffer.pointer); in sn_acpi_hubdev_init()
113 kfree(buffer.pointer); in sn_acpi_hubdev_init()
141 __func__, status, (char *)name_buffer.pointer); in sn_get_bussoft_ptr()
142 kfree(name_buffer.pointer); in sn_get_bussoft_ptr()
145 resource = buffer.pointer; in sn_get_bussoft_ptr()
153 kfree(buffer.pointer); in sn_get_bussoft_ptr()
[all …]
/linux-2.6.39/drivers/ide/
Dide-acpi.c235 output.pointer = NULL; /* ACPI-CA sets this; save/free it later */ in do_drive_get_GTF()
248 if (!output.length || !output.pointer) { in do_drive_get_GTF()
252 output.pointer); in do_drive_get_GTF()
256 out_obj = output.pointer; in do_drive_get_GTF()
262 kfree(output.pointer); in do_drive_get_GTF()
266 if (!out_obj->buffer.length || !out_obj->buffer.pointer || in do_drive_get_GTF()
271 out_obj->buffer.pointer); in do_drive_get_GTF()
273 kfree(output.pointer); in do_drive_get_GTF()
278 *gtf_address = (unsigned long)out_obj->buffer.pointer; in do_drive_get_GTF()
394 output.pointer = NULL; /* ACPI-CA sets this; save/free it later */ in ide_acpi_get_timing()
[all …]
/linux-2.6.39/drivers/acpi/
Dutils.c75 if (!format || !format->pointer || (format->length < 1)) { in acpi_extract_package()
93 format_string = format->pointer; in acpi_extract_package()
173 } else if (buffer->length != size_required || !buffer->pointer) { in acpi_extract_package()
177 head = buffer->pointer; in acpi_extract_package()
178 tail = buffer->pointer + tail_offset; in acpi_extract_package()
185 u8 **pointer = NULL; in acpi_extract_package() local
202 pointer = (u8 **) head; in acpi_extract_package()
203 *pointer = tail; in acpi_extract_package()
222 pointer = (u8 **) head; in acpi_extract_package()
223 *pointer = tail; in acpi_extract_package()
[all …]
Dprocessor_core.c144 if (!buffer.length || !buffer.pointer) in map_mat_entry()
147 obj = buffer.pointer; in map_mat_entry()
153 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
161 if (buffer.pointer) in map_mat_entry()
162 kfree(buffer.pointer); in map_mat_entry()
270 obj->buffer.pointer = (u8 *) buf; in acpi_processor_alloc_pdc()
272 obj_list->pointer = obj; in acpi_processor_alloc_pdc()
295 obj = pdc_in->pointer; in acpi_processor_eval_pdc()
296 buffer = (u32 *)(obj->buffer.pointer); in acpi_processor_eval_pdc()
322 kfree(obj_list->pointer->buffer.pointer); in acpi_processor_set_pdc()
[all …]
Dbus.c404 printk(KERN_DEBUG "%s:%s\n", (char *)buffer.pointer, error); in acpi_print_osc_error()
405 kfree(buffer.pointer); in acpi_print_osc_error()
409 printk("%x ", *((u32 *)(context->cap.pointer + i))); in acpi_print_osc_error()
450 context->ret.pointer = NULL; in acpi_run_osc()
454 input.pointer = in_params; in acpi_run_osc()
457 in_params[0].buffer.pointer = uuid; in acpi_run_osc()
464 in_params[3].buffer.pointer = context->cap.pointer; in acpi_run_osc()
473 out_obj = output.pointer; in acpi_run_osc()
482 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
494 if (((u32 *)context->cap.pointer)[OSC_QUERY_TYPE] in acpi_run_osc()
[all …]
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c56 input.pointer = params; in nouveau_dsm()
59 params[0].buffer.pointer = (char *)nouveau_dsm_muid; in nouveau_dsm()
73 obj = (union acpi_object *)output.pointer; in nouveau_dsm()
82 *result |= obj->buffer.pointer[0]; in nouveau_dsm()
83 *result |= (obj->buffer.pointer[1] << 8); in nouveau_dsm()
84 *result |= (obj->buffer.pointer[2] << 16); in nouveau_dsm()
85 *result |= (obj->buffer.pointer[3] << 24); in nouveau_dsm()
89 kfree(output.pointer); in nouveau_dsm()
226 rom_arg.pointer = &rom_arg_elements[0]; in nouveau_rom_call()
239 obj = (union acpi_object *)buffer.pointer; in nouveau_rom_call()
[all …]
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c46 atrm_arg.pointer = &atrm_arg_elements[0]; in radeon_atrm_call()
60 obj = (union acpi_object *)buffer.pointer; in radeon_atrm_call()
61 memcpy(bios+offset, obj->buffer.pointer, len); in radeon_atrm_call()
62 kfree(buffer.pointer); in radeon_atrm_call()
91 atpx_arg.pointer = &atpx_arg_elements[0]; in radeon_atpx_get_version()
104 obj = (union acpi_object *)buffer.pointer; in radeon_atpx_get_version()
106 printk(KERN_INFO "radeon atpx: version is %d\n", *((u8 *)(obj->buffer.pointer) + 2)); in radeon_atpx_get_version()
107 kfree(buffer.pointer); in radeon_atpx_get_version()
123 atpx_arg.pointer = &atpx_arg_elements[0]; in radeon_atpx_execute()
133 atpx_arg_elements[1].buffer.pointer = buf; in radeon_atpx_execute()
[all …]
/linux-2.6.39/fs/cifs/
Dasn1.c95 unsigned char *pointer; /* Octet just to be decoded */ member
113 ctx->pointer = buf; in asn1_open()
120 if (ctx->pointer >= ctx->end) { in asn1_octet_decode()
124 *ch = *(ctx->pointer)++; in asn1_octet_decode()
134 if (ctx->pointer >= ctx->end) {
139 ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to length octet */
141 *val = *(++(ctx->pointer)); /* value has enum value */
145 ctx->pointer++;
216 if (*len > ctx->end - ctx->pointer) in asn1_length_decode()
241 *eoc = ctx->pointer + len; in asn1_header_decode()
[all …]
/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dpcc-cpufreq.c271 pccp = buffer.pointer; in pcc_get_offset()
300 kfree(buffer.pointer); in pcc_get_offset()
317 input.pointer = in_params; in pcc_cpufreq_do_osc()
320 in_params[0].buffer.pointer = OSC_UUID; in pcc_cpufreq_do_osc()
327 in_params[3].buffer.pointer = (u8 *)&capabilities; in pcc_cpufreq_do_osc()
339 out_obj = output.pointer; in pcc_cpufreq_do_osc()
345 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
351 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
357 kfree(output.pointer); in pcc_cpufreq_do_osc()
368 out_obj = output.pointer; in pcc_cpufreq_do_osc()
[all …]
/linux-2.6.39/arch/xtensa/lib/
Dstrncpy_user.S43 # a1/ stack pointer
79 addi a3, a3, 1 # advance src pointer
82 addi a11, a11, 1 # advance dst pointer
92 addi a11, a11, 1 # advance dst pointer
96 addi a3, a3, 2 # advance src pointer
99 addi a11, a11, 1 # advance dst pointer
121 addi a3, a3, 4 # advance src pointer
127 addi a11, a11, 4 # advance dst pointer
136 addi a3, a3, 2 # advance src pointer
145 addi a11, a11, 2 # advance dst pointer
[all …]
/linux-2.6.39/net/wireless/
Dwext-priv.c147 if (!iwp->pointer && iwp->length != 0) in ioctl_private_iw_point()
152 } else if (!iwp->pointer) in ioctl_private_iw_point()
161 if (copy_from_user(extra, iwp->pointer, extra_size)) { in ioctl_private_iw_point()
178 if (copy_to_user(iwp->pointer, extra, extra_size)) in ioctl_private_iw_point()
231 iwp.pointer = compat_ptr(iwp_compat->pointer); in compat_private_call()
238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
/linux-2.6.39/fs/xfs/
Dxfs_arch.h80 #define INT_GET_UNALIGNED_16_BE(pointer) \ argument
81 ((__u16)((((__u8*)(pointer))[0] << 8) | (((__u8*)(pointer))[1])))
82 #define INT_SET_UNALIGNED_16_BE(pointer,value) \ argument
84 ((__u8*)(pointer))[0] = (((value) >> 8) & 0xff); \
85 ((__u8*)(pointer))[1] = (((value) ) & 0xff); \
/linux-2.6.39/sound/mips/
Dau1x00.c133 struct au1000_period * pointer; in au1000_release_dma_link() local
138 pointer = stream->buffer; in au1000_release_dma_link()
139 if (! pointer) in au1000_release_dma_link()
142 pointer_next = pointer->next; in au1000_release_dma_link()
143 kfree(pointer); in au1000_release_dma_link()
144 pointer = pointer_next; in au1000_release_dma_link()
145 } while (pointer != stream->buffer); in au1000_release_dma_link()
155 struct au1000_period *pointer; in au1000_setup_dma_link() local
173 pointer = stream->buffer; in au1000_setup_dma_link()
175 pointer->start = (u32)(dma_start + (i * period_bytes)); in au1000_setup_dma_link()
[all …]
/linux-2.6.39/drivers/pci/hotplug/
Dacpi_pcihp.c166 package = (union acpi_object *)buffer.pointer; in acpi_run_hpx()
211 kfree(buffer.pointer); in acpi_run_hpx()
229 package = (union acpi_object *) buffer.pointer; in acpi_run_hpp()
252 kfree(buffer.pointer); in acpi_run_hpp()
274 __func__, (char *)string.pointer, status); in acpi_run_oshp()
277 __func__, (char *)string.pointer); in acpi_run_oshp()
280 (char *)string.pointer); in acpi_run_oshp()
282 kfree(string.pointer); in acpi_run_oshp()
360 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
366 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
[all …]

12345678910>>...25