Home
last modified time | relevance | path

Searched refs:dacloffset (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dsmbacl.c818 __u32 dacloffset; in parse_sec_desc() local
831 dacloffset = le32_to_cpu(pntsd->dacloffset); in parse_sec_desc()
832 dacl_ptr = (struct smb_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
837 le32_to_cpu(pntsd->sacloffset), dacloffset); in parse_sec_desc()
883 if (dacloffset) { in parse_sec_desc()
956 unsigned int dacl_offset = le32_to_cpu(ppntsd->dacloffset); in build_sec_desc()
974 pntsd->dacloffset = cpu_to_le32(offset); in build_sec_desc()
1007 int rc = 0, num_aces, dacloffset, pntsd_type, pntsd_size, acl_len, aces_size; in smb_inherit_dacl() local
1015 dacloffset = le32_to_cpu(parent_pntsd->dacloffset); in smb_inherit_dacl()
1016 if (!dacloffset || (dacloffset + sizeof(struct smb_acl) > pntsd_size)) { in smb_inherit_dacl()
[all …]
Dsmbacl.h124 __le32 dacloffset; member
Dvfs.c1452 pntsd->dacloffset = in ksmbd_vfs_set_sd_xattr()
1453 cpu_to_le32(le32_to_cpu(pntsd->dacloffset) + NDR_NTSD_OFFSETOF); in ksmbd_vfs_set_sd_xattr()
1561 (*pntsd)->dacloffset = cpu_to_le32(le32_to_cpu((*pntsd)->dacloffset) - in ksmbd_vfs_get_sd_xattr()
Dsmb2pdu.c5148 pntsd->dacloffset = 0; in smb2_get_info_sec()
/linux-6.1.9/fs/cifs/
Dcifsacl.c525 pnntsd->dacloffset = cpu_to_le32(sizeof(struct cifs_ntsd)); in copy_sec_desc()
1196 __u32 dacloffset; in parse_sec_desc() local
1205 dacloffset = le32_to_cpu(pntsd->dacloffset); in parse_sec_desc()
1206 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
1210 le32_to_cpu(pntsd->sacloffset), dacloffset); in parse_sec_desc()
1237 if (dacloffset) in parse_sec_desc()
1252 __u32 dacloffset; in build_sec_desc() local
1262 dacloffset = le32_to_cpu(pntsd->dacloffset); in build_sec_desc()
1263 if (dacloffset) { in build_sec_desc()
1264 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in build_sec_desc()
[all …]
Dcifsacl.h64 __le32 dacloffset; member