Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/android/binder.c binder_clear_freeze_notification() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 need_strong_ref 0
BUF_SIZE 0 proc s32min-(-2),1-s32max
BUF_SIZE 0 proc s32min-(-2),1-s32max
CAPPED_DATA 0 proc 1
DATA_SOURCE 0 proc $0
PREEMPT_ADD <- disables preempt
USER_DATA 1 desc 0-u32max
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock

drivers/android/binder.c binder_get_node_from_ref() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 proc s32min-(-1),1-s32max
BUF_SIZE 0 proc s32min-(-1),1-s32max
DATA_SOURCE 0 proc $0
DATA_SOURCE 1 desc $1
DATA_SOURCE 2 need_strong_ref $2
PREEMPT_ADD <- disables preempt
USER_DATA 1 desc 0-u32max
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock

drivers/android/binder.c binder_request_freeze_notification() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 need_strong_ref 0
BUF_SIZE 0 proc s32min-(-2),1-s32max
BUF_SIZE 0 proc s32min-(-2),1-s32max
CAPPED_DATA 0 proc 1
DATA_SOURCE 0 proc $0
PREEMPT_ADD <- disables preempt
USER_DATA 1 desc 0-u32max
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock

drivers/android/binder.c binder_thread_write() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 need_strong_ref 0
BUF_SIZE 0 proc s32min-(-2),1-s32max
BUF_SIZE 0 proc s32min-(-2),1-s32max
DATA_SOURCE 0 proc $0
PREEMPT_ADD <- disables preempt
USER_DATA 1 desc 0-u32max
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock

drivers/android/binder.c binder_transaction() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->context 4096-ptr_max
PARAM_VALUE 0 proc->inner_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 1-u32max
PARAM_VALUE 2 need_strong_ref 1
BUF_SIZE 0 proc s32min-(-2),1-s32max
BUF_SIZE 0 proc s32min-(-2),1-s32max
CAPPED_DATA 0 proc 1
DATA_SOURCE 0 proc $0
PREEMPT_ADD <- disables preempt
USER_DATA 1 desc 1-u32max
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock

drivers/android/binder.c binder_update_ref_for_handle() -> binder_get_ref_olocked()

Type Parameter Key Value
PARAM_VALUE 0 proc 4096-ptr_max
PARAM_VALUE 0 proc->outer_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 proc s32min-(-1),1-s32max
BUF_SIZE 0 proc s32min-(-1),1-s32max
CAPPED_DATA 0 proc 1
DATA_SOURCE 0 proc $0
DATA_SOURCE 1 desc $1
DATA_SOURCE 2 need_strong_ref $3
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
USER_DATA 1 desc 0-u32max
USER_DATA 2 need_strong_ref 0[c]
UNITS 0 proc unit_byte
LOCK2 0 &proc->outer_lock
TYPE_LOCK (struct binder_proc)->outer_lock