Lines Matching defs:data

397  * @data:        binder_ref_data containing id, handle, and current refcounts
398 * @rb_node_desc: node for lookup by @data.desc in proc's rb_tree
417 struct binder_ref_data data;
591 * @offset: offset in buffer data to this fixup
1443 if (desc < ref->data.desc) {
1445 } else if (desc > ref->data.desc) {
1447 } else if (need_strong_ref && !ref->data.strong) {
1501 new_ref->data.debug_id = atomic_inc_return(&binder_last_id);
1507 new_ref->data.desc = (node == context->binder_context_mgr_node) ? 0 : 1;
1510 if (ref->data.desc > new_ref->data.desc)
1512 new_ref->data.desc = ref->data.desc + 1;
1520 if (new_ref->data.desc < ref->data.desc)
1522 else if (new_ref->data.desc > ref->data.desc)
1535 proc->pid, new_ref->data.debug_id, new_ref->data.desc,
1547 ref->proc->pid, ref->data.debug_id, ref->data.desc,
1554 if (ref->data.strong)
1575 ref->proc->pid, ref->data.debug_id,
1576 ref->data.desc);
1599 if (ref->data.strong == 0) {
1604 ref->data.strong++;
1606 if (ref->data.weak == 0) {
1611 ref->data.weak++;
1628 if (ref->data.strong == 0) {
1630 ref->proc->pid, ref->data.debug_id,
1631 ref->data.desc, ref->data.strong,
1632 ref->data.weak);
1635 ref->data.strong--;
1636 if (ref->data.strong == 0)
1639 if (ref->data.weak == 0) {
1641 ref->proc->pid, ref->data.debug_id,
1642 ref->data.desc, ref->data.strong,
1643 ref->data.weak);
1646 ref->data.weak--;
1648 if (ref->data.strong == 0 && ref->data.weak == 0) {
1660 * @rdata: the id/refcount data for the ref
1685 *rdata = ref->data;
1716 * @rdata: the id/refcount data for the ref
1743 *rdata = ref->data;
1760 * @rdata: the id/refcount data for the ref
1779 * @rdata: the id/refcount data for the ref
1807 *rdata = ref->data;
2469 * the source data for binder_buffer_object is visible
2714 * struct binder_ptr_fixup - data to be fixed-up in target buffer
2717 * @fixup_data data to write at fixup offset
2734 * struct binder_sg_copy - scatter-gather data to be copied
2754 * binder_do_deferred_txn_copies() - copy and fixup scatter-gather data
2761 * and copying the scatter-gather data from the source process' user
2913 * data from the source buffer. For BINDER_TYPE_FDA fixups, the fixup
2988 * the source data for binder_buffer_object is visible
3209 (uintptr_t)tr->data.ptr.buffer;
3432 "%d:%d BC_REPLY %d -> %d:%d, data %016llx-%016llx size %lld-%lld-%lld\n",
3435 (u64)tr->data.ptr.buffer,
3436 (u64)tr->data.ptr.offsets,
3441 "%d:%d BC_TRANSACTION %d -> %d - node %d, data %016llx-%016llx size %lld-%lld-%lld\n",
3444 (u64)tr->data.ptr.buffer,
3445 (u64)tr->data.ptr.offsets,
3541 (uintptr_t)tr->data.ptr.offsets,
3605 binder_user_error("%d:%d got transaction with invalid data ptr\n",
3825 binder_user_error("%d:%d got transaction with invalid data ptr\n",
4348 (u64)cookie, ref->data.debug_id,
4349 ref->data.desc, ref->data.strong,
4350 ref->data.weak, ref->node->debug_id);
4688 /* no data added */
4947 trd->data.ptr.buffer = (uintptr_t)t->buffer->user_data;
4948 trd->data.ptr.offsets = trd->data.ptr.buffer +
4989 (u64)trd->data.ptr.buffer,
4990 (u64)trd->data.ptr.offsets);
5249 * poll data structures holding it.
6104 seq_printf(m, " size %zd:%zd data %pK\n",
6227 ref->data.debug_id, ref->data.desc,
6229 ref->node->debug_id, ref->data.strong,
6230 ref->data.weak, ref->death);
6438 strong += ref->data.strong;
6439 weak += ref->data.weak;