Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/android/binder.c binder_poll() -> binder_available_for_proc_work_ilocked()

Type Parameter Key Value
PARAM_VALUE 0 thread 4096-ptr_max
BUF_SIZE 0 thread (-1),520
BUF_SIZE 0 thread (-1),520
CAPPED_DATA 0 thread 1
DATA_SOURCE 0 thread r binder_get_thread
BIT_INFO 0 thread->looper 0x20,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &thread->proc->inner_lock
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu
TYPE_LOCK (struct binder_proc)->inner_lock

drivers/android/binder.c binder_thread_read() -> binder_available_for_proc_work_ilocked()

Type Parameter Key Value
PARAM_VALUE 0 thread 4096-ptr_max
BUF_SIZE 0 thread (-1),520
BUF_SIZE 0 thread (-1),520
CAPPED_DATA 0 thread 1
DATA_SOURCE 0 thread $1
PREEMPT_ADD <- disables preempt
LOCK2 &proc->inner_lock
TYPE_LOCK (struct binder_proc)->inner_lock

drivers/android/binder.c binder_wakeup_poll_threads_ilocked() -> binder_available_for_proc_work_ilocked()

Type Parameter Key Value
PARAM_VALUE 0 thread 4096-ptr_max
BIT_INFO 0 thread->looper 0x20,0x7fffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 thread unit_byte
HALF_LOCKED2 &node->lock
HALF_LOCKED2 &proc->inner_lock
HALF_LOCKED2 &proc->outer_lock