/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | arch_timer.c | 227 struct arch_timer_context *ctx; in kvm_arch_timer_handler() local 242 ctx = map.direct_vtimer; in kvm_arch_timer_handler() 244 ctx = map.direct_ptimer; in kvm_arch_timer_handler() 246 if (kvm_timer_should_fire(ctx)) in kvm_arch_timer_handler() 247 kvm_timer_update_irq(vcpu, true, ctx); in kvm_arch_timer_handler() 296 struct arch_timer_context *ctx; in wfit_delay_ns() local 298 ctx = (vcpu_has_nv(vcpu) && is_hyp_ctxt(vcpu)) ? vcpu_hvtimer(vcpu) in wfit_delay_ns() 301 return kvm_counter_compute_delta(ctx, val); in wfit_delay_ns() 314 struct arch_timer_context *ctx = &vcpu->arch.timer_cpu.timers[i]; in kvm_timer_earliest_exp() local 316 WARN(ctx in kvm_timer_earliest_exp() 357 struct arch_timer_context *ctx; kvm_hrtimer_expire() local 465 timer_emulate(struct arch_timer_context *ctx) timer_emulate() argument 498 timer_save_state(struct arch_timer_context *ctx) timer_save_state() argument 604 timer_restore_state(struct arch_timer_context *ctx) timer_restore_state() argument 649 set_timer_irq_phys_active(struct arch_timer_context *ctx, bool active) set_timer_irq_phys_active() argument 656 kvm_timer_vcpu_load_gic(struct arch_timer_context *ctx) kvm_timer_vcpu_load_gic() argument 1463 struct arch_timer_context *ctx; timer_irqs_are_valid() local 1496 struct arch_timer_context *ctx; kvm_arch_timer_get_input_level() local [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | signal.c | 103 static int copy_fpu_to_sigcontext(struct fpu_context __user *ctx) in copy_fpu_to_sigcontext() argument 107 uint64_t __user *regs = (uint64_t *)&ctx->regs; in copy_fpu_to_sigcontext() 108 uint64_t __user *fcc = &ctx->fcc; in copy_fpu_to_sigcontext() 109 uint32_t __user *fcsr = &ctx->fcsr; in copy_fpu_to_sigcontext() 122 static int copy_fpu_from_sigcontext(struct fpu_context __user *ctx) in copy_fpu_from_sigcontext() argument 127 uint64_t __user *regs = (uint64_t *)&ctx->regs; in copy_fpu_from_sigcontext() 128 uint64_t __user *fcc = &ctx->fcc; in copy_fpu_from_sigcontext() 129 uint32_t __user *fcsr = &ctx->fcsr; in copy_fpu_from_sigcontext() 141 static int copy_lsx_to_sigcontext(struct lsx_context __user *ctx) in copy_lsx_to_sigcontext() argument 145 uint64_t __user *regs = (uint64_t *)&ctx in copy_lsx_to_sigcontext() 161 copy_lsx_from_sigcontext(struct lsx_context __user *ctx) copy_lsx_from_sigcontext() argument 182 copy_lasx_to_sigcontext(struct lasx_context __user *ctx) copy_lasx_to_sigcontext() argument 206 copy_lasx_from_sigcontext(struct lasx_context __user *ctx) copy_lasx_from_sigcontext() argument 232 copy_lbt_to_sigcontext(struct lbt_context __user *ctx) copy_lbt_to_sigcontext() argument 247 copy_lbt_from_sigcontext(struct lbt_context __user *ctx) copy_lbt_from_sigcontext() argument 262 copy_ftop_to_sigcontext(struct lbt_context __user *ctx) copy_ftop_to_sigcontext() argument 269 copy_ftop_from_sigcontext(struct lbt_context __user *ctx) copy_ftop_from_sigcontext() argument 280 save_hw_fpu_context(struct fpu_context __user *ctx) save_hw_fpu_context() argument 289 restore_hw_fpu_context(struct fpu_context __user *ctx) restore_hw_fpu_context() argument 298 save_hw_lsx_context(struct lsx_context __user *ctx) save_hw_lsx_context() argument 307 restore_hw_lsx_context(struct lsx_context __user *ctx) restore_hw_lsx_context() argument 316 save_hw_lasx_context(struct lasx_context __user *ctx) save_hw_lasx_context() argument 325 restore_hw_lasx_context(struct lasx_context __user *ctx) restore_hw_lasx_context() argument 338 save_hw_lbt_context(struct lbt_context __user *ctx) save_hw_lbt_context() argument 346 restore_hw_lbt_context(struct lbt_context __user *ctx) restore_hw_lbt_context() argument 354 save_hw_ftop_context(struct lbt_context __user *ctx) save_hw_ftop_context() argument 361 restore_hw_ftop_context(struct lbt_context __user *ctx) restore_hw_ftop_context() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_resource.c | 426 struct dc_context *ctx, in dce120_opp_create() 436 ctx, inst, &opp_regs[inst], &opp_shift, &opp_mask); in dce120_opp_create() 440 struct dc_context *ctx, in dce120_aux_engine_create() 449 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce120_aux_engine_create() 454 ctx->dc->caps.extended_aux_timeout_support); in dce120_aux_engine_create() 478 struct dc_context *ctx, in dce120_i2c_hw_create() 487 dce112_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce120_i2c_hw_create() 533 struct dc_context *ctx, in dce120_clock_source_create() 545 if (dce112_clk_src_construct(clk_src, ctx, bios, id, in dce120_clock_source_create() 576 struct dc_context *ctx, in dce120_timing_generator_create() 425 dce120_opp_create( struct dc_context *ctx, uint32_t inst) dce120_opp_create() argument 439 dce120_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce120_aux_engine_create() argument 477 dce120_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce120_i2c_hw_create() argument 532 dce120_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce120_clock_source_create() argument 575 dce120_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce120_timing_generator_create() argument 664 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 683 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument 701 dce120_link_encoder_create( struct dc_context *ctx, const struct encoder_init_data *enc_init_data) dce120_link_encoder_create() argument 742 dce120_ipp_create( struct dc_context *ctx, uint32_t inst) dce120_ipp_create() argument 757 dce120_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce120_stream_encoder_create() argument 802 dce120_hwseq_create( struct dc_context *ctx) dce120_hwseq_create() argument 816 dce121_hwseq_create( struct dc_context *ctx) dce121_hwseq_create() argument 863 dce120_mem_input_create( struct dc_context *ctx, uint32_t inst) dce120_mem_input_create() argument 879 dce120_transform_create( struct dc_context *ctx, uint32_t inst) dce120_transform_create() argument 1044 read_pipe_fuses(struct dc_context *ctx) read_pipe_fuses() argument 1059 struct dc_context *ctx = dc->ctx; dce120_resource_construct() local [all...] |
/third_party/node/lib/internal/ |
H A D | url.js | 324 [inspect.custom](recurseTimes, ctx) { 329 return ctx.stylize('[Object]', 'special'); 332 const innerOpts = { ...ctx }; 350 if (length > ctx.breakLength) { 715 const ctx = this[context]; 716 ctx.href = href; 730 ctx.protocol_end = protocol_end; 731 ctx.username_end = username_end; 732 ctx.host_start = host_start; 733 ctx [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5-cache.c | 1633 struct r5l_recovery_ctx *ctx) in r5l_recovery_allocate_ra_pool() 1637 ctx->ra_bio = bio_alloc_bioset(GFP_KERNEL, BIO_MAX_PAGES, &log->bs); in r5l_recovery_allocate_ra_pool() 1638 if (!ctx->ra_bio) in r5l_recovery_allocate_ra_pool() 1641 ctx->valid_pages = 0; in r5l_recovery_allocate_ra_pool() 1642 ctx->total_pages = 0; in r5l_recovery_allocate_ra_pool() 1643 while (ctx->total_pages < R5L_RECOVERY_PAGE_POOL_SIZE) { in r5l_recovery_allocate_ra_pool() 1648 ctx->ra_pool[ctx->total_pages] = page; in r5l_recovery_allocate_ra_pool() 1649 ctx->total_pages += 1; in r5l_recovery_allocate_ra_pool() 1652 if (ctx in r5l_recovery_allocate_ra_pool() 1632 r5l_recovery_allocate_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_allocate_ra_pool() argument 1661 r5l_recovery_free_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_free_ra_pool() argument 1677 r5l_recovery_fetch_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx, sector_t offset) r5l_recovery_fetch_ra_pool() argument 1707 r5l_recovery_read_page(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct page *page, sector_t offset) r5l_recovery_read_page() argument 1731 r5l_recovery_read_meta_block(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_read_meta_block() argument 1810 r5l_recovery_load_data(struct r5l_log *log, struct stripe_head *sh, struct r5l_recovery_ctx *ctx, struct r5l_payload_data_parity *payload, sector_t log_offset) r5l_recovery_load_data() argument 1832 r5l_recovery_load_parity(struct r5l_log *log, struct stripe_head *sh, struct r5l_recovery_ctx *ctx, struct r5l_payload_data_parity *payload, sector_t log_offset) r5l_recovery_load_parity() argument 1869 r5l_recovery_replay_one_stripe(struct r5conf *conf, struct stripe_head *sh, struct r5l_recovery_ctx *ctx) r5l_recovery_replay_one_stripe() argument 1955 r5c_recovery_drop_stripes(struct list_head *cached_stripe_list, struct r5l_recovery_ctx *ctx) r5c_recovery_drop_stripes() argument 1968 r5c_recovery_replay_stripes(struct list_head *cached_stripe_list, struct r5l_recovery_ctx *ctx) r5c_recovery_replay_stripes() argument 1983 r5l_recovery_verify_data_checksum(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct page *page, sector_t log_offset, __le32 log_checksum) r5l_recovery_verify_data_checksum() argument 2003 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_verify_data_checksum_for_mb() argument 2076 r5c_recovery_analyze_meta_block(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct list_head *cached_stripe_list) r5c_recovery_analyze_meta_block() argument 2241 r5c_recovery_flush_log(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_flush_log() argument 2352 r5c_recovery_rewrite_data_only_stripes(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_rewrite_data_only_stripes() argument 2425 r5c_recovery_flush_data_only_stripes(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_flush_data_only_stripes() argument 2461 struct r5l_recovery_ctx *ctx; r5l_recovery_log() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | ccm.c | 89 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey() local 90 struct crypto_skcipher *ctr = ctx->ctr; in crypto_ccm_setkey() 91 struct crypto_ahash *mac = ctx->mac; in crypto_ccm_setkey() 172 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth() local 198 ahash_request_set_tfm(ahreq, ctx->mac); in crypto_ccm_auth() 287 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt() local 308 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 347 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt() local 373 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 396 struct crypto_ccm_ctx *ctx in crypto_ccm_init_tfm() local 430 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); crypto_ccm_exit_tfm() local 438 struct ccm_instance_ctx *ctx = aead_instance_ctx(inst); crypto_ccm_free() local 571 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); crypto_rfc4309_setkey() local 589 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); crypto_rfc4309_setauthsize() local 608 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); crypto_rfc4309_crypt() local 671 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); crypto_rfc4309_init_tfm() local 694 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); crypto_rfc4309_exit_tfm() local 780 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); crypto_cbcmac_digest_setkey() local 787 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_init() local 802 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_update() local 828 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_final() local 845 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cbcmac_init_tfm() local 858 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cbcmac_exit_tfm() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 404 #define CTX ctx 447 struct dc_context *ctx, in read_dce_straps() 458 struct dc_context *ctx, unsigned int inst) in create_audio() 460 return dce_audio_create(ctx, inst, in create_audio() 465 struct dc_context *ctx, in dce100_timing_generator_create() 475 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce100_timing_generator_create() 481 struct dc_context *ctx) in dce100_stream_encoder_create() 489 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce100_stream_encoder_create() 510 struct dc_context *ctx) in dce100_hwseq_create() 446 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 457 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument 464 dce100_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce100_timing_generator_create() argument 479 dce100_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce100_stream_encoder_create() argument 509 dce100_hwseq_create( struct dc_context *ctx) dce100_hwseq_create() argument 561 dce100_mem_input_create( struct dc_context *ctx, uint32_t inst) dce100_mem_input_create() argument 584 dce100_transform_create( struct dc_context *ctx, uint32_t inst) dce100_transform_create() argument 599 dce100_ipp_create( struct dc_context *ctx, uint32_t inst) dce100_ipp_create() argument 660 dce100_opp_create( struct dc_context *ctx, uint32_t inst) dce100_opp_create() argument 675 dce100_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce100_aux_engine_create() argument 713 dce100_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce100_i2c_hw_create() argument 728 dce100_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce100_clock_source_create() argument 990 struct dc_context *ctx = dc->ctx; dce100_resource_construct() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | ccm.c | 90 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey() local 91 struct crypto_skcipher *ctr = ctx->ctr; in crypto_ccm_setkey() 92 struct crypto_ahash *mac = ctx->mac; in crypto_ccm_setkey() 173 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth() local 199 ahash_request_set_tfm(ahreq, ctx->mac); in crypto_ccm_auth() 288 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt() local 309 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 347 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt() local 373 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 396 struct crypto_ccm_ctx *ctx in crypto_ccm_init_tfm() local 430 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); crypto_ccm_exit_tfm() local 438 struct ccm_instance_ctx *ctx = aead_instance_ctx(inst); crypto_ccm_free() local 571 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); crypto_rfc4309_setkey() local 589 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); crypto_rfc4309_setauthsize() local 608 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); crypto_rfc4309_crypt() local 671 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); crypto_rfc4309_init_tfm() local 694 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); crypto_rfc4309_exit_tfm() local 780 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); crypto_cbcmac_digest_setkey() local 787 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_init() local 802 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_update() local 828 struct cbcmac_desc_ctx *ctx = shash_desc_ctx(pdesc); crypto_cbcmac_digest_final() local 845 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cbcmac_init_tfm() local 858 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cbcmac_exit_tfm() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_acrossover.c | 80 int (*filter_channels)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 112 static int query_formats(AVFilterContext *ctx) in query_formats() argument 114 AudioCrossoverContext *s = ctx->priv; in query_formats() 125 int ret = ff_set_common_all_channel_counts(ctx); in query_formats() 142 ret = ff_set_common_formats_from_list(ctx, sample_fmts_list); in query_formats() 146 return ff_set_common_all_samplerates(ctx); in query_formats() 149 static int parse_gains(AVFilterContext *ctx) in parse_gains() argument 151 AudioCrossoverContext *s = ctx->priv; in parse_gains() 167 av_log(ctx, AV_LOG_ERROR, "Invalid syntax for gain[%d].\n", i); in parse_gains() 184 static av_cold int init(AVFilterContext *ctx) in init() argument 472 AVFilterContext *ctx = inlink->dst; config_input() local 522 AVFilterContext *ctx = inlink->dst; filter_frame() local 562 activate(AVFilterContext *ctx) activate() argument 605 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_openssl.c | 120 SSL_CTX *ctx; member 128 SSL_CTX *ctx; member 138 SSL_CTX *ctx; member 147 SSL_CTX *ctx; member 819 coap_set_user_prefs(SSL_CTX *ctx) { in coap_set_user_prefs() argument 820 SSL_CTX_set_cipher_list(ctx, COAP_OPENSSL_CIPHERS); in coap_set_user_prefs() 823 SSL_CTX_set1_sigalgs_list(ctx, COAP_OPENSSL_SIGALGS); in coap_set_user_prefs() 824 SSL_CTX_set1_client_sigalgs_list(ctx, COAP_OPENSSL_SIGALGS); in coap_set_user_prefs() 828 SSL_CTX_set1_groups_list(ctx, COAP_OPENSSL_GROUPS); in coap_set_user_prefs() 844 context->dtls.ctx in coap_dtls_new_context() 1123 setup_pki_server(SSL_CTX *ctx, const coap_dtls_pki_t *setup_data ) setup_pki_server() argument 1524 SSL_CTX *ctx = SSL_get_SSL_CTX(ssl); setup_pki_ssl() local 1612 SSL_CTX *ctx = SSL_get_SSL_CTX(ssl); setup_pki_ssl() local 1673 SSL_CTX *ctx = SSL_get_SSL_CTX(ssl); setup_pki_ssl() local 1805 SSL_CTX *ctx = SSL_get_SSL_CTX(ssl); setup_pki_ssl() local 1830 SSL_CTX *ctx = SSL_get_SSL_CTX(ssl); setup_pki_ssl() local 1914 tls_verify_call_back(int preverify_ok, X509_STORE_CTX *ctx) tls_verify_call_back() argument 2139 SSL_CTX *ctx; tls_server_name_call_back() local 2236 SSL_CTX *ctx; psk_tls_server_name_call_back() local 2632 coap_dtls_context_set_pki(coap_context_t *ctx, const coap_dtls_pki_t *setup_data, const coap_dtls_role_t role ) coap_dtls_context_set_pki() argument 2742 coap_dtls_context_set_pki_root_cas(coap_context_t *ctx, const char *ca_file, const char *ca_dir ) coap_dtls_context_set_pki_root_cas() argument 2768 coap_dtls_context_check_keys_enabled(coap_context_t *ctx) coap_dtls_context_check_keys_enabled() argument 3798 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); coap_crypto_aead_encrypt() local 3868 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); coap_crypto_aead_decrypt() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 54 * @ctx: OP-TEE context handler. 59 struct tee_context *ctx; member 105 if (!pvt_data.ctx) in tee_bnxt_fw_load() 110 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_fw_load() 140 if (!pvt_data.ctx) in tee_bnxt_copy_coredump() 154 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_copy_coredump() 194 pvt_data.ctx = tee_client_open_context(NULL, optee_ctx_match, NULL, in tee_bnxt_fw_probe() 196 if (IS_ERR(pvt_data.ctx)) in tee_bnxt_fw_probe() 204 ret = tee_client_open_session(pvt_data.ctx, &sess_arg, NULL); in tee_bnxt_fw_probe() 215 fw_shm_pool = tee_shm_alloc_kernel_buf(pvt_data.ctx, MAX_SHM_MEM_S in tee_bnxt_fw_probe() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 26 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn() argument 28 if (!exit_addr || is_offset_in_branch_range(exit_addr - (ctx->idx * 4))) { in bpf_jit_emit_exit_insn() 30 } else if (ctx->alt_exit_addr) { in bpf_jit_emit_exit_insn() 31 if (WARN_ON(!is_offset_in_branch_range((long)ctx->alt_exit_addr - (ctx->idx * 4)))) in bpf_jit_emit_exit_insn() 33 PPC_JMP(ctx->alt_exit_addr); in bpf_jit_emit_exit_insn() 35 ctx->alt_exit_addr = ctx->idx * 4; in bpf_jit_emit_exit_insn() 36 bpf_jit_build_epilogue(image, ctx); in bpf_jit_emit_exit_insn() 47 struct codegen_context ctx; member 233 bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, int pass, struct codegen_context *ctx, int insn_idx, int jmp_off, int dst_reg) bpf_add_extable_entry() argument [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | map_perf_ring.c | 74 struct event_pipe_ctx *ctx = private_data; in print_bpf_output() local 75 int idx = ctx->all_cpus ? cpu : ctx->idx; in print_bpf_output() 129 struct event_pipe_ctx ctx = { in do_event_pipe() local 158 ctx.cpu = strtoul(*argv, &endptr, 0); in do_event_pipe() 169 ctx.idx = strtoul(*argv, &endptr, 0); in do_event_pipe() 181 ctx.all_cpus = false; in do_event_pipe() 184 if (!ctx.all_cpus) { in do_event_pipe() 185 if (ctx.idx == -1 || ctx in do_event_pipe() [all...] |
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | dir.c | 83 struct dir_context *ctx, in do_isofs_readdir() 98 offset = ctx->pos & (bufsize - 1); in do_isofs_readdir() 99 block = ctx->pos >> bufbits; in do_isofs_readdir() 101 while (ctx->pos < inode->i_size) { in do_isofs_readdir() 123 ctx->pos = (ctx->pos + ISOFS_BLOCK_SIZE) & ~(ISOFS_BLOCK_SIZE - 1); in do_isofs_readdir() 124 block = ctx->pos >> bufbits; in do_isofs_readdir() 169 ctx->pos += de_len; in do_isofs_readdir() 176 if (!dir_emit_dot(file, ctx)) in do_isofs_readdir() 178 ctx in do_isofs_readdir() 82 do_isofs_readdir(struct inode *inode, struct file *file, struct dir_context *ctx, char *tmpname, struct iso_directory_record *tmpde) do_isofs_readdir() argument 251 isofs_readdir(struct file *file, struct dir_context *ctx) isofs_readdir() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/ |
H A D | vbva_base.c | 47 static void vbva_buffer_flush(struct gen_pool *ctx) in vbva_buffer_flush() argument 51 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_FLUSH); in vbva_buffer_flush() 57 hgsmi_buffer_submit(ctx, p); in vbva_buffer_flush() 58 hgsmi_buffer_free(ctx, p); in vbva_buffer_flush() 61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write() argument 81 vbva_buffer_flush(ctx); in vbva_write() 108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host() 113 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_ENABLE); in vbva_inform_host() 125 hgsmi_buffer_submit(ctx, p); in vbva_inform_host() 132 hgsmi_buffer_free(ctx, in vbva_inform_host() 107 vbva_inform_host(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen, bool enable) vbva_inform_host() argument 137 vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, struct vbva_buffer *vbva, s32 screen) vbva_enable() argument 154 vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen) vbva_disable() argument 164 vbva_buffer_begin_update(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx) vbva_buffer_begin_update() argument [all...] |
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | dir.c | 83 struct dir_context *ctx, in do_isofs_readdir() 98 offset = ctx->pos & (bufsize - 1); in do_isofs_readdir() 99 block = ctx->pos >> bufbits; in do_isofs_readdir() 101 while (ctx->pos < inode->i_size) { in do_isofs_readdir() 123 ctx->pos = (ctx->pos + ISOFS_BLOCK_SIZE) & ~(ISOFS_BLOCK_SIZE - 1); in do_isofs_readdir() 124 block = ctx->pos >> bufbits; in do_isofs_readdir() 169 ctx->pos += de_len; in do_isofs_readdir() 176 if (!dir_emit_dot(file, ctx)) in do_isofs_readdir() 178 ctx in do_isofs_readdir() 82 do_isofs_readdir(struct inode *inode, struct file *file, struct dir_context *ctx, char *tmpname, struct iso_directory_record *tmpde) do_isofs_readdir() argument 249 isofs_readdir(struct file *file, struct dir_context *ctx) isofs_readdir() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 54 * @ctx: OP-TEE context handler. 59 struct tee_context *ctx; member 105 if (!pvt_data.ctx) in tee_bnxt_fw_load() 110 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_fw_load() 140 if (!pvt_data.ctx) in tee_bnxt_copy_coredump() 154 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_copy_coredump() 194 pvt_data.ctx = tee_client_open_context(NULL, optee_ctx_match, NULL, in tee_bnxt_fw_probe() 196 if (IS_ERR(pvt_data.ctx)) in tee_bnxt_fw_probe() 204 ret = tee_client_open_session(pvt_data.ctx, &sess_arg, NULL); in tee_bnxt_fw_probe() 215 fw_shm_pool = tee_shm_alloc_kernel_buf(pvt_data.ctx, MAX_SHM_MEM_S in tee_bnxt_fw_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_dbgfs.c | 14 static void mtk_vdec_dbgfs_get_format_type(struct mtk_vcodec_dec_ctx *ctx, char *buf, in mtk_vdec_dbgfs_get_format_type() argument 19 switch (ctx->current_codec) { in mtk_vdec_dbgfs_get_format_type() 35 ctx->current_codec); in mtk_vdec_dbgfs_get_format_type() 39 switch (ctx->capture_fourcc) { in mtk_vdec_dbgfs_get_format_type() 51 ctx->capture_fourcc); in mtk_vdec_dbgfs_get_format_type() 95 struct mtk_vcodec_dec_ctx *ctx; in mtk_vdec_dbgfs_read() local 117 ctx = dbgfs_inst->vcodec_ctx; in mtk_vdec_dbgfs_read() 120 "inst[%d]:\n ", ctx->id); in mtk_vdec_dbgfs_read() 126 ctx->picinfo.pic_w, ctx in mtk_vdec_dbgfs_read() 147 mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx) mtk_vcodec_dbgfs_create() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_wb.c | 52 static void dpu_hw_wb_setup_outaddress(struct dpu_hw_wb *ctx, in dpu_hw_wb_setup_outaddress() argument 55 struct dpu_hw_blk_reg_map *c = &ctx->hw; in dpu_hw_wb_setup_outaddress() 63 static void dpu_hw_wb_setup_format(struct dpu_hw_wb *ctx, in dpu_hw_wb_setup_format() argument 66 struct dpu_hw_blk_reg_map *c = &ctx->hw; in dpu_hw_wb_setup_format() 85 !(ctx->caps->features & BIT(DPU_WB_PIPE_ALPHA))) in dpu_hw_wb_setup_format() 123 static void dpu_hw_wb_roi(struct dpu_hw_wb *ctx, struct dpu_hw_wb_cfg *wb) in dpu_hw_wb_roi() argument 125 struct dpu_hw_blk_reg_map *c = &ctx->hw; in dpu_hw_wb_roi() 137 static void dpu_hw_wb_setup_qos_lut(struct dpu_hw_wb *ctx, in dpu_hw_wb_setup_qos_lut() argument 140 if (!ctx || !cfg) in dpu_hw_wb_setup_qos_lut() 143 _dpu_hw_setup_qos_lut(&ctx in dpu_hw_wb_setup_qos_lut() 148 dpu_hw_wb_setup_cdp(struct dpu_hw_wb *ctx, const struct dpu_format *fmt, bool enable) dpu_hw_wb_setup_cdp() argument 158 dpu_hw_wb_bind_pingpong_blk( struct dpu_hw_wb *ctx, const enum dpu_pingpong pp) dpu_hw_wb_bind_pingpong_blk() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/ |
H A D | vbva_base.c | 47 static void vbva_buffer_flush(struct gen_pool *ctx) in vbva_buffer_flush() argument 51 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_FLUSH); in vbva_buffer_flush() 57 hgsmi_buffer_submit(ctx, p); in vbva_buffer_flush() 58 hgsmi_buffer_free(ctx, p); in vbva_buffer_flush() 61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write() argument 81 vbva_buffer_flush(ctx); in vbva_write() 108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host() 113 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_ENABLE); in vbva_inform_host() 125 hgsmi_buffer_submit(ctx, p); in vbva_inform_host() 132 hgsmi_buffer_free(ctx, in vbva_inform_host() 107 vbva_inform_host(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen, bool enable) vbva_inform_host() argument 137 vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, struct vbva_buffer *vbva, s32 screen) vbva_enable() argument 154 vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen) vbva_disable() argument 164 vbva_buffer_begin_update(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx) vbva_buffer_begin_update() argument [all...] |
/third_party/ffmpeg/tests/api/ |
H A D | api-flac-test.c | 55 AVCodecContext *ctx; in init_encoder() local 62 ctx = avcodec_alloc_context3(enc); in init_encoder() 63 if (!ctx) { in init_encoder() 68 ctx->sample_fmt = AV_SAMPLE_FMT_S16; in init_encoder() 69 ctx->sample_rate = sample_rate; in init_encoder() 70 av_channel_layout_copy(&ctx->ch_layout, ch_layout); in init_encoder() 72 result = avcodec_open2(ctx, enc, NULL); in init_encoder() 74 av_log(ctx, AV_LOG_ERROR, "Can't open encoder\n"); in init_encoder() 78 *enc_ctx = ctx; in init_encoder() 85 AVCodecContext *ctx; in init_decoder() local [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | sorted-usec-list.c | 188 lws_sul_nonmonotonic_adjust(struct lws_context *ctx, int64_t step_us) in lws_sul_nonmonotonic_adjust() argument 190 struct lws_context_per_thread *pt = &ctx->pt[0]; in lws_sul_nonmonotonic_adjust() 197 for (m = 0; m < ctx->count_threads; m++) { in lws_sul_nonmonotonic_adjust() 242 lws_sul_earliest_wakeable_event(struct lws_context *ctx, lws_usec_t *pearliest) in lws_sul_earliest_wakeable_event() argument 248 for (n = 0; n < ctx->count_threads; n++) { in lws_sul_earliest_wakeable_event() 249 pt = &ctx->pt[n]; in lws_sul_earliest_wakeable_event() 278 lws_sul_schedule(struct lws_context *ctx, int tsi, lws_sorted_usec_list_t *sul, in lws_sul_schedule() argument 281 struct lws_context_per_thread *_pt = &ctx->pt[tsi]; in lws_sul_schedule() 292 lws_sul2_schedule(ctx, tsi, LWSSULLI_MISS_IF_SUSPENDED, sul); in lws_sul_schedule() 299 lws_sul_schedule_wakesuspend(struct lws_context *ctx, in argument 330 lws_sul_debug_zombies(struct lws_context *ctx, void *po, size_t len, const char *destroy_description) lws_sul_debug_zombies() argument [all...] |
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/ |
H A D | d3d12_wgl_framebuffer.cpp | 68 pipe_context *ctx) in d3d12_wgl_framebuffer_destroy() 73 if (ctx) { in d3d12_wgl_framebuffer_destroy() 75 ctx->flush(ctx, &fence, PIPE_FLUSH_HINT_FINISH); in d3d12_wgl_framebuffer_destroy() 77 ctx->screen->fence_finish(ctx->screen, ctx, fence, PIPE_TIMEOUT_INFINITE); in d3d12_wgl_framebuffer_destroy() 78 ctx->screen->fence_reference(ctx->screen, &fence, NULL); in d3d12_wgl_framebuffer_destroy() 94 pipe_context *ctx, in d3d12_wgl_framebuffer_resize() 67 d3d12_wgl_framebuffer_destroy(struct stw_winsys_framebuffer *fb, pipe_context *ctx) d3d12_wgl_framebuffer_destroy() argument 93 d3d12_wgl_framebuffer_resize(stw_winsys_framebuffer *fb, pipe_context *ctx, pipe_resource *templ) d3d12_wgl_framebuffer_resize() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_image.c | 67 fd6_ssbo_descriptor(struct fd_context *ctx, in fd6_ssbo_descriptor() argument 72 ctx->screen->info->a6xx.storage_16bit ? PIPE_FORMAT_R16_UINT in fd6_ssbo_descriptor() 79 fd6_emit_image_descriptor(struct fd_context *ctx, struct fd_ringbuffer *ring, const struct pipe_image_view *buf, bool ibo) in fd6_emit_image_descriptor() argument 124 ctx->screen->info->a6xx.has_z24uint_s8uint); in fd6_emit_image_descriptor() 133 fd6_emit_image_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd6_emit_image_tex() argument 136 fd6_emit_image_descriptor(ctx, ring, pimg, false); in fd6_emit_image_tex() 140 fd6_emit_ssbo_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd6_emit_ssbo_tex() argument 144 fd6_ssbo_descriptor(ctx, pbuf, descriptor); in fd6_emit_ssbo_tex() 150 fd6_build_ibo_state(struct fd_context *ctx, const struct ir3_shader_variant *v, in fd6_build_ibo_state() argument 153 struct fd_shaderbuf_stateobj *bufso = &ctx in fd6_build_ibo_state() 182 struct fd_context *ctx = fd_context(pctx); global() variable [all...] |
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | a_verify.c | 30 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in ASN1_verify() local 35 if (ctx == NULL) { in ASN1_verify() 64 ret = EVP_VerifyInit_ex(ctx, type, NULL) in ASN1_verify() 65 && EVP_VerifyUpdate(ctx, (unsigned char *)buf_in, inl); in ASN1_verify() 75 if (EVP_VerifyFinal(ctx, (unsigned char *)signature->data, in ASN1_verify() 83 EVP_MD_CTX_free(ctx); in ASN1_verify() 101 EVP_MD_CTX *ctx; in ASN1_item_verify_ex() local 104 if ((ctx = evp_md_ctx_new_ex(pkey, id, libctx, propq)) != NULL) { in ASN1_item_verify_ex() 105 rv = ASN1_item_verify_ctx(it, alg, signature, data, ctx); in ASN1_item_verify_ex() 106 EVP_PKEY_CTX_free(EVP_MD_CTX_get_pkey_ctx(ctx)); in ASN1_item_verify_ex() 112 ASN1_item_verify_ctx(const ASN1_ITEM *it, const X509_ALGOR *alg, const ASN1_BIT_STRING *signature, const void *data, EVP_MD_CTX *ctx) ASN1_item_verify_ctx() argument [all...] |