Documented in 1 files:
Defined in 2 files as a member:
- include/linux/gpio/driver.h, line 172 (as a member)
- include/linux/key-type.h, line 145 (as a member)
Defined in 1 files as a function:
Referenced in 29 files:
- arch/s390/kernel/cert_store.c, line 366
- drivers/gpio/gpiolib-devres.c
- drivers/gpio/gpiolib.c
- drivers/md/dm-crypt.c, line 2529
- drivers/md/dm-inlinecrypt.c, line 136
- drivers/md/dm-verity-verify-sig.c, line 45
- drivers/net/dsa/mv88e6xxx/chip.c
- drivers/nvdimm/security.c, line 58
- fs/crypto/keysetup_v1.c, line 55
- fs/ecryptfs/ecryptfs_kernel.h, line 96
- fs/ecryptfs/keystore.c, line 1594
- fs/nfs/nfs4idmap.c
- fs/smb/client/cifs_spnego.c, line 177
- fs/smb/client/cifsacl.c
- fs/smb/client/connect.c
- fs/ubifs/auth.c, line 278
- include/linux/gpio/driver.h
- kernel/crash_dump_dm_crypt.c, line 155
- kernel/sys_ni.c, line 164
- lib/digsig.c, line 222
- net/ceph/ceph_common.c, line 361
- net/rxrpc/server_key.c, line 137
- security/integrity/digsig.c, line 49
- security/integrity/digsig_asymmetric.c, line 54
- security/integrity/evm/evm_crypto.c, line 445
- security/keys/encrypted-keys/encrypted.c, line 309
- security/keys/encrypted-keys/masterkey_trusted.c, line 33
- security/keys/keyctl.c, line 167
- security/keys/request_key.c
Smatch caller information:
fs/smb/client/cifsacl.c id_to_sid() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7493037627308703744 |
| PARAM_VALUE | 1 | description | 4613360945522593792 |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 14 |
| STR_LEN | 0 | type | 13 |
| STR_LEN | 1 | description | 0 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c sid_to_id() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7493037627308703744 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 24-189 |
| BUF_SIZE | 1 | description | 24-189 |
| DATA_SOURCE | 1 | description | r sid_to_key_str |
| STR_LEN | 0 | type | 0 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4idmap.c nfs_idmap_request_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 1742458039422193664 |
| PARAM_VALUE | 1 | description | 16,4096-ptr_max |
| PARAM_VALUE | 1 | *description | 0-255 |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| STR_LEN | 0 | type | 0 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/evm/evm_crypto.c evm_init_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 8929053262776094720 |
| PARAM_VALUE | 1 | description | 4601584871820533760 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | 8 |
| STR_LEN | 0 | type | 7 |
| TERMINATED | 1 | description | 1 |
fs/ecryptfs/keystore.c ecryptfs_get_encrypted_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 8929053262776094720 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | (-1),17 |
| BUF_SIZE | 1 | description | (-1),17 |
| DATA_SOURCE | 1 | description | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ecryptfs/keystore.c ecryptfs_keyring_auth_tok_for_sig() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7296958975019053056 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | (-1),17 |
| BUF_SIZE | 1 | description | (-1),17 |
| DATA_SOURCE | 1 | description | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/digsig.c digsig_verify() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7296958975019053056 |
| PARAM_VALUE | 1 | description | 4908474782521331712 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | 20 |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
security/integrity/digsig.c integrity_keyring_from_id() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 9142442151112187904 |
| PARAM_VALUE | 2 | callout_info | 0 |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
net/ceph/ceph_common.c get_secret() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4911269060881989632 |
| PARAM_VALUE | 1 | description | 0,4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 0 |
| CAPPED_DATA | 1 | description | 1 |
| DATA_SOURCE | 1 | description | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | description | |
| HALF_LOCKED2 | &of->mutex |
drivers/nvdimm/security.c nvdimm_request_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 8929053262776094720 |
| PARAM_VALUE | 1 | description | 9132796721716502528 |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 30 |
| STR_LEN | 0 | type | 0 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
fs/crypto/keysetup_v1.c find_and_lock_process_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 1 | description | 1-u64max |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | 0-s32max |
| BUF_SIZE | 1 | description | 0-s32max |
| CAPPED_DATA | 1 | description | 1 |
| DATA_SOURCE | 1 | description | r kasprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ubifs/auth.c ubifs_init_authentication() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 2 | callout_info | 0 |
kernel/crash_dump_dm_crypt.c read_key_from_user_keyring() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | 128 |
security/keys/encrypted-keys/encrypted.c request_user_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7296958975019053056 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 0 |
| DATA_SOURCE | 1 | description | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | description | unit_byte |
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex |
fs/smb/client/cifs_spnego.c cifs_get_spnego_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 5558615584509972480 |
| PARAM_VALUE | 1 | description | 16,4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 0-u64max |
| DATA_SOURCE | 1 | description | r _kzalloc_noprof |
| STR_LEN | 0 | type | 0 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
security/integrity/digsig_asymmetric.c request_asymmetric_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2816195182958821376 |
| PARAM_VALUE | 0 | type->match_preparse | 1-u64max |
| PARAM_VALUE | 1 | description | 3816148842678038528 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | 12 |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
drivers/md/dm-crypt.c crypt_set_keyring_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696,7296958975019053056,8115060987493142528,8929053262776094720 |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 0 | type | 184 |
| BIT_INFO | 0 | type | 0x8000,0x7ffefffffefff000 |
| BIT_INFO | 0 | type | 0x8000,0x7ffefffffefff000 |
| HALF_LOCKED2 | &md->io_barrier |
fs/smb/client/connect.c cifs_set_cifscreds() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 264 |
| BUF_SIZE | 1 | description | 264 |
| DATA_SOURCE | 1 | description | r _kmalloc_noprof |
| STR_LEN | 0 | type | 263 |
| STR_LEN | 1 | description | 0 |
| STR_LEN | 1 | description | 263 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/smb/client/connect.c cifs_set_cifscreds() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 4602998933304729600 |
| BUF_SIZE | 1 | description | 264 |
| BUF_SIZE | 1 | description | 264 |
| DATA_SOURCE | 1 | description | r _kmalloc_noprof |
| STR_LEN | 0 | type | 263 |
| STR_LEN | 1 | description | 0 |
| STR_LEN | 1 | description | 263 |
| TERMINATED | 2 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
security/keys/encrypted-keys/masterkey_trusted.c request_trusted_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 8115060987493142528 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 0 |
| DATA_SOURCE | 1 | description | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | description | unit_byte |
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex |
drivers/md/dm-inlinecrypt.c inlinecrypt_get_keyring_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 877235514405789696 |
| PARAM_VALUE | 2 | callout_info | 0 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-verity-verify-sig.c verity_verify_get_sig_from_key() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7296958975019053056 |
| PARAM_VALUE | 2 | callout_info | 0 |
| DATA_SOURCE | 1 | description | $0 |
net/rxrpc/server_key.c rxrpc_server_keyring() -> request_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 9142442151112187904 |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | callout_info | 0 |
| BUF_SIZE | 1 | description | (-1),2-4096 |
| BUF_SIZE | 1 | description | (-1),2-4096 |
| DATA_SOURCE | 1 | description | r memdup_sockptr_nul_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *description | 0-255 |
| USER_PTR | 1 | description | |
| LOCK2 | &rx->sk | ||
| TYPE_LOCK | (struct rxrpc_sock)->sk |