• Home
  • Raw
  • Download

Lines Matching refs:cifs_sb

342 sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid *psid,  in sid_to_id()  argument
349 kuid_t fuid = cifs_sb->mnt_uid; in sid_to_id()
350 kgid_t fgid = cifs_sb->mnt_gid; in sid_to_id()
362 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) || in sid_to_id()
363 (cifs_sb_master_tcon(cifs_sb)->posix_extensions)) { in sid_to_id()
943 static int parse_sec_desc(struct cifs_sb_info *cifs_sb, in parse_sec_desc() argument
972 rc = sid_to_id(cifs_sb, owner_sid_ptr, fattr, SIDOWNER); in parse_sec_desc()
985 rc = sid_to_id(cifs_sb, group_sid_ptr, fattr, SIDGROUP); in parse_sec_desc()
1103 struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_fid() argument
1109 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_fid()
1127 static struct cifs_ntsd *get_cifs_acl_by_path(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_path() argument
1135 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_path()
1146 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path()
1148 oparms.create_options = cifs_create_options(cifs_sb, 0); in get_cifs_acl_by_path()
1170 struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *cifs_sb, in get_cifs_acl() argument
1180 return get_cifs_acl_by_path(cifs_sb, path, pacllen); in get_cifs_acl()
1182 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_cifs_acl()
1195 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in set_cifs_acl() local
1196 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in set_cifs_acl()
1212 oparms.cifs_sb = cifs_sb; in set_cifs_acl()
1214 oparms.create_options = cifs_create_options(cifs_sb, 0); in set_cifs_acl()
1238 cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, in cifs_acl_to_fattr() argument
1245 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in cifs_acl_to_fattr()
1256 pntsd = ops->get_acl_by_fid(cifs_sb, pfid, &acllen); in cifs_acl_to_fattr()
1258 pntsd = ops->get_acl(cifs_sb, inode, path, &acllen); in cifs_acl_to_fattr()
1268 rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, true); in cifs_acl_to_fattr()
1272 rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, false); in cifs_acl_to_fattr()
1293 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in id_mode_to_cifs_acl() local
1294 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in id_mode_to_cifs_acl()
1312 pntsd = ops->get_acl(cifs_sb, inode, path, &secdesclen); in id_mode_to_cifs_acl()
1334 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) in id_mode_to_cifs_acl()
1339 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in id_mode_to_cifs_acl()