Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/smb/client/cached_dir.c, line 259
- fs/smb/client/ioctl.c
- fs/smb/client/smb2inode.c
- fs/smb/client/smb2ops.c
- fs/smb/client/smb2pdu.c
Smatch caller information:
fs/smb/client/smb2pdu.c SMB2_QFS_attr() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1),2584 |
| BUF_SIZE | 0 | tcon | (-1),2584 |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/smb2pdu.c SMB2_change_notify() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
fs/smb/client/smb2pdu.c SMB2_flush() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2pdu.c SMB2_ioctl() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache->key | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->nativeFileSystem | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->origin_fullpath | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->ses->tcon_ipc->nativeFileSystem | |
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &tcon->ses->session_mutex |
fs/smb/client/smb2pdu.c SMB2_lease_break() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/client/smb2pdu.c SMB2_open() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2pdu.c SMB2_query_directory() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| CAPPED_DATA | 0 | tcon | 1 |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2pdu.c SMB2_read() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2pdu.c SMB2_tcon() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| DATA_SOURCE | 0 | tcon | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache->key | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->nativeFileSystem | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->origin_fullpath | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->ses->tcon_ipc->nativeFileSystem | |
| HALF_LOCKED2 | &ses->session_mutex | ||
| HALF_LOCKED2 | 0 | &tcon->ses->session_mutex |
fs/smb/client/smb2pdu.c SMB2_tcon() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| BUF_SIZE | 0 | tcon | (-1)-s32max |
| DATA_SOURCE | 0 | tcon | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache->key | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->nativeFileSystem | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->origin_fullpath | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->ses->tcon_ipc->nativeFileSystem | |
| HALF_LOCKED2 | &ses->session_mutex | ||
| HALF_LOCKED2 | 0 | &tcon->ses->session_mutex |
fs/smb/client/smb2pdu.c SMB2_tdis() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 1-u64max |
| BUF_SIZE | 0 | tcon | (-1),1-s32max |
| BUF_SIZE | 0 | tcon | (-1),1-s32max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2pdu.c SMB2_write() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2pdu.c SMB311_posix_qfs_info() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->s_umount |
fs/smb/client/smb2pdu.c __SMB2_close() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2pdu.c query_info() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2pdu.c send_set_info() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2pdu.c smb2_async_readv() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2pdu.c smb2_hdr_assemble() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses | 0,4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1),1-s32max |
| BUF_SIZE | 0 | tcon | (-1),1-s32max |
| BUF_SIZE | 0 | tcon->ses | (-1),1584 |
| DATA_SOURCE | 0 | tcon | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->fscache->key | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->nativeFileSystem | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->origin_fullpath | |
| NO_OVERFLOW_SIMPLE | 0 | tcon->ses->tcon_ipc->nativeFileSystem | |
| HALF_LOCKED2 | 0 | &tcon->ses->session_mutex |
fs/smb/client/smb2pdu.c smb311_posix_mkdir() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| CAPPED_DATA | 0 | tcon | 1 |
| DATA_SOURCE | 0 | tcon | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_lockref.lock |
fs/smb/client/smb2pdu.c smb3_use_rdma_offload() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/ioctl.c cifs_dump_full_key() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tcon | $0 |
| CAPABLE | 0 | 21 |
fs/smb/client/ioctl.c cifs_ioctl() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 |
fs/smb/client/smb2inode.c smb2_unlink() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cached_dir.c open_cached_dir() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| BUF_SIZE | 0 | tcon | (-1),2584 |
| BUF_SIZE | 0 | tcon | (-1),2584 |
| DATA_SOURCE | 0 | tcon | $1 |
| STR_LEN | 0 | tcon | (-1)-0 |
| STR_LEN | 0 | tcon | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2ops.c smb2_ioctl_query_info() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
fs/smb/client/smb2ops.c smb2_query_dir_first() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses | 0,4096-ptr_max |
| CAPPED_DATA | 0 | tcon | 1 |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2ops.c smb2_query_info_compound() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c smb2_set_ea() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2ops.c smb2_set_next_command() -> smb3_encryption_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 0 | tcon->ses->server | 4096-ptr_max |
| DATA_SOURCE | 0 | tcon | $0 |
| STR_LEN | 0 | tcon | (-1)-0 |
| STR_LEN | 0 | tcon | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |