/linux/drivers/media/rc/ |
A D | imon.c | 1366 ictx->last_keycode = ictx->kc; in imon_mouse_event() 1533 ictx->kc = ictx->last_keycode; in imon_parse_press_type() 1538 ictx->kc = ictx->last_keycode; in imon_parse_press_type() 1543 ictx->kc = ictx->last_keycode; in imon_parse_press_type() 1612 ictx->pad_mouse = !ictx->pad_mouse; in imon_incoming_packet() 1671 ictx->last_keycode = ictx->kc; in imon_incoming_packet() 2029 ictx->vendor, ictx->product); in imon_init_idev() 2078 ictx->vendor, ictx->product); in imon_init_touch() 2268 ictx->idev = imon_init_idev(ictx); in imon_init_intf0() 2274 ictx->rdev = imon_init_rdev(ictx); in imon_init_intf0() [all …]
|
/linux/fs/ntfs/ |
A D | index.h | 75 extern void ntfs_index_ctx_put(ntfs_index_context *ictx); 78 ntfs_index_context *ictx); 97 static inline void ntfs_index_entry_flush_dcache_page(ntfs_index_context *ictx) in ntfs_index_entry_flush_dcache_page() argument 99 if (ictx->is_in_root) in ntfs_index_entry_flush_dcache_page() 100 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page() 102 flush_dcache_page(ictx->page); in ntfs_index_entry_flush_dcache_page() 123 static inline void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx) in ntfs_index_entry_mark_dirty() argument 125 if (ictx->is_in_root) in ntfs_index_entry_mark_dirty() 126 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty() 128 mark_ntfs_record_dirty(ictx->page, in ntfs_index_entry_mark_dirty() [all …]
|
A D | index.c | 30 if (ictx) in ntfs_index_ctx_get() 32 return ictx; in ntfs_index_ctx_get() 45 if (ictx->entry) { in ntfs_index_ctx_put() 47 if (ictx->actx) in ntfs_index_ctx_put() 49 if (ictx->base_ni) in ntfs_index_ctx_put() 196 ictx->ir = ir; in ntfs_index_lookup() 197 ictx->actx = actx; in ntfs_index_lookup() 199 ictx->ia = NULL; in ntfs_index_lookup() 200 ictx->page = NULL; in ntfs_index_lookup() 202 ictx->entry = ie; in ntfs_index_lookup() [all …]
|
A D | quota.c | 25 ntfs_index_context *ictx; in ntfs_mark_quotas_out_of_date() local 38 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date() 39 if (!ictx) { in ntfs_mark_quotas_out_of_date() 43 err = ntfs_index_lookup(&qid, sizeof(qid), ictx); in ntfs_mark_quotas_out_of_date() 53 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date() 58 qce = (QUOTA_CONTROL_ENTRY*)ictx->data; in ntfs_mark_quotas_out_of_date() 83 ntfs_index_entry_flush_dcache_page(ictx); in ntfs_mark_quotas_out_of_date() 84 ntfs_index_entry_mark_dirty(ictx); in ntfs_mark_quotas_out_of_date() 86 ntfs_index_ctx_put(ictx); in ntfs_mark_quotas_out_of_date() 97 if (ictx) in ntfs_mark_quotas_out_of_date() [all …]
|
/linux/arch/s390/crypto/ |
A D | sha3_512_s390.c | 47 const struct sha3_state *ictx = in; in sha3_512_import() local 49 if (unlikely(ictx->rsizw)) in sha3_512_import() 51 sctx->count = ictx->rsiz; in sha3_512_import() 53 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_512_import() 54 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_512_import() 63 const struct sha3_state *ictx = in; in sha3_384_import() local 65 if (unlikely(ictx->rsizw)) in sha3_384_import() 67 sctx->count = ictx->rsiz; in sha3_384_import() 69 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_384_import() 70 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_384_import()
|
A D | sha3_256_s390.c | 46 const struct sha3_state *ictx = in; in sha3_256_import() local 48 sctx->count = ictx->rsiz; in sha3_256_import() 49 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_256_import() 50 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_256_import() 59 const struct sha3_state *ictx = in; in sha3_224_import() local 61 sctx->count = ictx->rsiz; in sha3_224_import() 62 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_224_import() 63 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_224_import()
|
A D | sha1_s390.c | 59 const struct sha1_state *ictx = in; in s390_sha1_import() local 61 sctx->count = ictx->count; in s390_sha1_import() 62 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in s390_sha1_import() 63 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); in s390_sha1_import()
|
A D | sha512_s390.c | 54 const struct sha512_state *ictx = in; in sha512_import() local 56 if (unlikely(ictx->count[1])) in sha512_import() 58 sctx->count = ictx->count[0]; in sha512_import() 60 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha512_import() 61 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha512_import()
|
A D | sha256_s390.c | 52 const struct sha256_state *ictx = in; in sha256_import() local 54 sctx->count = ictx->count; in sha256_import() 55 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha256_import() 56 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha256_import()
|
/linux/crypto/ |
A D | essiv.c | 307 err = essiv_init_tfm(ictx, tctx); in essiv_skcipher_init_tfm() 329 aead = crypto_spawn_aead(&ictx->u.aead_spawn); in essiv_aead_init_tfm() 340 err = essiv_init_tfm(ictx, tctx); in essiv_aead_init_tfm() 372 crypto_drop_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_free_instance() 380 crypto_drop_aead(&ictx->u.aead_spawn); in essiv_aead_free_instance() 447 struct essiv_instance_ctx *ictx; in essiv_create() local 475 sizeof(*ictx), GFP_KERNEL); in essiv_create() 480 ictx = crypto_instance_ctx(inst); in essiv_create() 494 sizeof(*ictx), GFP_KERNEL); in essiv_create() 499 ictx = crypto_instance_ctx(inst); in essiv_create() [all …]
|
A D | adiantum.c | 418 hash = crypto_spawn_shash(&ictx->hash_spawn); in adiantum_init_tfm() 462 crypto_drop_skcipher(&ictx->streamcipher_spawn); in adiantum_free_instance() 463 crypto_drop_cipher(&ictx->blockcipher_spawn); in adiantum_free_instance() 464 crypto_drop_shash(&ictx->hash_spawn); in adiantum_free_instance() 497 struct adiantum_instance_ctx *ictx; in adiantum_create() local 507 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in adiantum_create() 510 ictx = skcipher_instance_ctx(inst); in adiantum_create() 513 err = crypto_grab_skcipher(&ictx->streamcipher_spawn, in adiantum_create() 521 err = crypto_grab_cipher(&ictx->blockcipher_spawn, in adiantum_create() 532 err = crypto_grab_shash(&ictx->hash_spawn, in adiantum_create() [all …]
|
A D | authenc.c | 117 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in authenc_geniv_ahash_done() local 137 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_genicv() local 197 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_encrypt() local 202 ictx->reqoff); in crypto_authenc_encrypt() 235 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_decrypt_tail() local 239 ictx->reqoff); in crypto_authenc_decrypt_tail() 284 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_decrypt() local 310 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_init_tfm() local 317 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm() 321 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm() [all …]
|
A D | pcrypt.c | 101 struct pcrypt_instance_ctx *ictx; in pcrypt_aead_encrypt() local 103 ictx = pcrypt_tfm_ictx(aead); in pcrypt_aead_encrypt() 117 err = padata_do_parallel(ictx->psenc, padata, &ctx->cb_cpu); in pcrypt_aead_encrypt() 148 struct pcrypt_instance_ctx *ictx; in pcrypt_aead_decrypt() local 150 ictx = pcrypt_tfm_ictx(aead); in pcrypt_aead_decrypt() 164 err = padata_do_parallel(ictx->psdec, padata, &ctx->cb_cpu); in pcrypt_aead_decrypt() 175 struct pcrypt_instance_ctx *ictx = aead_instance_ctx(inst); in pcrypt_aead_init_tfm() local 179 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm() 186 cipher = crypto_spawn_aead(&ictx->spawn); in pcrypt_aead_init_tfm()
|
A D | ccm.c | 396 struct ccm_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_ccm_init_tfm() local 403 mac = crypto_spawn_ahash(&ictx->mac); in crypto_ccm_init_tfm() 407 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_ccm_init_tfm() 453 struct ccm_instance_ctx *ictx; in crypto_ccm_create_common() local 462 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in crypto_ccm_create_common() 465 ictx = aead_instance_ctx(inst); in crypto_ccm_create_common() 467 err = crypto_grab_ahash(&ictx->mac, aead_crypto_instance(inst), in crypto_ccm_create_common() 471 mac = crypto_spawn_ahash_alg(&ictx->mac); in crypto_ccm_create_common() 478 err = crypto_grab_skcipher(&ictx->ctr, aead_crypto_instance(inst), in crypto_ccm_create_common() 482 ctr = crypto_spawn_skcipher_alg(&ictx->ctr); in crypto_ccm_create_common()
|
A D | xts.c | 298 struct xts_instance_ctx *ictx = skcipher_instance_ctx(inst); in xts_init_tfm() local 303 child = crypto_spawn_skcipher(&ictx->spawn); in xts_init_tfm() 309 tweak = crypto_alloc_cipher(ictx->name, 0, 0); in xts_init_tfm() 333 struct xts_instance_ctx *ictx = skcipher_instance_ctx(inst); in xts_free_instance() local 335 crypto_drop_skcipher(&ictx->spawn); in xts_free_instance()
|
A D | rsa-pkcs1pad.c | 385 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_sign() local 386 const struct rsa_asn1_template *digest_info = ictx->digest_info; in pkcs1pad_sign() 442 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_verify_complete() local 443 const struct rsa_asn1_template *digest_info = ictx->digest_info; in pkcs1pad_verify_complete() 570 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_init_tfm() local 574 child_tfm = crypto_spawn_akcipher(&ictx->spawn); in pkcs1pad_init_tfm()
|
A D | cryptd.c | 190 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() local 191 return ictx->queue; in cryptd_get_queue() 338 struct skcipherd_instance_ctx *ictx = skcipher_instance_ctx(inst); in cryptd_skcipher_init_tfm() local 339 struct crypto_skcipher_spawn *spawn = &ictx->spawn; in cryptd_skcipher_init_tfm() 428 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_hash_init_tfm() local 429 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm() 791 struct aead_instance_ctx *ictx = aead_instance_ctx(inst); in cryptd_aead_init_tfm() local 792 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm()
|
A D | chacha20poly1305.c | 503 struct chachapoly_instance_ctx *ictx = aead_instance_ctx(inst); in chachapoly_init() local 509 poly = crypto_spawn_ahash(&ictx->poly); in chachapoly_init() 513 chacha = crypto_spawn_skcipher(&ictx->chacha); in chachapoly_init() 521 ctx->saltlen = ictx->saltlen; in chachapoly_init()
|
A D | authencesn.c | 325 struct authenc_esn_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_esn_init_tfm() local 332 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm() 336 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm()
|
A D | gcm.c | 524 struct gcm_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_gcm_init_tfm() local 531 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm() 535 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_gcm_init_tfm() 990 struct crypto_rfc4543_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_rfc4543_init_tfm() local 991 struct crypto_aead_spawn *spawn = &ictx->aead; in crypto_rfc4543_init_tfm()
|
/linux/drivers/dma/idxd/ |
A D | cdev.c | 29 static struct idxd_cdev_context ictx[IDXD_TYPE_MAX] = { variable 48 cdev_ctx = &ictx[wq->idxd->data->type]; in idxd_cdev_dev_release() 242 return MAJOR(ictx[idxd->data->type].devt); in idxd_cdev_get_major() 262 cdev_ctx = &ictx[wq->idxd->data->type]; in idxd_wq_add_cdev() 368 ida_init(&ictx[i].minor_ida); in idxd_cdev_register() 369 rc = alloc_chrdev_region(&ictx[i].devt, 0, MINORMASK, in idxd_cdev_register() 370 ictx[i].name); in idxd_cdev_register() 383 unregister_chrdev_region(ictx[i].devt, MINORMASK); in idxd_cdev_remove() 384 ida_destroy(&ictx[i].minor_ida); in idxd_cdev_remove()
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-hash.c | 88 const struct md5_state *ictx = in; in sun4i_hash_import_md5() local 93 op->byte_count = ictx->byte_count & ~0x3F; in sun4i_hash_import_md5() 94 op->len = ictx->byte_count & 0x3F; in sun4i_hash_import_md5() 96 memcpy(op->buf, ictx->block, op->len); in sun4i_hash_import_md5() 99 op->hash[i] = ictx->hash[i]; in sun4i_hash_import_md5() 131 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1() local 136 op->byte_count = ictx->count & ~0x3F; in sun4i_hash_import_sha1() 137 op->len = ictx->count & 0x3F; in sun4i_hash_import_sha1() 139 memcpy(op->buf, ictx->buffer, op->len); in sun4i_hash_import_sha1() 142 op->hash[i] = ictx->state[i]; in sun4i_hash_import_sha1()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | cnic.c | 1699 struct iscsi_context *ictx; in cnic_setup_bnx2x_ctx() local 1711 if (ictx == NULL) in cnic_setup_bnx2x_ctx() 1716 ictx->xstorm_ag_context.hq_prod = 1; in cnic_setup_bnx2x_ctx() 1761 ictx->xstorm_st_context.common.flags = in cnic_setup_bnx2x_ctx() 1763 ictx->xstorm_st_context.common.flags = in cnic_setup_bnx2x_ctx() 1774 ictx->tstorm_st_context.tcp.flags2 |= in cnic_setup_bnx2x_ctx() 1834 ictx->ustorm_st_context.negotiated_rx |= in cnic_setup_bnx2x_ctx() 1838 ictx->cstorm_st_context.hq_pbl_base.lo = in cnic_setup_bnx2x_ctx() 1850 ictx->cstorm_st_context.cq_db_base.lo = in cnic_setup_bnx2x_ctx() 1862 ictx->xstorm_ag_context.cdu_reserved = in cnic_setup_bnx2x_ctx() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | channel.c | 250 struct ath_chanctx *ictx; in ath_chanctx_check_active() local 278 ictx = ctx; in ath_chanctx_check_active() 305 ictx->flush_timeout = HZ / 5; in ath_chanctx_check_active() 311 ictx->flush_timeout = usecs_to_jiffies(sc->sched.channel_switch_time); in ath_chanctx_check_active()
|