/linux-master/arch/s390/crypto/ |
H A D | sha1_s390.c | 48 struct sha1_state *octx = out; local 50 octx->count = sctx->count; 51 memcpy(octx->state, sctx->state, sizeof(octx->state)); 52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer));
|
H A D | sha512_s390.c | 42 struct sha512_state *octx = out; local 44 octx->count[0] = sctx->count; 45 octx->count[1] = 0; 46 memcpy(octx->state, sctx->state, sizeof(octx->state)); 47 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
|
H A D | sha3_512_s390.c | 33 struct sha3_state *octx = out; local 35 octx->rsiz = sctx->count; 36 octx->rsizw = sctx->count >> 32; 38 memcpy(octx->st, sctx->state, sizeof(octx->st)); 39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
|
H A D | sha256_s390.c | 41 struct sha256_state *octx = out; local 43 octx->count = sctx->count; 44 memcpy(octx->state, sctx->state, sizeof(octx->state)); 45 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
|
H A D | sha3_256_s390.c | 34 struct sha3_state *octx = out; local 36 octx->rsiz = sctx->count; 37 memcpy(octx->st, sctx->state, sizeof(octx->st)); 38 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
|
/linux-master/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-hash.c | 65 struct md5_state *octx = out; local 68 octx->byte_count = op->byte_count + op->len; 70 memcpy(octx->block, op->buf, op->len); 74 octx->hash[i] = op->hash[i]; 76 octx->hash[0] = SHA1_H0; 77 octx->hash[1] = SHA1_H1; 78 octx->hash[2] = SHA1_H2; 79 octx->hash[3] = SHA1_H3; 107 struct sha1_state *octx = out; local 110 octx [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.h | 82 __chcr_get_ktls_tx_info(struct tls_offload_context_tx *octx) argument 87 priv_ctx = (struct chcr_ktls_ctx_tx *)octx->driver_state;
|
/linux-master/drivers/crypto/ |
H A D | omap-aes-gcm.c | 234 dd->ctx = &ctx->octx; 294 memcpy(rctx->iv, ctx->octx.nonce, 4); 306 memcpy(rctx->iv, ctx->octx.nonce, 4); 322 memcpy(ctx->octx.key, key, keylen); 323 ctx->octx.keylen = keylen; 342 memcpy(ctx->octx.key, key, keylen); 343 memcpy(ctx->octx.nonce, key + keylen, 4); 344 ctx->octx.keylen = keylen;
|
H A D | omap-aes.h | 102 struct omap_aes_ctx octx; member in struct:omap_aes_gcm_ctx
|
/linux-master/io_uring/ |
H A D | msg_ring.c | 36 static void io_double_unlock_ctx(struct io_ring_ctx *octx) argument 38 mutex_unlock(&octx->uring_lock); 41 static int io_double_lock_ctx(struct io_ring_ctx *octx, argument 50 if (!mutex_trylock(&octx->uring_lock)) 54 mutex_lock(&octx->uring_lock);
|
/linux-master/net/ipv4/ |
H A D | tcp_fastopen.c | 61 struct tcp_fastopen_context *ctx, *octx; local 83 octx = xchg((__force struct tcp_fastopen_context **)&q->ctx, ctx); 85 octx = xchg((__force struct tcp_fastopen_context **)&net->ipv4.tcp_fastopen_ctx, ctx); 88 if (octx) 89 call_rcu(&octx->rcu, tcp_fastopen_ctx_free);
|
/linux-master/fs/ |
H A D | libfs.c | 263 * @octx: directory offset map to be initialized 266 void simple_offset_init(struct offset_ctx *octx) argument 268 mt_init_flags(&octx->mt, MT_FLAGS_ALLOC_RANGE); 269 lockdep_set_class(&octx->mt.ma_lock, &simple_offset_lock_class); 270 octx->next_offset = DIR_OFFSET_MIN; 275 * @octx: directory offset ctx to be updated 278 * Returns zero on success. @octx and the dentry's offset are updated. 281 int simple_offset_add(struct offset_ctx *octx, struct dentry *dentry) argument 289 ret = mtree_alloc_cyclic(&octx->mt, &offset, dentry, DIR_OFFSET_MIN, 290 LONG_MAX, &octx 304 simple_offset_remove(struct offset_ctx *octx, struct dentry *dentry) argument 325 struct offset_ctx *octx; local 405 simple_offset_destroy(struct offset_ctx *octx) argument 440 offset_find_next(struct offset_ctx *octx, loff_t offset) argument 469 struct offset_ctx *octx = inode->i_op->get_offset_ctx(inode); local [all...] |
H A D | userfaultfd.c | 656 struct userfaultfd_ctx *ctx = NULL, *octx; local 659 octx = vma->vm_userfaultfd_ctx.ctx; 660 if (!octx || !(octx->features & UFFD_FEATURE_EVENT_FORK)) { 668 if (fctx->orig == octx) { 685 ctx->flags = octx->flags; 686 ctx->features = octx->features; 693 userfaultfd_ctx_get(octx); 694 down_write(&octx->map_changing_lock); 695 atomic_inc(&octx [all...] |
/linux-master/crypto/ |
H A D | cmac.c | 213 struct cmac_tfm_ctx *octx = crypto_shash_ctx(otfm); local 217 cipher = crypto_clone_cipher(octx->child);
|
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | emac.h | 69 u32 octx; member in struct:emac_regs
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_receiver.c | 1263 struct one_flush_context *octx = bio->bi_private; local 1264 struct drbd_device *device = octx->device; 1265 struct issue_flush_context *ctx = octx->ctx; 1271 kfree(octx); 1286 struct one_flush_context *octx = kmalloc(sizeof(*octx), GFP_NOIO); local 1288 if (!octx) { 1289 drbd_warn(device, "Could not allocate a octx, CANNOT ISSUE FLUSH\n"); 1301 octx->device = device; 1302 octx [all...] |
/linux-master/include/linux/ |
H A D | fs.h | 3339 void simple_offset_init(struct offset_ctx *octx); 3340 int simple_offset_add(struct offset_ctx *octx, struct dentry *dentry); 3341 void simple_offset_remove(struct offset_ctx *octx, struct dentry *dentry); 3347 void simple_offset_destroy(struct offset_ctx *octx);
|