Defined in 1 files as a function:
Referenced in 8 files:
- fs/smb/client/cifsfs.c, line 586
- fs/smb/client/dfs_cache.c
- fs/smb/client/dir.c, line 65
- fs/smb/client/fs_context.c
- fs/smb/client/inode.c, line 1706
- fs/smb/client/misc.c, line 987
- fs/smb/client/namespace.c
- fs/smb/client/reparse.c
Smatch caller information:
fs/smb/client/reparse.c create_native_symlink() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 92 |
| BUF_SIZE | 0 | path | 7-1010108,u64max |
| BUF_SIZE | 0 | path | 7-1010108,u64max |
| DATA_SOURCE | 1 | delim | r CIFS_DIR_SEP |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/smb/client/reparse.c detect_directory_symlink_target() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-18446744073709547521 |
| PARAM_VALUE | 1 | delim | 92 |
| BUF_SIZE | 0 | path | 4061-1014162,u64max |
| BUF_SIZE | 0 | path | 4061-1014162,u64max |
| DATA_SOURCE | 1 | delim | r CIFS_DIR_SEP |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/smb/client/reparse.c smb2_parse_native_symlink() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 16,4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47 |
| BUF_SIZE | 0 | path | 0-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/smb/client/namespace.c automount_fullpath() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | delim | 47 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &path->dentry->d_lockref.lock |
fs/smb/client/namespace.c cifs_build_devname() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47 |
| BUF_SIZE | 0 | path | 4-2020206 |
| BUF_SIZE | 0 | path | 4-2020206 |
| DATA_SOURCE | 0 | path | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/dfs_cache.c dfs_cache_canonical_path() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 92 |
| BUF_SIZE | 0 | path | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/dfs_cache.c get_dfs_referral() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | delim | 92 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/smb/client/fs_context.c smb3_fs_context_fullpath() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47,92 |
| BUF_SIZE | 0 | path | 0-u64max |
| DATA_SOURCE | 0 | path | r _kmalloc_noprof |
| DATA_SOURCE | 1 | delim | $1 |
| TERMINATED | 0 | path | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/fs_context.c smb3_parse_devname() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 92 |
| BUF_SIZE | 0 | path | 89,1285 |
| DATA_SOURCE | 0 | path | r kstrndup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/dir.c cifs_build_path_to_root() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47,92 |
| BUF_SIZE | 0 | path | 0-1285,18446744071562067969-u64max |
| BUF_SIZE | 0 | path | 0-1285,18446744071562067969-u64max |
| DATA_SOURCE | 0 | path | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/misc.c cifs_update_super_prepath() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47,92 |
| DATA_SOURCE | 0 | path | r cifs_sanitize_prepath |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ses->session_mutex | ||
| HALF_LOCKED2 | &tcon->ses->session_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/client/inode.c cifs_root_iget() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47,92 |
| BUF_SIZE | 0 | path | 2,u64max |
| BUF_SIZE | 0 | path | 2,u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/smb/client/cifsfs.c cifs_show_devname() -> convert_delimiter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | delim | 47 |
| DATA_SOURCE | 0 | path | r kstrdup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &namespace_sem |