Home
last modified time | relevance | path

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

/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c65 struct md5_state *octx = out; in sun4i_hash_export_md5() local
68 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5()
70 memcpy(octx->block, op->buf, op->len); in sun4i_hash_export_md5()
74 octx->hash[i] = op->hash[i]; in sun4i_hash_export_md5()
76 octx->hash[0] = SHA1_H0; in sun4i_hash_export_md5()
77 octx->hash[1] = SHA1_H1; in sun4i_hash_export_md5()
78 octx->hash[2] = SHA1_H2; in sun4i_hash_export_md5()
79 octx->hash[3] = SHA1_H3; in sun4i_hash_export_md5()
107 struct sha1_state *octx = out; in sun4i_hash_export_sha1() local
110 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1()
[all …]
/linux/io_uring/
H A Dmsg_ring.c35 static void io_double_unlock_ctx(struct io_ring_ctx *octx) in io_double_unlock_ctx() argument
37 mutex_unlock(&octx->uring_lock); in io_double_unlock_ctx()
40 static int io_lock_external_ctx(struct io_ring_ctx *octx, in io_lock_external_ctx() argument
49 if (!mutex_trylock(&octx->uring_lock)) in io_lock_external_ctx()
53 mutex_lock(&octx->uring_lock); in io_lock_external_ctx()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.h82 __chcr_get_ktls_tx_info(struct tls_offload_context_tx *octx) in __chcr_get_ktls_tx_info() argument
87 priv_ctx = (struct chcr_ktls_ctx_tx *)octx->driver_state; in __chcr_get_ktls_tx_info()
/linux/net/ipv4/
H A Dtcp_fastopen.c148 struct tcp_fastopen_context *ctx, *octx; in tcp_fastopen_reset_cipher() local
170 octx = unrcu_pointer(xchg(&q->ctx, RCU_INITIALIZER(ctx))); in tcp_fastopen_reset_cipher()
172 octx = unrcu_pointer(xchg(&net->ipv4.tcp_fastopen_ctx, in tcp_fastopen_reset_cipher()
176 if (octx) in tcp_fastopen_reset_cipher()
177 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/linux/mm/
H A Duserfaultfd.c3094 struct userfaultfd_ctx *ctx = NULL, *octx; in dup_userfaultfd() local
3097 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
3098 if (!octx) in dup_userfaultfd()
3101 if (!(octx->features & UFFD_FEATURE_EVENT_FORK)) { in dup_userfaultfd()
3107 if (fctx->orig == octx) { in dup_userfaultfd()
3124 ctx->flags = octx->flags; in dup_userfaultfd()
3125 ctx->features = octx->features; in dup_userfaultfd()
3132 userfaultfd_ctx_get(octx); in dup_userfaultfd()
3133 down_write(&octx->map_changing_lock); in dup_userfaultfd()
3134 atomic_inc(&octx->mmap_changing); in dup_userfaultfd()
[all …]
/linux/drivers/net/ethernet/ibm/emac/
H A Demac.h69 u32 octx; member
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c1075 struct one_flush_context *octx = bio->bi_private; in one_flush_endio() local
1076 struct drbd_device *device = octx->device; in one_flush_endio()
1077 struct issue_flush_context *ctx = octx->ctx; in one_flush_endio()
1083 kfree(octx); in one_flush_endio()
1098 struct one_flush_context *octx = kmalloc_obj(*octx, GFP_NOIO); in submit_one_flush() local
1100 if (!octx) { in submit_one_flush()
1113 octx->device = device; in submit_one_flush()
1114 octx->ctx = ctx; in submit_one_flush()
1115 bio->bi_private = octx; in submit_one_flush()
/linux/include/linux/
H A Dfs.h3326 void simple_offset_init(struct offset_ctx *octx);
3327 int simple_offset_add(struct offset_ctx *octx, struct dentry *dentry);
3328 void simple_offset_remove(struct offset_ctx *octx, struct dentry *dentry);
3335 void simple_offset_destroy(struct offset_ctx *octx);