Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/locking/semaphore.c ___down_common() -> sem_del_waiter()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 0 sem->count 0
PARAM_VALUE 0 sem->first_waiter 4096-ptr_max
PARAM_VALUE 0 sem->first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 sem->first_waiter->list.prev 5349227543279349760
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 waiter 5349227543279349760
PARAM_VALUE 1 waiter->list.next 4096-ptr_max
PARAM_VALUE 1 waiter->list.prev 5349227543279349760
PARAM_VALUE 1 waiter->up 0
BUF_SIZE 0 sem->first_waiter (-1),32
DATA_SOURCE 0 sem $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 sem->count 0
HOST_DATA 0 sem->last_holder 0-u64max
LOCK2 flags
LOCK2 0 &sem->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct semaphore)->lock

kernel/locking/semaphore.c ___down_common() -> sem_del_waiter()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 0 sem->count 0
PARAM_VALUE 0 sem->first_waiter 4096-ptr_max
PARAM_VALUE 0 sem->first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 sem->first_waiter->list.prev 5349227543279349760
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 waiter 5349227543279349760
PARAM_VALUE 1 waiter->list.next 4096-ptr_max
PARAM_VALUE 1 waiter->list.prev 5349227543279349760
PARAM_VALUE 1 waiter->up 0
BUF_SIZE 0 sem->first_waiter (-1),32
DATA_SOURCE 0 sem $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 sem->count 0
HOST_DATA 0 sem->last_holder 0-u64max
LOCK2 flags
LOCK2 0 &sem->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct semaphore)->lock

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

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 waiter 1-u64max
DATA_SOURCE 0 sem $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &sem->lock
TYPE_LOCK (struct semaphore)->lock