Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/ntsync.c ntsync_unlock_obj() -> dev_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->all_hint.counter | 0-1 |
| PARAM_VALUE | 1 | obj->dev_locked | 0-1 |
| PARAM_VALUE | 1 | obj->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | obj | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | obj | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | obj | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | obj | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | obj->u.sem.count | |
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | obj | unit_byte |
| HALF_LOCKED2 | 0 | &dev->wait_all_lock |
drivers/misc/ntsync.c ntsync_wait_all() -> dev_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->wait_all_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->wait_all_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait_all_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->wait_all_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->wait_all_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->wait_all_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->wait_all_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->any_waiters.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->any_waiters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->any_waiters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->dev_locked | 1 |
| PARAM_VALUE | 1 | obj->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dev->wait_all_lock | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | obj | unit_byte |
| LOCK2 | 0 | &dev->wait_all_lock | |
| TYPE_LOCK | (struct ntsync_device)->wait_all_lock |
drivers/misc/ntsync.c try_wake_all() -> dev_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->wait_all_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->wait_all_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait_all_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->wait_all_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | obj | unit_byte |
| LOCK2 | 0 | &dev->wait_all_lock | |
| TYPE_LOCK | (struct ntsync_device)->wait_all_lock |