Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/locking/semaphore.c up() -> __up()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 0 sem->first_waiter 1-u64max
PARAM_VALUE 0 sem->last_holder 0
PARAM_VALUE 0 sem->lock.dep_map->name 0-255
PARAM_VALUE 0 sem->lock.owner_cpu 0
PARAM_VALUE 0 sem->lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 wake_q 3989460245217660928
PARAM_VALUE 1 wake_q->first 1
PARAM_VALUE 1 wake_q->lastp 3989460245217660928
PARAM_VALUE 1 *wake_q->lastp 1
DATA_SOURCE 0 sem $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &sem->lock
TYPE_LOCK (struct semaphore)->lock