Lines Matching refs:upayload
61 struct user_key_payload *upayload; in user_preparse() local
67 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()
75 memcpy(upayload->data, prep->data, datalen); in user_preparse()
130 struct user_key_payload *upayload = user_key_payload_locked(key); in user_revoke() local
135 if (upayload) { in user_revoke()
137 call_rcu(&upayload->rcu, user_free_payload_rcu); in user_revoke()
148 struct user_key_payload *upayload = key->payload.data[0]; in user_destroy() local
150 kfree_sensitive(upayload); in user_destroy()
173 const struct user_key_payload *upayload; in user_read() local
176 upayload = user_key_payload_locked(key); in user_read()
177 ret = upayload->datalen; in user_read()
181 if (buflen > upayload->datalen) in user_read()
182 buflen = upayload->datalen; in user_read()
184 memcpy(buffer, upayload->data, buflen); in user_read()