Defined in 1 files as a function:
Referenced in 11 files:
- fs/smb/client/cached_dir.c, line 276
- fs/smb/client/cifsacl.c
- fs/smb/client/cifsglob.h, line 2252
- fs/smb/client/cifssmb.c, line 2991
- fs/smb/client/dir.c, line 374
- fs/smb/client/file.c
- fs/smb/client/inode.c
- fs/smb/client/link.c
- fs/smb/client/reparse.c
- fs/smb/client/smb1ops.c, line 1033
- fs/smb/client/smb2ops.c
Smatch caller information:
fs/smb/client/reparse.c detect_directory_symlink_target() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $0 |
| STR_LEN | 0 | cifs_sb | 4060 |
| STR_LEN | 0 | cifs_sb | 4060 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/reparse.c detect_directory_symlink_target() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 2097153 |
| DATA_SOURCE | 0 | cifs_sb | $0 |
| STR_LEN | 0 | cifs_sb | 4060 |
| STR_LEN | 0 | cifs_sb | 4060 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/reparse.c detect_directory_symlink_target() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 2097216 |
| DATA_SOURCE | 0 | cifs_sb | $0 |
| STR_LEN | 0 | cifs_sb | 4060 |
| STR_LEN | 0 | cifs_sb | 4060 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cifsacl.c get_cifs_acl_by_path() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cifsacl.c set_cifs_acl() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/link.c cifs_create_mf_symlink() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/link.c cifs_query_mf_symlink() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/link.c smb3_create_mf_symlink() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/link.c smb3_query_mf_symlink() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb1ops.c smb_set_file_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/dir.c __cifs_do_create() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64,66,72,74,4160,4162,4168,4170,268435520,268435522,268435528,268435530,268439616,268439618,268439624,268439626 |
| BIT_INFO | 1 | options | 0x40,0x1fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/file.c cifs_nt_open() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64,66,72,74,4160,4162,4168,4170 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| BIT_INFO | 1 | options | 0x40,0x1fff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/file.c cifs_reopen_file() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 64,66,72,74,4160,4162,4168,4170 |
| BIT_INFO | 1 | options | 0x40,0x1fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cfile->fh_mutex | ||
| HALF_LOCKED2 | &pserver->reconnect_mutex | ||
| TYPE_LOCK | (struct cifsFileInfo)->fh_mutex |
fs/smb/client/ioctl.c cifs_set_compression_by_path() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
fs/smb/client/smb2inode.c smb2_create_reparse_inode() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 2097153,2097216 |
| BIT_INFO | 1 | options | 0x200000,0x20007f |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2inode.c smb2_mkdir() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 1 |
| DATA_SOURCE | 0 | cifs_sb | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_lockref.lock |
fs/smb/client/smb2inode.c smb2_mkdir_setinfo() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 1 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/smb/client/smb2inode.c smb2_query_path_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2inode.c smb2_query_path_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2inode.c smb2_query_path_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 2097152 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2inode.c smb2_query_reparse_point() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 2097152 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2inode.c smb2_rename_pending_delete() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0,2097152 |
| DATA_SOURCE | 1 | options | r file_create_options |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/smb/client/smb2inode.c smb2_rmdir() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 1 |
| DATA_SOURCE | 0 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem |
fs/smb/client/smb2inode.c smb2_set_file_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2inode.c smb2_set_path_attr() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0,2097152 |
| DATA_SOURCE | 0 | cifs_sb | $4 |
| DATA_SOURCE | 1 | options | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2inode.c smb2_set_path_size() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2inode.c smb2_unlink() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 2101248 |
| DATA_SOURCE | 0 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cached_dir.c open_cached_dir() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 1 |
| DATA_SOURCE | 0 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/smb2ops.c __cifs_sfu_make_node() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 536870976 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c get_smb2_acl_by_path() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c set_smb2_acl() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/smb2ops.c smb2_ioctl_query_info() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 1,64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| FUZZY_MAX | 1 | options | 64 |
| BIT_INFO | 1 | options | 0x0,0x41 |
fs/smb/client/smb2ops.c smb2_is_path_accessible() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/smb2ops.c smb2_qfs_tcon() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | 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_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | 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_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $9 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c smb2_set_ea() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | 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_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->s_umount |
fs/smb/client/smb2ops.c smb3_notify() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
fs/smb/client/smb2ops.c smb3_qfs_tcon() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 0 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/inode.c cifs_do_rename() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/smb/client/inode.c cifs_rename_pending_delete() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | options | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/smb/client/inode.c cifs_sfu_type() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cifs_sb->mnt_cifs_flags.counter | s32min-(-1),128-s32max |
| PARAM_VALUE | 1 | options | 64 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifssmb.c cifs_create_reparse_inode() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 2097153,2097216 |
| BIT_INFO | 1 | options | 0x200000,0x20007f |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cifssmb.c cifs_query_reparse_point() -> cifs_create_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 2097152 |
| DATA_SOURCE | 0 | cifs_sb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |