Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/nvme/common/keyring.c, line 185
- fs/nfs/nfs4idmap.c, line 698
- security/keys/key.c, line 749
- security/keys/keyctl.c, line 1502
- security/keys/persistent.c, line 116
Smatch caller information:
fs/nfs/nfs4idmap.c idmap_pipe_downcall() -> key_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key->user->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | key->user->qnbytes | s32min-s32max |
| NOSPEC | 0 | key->datalen | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | key->datalen | 0-u16max[c] |
| USER_DATA | 0 | key->quotalen | 0-u16max[c][u] |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
security/keys/keyctl.c keyctl_set_timeout() -> key_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| DATA_SOURCE | 0 | key | r key_ref_to_ptr |
| DATA_SOURCE | 1 | timeout | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | timeout | 0-u32max |
security/keys/persistent.c key_get_persistent() -> key_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,2-u64max |
| PARAM_VALUE | 0 | key->index_key.desc_len | 1-u16max |
| PARAM_VALUE | 0 | key->index_key.type | 1-u64max |
| DATA_SOURCE | 0 | key | r key_ref_to_ptr |
| NOCHECK_CALL |
drivers/nvme/common/keyring.c nvme_tls_psk_refresh() -> key_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | timeout | 3600 |
| DATA_SOURCE | 0 | key | r key_ref_to_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |