Home
last modified time | relevance | path

Searched refs:smb_ntsd (Results 1 – 15 of 15) 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()
1110 struct smb_ntsd *pntsd; in smb_inherit_dacl()
1127 pntsd_alloc_size = sizeof(struct smb_ntsd) + powner_sid_size + in smb_inherit_dacl()
1140 pntsd_size = sizeof(struct smb_ntsd); in smb_inherit_dacl()
1220 struct smb_ntsd *pntsd = NULL; in smb_check_perm_dacl()
1383 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len, in set_info_sec()
H A Dvfs.h151 struct smb_ntsd *pntsd, int len,
156 struct smb_ntsd **pntsd);
H A Dsmb2pdu.h394 struct smb_ntsd ntsd;
H A Dvfs.c1464 struct smb_ntsd *pntsd, int len, in ksmbd_vfs_set_sd_xattr()
1540 struct smb_ntsd **pntsd) in ksmbd_vfs_get_sd_xattr()
1585 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr()
H A Dsmb2pdu.c3337 struct smb_ntsd *pntsd; in smb2_open()
3346 pntsd = kmalloc(sizeof(struct smb_ntsd) + in smb2_open()
5584 struct smb_ntsd *pntsd = (struct smb_ntsd *)rsp->Buffer, *ppntsd = NULL; in smb2_get_info_sec()
5605 secdesclen = sizeof(struct smb_ntsd); in smb2_get_info_sec()
6407 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 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,
563 __u16 fid, struct smb_ntsd **acl_inf, __u32 *buflen);
565 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.h544 struct smb_ntsd * (*get_acl)(struct cifs_sb_info *cifssb, struct inode *ino,
546 struct smb_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *cifssmb,
548 int (*set_acl)(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, const char *path,
H A Dsmb2proto.h247 struct smb_ntsd *pnntsd, int pacllen, int aclflag);
H A Dsmb2ops.c3032 static struct smb_ntsd *
3036 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_fid()
3061 static struct smb_ntsd *
3065 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_path()
3128 set_smb2_acl(struct smb_ntsd *pnntsd, __u32 acllen, in set_smb2_acl()
3186 static struct smb_ntsd *
3191 struct smb_ntsd *pntsd = NULL; in get_smb2_acl()
H A Dcifssmb.c3369 struct smb_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL()
3439 if ((*pbuflen < sizeof(struct smb_ntsd) + 8) || in CIFSSMBGetCIFSACL()
3459 struct smb_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
H A Dsmb2pdu.c5714 struct smb_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()
/linux/fs/smb/common/
H A Dsmbacl.h88 struct smb_ntsd { struct