Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 7 files:
- arch/s390/kernel/cert_store.c, line 336
- crypto/asymmetric_keys/asymmetric_type.c, line 551
- drivers/nvme/common/keyring.c, line 30
- drivers/nvme/target/configfs.c, line 2054
- fs/nfs/fs_context.c, line 561
- security/keys/key.c, line 708
- security/keys/process_keys.c, line 749
Smatch caller information:
drivers/nvme/target/configfs.c nvmet_ports_make() -> key_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/nvme/common/keyring.c nvme_tls_key_lookup() -> key_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 0-s32max |
| DATA_SOURCE | 0 | id | $0 |
| FUZZY_MAX | 0 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
crypto/asymmetric_keys/asymmetric_type.c asymmetric_lookup_restriction() -> key_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 0 | id | s32min-s32max |
| LOCK2 | global &key_types_sem |
fs/nfs/fs_context.c nfs_tls_key_verify() -> key_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 0 |
| DATA_SOURCE | 0 | id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
security/keys/process_keys.c lookup_user_key() -> key_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 1-s32max |
| DATA_SOURCE | 0 | id | $0 |
| FUZZY_MAX | 0 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | id | 1-s32max |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | sk |