Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
block/sed-opal.c read_sed_opal_key() -> (struct key_type)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | keyring | 4096-ptr_max |
| PARAM_VALUE | 0 | keyring->expiry | (-9223372036854775807)-s64max |
| PARAM_VALUE | 0 | keyring->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | keyring->type | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 0-256 |
| BUF_SIZE | 1 | buffer | 256 |
| BUF_SIZE | 1 | buffer | 256 |
| CAPPED_DATA | 0 | keyring->expiry | 1 |
| CAPPED_DATA | 0 | &keyring->sem | 1 |
| DATA_SOURCE | 0 | keyring | r key_ref_to_ptr |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | buflen | $2 [m] |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 2 | buflen | <= $0->datalen |
| USER_DATA | 1 | *buffer | 0-255 |
| USER_PTR | 1 | buffer | |
| LOCK2 | 0 | &keyring->sem | |
| HALF_LOCKED2 | &dev->dev_lock | ||
| TYPE_LOCK | (struct key)->sem |
security/keys/keyctl.c __keyctl_read_key() -> (struct key_type)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | keyring | 4096-ptr_max |
| PARAM_VALUE | 0 | keyring->expiry | (-9223372036854775807)-s64max |
| PARAM_VALUE | 0 | keyring->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | keyring->sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | keyring->type | 4096-ptr_max |
| PARAM_VALUE | 0 | keyring->type->read | 1-u64max |
| PARAM_VALUE | 1 | buffer | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 0-9223372036854775807 |
| BUF_SIZE | 1 | buffer | (-1)-s32max |
| BUF_SIZE | 1 | buffer | (-1)-s32max |
| CAPPED_DATA | 0 | keyring->expiry | 1 |
| CAPPED_DATA | 0 | &keyring->sem | 1 |
| CAPPED_DATA | 2 | buflen | 1 |
| CAPPED_DATA | 2 | buflen | 1 |
| DATA_SOURCE | 0 | keyring | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | buflen | $2 |
| NOSPEC | 2 | buflen | |
| NOSPEC | 2 | buflen | |
| USER_DATA | 2 | buflen | 1-4096[c] |
| LOCK2 | 0 | &keyring->sem | |
| TYPE_LOCK | (struct key)->sem |