Home
last modified time | relevance | path

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

/Linux-v6.1/fs/cifs/
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.c513 static __u32 copy_sec_desc(const struct cifs_ntsd *pntsd, in copy_sec_desc()
514 struct cifs_ntsd *pnntsd, in copy_sec_desc()
525 pnntsd->dacloffset = cpu_to_le32(sizeof(struct cifs_ntsd)); in copy_sec_desc()
1189 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc()
1247 static int build_sec_desc(struct cifs_ntsd *pntsd, struct cifs_ntsd *pnntsd, in build_sec_desc()
1277 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
1295 ndacloffset = sizeof(struct cifs_ntsd); in build_sec_desc()
1383 struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_fid()
1387 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_fid()
1408 static struct cifs_ntsd *get_cifs_acl_by_path(struct cifs_sb_info *cifs_sb, in get_cifs_acl_by_path()
[all …]
Dcifsproto.h223 extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
225 extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
227 extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
537 __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
539 struct cifs_ntsd *, __u32, int);
Dxattr.c162 struct cifs_ntsd *pacl; in cifs_xattr_set()
341 struct cifs_ntsd *pacl; in cifs_xattr_get()
Dcifsglob.h487 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
489 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
491 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
Dsmb2proto.h216 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
Dsmb2ops.c3121 static struct cifs_ntsd *
3125 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3150 static struct cifs_ntsd *
3154 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3213 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3270 static struct cifs_ntsd *
3275 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl()
Dcifssmb.c3391 struct cifs_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3461 if ((*pbuflen < sizeof(struct cifs_ntsd) + 8) || in CIFSSMBGetCIFSACL()
3481 struct cifs_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
Dsmb2pdu.c5205 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()