Lines Matching refs:cifs_ntsd
518 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()
1416 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl_by_path()
1457 struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *cifs_sb, in get_cifs_acl()
1461 struct cifs_ntsd *pntsd = NULL; in get_cifs_acl()
1475 int set_cifs_acl(struct cifs_ntsd *pnntsd, __u32 acllen, in set_cifs_acl()
1531 struct cifs_ntsd *pntsd = NULL; in cifs_acl_to_fattr()
1584 struct cifs_ntsd *pntsd = NULL; /* acl obtained from server */ in id_mode_to_cifs_acl()
1585 struct cifs_ntsd *pnntsd = NULL; /* modified acl to be sent to server */ in id_mode_to_cifs_acl()
1633 nsecdesclen = sizeof(struct cifs_ntsd) + (sizeof(struct cifs_sid) * 2); in id_mode_to_cifs_acl()