Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Dcifsacl.h36 #define DEFAULT_SEC_DESC_LEN (sizeof(struct cifs_ntsd) + \
58 struct cifs_ntsd { struct
197 #define MIN_SEC_DESC_LEN (sizeof(struct cifs_ntsd) + (2 * MIN_SID_LEN))
Dcifsacl.c518 static __u32 copy_sec_desc(const struct cifs_ntsd *pntsd, in copy_sec_desc()
519 struct cifs_ntsd *pnntsd, in copy_sec_desc()
530 pnntsd->dacloffset = cpu_to_le32(sizeof(struct cifs_ntsd)); in copy_sec_desc()
1194 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc()
1252 static int build_sec_desc(struct cifs_ntsd *pntsd, struct cifs_ntsd *pnntsd, in build_sec_desc()
1282 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
1300 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
1388 struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_fid()
1392 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_fid()
1413 static struct cifs_ntsd *get_cifs_acl_by_path(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_path()
[all …]
Dcifsproto.h232 extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
234 extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
240 extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
562 __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
564 struct cifs_ntsd *, __u32, int);
Dxattr.c165 struct cifs_ntsd *pacl; in cifs_xattr_set()
318 struct cifs_ntsd *pacl; in cifs_xattr_get()
Dcifsglob.h522 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
524 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
526 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
Dsmb2proto.h222 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
Dsmb2ops.c3135 static struct cifs_ntsd *
3139 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3164 static struct cifs_ntsd *
3168 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3231 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3289 static struct cifs_ntsd *
3294 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl()
Dcifssmb.c3378 struct cifs_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3448 if ((*pbuflen < sizeof(struct cifs_ntsd) + 8) || in CIFSSMBGetCIFSACL()
3468 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
Dsmb2pdu.c5421 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()