Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dcifsacl.h46 #define DEFAULT_SEC_DESC_LEN (sizeof(struct cifs_ntsd) + \
68 struct cifs_ntsd { struct
207 #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()
944 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc()
1002 static int build_sec_desc(struct cifs_ntsd *pntsd, struct cifs_ntsd *pnntsd, in build_sec_desc()
1022 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
1103 struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_fid()
1106 struct cifs_ntsd *pntsd = NULL; 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()
1130 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_path()
[all …]
Dcifsproto.h220 extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
222 extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
224 extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
532 __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
534 struct cifs_ntsd *, __u32, int);
Dxattr.c168 struct cifs_ntsd *pacl; in cifs_xattr_set()
333 struct cifs_ntsd *pacl; in cifs_xattr_get()
Dcifsglob.h461 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
463 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
465 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
Dsmb2proto.h237 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
Dsmb2ops.c3205 static struct cifs_ntsd *
3209 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3233 static struct cifs_ntsd *
3237 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3292 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3347 static struct cifs_ntsd *
3352 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl()
Dcifssmb.c3892 struct cifs_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3962 if ((*pbuflen < sizeof(struct cifs_ntsd) + 8) || in CIFSSMBGetCIFSACL()
3982 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
Dsmb2pdu.c4973 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()