Lines Matching refs:user_data

64 		return alloc->buffer + alloc->buffer_size - buffer->user_data;  in binder_alloc_buffer_size()
65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
115 if (new_buffer->user_data < buffer->user_data) in binder_insert_allocated_buffer_locked()
117 else if (new_buffer->user_data > buffer->user_data) in binder_insert_allocated_buffer_locked()
140 if (uptr < buffer->user_data) in binder_alloc_prepare_to_free_locked()
142 else if (uptr > buffer->user_data) in binder_alloc_prepare_to_free_locked()
496 (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); in binder_alloc_new_buf_locked()
499 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in binder_alloc_new_buf_locked()
503 PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); in binder_alloc_new_buf_locked()
516 new_buffer->user_data = (u8 __user *)buffer->user_data + size; in binder_alloc_new_buf_locked()
555 PAGE_ALIGN((uintptr_t)buffer->user_data), in binder_alloc_new_buf_locked()
594 return (void __user *)((uintptr_t)buffer->user_data & PAGE_MASK); in buffer_start_page()
600 (((uintptr_t)(buffer->user_data) - 1) & PAGE_MASK); in prev_buffer_end_page()
616 alloc->pid, buffer->user_data, in binder_delete_free_buffer()
617 prev->user_data); in binder_delete_free_buffer()
627 buffer->user_data, in binder_delete_free_buffer()
628 next->user_data); in binder_delete_free_buffer()
632 if (PAGE_ALIGNED(buffer->user_data)) { in binder_delete_free_buffer()
635 alloc->pid, buffer->user_data); in binder_delete_free_buffer()
642 alloc->pid, buffer->user_data, in binder_delete_free_buffer()
643 prev->user_data, in binder_delete_free_buffer()
644 next ? next->user_data : NULL); in binder_delete_free_buffer()
670 BUG_ON(buffer->user_data < alloc->buffer); in binder_free_buf_locked()
671 BUG_ON(buffer->user_data > alloc->buffer + alloc->buffer_size); in binder_free_buf_locked()
682 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data), in binder_free_buf_locked()
684 buffer->user_data + buffer_size) & PAGE_MASK)); in binder_free_buf_locked()
785 buffer->user_data = alloc->buffer; in binder_alloc_mmap_handler()
882 prefix, buffer->debug_id, buffer->user_data, in print_binder_buffer()
1155 (buffer->user_data - alloc->buffer); in binder_alloc_get_page()