Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/android/binder.c binder_has_work() -> binder_has_work_ilocked()

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

drivers/android/binder.c binder_wait_for_work() -> binder_has_work_ilocked()

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