Searched refs:upayload (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/security/keys/ |
D | user_defined.c | 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 [all …]
|
/Linux-v6.6/net/dns_resolver/ |
D | dns_key.c | 95 struct user_key_payload *upayload; in dns_resolver_preparse() local 211 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()
|
D | dns_query.c | 80 struct user_key_payload *upayload; in dns_query() local 149 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()
|
/Linux-v6.6/security/keys/encrypted-keys/ |
D | encrypted.c | 310 const struct user_key_payload *upayload; in request_user_key() local 318 upayload = user_key_payload_locked(ukey); in request_user_key() 319 if (!upayload) { in request_user_key() 326 *master_key = upayload->data; in request_user_key() 327 *master_keylen = upayload->datalen; in request_user_key()
|
/Linux-v6.6/fs/smb/client/ |
D | connect.c | 2058 const struct user_key_payload *upayload; in cifs_set_cifscreds() local 2102 upayload = user_key_payload_locked(key); in cifs_set_cifscreds() 2103 if (IS_ERR_OR_NULL(upayload)) { in cifs_set_cifscreds() 2104 rc = upayload ? PTR_ERR(upayload) : -EINVAL; in cifs_set_cifscreds() 2109 payload = upayload->data; in cifs_set_cifscreds() 2110 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds() 2114 upayload->datalen); in cifs_set_cifscreds()
|