Searched refs:upayload (Results 1 – 2 of 2) sorted by relevance
94 struct user_key_payload *upayload; in dns_resolver_preparse() local218 upayload = kmalloc(sizeof(*upayload) + result_len + 1, GFP_KERNEL); in dns_resolver_preparse()219 if (!upayload) { in dns_resolver_preparse()224 upayload->datalen = result_len; in dns_resolver_preparse()225 memcpy(upayload->data, data, result_len); in dns_resolver_preparse()226 upayload->data[result_len] = '\0'; in dns_resolver_preparse()228 prep->payload.data[dns_key_data] = upayload; in dns_resolver_preparse()
80 struct user_key_payload *upayload; in dns_query() local149 upayload = user_key_payload_locked(rkey); in dns_query()150 len = upayload->datalen; in dns_query()154 *_result = kmemdup_nul(upayload->data, len, GFP_KERNEL); in dns_query()