Home
last modified time | relevance | path

Searched refs:new_buffer (Results 1 – 4 of 4) sorted by relevance

/drivers/android/
Dbinder_alloc.c70 struct binder_buffer *new_buffer) in binder_insert_free_buffer() argument
78 BUG_ON(!new_buffer->free); in binder_insert_free_buffer()
80 new_buffer_size = binder_alloc_buffer_size(alloc, new_buffer); in binder_insert_free_buffer()
84 alloc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer()
98 rb_link_node(&new_buffer->rb_node, parent, p); in binder_insert_free_buffer()
99 rb_insert_color(&new_buffer->rb_node, &alloc->free_buffers); in binder_insert_free_buffer()
103 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked() argument
109 BUG_ON(new_buffer->free); in binder_insert_allocated_buffer_locked()
116 if (new_buffer->user_data < buffer->user_data) in binder_insert_allocated_buffer_locked()
118 else if (new_buffer->user_data > buffer->user_data) in binder_insert_allocated_buffer_locked()
[all …]
/drivers/acpi/acpica/
Ddbconvert.c353 u8 *new_buffer; in acpi_db_dump_pld_buffer() local
377 new_buffer = acpi_db_encode_pld_buffer(pld_info); in acpi_db_dump_pld_buffer()
378 if (!new_buffer) { in acpi_db_dump_pld_buffer()
384 if (memcmp(new_buffer, buffer_desc->buffer.pointer, in acpi_db_dump_pld_buffer()
389 acpi_ut_dump_buffer(new_buffer, in acpi_db_dump_pld_buffer()
450 ACPI_FREE(new_buffer); in acpi_db_dump_pld_buffer()
Dexfldio.c809 void *new_buffer; in acpi_ex_insert_into_field() local
828 new_buffer = NULL; in acpi_ex_insert_into_field()
842 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()
843 if (!new_buffer) { in acpi_ex_insert_into_field()
852 memcpy((char *)new_buffer, (char *)buffer, buffer_length); in acpi_ex_insert_into_field()
853 buffer = new_buffer; in acpi_ex_insert_into_field()
963 if (new_buffer) { in acpi_ex_insert_into_field()
964 ACPI_FREE(new_buffer); in acpi_ex_insert_into_field()
/drivers/usb/class/
Dcdc-acm.c400 u8 *new_buffer; in acm_ctrl_irq() local
403 new_buffer = krealloc(acm->notification_buffer, in acm_ctrl_irq()
405 if (!new_buffer) { in acm_ctrl_irq()
410 acm->notification_buffer = new_buffer; in acm_ctrl_irq()