Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/smb/client/cached_dir.c, line 181
- fs/smb/client/ioctl.c, line 49
- fs/smb/client/link.c
- fs/smb/client/reparse.c, line 185
- fs/smb/client/smb2file.c, line 176
- fs/smb/client/smb2inode.c
- fs/smb/client/smb2ops.c
- fs/smb/client/smb2pdu.c, line 2952
Smatch caller information:
fs/smb/client/reparse.c create_native_symlink() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->ctx | 4096-ptr_max |
| BUF_SIZE | 0 | from | 7-1010108,u64max |
| BUF_SIZE | 0 | from | 7-1010108,u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/link.c smb3_create_mf_symlink() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->master_tlink | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $3 |
| DATA_SOURCE | 1 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/link.c smb3_query_mf_symlink() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| BUF_SIZE | 0 | from | (-1),2 |
| BUF_SIZE | 0 | from | (-1),2 |
| DATA_SOURCE | 0 | from | $3 |
| DATA_SOURCE | 1 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2file.c smb2_open_file() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cfile->fh_mutex |
fs/smb/client/smb2pdu.c smb311_posix_mkdir() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $4 |
| DATA_SOURCE | 1 | cifs_sb | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_lockref.lock |
fs/smb/client/ioctl.c cifs_ioctl_query_info() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->master_tlink | 4096-ptr_max |
fs/smb/client/smb2inode.c smb2_set_path_attr() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $3 |
| DATA_SOURCE | 1 | cifs_sb | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2inode.c smb2_unlink() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 0,4096-ptr_max |
| DATA_SOURCE | 0 | from | $2 |
| DATA_SOURCE | 1 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cached_dir.c open_cached_dir() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->root | 1-u64max |
| BUF_SIZE | 0 | from | s32min-1285 |
| BUF_SIZE | 0 | from | s32min-1285 |
| DATA_SOURCE | 0 | from | $2 |
| DATA_SOURCE | 1 | cifs_sb | $3 |
| STR_LEN | 0 | from | (-1)-0 |
| STR_LEN | 0 | from | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2ops.c get_smb2_acl_by_path() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 16,2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| BUF_SIZE | 0 | from | (-1),2 |
| BUF_SIZE | 0 | from | (-1),2 |
| DATA_SOURCE | 0 | from | $1 |
| DATA_SOURCE | 1 | cifs_sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c set_smb2_acl() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2ops.c smb2_is_path_accessible() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| BUF_SIZE | 0 | from | s32min-1285 |
| BUF_SIZE | 0 | from | s32min-1285 |
| DATA_SOURCE | 0 | from | $3 |
| DATA_SOURCE | 1 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/smb2ops.c smb2_query_dir_first() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $2 |
| DATA_SOURCE | 1 | cifs_sb | $3 |
| 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() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 16,2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| BUF_SIZE | 0 | from | (-1),1-2 |
| BUF_SIZE | 0 | from | (-1),1-2 |
| DATA_SOURCE | 0 | from | $2 [m] |
| DATA_SOURCE | 1 | cifs_sb | $9 |
| STR_LEN | 0 | from | (-1)-0 |
| STR_LEN | 0 | from | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c smb2_set_ea() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $2 |
| DATA_SOURCE | 1 | cifs_sb | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2ops.c smb311_queryfs() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| PARAM_VALUE | 1 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | cifs_sb->master_tlink | 4096-ptr_max |
| DATA_SOURCE | 0 | from | $2 |
| DATA_SOURCE | 1 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->s_umount |
fs/smb/client/smb2ops.c smb3_notify() -> cifs_convert_path_to_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | from | 2811-ptr_max |
| DATA_SOURCE | 0 | from | r build_path_from_dentry |