Home
last modified time | relevance | path

Searched refs:smb_ntsd (Results 1 – 16 of 16) sorted by relevance

/linux/fs/smb/server/
H A Dsmbacl.h84 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd,
86 int build_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd,
87 struct smb_ntsd *ppntsd, int ppntsd_size, int addition_info,
100 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len,
H A Dsmbacl.c814 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd, in parse_sec_desc()
827 if (acl_len < sizeof(struct smb_ntsd)) in parse_sec_desc()
896 struct smb_ntsd *pntsd, struct smb_ntsd *ppntsd, in build_sec_desc()
927 offset = sizeof(struct smb_ntsd); in build_sec_desc()
1005 struct smb_ntsd *parent_pntsd = NULL; in smb_inherit_dacl()
1109 struct smb_ntsd *pntsd; in smb_inherit_dacl()
1126 pntsd_alloc_size = sizeof(struct smb_ntsd) + powner_sid_size + in smb_inherit_dacl()
1139 pntsd_size = sizeof(struct smb_ntsd); in smb_inherit_dacl()
1219 struct smb_ntsd *pntsd = NULL; in smb_check_perm_dacl()
1382 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len, in set_info_sec()
H A Dvfs.h150 struct smb_ntsd *pntsd, int len,
155 struct smb_ntsd **pntsd);
H A Dsmb2pdu.h394 struct smb_ntsd ntsd;
H A Dvfs.c1463 struct smb_ntsd *pntsd, int len, in ksmbd_vfs_set_sd_xattr()
1539 struct smb_ntsd **pntsd) in ksmbd_vfs_get_sd_xattr()
1584 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr()
H A Dsmb2pdu.c3328 struct smb_ntsd *pntsd; in smb2_open()
3337 pntsd = kmalloc(sizeof(struct smb_ntsd) + in smb2_open()
5523 struct smb_ntsd *pntsd = (struct smb_ntsd *)rsp->Buffer, *ppntsd = NULL; in smb2_get_info_sec()
5544 secdesclen = sizeof(struct smb_ntsd); in smb2_get_info_sec()
6346 struct smb_ntsd *pntsd = (struct smb_ntsd *)buffer; in smb2_set_info_sec()
/linux/fs/smb/client/
H A Dcifsacl.h29 #define DEFAULT_SEC_DESC_LEN (sizeof(struct smb_ntsd) + \
108 #define MIN_SEC_DESC_LEN (sizeof(struct smb_ntsd) + (2 * MIN_SID_LEN))
H A Dcifsacl.c518 static __u32 copy_sec_desc(const struct smb_ntsd *pntsd, in copy_sec_desc()
519 struct smb_ntsd *pnntsd, in copy_sec_desc()
530 pnntsd->dacloffset = cpu_to_le32(sizeof(struct smb_ntsd)); in copy_sec_desc()
1252 static int build_sec_desc(struct smb_ntsd *pntsd, struct smb_ntsd *pnntsd, in build_sec_desc()
1282 ndacloffset = sizeof(struct smb_ntsd); in build_sec_desc()
1300 ndacloffset = sizeof(struct smb_ntsd); in build_sec_desc()
1392 struct smb_ntsd *pntsd = NULL; in get_cifs_acl_by_fid()
1416 struct smb_ntsd *pntsd = NULL; in get_cifs_acl_by_path()
1461 struct smb_ntsd *pntsd = NULL; in get_cifs_acl()
1475 int set_cifs_acl(struct smb_ntsd *pnntsd, __u32 acllen, in set_cifs_acl()
[all …]
H A Dcifsproto.h236 extern struct smb_ntsd *get_cifs_acl(struct cifs_sb_info *cifssmb, struct inode *ino,
238 extern struct smb_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifssb,
244 extern int set_cifs_acl(struct smb_ntsd *pntsd, __u32 len, struct inode *ino,
569 __u16 fid, struct smb_ntsd **acl_inf, __u32 *buflen);
571 struct smb_ntsd *pntsd, __u32 len, int aclflag);
H A Dxattr.c165 struct smb_ntsd *pacl; in cifs_xattr_set()
318 struct smb_ntsd *pacl; in cifs_xattr_get()
H A Dcifsglob.h538 struct smb_ntsd * (*get_acl)(struct cifs_sb_info *cifssb, struct inode *ino,
540 struct smb_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *cifssmb,
542 int (*set_acl)(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, const char *path,
H A Dsmb2proto.h242 struct smb_ntsd *pnntsd, int pacllen, int aclflag);
H A Dsmb2ops.c3059 static struct smb_ntsd *
3063 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3088 static struct smb_ntsd *
3092 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3155 set_smb2_acl(struct smb_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3213 static struct smb_ntsd *
3218 struct smb_ntsd *pntsd = NULL; in get_smb2_acl()
H A Dcifssmb.c3430 struct smb_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3500 if ((*pbuflen < sizeof(struct smb_ntsd) + 8) || in CIFSSMBGetCIFSACL()
3520 struct smb_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
H A Dsmb2pdu.c5721 struct smb_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()
/linux/fs/smb/common/
H A Dsmbacl.h88 struct smb_ntsd { struct