Home
last modified time | relevance | path

Searched refs:ctx (Results 701 - 725 of 12581) sorted by relevance

1...<<21222324252627282930>>...504

/kernel/linux/linux-6.6/sound/soc/au1x/
H A Dac97c.c72 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD() argument
74 return __raw_readl(ctx->mmio + reg); in RD()
77 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() argument
79 __raw_writel(v, ctx->mmio + reg); in WR()
86 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_read() local
93 mutex_lock(&ctx->lock); in au1xac97c_ac97_read()
96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
103 WR(ctx, AC97_CMDRESP, CMD_IDX(r) | CMD_READ); in au1xac97c_ac97_read()
109 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
111 data = RD(ctx, AC97_CMDRES in au1xac97c_ac97_read()
128 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_write() local
157 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_warm_reset() local
167 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_cold_reset() local
193 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); alchemy_ac97c_startup() local
234 struct au1xpsc_audio_data *ctx; au1xac97c_drvprobe() local
290 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); au1xac97c_drvremove() local
302 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); au1xac97c_drvsuspend() local
311 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); au1xac97c_drvresume() local
[all...]
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_context.c54 struct dri_context *ctx = NULL; in dri_create_context() local
147 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
148 if (ctx == NULL) { in dri_create_context()
153 cPriv->driverPrivate = ctx; in dri_create_context()
154 ctx->cPriv = cPriv; in dri_create_context()
155 ctx->sPriv = sPriv; in dri_create_context()
169 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, in dri_create_context()
171 if (ctx->st == NULL) { in dri_create_context()
197 ctx->st->st_manager_private = (void *) ctx; in dri_create_context()
239 struct dri_context *ctx = dri_context(cPriv); dri_destroy_context() local
264 struct dri_context *ctx = dri_context(cPriv); dri_unbind_context() local
290 struct dri_context *ctx = dri_context(cPriv); dri_make_current() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dshared.c51 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared);
63 _mesa_alloc_shared_state(struct gl_context *ctx) in _mesa_alloc_shared_state() argument
80 ctx->Driver.NewProgram(ctx, MESA_SHADER_VERTEX, 0, true); in _mesa_alloc_shared_state()
82 ctx->Driver.NewProgram(ctx, MESA_SHADER_FRAGMENT, 0, true); in _mesa_alloc_shared_state()
85 shared->DefaultFragmentShader = _mesa_new_ati_fragment_shader(ctx, 0); in _mesa_alloc_shared_state()
121 shared->DefaultTex[i] = _mesa_new_texture_object(ctx, 0, targets[i]); in _mesa_alloc_shared_state()
156 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb() local
157 _mesa_delete_list(ctx, lis in delete_displaylist_cb()
168 struct gl_context *ctx = (struct gl_context *) userData; delete_bitmap_atlas_cb() local
180 struct gl_context *ctx = (struct gl_context *) userData; delete_texture_cb() local
192 struct gl_context *ctx = (struct gl_context *) userData; delete_program_cb() local
209 struct gl_context *ctx = (struct gl_context *) userData; delete_fragshader_cb() local
221 struct gl_context *ctx = (struct gl_context *) userData; delete_bufferobj_cb() local
235 struct gl_context *ctx = (struct gl_context *) userData; free_shader_program_data_cb() local
251 struct gl_context *ctx = (struct gl_context *) userData; delete_shader_cb() local
291 struct gl_context *ctx = (struct gl_context *) userData; delete_renderbuffer_cb() local
305 struct gl_context *ctx = (struct gl_context *) userData; delete_sampler_object_cb() local
317 struct gl_context *ctx = (struct gl_context *) userData; delete_memory_object_cb() local
328 struct gl_context *ctx = (struct gl_context *) userData; delete_semaphore_object_cb() local
345 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared) free_shared_state() argument
475 _mesa_reference_shared_state(struct gl_context *ctx, struct gl_shared_state **ptr, struct gl_shared_state *state) _mesa_reference_shared_state() argument
[all...]
H A Dget.c709 * \param ctx the current context
714 find_custom_value(struct gl_context *ctx, const struct value_desc *d, union value *v) in find_custom_value() argument
722 v->value_int = ctx->Version / 10; in find_custom_value()
725 v->value_int = ctx->Version % 10; in find_custom_value()
740 v->value_int = ctx->Line.StipplePattern; in find_custom_value()
744 unit = ctx->Texture.CurrentUnit; in find_custom_value()
745 v->value_float_4[0] = ctx->Current.RasterTexCoords[unit][0]; in find_custom_value()
746 v->value_float_4[1] = ctx->Current.RasterTexCoords[unit][1]; in find_custom_value()
747 v->value_float_4[2] = ctx->Current.RasterTexCoords[unit][2]; in find_custom_value()
748 v->value_float_4[3] = ctx in find_custom_value()
1390 check_extra(struct gl_context *ctx, const char *func, const struct value_desc *d) check_extra() argument
2459 tex_binding_to_index(const struct gl_context *ctx, GLenum binding) tex_binding_to_index() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
H A Dscheduler.c397 static void ASSERTED verify_ready_list(sched_ctx *ctx) in verify_ready_list() argument
399 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in verify_ready_list()
421 static void schedule_insert_ready_list(sched_ctx *ctx, in schedule_insert_ready_list() argument
450 struct list_head *insert_pos = &ctx->ready_list; in schedule_insert_ready_list()
451 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in schedule_insert_ready_list()
462 ctx->ready_list_slots += gpir_get_slots_required(insert_node); in schedule_insert_ready_list()
524 static bool _try_place_node(sched_ctx *ctx, gpir_instr *instr, gpir_node *node) in _try_place_node() argument
570 if (ctx->instr->non_cplx_slot_difference || in _try_place_node()
571 ctx->instr->slot_difference) { in _try_place_node()
578 if (ctx in _try_place_node()
604 schedule_try_place_node(sched_ctx *ctx, gpir_node *node, bool speculative) schedule_try_place_node() argument
655 create_replacement(sched_ctx *ctx, gpir_node *node, gpir_op op) create_replacement() argument
685 create_move(sched_ctx *ctx, gpir_node *node) create_move() argument
692 create_postlog2(sched_ctx *ctx, gpir_node *node) create_postlog2() argument
722 _schedule_try_node(sched_ctx *ctx, gpir_node *node, bool speculative) _schedule_try_node() argument
779 schedule_undo_node(sched_ctx *ctx, gpir_node *node) schedule_undo_node() argument
796 schedule_try_node(sched_ctx *ctx, gpir_node *node, bool speculative) schedule_try_node() argument
824 get_available_regs(sched_ctx *ctx, gpir_node *node, int *min_index) get_available_regs() argument
884 get_killed_regs(sched_ctx *ctx, int min_index) get_killed_regs() argument
913 spill_node(sched_ctx *ctx, gpir_node *node, gpir_store_node *store) spill_node() argument
995 try_spill_node(sched_ctx *ctx, gpir_node *node) try_spill_node() argument
1074 try_spill_nodes(sched_ctx *ctx, gpir_node *orig_node) try_spill_nodes() argument
1126 gpir_get_curr_ready_list_slots(sched_ctx *ctx) gpir_get_curr_ready_list_slots() argument
1226 sched_find_max_nodes(sched_ctx *ctx) sched_find_max_nodes() argument
1251 verify_max_nodes(sched_ctx *ctx) verify_max_nodes() argument
1288 try_node(sched_ctx *ctx) try_node() argument
1343 place_move(sched_ctx *ctx, gpir_node *node) place_move() argument
1376 can_place_move(sched_ctx *ctx, gpir_node *node) can_place_move() argument
1390 sched_move(sched_ctx *ctx) sched_move() argument
1502 gpir_sched_instr_pass(sched_ctx *ctx) gpir_sched_instr_pass() argument
1513 schedule_print_pre_one_instr(sched_ctx *ctx) schedule_print_pre_one_instr() argument
1552 schedule_one_instr(sched_ctx *ctx) schedule_one_instr() argument
1583 sched_ctx ctx; schedule_block() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc.c49 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() argument
51 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit()
54 __clear_bit(ctx->num, &dev->ctx_work_bits); in clear_work_bit()
59 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() argument
61 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit()
64 __set_bit(ctx->num, &dev->ctx_work_bits); in set_work_bit()
69 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() argument
71 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave()
75 __clear_bit(ctx->num, &dev->ctx_work_bits); in clear_work_bit_irqsave()
80 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() argument
93 int ctx; s5p_mfc_get_new_ctx() local
111 wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) wake_up_ctx() argument
167 struct s5p_mfc_ctx *ctx; s5p_mfc_watchdog_worker() local
219 s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_frame_all_extracted() argument
250 s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_frame_copy_time() argument
302 s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) s5p_mfc_handle_frame_new() argument
359 s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_frame() argument
465 s5p_mfc_handle_error(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_error() argument
503 s5p_mfc_handle_seq_done(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_seq_done() argument
559 s5p_mfc_handle_init_buffers(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_init_buffers() argument
602 s5p_mfc_handle_stream_complete(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_stream_complete() argument
633 struct s5p_mfc_ctx *ctx; s5p_mfc_irq() local
755 struct s5p_mfc_ctx *ctx = NULL; s5p_mfc_open() local
937 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_release() local
994 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_poll() local
1045 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_mmap() local
1429 struct s5p_mfc_ctx *ctx; s5p_mfc_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c49 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() argument
51 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit()
54 __clear_bit(ctx->num, &dev->ctx_work_bits); in clear_work_bit()
59 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() argument
61 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit()
64 __set_bit(ctx->num, &dev->ctx_work_bits); in set_work_bit()
69 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() argument
71 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave()
75 __clear_bit(ctx->num, &dev->ctx_work_bits); in clear_work_bit_irqsave()
80 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() argument
93 int ctx; s5p_mfc_get_new_ctx() local
111 wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) wake_up_ctx() argument
169 struct s5p_mfc_ctx *ctx; s5p_mfc_watchdog_worker() local
225 s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_frame_all_extracted() argument
256 s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_frame_copy_time() argument
312 s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) s5p_mfc_handle_frame_new() argument
371 s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_frame() argument
477 s5p_mfc_handle_error(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_error() argument
517 s5p_mfc_handle_seq_done(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_seq_done() argument
574 s5p_mfc_handle_init_buffers(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) s5p_mfc_handle_init_buffers() argument
617 s5p_mfc_handle_stream_complete(struct s5p_mfc_ctx *ctx) s5p_mfc_handle_stream_complete() argument
648 struct s5p_mfc_ctx *ctx; s5p_mfc_irq() local
770 struct s5p_mfc_ctx *ctx = NULL; s5p_mfc_open() local
952 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_release() local
1009 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_poll() local
1060 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); s5p_mfc_mmap() local
1437 struct s5p_mfc_ctx *ctx; s5p_mfc_remove() local
[all...]
/third_party/rust/crates/bindgen/bindgen/ir/
H A Ditem.rs43 fn canonical_name(&self, ctx: &BindgenContext) -> String; in canonical_name()
64 ctx: &BindgenContext, in namespace_aware_canonical_path()
68 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String>; in canonical_path()
78 /// May only be called when `ctx` is in the codegen phase.
79 fn is_opaque(&self, ctx: &BindgenContext, extra: &Self::Extra) -> bool; in is_opaque()
85 fn has_type_param_in_array(&self, ctx: &BindgenContext) -> bool; in has_type_param_in_array()
91 fn has_float(&self, ctx: &BindgenContext) -> bool; in has_float()
98 fn ancestors<'a>(&self, ctx: &'a BindgenContext) -> ItemAncestorsIter<'a>; in ancestors()
123 ctx: &'a BindgenContext,
128 fn new<Id: Into<ItemId>>(ctx
[all...]
/kernel/linux/linux-6.6/drivers/char/hw_random/
H A Dxgene-rng.c91 struct xgene_rng_dev *ctx = from_timer(ctx, t, failure_timer); in xgene_rng_expired_timer() local
94 disable_irq(ctx->irq); in xgene_rng_expired_timer()
95 ctx->failure_cnt = 0; in xgene_rng_expired_timer()
96 del_timer(&ctx->failure_timer); in xgene_rng_expired_timer()
97 enable_irq(ctx->irq); in xgene_rng_expired_timer()
100 static void xgene_rng_start_timer(struct xgene_rng_dev *ctx) in xgene_rng_start_timer() argument
102 ctx->failure_timer.expires = jiffies + 120 * HZ; in xgene_rng_start_timer()
103 add_timer(&ctx->failure_timer); in xgene_rng_start_timer()
109 static void xgene_rng_init_fro(struct xgene_rng_dev *ctx, u3 argument
117 xgene_rng_chk_overflow(struct xgene_rng_dev *ctx) xgene_rng_chk_overflow() argument
202 struct xgene_rng_dev *ctx = id; xgene_rng_irq_handler() local
212 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; xgene_rng_data_present() local
227 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; xgene_rng_data_read() local
239 xgene_rng_init_internal(struct xgene_rng_dev *ctx) xgene_rng_init_internal() argument
276 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; xgene_rng_init() local
315 struct xgene_rng_dev *ctx; xgene_rng_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6d7aa0.c37 int (*init_func)(struct s6d7aa0 *ctx);
38 int (*off_func)(struct s6d7aa0 *ctx);
57 static void s6d7aa0_reset(struct s6d7aa0 *ctx) in s6d7aa0_reset() argument
59 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6d7aa0_reset()
61 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6d7aa0_reset()
65 static int s6d7aa0_lock(struct s6d7aa0 *ctx, bool lock) in s6d7aa0_lock() argument
67 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_lock()
72 if (ctx->desc->use_passwd3) in s6d7aa0_lock()
77 if (ctx->desc->use_passwd3) in s6d7aa0_lock()
84 static int s6d7aa0_on(struct s6d7aa0 *ctx) in s6d7aa0_on() argument
106 s6d7aa0_off(struct s6d7aa0 *ctx) s6d7aa0_off() argument
137 struct s6d7aa0 *ctx = panel_to_s6d7aa0(panel); s6d7aa0_prepare() local
161 struct s6d7aa0 *ctx = panel_to_s6d7aa0(panel); s6d7aa0_disable() local
174 struct s6d7aa0 *ctx = panel_to_s6d7aa0(panel); s6d7aa0_unprepare() local
231 s6d7aa0_lsl080al02_init(struct s6d7aa0 *ctx) s6d7aa0_lsl080al02_init() argument
282 s6d7aa0_lsl080al02_off(struct s6d7aa0 *ctx) s6d7aa0_lsl080al02_off() argument
320 s6d7aa0_lsl080al03_init(struct s6d7aa0 *ctx) s6d7aa0_lsl080al03_init() argument
386 s6d7aa0_lsl080al03_off(struct s6d7aa0 *ctx) s6d7aa0_lsl080al03_off() argument
453 struct s6d7aa0 *ctx; s6d7aa0_get_modes() local
484 struct s6d7aa0 *ctx; s6d7aa0_probe() local
545 struct s6d7aa0 *ctx = mipi_dsi_get_drvdata(dsi); s6d7aa0_remove() local
[all...]
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c297 gss_krb5_import_ctx_v2(struct krb5_ctx *ctx, gfp_t gfp_mask) in gss_krb5_import_ctx_v2() argument
300 .len = ctx->gk5e->keylength, in gss_krb5_import_ctx_v2()
301 .data = ctx->Ksess, in gss_krb5_import_ctx_v2()
311 keyout.len = ctx->gk5e->Ke_length; in gss_krb5_import_ctx_v2()
312 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_INITIATOR_SEAL, in gss_krb5_import_ctx_v2()
315 ctx->initiator_enc = gss_krb5_alloc_cipher_v2(ctx->gk5e->encrypt_name, in gss_krb5_import_ctx_v2()
317 if (ctx->initiator_enc == NULL) in gss_krb5_import_ctx_v2()
319 if (ctx->gk5e->aux_cipher) { in gss_krb5_import_ctx_v2()
320 ctx in gss_krb5_import_ctx_v2()
395 gss_import_v2_context(const void *p, const void *end, struct krb5_ctx *ctx, gfp_t gfp_mask) gss_import_v2_context() argument
473 struct krb5_ctx *ctx; gss_krb5_import_sec_context() local
[all...]
/third_party/libcoap/tests/
H A Dtest_sendqueue.c17 static coap_context_t *ctx; /* Holds the coap context for most tests */ variable
44 int result = coap_insert_node(&ctx->sendqueue, node[1]); in t_sendqueue1()
47 CU_ASSERT_PTR_NOT_NULL(ctx->sendqueue); in t_sendqueue1()
48 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue1()
56 result = coap_insert_node(&ctx->sendqueue, node[2]); in t_sendqueue2()
59 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue2()
60 CU_ASSERT_PTR_EQUAL(ctx->sendqueue->next, node[2]); in t_sendqueue2()
62 CU_ASSERT(ctx->sendqueue->t == timestamp[1]); in t_sendqueue2()
70 result = coap_insert_node(&ctx->sendqueue, node[3]); in t_sendqueue3()
74 CU_ASSERT_PTR_EQUAL(ctx in t_sendqueue3()
[all...]
/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dsiv128.c89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p() argument
97 mac_ctx = EVP_MAC_CTX_dup(ctx->mac_ctx_init); in siv128_do_s2v_p()
105 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p()
112 siv128_dbl(&ctx->d); in siv128_do_s2v_p()
113 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p()
129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt() argument
135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()
137 return EVP_EncryptUpdate(ctx, out, &out_len, in, out_len); in siv128_do_encrypt()
147 SIV128_CONTEXT *ctx; in ossl_siv128_new() local
150 if ((ctx in ossl_siv128_new()
163 ossl_siv128_init(SIV128_CONTEXT *ctx, const unsigned char *key, int klen, const EVP_CIPHER *cbc, const EVP_CIPHER *ctr, OSSL_LIB_CTX *libctx, const char *propq) ossl_siv128_init() argument
246 ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, size_t len) ossl_siv128_aad() argument
273 ossl_siv128_encrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_encrypt() argument
300 ossl_siv128_decrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_decrypt() argument
336 ossl_siv128_finish(SIV128_CONTEXT *ctx) ossl_siv128_finish() argument
344 ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) ossl_siv128_set_tag() argument
357 ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) ossl_siv128_get_tag() argument
370 ossl_siv128_cleanup(SIV128_CONTEXT *ctx) ossl_siv128_cleanup() argument
387 ossl_siv128_speed(SIV128_CONTEXT *ctx, int arg) ossl_siv128_speed() argument
[all...]
/third_party/openssl/crypto/modes/
H A Dsiv128.c89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p() argument
97 mac_ctx = EVP_MAC_CTX_dup(ctx->mac_ctx_init); in siv128_do_s2v_p()
105 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p()
112 siv128_dbl(&ctx->d); in siv128_do_s2v_p()
113 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p()
129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt() argument
135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()
137 return EVP_EncryptUpdate(ctx, out, &out_len, in, out_len); in siv128_do_encrypt()
147 SIV128_CONTEXT *ctx; in ossl_siv128_new() local
150 if ((ctx in ossl_siv128_new()
163 ossl_siv128_init(SIV128_CONTEXT *ctx, const unsigned char *key, int klen, const EVP_CIPHER *cbc, const EVP_CIPHER *ctr, OSSL_LIB_CTX *libctx, const char *propq) ossl_siv128_init() argument
246 ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, size_t len) ossl_siv128_aad() argument
273 ossl_siv128_encrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_encrypt() argument
300 ossl_siv128_decrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_decrypt() argument
336 ossl_siv128_finish(SIV128_CONTEXT *ctx) ossl_siv128_finish() argument
344 ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) ossl_siv128_set_tag() argument
357 ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) ossl_siv128_get_tag() argument
370 ossl_siv128_cleanup(SIV128_CONTEXT *ctx) ossl_siv128_cleanup() argument
387 ossl_siv128_speed(SIV128_CONTEXT *ctx, int arg) ossl_siv128_speed() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_nettle.c31 struct des_ctx ctx; in des_encrypt() local
44 nettle_des_set_key(&ctx, pkey); in des_encrypt()
45 nettle_des_encrypt(&ctx, DES_BLOCK_SIZE, cypher, clear); in des_encrypt()
46 os_memset(&ctx, 0, sizeof(ctx)); in des_encrypt()
54 void *ctx; in nettle_digest_vector() local
60 ctx = os_malloc(alg->context_size); in nettle_digest_vector()
61 if (!ctx) in nettle_digest_vector()
63 alg->init(ctx); in nettle_digest_vector()
65 alg->update(ctx, le in nettle_digest_vector()
111 struct hmac_md5_ctx ctx; hmac_md5_vector() local
136 struct hmac_sha1_ctx ctx; hmac_sha1_vector() local
163 struct hmac_sha256_ctx ctx; hmac_sha256_vector() local
192 struct hmac_sha384_ctx ctx; hmac_sha384_vector() local
221 struct hmac_sha512_ctx ctx; hmac_sha512_vector() local
247 struct aes_ctx *ctx; aes_encrypt_init() local
261 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) aes_encrypt() argument
269 aes_encrypt_deinit(void *ctx) aes_encrypt_deinit() argument
278 struct aes_ctx *ctx; aes_decrypt_init() local
292 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) aes_decrypt() argument
300 aes_decrypt_deinit(void *ctx) aes_decrypt_deinit() argument
415 struct crypto_cipher *ctx; crypto_cipher_init() local
436 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument
451 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument
466 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_nettle.c31 struct des_ctx ctx; in des_encrypt() local
44 nettle_des_set_key(&ctx, pkey); in des_encrypt()
45 nettle_des_encrypt(&ctx, DES_BLOCK_SIZE, cypher, clear); in des_encrypt()
46 os_memset(&ctx, 0, sizeof(ctx)); in des_encrypt()
54 void *ctx; in nettle_digest_vector() local
60 ctx = os_malloc(alg->context_size); in nettle_digest_vector()
61 if (!ctx) in nettle_digest_vector()
63 alg->init(ctx); in nettle_digest_vector()
65 alg->update(ctx, le in nettle_digest_vector()
111 struct hmac_md5_ctx ctx; hmac_md5_vector() local
136 struct hmac_sha1_ctx ctx; hmac_sha1_vector() local
163 struct hmac_sha256_ctx ctx; hmac_sha256_vector() local
192 struct hmac_sha384_ctx ctx; hmac_sha384_vector() local
221 struct hmac_sha512_ctx ctx; hmac_sha512_vector() local
247 struct aes_ctx *ctx; aes_encrypt_init() local
261 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) aes_encrypt() argument
269 aes_encrypt_deinit(void *ctx) aes_encrypt_deinit() argument
278 struct aes_ctx *ctx; aes_decrypt_init() local
292 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) aes_decrypt() argument
300 aes_decrypt_deinit(void *ctx) aes_decrypt_deinit() argument
415 struct crypto_cipher *ctx; crypto_cipher_init() local
436 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument
451 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument
466 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c69 static struct ipu_csc_scaler_q_data *get_q_data(struct ipu_csc_scaler_ctx *ctx, in get_q_data() argument
73 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
75 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
84 struct ipu_csc_scaler_ctx *ctx = _ctx; in job_abort() local
86 if (ctx->icc) in job_abort()
87 ipu_image_convert_abort(ctx->icc); in job_abort()
92 struct ipu_csc_scaler_ctx *ctx = _ctx; in ipu_ic_pp_complete() local
93 struct ipu_csc_scaler_priv *priv = ctx->priv; in ipu_ic_pp_complete()
96 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete()
97 dst_buf = v4l2_m2m_dst_buf_remove(ctx in ipu_ic_pp_complete()
115 struct ipu_csc_scaler_ctx *ctx = _ctx; device_run() local
182 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_g_fmt() local
195 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_try_fmt() local
244 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_s_fmt() local
299 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_g_selection() local
337 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_s_selection() local
424 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); ipu_csc_scaler_queue_setup() local
450 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); ipu_csc_scaler_buf_prepare() local
483 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); ipu_csc_scaler_buf_queue() local
505 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); ipu_csc_scaler_start_streaming() local
552 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); ipu_csc_scaler_stop_streaming() local
584 struct ipu_csc_scaler_ctx *ctx = priv; ipu_csc_scaler_queue_init() local
618 struct ipu_csc_scaler_ctx *ctx = container_of(ctrl->handler, ipu_csc_scaler_s_ctrl() local
709 ipu_csc_scaler_init_controls(struct ipu_csc_scaler_ctx *ctx) ipu_csc_scaler_init_controls() argument
755 struct ipu_csc_scaler_ctx *ctx = NULL; ipu_csc_scaler_open() local
802 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); ipu_csc_scaler_release() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec2_smpl.c103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve()
142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve()
181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant()
188 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant()
189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant()
190 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant()
196 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
197 b = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
214 BN_CTX_end(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates()
101 ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_set_curve() argument
141 ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_get_curve() argument
180 ossl_ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GF2m_simple_group_check_discriminant() argument
288 ossl_ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_set_affine_coordinates() argument
320 ossl_ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_get_affine_coordinates() argument
356 ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_add() argument
477 ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GF2m_simple_dbl() argument
483 ossl_ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_invert() argument
508 ossl_ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_is_on_curve() argument
581 ossl_ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_cmp() argument
632 ossl_ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_make_affine() argument
681 ossl_ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GF2m_simple_points_make_affine() argument
695 ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_mul() argument
702 ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GF2m_simple_field_sqr() argument
709 ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_div() argument
722 ec_GF2m_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_pre() argument
775 ec_GF2m_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_step() argument
805 ec_GF2m_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_post() argument
868 ec_GF2m_simple_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ec_GF2m_simple_points_mul() argument
929 ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ec_GF2m_simple_field_inv() argument
[all...]
/third_party/openssl/crypto/ec/
H A Dec2_smpl.c103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve()
142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve()
181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant()
188 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant()
189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant()
190 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant()
196 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
197 b = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
214 BN_CTX_end(ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates()
101 ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_set_curve() argument
141 ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_get_curve() argument
180 ossl_ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GF2m_simple_group_check_discriminant() argument
288 ossl_ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_set_affine_coordinates() argument
320 ossl_ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_get_affine_coordinates() argument
356 ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_add() argument
477 ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GF2m_simple_dbl() argument
483 ossl_ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_invert() argument
508 ossl_ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_is_on_curve() argument
581 ossl_ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_cmp() argument
632 ossl_ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_make_affine() argument
681 ossl_ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GF2m_simple_points_make_affine() argument
695 ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_mul() argument
702 ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GF2m_simple_field_sqr() argument
709 ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_div() argument
722 ec_GF2m_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_pre() argument
775 ec_GF2m_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_step() argument
805 ec_GF2m_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_post() argument
868 ec_GF2m_simple_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ec_GF2m_simple_points_mul() argument
929 ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ec_GF2m_simple_field_inv() argument
[all...]
/third_party/node/deps/openssl/openssl/engines/
H A De_loader_attic.c307 STACK_OF(OSSL_STORE_INFO) *ctx = *pctx; in try_decode_PKCS12()
309 if (ctx == NULL) { in try_decode_PKCS12()
349 if ((ctx = sk_OSSL_STORE_INFO_new_null()) != NULL) { in try_decode_PKCS12()
354 && sk_OSSL_STORE_INFO_push(ctx, osi_pkey) != 0) in try_decode_PKCS12()
363 && sk_OSSL_STORE_INFO_push(ctx, osi_cert) != 0) in try_decode_PKCS12()
373 && sk_OSSL_STORE_INFO_push(ctx, osi_ca) != 0) in try_decode_PKCS12()
386 sk_OSSL_STORE_INFO_pop_free(ctx, store_info_free); in try_decode_PKCS12()
387 ctx = NULL; in try_decode_PKCS12()
389 *pctx = ctx; in try_decode_PKCS12()
394 if (ctx in try_decode_PKCS12()
885 OPENSSL_DIR_CTX *ctx; global() member
912 OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) OSSL_STORE_LOADER_CTX_free() argument
929 file_find_type(OSSL_STORE_LOADER_CTX *ctx) file_find_type() argument
951 OSSL_STORE_LOADER_CTX *ctx = NULL; file_open_ex() local
1083 OSSL_STORE_LOADER_CTX *ctx = NULL; file_attach() local
1105 file_ctrl(OSSL_STORE_LOADER_CTX *ctx, int cmd, va_list args) file_ctrl() argument
1135 file_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) file_expect() argument
1141 file_find(OSSL_STORE_LOADER_CTX *ctx, const OSSL_STORE_SEARCH *search) file_find() argument
1172 file_load_try_decode(OSSL_STORE_LOADER_CTX *ctx, const char *pem_name, const char *pem_header, unsigned char *data, size_t len, const UI_METHOD *ui_method, void *ui_data, int *matchcount) file_load_try_decode() argument
1277 file_load_try_repeat(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load_try_repeat() argument
1426 file_name_to_uri(OSSL_STORE_LOADER_CTX *ctx, const char *name, char **data) file_name_to_uri() argument
1449 file_name_check(OSSL_STORE_LOADER_CTX *ctx, const char *name) file_name_check() argument
1513 file_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load() argument
1650 file_error(OSSL_STORE_LOADER_CTX *ctx) file_error() argument
1655 file_eof(OSSL_STORE_LOADER_CTX *ctx) file_eof() argument
1666 file_close(OSSL_STORE_LOADER_CTX *ctx) file_close() argument
[all...]
/third_party/openssl/engines/
H A De_loader_attic.c307 STACK_OF(OSSL_STORE_INFO) *ctx = *pctx; in try_decode_PKCS12()
309 if (ctx == NULL) { in try_decode_PKCS12()
349 if ((ctx = sk_OSSL_STORE_INFO_new_null()) != NULL) { in try_decode_PKCS12()
354 && sk_OSSL_STORE_INFO_push(ctx, osi_pkey) != 0) in try_decode_PKCS12()
363 && sk_OSSL_STORE_INFO_push(ctx, osi_cert) != 0) in try_decode_PKCS12()
373 && sk_OSSL_STORE_INFO_push(ctx, osi_ca) != 0) in try_decode_PKCS12()
386 sk_OSSL_STORE_INFO_pop_free(ctx, store_info_free); in try_decode_PKCS12()
387 ctx = NULL; in try_decode_PKCS12()
389 *pctx = ctx; in try_decode_PKCS12()
394 if (ctx in try_decode_PKCS12()
885 OPENSSL_DIR_CTX *ctx; global() member
912 OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) OSSL_STORE_LOADER_CTX_free() argument
929 file_find_type(OSSL_STORE_LOADER_CTX *ctx) file_find_type() argument
951 OSSL_STORE_LOADER_CTX *ctx = NULL; file_open_ex() local
1083 OSSL_STORE_LOADER_CTX *ctx = NULL; file_attach() local
1105 file_ctrl(OSSL_STORE_LOADER_CTX *ctx, int cmd, va_list args) file_ctrl() argument
1135 file_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) file_expect() argument
1141 file_find(OSSL_STORE_LOADER_CTX *ctx, const OSSL_STORE_SEARCH *search) file_find() argument
1172 file_load_try_decode(OSSL_STORE_LOADER_CTX *ctx, const char *pem_name, const char *pem_header, unsigned char *data, size_t len, const UI_METHOD *ui_method, void *ui_data, int *matchcount) file_load_try_decode() argument
1277 file_load_try_repeat(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load_try_repeat() argument
1426 file_name_to_uri(OSSL_STORE_LOADER_CTX *ctx, const char *name, char **data) file_name_to_uri() argument
1449 file_name_check(OSSL_STORE_LOADER_CTX *ctx, const char *name) file_name_check() argument
1513 file_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load() argument
1650 file_error(OSSL_STORE_LOADER_CTX *ctx) file_error() argument
1655 file_eof(OSSL_STORE_LOADER_CTX *ctx) file_eof() argument
1666 file_close(OSSL_STORE_LOADER_CTX *ctx) file_close() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx) in kprobe_typedef_ctx_subprog() argument
19 return bpf_get_stack(ctx, &stack, sizeof(stack), 0); in kprobe_typedef_ctx_subprog()
24 int kprobe_typedef_ctx(void *ctx) in kprobe_typedef_ctx() argument
26 return kprobe_typedef_ctx_subprog(ctx); in kprobe_typedef_ctx()
31 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx) in kprobe_struct_ctx_subprog() argument
33 return bpf_get_stack((void *)ctx, &stack, sizeof(stack), 0); in kprobe_struct_ctx_subprog()
38 int kprobe_resolved_ctx(void *ctx) in kprobe_resolved_ctx() argument
40 return kprobe_struct_ctx_subprog(ctx); in kprobe_resolved_ctx()
46 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx) in kprobe_workaround_ctx_subprog() argument
48 return bpf_get_stack(ctx, in kprobe_workaround_ctx_subprog()
53 kprobe_workaround_ctx(void *ctx) kprobe_workaround_ctx() argument
62 raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) raw_tp_ctx_subprog() argument
69 raw_tp_ctx(void *ctx) raw_tp_ctx() argument
78 raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) raw_tp_writable_ctx_subprog() argument
85 raw_tp_writable_ctx(void *ctx) raw_tp_writable_ctx() argument
94 perf_event_ctx_subprog(struct bpf_perf_event_data *ctx) perf_event_ctx_subprog() argument
101 perf_event_ctx(void *ctx) perf_event_ctx() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_context.c64 struct panfrost_context *ctx = pan_context(pipe); in panfrost_clear() local
65 struct panfrost_batch *batch = panfrost_get_batch_for_fbo(ctx); in panfrost_clear()
67 if (!panfrost_render_condition_check(ctx)) in panfrost_clear()
77 panfrost_blitter_save(ctx, false /* render condition */); in panfrost_clear()
79 util_blitter_clear(ctx->blitter, in panfrost_clear()
80 ctx->pipe_framebuffer.width, in panfrost_clear()
81 ctx->pipe_framebuffer.height, in panfrost_clear()
82 util_framebuffer_get_num_layers(&ctx->pipe_framebuffer), in panfrost_clear()
84 util_framebuffer_get_num_samples(&ctx->pipe_framebuffer) > 1); in panfrost_clear()
88 panfrost_writes_point_size(struct panfrost_context *ctx) in panfrost_writes_point_size() argument
104 struct panfrost_context *ctx = pan_context(pipe); panfrost_flush() local
124 struct panfrost_context *ctx = pan_context(pipe); panfrost_texture_barrier() local
131 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_frontend_noop() local
146 struct panfrost_context *ctx = pan_context(pipe); panfrost_bind_blend_state() local
155 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_blend_color() local
167 struct panfrost_context *ctx = batch->ctx; panfrost_get_blend() local
232 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_rasterizer_state() local
249 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_shader_images() local
296 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_vertex_elements_state() local
327 struct panfrost_context *ctx = pan_context(pctx); panfrost_create_shader_state() local
377 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_sampler_states() local
386 panfrost_build_key(struct panfrost_context *ctx, struct panfrost_shader_key *key, nir_shader *nir) panfrost_build_key() argument
472 panfrost_new_variant_locked( struct panfrost_context *ctx, struct panfrost_shader_variants *variants, struct panfrost_shader_key *key) panfrost_new_variant_locked() argument
524 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_shader_state() local
535 panfrost_update_shader_variant(struct panfrost_context *ctx, enum pipe_shader_type type) panfrost_update_shader_variant() argument
586 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_vs_state() local
605 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_vertex_buffers() local
620 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_constant_buffer() local
641 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_stencil_ref() local
655 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_sampler_views() local
709 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_shader_buffers() local
721 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_framebuffer_state() local
739 struct panfrost_context *ctx = pan_context(pipe); panfrost_bind_depth_stencil_state() local
748 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_sample_mask() local
757 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_min_samples() local
775 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_viewport_states() local
790 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_scissor_states() local
810 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_active_query_state() local
821 struct panfrost_context *ctx = pan_context(pipe); panfrost_render_condition() local
874 struct panfrost_context *ctx = pan_context(pipe); panfrost_begin_query() local
922 struct panfrost_context *ctx = pan_context(pipe); panfrost_end_query() local
950 struct panfrost_context *ctx = pan_context(pipe); panfrost_get_query_result() local
994 panfrost_render_condition_check(struct panfrost_context *ctx) panfrost_render_condition_check() argument
1051 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_stream_output_targets() local
1073 struct panfrost_context *ctx = rzalloc(NULL, struct panfrost_context); panfrost_create_context() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c82 mxc_isi_m2m_ctx_qdata(struct mxc_isi_m2m_ctx *ctx, enum v4l2_buf_type type) in mxc_isi_m2m_ctx_qdata() argument
85 return &ctx->queues.out; in mxc_isi_m2m_ctx_qdata()
87 return &ctx->queues.cap; in mxc_isi_m2m_ctx_qdata()
98 struct mxc_isi_m2m_ctx *ctx; in mxc_isi_m2m_frame_write_done() local
100 ctx = v4l2_m2m_get_curr_priv(m2m->m2m_dev); in mxc_isi_m2m_frame_write_done()
101 if (!ctx) { in mxc_isi_m2m_frame_write_done()
107 src_vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done()
108 dst_vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done()
112 src_vbuf->sequence = ctx->queues.out.sequence++; in mxc_isi_m2m_frame_write_done()
113 dst_vbuf->sequence = ctx in mxc_isi_m2m_frame_write_done()
123 struct mxc_isi_m2m_ctx *ctx = priv; mxc_isi_m2m_device_run() local
197 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); mxc_isi_m2m_vb2_queue_setup() local
209 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vb2->vb2_queue); mxc_isi_m2m_vb2_buffer_init() local
222 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vq); mxc_isi_m2m_vb2_buffer_prepare() local
233 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vb2->vb2_queue); mxc_isi_m2m_vb2_buffer_queue() local
241 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); mxc_isi_m2m_vb2_start_streaming() local
252 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); mxc_isi_m2m_vb2_stop_streaming() local
281 struct mxc_isi_m2m_ctx *ctx = priv; mxc_isi_m2m_queue_init() local
324 struct mxc_isi_m2m_ctx *ctx = ctrl_to_mxc_isi_m2m_ctx(ctrl); mxc_isi_m2m_ctx_s_ctrl() local
347 mxc_isi_m2m_ctx_ctrls_create(struct mxc_isi_m2m_ctx *ctx) mxc_isi_m2m_ctx_ctrls_create() argument
372 mxc_isi_m2m_ctx_ctrls_delete(struct mxc_isi_m2m_ctx *ctx) mxc_isi_m2m_ctx_ctrls_delete() argument
412 __mxc_isi_m2m_try_fmt_vid(struct mxc_isi_m2m_ctx *ctx, struct v4l2_pix_format_mplane *pix, const enum mxc_isi_video_type type) __mxc_isi_m2m_try_fmt_vid() argument
431 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); mxc_isi_m2m_try_fmt_vid() local
441 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); mxc_isi_m2m_g_fmt_vid() local
456 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); mxc_isi_m2m_s_fmt_vid() local
488 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); mxc_isi_m2m_streamon() local
571 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); mxc_isi_m2m_streamoff() local
635 mxc_isi_m2m_init_format(struct mxc_isi_m2m_ctx *ctx, struct mxc_isi_m2m_ctx_queue_data *qdata, enum mxc_isi_video_type type) mxc_isi_m2m_init_format() argument
650 struct mxc_isi_m2m_ctx *ctx; mxc_isi_m2m_open() local
700 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(file->private_data); mxc_isi_m2m_release() local
[all...]
/third_party/libwebsockets/lib/cose/
H A Dcose_key.c305 cb_cose_key(struct lecp_ctx *ctx, char reason) in cb_cose_key() argument
308 (struct lws_cose_key_parse_state *)ctx->user; in cb_cose_key()
316 ctx->path, ctx->st[ctx->sp - 1].ordinal, in cb_cose_key()
317 ctx->pst[ctx->pst_sp].ppos); in cb_cose_key()
326 if (cps->pkey_set && ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_key()
341 if (cps->pkey_set && ctx in cb_cose_key()
830 struct lws_genrsa_ctx ctx; lws_cose_key_generate() local
866 struct lws_genec_ctx ctx; lws_cose_key_generate() local
912 struct lecp_ctx ctx; lws_cose_key_import() local
978 lws_cose_key_export(lws_cose_key_t *ck, lws_lec_pctx_t *ctx, int flags) lws_cose_key_export() argument
[all...]

Completed in 22 milliseconds

1...<<21222324252627282930>>...504