Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsencrypt.c317 unsigned int attrsize; in find_domain_name() local
336 attrsize = le16_to_cpu(attrptr->length); in find_domain_name()
338 if (blobptr + attrsize > blobend) in find_domain_name()
341 if (!attrsize || attrsize >= CIFS_MAX_DOMAINNAME_LEN) in find_domain_name()
345 kmalloc(attrsize + 1, GFP_KERNEL); in find_domain_name()
349 (__le16 *)blobptr, attrsize, attrsize, in find_domain_name()
354 blobptr += attrsize; /* advance attr value */ in find_domain_name()
369 unsigned int attrsize; in find_timestamp() local
389 attrsize = le16_to_cpu(attrptr->length); in find_timestamp()
391 if (blobptr + attrsize > blobend) in find_timestamp()
[all …]
/linux-6.1.9/net/wireless/
Dnl80211.c10861 unsigned int attrsize = NUM_NL80211_ATTR * sizeof(*attrs); in nl80211_associate() local
10878 attrs = kzalloc(attrsize, GFP_KERNEL); in nl80211_associate()
10885 memset(attrs, 0, attrsize); in nl80211_associate()