Lines Matching refs:cifs_sb
806 struct cifs_sb_info *cifs_sb) in smb3_qfs_tcon() argument
820 .create_options = cifs_create_options(cifs_sb, 0), in smb3_qfs_tcon()
824 rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); in smb3_qfs_tcon()
851 struct cifs_sb_info *cifs_sb) in smb2_qfs_tcon() argument
864 .create_options = cifs_create_options(cifs_sb, 0), in smb2_qfs_tcon()
882 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
894 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); in smb2_is_path_accessible()
903 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
912 .create_options = cifs_create_options(cifs_sb, 0), in smb2_is_path_accessible()
925 rc2 = cifs_inval_name_dfs_link_error(xid, tcon, cifs_sb, in smb2_is_path_accessible()
934 if (rc == -EREMOTE && IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) && cifs_sb && in smb2_is_path_accessible()
935 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS)) in smb2_is_path_accessible()
949 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
1058 struct cifs_sb_info *cifs_sb) in smb2_query_eas() argument
1073 &rsp_iov, &buftype, cifs_sb); in smb2_query_eas()
1107 struct cifs_sb_info *cifs_sb) in smb2_set_ea() argument
1134 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1151 cifs_sb); in smb2_set_ea()
1167 &rsp_iov[1], &resp_buftype[1], cifs_sb); in smb2_set_ea()
1198 .create_options = cifs_create_options(cifs_sb, 0), in smb2_set_ea()
1479 struct cifs_sb_info *cifs_sb, in smb2_ioctl_query_info() argument
1545 .create_options = cifs_create_options(cifs_sb, create_options), in smb2_ioctl_query_info()
2139 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in smb3_notify() local
2157 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_notify()
2176 tcon = cifs_sb_master_tcon(cifs_sb); in smb3_notify()
2182 .create_options = cifs_create_options(cifs_sb, 0), in smb3_notify()
2216 const char *path, struct cifs_sb_info *cifs_sb, in smb2_query_dir_first() argument
2234 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_dir_first()
2255 .create_options = cifs_create_options(cifs_sb, 0), in smb2_query_dir_first()
2542 struct cifs_sb_info *cifs_sb) in smb2_query_info_compound() argument
2560 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_info_compound()
2580 open_cached_dir(xid, tcon, path, cifs_sb, false, in smb2_query_info_compound()
2591 .create_options = cifs_create_options(cifs_sb, 0), in smb2_query_info_compound()
2674 struct cifs_sb_info *cifs_sb, struct kstatfs *buf) in smb2_queryfs() argument
2688 &rsp_iov, &buftype, cifs_sb); in smb2_queryfs()
2711 struct cifs_sb_info *cifs_sb, struct kstatfs *buf) in smb311_queryfs() argument
2720 return smb2_queryfs(xid, tcon, cifs_sb, buf); in smb311_queryfs()
2727 .create_options = cifs_create_options(cifs_sb, 0), in smb311_queryfs()
2883 struct cifs_sb_info *cifs_sb, in parse_reparse_posix() argument
2894 cifs_sb->local_nls); in parse_reparse_posix()
2916 struct cifs_sb_info *cifs_sb, in parse_reparse_symlink() argument
2933 cifs_sb->local_nls); in parse_reparse_symlink()
2944 u32 plen, struct cifs_sb_info *cifs_sb, in parse_reparse_point() argument
2965 cifs_sb, data); in parse_reparse_point()
2969 plen, unicode, cifs_sb, data); in parse_reparse_point()
2983 static int smb2_parse_reparse_point(struct cifs_sb_info *cifs_sb, in smb2_parse_reparse_point() argument
2993 return parse_reparse_point(buf, plen, cifs_sb, true, data); in smb2_parse_reparse_point()
2998 struct cifs_sb_info *cifs_sb, in smb2_query_reparse_point() argument
3023 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_reparse_point()
3048 .create_options = cifs_create_options(cifs_sb, OPEN_REPARSE_POINT), in smb2_query_reparse_point()
3136 get_smb2_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_smb2_acl_by_fid() argument
3142 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_smb2_acl_by_fid()
3165 get_smb2_acl_by_path(struct cifs_sb_info *cifs_sb, in get_smb2_acl_by_path() argument
3173 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_smb2_acl_by_path()
3185 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in get_smb2_acl_by_path()
3203 .create_options = cifs_create_options(cifs_sb, 0) | in get_smb2_acl_by_path()
3238 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in set_smb2_acl() local
3239 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in set_smb2_acl()
3258 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in set_smb2_acl()
3268 .create_options = cifs_create_options(cifs_sb, 0), in set_smb2_acl()
3290 get_smb2_acl(struct cifs_sb_info *cifs_sb, in get_smb2_acl() argument
3300 return get_smb2_acl_by_path(cifs_sb, path, pacllen, info); in get_smb2_acl()
3302 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
5110 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in smb2_make_node() local
5127 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in smb2_make_node()
5143 .cifs_sb = cifs_sb, in smb2_make_node()
5145 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR | in smb2_make_node()