Searched refs:nsecdesclen (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | cifsacl.c | 1574 __u32 nsecdesclen = 0; in id_mode_to_cifs_acl() local 1618 nsecdesclen = secdesclen; in id_mode_to_cifs_acl() 1621 nsecdesclen += 2 * sizeof(struct cifs_ace); in id_mode_to_cifs_acl() 1623 nsecdesclen += 5 * sizeof(struct cifs_ace); in id_mode_to_cifs_acl() 1626 nsecdesclen = sizeof(struct cifs_ntsd) + (sizeof(struct cifs_sid) * 2); in id_mode_to_cifs_acl() 1631 nsecdesclen += in id_mode_to_cifs_acl() 1634 nsecdesclen += le16_to_cpu(dacl_ptr->size); in id_mode_to_cifs_acl() 1644 nsecdesclen = max_t(u32, nsecdesclen, DEFAULT_SEC_DESC_LEN); in id_mode_to_cifs_acl() 1645 pnntsd = kmalloc(nsecdesclen, GFP_KERNEL); in id_mode_to_cifs_acl() 1652 rc = build_sec_desc(pntsd, pnntsd, secdesclen, &nsecdesclen, pnmode, uid, gid, in id_mode_to_cifs_acl() [all …]
|