/Linux-v4.19/drivers/media/rc/ |
D | imon.c | 460 static void free_imon_context(struct imon_context *ictx) in free_imon_context() argument 462 struct device *dev = ictx->dev; in free_imon_context() 464 usb_free_urb(ictx->tx_urb); in free_imon_context() 465 usb_free_urb(ictx->rx_urb_intf0); in free_imon_context() 466 usb_free_urb(ictx->rx_urb_intf1); in free_imon_context() 467 kfree(ictx); in free_imon_context() 479 struct imon_context *ictx = NULL; in display_open() local 493 ictx = usb_get_intfdata(interface); in display_open() 495 if (!ictx) { in display_open() 501 mutex_lock(&ictx->lock); in display_open() [all …]
|
/Linux-v4.19/fs/ntfs/ |
D | index.h | 89 extern void ntfs_index_ctx_put(ntfs_index_context *ictx); 92 ntfs_index_context *ictx); 111 static inline void ntfs_index_entry_flush_dcache_page(ntfs_index_context *ictx) in ntfs_index_entry_flush_dcache_page() argument 113 if (ictx->is_in_root) in ntfs_index_entry_flush_dcache_page() 114 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page() 116 flush_dcache_page(ictx->page); in ntfs_index_entry_flush_dcache_page() 137 static inline void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx) in ntfs_index_entry_mark_dirty() argument 139 if (ictx->is_in_root) in ntfs_index_entry_mark_dirty() 140 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty() 142 mark_ntfs_record_dirty(ictx->page, in ntfs_index_entry_mark_dirty() [all …]
|
D | index.c | 41 ntfs_index_context *ictx; in ntfs_index_ctx_get() local 43 ictx = kmem_cache_alloc(ntfs_index_ctx_cache, GFP_NOFS); in ntfs_index_ctx_get() 44 if (ictx) in ntfs_index_ctx_get() 45 *ictx = (ntfs_index_context){ .idx_ni = idx_ni }; in ntfs_index_ctx_get() 46 return ictx; in ntfs_index_ctx_get() 57 void ntfs_index_ctx_put(ntfs_index_context *ictx) in ntfs_index_ctx_put() argument 59 if (ictx->entry) { in ntfs_index_ctx_put() 60 if (ictx->is_in_root) { in ntfs_index_ctx_put() 61 if (ictx->actx) in ntfs_index_ctx_put() 62 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put() [all …]
|
D | quota.c | 39 ntfs_index_context *ictx; in ntfs_mark_quotas_out_of_date() local 52 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date() 53 if (!ictx) { in ntfs_mark_quotas_out_of_date() 57 err = ntfs_index_lookup(&qid, sizeof(qid), ictx); in ntfs_mark_quotas_out_of_date() 67 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date() 72 qce = (QUOTA_CONTROL_ENTRY*)ictx->data; in ntfs_mark_quotas_out_of_date() 97 ntfs_index_entry_flush_dcache_page(ictx); in ntfs_mark_quotas_out_of_date() 98 ntfs_index_entry_mark_dirty(ictx); in ntfs_mark_quotas_out_of_date() 100 ntfs_index_ctx_put(ictx); in ntfs_mark_quotas_out_of_date() 111 if (ictx) in ntfs_mark_quotas_out_of_date() [all …]
|
/Linux-v4.19/arch/s390/crypto/ |
D | sha1_s390.c | 59 const struct sha1_state *ictx = in; in sha1_import() local 61 sctx->count = ictx->count; in sha1_import() 62 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha1_import() 63 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); in sha1_import()
|
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()
|
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-v4.19/crypto/ |
D | authenc.c | 124 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in authenc_geniv_ahash_done() local 126 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done() 144 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_genicv() local 147 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv() 204 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_encrypt() local 209 ictx->reqoff); in crypto_authenc_encrypt() 242 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_decrypt_tail() local 244 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail() 246 ictx->reqoff); in crypto_authenc_decrypt_tail() 291 struct authenc_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_decrypt() local [all …]
|
D | ccm.c | 406 struct ccm_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_ccm_init_tfm() local 413 mac = crypto_spawn_ahash(&ictx->mac); in crypto_ccm_init_tfm() 417 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_ccm_init_tfm() 467 struct ccm_instance_ctx *ictx; in crypto_ccm_create_common() local 489 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in crypto_ccm_create_common() 494 ictx = aead_instance_ctx(inst); in crypto_ccm_create_common() 495 err = crypto_init_ahash_spawn(&ictx->mac, mac, in crypto_ccm_create_common() 500 crypto_set_skcipher_spawn(&ictx->ctr, aead_crypto_instance(inst)); in crypto_ccm_create_common() 501 err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, in crypto_ccm_create_common() 507 ctr = crypto_spawn_skcipher_alg(&ictx->ctr); in crypto_ccm_create_common() [all …]
|
D | rsa-pkcs1pad.c | 396 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_sign() local 397 const struct rsa_asn1_template *digest_info = ictx->digest_info; in pkcs1pad_sign() 451 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_verify_complete() local 452 const struct rsa_asn1_template *digest_info = ictx->digest_info; in pkcs1pad_verify_complete() 567 struct pkcs1pad_inst_ctx *ictx = akcipher_instance_ctx(inst); in pkcs1pad_init_tfm() local 571 child_tfm = crypto_spawn_akcipher(&ictx->spawn); in pkcs1pad_init_tfm()
|
D | cryptd.c | 202 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() local 203 return ictx->queue; in cryptd_get_queue() 320 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_blkcipher_init_tfm() local 321 struct crypto_spawn *spawn = &ictx->spawn; in cryptd_blkcipher_init_tfm() 562 struct skcipherd_instance_ctx *ictx = skcipher_instance_ctx(inst); in cryptd_skcipher_init_tfm() local 563 struct crypto_skcipher_spawn *spawn = &ictx->spawn; in cryptd_skcipher_init_tfm() 661 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_hash_init_tfm() local 662 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm() 1028 struct aead_instance_ctx *ictx = aead_instance_ctx(inst); in cryptd_aead_init_tfm() local 1029 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm()
|
D | mcryptd.c | 216 struct mcryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_get_queue() local 218 return ictx->queue; in mcryptd_get_queue() 275 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_hash_init_tfm() local 276 struct crypto_ahash_spawn *spawn = &ictx->spawn; in mcryptd_hash_init_tfm()
|
D | pcrypt.c | 226 struct pcrypt_instance_ctx *ictx = aead_instance_ctx(inst); in pcrypt_aead_init_tfm() local 230 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm() 237 cipher = crypto_spawn_aead(&ictx->spawn); in pcrypt_aead_init_tfm()
|
D | xts.c | 363 struct xts_instance_ctx *ictx = skcipher_instance_ctx(inst); in init_tfm() local 368 child = crypto_spawn_skcipher(&ictx->spawn); in init_tfm() 374 tweak = crypto_alloc_cipher(ictx->name, 0, 0); in init_tfm()
|
D | authencesn.c | 340 struct authenc_esn_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_authenc_esn_init_tfm() local 347 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm() 351 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm()
|
D | chacha20poly1305.c | 525 struct chachapoly_instance_ctx *ictx = aead_instance_ctx(inst); in chachapoly_init() local 531 poly = crypto_spawn_ahash(&ictx->poly); in chachapoly_init() 535 chacha = crypto_spawn_skcipher(&ictx->chacha); in chachapoly_init() 543 ctx->saltlen = ictx->saltlen; in chachapoly_init()
|
D | gcm.c | 546 struct gcm_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_gcm_init_tfm() local 553 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm() 557 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_gcm_init_tfm() 1092 struct crypto_rfc4543_instance_ctx *ictx = aead_instance_ctx(inst); in crypto_rfc4543_init_tfm() local 1093 struct crypto_aead_spawn *spawn = &ictx->aead; in crypto_rfc4543_init_tfm()
|
/Linux-v4.19/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 79 const struct md5_state *ictx = in; in sun4i_hash_import_md5() local 84 op->byte_count = ictx->byte_count & ~0x3F; in sun4i_hash_import_md5() 85 op->len = ictx->byte_count & 0x3F; in sun4i_hash_import_md5() 87 memcpy(op->buf, ictx->block, op->len); in sun4i_hash_import_md5() 90 op->hash[i] = ictx->hash[i]; in sun4i_hash_import_md5() 122 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1() local 127 op->byte_count = ictx->count & ~0x3F; in sun4i_hash_import_sha1() 128 op->len = ictx->count & 0x3F; in sun4i_hash_import_sha1() 130 memcpy(op->buf, ictx->buffer, op->len); in sun4i_hash_import_sha1() 133 op->hash[i] = ictx->state[i]; in sun4i_hash_import_sha1()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1699 struct iscsi_context *ictx; in cnic_setup_bnx2x_ctx() local 1710 ictx = cnic_get_bnx2x_ctx(dev, cid, 1, &context_addr); in cnic_setup_bnx2x_ctx() 1711 if (ictx == NULL) in cnic_setup_bnx2x_ctx() 1716 ictx->xstorm_ag_context.hq_prod = 1; in cnic_setup_bnx2x_ctx() 1718 ictx->xstorm_st_context.iscsi.first_burst_length = in cnic_setup_bnx2x_ctx() 1720 ictx->xstorm_st_context.iscsi.max_send_pdu_length = in cnic_setup_bnx2x_ctx() 1722 ictx->xstorm_st_context.iscsi.sq_pbl_base.lo = in cnic_setup_bnx2x_ctx() 1724 ictx->xstorm_st_context.iscsi.sq_pbl_base.hi = in cnic_setup_bnx2x_ctx() 1726 ictx->xstorm_st_context.iscsi.sq_curr_pbe.lo = req2->sq_first_pte.hi; in cnic_setup_bnx2x_ctx() 1727 ictx->xstorm_st_context.iscsi.sq_curr_pbe.hi = req2->sq_first_pte.lo; in cnic_setup_bnx2x_ctx() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
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()
|