Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/md/dm-vdo/indexer/sparse-cache.c, line 178 (as a function)
- kernel/locking/semaphore.c, line 326 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-vdo/indexer/sparse-cache.c enter_threads_barrier() -> __down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | semaphore | 4096-ptr_max |
| NOCHECK_CALL |
drivers/md/dm-vdo/indexer/sparse-cache.c enter_threads_barrier() -> __down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | semaphore | 4096-ptr_max |
| NOCHECK_CALL |
kernel/locking/semaphore.c down() -> __down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | semaphore | 4096-ptr_max |
| PARAM_VALUE | 0 | semaphore->count | 0 |
| PARAM_VALUE | 0 | semaphore->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | semaphore->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | semaphore->lock.raw_lock.val.counter | 0-s32max |
| DATA_SOURCE | 0 | semaphore | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &semaphore->lock | |
| TYPE_LOCK | (struct semaphore)->lock |