Home
last modified time | relevance | path

Searched refs:octx (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/arch/s390/crypto/
Dsha1_s390.c48 struct sha1_state *octx = out; in sha1_export() local
50 octx->count = sctx->count; in sha1_export()
51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha1_export()
52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in sha1_export()
Dsha3_512_s390.c34 struct sha3_state *octx = out; in sha3_512_export() local
36 octx->rsiz = sctx->count; in sha3_512_export()
37 octx->rsizw = sctx->count >> 32; in sha3_512_export()
39 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_512_export()
40 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_512_export()
Dsha512_s390.c42 struct sha512_state *octx = out; in sha512_export() local
44 octx->count[0] = sctx->count; in sha512_export()
45 octx->count[1] = 0; in sha512_export()
46 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha512_export()
47 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha512_export()
Dsha3_256_s390.c35 struct sha3_state *octx = out; in sha3_256_export() local
37 octx->rsiz = sctx->count; in sha3_256_export()
38 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_256_export()
39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_256_export()
Dsha256_s390.c41 struct sha256_state *octx = out; in sha256_export() local
43 octx->count = sctx->count; in sha256_export()
44 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha256_export()
45 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha256_export()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c52 struct md5_state *octx = out; in sun4i_hash_export_md5() local
55 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5()
57 memcpy(octx->block, op->buf, op->len); in sun4i_hash_export_md5()
61 octx->hash[i] = op->hash[i]; in sun4i_hash_export_md5()
63 octx->hash[0] = SHA1_H0; in sun4i_hash_export_md5()
64 octx->hash[1] = SHA1_H1; in sun4i_hash_export_md5()
65 octx->hash[2] = SHA1_H2; in sun4i_hash_export_md5()
66 octx->hash[3] = SHA1_H3; in sun4i_hash_export_md5()
94 struct sha1_state *octx = out; in sun4i_hash_export_sha1() local
97 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1()
[all …]
/Linux-v5.4/net/ipv4/
Dtcp_fastopen.c72 struct tcp_fastopen_context *ctx, *octx; in tcp_fastopen_reset_cipher() local
95 octx = rcu_dereference_protected(q->ctx, in tcp_fastopen_reset_cipher()
99 octx = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx, in tcp_fastopen_reset_cipher()
105 if (octx) in tcp_fastopen_reset_cipher()
106 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/Linux-v5.4/fs/
Duserfaultfd.c673 struct userfaultfd_ctx *ctx = NULL, *octx; in dup_userfaultfd() local
676 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
677 if (!octx || !(octx->features & UFFD_FEATURE_EVENT_FORK)) { in dup_userfaultfd()
684 if (fctx->orig == octx) { in dup_userfaultfd()
701 ctx->flags = octx->flags; in dup_userfaultfd()
703 ctx->features = octx->features; in dup_userfaultfd()
709 userfaultfd_ctx_get(octx); in dup_userfaultfd()
710 WRITE_ONCE(octx->mmap_changing, true); in dup_userfaultfd()
711 fctx->orig = octx; in dup_userfaultfd()
/Linux-v5.4/drivers/net/ethernet/ibm/emac/
Demac.h69 u32 octx; member
/Linux-v5.4/drivers/block/drbd/
Ddrbd_receiver.c1258 struct one_flush_context *octx = bio->bi_private; in one_flush_endio() local
1259 struct drbd_device *device = octx->device; in one_flush_endio()
1260 struct issue_flush_context *ctx = octx->ctx; in one_flush_endio()
1266 kfree(octx); in one_flush_endio()
1280 struct one_flush_context *octx = kmalloc(sizeof(*octx), GFP_NOIO); in submit_one_flush() local
1281 if (!bio || !octx) { in submit_one_flush()
1286 kfree(octx); in submit_one_flush()
1296 octx->device = device; in submit_one_flush()
1297 octx->ctx = ctx; in submit_one_flush()
1299 bio->bi_private = octx; in submit_one_flush()