/kernel/linux/linux-5.10/fs/cifs/ |
H A D | xattr.c | 335 u32 acllen; in cifs_xattr_get() local 342 inode, full_path, &acllen); in cifs_xattr_get() 349 if (acllen > size) in cifs_xattr_get() 350 acllen = -ERANGE; in cifs_xattr_get() 352 memcpy(value, pacl, acllen); in cifs_xattr_get() 354 rc = acllen; in cifs_xattr_get()
|
H A D | cifsacl.c | 1188 int set_cifs_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_cifs_acl() argument 1226 rc = CIFSSMBSetCIFSACL(xid, tcon, fid.netfid, pnntsd, acllen, aclflag); in set_cifs_acl() 1243 u32 acllen = 0; in cifs_acl_to_fattr() local 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()
|
H A D | cifssmb.c | 3982 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL() 4000 data_count = acllen; in CIFSSMBSetCIFSACL() 4020 if (pntsd && acllen) { in CIFSSMBSetCIFSACL() 4022 data_offset, pntsd, acllen); in CIFSSMBSetCIFSACL() 3981 CIFSSMBSetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid, struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) CIFSSMBSetCIFSACL() argument
|
H A D | smb2ops.c | 3301 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl() argument 3346 fid.volatile_fid, pnntsd, acllen, aclflag); in set_smb2_acl()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | xattr.c | 317 u32 acllen, extra_info; in cifs_xattr_get() local 329 inode, full_path, &acllen, extra_info); in cifs_xattr_get() 336 if (acllen > size) in cifs_xattr_get() 337 acllen = -ERANGE; in cifs_xattr_get() 339 memcpy(value, pacl, acllen); in cifs_xattr_get() 341 rc = acllen; in cifs_xattr_get()
|
H A D | cifsacl.c | 1475 int set_cifs_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_cifs_acl() argument 1514 rc = CIFSSMBSetCIFSACL(xid, tcon, fid.netfid, pnntsd, acllen, aclflag); in set_cifs_acl() 1532 u32 acllen = 0; in cifs_acl_to_fattr() local 1546 pntsd = ops->get_acl_by_fid(cifs_sb, pfid, &acllen, info); in cifs_acl_to_fattr() 1548 pntsd = ops->get_acl(cifs_sb, inode, path, &acllen, info); in cifs_acl_to_fattr() 1558 rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, true); in cifs_acl_to_fattr() 1562 rc = parse_sec_desc(cifs_sb, pntsd, acllen, fattr, false); in cifs_acl_to_fattr()
|
H A D | cifssmb.c | 3468 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL() 3486 data_count = acllen; in CIFSSMBSetCIFSACL() 3506 if (pntsd && acllen) { in CIFSSMBSetCIFSACL() 3508 data_offset, pntsd, acllen); in CIFSSMBSetCIFSACL() 3467 CIFSSMBSetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid, struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) CIFSSMBSetCIFSACL() argument
|
H A D | smb2ops.c | 3231 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl() argument 3279 fid.volatile_fid, pnntsd, acllen, aclflag); in set_smb2_acl()
|