Home
last modified time | relevance | path

Searched refs:desclen (Results 1 – 8 of 8) sorted by relevance

/linux/net/dns_resolver/
H A Ddns_query.c82 size_t typelen, desclen; in dns_query() local
94 desclen = 0; in dns_query()
99 desclen += typelen + 1; in dns_query()
104 desclen += namelen + 1; in dns_query()
106 desc = kmalloc(desclen, GFP_KERNEL); in dns_query()
/linux/sound/usb/
H A Dhelper.h7 void *snd_usb_find_desc(void *descstart, int desclen, void *after, u8 dtype);
8 void *snd_usb_find_csint_desc(void *descstart, int desclen, void *after, u8 dsubtype);
H A Dhelper.c31 void *snd_usb_find_desc(void *descstart, int desclen, void *after, u8 dtype) in snd_usb_find_desc() argument
36 end = p + desclen; in snd_usb_find_desc()
/linux/security/keys/
H A Dkey.c231 size_t desclen, quotalen; in key_alloc() local
247 desclen = strlen(desc); in key_alloc()
248 quotalen = desclen + 1 + type->def_datalen; in key_alloc()
281 key->index_key.desc_len = desclen; in key_alloc()
282 key->index_key.description = kmemdup(desc, desclen + 1, GFP_KERNEL); in key_alloc()
H A Dkeyctl.c652 int desclen, infolen; in keyctl_describe_key() local
676 desclen = strlen(key->description); in keyctl_describe_key()
689 ret = infolen + desclen + 1; in keyctl_describe_key()
695 desclen + 1) != 0) in keyctl_describe_key()
/linux/fs/nfs/
H A Dnfs4idmap.c262 size_t desclen = typelen + namelen + 2; in nfs_idmap_get_desc() local
264 *desc = kmalloc(desclen, GFP_KERNEL); in nfs_idmap_get_desc()
276 return desclen; in nfs_idmap_get_desc()
/linux/drivers/usb/core/
H A Dsysfs.c904 size_t desclen, n = 0; in bos_descriptors_read() local
908 desclen = le16_to_cpu(desc->wTotalLength); in bos_descriptors_read()
909 if (off < desclen) { in bos_descriptors_read()
910 n = min(count, desclen - (size_t) off); in bos_descriptors_read()
/linux/drivers/crypto/caam/
H A Dcaampkc.c250 size_t desclen) in rsa_edesc_alloc() argument
321 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, flags); in rsa_edesc_alloc()
325 edesc->sec4_sg = (void *)edesc + sizeof(*edesc) + desclen; in rsa_edesc_alloc()