Searched refs:nsecdesclen (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/fs/smb/client/ |
D | cifsacl.c | 1581 __u32 nsecdesclen = 0; in id_mode_to_cifs_acl() local 1625 nsecdesclen = secdesclen; in id_mode_to_cifs_acl() 1628 nsecdesclen += 2 * sizeof(struct smb_ace); in id_mode_to_cifs_acl() 1630 nsecdesclen += 5 * sizeof(struct smb_ace); in id_mode_to_cifs_acl() 1633 nsecdesclen = sizeof(struct smb_ntsd) + (sizeof(struct smb_sid) * 2); in id_mode_to_cifs_acl() 1638 nsecdesclen += in id_mode_to_cifs_acl() 1641 nsecdesclen += le16_to_cpu(dacl_ptr->size); in id_mode_to_cifs_acl() 1651 nsecdesclen = max_t(u32, nsecdesclen, DEFAULT_SEC_DESC_LEN); in id_mode_to_cifs_acl() 1652 pnntsd = kmalloc(nsecdesclen, GFP_KERNEL); in id_mode_to_cifs_acl() 1659 rc = build_sec_desc(pntsd, pnntsd, secdesclen, &nsecdesclen, pnmode, uid, gid, in id_mode_to_cifs_acl() [all …]
|