cifs_sb 265 fs/cifs/cifs_dfs_ref.c struct cifs_sb_info *cifs_sb, cifs_sb 279 fs/cifs/cifs_dfs_ref.c mountdata = cifs_compose_mount_options(cifs_sb->mountdata, cifs_sb 297 fs/cifs/cifs_dfs_ref.c struct cifs_sb_info *cifs_sb; cifs_sb 316 fs/cifs/cifs_dfs_ref.c cifs_sb = CIFS_SB(mntpt->d_sb); cifs_sb 317 fs/cifs/cifs_dfs_ref.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) { cifs_sb 331 fs/cifs/cifs_dfs_ref.c if (!cifs_sb_master_tlink(cifs_sb)) { cifs_sb 336 fs/cifs/cifs_dfs_ref.c tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 356 fs/cifs/cifs_dfs_ref.c rc = dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_remap(cifs_sb), cifs_sb 359 fs/cifs/cifs_dfs_ref.c rc = dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_sb 360 fs/cifs/cifs_dfs_ref.c cifs_remap(cifs_sb), full_path + 1, cifs_sb 376 fs/cifs/cifs_dfs_ref.c mnt = cifs_dfs_do_mount(mntpt, cifs_sb, full_path); cifs_sb 17 fs/cifs/cifs_unicode.c int cifs_remap(struct cifs_sb_info *cifs_sb) cifs_sb 21 fs/cifs/cifs_unicode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) cifs_sb 23 fs/cifs/cifs_unicode.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) cifs_sb 103 fs/cifs/cifs_unicode.h extern int cifs_remap(struct cifs_sb_info *cifs_sb); cifs_sb 344 fs/cifs/cifsacl.c sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid *psid, cifs_sb 351 fs/cifs/cifsacl.c kuid_t fuid = cifs_sb->mnt_uid; cifs_sb 352 fs/cifs/cifsacl.c kgid_t fgid = cifs_sb->mnt_gid; cifs_sb 364 fs/cifs/cifsacl.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) { cifs_sb 891 fs/cifs/cifsacl.c static int parse_sec_desc(struct cifs_sb_info *cifs_sb, cifs_sb 920 fs/cifs/cifsacl.c rc = sid_to_id(cifs_sb, owner_sid_ptr, fattr, SIDOWNER); cifs_sb 933 fs/cifs/cifsacl.c rc = sid_to_id(cifs_sb, group_sid_ptr, fattr, SIDGROUP); cifs_sb 1029 fs/cifs/cifsacl.c struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, cifs_sb 1035 fs/cifs/cifsacl.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1053 fs/cifs/cifsacl.c static struct cifs_ntsd *get_cifs_acl_by_path(struct cifs_sb_info *cifs_sb, cifs_sb 1061 fs/cifs/cifsacl.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1071 fs/cifs/cifsacl.c if (backup_cred(cifs_sb)) cifs_sb 1075 fs/cifs/cifsacl.c oparms.cifs_sb = cifs_sb; cifs_sb 1099 fs/cifs/cifsacl.c struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *cifs_sb, cifs_sb 1109 fs/cifs/cifsacl.c return get_cifs_acl_by_path(cifs_sb, path, pacllen); cifs_sb 1111 fs/cifs/cifsacl.c pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); cifs_sb 1124 fs/cifs/cifsacl.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1125 fs/cifs/cifsacl.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1135 fs/cifs/cifsacl.c if (backup_cred(cifs_sb)) cifs_sb 1144 fs/cifs/cifsacl.c oparms.cifs_sb = cifs_sb; cifs_sb 1170 fs/cifs/cifsacl.c cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, cifs_sb 1177 fs/cifs/cifsacl.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1188 fs/cifs/cifsacl.c pntsd = ops->get_acl_by_fid(cifs_sb, pfid, &acllen); cifs_sb 1190 fs/cifs/cifsacl.c pntsd = ops->get_acl(cifs_sb, inode, path, &acllen); cifs_sb 1200 fs/cifs/cifsacl.c rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, true); cifs_sb 1203 fs/cifs/cifsacl.c rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, false); cifs_sb 1224 fs/cifs/cifsacl.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1225 fs/cifs/cifsacl.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1243 fs/cifs/cifsacl.c pntsd = ops->get_acl(cifs_sb, inode, path, &secdesclen); cifs_sb 1265 fs/cifs/cifsacl.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) cifs_sb 154 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb; cifs_sb 159 fs/cifs/cifsfs.c cifs_sb = CIFS_SB(sb); cifs_sb 160 fs/cifs/cifsfs.c tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 162 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIXACL) cifs_sb 209 fs/cifs/cifsfs.c sb->s_bdi->ra_pages = cifs_sb->rsize / PAGE_SIZE; cifs_sb 232 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { cifs_sb 247 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 249 fs/cifs/cifsfs.c cifs_umount(cifs_sb); cifs_sb 256 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 257 fs/cifs/cifsfs.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 286 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); cifs_sb 287 fs/cifs/cifsfs.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 298 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb; cifs_sb 300 fs/cifs/cifsfs.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 302 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) { cifs_sb 437 fs/cifs/cifsfs.c cifs_show_cache_flavor(struct seq_file *s, struct cifs_sb_info *cifs_sb) cifs_sb 441 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) cifs_sb 443 fs/cifs/cifsfs.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) cifs_sb 445 fs/cifs/cifsfs.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE) cifs_sb 447 fs/cifs/cifsfs.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) cifs_sb 473 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb); cifs_sb 474 fs/cifs/cifsfs.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 480 fs/cifs/cifsfs.c cifs_show_cache_flavor(s, cifs_sb); cifs_sb 484 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER) cifs_sb 509 fs/cifs/cifsfs.c from_kuid_munged(&init_user_ns, cifs_sb->mnt_uid)); cifs_sb 510 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) cifs_sb 516 fs/cifs/cifsfs.c from_kgid_munged(&init_user_ns, cifs_sb->mnt_gid)); cifs_sb 517 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) cifs_sb 526 fs/cifs/cifsfs.c cifs_sb->mnt_file_mode, cifs_sb 527 fs/cifs/cifsfs.c cifs_sb->mnt_dir_mode); cifs_sb 529 fs/cifs/cifsfs.c cifs_show_nls(s, cifs_sb->local_nls); cifs_sb 553 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) cifs_sb 555 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) cifs_sb 557 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) cifs_sb 559 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) cifs_sb 561 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) cifs_sb 563 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 565 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) cifs_sb 567 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) cifs_sb 569 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) cifs_sb 571 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) cifs_sb 573 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) cifs_sb 575 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) cifs_sb 577 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_HANDLE_CACHE) cifs_sb 579 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) cifs_sb 581 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) cifs_sb 583 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) cifs_sb 587 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) cifs_sb 589 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE) cifs_sb 591 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC) cifs_sb 593 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) cifs_sb 595 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) cifs_sb 598 fs/cifs/cifsfs.c cifs_sb->mnt_backupuid)); cifs_sb 599 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) cifs_sb 602 fs/cifs/cifsfs.c cifs_sb->mnt_backupgid)); cifs_sb 604 fs/cifs/cifsfs.c seq_printf(s, ",rsize=%u", cifs_sb->rsize); cifs_sb 605 fs/cifs/cifsfs.c seq_printf(s, ",wsize=%u", cifs_sb->wsize); cifs_sb 606 fs/cifs/cifsfs.c seq_printf(s, ",bsize=%u", cifs_sb->bsize); cifs_sb 621 fs/cifs/cifsfs.c seq_printf(s, ",actimeo=%lu", cifs_sb->actimeo / HZ); cifs_sb 628 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 631 fs/cifs/cifsfs.c if (cifs_sb == NULL) cifs_sb 634 fs/cifs/cifsfs.c tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 679 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 682 fs/cifs/cifsfs.c return !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) || cifs_sb 712 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 717 fs/cifs/cifsfs.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) cifs_sb 720 fs/cifs/cifsfs.c full_path = cifs_build_path_to_root(vol, cifs_sb, cifs_sb 721 fs/cifs/cifsfs.c cifs_sb_master_tcon(cifs_sb), 0); cifs_sb 727 fs/cifs/cifsfs.c sep = CIFS_DIR_SEP(cifs_sb); cifs_sb 767 fs/cifs/cifsfs.c sb->s_fs_info = mnt_data->cifs_sb; cifs_sb 777 fs/cifs/cifsfs.c struct cifs_sb_info *cifs_sb; cifs_sb 795 fs/cifs/cifsfs.c cifs_sb = kzalloc(sizeof(struct cifs_sb_info), GFP_KERNEL); cifs_sb 796 fs/cifs/cifsfs.c if (cifs_sb == NULL) { cifs_sb 801 fs/cifs/cifsfs.c cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); cifs_sb 802 fs/cifs/cifsfs.c if (cifs_sb->mountdata == NULL) { cifs_sb 807 fs/cifs/cifsfs.c rc = cifs_setup_cifs_sb(volume_info, cifs_sb); cifs_sb 813 fs/cifs/cifsfs.c rc = cifs_mount(cifs_sb, volume_info); cifs_sb 823 fs/cifs/cifsfs.c mnt_data.cifs_sb = cifs_sb; cifs_sb 832 fs/cifs/cifsfs.c cifs_umount(cifs_sb); cifs_sb 838 fs/cifs/cifsfs.c cifs_umount(cifs_sb); cifs_sb 863 fs/cifs/cifsfs.c kfree(cifs_sb->prepath); cifs_sb 864 fs/cifs/cifsfs.c kfree(cifs_sb->mountdata); cifs_sb 865 fs/cifs/cifsfs.c kfree(cifs_sb); cifs_sb 333 fs/cifs/cifsglob.h struct cifs_sb_info *cifs_sb); cifs_sb 641 fs/cifs/cifsglob.h struct cifs_sb_info *cifs_sb; cifs_sb 1142 fs/cifs/cifsglob.h extern struct tcon_link *cifs_sb_tlink(struct cifs_sb_info *cifs_sb); cifs_sb 1152 fs/cifs/cifsglob.h cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb) cifs_sb 1154 fs/cifs/cifsglob.h return cifs_sb->master_tlink; cifs_sb 1168 fs/cifs/cifsglob.h extern struct cifs_tcon *cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb); cifs_sb 1216 fs/cifs/cifsglob.h struct cifs_sb_info *cifs_sb; cifs_sb 1447 fs/cifs/cifsglob.h static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) cifs_sb 1449 fs/cifs/cifsglob.h if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) cifs_sb 76 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, cifs_sb 186 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb); cifs_sb 204 fs/cifs/cifsproto.h extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb, cifs_sb 225 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb); cifs_sb 230 fs/cifs/cifsproto.h extern int cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *vol); cifs_sb 275 fs/cifs/cifsproto.h const char *searchName, struct cifs_sb_info *cifs_sb, cifs_sb 317 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, cifs_sb 351 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, bool set_allocation); cifs_sb 379 fs/cifs/cifsproto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 381 fs/cifs/cifsproto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 387 fs/cifs/cifsproto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 390 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb); cifs_sb 397 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb); cifs_sb 506 fs/cifs/cifsproto.h size_t bufsize, struct cifs_sb_info *cifs_sb); cifs_sb 511 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb); cifs_sb 526 fs/cifs/cifsproto.h extern void cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb); cifs_sb 529 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, cifs_sb 565 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, cifs_sb 569 fs/cifs/cifsproto.h struct cifs_sb_info *cifs_sb, cifs_sb 995 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 1002 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 1012 fs/cifs/cifssmb.c PATH_MAX, cifs_sb->local_nls, cifs_sb 1039 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 1046 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 1057 fs/cifs/cifssmb.c PATH_MAX, cifs_sb->local_nls, cifs_sb 1083 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 1090 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 1101 fs/cifs/cifssmb.c PATH_MAX, cifs_sb->local_nls, cifs_sb 1403 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb = oparms->cifs_sb; cifs_sb 1405 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 1406 fs/cifs/cifssmb.c const struct nls_table *nls = cifs_sb->local_nls; cifs_sb 2765 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 2773 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 2790 fs/cifs/cifssmb.c cifs_sb->local_nls, remap); cifs_sb 2798 fs/cifs/cifssmb.c to_name, PATH_MAX, cifs_sb->local_nls, cifs_sb 3143 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 3151 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 3172 fs/cifs/cifssmb.c PATH_MAX, cifs_sb->local_nls, remap); cifs_sb 3181 fs/cifs/cifssmb.c to_name, PATH_MAX, cifs_sb->local_nls, cifs_sb 4504 fs/cifs/cifssmb.c const char *searchName, struct cifs_sb_info *cifs_sb, cifs_sb 4526 fs/cifs/cifssmb.c nls_codepage = cifs_sb->local_nls; cifs_sb 4527 fs/cifs/cifssmb.c remap = cifs_remap(cifs_sb); cifs_sb 4538 fs/cifs/cifssmb.c pSMB->FileName[name_len] = CIFS_DIR_SEP(cifs_sb); cifs_sb 4554 fs/cifs/cifssmb.c pSMB->FileName[name_len-1] = CIFS_DIR_SEP(cifs_sb); cifs_sb 5587 fs/cifs/cifssmb.c const char *file_name, __u64 size, struct cifs_sb_info *cifs_sb, cifs_sb 5596 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 5610 fs/cifs/cifssmb.c PATH_MAX, cifs_sb->local_nls, remap); cifs_sb 6210 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 6215 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 6216 fs/cifs/cifssmb.c struct nls_table *nls_codepage = cifs_sb->local_nls; cifs_sb 6396 fs/cifs/cifssmb.c struct cifs_sb_info *cifs_sb) cifs_sb 6405 fs/cifs/cifssmb.c int remap = cifs_remap(cifs_sb); cifs_sb 400 fs/cifs/connect.c struct cifs_sb_info *cifs_sb; cifs_sb 406 fs/cifs/connect.c cifs_sb = CIFS_SB(sb); cifs_sb 407 fs/cifs/connect.c tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 439 fs/cifs/connect.c struct cifs_sb_info *cifs_sb, cifs_sb 445 fs/cifs/connect.c if (!cifs_sb || !cifs_sb->origin_fullpath || !tgt_list || cifs_sb 457 fs/cifs/connect.c cifs_dbg(FYI, "%s: UNC: %s\n", __func__, cifs_sb->origin_fullpath); cifs_sb 471 fs/cifs/connect.c static inline int reconn_setup_dfs_targets(struct cifs_sb_info *cifs_sb, cifs_sb 475 fs/cifs/connect.c if (!cifs_sb->origin_fullpath) cifs_sb 477 fs/cifs/connect.c return dfs_cache_noreq_find(cifs_sb->origin_fullpath + 1, NULL, tl); cifs_sb 500 fs/cifs/connect.c struct cifs_sb_info *cifs_sb = NULL; cifs_sb 516 fs/cifs/connect.c cifs_sb = CIFS_SB(sb); cifs_sb 518 fs/cifs/connect.c rc = reconn_setup_dfs_targets(cifs_sb, &tgt_list, &tgt_it); cifs_sb 629 fs/cifs/connect.c reconn_inval_dfs_target(server, cifs_sb, &tgt_list, cifs_sb 652 fs/cifs/connect.c rc = dfs_cache_noreq_update_tgthint(cifs_sb->origin_fullpath + 1, cifs_sb 658 fs/cifs/connect.c rc = dfs_cache_update_vol(cifs_sb->origin_fullpath, server); cifs_sb 3617 fs/cifs/connect.c struct cifs_sb_info *new = mnt_data->cifs_sb; cifs_sb 3660 fs/cifs/connect.c struct cifs_sb_info *new = mnt_data->cifs_sb; cifs_sb 3679 fs/cifs/connect.c struct cifs_sb_info *cifs_sb; cifs_sb 3687 fs/cifs/connect.c cifs_sb = CIFS_SB(sb); cifs_sb 3688 fs/cifs/connect.c tlink = cifs_get_tlink(cifs_sb_master_tlink(cifs_sb)); cifs_sb 3984 fs/cifs/connect.c struct cifs_sb_info *cifs_sb, struct smb_vol *vol_info) cifs_sb 4038 fs/cifs/connect.c if (cifs_sb) cifs_sb 4039 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= cifs_sb 4047 fs/cifs/connect.c if (cifs_sb) cifs_sb 4048 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= cifs_sb 4084 fs/cifs/connect.c struct cifs_sb_info *cifs_sb) cifs_sb 4086 fs/cifs/connect.c INIT_DELAYED_WORK(&cifs_sb->prune_tlinks, cifs_prune_tlinks); cifs_sb 4088 fs/cifs/connect.c spin_lock_init(&cifs_sb->tlink_tree_lock); cifs_sb 4089 fs/cifs/connect.c cifs_sb->tlink_tree = RB_ROOT; cifs_sb 4091 fs/cifs/connect.c cifs_sb->bsize = pvolume_info->bsize; cifs_sb 4096 fs/cifs/connect.c cifs_sb->rsize = pvolume_info->rsize; cifs_sb 4097 fs/cifs/connect.c cifs_sb->wsize = pvolume_info->wsize; cifs_sb 4099 fs/cifs/connect.c cifs_sb->mnt_uid = pvolume_info->linux_uid; cifs_sb 4100 fs/cifs/connect.c cifs_sb->mnt_gid = pvolume_info->linux_gid; cifs_sb 4101 fs/cifs/connect.c cifs_sb->mnt_file_mode = pvolume_info->file_mode; cifs_sb 4102 fs/cifs/connect.c cifs_sb->mnt_dir_mode = pvolume_info->dir_mode; cifs_sb 4104 fs/cifs/connect.c cifs_sb->mnt_file_mode, cifs_sb->mnt_dir_mode); cifs_sb 4106 fs/cifs/connect.c cifs_sb->actimeo = pvolume_info->actimeo; cifs_sb 4107 fs/cifs/connect.c cifs_sb->local_nls = pvolume_info->local_nls; cifs_sb 4110 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_DFS; cifs_sb 4112 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_PERM; cifs_sb 4114 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SET_UID; cifs_sb 4116 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UID_FROM_ACL; cifs_sb 4118 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SERVER_INUM; cifs_sb 4120 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_MAP_SFM_CHR; cifs_sb 4122 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_MAP_SPECIAL_CHR; cifs_sb 4124 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_XATTR; cifs_sb 4126 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UNX_EMUL; cifs_sb 4128 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_BRL; cifs_sb 4130 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_HANDLE_CACHE; cifs_sb 4132 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NOSSYNC; cifs_sb 4134 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NOPOSIXBRL; cifs_sb 4136 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RWPIDFORWARD; cifs_sb 4138 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_MODE_FROM_SID; cifs_sb 4140 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_CIFS_ACL; cifs_sb 4142 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_CIFS_BACKUPUID; cifs_sb 4143 fs/cifs/connect.c cifs_sb->mnt_backupuid = pvolume_info->backupuid; cifs_sb 4146 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_CIFS_BACKUPGID; cifs_sb 4147 fs/cifs/connect.c cifs_sb->mnt_backupgid = pvolume_info->backupgid; cifs_sb 4150 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_OVERR_UID; cifs_sb 4152 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_OVERR_GID; cifs_sb 4154 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_DYNPERM; cifs_sb 4156 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_FSCACHE; cifs_sb 4158 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_MULTIUSER | cifs_sb 4161 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_STRICT_IO; cifs_sb 4164 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_DIRECT_IO; cifs_sb 4168 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RO_CACHE; cifs_sb 4171 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_RO_CACHE | cifs_sb 4189 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_MF_SYMLINKS; cifs_sb 4196 fs/cifs/connect.c cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL); cifs_sb 4197 fs/cifs/connect.c if (cifs_sb->prepath == NULL) cifs_sb 4225 fs/cifs/connect.c static inline void mount_put_conns(struct cifs_sb_info *cifs_sb, cifs_sb 4238 fs/cifs/connect.c cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_POSIX_PATHS; cifs_sb 4243 fs/cifs/connect.c static int mount_get_conns(struct smb_vol *vol, struct cifs_sb_info *cifs_sb, cifs_sb 4299 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS; cifs_sb 4307 fs/cifs/connect.c reset_cifs_unix_caps(*xid, tcon, cifs_sb, vol); cifs_sb 4318 fs/cifs/connect.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) { cifs_sb 4322 fs/cifs/connect.c else if ((cifs_sb->mnt_cifs_flags & cifs_sb 4329 fs/cifs/connect.c cifs_sb->wsize = server->ops->negotiate_wsize(tcon, vol); cifs_sb 4330 fs/cifs/connect.c cifs_sb->rsize = server->ops->negotiate_rsize(tcon, vol); cifs_sb 4335 fs/cifs/connect.c static int mount_setup_tlink(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses, cifs_sb 4351 fs/cifs/connect.c cifs_sb->master_tlink = tlink; cifs_sb 4352 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 4353 fs/cifs/connect.c tlink_rb_insert(&cifs_sb->tlink_tree, tlink); cifs_sb 4354 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 4356 fs/cifs/connect.c queue_delayed_work(cifsiod_wq, &cifs_sb->prune_tlinks, cifs_sb 4368 fs/cifs/connect.c const struct cifs_sb_info *cifs_sb, bool useppath) cifs_sb 4386 fs/cifs/connect.c *pos = CIFS_DIR_SEP(cifs_sb); cifs_sb 4392 fs/cifs/connect.c convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); cifs_sb 4410 fs/cifs/connect.c struct smb_vol *volume_info, struct cifs_sb_info *cifs_sb, cifs_sb 4417 fs/cifs/connect.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) cifs_sb 4420 fs/cifs/connect.c full_path = build_unc_path_to_root(volume_info, cifs_sb, true); cifs_sb 4427 fs/cifs/connect.c rc = dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_remap(cifs_sb), cifs_sb 4432 fs/cifs/connect.c mdata = cifs_compose_mount_options(cifs_sb->mountdata, cifs_sb 4446 fs/cifs/connect.c kfree(cifs_sb->mountdata); cifs_sb 4447 fs/cifs/connect.c cifs_sb->mountdata = mdata; cifs_sb 4491 fs/cifs/connect.c struct cifs_sb_info *cifs_sb, cifs_sb 4509 fs/cifs/connect.c mdata = cifs_compose_mount_options(cifs_sb->mountdata, path, &ref, cifs_sb 4530 fs/cifs/connect.c mount_put_conns(cifs_sb, *xid, *server, *ses, *tcon); cifs_sb 4531 fs/cifs/connect.c rc = mount_get_conns(&fake_vol, cifs_sb, xid, server, ses, cifs_sb 4546 fs/cifs/connect.c struct cifs_sb_info *cifs_sb, cifs_sb 4558 fs/cifs/connect.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) cifs_sb 4571 fs/cifs/connect.c rc = setup_dfs_tgt_conn(path, tgt_it, cifs_sb, vol, xid, server, cifs_sb 4582 fs/cifs/connect.c cifs_sb->local_nls, cifs_sb 4583 fs/cifs/connect.c cifs_remap(cifs_sb), path, cifs_sb 4653 fs/cifs/connect.c struct cifs_sb_info *cifs_sb, cifs_sb 4662 fs/cifs/connect.c sep = CIFS_DIR_SEP(cifs_sb); cifs_sb 4665 fs/cifs/connect.c rc = server->ops->is_path_accessible(xid, tcon, cifs_sb, ""); cifs_sb 4689 fs/cifs/connect.c rc = server->ops->is_path_accessible(xid, tcon, cifs_sb, cifs_sb 4700 fs/cifs/connect.c static int is_path_remote(struct cifs_sb_info *cifs_sb, struct smb_vol *vol, cifs_sb 4714 fs/cifs/connect.c full_path = cifs_build_path_to_root(vol, cifs_sb, tcon, cifs_sb 4721 fs/cifs/connect.c rc = server->ops->is_path_accessible(xid, tcon, cifs_sb, cifs_sb 4730 fs/cifs/connect.c cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); cifs_sb 4734 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; cifs_sb 4744 fs/cifs/connect.c static inline void set_root_tcon(struct cifs_sb_info *cifs_sb, cifs_sb 4750 fs/cifs/connect.c tcon->remap = cifs_remap(cifs_sb); cifs_sb 4755 fs/cifs/connect.c int cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *vol) cifs_sb 4767 fs/cifs/connect.c rc = mount_get_conns(vol, cifs_sb, &xid, &server, &ses, &tcon); cifs_sb 4770 fs/cifs/connect.c rc = dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_sb 4771 fs/cifs/connect.c cifs_remap(cifs_sb), vol->UNC + 1, NULL, cifs_sb 4774 fs/cifs/connect.c rc = is_path_remote(cifs_sb, vol, xid, server, tcon); cifs_sb 4795 fs/cifs/connect.c root_path = build_unc_path_to_root(vol, cifs_sb, false); cifs_sb 4802 fs/cifs/connect.c full_path = build_unc_path_to_root(vol, cifs_sb, true); cifs_sb 4815 fs/cifs/connect.c old_mountdata = cifs_sb->mountdata; cifs_sb 4816 fs/cifs/connect.c (void)expand_dfs_referral(xid, ses, vol, cifs_sb, false); cifs_sb 4818 fs/cifs/connect.c if (cifs_sb->mountdata == NULL) { cifs_sb 4824 fs/cifs/connect.c origin_mountdata = kstrndup(cifs_sb->mountdata, cifs_sb 4825 fs/cifs/connect.c strlen(cifs_sb->mountdata), GFP_KERNEL); cifs_sb 4831 fs/cifs/connect.c if (cifs_sb->mountdata != old_mountdata) { cifs_sb 4833 fs/cifs/connect.c mount_put_conns(cifs_sb, xid, server, ses, tcon); cifs_sb 4834 fs/cifs/connect.c rc = mount_get_conns(vol, cifs_sb, &xid, &server, &ses, &tcon); cifs_sb 4840 fs/cifs/connect.c rc = mount_do_dfs_failover(root_path + 1, cifs_sb, vol, NULL, cifs_sb 4847 fs/cifs/connect.c root_path = build_unc_path_to_root(vol, cifs_sb, false); cifs_sb 4854 fs/cifs/connect.c (void)dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_remap(cifs_sb), cifs_sb 4859 fs/cifs/connect.c set_root_tcon(cifs_sb, tcon, &root_tcon); cifs_sb 4863 fs/cifs/connect.c rc = is_path_remote(cifs_sb, vol, xid, server, tcon); cifs_sb 4879 fs/cifs/connect.c full_path = build_unc_path_to_root(vol, cifs_sb, true); cifs_sb 4886 fs/cifs/connect.c old_mountdata = cifs_sb->mountdata; cifs_sb 4887 fs/cifs/connect.c rc = expand_dfs_referral(xid, root_tcon->ses, vol, cifs_sb, cifs_sb 4892 fs/cifs/connect.c if (cifs_sb->mountdata != old_mountdata) { cifs_sb 4893 fs/cifs/connect.c mount_put_conns(cifs_sb, xid, server, ses, tcon); cifs_sb 4894 fs/cifs/connect.c rc = mount_get_conns(vol, cifs_sb, &xid, &server, &ses, cifs_sb 4903 fs/cifs/connect.c set_root_tcon(cifs_sb, tcon, &root_tcon); cifs_sb 4910 fs/cifs/connect.c rc = mount_do_dfs_failover(full_path + 1, cifs_sb, vol, cifs_sb 4928 fs/cifs/connect.c tcon->remap = cifs_remap(cifs_sb); cifs_sb 4930 fs/cifs/connect.c cifs_sb->origin_fullpath = kstrndup(tcon->dfs_path, cifs_sb 4933 fs/cifs/connect.c if (!cifs_sb->origin_fullpath) { cifs_sb 4940 fs/cifs/connect.c rc = dfs_cache_add_vol(origin_mountdata, vol, cifs_sb->origin_fullpath); cifs_sb 4942 fs/cifs/connect.c kfree(cifs_sb->origin_fullpath); cifs_sb 4950 fs/cifs/connect.c cifs_autodisable_serverino(cifs_sb); cifs_sb 4953 fs/cifs/connect.c return mount_setup_tlink(cifs_sb, ses, tcon); cifs_sb 4959 fs/cifs/connect.c mount_put_conns(cifs_sb, xid, server, ses, tcon); cifs_sb 4963 fs/cifs/connect.c int cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *vol) cifs_sb 4971 fs/cifs/connect.c rc = mount_get_conns(vol, cifs_sb, &xid, &server, &ses, &tcon); cifs_sb 4976 fs/cifs/connect.c rc = is_path_remote(cifs_sb, vol, xid, server, tcon); cifs_sb 4985 fs/cifs/connect.c return mount_setup_tlink(cifs_sb, ses, tcon); cifs_sb 4988 fs/cifs/connect.c mount_put_conns(cifs_sb, xid, server, ses, tcon); cifs_sb 5164 fs/cifs/connect.c cifs_umount(struct cifs_sb_info *cifs_sb) cifs_sb 5166 fs/cifs/connect.c struct rb_root *root = &cifs_sb->tlink_tree; cifs_sb 5170 fs/cifs/connect.c cancel_delayed_work_sync(&cifs_sb->prune_tlinks); cifs_sb 5172 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5179 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5181 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5183 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5185 fs/cifs/connect.c kfree(cifs_sb->mountdata); cifs_sb 5186 fs/cifs/connect.c kfree(cifs_sb->prepath); cifs_sb 5188 fs/cifs/connect.c dfs_cache_del_vol(cifs_sb->origin_fullpath); cifs_sb 5189 fs/cifs/connect.c kfree(cifs_sb->origin_fullpath); cifs_sb 5191 fs/cifs/connect.c call_rcu(&cifs_sb->rcu, delayed_free); cifs_sb 5264 fs/cifs/connect.c cifs_construct_tcon(struct cifs_sb_info *cifs_sb, kuid_t fsuid) cifs_sb 5267 fs/cifs/connect.c struct cifs_tcon *master_tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 5276 fs/cifs/connect.c vol_info->local_nls = cifs_sb->local_nls; cifs_sb 5314 fs/cifs/connect.c cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS; cifs_sb 5328 fs/cifs/connect.c cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb) cifs_sb 5330 fs/cifs/connect.c return tlink_tcon(cifs_sb_master_tlink(cifs_sb)); cifs_sb 5391 fs/cifs/connect.c cifs_sb_tlink(struct cifs_sb_info *cifs_sb) cifs_sb 5397 fs/cifs/connect.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) cifs_sb 5398 fs/cifs/connect.c return cifs_get_tlink(cifs_sb_master_tlink(cifs_sb)); cifs_sb 5400 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5401 fs/cifs/connect.c tlink = tlink_rb_search(&cifs_sb->tlink_tree, fsuid); cifs_sb 5404 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5416 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5418 fs/cifs/connect.c tlink = tlink_rb_search(&cifs_sb->tlink_tree, fsuid); cifs_sb 5421 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5426 fs/cifs/connect.c tlink_rb_insert(&cifs_sb->tlink_tree, tlink); cifs_sb 5427 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5451 fs/cifs/connect.c tlink->tl_tcon = cifs_construct_tcon(cifs_sb, fsuid); cifs_sb 5470 fs/cifs/connect.c struct cifs_sb_info *cifs_sb = container_of(work, struct cifs_sb_info, cifs_sb 5472 fs/cifs/connect.c struct rb_root *root = &cifs_sb->tlink_tree; cifs_sb 5484 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5500 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5502 fs/cifs/connect.c spin_lock(&cifs_sb->tlink_tree_lock); cifs_sb 5504 fs/cifs/connect.c spin_unlock(&cifs_sb->tlink_tree_lock); cifs_sb 5506 fs/cifs/connect.c queue_delayed_work(cifsiod_wq, &cifs_sb->prune_tlinks, cifs_sb 49 fs/cifs/dir.c cifs_build_path_to_root(struct smb_vol *vol, struct cifs_sb_info *cifs_sb, cifs_sb 73 fs/cifs/dir.c full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); cifs_sb 75 fs/cifs/dir.c convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); cifs_sb 83 fs/cifs/dir.c struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); cifs_sb 84 fs/cifs/dir.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 100 fs/cifs/dir.c struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); cifs_sb 101 fs/cifs/dir.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 104 fs/cifs/dir.c dirsep = CIFS_DIR_SEP(cifs_sb); cifs_sb 110 fs/cifs/dir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) cifs_sb 111 fs/cifs/dir.c pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; cifs_sb 174 fs/cifs/dir.c cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); cifs_sb 175 fs/cifs/dir.c memcpy(full_path+dfsplen+1, cifs_sb->prepath, pplen-1); cifs_sb 179 fs/cifs/dir.c full_path[dfsplen+1+i] = CIFS_DIR_SEP(cifs_sb); cifs_sb 184 fs/cifs/dir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) { cifs_sb 203 fs/cifs/dir.c struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); cifs_sb 211 fs/cifs/dir.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)) { cifs_sb 233 fs/cifs/dir.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 360 fs/cifs/dir.c if (backup_cred(cifs_sb)) cifs_sb 364 fs/cifs/dir.c oparms.cifs_sb = cifs_sb; cifs_sb 391 fs/cifs/dir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { cifs_sb 424 fs/cifs/dir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) cifs_sb 427 fs/cifs/dir.c (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID)) { cifs_sb 622 fs/cifs/dir.c struct cifs_sb_info *cifs_sb; cifs_sb 630 fs/cifs/dir.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 631 fs/cifs/dir.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 662 fs/cifs/dir.c struct cifs_sb_info *cifs_sb; cifs_sb 675 fs/cifs/dir.c cifs_sb = CIFS_SB(parent_dir_inode->i_sb); cifs_sb 676 fs/cifs/dir.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 121 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 132 fs/cifs/file.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 143 fs/cifs/file.c poplock, full_path, cifs_sb->local_nls, cifs_sb 144 fs/cifs/file.c cifs_remap(cifs_sb)); cifs_sb 156 fs/cifs/file.c cifs_unix_basic_to_fattr(&fattr, presp_data, cifs_sb); cifs_sb 176 fs/cifs/file.c cifs_nt_open(char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, cifs_sb 225 fs/cifs/file.c if (backup_cred(cifs_sb)) cifs_sb 236 fs/cifs/file.c oparms.cifs_sb = cifs_sb; cifs_sb 448 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 483 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) cifs_sb 521 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 533 fs/cifs/file.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 534 fs/cifs/file.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 552 fs/cifs/file.c cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { cifs_sb 553 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) cifs_sb 569 fs/cifs/file.c cifs_sb->mnt_file_mode /* ignored */, cifs_sb 598 fs/cifs/file.c rc = cifs_nt_open(full_path, inode, cifs_sb, tcon, cifs_sb 651 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); cifs_sb 665 fs/cifs/file.c ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) cifs_sb 680 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 701 fs/cifs/file.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 738 fs/cifs/file.c cifs_sb->mnt_file_mode /* ignored */, cifs_sb 753 fs/cifs/file.c if (backup_cred(cifs_sb)) cifs_sb 767 fs/cifs/file.c oparms.cifs_sb = cifs_sb; cifs_sb 1368 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); cifs_sb 1382 fs/cifs/file.c ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) cifs_sb 1740 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 1757 fs/cifs/file.c cifs_sb = CIFS_FILE_SB(file); cifs_sb 1761 fs/cifs/file.c ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) cifs_sb 1888 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); cifs_sb 1891 fs/cifs/file.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) cifs_sb 1924 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 1944 fs/cifs/file.c cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); cifs_sb 1947 fs/cifs/file.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) cifs_sb 2282 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2296 fs/cifs/file.c if (cifs_sb->wsize < PAGE_SIZE) cifs_sb 2310 fs/cifs/file.c server = cifs_sb_master_tcon(cifs_sb)->ses->server; cifs_sb 2328 fs/cifs/file.c rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, cifs_sb 2494 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); cifs_sb 2497 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 2557 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2577 fs/cifs/file.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC)) { cifs_sb 2596 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); cifs_sb 2608 fs/cifs/file.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC)) { cifs_sb 2821 fs/cifs/file.c struct cifs_sb_info *cifs_sb, struct list_head *wdata_list, cifs_sb 2836 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 2857 fs/cifs/file.c rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, cifs_sb 2989 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 2994 fs/cifs/file.c cifs_sb = CIFS_SB(dentry->d_sb); cifs_sb 3039 fs/cifs/file.c ctx->cfile, cifs_sb, &tmp_list, cifs_sb 3074 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 3094 fs/cifs/file.c cifs_sb = CIFS_FILE_SB(file); cifs_sb 3128 fs/cifs/file.c cfile, cifs_sb, &ctx->list, ctx); cifs_sb 3222 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 3235 fs/cifs/file.c && ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) { cifs_sb 3545 fs/cifs/file.c struct cifs_sb_info *cifs_sb, struct list_head *rdata_list, cifs_sb 3562 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 3579 fs/cifs/file.c rc = server->ops->wait_mtu_credits(server, cifs_sb->rsize, cifs_sb 3691 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 3694 fs/cifs/file.c cifs_sb = CIFS_SB(ctx->cfile->dentry->d_sb); cifs_sb 3749 fs/cifs/file.c rdata->cfile, cifs_sb, cifs_sb 3796 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 3817 fs/cifs/file.c cifs_sb = CIFS_FILE_SB(file); cifs_sb 3856 fs/cifs/file.c rc = cifs_send_async_read(offset, len, cfile, cifs_sb, &ctx->list, ctx); cifs_sb 3909 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 3928 fs/cifs/file.c ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) cifs_sb 3952 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 3963 fs/cifs/file.c cifs_sb = CIFS_FILE_SB(file); cifs_sb 3966 fs/cifs/file.c rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); cifs_sb 3982 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 4290 fs/cifs/file.c struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); cifs_sb 4310 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) cifs_sb 4348 fs/cifs/file.c rc = server->ops->wait_mtu_credits(server, cifs_sb->rsize, cifs_sb 4537 fs/cifs/file.c struct cifs_sb_info *cifs_sb; cifs_sb 4539 fs/cifs/file.c cifs_sb = CIFS_SB(cifsInode->vfs_inode.i_sb); cifs_sb 4540 fs/cifs/file.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) { cifs_sb 148 fs/cifs/fscache.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 149 fs/cifs/fscache.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 154 fs/cifs/fscache.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)) cifs_sb 205 fs/cifs/fscache.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 206 fs/cifs/fscache.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 42 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 47 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) { cifs_sb 48 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) cifs_sb 52 fs/cifs/inode.c } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { cifs_sb 53 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) cifs_sb 57 fs/cifs/inode.c } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) cifs_sb 64 fs/cifs/inode.c if (cifs_sb_master_tcon(cifs_sb)->ses->server->maxBuf < cifs_sb 160 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 179 fs/cifs/inode.c !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)) cifs_sb 220 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 222 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) cifs_sb 231 fs/cifs/inode.c struct cifs_sb_info *cifs_sb) cifs_sb 291 fs/cifs/inode.c fattr->cf_uid = cifs_sb->mnt_uid; cifs_sb 292 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) { cifs_sb 301 fs/cifs/inode.c fattr->cf_gid = cifs_sb->mnt_gid; cifs_sb 302 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) { cifs_sb 324 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 330 fs/cifs/inode.c fattr->cf_uid = cifs_sb->mnt_uid; cifs_sb 331 fs/cifs/inode.c fattr->cf_gid = cifs_sb->mnt_gid; cifs_sb 347 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 354 fs/cifs/inode.c cifs_unix_basic_to_fattr(&fattr, &find_data, cifs_sb); cifs_sb 374 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 378 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 385 fs/cifs/inode.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 389 fs/cifs/inode.c cifs_unix_basic_to_fattr(&fattr, &find_data, cifs_sb); cifs_sb 398 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) { cifs_sb 399 fs/cifs/inode.c int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr, cifs_sb 415 fs/cifs/inode.c if (unlikely(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM && cifs_sb 439 fs/cifs/inode.c struct cifs_sb_info *cifs_sb, unsigned int xid) cifs_sb 467 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 473 fs/cifs/inode.c oparms.cifs_sb = cifs_sb; cifs_sb 476 fs/cifs/inode.c if (backup_cred(cifs_sb)) cifs_sb 556 fs/cifs/inode.c struct cifs_sb_info *cifs_sb, unsigned int xid) cifs_sb 565 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 577 fs/cifs/inode.c cifs_sb); cifs_sb 602 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 603 fs/cifs/inode.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 635 fs/cifs/inode.c fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode; cifs_sb 644 fs/cifs/inode.c fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode; cifs_sb 663 fs/cifs/inode.c fattr->cf_uid = cifs_sb->mnt_uid; cifs_sb 664 fs/cifs/inode.c fattr->cf_gid = cifs_sb->mnt_gid; cifs_sb 740 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 747 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 775 fs/cifs/inode.c rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path, cifs_sb 785 fs/cifs/inode.c } else if ((rc == -EACCES) && backup_cred(cifs_sb) && cifs_sb 807 fs/cifs/inode.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) cifs_sb 817 fs/cifs/inode.c cifs_sb, NULL, srchflgs, srchinf, false); cifs_sb 822 fs/cifs/inode.c (FILE_DIRECTORY_INFO *)data, cifs_sb); cifs_sb 842 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { cifs_sb 845 fs/cifs/inode.c tcon, cifs_sb, full_path, cifs_sb 851 fs/cifs/inode.c cifs_autodisable_serverino(cifs_sb); cifs_sb 864 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) cifs_sb 871 fs/cifs/inode.c NULL, cifs_sb, full_path, cifs_sb 891 fs/cifs/inode.c cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) { cifs_sb 892 fs/cifs/inode.c tmprc = cifs_sfu_type(&fattr, full_path, cifs_sb, xid); cifs_sb 898 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) { cifs_sb 899 fs/cifs/inode.c rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, true, cifs_sb 906 fs/cifs/inode.c } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) { cifs_sb 907 fs/cifs/inode.c rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, false, cifs_sb 917 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) cifs_sb 918 fs/cifs/inode.c cifs_sfu_mode(&fattr, full_path, cifs_sb, xid); cifs_sb 921 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) { cifs_sb 922 fs/cifs/inode.c tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr, cifs_sb 936 fs/cifs/inode.c if (unlikely(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM && cifs_sb 1069 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 1072 fs/cifs/inode.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 1076 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) cifs_sb 1077 fs/cifs/inode.c && cifs_sb->prepath) { cifs_sb 1078 fs/cifs/inode.c len = strlen(cifs_sb->prepath); cifs_sb 1083 fs/cifs/inode.c memcpy(path+1, cifs_sb->prepath, len); cifs_sb 1100 fs/cifs/inode.c convert_delimiter(path, CIFS_DIR_SEP(cifs_sb)); cifs_sb 1121 fs/cifs/inode.c inode->i_uid = cifs_sb->mnt_uid; cifs_sb 1122 fs/cifs/inode.c inode->i_gid = cifs_sb->mnt_gid; cifs_sb 1140 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1147 fs/cifs/inode.c server = cifs_sb_master_tcon(cifs_sb)->ses->server; cifs_sb 1201 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1207 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1222 fs/cifs/inode.c oparms.cifs_sb = cifs_sb; cifs_sb 1263 fs/cifs/inode.c cifs_sb->local_nls, cifs_sb 1264 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 1305 fs/cifs/inode.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 1342 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 1351 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1370 fs/cifs/inode.c SMB_POSIX_UNLINK_FILE_TARGET, cifs_sb->local_nls, cifs_sb 1371 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 1383 fs/cifs/inode.c rc = server->ops->unlink(xid, tcon, full_path, cifs_sb); cifs_sb 1446 fs/cifs/inode.c const char *full_path, struct cifs_sb_info *cifs_sb, cifs_sb 1482 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { cifs_sb 1493 fs/cifs/inode.c cifs_sb->local_nls, cifs_sb 1494 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 1497 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && cifs_sb 1499 fs/cifs/inode.c server->ops->mkdir_setinfo(inode, full_path, cifs_sb, cifs_sb 1501 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) cifs_sb 1504 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { cifs_sb 1518 fs/cifs/inode.c const char *full_path, struct cifs_sb_info *cifs_sb, cifs_sb 1536 fs/cifs/inode.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 1553 fs/cifs/inode.c cifs_unix_basic_to_fattr(&fattr, info, cifs_sb); cifs_sb 1574 fs/cifs/inode.c rc = cifs_mkdir_qinfo(inode, dentry, mode, full_path, cifs_sb, tcon, cifs_sb 1583 fs/cifs/inode.c struct cifs_sb_info *cifs_sb; cifs_sb 1592 fs/cifs/inode.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1593 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1610 fs/cifs/inode.c cifs_sb); cifs_sb 1617 fs/cifs/inode.c rc = cifs_posix_mkdir(inode, direntry, mode, full_path, cifs_sb, cifs_sb 1629 fs/cifs/inode.c rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb); cifs_sb 1637 fs/cifs/inode.c rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon, cifs_sb 1655 fs/cifs/inode.c struct cifs_sb_info *cifs_sb; cifs_sb 1672 fs/cifs/inode.c cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1673 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1687 fs/cifs/inode.c rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb); cifs_sb 1722 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(from_dentry->d_sb); cifs_sb 1730 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1740 fs/cifs/inode.c rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb); cifs_sb 1759 fs/cifs/inode.c oparms.cifs_sb = cifs_sb; cifs_sb 1772 fs/cifs/inode.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 1787 fs/cifs/inode.c struct cifs_sb_info *cifs_sb; cifs_sb 1798 fs/cifs/inode.c cifs_sb = CIFS_SB(source_dir->i_sb); cifs_sb 1799 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 1847 fs/cifs/inode.c cifs_sb->local_nls, cifs_sb 1848 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 1854 fs/cifs/inode.c cifs_sb->local_nls, cifs_sb 1855 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 1901 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1912 fs/cifs/inode.c if (!cifs_sb->actimeo) cifs_sb 1916 fs/cifs/inode.c cifs_i->time + cifs_sb->actimeo)) cifs_sb 1920 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) && cifs_sb 2080 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); cifs_sb 2081 fs/cifs/inode.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 2103 fs/cifs/inode.c stat->blksize = cifs_sb->bsize; cifs_sb 2124 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER) && cifs_sb 2125 fs/cifs/inode.c !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && cifs_sb 2127 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) cifs_sb 2129 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) cifs_sb 2139 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_i->vfs_inode.i_sb); cifs_sb 2140 fs/cifs/inode.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 2209 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2241 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 2255 fs/cifs/inode.c attrs->ia_size, cifs_sb, false); cifs_sb 2281 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2292 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) cifs_sb 2381 fs/cifs/inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 2388 fs/cifs/inode.c cifs_sb->local_nls, cifs_sb 2389 fs/cifs/inode.c cifs_remap(cifs_sb)); cifs_sb 2425 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2439 fs/cifs/inode.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) cifs_sb 2476 fs/cifs/inode.c !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC)) { cifs_sb 2502 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || cifs_sb 2503 fs/cifs/inode.c (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) { cifs_sb 2514 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID)) cifs_sb 2524 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || cifs_sb 2525 fs/cifs/inode.c (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) { cifs_sb 2540 fs/cifs/inode.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) == 0) cifs_sb 2551 fs/cifs/inode.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)) { cifs_sb 2555 fs/cifs/inode.c cifs_sb->mnt_dir_mode; cifs_sb 2558 fs/cifs/inode.c cifs_sb->mnt_file_mode; cifs_sb 2560 fs/cifs/inode.c } else if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)) { cifs_sb 2602 fs/cifs/inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); cifs_sb 2603 fs/cifs/inode.c struct cifs_tcon *pTcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 42 fs/cifs/ioctl.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 43 fs/cifs/ioctl.c struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 59 fs/cifs/ioctl.c utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); cifs_sb 183 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const char *fromName, cifs_sb 200 fs/cifs/link.c cifs_sb, fromName, buf, &bytes_written); cifs_sb 216 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 230 fs/cifs/link.c cifs_sb, path, buf, &bytes_read); cifs_sb 250 fs/cifs/link.c struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, cifs_sb 268 fs/cifs/link.c cifs_sb, path, buf, &bytes_read); cifs_sb 304 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 316 fs/cifs/link.c oparms.cifs_sb = cifs_sb; cifs_sb 348 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 358 fs/cifs/link.c if (backup_cred(cifs_sb)) cifs_sb 362 fs/cifs/link.c oparms.cifs_sb = cifs_sb; cifs_sb 390 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 403 fs/cifs/link.c oparms.cifs_sb = cifs_sb; cifs_sb 406 fs/cifs/link.c if (backup_cred(cifs_sb)) cifs_sb 412 fs/cifs/link.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 453 fs/cifs/link.c struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 465 fs/cifs/link.c if (backup_cred(cifs_sb)) cifs_sb 470 fs/cifs/link.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 475 fs/cifs/link.c oparms.cifs_sb = cifs_sb; cifs_sb 525 fs/cifs/link.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 531 fs/cifs/link.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 547 fs/cifs/link.c cifs_sb->local_nls, cifs_sb 548 fs/cifs/link.c cifs_remap(cifs_sb)); cifs_sb 556 fs/cifs/link.c cifs_sb); cifs_sb 615 fs/cifs/link.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 625 fs/cifs/link.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 647 fs/cifs/link.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) cifs_sb 648 fs/cifs/link.c rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, cifs_sb 658 fs/cifs/link.c rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, cifs_sb 678 fs/cifs/link.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 686 fs/cifs/link.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 703 fs/cifs/link.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) cifs_sb 704 fs/cifs/link.c rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); cifs_sb 707 fs/cifs/link.c cifs_sb->local_nls, cifs_sb 708 fs/cifs/link.c cifs_remap(cifs_sb)); cifs_sb 533 fs/cifs/misc.c cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb) cifs_sb 535 fs/cifs/misc.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { cifs_sb 538 fs/cifs/misc.c if (cifs_sb->master_tlink) cifs_sb 539 fs/cifs/misc.c tcon = cifs_sb_master_tcon(cifs_sb); cifs_sb 541 fs/cifs/misc.c cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; cifs_sb 542 fs/cifs/misc.c cifs_sb->mnt_cifs_serverino_autodisabled = true; cifs_sb 639 fs/cifs/misc.c backup_cred(struct cifs_sb_info *cifs_sb) cifs_sb 641 fs/cifs/misc.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { cifs_sb 642 fs/cifs/misc.c if (uid_eq(cifs_sb->mnt_backupuid, current_fsuid())) cifs_sb 645 fs/cifs/misc.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { cifs_sb 646 fs/cifs/misc.c if (in_group_p(cifs_sb->mnt_backupgid)) cifs_sb 82 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 114 fs/cifs/readdir.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) cifs_sb 143 fs/cifs/readdir.c cifs_fill_common_info(struct cifs_fattr *fattr, struct cifs_sb_info *cifs_sb) cifs_sb 145 fs/cifs/readdir.c fattr->cf_uid = cifs_sb->mnt_uid; cifs_sb 146 fs/cifs/readdir.c fattr->cf_gid = cifs_sb->mnt_gid; cifs_sb 149 fs/cifs/readdir.c fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode; cifs_sb 152 fs/cifs/readdir.c fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode; cifs_sb 177 fs/cifs/readdir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) cifs_sb 180 fs/cifs/readdir.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && cifs_sb 199 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb) cifs_sb 210 fs/cifs/readdir.c cifs_fill_common_info(fattr, cifs_sb); cifs_sb 215 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb) cifs_sb 217 fs/cifs/readdir.c int offset = cifs_sb_master_tcon(cifs_sb)->ses->server->timeAdj; cifs_sb 231 fs/cifs/readdir.c cifs_fill_common_info(fattr, cifs_sb); cifs_sb 273 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); cifs_sb 279 fs/cifs/readdir.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 324 fs/cifs/readdir.c } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { cifs_sb 331 fs/cifs/readdir.c if (backup_cred(cifs_sb)) cifs_sb 334 fs/cifs/readdir.c rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, cifs_sb 344 fs/cifs/readdir.c (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { cifs_sb 345 fs/cifs/readdir.c cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; cifs_sb 581 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file); cifs_sb 638 fs/cifs/readdir.c if (backup_cred(cifs_sb)) cifs_sb 708 fs/cifs/readdir.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 731 fs/cifs/readdir.c struct nls_table *nlt = cifs_sb->local_nls; cifs_sb 734 fs/cifs/readdir.c map_type = cifs_remap(cifs_sb); cifs_sb 751 fs/cifs/readdir.c cifs_sb); cifs_sb 756 fs/cifs/readdir.c cifs_sb); cifs_sb 761 fs/cifs/readdir.c cifs_sb); cifs_sb 765 fs/cifs/readdir.c if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { cifs_sb 769 fs/cifs/readdir.c cifs_autodisable_serverino(cifs_sb); cifs_sb 772 fs/cifs/readdir.c if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) && cifs_sb 517 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb, const char *full_path) cifs_sb 527 fs/cifs/smb1ops.c 0 /* not legacy */, cifs_sb->local_nls, cifs_sb 528 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 532 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 539 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 548 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_remap(cifs_sb)); cifs_sb 556 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_sb 557 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 568 fs/cifs/smb1ops.c oparms.cifs_sb = cifs_sb; cifs_sb 589 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 604 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_sb 605 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 679 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, cifs_sb 691 fs/cifs/smb1ops.c rc = CIFSSMBSetPathInfo(xid, tcon, full_path, &info, cifs_sb->local_nls, cifs_sb 692 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 707 fs/cifs/smb1ops.c oparms->cifs_sb->local_nls, cifs_sb 708 fs/cifs/smb1ops.c cifs_remap(oparms->cifs_sb)); cifs_sb 765 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 778 fs/cifs/smb1ops.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 786 fs/cifs/smb1ops.c rc = CIFSSMBSetPathInfo(xid, tcon, full_path, buf, cifs_sb->local_nls, cifs_sb 787 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 796 fs/cifs/smb1ops.c oparms.cifs_sb = cifs_sb; cifs_sb 838 fs/cifs/smb1ops.c const char *path, struct cifs_sb_info *cifs_sb, cifs_sb 844 fs/cifs/smb1ops.c rc = CIFSFindFirst(xid, tcon, path, cifs_sb, cifs_sb 944 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 962 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_sb 963 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 967 fs/cifs/smb1ops.c cifs_sb->local_nls); cifs_sb 973 fs/cifs/smb1ops.c oparms.cifs_sb = cifs_sb; cifs_sb 986 fs/cifs/smb1ops.c cifs_sb->local_nls); cifs_sb 1031 fs/cifs/smb1ops.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 1056 fs/cifs/smb1ops.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { cifs_sb 1064 fs/cifs/smb1ops.c cifs_sb->local_nls, cifs_sb 1065 fs/cifs/smb1ops.c cifs_remap(cifs_sb)); cifs_sb 1081 fs/cifs/smb1ops.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) cifs_sb 1095 fs/cifs/smb1ops.c if (backup_cred(cifs_sb)) cifs_sb 1099 fs/cifs/smb1ops.c oparms.cifs_sb = cifs_sb; cifs_sb 48 fs/cifs/smb2file.c smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); cifs_sb 52 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 92 fs/cifs/smb2inode.c utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); cifs_sb 102 fs/cifs/smb2inode.c if (backup_cred(cifs_sb)) cifs_sb 439 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 476 fs/cifs/smb2inode.c if (backup_cred(cifs_sb)) cifs_sb 480 fs/cifs/smb2inode.c rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, cifs_sb 488 fs/cifs/smb2inode.c rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, cifs_sb 505 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb) cifs_sb 507 fs/cifs/smb2inode.c return smb2_compound_op(xid, tcon, cifs_sb, name, cifs_sb 515 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, cifs_sb 529 fs/cifs/smb2inode.c tmprc = smb2_compound_op(xid, tcon, cifs_sb, name, cifs_sb 539 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb) cifs_sb 541 fs/cifs/smb2inode.c return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN, cifs_sb 548 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb) cifs_sb 550 fs/cifs/smb2inode.c return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN, cifs_sb 558 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb, __u32 access, int command, cifs_sb 564 fs/cifs/smb2inode.c smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); cifs_sb 569 fs/cifs/smb2inode.c rc = smb2_compound_op(xid, tcon, cifs_sb, from_name, access, cifs_sb 580 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb) cifs_sb 587 fs/cifs/smb2inode.c cifs_sb, DELETE, SMB2_OP_RENAME, cfile); cifs_sb 593 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb) cifs_sb 595 fs/cifs/smb2inode.c return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, cifs_sb 603 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb, bool set_alloc) cifs_sb 607 fs/cifs/smb2inode.c return smb2_compound_op(xid, tcon, cifs_sb, full_path, cifs_sb 616 fs/cifs/smb2inode.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 625 fs/cifs/smb2inode.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 629 fs/cifs/smb2inode.c rc = smb2_compound_op(xid, tlink_tcon(tlink), cifs_sb, full_path, cifs_sb 445 fs/cifs/smb2misc.c cifs_convert_path_to_utf16(const char *from, struct cifs_sb_info *cifs_sb) cifs_sb 452 fs/cifs/smb2misc.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) cifs_sb 454 fs/cifs/smb2misc.c else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) cifs_sb 464 fs/cifs/smb2misc.c else if (cifs_sb_master_tlink(cifs_sb) && cifs_sb 465 fs/cifs/smb2misc.c cifs_sb_master_tcon(cifs_sb)->posix_extensions && cifs_sb 472 fs/cifs/smb2misc.c cifs_sb->local_nls, map_type); cifs_sb 867 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb, const char *full_path) cifs_sb 878 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); cifs_sb 885 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 905 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 1020 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 1029 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 1040 fs/cifs/smb2ops.c &rsp_iov, &buftype, cifs_sb); cifs_sb 1076 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 1104 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 1116 fs/cifs/smb2ops.c cifs_sb); cifs_sb 1132 fs/cifs/smb2ops.c &rsp_iov[1], &resp_buftype[1], cifs_sb); cifs_sb 1163 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 2029 fs/cifs/smb2ops.c const char *path, struct cifs_sb_info *cifs_sb, cifs_sb 2038 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 2045 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 2220 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 2249 fs/cifs/smb2ops.c if (cifs_sb && backup_cred(cifs_sb)) cifs_sb 2508 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 2523 fs/cifs/smb2ops.c len, true, cifs_sb->local_nls); cifs_sb 2536 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 2553 fs/cifs/smb2ops.c sub_len, true, cifs_sb->local_nls); cifs_sb 2566 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb) cifs_sb 2586 fs/cifs/smb2ops.c plen, target_path, cifs_sb); cifs_sb 2590 fs/cifs/smb2ops.c plen, target_path, cifs_sb); cifs_sb 2603 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb, const char *full_path, cifs_sb 2641 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); cifs_sb 2655 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 2728 fs/cifs/smb2ops.c cifs_sb); cifs_sb 2771 fs/cifs/smb2ops.c sub_len, true, cifs_sb->local_nls); cifs_sb 2792 fs/cifs/smb2ops.c get_smb2_acl_by_fid(struct cifs_sb_info *cifs_sb, cifs_sb 2798 fs/cifs/smb2ops.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 2820 fs/cifs/smb2ops.c get_smb2_acl_by_path(struct cifs_sb_info *cifs_sb, cifs_sb 2828 fs/cifs/smb2ops.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 2840 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 2845 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 2883 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 2884 fs/cifs/smb2ops.c struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_sb 2896 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 2906 fs/cifs/smb2ops.c utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); cifs_sb 2935 fs/cifs/smb2ops.c get_smb2_acl(struct cifs_sb_info *cifs_sb, cifs_sb 2945 fs/cifs/smb2ops.c return get_smb2_acl_by_path(cifs_sb, path, pacllen); cifs_sb 2947 fs/cifs/smb2ops.c pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen); cifs_sb 4384 fs/cifs/smb2ops.c struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); cifs_sb 4402 fs/cifs/smb2ops.c if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) cifs_sb 4422 fs/cifs/smb2ops.c if (backup_cred(cifs_sb)) cifs_sb 4426 fs/cifs/smb2ops.c oparms.cifs_sb = cifs_sb; cifs_sb 2265 fs/cifs/smb2pdu.c struct cifs_sb_info *cifs_sb) cifs_sb 2288 fs/cifs/smb2pdu.c utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); cifs_sb 43 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb); cifs_sb 75 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb, cifs_sb 80 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb, bool set_alloc); cifs_sb 86 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb); cifs_sb 89 fs/cifs/smb2proto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 91 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb, cifs_sb 94 fs/cifs/smb2proto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 96 fs/cifs/smb2proto.h const char *name, struct cifs_sb_info *cifs_sb); cifs_sb 99 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb); cifs_sb 102 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb); cifs_sb 104 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb, const unsigned char *path, cifs_sb 107 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb, cifs_sb 265 fs/cifs/smb2proto.h struct cifs_sb_info *cifs_sb); cifs_sb 58 fs/cifs/xattr.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 63 fs/cifs/xattr.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 89 fs/cifs/xattr.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) cifs_sb 95 fs/cifs/xattr.c cifs_sb->local_nls, cifs_sb); cifs_sb 129 fs/cifs/xattr.c ACL_TYPE_ACCESS, cifs_sb->local_nls, cifs_sb 130 fs/cifs/xattr.c cifs_remap(cifs_sb)); cifs_sb 141 fs/cifs/xattr.c ACL_TYPE_DEFAULT, cifs_sb->local_nls, cifs_sb 142 fs/cifs/xattr.c cifs_remap(cifs_sb)); cifs_sb 207 fs/cifs/xattr.c struct cifs_sb_info *cifs_sb = CIFS_SB(sb); cifs_sb 212 fs/cifs/xattr.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 239 fs/cifs/xattr.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) cifs_sb 244 fs/cifs/xattr.c full_path, name, value, size, cifs_sb); cifs_sb 254 fs/cifs/xattr.c pacl = pTcon->ses->server->ops->get_acl(cifs_sb, cifs_sb 278 fs/cifs/xattr.c cifs_sb->local_nls, cifs_sb 279 fs/cifs/xattr.c cifs_remap(cifs_sb)); cifs_sb 288 fs/cifs/xattr.c cifs_sb->local_nls, cifs_sb 289 fs/cifs/xattr.c cifs_remap(cifs_sb)); cifs_sb 313 fs/cifs/xattr.c struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); cifs_sb 318 fs/cifs/xattr.c if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) cifs_sb 321 fs/cifs/xattr.c tlink = cifs_sb_tlink(cifs_sb); cifs_sb 342 fs/cifs/xattr.c full_path, NULL, data, buf_size, cifs_sb);