Home
last modified time | relevance | path

Searched refs:ictx (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/drivers/media/rc/
Dimon.c357 static void free_imon_context(struct imon_context *ictx) in free_imon_context() argument
359 struct device *dev = ictx->dev; in free_imon_context()
361 usb_free_urb(ictx->tx_urb); in free_imon_context()
362 usb_free_urb(ictx->rx_urb_intf0); in free_imon_context()
363 usb_free_urb(ictx->rx_urb_intf1); in free_imon_context()
364 kfree(ictx); in free_imon_context()
376 struct imon_context *ictx = NULL; in display_open() local
390 ictx = usb_get_intfdata(interface); in display_open()
392 if (!ictx) { in display_open()
398 mutex_lock(&ictx->lock); in display_open()
[all …]
/linux-2.6.39/fs/ntfs/
Dindex.h89 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 …]
Dindex.c41 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 …]
Dquota.c39 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-2.6.39/arch/s390/crypto/
Dsha1_s390.c63 const struct sha1_state *ictx = in; in sha1_import() local
65 sctx->count = ictx->count; in sha1_import()
66 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha1_import()
67 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); in sha1_import()
Dsha256_s390.c59 const struct sha256_state *ictx = in; in sha256_import() local
61 sctx->count = ictx->count; in sha256_import()
62 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha256_import()
63 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha256_import()
Dsha512_s390.c58 const struct sha512_state *ictx = in; in sha512_import() local
60 if (unlikely(ictx->count[1])) in sha512_import()
62 sctx->count = ictx->count[0]; in sha512_import()
64 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha512_import()
65 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha512_import()
/linux-2.6.39/drivers/net/
Dcnic.c1576 struct iscsi_context *ictx; in cnic_setup_bnx2x_ctx() local
1586 ictx = cnic_get_bnx2x_ctx(dev, cid, 1, &context_addr); in cnic_setup_bnx2x_ctx()
1587 if (ictx == NULL) in cnic_setup_bnx2x_ctx()
1592 ictx->xstorm_ag_context.hq_prod = 1; in cnic_setup_bnx2x_ctx()
1594 ictx->xstorm_st_context.iscsi.first_burst_length = in cnic_setup_bnx2x_ctx()
1596 ictx->xstorm_st_context.iscsi.max_send_pdu_length = in cnic_setup_bnx2x_ctx()
1598 ictx->xstorm_st_context.iscsi.sq_pbl_base.lo = in cnic_setup_bnx2x_ctx()
1600 ictx->xstorm_st_context.iscsi.sq_pbl_base.hi = in cnic_setup_bnx2x_ctx()
1602 ictx->xstorm_st_context.iscsi.sq_curr_pbe.lo = req2->sq_first_pte.hi; in cnic_setup_bnx2x_ctx()
1603 ictx->xstorm_st_context.iscsi.sq_curr_pbe.hi = req2->sq_first_pte.lo; in cnic_setup_bnx2x_ctx()
[all …]
/linux-2.6.39/crypto/
Dccm.c434 struct ccm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_ccm_init_tfm() local
441 cipher = crypto_spawn_cipher(&ictx->cipher); in crypto_ccm_init_tfm()
445 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_ccm_init_tfm()
483 struct ccm_instance_ctx *ictx; in crypto_ccm_alloc_common() local
504 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in crypto_ccm_alloc_common()
509 ictx = crypto_instance_ctx(inst); in crypto_ccm_alloc_common()
511 err = crypto_init_spawn(&ictx->cipher, cipher, inst, in crypto_ccm_alloc_common()
516 crypto_set_skcipher_spawn(&ictx->ctr, inst); in crypto_ccm_alloc_common()
517 err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, in crypto_ccm_alloc_common()
523 ctr = crypto_skcipher_spawn_alg(&ictx->ctr); in crypto_ccm_alloc_common()
[all …]
Dcryptd.c162 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() local
163 return ictx->queue; in cryptd_get_queue()
257 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_blkcipher_init_tfm() local
258 struct crypto_spawn *spawn = &ictx->spawn; in cryptd_blkcipher_init_tfm()
372 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_hash_init_tfm() local
373 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm()
689 struct aead_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_aead_init_tfm() local
690 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm()
Dpcrypt.c277 struct pcrypt_instance_ctx *ictx = crypto_instance_ctx(inst); in pcrypt_aead_init_tfm() local
281 ictx->tfm_count++; in pcrypt_aead_init_tfm()
283 cpu_index = ictx->tfm_count % cpumask_weight(cpu_active_mask); in pcrypt_aead_init_tfm()
Dauthenc.c537 struct authenc_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_init_tfm() local
543 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm()
547 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm()
Dauthencesn.c660 struct authenc_esn_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_esn_init_tfm() local
666 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm()
670 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm()
Dgcm.c647 struct gcm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_gcm_init_tfm() local
654 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm()
658 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_gcm_init_tfm()