Lines Matching refs:cifs_sb

72 	struct cifs_sb_info *cifs_sb = CIFS_SB(sb);  in cifs_prime_dcache()  local
104 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) in cifs_prime_dcache()
154 cifs_fill_common_info(struct cifs_fattr *fattr, struct cifs_sb_info *cifs_sb) in cifs_fill_common_info() argument
160 fattr->cf_uid = cifs_sb->ctx->linux_uid; in cifs_fill_common_info()
161 fattr->cf_gid = cifs_sb->ctx->linux_gid; in cifs_fill_common_info()
172 cifs_reparse_point_to_fattr(cifs_sb, fattr, &data)) in cifs_fill_common_info()
176 fattr->cf_mode = S_IFDIR | cifs_sb->ctx->dir_mode; in cifs_fill_common_info()
179 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_fill_common_info()
205 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || in cifs_fill_common_info()
206 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) in cifs_fill_common_info()
209 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && in cifs_fill_common_info()
229 struct cifs_sb_info *cifs_sb) in cifs_posix_to_fattr() argument
275 sid_to_id(cifs_sb, &parsed.owner, fattr, SIDOWNER); in cifs_posix_to_fattr()
276 sid_to_id(cifs_sb, &parsed.group, fattr, SIDGROUP); in cifs_posix_to_fattr()
295 struct cifs_sb_info *cifs_sb) in cifs_dir_info_to_fattr() argument
298 cifs_fill_common_info(fattr, cifs_sb); in cifs_dir_info_to_fattr()
303 struct cifs_sb_info *cifs_sb) in cifs_fulldir_info_to_fattr() argument
312 cifs_fill_common_info(fattr, cifs_sb); in cifs_fulldir_info_to_fattr()
317 struct cifs_sb_info *cifs_sb) in cifs_std_info_to_fattr() argument
319 int offset = cifs_sb_master_tcon(cifs_sb)->ses->server->timeAdj; in cifs_std_info_to_fattr()
333 cifs_fill_common_info(fattr, cifs_sb); in cifs_std_info_to_fattr()
375 struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); in _initiate_cifs_search() local
381 tlink = cifs_sb_tlink(cifs_sb); in _initiate_cifs_search()
422 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in _initiate_cifs_search()
429 if (backup_cred(cifs_sb)) in _initiate_cifs_search()
432 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search()
442 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in _initiate_cifs_search()
443 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in _initiate_cifs_search()
720 struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); in find_cifs_entry() local
777 if (backup_cred(cifs_sb)) in find_cifs_entry()
963 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); in cifs_filldir() local
985 struct nls_table *nlt = cifs_sb->local_nls; in cifs_filldir()
988 map_type = cifs_remap(cifs_sb); in cifs_filldir()
1005 cifs_sb); in cifs_filldir()
1010 cifs_sb); in cifs_filldir()
1017 cifs_sb); in cifs_filldir()
1021 cifs_fulldir_info_to_fattr(&fattr, find_entry, cifs_sb); in cifs_filldir()
1026 cifs_sb); in cifs_filldir()
1030 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir()
1034 cifs_autodisable_serverino(cifs_sb); in cifs_filldir()
1037 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) && in cifs_filldir()
1069 struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); in cifs_readdir() local
1080 tlink = cifs_sb_tlink(cifs_sb); in cifs_readdir()
1089 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, false, &cfid); in cifs_readdir()
1160 open_cached_dir(xid, tcon, full_path, cifs_sb, false, &cfid); in cifs_readdir()