Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/nfsd/
A 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()
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()
352 key->c_key.k_csum != rp->c_key.k_csum) { in nfsd_cache_key_cmp()
357 return memcmp(&key->c_key, &rp->c_key, sizeof(key->c_key)); in nfsd_cache_key_cmp()
[all …]
A Dcache.h32 } c_key; member
A Dtrace.h1255 __entry->xid = be32_to_cpu(key->c_key.k_xid);
1256 __entry->cached = (__force u32)key->c_key.k_csum;
1257 __entry->ingress = (__force u32)rp->c_key.k_csum;
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/
A Dsec.h102 u8 *c_key; member
A Dsec_crypto.c645 c_ctx->c_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_init()
647 if (!c_ctx->c_key) in sec_cipher_init()
657 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()
659 c_ctx->c_key, c_ctx->c_key_dma); in sec_cipher_uninit()
858 memcpy(c_ctx->c_key, key, keylen); in sec_skcipher_setkey()
1084 memcpy(c_ctx->c_key, keys->enckey, keys->enckeylen); in sec_aead_aes_set_key()
1164 memcpy(c_ctx->c_key, key, keylen); in sec_aead_setkey()

Completed in 15 milliseconds