/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_skcipher.c | 110 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local 114 nctx->ndev = nitrox_get_first_device(); 115 if (!nctx->ndev) 119 chdr = crypto_alloc_context(nctx->ndev); 121 nitrox_put_device(nctx->ndev); 125 nctx->callback = nitrox_skcipher_callback; 126 nctx->chdr = chdr; 127 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + 137 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local 143 nctx 149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local 170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); local 250 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local 340 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local 364 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local [all...] |
H A D | nitrox_aead.c | 37 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 46 fctx = nctx->u.fctx; 61 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 62 struct flexi_crypto_context *fctx = nctx->u.fctx; 216 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 219 struct flexi_crypto_context *fctx = nctx->u.fctx; 234 rctx->ctx_handle = nctx->u.ctx_handle; 243 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, 250 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 253 struct flexi_crypto_context *fctx = nctx 283 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 308 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 343 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 362 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 443 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local 475 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx_dma(aead); local [all...] |
/linux-master/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpaa2-qdma.c | 393 struct dpaa2_qdma_priv_per_prio, nctx); 468 ppriv->nctx.is_cdan = 0; 469 ppriv->nctx.desired_cpu = DPAA2_IO_ANY_CPU; 470 ppriv->nctx.id = ppriv->rsp_fqid; 471 ppriv->nctx.cb = dpaa2_qdma_fqdan_cb; 472 err = dpaa2_io_service_register(NULL, &ppriv->nctx, dev); 491 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); 495 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); 520 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); 540 rx_queue_cfg.user_ctx = ppriv->nctx [all...] |
H A D | dpaa2-qdma.h | 135 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_qdma_priv_per_prio
|
/linux-master/drivers/crypto/caam/ |
H A D | caamalg_qi2.h | 77 * @nctx: notification context of response FQ 88 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_caam_priv_per_cpu
|
H A D | caamalg_qi2.c | 4674 static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) argument 4678 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); 4685 struct dpaa2_io_notification_ctx *nctx; local 4692 nctx = &ppriv->nctx; 4693 nctx->is_cdan = 0; 4694 nctx->id = ppriv->rsp_fqid; 4695 nctx->desired_cpu = cpu; 4696 nctx [all...] |
/linux-master/security/ |
H A D | security.c | 794 struct lsm_ctx *nctx = NULL; local 798 nctx_len = ALIGN(struct_size(nctx, ctx, val_len), sizeof(void *)); 808 nctx = kzalloc(nctx_len, GFP_KERNEL); 809 if (nctx == NULL) { 813 nctx->id = id; 814 nctx->flags = flags; 815 nctx->len = nctx_len; 816 nctx->ctx_len = val_len; 817 memcpy(nctx->ctx, val, val_len); 819 if (copy_to_user(uctx, nctx, nctx_le [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 2857 err = dpaa2_io_service_rearm(NULL, &fq->nctx); 2867 static void dpaa2_switch_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) argument 2871 fq = container_of(nctx, struct dpaa2_switch_fq, nctx); 2879 struct dpaa2_io_notification_ctx *nctx; local 2883 nctx = ðsw->fq[i].nctx; 2889 nctx->is_cdan = 0; 2890 nctx->id = ethsw->fq[i].fqid; 2891 nctx [all...] |
H A D | dpaa2-eth-debugfs.c | 109 ch->nctx.desired_cpu,
|
H A D | dpaa2-switch.h | 97 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_switch_fq
|
H A D | dpaa2-eth.c | 2018 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); 2022 ch->nctx.desired_cpu); 3040 ch = container_of(ctx, struct dpaa2_eth_channel, nctx); 3156 struct dpaa2_io_notification_ctx *nctx; local 3187 nctx = &channel->nctx; 3188 nctx->is_cdan = 1; 3189 nctx->cb = dpaa2_eth_cdan_cb; 3190 nctx->id = channel->ch_id; 3191 nctx [all...] |
H A D | dpaa2-xsk.c | 408 fq = &priv->fq[ch->nctx.desired_cpu];
|
H A D | dpaa2-eth.h | 487 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_eth_channel
|
/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_context.c | 35 const unsigned int nctx = 1024; local 59 ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL); 65 for (n = 0; n < nctx; n++) { 79 for (n = 0; n < nctx; n++) { 95 pr_err("Failed to populated %d contexts\n", nctx); 106 nctx, engine->name, ktime_to_ns(times[1] - times[0])); 120 this = igt_request_alloc(ctx[n % nctx], engine);
|
/linux-master/drivers/gpio/ |
H A D | gpio-tangier.c | 416 size_t nctx = DIV_ROUND_UP(info->ngpio, 32); local 420 gpio->ctx = devm_kcalloc(dev, nctx, sizeof(*gpio->ctx), GFP_KERNEL);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_execlists.c | 3714 unsigned int nctx, 3726 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve)); 3728 for (n = 0; n < nctx; n++) { 3732 nctx = n; 3739 nctx = n; 3752 for (nc = 0; nc < nctx; nc++) { 3770 for (nc = 0; nc < nctx; nc++) { 3787 for (nc = 0; nc < nctx; nc++) { 3808 for (nc = 0; nc < nctx; n 3711 nop_virtual_engine(struct intel_gt *gt, struct intel_engine_cs **siblings, unsigned int nsibling, unsigned int nctx, unsigned int flags) argument [all...] |
/linux-master/crypto/ |
H A D | ahash.c | 656 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); local 665 *nctx = shash;
|
H A D | cryptd.c | 452 struct cryptd_hash_ctx *nctx = crypto_ahash_ctx(ntfm); local 460 nctx->child = hash;
|
/linux-master/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-mt9m114.c | 710 dev->nctx = 0x00; /* Set for context A */ 716 dev->nctx = 0x01; /* set for context B */
|
H A D | mt9m114.h | 255 int nctx; member in struct:mt9m114_device
|