Home
last modified time | relevance | path

Searched refs:cifs_ntsd (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/cifs/
Dcifsacl.h46 #define DEFAULT_SEC_DESC_LEN (sizeof(struct cifs_ntsd) + \
68 struct cifs_ntsd { struct
113 #define MIN_SEC_DESC_LEN (sizeof(struct cifs_ntsd) + (2 * MIN_SID_LEN))
Dcifsacl.c523 static void copy_sec_desc(const struct cifs_ntsd *pntsd, in copy_sec_desc()
524 struct cifs_ntsd *pnntsd, __u32 sidsoffset) in copy_sec_desc()
532 pnntsd->dacloffset = cpu_to_le32(sizeof(struct cifs_ntsd)); in copy_sec_desc()
854 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr) in parse_sec_desc()
911 static int build_sec_desc(struct cifs_ntsd *pntsd, struct cifs_ntsd *pnntsd, in build_sec_desc()
930 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
989 struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_fid()
992 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_fid()
1013 static struct cifs_ntsd *get_cifs_acl_by_path(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_path()
1016 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_path()
[all …]
Dcifsproto.h197 extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
199 extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
201 extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
504 __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
506 struct cifs_ntsd *, __u32, int);
Dxattr.c100 struct cifs_ntsd *pacl; in cifs_xattr_set()
252 struct cifs_ntsd *pacl; in cifs_xattr_get()
Dcifsglob.h447 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
449 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
451 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
Dsmb2proto.h198 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
Dsmb2ops.c2017 static struct cifs_ntsd *
2021 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
2045 static struct cifs_ntsd *
2049 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
2103 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
2162 static struct cifs_ntsd *
2167 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl()
Dcifssmb.c3918 struct cifs_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3988 if ((*pbuflen < sizeof(struct cifs_ntsd) + 8) || in CIFSSMBGetCIFSACL()
4008 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
Dsmb2pdu.c4064 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()