Defined in 2 files as a member:
- drivers/md/dm-table.c, line 1206 (as a member)
- include/linux/blk-crypto-profile.h, line 99 (as a member)
Defined in 3 files as a function:
- fs/smb/client/smb2transport.c, line 255 (as a function)
- fs/smb/server/auth.c, line 532 (as a function)
- tools/testing/selftests/bpf/progs/lpm_trie_bench.c, line 82 (as a function)
Referenced in 8 files:
- block/blk-crypto-profile.c
- drivers/md/dm-table.c
- drivers/mmc/host/sdhci-msm.c, line 2125
- drivers/ufs/host/ufs-qcom.c, line 314
- fs/smb/client/smb2transport.c
- fs/smb/server/auth.c
- net/rxrpc/rxgk.c
- tools/testing/selftests/bpf/progs/lpm_trie_bench.c
Smatch caller information:
fs/smb/server/auth.c generate_smb3encryptionkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->preferred_auth_mech | 1-u32max |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | conn->srv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conn->srv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | conn->status | 1,5 |
| PARAM_VALUE | 0 | conn->vals->req_capabilities | 0,4,6,8,12,14,16-416 |
| PARAM_VALUE | 5 | key_size | 32 |
| BUF_SIZE | 1 | sess_key | 40 |
| BUF_SIZE | 4 | key | 32 |
| CAPPED_DATA | 0 | conn | 1 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| BIT_INFO | 3 | context | 0x0,0x0 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/auth.c generate_smb3encryptionkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->preferred_auth_mech | 1-u32max |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | conn->srv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conn->srv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | conn->status | 1,5 |
| PARAM_VALUE | 0 | conn->vals->req_capabilities | 0,4,6,8,12,14,16-416 |
| PARAM_VALUE | 5 | key_size | 32 |
| BUF_SIZE | 1 | sess_key | 40 |
| BUF_SIZE | 4 | key | 32 |
| CAPPED_DATA | 0 | conn | 1 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| BIT_INFO | 3 | context | 0x0,0x0 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/auth.c generate_smb3signingkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ops->generate_encryptionkey | 0,3863936581855973376,7797342919105712128 |
| PARAM_VALUE | 0 | conn->ops->generate_signingkey | 4801351377101225984,8174366501739487232 |
| PARAM_VALUE | 0 | conn->preferred_auth_mech | 1-u32max |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | conn->srv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conn->srv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | conn->status | 1,5 |
| PARAM_VALUE | 0 | conn->vals->req_capabilities | 0,4,6,8,12,14,16-416 |
| PARAM_VALUE | 5 | key_size | 16 |
| BUF_SIZE | 1 | sess_key | 40 |
| BUF_SIZE | 1 | sess_key | 40 |
| BUF_SIZE | 4 | key | 16 |
| BUF_SIZE | 4 | key | 16 |
| CAPPED_DATA | 0 | conn | 1 |
| DATA_SOURCE | 0 | conn | $1 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| BIT_INFO | 3 | context | 0x0,0x0 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->chan_count | 1-u64max |
| PARAM_VALUE | 0 | conn->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->chans | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->expired_pwd | 0 |
| PARAM_VALUE | 0 | conn->ses_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->ses_status | 1 |
| PARAM_VALUE | 4 | key | 16 |
| PARAM_VALUE | 5 | key_size | 16 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 3 | context | 16 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 1 | sess_key | 0x0,0x0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->chan_count | 1-u64max |
| PARAM_VALUE | 0 | conn->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->expired_pwd | 0 |
| PARAM_VALUE | 0 | conn->ses_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | key | 16 |
| PARAM_VALUE | 5 | key_size | 16 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 3 | context | 16 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 1 | sess_key | 0x0,0x0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->chan_count | 1-u64max |
| PARAM_VALUE | 0 | conn->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->chans | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->expired_pwd | 0 |
| PARAM_VALUE | 0 | conn->server | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ses_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | key | 32 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 3 | context | 32 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 1 | sess_key | 0x0,0x0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 5 | key_size | unit_byte |
| LOCK2 | &server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->chan_count | 1-u64max |
| PARAM_VALUE | 0 | conn->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->chans | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->expired_pwd | 0 |
| PARAM_VALUE | 0 | conn->server | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->ses_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | key | 32 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 0 | conn | (-1),1584 |
| BUF_SIZE | 3 | context | 32 |
| DATA_SOURCE | 0 | conn | $0 |
| BIT_INFO | 1 | sess_key | 0x0,0x0 |
| BIT_INFO | 2 | label | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 5 | key_size | unit_byte |
| LOCK2 | &server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |