Home
last modified time | relevance | path

Searched refs:ctx (Results 5626 - 5650 of 12590) sorted by relevance

1...<<221222223224225226227228229230>>...504

/third_party/lwip/src/include/netif/ppp/polarssl/
H A Dmd4.h60 * \param ctx context to be initialized
62 void md4_starts( md4_context *ctx );
67 * \param ctx MD4 context
71 void md4_update( md4_context *ctx, const unsigned char *input, int ilen );
76 * \param ctx MD4 context
79 void md4_finish( md4_context *ctx, unsigned char output[16] );
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_cmd_signature.h45 d3d12_cmd_signature_cache_init(struct d3d12_context *ctx);
48 d3d12_cmd_signature_cache_destroy(struct d3d12_context *ctx);
51 d3d12_get_cmd_signature(struct d3d12_context *ctx,
H A Dd3d12_root_signature.h44 d3d12_root_signature_cache_init(struct d3d12_context *ctx);
47 d3d12_root_signature_cache_destroy(struct d3d12_context *ctx);
50 d3d12_get_root_signature(struct d3d12_context *ctx, bool compute);
/third_party/python/Lib/test/
H A Dmp_preload.py11 ctx = multiprocessing.get_context("forkserver")
15 ctx.set_forkserver_preload([modname])
16 proc = ctx.Process(target=f)
/third_party/skia/src/gpu/gl/
H A DGrGLAssembleHelpers.cpp12 void* ctx, GrGLGetProc get) { in GrGetEGLQueryAndDisplay()
13 *queryString = (GrEGLQueryStringFn*)get(ctx, "eglQueryString"); in GrGetEGLQueryAndDisplay()
17 (GrEGLGetCurrentDisplayFn*)get(ctx, "eglGetCurrentDisplay"); in GrGetEGLQueryAndDisplay()
11 GrGetEGLQueryAndDisplay(GrEGLQueryStringFn** queryString, GrEGLDisplay* display, void* ctx, GrGLGetProc get) GrGetEGLQueryAndDisplay() argument
/third_party/openssl/ohos_lite/include/crypto/
H A Dpoly1305.h19 void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]);
20 void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len);
21 void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]);
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dmd5.h41 MD5Init(struct MD5Context *ctx);
44 MD5Update(struct MD5Context *ctx,
50 struct MD5Context *ctx);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Drfkill.h15 void *ctx; member
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Drfkill.h15 void *ctx; member
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c115 p->ctx = amdgpu_ctx_get(fpriv, cs->in.ctx_id); in amdgpu_cs_parser_init()
116 if (!p->ctx) { in amdgpu_cs_parser_init()
121 mutex_lock(&p->ctx->lock); in amdgpu_cs_parser_init()
124 if (atomic_read(&p->ctx->guilty) == 1) { in amdgpu_cs_parser_init()
225 if (p->ctx->vram_lost_counter != p->job->vram_lost_counter) { in amdgpu_cs_parser_init()
394 struct ttm_operation_ctx ctx = { in amdgpu_cs_bo_validate() local
431 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_cs_bo_validate()
433 p->bytes_moved += ctx.bytes_moved; in amdgpu_cs_bo_validate()
436 p->bytes_moved_vis += ctx.bytes_moved; in amdgpu_cs_bo_validate()
464 struct ttm_operation_ctx ctx in amdgpu_cs_list_validate() local
952 struct amdgpu_ctx *ctx; amdgpu_cs_process_fence_dep() local
1353 struct amdgpu_ctx *ctx; amdgpu_cs_wait_ioctl() local
1401 struct amdgpu_ctx *ctx; amdgpu_cs_get_fence() local
1649 struct ttm_operation_ctx ctx = { false, false }; amdgpu_cs_find_mapping() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dwavpack.c136 static int update_error_limit(WavpackFrameContext *ctx) in update_error_limit() argument
140 for (i = 0; i <= ctx->stereo_in; i++) { in update_error_limit()
141 if (ctx->ch[i].bitrate_acc > UINT_MAX - ctx->ch[i].bitrate_delta) in update_error_limit()
143 ctx->ch[i].bitrate_acc += ctx->ch[i].bitrate_delta; in update_error_limit()
144 br[i] = ctx->ch[i].bitrate_acc >> 16; in update_error_limit()
145 sl[i] = LEVEL_DECAY(ctx->ch[i].slow_level); in update_error_limit()
147 if (ctx->stereo_in && ctx in update_error_limit()
174 wv_get_value(WavpackFrameContext *ctx, GetBitContext *gb, int channel, int *last) wv_get_value() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_pipeline.c1462 struct rogue_build_ctx *ctx; in pvr_graphics_pipeline_compile() local
1466 ctx = rogue_create_build_context(compiler); in pvr_graphics_pipeline_compile()
1467 if (!ctx) in pvr_graphics_pipeline_compile()
1490 ctx->nir[stage] = pvr_spirv_to_nir(ctx, stage, create_info); in pvr_graphics_pipeline_compile()
1491 if (!ctx->nir[stage]) { in pvr_graphics_pipeline_compile()
1492 ralloc_free(ctx); in pvr_graphics_pipeline_compile()
1529 &ctx->binary[stage]); in pvr_graphics_pipeline_compile()
1534 &ctx->common_data[stage], in pvr_graphics_pipeline_compile()
1535 &ctx in pvr_graphics_pipeline_compile()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/
H A Dgeocoding_data.pb.cc256 const char* GeocodingInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { in _InternalParse() argument
260 while (!ctx->Done(&ptr)) { in _InternalParse()
271 ptr = ctx->ParseMessage(_internal_add_prefixes_info(), ptr); in _InternalParse()
273 if (!ctx->DataAvailable(ptr)) break; in _InternalParse()
284 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse()
286 if (!ctx->DataAvailable(ptr)) break; in _InternalParse()
293 ptr = ctx->ParseMessage(_internal_mutable_language_code_info(), ptr); in _InternalParse()
303 ptr = ctx->ParseMessage(_internal_add_countries_info(), ptr); in _InternalParse()
305 if (!ctx->DataAvailable(ptr)) break; in _InternalParse()
317 if (!ctx in _InternalParse()
654 _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) _InternalParse() argument
999 _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) _InternalParse() argument
1226 _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) _InternalParse() argument
1452 _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) _InternalParse() argument
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dwire_format.cc659 const char* _InternalParse(const char* ptr, internal::ParseContext* ctx) { in _InternalParse()
665 while (!ctx->Done(&ptr)) { in _InternalParse()
676 if (ctx->data().pool == nullptr) { in _InternalParse()
680 ctx->data().pool->FindExtensionByNumber(descriptor, type_id); in _InternalParse()
689 ? reflection->AddMessage(msg, field, ctx->data().factory) in _InternalParse()
691 ctx->data().factory); in _InternalParse()
695 ParseContext tmp_ctx(ctx->depth(), false, &p, payload); in _InternalParse()
696 tmp_ctx.data().pool = ctx->data().pool; in _InternalParse()
697 tmp_ctx.data().factory = ctx->data().factory; in _InternalParse()
708 ptr = ctx in _InternalParse()
780 _InternalParse(Message* msg, const char* ptr, internal::ParseContext* ctx) _InternalParse() argument
819 _InternalParseAndMergeField( Message* msg, const char* ptr, internal::ParseContext* ctx, uint64 tag, const Reflection* reflection, const FieldDescriptor* field) _InternalParseAndMergeField() argument
[all...]
/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()

Completed in 20 milliseconds

1...<<221222223224225226227228229230>>...504