binder_internal.h (cdd38c5f1ce4398ec58fec95904b75824daab7b5) binder_internal.h (432ff1e91694e4c55a5bf6bc0574f4c254970232)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef _LINUX_BINDER_INTERNAL_H
4#define _LINUX_BINDER_INTERNAL_H
5
6#include <linux/export.h>
7#include <linux/fs.h>
8#include <linux/list.h>

--- 353 unchanged lines hidden (view full) ---

362 * @pid PID of group_leader of process
363 * (invariant after initialized)
364 * @tsk task_struct for group_leader of process
365 * (invariant after initialized)
366 * @deferred_work_node: element for binder_deferred_list
367 * (protected by binder_deferred_lock)
368 * @deferred_work: bitmap of deferred work to perform
369 * (protected by binder_deferred_lock)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef _LINUX_BINDER_INTERNAL_H
4#define _LINUX_BINDER_INTERNAL_H
5
6#include <linux/export.h>
7#include <linux/fs.h>
8#include <linux/list.h>

--- 353 unchanged lines hidden (view full) ---

362 * @pid PID of group_leader of process
363 * (invariant after initialized)
364 * @tsk task_struct for group_leader of process
365 * (invariant after initialized)
366 * @deferred_work_node: element for binder_deferred_list
367 * (protected by binder_deferred_lock)
368 * @deferred_work: bitmap of deferred work to perform
369 * (protected by binder_deferred_lock)
370 * @outstanding_txns: number of transactions to be transmitted before
371 * processes in freeze_wait are woken up
372 * (protected by @inner_lock)
370 * @is_dead: process is dead and awaiting free
371 * when outstanding transactions are cleaned up
372 * (protected by @inner_lock)
373 * @is_dead: process is dead and awaiting free
374 * when outstanding transactions are cleaned up
375 * (protected by @inner_lock)
376 * @is_frozen: process is frozen and unable to service
377 * binder transactions
378 * (protected by @inner_lock)
379 * @freeze_wait: waitqueue of processes waiting for all outstanding
380 * transactions to be processed
381 * (protected by @inner_lock)
373 * @todo: list of work for this process
374 * (protected by @inner_lock)
375 * @stats: per-process binder statistics
376 * (atomics, no lock needed)
377 * @delivered_death: list of delivered death notification
378 * (protected by @inner_lock)
379 * @max_threads: cap on number of binder threads
380 * (protected by @inner_lock)

--- 24 unchanged lines hidden (view full) ---

405 struct rb_root nodes;
406 struct rb_root refs_by_desc;
407 struct rb_root refs_by_node;
408 struct list_head waiting_threads;
409 int pid;
410 struct task_struct *tsk;
411 struct hlist_node deferred_work_node;
412 int deferred_work;
382 * @todo: list of work for this process
383 * (protected by @inner_lock)
384 * @stats: per-process binder statistics
385 * (atomics, no lock needed)
386 * @delivered_death: list of delivered death notification
387 * (protected by @inner_lock)
388 * @max_threads: cap on number of binder threads
389 * (protected by @inner_lock)

--- 24 unchanged lines hidden (view full) ---

414 struct rb_root nodes;
415 struct rb_root refs_by_desc;
416 struct rb_root refs_by_node;
417 struct list_head waiting_threads;
418 int pid;
419 struct task_struct *tsk;
420 struct hlist_node deferred_work_node;
421 int deferred_work;
422 int outstanding_txns;
413 bool is_dead;
423 bool is_dead;
424 bool is_frozen;
425 wait_queue_head_t freeze_wait;
414
415 struct list_head todo;
416 struct binder_stats stats;
417 struct list_head delivered_death;
418 int max_threads;
419 int requested_threads;
420 int requested_threads_started;
421 int tmp_ref;

--- 131 unchanged lines hidden ---
426
427 struct list_head todo;
428 struct binder_stats stats;
429 struct list_head delivered_death;
430 int max_threads;
431 int requested_threads;
432 int requested_threads_started;
433 int tmp_ref;

--- 131 unchanged lines hidden ---