/kernel/linux/linux-6.6/fs/coda/ |
H A D | dir.c | 348 static int coda_venus_readdir(struct file *coda_file, struct dir_context *ctx) in coda_venus_readdir() argument 368 if (!dir_emit_dots(coda_file, ctx)) in coda_venus_readdir() 372 loff_t pos = ctx->pos - 2; in coda_venus_readdir() 410 if (!dir_emit(ctx, name.name, name.len, ino, type)) in coda_venus_readdir() 415 ctx->pos += vdir->d_reclen; in coda_venus_readdir() 423 static int coda_readdir(struct file *coda_file, struct dir_context *ctx) in coda_readdir() argument 437 ret = host_file->f_op->iterate_shared(host_file, ctx); in coda_readdir() 444 return coda_venus_readdir(coda_file, ctx); in coda_readdir()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nfs_fs.h | 439 extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx); 440 extern void put_nfs_open_context(struct nfs_open_context *ctx); 443 extern void nfs_inode_attach_open_context(struct nfs_open_context *ctx); 444 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx); 446 extern struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx); 528 struct nfs_open_context *ctx = in nfs_file_cred() local 530 if (ctx) in nfs_file_cred() 531 return ctx->cred; in nfs_file_cred()
|
/kernel/linux/linux-6.6/drivers/clk/rockchip/ |
H A D | clk-rk3036.c | 438 struct rockchip_clk_provider *ctx; in rk3036_clk_init() local 455 ctx = rockchip_clk_init(np, reg_base, CLK_NR_CLKS); in rk3036_clk_init() 456 if (IS_ERR(ctx)) { in rk3036_clk_init() 467 rockchip_clk_register_plls(ctx, rk3036_pll_clks, in rk3036_clk_init() 470 rockchip_clk_register_branches(ctx, rk3036_clk_branches, in rk3036_clk_init() 475 rockchip_clk_register_armclk(ctx, ARMCLK, "armclk", in rk3036_clk_init() 483 rockchip_register_restart_notifier(ctx, RK2928_GLB_SRST_FST, NULL); in rk3036_clk_init() 485 rockchip_clk_of_add_provider(np, ctx); in rk3036_clk_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubbub.c | 33 hubbub1->base.ctx 35 hubbub1->base.ctx->logger 132 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub3_program_watermarks() 279 struct dc *dc = hubbub->ctx->dc; in hubbub3_get_dcc_compression_cap() 378 uint32_t refclk_mhz = hubbub->ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in hubbub3_force_wm_propagate_to_pipes() 459 struct dc_context *ctx, in hubbub3_construct() 464 hubbub3->base.ctx = ctx; in hubbub3_construct() 458 hubbub3_construct(struct dcn20_hubbub *hubbub3, struct dc_context *ctx, const struct dcn_hubbub_registers *hubbub_regs, const struct dcn_hubbub_shift *hubbub_shift, const struct dcn_hubbub_mask *hubbub_mask) hubbub3_construct() argument
|
H A D | dcn30_dpp_cm.c | 37 dpp->base.ctx 51 if (dpp_base->ctx->dc->debug.cm_in_bypass) in dpp3_enable_cm_block() 135 if (dpp_base->ctx->dc->debug.enable_mem_low_power.bits.cm) { in dpp3_power_on_gamcor_lut() 140 dpp_base->ctx->dc->optimized_required = true; in dpp3_power_on_gamcor_lut() 230 if (dpp_base->ctx->dc->debug.enable_mem_low_power.bits.cm) in dpp3_program_gamcor_lut() 296 cm_helper_program_gamcor_xfer_func(dpp_base->ctx, params, &gam_regs); in dpp3_program_gamcor_lut() 355 dpp->base.ctx, in program_gamut_remap() 365 dpp->base.ctx, in program_gamut_remap()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dio_stream_encoder.c | 36 enc1->base.ctx->logger 49 enc1->base.ctx 70 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc32_stream_encoder_dvi_set_stream_attribute() 111 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc32_stream_encoder_hdmi_set_stream_attribute() 283 struct dc *dc = enc->ctx->dc; in enc32_stream_encoder_dp_unblank() 507 struct dc_context *ctx, in dcn32_dio_stream_encoder_construct() 517 enc1->base.ctx = ctx; in dcn32_dio_stream_encoder_construct() 505 dcn32_dio_stream_encoder_construct( struct dcn10_stream_encoder *enc1, struct dc_context *ctx, struct dc_bios *bp, enum engine_id eng_id, struct vpg *vpg, struct afmt *afmt, const struct dcn10_stream_enc_registers *regs, const struct dcn10_stream_encoder_shift *se_shift, const struct dcn10_stream_encoder_mask *se_mask) dcn32_dio_stream_encoder_construct() argument
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | padlock-sha.c | 35 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_init() local 37 dctx->fallback.tfm = ctx->fallback; in padlock_sha_init() 59 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_import() local 61 dctx->fallback.tfm = ctx->fallback; in padlock_sha_import() 197 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_init_tfm() local 209 ctx->fallback = fallback_tfm; in padlock_init_tfm() 216 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_exit_tfm() local 218 crypto_free_shash(ctx->fallback); in padlock_exit_tfm()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | pin_system.c | 268 static void sdma_mmu_rb_node_get(void *ctx) in sdma_mmu_rb_node_get() argument 270 struct mmu_rb_node *node = ctx; in sdma_mmu_rb_node_get() 275 static void sdma_mmu_rb_node_put(void *ctx) in sdma_mmu_rb_node_put() argument 277 struct sdma_mmu_node *node = ctx; in sdma_mmu_rb_node_put() 292 void *ctx; in add_mapping_to_sdma_packet() local 314 ctx = NULL; in add_mapping_to_sdma_packet() 322 ctx = cache_entry; in add_mapping_to_sdma_packet() 328 ctx, in add_mapping_to_sdma_packet()
|
/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/ |
H A D | pinctrl-aspeed.c | 75 static int aspeed_sig_expr_enable(struct aspeed_pinmux_data *ctx, in aspeed_sig_expr_enable() argument 83 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_enable() 88 return aspeed_sig_expr_set(ctx, expr, true); in aspeed_sig_expr_enable() 93 static int aspeed_sig_expr_disable(struct aspeed_pinmux_data *ctx, in aspeed_sig_expr_disable() argument 101 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_disable() 106 return aspeed_sig_expr_set(ctx, expr, false); in aspeed_sig_expr_disable() 115 * @ctx: The pinmux context 120 static int aspeed_disable_sig(struct aspeed_pinmux_data *ctx, in aspeed_disable_sig() argument 129 ret = aspeed_sig_expr_disable(ctx, *exprs); in aspeed_disable_sig()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_sched.c | 279 struct lima_ctx *ctx = in lima_sched_build_error_task_list() local 294 "error task list is full\n", ctx->pname, ctx->pid); in lima_sched_build_error_task_list() 301 size += sizeof(struct lima_dump_chunk) + sizeof(ctx->pname); in lima_sched_build_error_task_list() 339 chunk->size = sizeof(ctx->pname); in lima_sched_build_error_task_list() 340 memcpy(chunk + 1, ctx->pname, sizeof(ctx->pname)); in lima_sched_build_error_task_list() 346 pid_chunk->pid = ctx->pid; in lima_sched_build_error_task_list()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sprd/ |
H A D | megacores_pll.c | 107 int dphy_pll_config(struct dsi_context *ctx) in dphy_pll_config() argument 109 struct sprd_dsi *dsi = container_of(ctx, struct sprd_dsi, ctx); in dphy_pll_config() 110 struct regmap *regmap = ctx->regmap; in dphy_pll_config() 111 struct dphy_pll *pll = &ctx->pll; in dphy_pll_config() 214 void dphy_timing_config(struct dsi_context *ctx) in dphy_timing_config() argument 216 struct regmap *regmap = ctx->regmap; in dphy_timing_config() 217 struct dphy_pll *pll = &ctx->pll; in dphy_timing_config()
|
/kernel/linux/linux-6.6/mm/damon/ |
H A D | core-test.h | 39 static unsigned int nr_damon_targets(struct damon_ctx *ctx) in nr_damon_targets() argument 44 damon_for_each_target(t, ctx) in nr_damon_targets() 79 struct damon_ctx *ctx = damon_new_ctx(); in damon_test_aggregate() local 89 damon_add_target(ctx, t); in damon_test_aggregate() 93 damon_for_each_target(t, ctx) { in damon_test_aggregate() 101 kdamond_reset_aggregated(ctx); in damon_test_aggregate() 103 damon_for_each_target(t, ctx) { in damon_test_aggregate() 117 damon_destroy_ctx(ctx); in damon_test_aggregate()
|
/third_party/ffmpeg/libavfilter/ |
H A D | framesync.c | 299 AVFilterContext *ctx = fs->parent; in consume_from_fifos() local 310 ret = ff_inlink_consume_frame(ctx->inputs[i], &frame); in consume_from_fifos() 317 ret = ff_inlink_acknowledge_status(ctx->inputs[i], &status, &pts); in consume_from_fifos() 326 if (nb_miss == nb_active && !ff_outlink_frame_wanted(ctx->outputs[0])) in consume_from_fifos() 330 ff_inlink_request_frame(ctx->inputs[i]); in consume_from_fifos() 373 AVFilterContext *ctx = fs->parent; in ff_framesync_dualinput_get() local 383 mainpic->pts = av_rescale_q(fs->pts, fs->time_base, ctx->outputs[0]->time_base); in ff_framesync_dualinput_get() 384 if (ctx->is_disabled) in ff_framesync_dualinput_get()
|
H A D | vf_pp7.c | 279 AVFilterContext *ctx = inlink->dst; in config_input() local 280 PP7Context *pp7 = ctx->priv; in config_input() 313 AVFilterContext *ctx = inlink->dst; in filter_frame() local 314 PP7Context *pp7 = ctx->priv; in filter_frame() 315 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 329 if (!ctx->is_disabled) { in filter_frame() 373 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 375 PP7Context *pp7 = ctx->priv; in uninit()
|
/third_party/mbedtls/library/ |
H A D | aesni.c | 82 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb() argument 87 const __m128i *rk = (const __m128i *) (ctx->buf + ctx->rk_offset); in mbedtls_aesni_crypt_ecb() 88 unsigned nr = ctx->nr; // Number of remaining rounds in mbedtls_aesni_crypt_ecb() 454 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb() argument 491 : "r" (ctx->nr), "r" (ctx->buf + ctx->rk_offset), "r" (mode), "r" (input), "r" (output) in mbedtls_aesni_crypt_ecb()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_s3tc.c | 61 ctx->_ImageTransferState || in _mesa_texstore_rgb_dxt1() 72 _mesa_texstore(ctx, dims, in _mesa_texstore_rgb_dxt1() 115 ctx->_ImageTransferState || in _mesa_texstore_rgba_dxt1() 125 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt1() 170 ctx->_ImageTransferState || in _mesa_texstore_rgba_dxt3() 180 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt3() 224 ctx->_ImageTransferState || in _mesa_texstore_rgba_dxt5() 234 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt5()
|
/third_party/mesa3d/src/intel/ds/ |
H A D | intel_driver_ds.cc | 129 Trace([](IntelRenderpassDataSource::TraceContext ctx) { 130 auto packet = ctx.NewTracePacket(); 132 ctx.Flush(); 155 sync_timestamp(IntelRenderpassDataSource::TraceContext &ctx, in sync_timestamp() argument 170 auto packet = ctx.NewTracePacket(); in sync_timestamp() 191 send_descriptors(IntelRenderpassDataSource::TraceContext &ctx, in send_descriptors() argument 206 auto packet = ctx.NewTracePacket(); in send_descriptors() 256 sync_timestamp(ctx, device); in send_descriptors()
|
/third_party/lwip/src/include/netif/ppp/ |
H A D | ppp_impl.h | 145 void (*connect) (ppp_pcb *pcb, void *ctx); 148 void (*listen) (ppp_pcb *pcb, void *ctx); 151 void (*disconnect) (ppp_pcb *pcb, void *ctx); 153 err_t (*free) (ppp_pcb *pcb, void *ctx); 155 err_t (*write)(ppp_pcb *pcb, void *ctx, struct pbuf *p); 157 err_t (*netif_output)(ppp_pcb *pcb, void *ctx, struct pbuf *p, u_short protocol); 159 void (*send_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp); 161 void (*recv_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp);
|
/third_party/node/deps/v8/src/d8/ |
H A D | async-hooks-wrapper.cc | 50 AsyncContext ctx; in AsyncHooks() local 51 ctx.execution_async_id = 1; in AsyncHooks() 52 ctx.trigger_async_id = 0; in AsyncHooks() 53 asyncContexts.push(ctx); in AsyncHooks() 210 AsyncContext ctx; in ShellPromiseHook() local 211 ctx.execution_async_id = in ShellPromiseHook() 216 ctx.trigger_async_id = in ShellPromiseHook() 222 hooks->asyncContexts.push(ctx); in ShellPromiseHook()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_query.c | 74 fd5_context(batch->ctx)->samples_passed_queries++; in occlusion_resume() 113 fd5_context(batch->ctx)->samples_passed_queries--; in occlusion_pause() 371 struct fd_context *ctx = fd_context(pctx); in fd5_create_batch_query() local 372 struct fd_screen *screen = ctx->screen; in fd5_create_batch_query() 428 q = fd_acc_create_query2(ctx, 0, 0, &perfcntr); in fd5_create_batch_query() 445 struct fd_context *ctx = fd_context(pctx); variable 447 ctx->create_query = fd_acc_create_query; 448 ctx->query_update_batch = fd_acc_query_update_batch;
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor_cs.c | 592 struct pipe_context *ctx = c->pipe; in cs_launch() local 600 ctx->set_shader_images(c->pipe, PIPE_SHADER_COMPUTE, 0, 1, 0, &image); in cs_launch() 603 ctx->bind_compute_state(ctx, cs); in cs_launch() 614 ctx->launch_grid(ctx, &info); in cs_launch() 617 ctx->memory_barrier(ctx, PIPE_BARRIER_ALL); in cs_launch()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | trace.c | 67 struct trace_data_st *ctx = BIO_get_data(channel); in trace_write() local 68 size_t cnt = ctx->callback(buf, num, ctx->category, OSSL_TRACE_CTRL_WRITE, in trace_write() 69 ctx->data); in trace_write() 87 struct trace_data_st *ctx = BIO_get_data(channel); in trace_ctrl() local 93 ctx->callback("", 0, ctx->category, cmd, ctx->data); in trace_ctrl()
|
/third_party/openssl/test/ |
H A D | tls13secretstest.c | 168 int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_cipher() argument 174 int ssl_cipher_get_evp(SSL_CTX *ctx, const SSL_SESSION *s, in ssl_cipher_get_evp() argument 196 const EVP_MD *ssl_md(SSL_CTX *ctx, int idx) in ssl_md() argument 276 SSL_CTX *ctx = NULL; in test_handshake_secrets() local 283 ctx = SSL_CTX_new(TLS_method()); in test_handshake_secrets() 284 if (!TEST_ptr(ctx)) in test_handshake_secrets() 287 s = SSL_new(ctx); in test_handshake_secrets() 400 SSL_CTX_free(ctx); in test_handshake_secrets()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferViewCreateTests.cpp | 69 BufferViewTestInstance (Context& ctx, in BufferViewTestInstance() argument 71 : TestInstance (ctx) in BufferViewTestInstance() 121 virtual TestInstance* createInstance (Context& ctx) const in createInstance() 123 return new BufferViewTestInstance(ctx, m_testCase); in createInstance() 125 virtual void checkSupport (Context& ctx) const in checkSupport() 129 ctx.getInstanceInterface().getPhysicalDeviceFormatProperties(ctx.getPhysicalDevice(), m_testCase.format, &properties); in checkSupport() 134 if (!ctx.isDeviceFunctionalitySupported("VK_KHR_dedicated_allocation")) in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineLogicOpTests.cpp | 164 void LogicOpTest::checkSupport (Context &ctx) const in checkSupport() 166 const auto& features = ctx.getDeviceFeatures(); in checkSupport() 171 checkPipelineConstructionRequirements(ctx.getInstanceInterface(), ctx.getPhysicalDevice(), m_params.pipelineConstructionType); in checkSupport() 173 if (!isSupportedColorAttachmentFormat(ctx.getInstanceInterface(), ctx.getPhysicalDevice(), m_params.format)) in checkSupport() 242 LogicOpTestInstance::LogicOpTestInstance (Context &ctx, const TestParams &testParams) in LogicOpTestInstance() argument 243 : vkt::TestInstance (ctx) in LogicOpTestInstance()
|