Searched refs:upayload (Results 1 – 5 of 5) sorted by relevance
61 struct user_key_payload *upayload; in user_preparse() local67 upayload = kmalloc(sizeof(*upayload) + datalen, GFP_KERNEL); in user_preparse()68 if (!upayload) in user_preparse()73 prep->payload.data[0] = upayload; in user_preparse()74 upayload->datalen = datalen; in user_preparse()135 if (upayload) { in user_revoke()150 kfree_sensitive(upayload); in user_destroy()173 const struct user_key_payload *upayload; in user_read() local177 ret = upayload->datalen; in user_read()181 if (buflen > upayload->datalen) in user_read()[all …]
95 struct user_key_payload *upayload; in dns_resolver_preparse() local211 upayload = kmalloc(sizeof(*upayload) + result_len + 1, GFP_KERNEL); in dns_resolver_preparse()212 if (!upayload) { in dns_resolver_preparse()217 upayload->datalen = result_len; in dns_resolver_preparse()218 memcpy(upayload->data, data, result_len); in dns_resolver_preparse()219 upayload->data[result_len] = '\0'; in dns_resolver_preparse()221 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()
304 const struct user_key_payload *upayload; in request_user_key() local312 upayload = user_key_payload_locked(ukey); in request_user_key()313 if (!upayload) { in request_user_key()320 *master_key = upayload->data; in request_user_key()321 *master_keylen = upayload->datalen; in request_user_key()
1832 const struct user_key_payload *upayload; in cifs_set_cifscreds() local1876 upayload = user_key_payload_locked(key); in cifs_set_cifscreds()1877 if (IS_ERR_OR_NULL(upayload)) { in cifs_set_cifscreds()1878 rc = upayload ? PTR_ERR(upayload) : -EINVAL; in cifs_set_cifscreds()1883 payload = upayload->data; in cifs_set_cifscreds()1884 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()1888 upayload->datalen); in cifs_set_cifscreds()
Completed in 12 milliseconds