Lines Matching refs:tcon
898 struct cifs_tcon *tcon; in get_cifs_acl_by_path() local
906 tcon = tlink_tcon(tlink); in get_cifs_acl_by_path()
912 oparms.tcon = tcon; in get_cifs_acl_by_path()
923 rc = CIFSSMBGetCIFSACL(xid, tcon, fid.netfid, &pntsd, pacllen); in get_cifs_acl_by_path()
924 CIFSSMBClose(xid, tcon, fid.netfid); in get_cifs_acl_by_path()
961 struct cifs_tcon *tcon; in set_cifs_acl() local
970 tcon = tlink_tcon(tlink); in set_cifs_acl()
981 oparms.tcon = tcon; in set_cifs_acl()
996 rc = CIFSSMBSetCIFSACL(xid, tcon, fid.netfid, pnntsd, acllen, aclflag); in set_cifs_acl()
999 CIFSSMBClose(xid, tcon, fid.netfid); in set_cifs_acl()
1016 struct cifs_tcon *tcon; in cifs_acl_to_fattr() local
1022 tcon = tlink_tcon(tlink); in cifs_acl_to_fattr()
1024 if (pfid && (tcon->ses->server->ops->get_acl_by_fid)) in cifs_acl_to_fattr()
1025 pntsd = tcon->ses->server->ops->get_acl_by_fid(cifs_sb, pfid, in cifs_acl_to_fattr()
1027 else if (tcon->ses->server->ops->get_acl) in cifs_acl_to_fattr()
1028 pntsd = tcon->ses->server->ops->get_acl(cifs_sb, inode, path, in cifs_acl_to_fattr()
1062 struct cifs_tcon *tcon; in id_mode_to_cifs_acl() local
1066 tcon = tlink_tcon(tlink); in id_mode_to_cifs_acl()
1072 if (tcon->ses->server->ops->get_acl == NULL) { in id_mode_to_cifs_acl()
1077 pntsd = tcon->ses->server->ops->get_acl(cifs_sb, inode, path, in id_mode_to_cifs_acl()
1105 if (tcon->ses->server->ops->set_acl == NULL) in id_mode_to_cifs_acl()
1110 rc = tcon->ses->server->ops->set_acl(pnntsd, secdesclen, inode, in id_mode_to_cifs_acl()