Lines Matching +full:proc +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0 */
26 * struct binder_device - information about a binder device node
43 * binderfs_mount_opts - mount options for binderfs
53 * binderfs_info - information about a binderfs mount
56 * binder-control device.
63 * @proc_log_dir: Pointer to the directory dentry containing process-specific
121 (entry)->name; \
143 * struct binder_work - work enqueued on a worklist
147 * There are separate work lists for proc, thread, and node (async).
170 * struct binder_node - binder node bookkeeping
171 * @debug_id: unique ID for debugging
175 * (protected by @proc->inner_lock)
176 * @rb_node: element for proc->nodes tree
177 * (protected by @proc->inner_lock)
180 * @proc: binder_proc that owns this node
186 * (protected by @proc->inner_lock if @proc
189 * (protected by @proc->inner_lock if @proc
192 * (protected by @proc->inner_lock if @proc
195 * (protected by @proc->inner_lock while @proc
197 * if @proc is NULL. During inc/dec and node release
199 * as the node dies and @proc becomes NULL)
205 * (protected by @proc->inner_lock if @proc
208 * (protected by @proc->inner_lock if @proc
211 * (protected by @proc->inner_lock if @proc
214 * (protected by @proc->inner_lock if @proc
228 * (protected by @proc->inner_lock)
240 struct binder_proc *proc; member
251 * proc inner_lock
275 * (protected by inner_lock of the proc that
283 * struct binder_ref_data - binder_ref counts and id
284 * @debug_id: unique ID for the ref
289 * Structure to hold ref count and ref id information. Since
302 * struct binder_ref - struct to track references on nodes
303 * @data: binder_ref_data containing id, handle, and current refcounts
304 * @rb_node_desc: node for lookup by @data.desc in proc's rb_tree
305 * @rb_node_node: node for lookup by @node in proc's rb_tree
306 * @node_entry: list entry for node->refs list in target node
307 * (protected by @node->lock)
308 * @proc: binder_proc containing ref
310 * ref for deletion in binder_cleanup_ref, a non-NULL
313 * (protected by @node->lock)
316 * structure is unsafe to access without holding @proc->outer_lock.
320 /* node + proc => ref (transaction) */
321 /* desc + proc => ref (transaction, inc/dec ref) */
322 /* node => refs + procs (proc exit) */
327 struct binder_proc *proc; member
333 * struct binder_priority - scheduler policy and priority
349 * struct binder_proc - binder process bookkeeping
351 * @threads: rbtree of binder_threads in this proc
354 * this proc ordered by node->ptr
356 * @refs_by_desc: rbtree of refs ordered by ref->desc
358 * @refs_by_node: rbtree of refs ordered by ref->node
360 * @waiting_threads: threads currently waiting for proc work
390 * @stats: per-process binder statistics
402 * @tmp_ref: temporary reference to indicate proc is in use
408 * @context: binder_context for this proc
413 * @binderfs_entry: process-specific binderfs log file
455 * struct binder_proc_ext - binder process bookkeeping
456 * @proc: element for binder_procs list
461 * Extended binder_proc -- needed to add the "cred" field without
465 struct binder_proc proc; member
469 static inline const struct cred *binder_get_cred(struct binder_proc *proc) in binder_get_cred() argument
473 eproc = container_of(proc, struct binder_proc_ext, proc); in binder_get_cred()
474 return eproc->cred; in binder_get_cred()
478 * struct binder_thread - binder thread bookkeeping
479 * @proc: binder process for this thread
481 * @rb_node: element for proc->threads rbtree
482 * (protected by @proc->inner_lock)
483 * @waiting_thread_node: element for @proc->waiting_threads list
484 * (protected by @proc->inner_lock)
491 * @transaction_stack: stack of in-progress transactions for this thread
492 * (protected by @proc->inner_lock)
494 * (protected by @proc->inner_lock)
496 * (protected by @proc->inner_lock)
500 * (protected by @proc->inner_lock)
502 * @stats: per-thread statistics
505 * (atomic since @proc->inner_lock cannot
509 * (protected by @proc->inner_lock)
515 struct binder_proc *proc; member
534 * struct binder_txn_fd_fixup - transaction fd fixup list element
582 * struct binder_object - union of flat binder object types
589 * Used for type-independent object copies