Defined in 2 files as a function:
- kernel/locking/semaphore.c, line 51 (as a function)
- kernel/locking/semaphore.c, line 65 (as a function)
Referenced in 1 files:
Smatch caller information:
kernel/locking/semaphore.c up() -> hung_task_sem_clear_if_holder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| DATA_SOURCE | 0 | sem | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sem->lock | |
| TYPE_LOCK | (struct semaphore)->lock |