Home
last modified time | relevance | path

Searched refs:ctx (Results 6051 - 6075 of 13394) sorted by relevance

1...<<241242243244245246247248249250>>...536

/third_party/skia/third_party/externals/tint/src/ast/
H A Dvoid.cc34 const Void* Void::Clone(CloneContext* ctx) const { in Clone()
35 auto src = ctx->Clone(source); in Clone()
36 return ctx->dst->create<Void>(src); in Clone()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dpoly1305.rs14 pub fn CRYPTO_poly1305_init(ctx: *mut poly1305_context, key: *const ::libc::c_uchar); in CRYPTO_poly1305_init()
16 ctx: *mut poly1305_context, in CRYPTO_poly1305_update()
20 pub fn CRYPTO_poly1305_finish(ctx: *mut poly1305_context, mac: *mut ::libc::c_uchar); in CRYPTO_poly1305_finish()
H A Dprovider.rs6 pub fn OSSL_PROVIDER_load(ctx: *mut OSSL_LIB_CTX, name: *const c_char) -> *mut OSSL_PROVIDER; in OSSL_PROVIDER_load()
9 ctx: *mut OSSL_LIB_CTX, in OSSL_PROVIDER_try_load()
17 ctx: *mut OSSL_LIB_CTX, in OSSL_PROVIDER_set_default_search_path()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Dnetlink.h16 void *ctx; member
17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContextUtil.hpp34 void drawQuad (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1);
36 void drawQuadWithVaoBuffers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1);
37 void drawQuadWithClientPointers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Dnetlink.h16 void *ctx; member
17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
H A Ddriver_nl80211_event.c243 wpa_supplicant_event(drv->ctx, EVENT_AUTH, &event); in mlme_event_auth()
307 wpa_supplicant_event(drv->ctx, EVENT_ASSOC_REJECT, &event); in mlme_event_assoc()
344 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, &event); in mlme_event_assoc()
783 wpa_supplicant_event(drv->ctx, EVENT_ASSOC_REJECT, &event);
876 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, &event);
924 wpa_vendor_ext_p2p_enhance_set_reason(drv->ctx, drv->first_bss, &data);
927 wpa_supplicant_event(drv->ctx, EVENT_DEAUTH, &data);
1055 bss->ctx,
1068 wpa_supplicant_event(bss->ctx, finished ?
1094 wpa_supplicant_event(drv->ctx, e
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_resource.c1230 add_resource_bind(struct zink_context *ctx, struct zink_resource *res, unsigned bind) in add_resource_bind() argument
1232 struct zink_screen *screen = zink_screen(ctx->base.screen); in add_resource_bind()
1234 zink_resource_image_barrier(ctx, res, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, 0, 0); in add_resource_bind()
1257 zink_batch_reference_resource_move(&ctx->batch, res); in add_resource_bind()
1267 ctx->base.resource_copy_region(&ctx->base, &res->base.b, i, 0, 0, 0, &staging.base.b, i, &box); in add_resource_bind()
1570 invalidate_buffer(struct zink_context *ctx, struct zink_resource *res) in invalidate_buffer() argument
1572 struct zink_screen *screen = zink_screen(ctx->base.screen); in invalidate_buffer()
1583 ctx->dirty_so_targets = true; in invalidate_buffer()
1598 zink_batch_reference_resource_move(&ctx in invalidate_buffer()
1620 zink_transfer_copy_bufimage(struct zink_context *ctx, struct zink_resource *dst, struct zink_resource *src, struct zink_transfer *trans) zink_transfer_copy_bufimage() argument
1689 create_transfer(struct zink_context *ctx, struct pipe_resource *pres, unsigned usage, const struct pipe_box *box) create_transfer() argument
1710 destroy_transfer(struct zink_context *ctx, struct zink_transfer *trans) destroy_transfer() argument
1730 struct zink_context *ctx = zink_context(pctx); zink_buffer_map() local
1908 struct zink_context *ctx = zink_context(pctx); zink_image_map() local
2031 struct zink_context *ctx = zink_context(pctx); zink_transfer_flush_region() local
2072 struct zink_context *ctx = zink_context(pctx); transfer_unmap() local
2123 zink_buffer_subdata(struct pipe_context *ctx, struct pipe_resource *buffer, unsigned usage, unsigned offset, unsigned size, const void *data) zink_buffer_subdata() argument
2158 zink_resource_object_init_storage(struct zink_context *ctx, struct zink_resource *res) zink_resource_object_init_storage() argument
2177 zink_resource_setup_transfer_layouts(struct zink_context *ctx, struct zink_resource *src, struct zink_resource *dst) zink_resource_setup_transfer_layouts() argument
[all...]
/foundation/graphic/graphic_3d/kits/js/src/
H A DToneMapJS.cpp115 napi_value ToneMapJS::Dispose(NapiApi::FunctionContext<>& ctx) in Dispose() argument
197 napi_value ToneMapJS::GetType(NapiApi::FunctionContext<>& ctx) in GetType() argument
209 napi_status status = napi_create_uint32(ctx, static_cast<uint32_t>(typeI), &value); in GetType()
212 void ToneMapJS::SetType(NapiApi::FunctionContext<uint32_t>& ctx) in SetType() argument
214 auto type = ConvertTo(ctx.Arg<0>()); in SetType()
224 napi_value ToneMapJS::GetExposure(NapiApi::FunctionContext<>& ctx) in GetExposure() argument
235 napi_status status = napi_create_double(ctx, exp, &value); in GetExposure()
239 void ToneMapJS::SetExposure(NapiApi::FunctionContext<float>& ctx) in SetExposure() argument
241 float exp = ctx.Arg<0>(); in SetExposure()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dperfmon_itanium.h9 static int pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
52 pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_ita_pmc_check() argument
58 if (ctx == NULL) return -EINVAL; in pfm_ita_pmc_check()
60 is_loaded = ctx->ctx_state == PFM_CTX_LOADED || ctx->ctx_state == PFM_CTX_MASKED; in pfm_ita_pmc_check()
66 if (cnum == 13 && is_loaded && ((*val & 0x1) == 0UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
77 ret = pfm_write_ibr_dbr(1, ctx, NULL, 0, regs); in pfm_ita_pmc_check()
85 if (cnum == 11 && is_loaded && ((*val >> 28)& 0x1) == 0 && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
96 ret = pfm_write_ibr_dbr(0, ctx, NULL, 0, regs); in pfm_ita_pmc_check()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dfsl_upm.c90 mar = (instr->ctx.cmd.opcode << (32 - fun->upm.width)) | in func_exec_instr()
98 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in func_exec_instr()
99 mar = (instr->ctx.addr.addrs[i] << (32 - fun->upm.width)) | in func_exec_instr()
107 in = instr->ctx.data.buf.in; in func_exec_instr()
108 for (i = 0; i < instr->ctx.data.len; i++) in func_exec_instr()
113 out = instr->ctx.data.buf.out; in func_exec_instr()
114 for (i = 0; i < instr->ctx.data.len; i++) in func_exec_instr()
120 return nand_soft_waitrdy(chip, instr->ctx.waitrdy.timeout_ms); in func_exec_instr()
123 instr->ctx.waitrdy.timeout_ms); in func_exec_instr()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dperfmon_itanium.h9 static int pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
52 pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_ita_pmc_check() argument
58 if (ctx == NULL) return -EINVAL; in pfm_ita_pmc_check()
60 is_loaded = ctx->ctx_state == PFM_CTX_LOADED || ctx->ctx_state == PFM_CTX_MASKED; in pfm_ita_pmc_check()
66 if (cnum == 13 && is_loaded && ((*val & 0x1) == 0UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
77 ret = pfm_write_ibr_dbr(1, ctx, NULL, 0, regs); in pfm_ita_pmc_check()
85 if (cnum == 11 && is_loaded && ((*val >> 28)& 0x1) == 0 && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
96 ret = pfm_write_ibr_dbr(0, ctx, NULL, 0, regs); in pfm_ita_pmc_check()
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H A Dsetup.c174 static int fix_host_ownership_walker(const struct kvm_pgtable_visit_ctx *ctx, in fix_host_ownership_walker() argument
181 if (!kvm_pte_valid(ctx->old)) in fix_host_ownership_walker()
184 if (ctx->level != (KVM_PGTABLE_MAX_LEVELS - 1)) in fix_host_ownership_walker()
187 phys = kvm_pte_to_phys(ctx->old); in fix_host_ownership_walker()
195 state = pkvm_getstate(kvm_pgtable_hyp_pte_prot(ctx->old)); in fix_host_ownership_walker()
212 static int fix_hyp_pgtable_refcnt_walker(const struct kvm_pgtable_visit_ctx *ctx, in fix_hyp_pgtable_refcnt_walker() argument
220 if (kvm_pte_valid(ctx->old)) in fix_hyp_pgtable_refcnt_walker()
221 ctx->mm_ops->get_page(ctx->ptep); in fix_hyp_pgtable_refcnt_walker()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddevlink.c253 struct devlink_param_gset_ctx *ctx) in mlx5_devlink_fs_mode_set()
258 if (!strcmp(ctx->val.vstr, "smfs")) in mlx5_devlink_fs_mode_set()
268 struct devlink_param_gset_ctx *ctx) in mlx5_devlink_fs_mode_get()
273 strcpy(ctx->val.vstr, "smfs"); in mlx5_devlink_fs_mode_get()
275 strcpy(ctx->val.vstr, "dmfs"); in mlx5_devlink_fs_mode_get()
316 struct devlink_param_gset_ctx *ctx) in mlx5_devlink_enable_remote_dev_reset_set()
320 mlx5_fw_reset_enable_remote_dev_reset_set(dev, ctx->val.vbool); in mlx5_devlink_enable_remote_dev_reset_set()
325 struct devlink_param_gset_ctx *ctx) in mlx5_devlink_enable_remote_dev_reset_get()
329 ctx->val.vbool = mlx5_fw_reset_enable_remote_dev_reset_get(dev); in mlx5_devlink_enable_remote_dev_reset_get()
252 mlx5_devlink_fs_mode_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) mlx5_devlink_fs_mode_set() argument
267 mlx5_devlink_fs_mode_get(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) mlx5_devlink_fs_mode_get() argument
315 mlx5_devlink_enable_remote_dev_reset_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) mlx5_devlink_enable_remote_dev_reset_set() argument
324 mlx5_devlink_enable_remote_dev_reset_get(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) mlx5_devlink_enable_remote_dev_reset_get() argument
/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dhealth.c44 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_recover() local
53 if (ctx) { in nsim_dev_dummy_reporter_recover()
55 health->recovered_break_msg = kstrdup(ctx->break_msg, in nsim_dev_dummy_reporter_recover()
191 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_dump() local
194 if (ctx) { in nsim_dev_dummy_reporter_dump()
196 ctx->break_msg); in nsim_dev_dummy_reporter_dump()
234 struct nsim_dev_dummy_reporter_ctx ctx; in nsim_dev_health_break_write() local
250 ctx.break_msg = break_msg; in nsim_dev_health_break_write()
251 err = devlink_health_report(health->dummy_reporter, break_msg, &ctx); in nsim_dev_health_break_write()
/kernel/linux/linux-5.10/samples/bpf/
H A Dmap_perf_test_kern.c106 int stress_hmap(struct pt_regs *ctx) in stress_hmap() argument
121 int stress_percpu_hmap(struct pt_regs *ctx) in stress_percpu_hmap() argument
135 int stress_hmap_alloc(struct pt_regs *ctx) in stress_hmap_alloc() argument
149 int stress_percpu_hmap_alloc(struct pt_regs *ctx) in stress_percpu_hmap_alloc() argument
163 int stress_lru_hmap_alloc(struct pt_regs *ctx) in stress_lru_hmap_alloc() argument
165 struct pt_regs *real_regs = (struct pt_regs *)PT_REGS_PARM1_CORE(ctx); in stress_lru_hmap_alloc()
243 int stress_lpm_trie_map_alloc(struct pt_regs *ctx) in stress_lpm_trie_map_alloc() argument
265 int stress_hash_map_lookup(struct pt_regs *ctx) in stress_hash_map_lookup() argument
278 int stress_array_map_lookup(struct pt_regs *ctx) in stress_array_map_lookup() argument
/kernel/linux/linux-5.10/fs/proc/
H A Dfd.c228 static int proc_readfd_common(struct file *file, struct dir_context *ctx, in proc_readfd_common() argument
238 if (!dir_emit_dots(file, ctx)) in proc_readfd_common()
245 for (fd = ctx->pos - 2; in proc_readfd_common()
247 fd++, ctx->pos++) { in proc_readfd_common()
261 if (!proc_fill_cache(file, ctx, in proc_readfd_common()
276 static int proc_readfd(struct file *file, struct dir_context *ctx) in proc_readfd() argument
278 return proc_readfd_common(file, ctx, proc_fd_instantiate); in proc_readfd()
348 static int proc_readfdinfo(struct file *file, struct dir_context *ctx) in proc_readfdinfo() argument
350 return proc_readfd_common(file, ctx, in proc_readfdinfo()
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro_vp9.c117 static void init_v4l2_vp9_count_tbl(struct hantro_ctx *ctx) in init_v4l2_vp9_count_tbl() argument
119 struct hantro_vp9_dec_hw_ctx *vp9_ctx = &ctx->vp9_dec; in init_v4l2_vp9_count_tbl()
158 int hantro_vp9_dec_init(struct hantro_ctx *ctx) in hantro_vp9_dec_init() argument
160 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_init()
162 struct hantro_vp9_dec_hw_ctx *vp9_dec = &ctx->vp9_dec; in hantro_vp9_dec_init()
216 init_v4l2_vp9_count_tbl(ctx); in hantro_vp9_dec_init()
229 void hantro_vp9_dec_exit(struct hantro_ctx *ctx) in hantro_vp9_dec_exit() argument
231 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_exit()
232 struct hantro_vp9_dec_hw_ctx *vp9_dec = &ctx->vp9_dec; in hantro_vp9_dec_exit()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dfsl_upm.c90 mar = (instr->ctx.cmd.opcode << (32 - fun->upm.width)) | in func_exec_instr()
98 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in func_exec_instr()
99 mar = (instr->ctx.addr.addrs[i] << (32 - fun->upm.width)) | in func_exec_instr()
107 in = instr->ctx.data.buf.in; in func_exec_instr()
108 for (i = 0; i < instr->ctx.data.len; i++) in func_exec_instr()
113 out = instr->ctx.data.buf.out; in func_exec_instr()
114 for (i = 0; i < instr->ctx.data.len; i++) in func_exec_instr()
120 return nand_soft_waitrdy(chip, instr->ctx.waitrdy.timeout_ms); in func_exec_instr()
123 instr->ctx.waitrdy.timeout_ms); in func_exec_instr()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c48 struct mlx5_eq_tasklet *ctx = from_tasklet(ctx, t, task); in mlx5_cq_tasklet_cb() local
52 spin_lock_irqsave(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
53 list_splice_tail_init(&ctx->list, &ctx->process_list); in mlx5_cq_tasklet_cb()
54 spin_unlock_irqrestore(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
56 list_for_each_entry_safe(mcq, temp, &ctx->process_list, in mlx5_cq_tasklet_cb()
65 if (!list_empty(&ctx->process_list)) in mlx5_cq_tasklet_cb()
66 tasklet_schedule(&ctx->task); in mlx5_cq_tasklet_cb()
/kernel/linux/linux-6.6/crypto/
H A Dsm4.c112 * @ctx: The location where the computed key will be stored.
119 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, in sm4_expandkey() argument
140 ctx->rkey_enc[i + 0] = rk[0]; in sm4_expandkey()
141 ctx->rkey_enc[i + 1] = rk[1]; in sm4_expandkey()
142 ctx->rkey_enc[i + 2] = rk[2]; in sm4_expandkey()
143 ctx->rkey_enc[i + 3] = rk[3]; in sm4_expandkey()
144 ctx->rkey_dec[31 - 0 - i] = rk[0]; in sm4_expandkey()
145 ctx->rkey_dec[31 - 1 - i] = rk[1]; in sm4_expandkey()
146 ctx->rkey_dec[31 - 2 - i] = rk[2]; in sm4_expandkey()
147 ctx in sm4_expandkey()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dlinked_list.c281 int map_list_push_pop(void *ctx) in map_list_push_pop() argument
292 int inner_map_list_push_pop(void *ctx) in inner_map_list_push_pop() argument
307 int global_list_push_pop(void *ctx) in global_list_push_pop() argument
313 int map_list_push_pop_multiple(void *ctx) in map_list_push_pop_multiple() argument
324 int inner_map_list_push_pop_multiple(void *ctx) in inner_map_list_push_pop_multiple() argument
339 int global_list_push_pop_multiple(void *ctx) in global_list_push_pop_multiple() argument
350 int map_list_in_list(void *ctx) in map_list_in_list() argument
361 int inner_map_list_in_list(void *ctx) in inner_map_list_in_list() argument
376 int global_list_in_list(void *ctx) in global_list_in_list() argument
/third_party/ffmpeg/libavfilter/
H A Dvf_blockdetect.c65 AVFilterContext *ctx = inlink->dst; in blockdetect_config_input() local
66 BLKContext *s = ctx->priv; in blockdetect_config_input()
199 AVFilterContext *ctx = inlink->dst; in blockdetect_filter_frame() local
200 BLKContext *s = ctx->priv; in blockdetect_filter_frame()
201 AVFilterLink *outlink = ctx->outputs[0]; in blockdetect_filter_frame()
233 av_log(ctx, AV_LOG_VERBOSE, "block: %.7f\n", block); in blockdetect_filter_frame()
242 static av_cold void blockdetect_uninit(AVFilterContext *ctx) in blockdetect_uninit() argument
244 BLKContext *s = ctx->priv; in blockdetect_uninit()
247 av_log(ctx, AV_LOG_INFO, "block mean: %.7f\n", in blockdetect_uninit()
H A Daf_apulsator.c130 AVFilterContext *ctx = inlink->dst; in filter_frame() local
131 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
132 AudioPulsatorContext *s = ctx->priv; in filter_frame()
187 static int query_formats(AVFilterContext *ctx) in query_formats() argument
194 (ret = ff_set_common_formats (ctx , formats )) < 0 || in query_formats()
196 (ret = ff_set_common_channel_layouts (ctx , layout )) < 0) in query_formats()
199 return ff_set_common_all_samplerates(ctx); in query_formats()
204 AVFilterContext *ctx = inlink->dst; in config_input() local
205 AudioPulsatorContext *s = ctx->priv; in config_input()
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_conv2d.c34 NativeContext *ctx; member
188 int32_t output_operand_index, const void *parameters, NativeContext *ctx) in ff_dnn_execute_layer_conv2d()
191 int thread_num = (ctx->options.conv2d_threads <= 0 || ctx->options.conv2d_threads > av_cpu_count()) in ff_dnn_execute_layer_conv2d()
192 ? (av_cpu_count() + 1) : (ctx->options.conv2d_threads); in ff_dnn_execute_layer_conv2d()
213 av_log(ctx, AV_LOG_ERROR, "The output data length overflow\n"); in ff_dnn_execute_layer_conv2d()
218 av_log(ctx, AV_LOG_ERROR, "Failed to reallocate memory for output\n"); in ff_dnn_execute_layer_conv2d()
227 thread_common_param.ctx = ctx; in ff_dnn_execute_layer_conv2d()
187 ff_dnn_execute_layer_conv2d(DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters, NativeContext *ctx) ff_dnn_execute_layer_conv2d() argument

Completed in 19 milliseconds

1...<<241242243244245246247248249250>>...536