Searched refs:desclen (Results 1 – 8 of 8) sorted by relevance
/linux/net/dns_resolver/ |
H A D | dns_query.c | 82 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 D | helper.h | 7 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 D | helper.c | 31 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 D | key.c | 231 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 D | keyctl.c | 652 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 D | nfs4idmap.c | 262 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 D | sysfs.c | 904 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 D | caampkc.c | 250 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()
|