Home
last modified time | relevance | path

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

/drivers/staging/android/
Dbinder_alloc.c74 struct binder_buffer *new_buffer) in binder_insert_free_buffer() argument
82 BUG_ON(!new_buffer->free); in binder_insert_free_buffer()
84 new_buffer_size = binder_alloc_buffer_size(alloc, new_buffer); in binder_insert_free_buffer()
88 alloc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer()
102 rb_link_node(&new_buffer->rb_node, parent, p); in binder_insert_free_buffer()
103 rb_insert_color(&new_buffer->rb_node, &alloc->free_buffers); in binder_insert_free_buffer()
107 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked() argument
113 BUG_ON(new_buffer->free); in binder_insert_allocated_buffer_locked()
120 if (new_buffer->data < buffer->data) in binder_insert_allocated_buffer_locked()
122 else if (new_buffer->data > buffer->data) in binder_insert_allocated_buffer_locked()
[all …]
/drivers/acpi/acpica/
Dexfldio.c839 void *new_buffer; in acpi_ex_insert_into_field() local
858 new_buffer = NULL; in acpi_ex_insert_into_field()
871 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()
872 if (!new_buffer) { in acpi_ex_insert_into_field()
881 ACPI_MEMCPY((char *)new_buffer, (char *)buffer, buffer_length); in acpi_ex_insert_into_field()
882 buffer = new_buffer; in acpi_ex_insert_into_field()
1000 if (new_buffer) { in acpi_ex_insert_into_field()
1001 ACPI_FREE(new_buffer); in acpi_ex_insert_into_field()