Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/keys/keyctl.c keyctl_watch_key() -> add_watch_to_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | watch | 4096-ptr_max |
| PARAM_VALUE | 0 | watch->id | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | watch->info_id | 0,256-65280 |
| PARAM_VALUE | 0 | watch->list_node.next | 0 |
| PARAM_VALUE | 0 | watch->list_node.pprev | 0 |
| PARAM_VALUE | 0 | watch->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | watch->queue_node.next | 0 |
| PARAM_VALUE | 0 | watch->queue_node.pprev | 0 |
| PARAM_VALUE | 0 | watch->usage.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | wlist | 1-u64max |
| BUF_SIZE | 0 | watch | 96 |
| BUF_SIZE | 1 | wlist | 104,u64max |
| BUF_SIZE | 1 | wlist | 104,u64max |
| DATA_SOURCE | 0 | watch | r _kzalloc_noprof |
| BIT_INFO | 0 | watch->id | 0x0,0xffffffff |
| BIT_INFO | 0 | watch->info_id | 0x0,0xff00 |
| USER_DATA | 0 | watch->info_id | 0,256-65280[c] |
| LOCK2 | &key->sem | ||
| TYPE_LOCK | (struct key)->sem |