Home
last modified time | relevance | path

Searched refs:nowner_sid_ptr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifsacl.c520 struct cifs_sid *nowner_sid_ptr, *ngroup_sid_ptr; in copy_sec_desc() local
536 nowner_sid_ptr = (struct cifs_sid *)((char *)pnntsd + sidsoffset); in copy_sec_desc()
537 cifs_copy_sid(nowner_sid_ptr, owner_sid_ptr); in copy_sec_desc()
1256 struct cifs_sid *nowner_sid_ptr = NULL, *ngroup_sid_ptr = NULL; in build_sec_desc() local
1303 nowner_sid_ptr = kzalloc(sizeof(struct cifs_sid), in build_sec_desc()
1305 if (!nowner_sid_ptr) { in build_sec_desc()
1311 struct owner_sid *osid = (struct owner_sid *)nowner_sid_ptr; in build_sec_desc()
1321 rc = id_to_sid(id, SIDOWNER, nowner_sid_ptr); in build_sec_desc()
1364 nowner_sid_ptr, ngroup_sid_ptr); in build_sec_desc()
1371 nowner_sid_ptr, ngroup_sid_ptr); in build_sec_desc()
[all …]
/linux-6.1.9/fs/ksmbd/
Dsmbacl.c900 struct smb_sid *nowner_sid_ptr, *ngroup_sid_ptr; in build_sec_desc() local
906 nowner_sid_ptr = kmalloc(sizeof(struct smb_sid), GFP_KERNEL); in build_sec_desc()
907 if (!nowner_sid_ptr) in build_sec_desc()
913 id_to_sid(uid, sid_type, nowner_sid_ptr); in build_sec_desc()
917 kfree(nowner_sid_ptr); in build_sec_desc()
934 smb_copy_sid(owner_sid_ptr, nowner_sid_ptr); in build_sec_desc()
935 offset += 1 + 1 + 6 + (nowner_sid_ptr->num_subauth * 4); in build_sec_desc()
971 nowner_sid_ptr, ngroup_sid_ptr, in build_sec_desc()
979 kfree(nowner_sid_ptr); in build_sec_desc()