Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Dcifsencrypt.c445 unsigned int attrsize; in find_domain_name() local
464 attrsize = le16_to_cpu(attrptr->length); in find_domain_name()
466 if (blobptr + attrsize > blobend) in find_domain_name()
469 if (!attrsize || attrsize >= CIFS_MAX_DOMAINNAME_LEN) in find_domain_name()
473 kmalloc(attrsize + 1, GFP_KERNEL); in find_domain_name()
477 (__le16 *)blobptr, attrsize, attrsize, in find_domain_name()
482 blobptr += attrsize; /* advance attr value */ in find_domain_name()
497 unsigned int attrsize; in find_timestamp() local
517 attrsize = le16_to_cpu(attrptr->length); in find_timestamp()
519 if (blobptr + attrsize > blobend) in find_timestamp()
[all …]
/linux-6.6.21/net/wireless/
Dnl80211.c11094 unsigned int attrsize = NUM_NL80211_ATTR * sizeof(*attrs); in nl80211_associate() local
11112 attrs = kzalloc(attrsize, GFP_KERNEL); in nl80211_associate()
11119 memset(attrs, 0, attrsize); in nl80211_associate()