Home
last modified time | relevance | path

Searched refs:c_key (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/nfsd/
Dnfscache.c100 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc()
101 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc()
102 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc()
103 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp)); in nfsd_reply_cache_alloc()
104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_reply_cache_alloc()
105 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc()
106 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc()
107 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc()
108 rp->c_key.k_csum = csum; in nfsd_reply_cache_alloc()
351 if (key->c_key.k_xid == rp->c_key.k_xid && in nfsd_cache_key_cmp()
[all …]
Dcache.h32 } c_key; member
Dtrace.h1227 __entry->xid = be32_to_cpu(key->c_key.k_xid);
1228 __entry->cached = (__force u32)key->c_key.k_csum;
1229 __entry->ingress = (__force u32)rp->c_key.k_csum;
/linux-6.1.9/drivers/crypto/hisilicon/sec2/
Dsec.h102 u8 *c_key; member
Dsec_crypto.c646 c_ctx->c_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_init()
648 if (!c_ctx->c_key) in sec_cipher_init()
658 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()
660 c_ctx->c_key, c_ctx->c_key_dma); in sec_cipher_uninit()
859 memcpy(c_ctx->c_key, key, keylen); in sec_skcipher_setkey()
1085 memcpy(c_ctx->c_key, keys->enckey, keys->enckeylen); in sec_aead_aes_set_key()
1165 memcpy(c_ctx->c_key, key, keylen); in sec_aead_setkey()