Home
last modified time | relevance | path

Searched refs:extra_buffers_size (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc.h34 * @extra_buffers_size: size of space for other objects (like sg lists)
55 size_t extra_buffers_size; member
123 size_t extra_buffers_size,
H A Dbinder_alloc.c381 size_t extra_buffers_size, in binder_alloc_new_buf_locked()
410 size = data_offsets_size + ALIGN(extra_buffers_size, sizeof(void *)); in binder_alloc_new_buf_locked()
411 if (size < data_offsets_size || size < extra_buffers_size) { in binder_alloc_new_buf_locked()
413 "%d: got transaction with invalid extra_buffers_size %zd\n", in binder_alloc_new_buf_locked()
414 alloc->pid, extra_buffers_size); in binder_alloc_new_buf_locked()
525 buffer->extra_buffers_size = extra_buffers_size; in binder_alloc_new_buf_locked()
555 * @extra_buffers_size: size of extra space for meta-data (eg, security context)
569 size_t extra_buffers_size, in binder_alloc_new_buf()
577 extra_buffers_size, is_asyn in binder_alloc_new_buf()
377 binder_alloc_new_buf_locked( struct binder_alloc *alloc, size_t data_size, size_t offsets_size, size_t extra_buffers_size, int is_async, int pid) binder_alloc_new_buf_locked() argument
566 binder_alloc_new_buf(struct binder_alloc *alloc, size_t data_size, size_t offsets_size, size_t extra_buffers_size, int is_async, int pid) binder_alloc_new_buf() argument
[all...]
H A Dbinder_trace.h260 __field(size_t, extra_buffers_size)
266 __entry->extra_buffers_size = buf->extra_buffers_size;
268 TP_printk("transaction=%d data_size=%zd offsets_size=%zd extra_buffers_size=%zd",
270 __entry->extra_buffers_size)
H A Dbinder.c3181 binder_size_t extra_buffers_size) in binder_transaction()
3438 (u64)extra_buffers_size); in binder_transaction()
3447 (u64)extra_buffers_size); in binder_transaction()
3486 extra_buffers_size += added_size; in binder_transaction()
3487 if (extra_buffers_size < added_size) { in binder_transaction()
3488 /* integer overflow of extra_buffers_size */ in binder_transaction()
3499 tr->offsets_size, extra_buffers_size, in binder_transaction()
3516 ALIGN(extra_buffers_size, sizeof(void *)) - in binder_transaction()
3558 if (!IS_ALIGNED(extra_buffers_size, sizeof(u64))) { in binder_transaction()
3561 (u64)extra_buffers_size); in binder_transaction()
3178 binder_transaction(struct binder_proc *proc, struct binder_thread *thread, struct binder_transaction_data *tr, int reply, binder_size_t extra_buffers_size) binder_transaction() argument
[all...]
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc.h36 * @extra_buffers_size: size of space for other objects (like sg lists)
58 size_t extra_buffers_size; member
127 size_t extra_buffers_size,
H A Dbinder_alloc.c372 size_t extra_buffers_size, in binder_alloc_new_buf_locked()
402 size = data_offsets_size + ALIGN(extra_buffers_size, sizeof(void *)); in binder_alloc_new_buf_locked()
403 if (size < data_offsets_size || size < extra_buffers_size) { in binder_alloc_new_buf_locked()
405 "%d: got transaction with invalid extra_buffers_size %zd\n", in binder_alloc_new_buf_locked()
406 alloc->pid, extra_buffers_size); in binder_alloc_new_buf_locked()
517 buffer->extra_buffers_size = extra_buffers_size; in binder_alloc_new_buf_locked()
550 * @extra_buffers_size: size of extra space for meta-data (eg, security context)
564 size_t extra_buffers_size, in binder_alloc_new_buf()
572 extra_buffers_size, is_asyn in binder_alloc_new_buf()
368 binder_alloc_new_buf_locked( struct binder_alloc *alloc, size_t data_size, size_t offsets_size, size_t extra_buffers_size, int is_async, int pid) binder_alloc_new_buf_locked() argument
561 binder_alloc_new_buf(struct binder_alloc *alloc, size_t data_size, size_t offsets_size, size_t extra_buffers_size, int is_async, int pid) binder_alloc_new_buf() argument
[all...]
H A Dbinder_trace.h289 __field(size_t, extra_buffers_size)
295 __entry->extra_buffers_size = buf->extra_buffers_size;
297 TP_printk("transaction=%d data_size=%zd offsets_size=%zd extra_buffers_size=%zd",
299 __entry->extra_buffers_size)
H A Dbinder.c2945 binder_size_t extra_buffers_size) in binder_transaction()
3220 (u64)extra_buffers_size); in binder_transaction()
3229 (u64)extra_buffers_size); in binder_transaction()
3271 extra_buffers_size += added_size; in binder_transaction()
3272 if (extra_buffers_size < added_size) { in binder_transaction()
3273 binder_txn_error("%d:%d integer overflow of extra_buffers_size\n", in binder_transaction()
3285 tr->offsets_size, extra_buffers_size, in binder_transaction()
3308 ALIGN(extra_buffers_size, sizeof(void *)) - in binder_transaction()
3350 if (!IS_ALIGNED(extra_buffers_size, sizeof(u64))) { in binder_transaction()
3353 (u64)extra_buffers_size); in binder_transaction()
2942 binder_transaction(struct binder_proc *proc, struct binder_thread *thread, struct binder_transaction_data *tr, int reply, binder_size_t extra_buffers_size) binder_transaction() argument
[all...]

Completed in 16 milliseconds