Home
last modified time | relevance | path

Searched refs:cifs_ntsd (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A 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_pat
[all...]
H A 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))
H A 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);
H A Dxattr.c36 #define CIFS_XATTR_CIFS_NTSD "system.cifs_ntsd" /* owner plus DACL */
171 struct cifs_ntsd *pacl; in cifs_xattr_set()
336 struct cifs_ntsd *pacl; in cifs_xattr_get()
H A 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 *,
H A Dsmb2proto.h237 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
H A Dsmb2ops.c3214 static struct cifs_ntsd *
3218 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3242 static struct cifs_ntsd *
3246 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3301 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3356 static struct cifs_ntsd *
3361 struct cifs_ntsd *pntsd = NULL; in get_smb2_acl()
H A 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()
H A Dsmb2pdu.c4982 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()
/kernel/linux/linux-6.6/fs/smb/client/
H A 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))
H A 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 *pnts in get_cifs_acl_by_fid()
[all...]
H A Dcifsproto.h234 extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
236 extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
242 extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
564 __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
566 struct cifs_ntsd *, __u32, int);
H A Dxattr.c24 #define CIFS_XATTR_CIFS_NTSD "system.cifs_ntsd" /* owner plus DACL */
165 struct cifs_ntsd *pacl; in cifs_xattr_set()
318 struct cifs_ntsd *pacl; in cifs_xattr_get()
H A Dsmb2proto.h222 struct cifs_ntsd *pnntsd, int pacllen, int aclflag);
H A 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 *,
H A 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()
H A 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()
H A Dsmb2pdu.c5426 struct cifs_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()

Completed in 71 milliseconds