Home
last modified time | relevance | path

Searched refs:offsets_size (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/android/binder/
H A Dtransaction.rs51 offsets_size: usize, field
116 offsets_size: trd.offsets_size as _, in new()
156 offsets_size: trd.offsets_size as _, in new_reply()
183 seq_print!(m, " size {}:{}\n", self.data_size, self.offsets_size); in debug_print_inner()
391 tr.offsets_size = self.offsets_size as _; in do_work()
392 if tr.offsets_size > 0 { in do_work()
H A Dthread.rs971 let offsets_size: usize = trd.offsets_size.try_into().map_err(|_| EINVAL)?; in copy_transaction_data() localVariable
978 if !is_aligned(offsets_size, size_of::<u64>()) { in copy_transaction_data()
988 .checked_add(offsets_size) in copy_transaction_data()
994 let secctx_off = aligned_data_size + offsets_size + buffers_size; in copy_transaction_data()
1017 if offsets_size > 0 { in copy_transaction_data()
1019 UserSlice::new(UserPtr::from_addr(trd_data_ptr.offsets as _), offsets_size) in copy_transaction_data()
1023 let offsets_end = aligned_data_size + offsets_size; in copy_transaction_data()
/linux/drivers/android/
H A Dbinder_alloc.c612 size_t offsets_size, in sanitized_size() argument
619 ALIGN(offsets_size, sizeof(void *)); in sanitized_size()
620 if (tmp < data_size || tmp < offsets_size) in sanitized_size()
649 size_t offsets_size, in binder_alloc_new_buf() argument
665 size = sanitized_size(data_size, offsets_size, extra_buffers_size); in binder_alloc_new_buf()
669 alloc->pid, data_size, offsets_size, in binder_alloc_new_buf()
687 buffer->offsets_size = offsets_size; in binder_alloc_new_buf()
747 ALIGN(buffer->offsets_size, sizeof(void *)) + in binder_free_buf_locked()
1052 buffer->data_size, buffer->offsets_size, in binder_alloc_print_allocated()
H A Dbinder_alloc.h54 size_t offsets_size; member
129 size_t offsets_size,
H A Dbinder_trace.h267 __field(size_t, offsets_size)
273 __entry->offsets_size = buf->offsets_size;
277 __entry->debug_id, __entry->data_size, __entry->offsets_size,
H A Dbinder.c217 int offsets_size; member
2039 buffer->data_size, buffer->offsets_size, in binder_transaction_buffer_release()
2214 off_end_offset += buffer->offsets_size; in binder_release_entire_buffer()
3097 e->offsets_size = tr->offsets_size; in binder_transaction()
3339 (u64)tr->data_size, (u64)tr->offsets_size, in binder_transaction()
3346 (u64)tr->data_size, (u64)tr->offsets_size, in binder_transaction()
3378 tr->offsets_size, extra_buffers_size, in binder_transaction()
3400 ALIGN(tr->offsets_size, sizeof(void *)) + in binder_transaction()
3427 tr->offsets_size)) { in binder_transaction()
3435 if (!IS_ALIGNED(tr->offsets_size, sizeof(binder_size_t))) { in binder_transaction()
[all …]
/linux/include/uapi/linux/android/
H A Dbinder.h319 binder_size_t offsets_size; /* number of bytes of offsets */ member