Lines Matching full:prep
59 int user_preparse(struct key_preparsed_payload *prep) in user_preparse() argument
62 size_t datalen = prep->datalen; in user_preparse()
64 if (datalen <= 0 || datalen > 32767 || !prep->data) in user_preparse()
72 prep->quotalen = datalen; in user_preparse()
73 prep->payload.data[0] = upayload; in user_preparse()
75 memcpy(upayload->data, prep->data, datalen); in user_preparse()
83 void user_free_preparse(struct key_preparsed_payload *prep) in user_free_preparse() argument
85 kfree_sensitive(prep->payload.data[0]); in user_free_preparse()
101 int user_update(struct key *key, struct key_preparsed_payload *prep) in user_update() argument
107 ret = key_payload_reserve(key, prep->datalen); in user_update()
112 key->expiry = prep->expiry; in user_update()
115 rcu_assign_keypointer(key, prep->payload.data[0]); in user_update()
116 prep->payload.data[0] = NULL; in user_update()