Home
last modified time | relevance | path

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

/Linux-v5.10/fs/nfsd/
Dnfscache.c106 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc()
107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc()
108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc()
109 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp)); in nfsd_reply_cache_alloc()
110 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_reply_cache_alloc()
111 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc()
112 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc()
113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc()
114 rp->c_key.k_csum = csum; in nfsd_reply_cache_alloc()
325 if (key->c_key.k_xid == rp->c_key.k_xid && in nfsd_cache_key_cmp()
[all …]
Dcache.h32 } c_key; member
Dtrace.h618 __entry->xid = be32_to_cpu(key->c_key.k_xid);
619 __entry->cached = (__force u32)key->c_key.k_csum;
620 __entry->ingress = (__force u32)rp->c_key.k_csum;
/Linux-v5.10/drivers/crypto/hisilicon/sec2/
Dsec.h91 u8 *c_key; member
Dsec_crypto.c500 c_ctx->c_key = dma_alloc_coherent(SEC_CTX_DEV(ctx), SEC_MAX_KEY_SIZE, in sec_cipher_init()
502 if (!c_ctx->c_key) in sec_cipher_init()
512 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()
514 c_ctx->c_key, c_ctx->c_key_dma); in sec_cipher_uninit()
664 memcpy(c_ctx->c_key, key, keylen); in sec_skcipher_setkey()
851 memcpy(c_ctx->c_key, keys->enckey, keys->enckeylen); in sec_aead_aes_set_key()