Home
last modified time | relevance | path

Searched refs:gctx (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/arch/x86/crypto/
Dglue_helper.c35 static int __glue_ecb_crypt_128bit(const struct common_glue_ctx *gctx, in __glue_ecb_crypt_128bit() argument
51 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in __glue_ecb_crypt_128bit()
54 for (i = 0; i < gctx->num_funcs; i++) { in __glue_ecb_crypt_128bit()
55 func_bytes = bsize * gctx->funcs[i].num_blocks; in __glue_ecb_crypt_128bit()
60 gctx->funcs[i].fn_u.ecb(ctx, wdst, in __glue_ecb_crypt_128bit()
81 int glue_ecb_crypt_128bit(const struct common_glue_ctx *gctx, in glue_ecb_crypt_128bit() argument
88 return __glue_ecb_crypt_128bit(gctx, desc, &walk); in glue_ecb_crypt_128bit()
138 __glue_cbc_decrypt_128bit(const struct common_glue_ctx *gctx, in __glue_cbc_decrypt_128bit() argument
157 for (i = 0; i < gctx->num_funcs; i++) { in __glue_cbc_decrypt_128bit()
158 num_blocks = gctx->funcs[i].num_blocks; in __glue_cbc_decrypt_128bit()
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Datom.c181 struct atom_context *gctx = ctx->ctx; in atom_get_src_int() local
190 idx += gctx->reg_block; in atom_get_src_int()
191 switch (gctx->io_mode) { in atom_get_src_int()
193 val = gctx->card->reg_read(gctx->card, idx); in atom_get_src_int()
204 if (!(gctx->io_mode & 0x80)) { in atom_get_src_int()
208 if (!gctx->iio[gctx->io_mode & 0x7F]) { in atom_get_src_int()
211 gctx->io_mode & 0x7F); in atom_get_src_int()
215 atom_iio_execute(gctx, in atom_get_src_int()
216 gctx->iio[gctx->io_mode & 0x7F], in atom_get_src_int()
236 val = gctx->divmul[0]; in atom_get_src_int()
[all …]
/linux-4.1.27/arch/x86/include/asm/crypto/
Dglue_helper.h113 extern int glue_ecb_crypt_128bit(const struct common_glue_ctx *gctx,
124 extern int glue_cbc_decrypt_128bit(const struct common_glue_ctx *gctx,
130 extern int glue_ctr_crypt_128bit(const struct common_glue_ctx *gctx,
135 extern int glue_xts_crypt_128bit(const struct common_glue_ctx *gctx,
/linux-4.1.27/crypto/
Dgcm.c263 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_hash_len() local
267 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
293 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in __gcm_hash_final_done() local
298 gctx->complete(req, err); in __gcm_hash_final_done()
352 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in __gcm_hash_crypt_done() local
356 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_crypt_done()
377 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in __gcm_hash_assoc_remain_done() local
381 if (!err && gctx->cryptlen) { in __gcm_hash_assoc_remain_done()
382 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_assoc_remain_done()
386 gctx->src, gctx->cryptlen); in __gcm_hash_assoc_remain_done()
[all …]
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c591 gss_wrap_kerberos(struct gss_ctx *gctx, int offset, in gss_wrap_kerberos() argument
594 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_wrap_kerberos()
610 gss_unwrap_kerberos(struct gss_ctx *gctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos() argument
612 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_unwrap_kerberos()
/linux-4.1.27/kernel/events/
Dcore.c7918 struct perf_event_context *ctx, *uninitialized_var(gctx); in SYSCALL_DEFINE5()
8126 gctx = group_leader->ctx; in SYSCALL_DEFINE5()
8132 mutex_lock_double(&gctx->mutex, &ctx->mutex); in SYSCALL_DEFINE5()
8139 put_ctx(gctx); in SYSCALL_DEFINE5()
8192 mutex_unlock(&gctx->mutex); in SYSCALL_DEFINE5()
8193 put_ctx(gctx); in SYSCALL_DEFINE5()