/third_party/node/deps/openssl/openssl/crypto/ct/ |
H A D | ct_policy.c | 31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local 33 if (ctx == NULL) { in CT_POLICY_EVAL_CTX_new_ex() 38 ctx->libctx = libctx; in CT_POLICY_EVAL_CTX_new_ex() 40 ctx->propq = OPENSSL_strdup(propq); in CT_POLICY_EVAL_CTX_new_ex() 41 if (ctx->propq == NULL) { in CT_POLICY_EVAL_CTX_new_ex() 43 OPENSSL_free(ctx); in CT_POLICY_EVAL_CTX_new_ex() 49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * in CT_POLICY_EVAL_CTX_new_ex() 52 return ctx; in CT_POLICY_EVAL_CTX_new_ex() 60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free() argument 62 if (ctx in CT_POLICY_EVAL_CTX_free() 70 CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) CT_POLICY_EVAL_CTX_set1_cert() argument 78 CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) CT_POLICY_EVAL_CTX_set1_issuer() argument 86 CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, CTLOG_STORE *log_store) CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() argument 92 CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) CT_POLICY_EVAL_CTX_set_time() argument 97 CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_cert() argument 102 CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_issuer() argument 107 CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_log_store() argument 112 CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get_time() argument [all...] |
/third_party/optimized-routines/math/test/rtest/ |
H A D | wrappers.h | 24 typedef void (*wrapperfunc)(wrapperctx *ctx); 48 void wrapper_init(wrapperctx *ctx); 51 void wrapper_op_real(wrapperctx *ctx, const mpfr_t r, 55 void wrapper_op_complex(wrapperctx *ctx, const mpc_t c, 59 void wrapper_result_real(wrapperctx *ctx, mpfr_t r, 64 void wrapper_result_complex(wrapperctx *ctx, mpc_t c, 67 int wrapper_run(wrapperctx *ctx, wrapperfunc wrappers[MAXWRAPPERS]); 75 mpfr_srcptr wrapper_get_mpfr(wrapperctx *ctx, int op); 76 const uint32 *wrapper_get_ieee(wrapperctx *ctx, int op); 78 mpc_srcptr wrapper_get_mpc(wrapperctx *ctx, in [all...] |
/third_party/openssl/crypto/ct/ |
H A D | ct_policy.c | 31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local 33 if (ctx == NULL) { in CT_POLICY_EVAL_CTX_new_ex() 38 ctx->libctx = libctx; in CT_POLICY_EVAL_CTX_new_ex() 40 ctx->propq = OPENSSL_strdup(propq); in CT_POLICY_EVAL_CTX_new_ex() 41 if (ctx->propq == NULL) { in CT_POLICY_EVAL_CTX_new_ex() 43 OPENSSL_free(ctx); in CT_POLICY_EVAL_CTX_new_ex() 49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * in CT_POLICY_EVAL_CTX_new_ex() 52 return ctx; in CT_POLICY_EVAL_CTX_new_ex() 60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free() argument 62 if (ctx in CT_POLICY_EVAL_CTX_free() 70 CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) CT_POLICY_EVAL_CTX_set1_cert() argument 78 CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) CT_POLICY_EVAL_CTX_set1_issuer() argument 86 CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, CTLOG_STORE *log_store) CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() argument 92 CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) CT_POLICY_EVAL_CTX_set_time() argument 97 CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_cert() argument 102 CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_issuer() argument 107 CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_log_store() argument 112 CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get_time() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texstate.c | 132 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ) in _mesa_print_texunit_state() argument 134 const struct gl_fixedfunc_texture_unit *texUnit = ctx->Texture.FixedFuncUnit + unit; in _mesa_print_texunit_state() 298 GET_CURRENT_CONTEXT(ctx); in active_texture() 301 _mesa_debug(ctx, "glActiveTexture %s\n", in active_texture() 304 if (ctx->Texture.CurrentUnit == texUnit) in active_texture() 308 GLuint k = _mesa_max_tex_unit(ctx); in active_texture() 310 assert(k <= ARRAY_SIZE(ctx->Texture.Unit)); in active_texture() 313 _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTexture(texture=%s)", in active_texture() 330 FLUSH_VERTICES(ctx, _NEW_TEXTURE_STATE, GL_TEXTURE_BIT); in active_texture() 332 ctx in active_texture() 394 _mesa_update_texture_matrices(struct gl_context *ctx) _mesa_update_texture_matrices() argument 524 update_tex_combine(struct gl_context *ctx, struct gl_texture_unit *texUnit, struct gl_fixedfunc_texture_unit *fftexUnit) update_tex_combine() argument 619 update_texgen(struct gl_context *ctx) update_texgen() argument 658 update_single_program_texture(struct gl_context *ctx, struct gl_program *prog, int unit) update_single_program_texture() argument 714 update_single_program_texture_state(struct gl_context *ctx, struct gl_program *prog, int unit, BITSET_WORD *enabled_texture_units) update_single_program_texture_state() argument 730 update_program_texture_state(struct gl_context *ctx, struct gl_program **prog, BITSET_WORD *enabled_texture_units) update_program_texture_state() argument 777 update_ff_texture_state(struct gl_context *ctx, BITSET_WORD *enabled_texture_units) update_ff_texture_state() argument 860 fix_missing_textures_for_atifs(struct gl_context *ctx, struct gl_program *prog, BITSET_WORD *enabled_texture_units) fix_missing_textures_for_atifs() argument 892 _mesa_update_texture_state(struct gl_context *ctx) _mesa_update_texture_state() argument 1028 _mesa_init_texture(struct gl_context *ctx) _mesa_init_texture() argument 1121 _mesa_free_texture_data(struct gl_context *ctx) _mesa_free_texture_data() argument 1154 _mesa_update_default_objects_texture(struct gl_context *ctx) _mesa_update_default_objects_texture() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboApiTests.cpp | 59 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) in checkError() argument 61 GLenum result = ctx.getError(); in checkError() 68 static void checkEitherError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expectA, GLenum expectB) in checkEitherError() argument 70 GLenum result = ctx.getError(); in checkEitherError() 124 static void checkFboAttachmentParam (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum attachment, GLenum pname, GLint expectedValue) in checkFboAttachmentParam() argument 130 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value); in checkFboAttachmentParam() 132 GLenum err = ctx.getError(); in checkFboAttachmentParam() 334 static void attachmentQueryDefaultFboTest (tcu::TestContext& testCtx, sglr::Context& ctx) in attachmentQueryDefaultFboTest() argument 338 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &unused); in attachmentQueryDefaultFboTest() 339 checkEitherError(testCtx, ctx, GL_INVALID_ENU in attachmentQueryDefaultFboTest() 348 attachmentQueryEmptyFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) attachmentQueryEmptyFboTest() argument 372 attachmentQueryTex2DTest(tcu::TestContext& testCtx, sglr::Context& ctx) attachmentQueryTex2DTest() argument 385 attachmentQueryTexCubeTest(tcu::TestContext& testCtx, sglr::Context& ctx) attachmentQueryTexCubeTest() argument 398 attachmentQueryRboTest(tcu::TestContext& testCtx, sglr::Context& ctx) attachmentQueryRboTest() argument 415 deleteTex2DAttachedToBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteTex2DAttachedToBoundFboTest() argument 431 deleteTexCubeAttachedToBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteTexCubeAttachedToBoundFboTest() argument 447 deleteRboAttachedToBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteRboAttachedToBoundFboTest() argument 463 deleteTex2DAttachedToNotBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteTex2DAttachedToNotBoundFboTest() argument 484 deleteTexCubeAttachedToNotBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteTexCubeAttachedToNotBoundFboTest() argument 505 deleteRboAttachedToNotBoundFboTest(tcu::TestContext& testCtx, sglr::Context& ctx) deleteRboAttachedToNotBoundFboTest() argument [all...] |
/kernel/linux/linux-5.10/drivers/phy/ |
H A D | phy-xgene.c | 593 static void cmu_wr(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_wr() argument 596 void __iomem *sds_base = ctx->sds_base; in cmu_wr() 610 static void cmu_rd(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_rd() argument 613 void __iomem *sds_base = ctx->sds_base; in cmu_rd() 624 static void cmu_toggle1to0(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_toggle1to0() argument 629 cmu_rd(ctx, cmu_type, reg, &val); in cmu_toggle1to0() 631 cmu_wr(ctx, cmu_type, reg, val); in cmu_toggle1to0() 632 cmu_rd(ctx, cmu_type, reg, &val); in cmu_toggle1to0() 634 cmu_wr(ctx, cmu_type, reg, val); in cmu_toggle1to0() 637 static void cmu_clrbits(struct xgene_phy_ctx *ctx, enu argument 647 cmu_setbits(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, u32 reg, u32 bits) cmu_setbits() argument 657 serdes_wr(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 data) serdes_wr() argument 672 serdes_rd(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 *data) serdes_rd() argument 683 serdes_clrbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 bits) serdes_clrbits() argument 693 serdes_setbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 bits) serdes_setbits() argument 703 xgene_phy_cfg_cmu_clk_type(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_cfg_cmu_clk_type() argument 757 xgene_phy_sata_cfg_cmu_core(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_sata_cfg_cmu_core() argument 912 xgene_phy_ssc_enable(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type) xgene_phy_ssc_enable() argument 938 xgene_phy_sata_cfg_lanes(struct xgene_phy_ctx *ctx) xgene_phy_sata_cfg_lanes() argument 1133 xgene_phy_cal_rdy_chk(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_cal_rdy_chk() argument 1233 xgene_phy_pdwn_force_vco(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_pdwn_force_vco() argument 1251 xgene_phy_hw_init_sata(struct xgene_phy_ctx *ctx, enum clk_type_t clk_type, int ssc_enable) xgene_phy_hw_init_sata() argument 1315 xgene_phy_hw_initialize(struct xgene_phy_ctx *ctx, enum clk_type_t clk_type, int ssc_enable) xgene_phy_hw_initialize() argument 1342 xgene_phy_force_lat_summer_cal(struct xgene_phy_ctx *ctx, int lane) xgene_phy_force_lat_summer_cal() argument 1408 xgene_phy_reset_rxd(struct xgene_phy_ctx *ctx, int lane) xgene_phy_reset_rxd() argument 1422 xgene_phy_gen_avg_val(struct xgene_phy_ctx *ctx, int lane) xgene_phy_gen_avg_val() argument 1580 struct xgene_phy_ctx *ctx = phy_get_drvdata(phy); xgene_phy_hw_init() local 1614 struct xgene_phy_ctx *ctx = dev_get_drvdata(dev); xgene_phy_xlate() local 1646 struct xgene_phy_ctx *ctx; xgene_phy_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/ |
H A D | phy-xgene.c | 594 static void cmu_wr(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_wr() argument 597 void __iomem *sds_base = ctx->sds_base; in cmu_wr() 611 static void cmu_rd(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_rd() argument 614 void __iomem *sds_base = ctx->sds_base; in cmu_rd() 625 static void cmu_toggle1to0(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, in cmu_toggle1to0() argument 630 cmu_rd(ctx, cmu_type, reg, &val); in cmu_toggle1to0() 632 cmu_wr(ctx, cmu_type, reg, val); in cmu_toggle1to0() 633 cmu_rd(ctx, cmu_type, reg, &val); in cmu_toggle1to0() 635 cmu_wr(ctx, cmu_type, reg, val); in cmu_toggle1to0() 638 static void cmu_clrbits(struct xgene_phy_ctx *ctx, enu argument 648 cmu_setbits(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, u32 reg, u32 bits) cmu_setbits() argument 658 serdes_wr(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 data) serdes_wr() argument 673 serdes_rd(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 *data) serdes_rd() argument 684 serdes_clrbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 bits) serdes_clrbits() argument 694 serdes_setbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 bits) serdes_setbits() argument 704 xgene_phy_cfg_cmu_clk_type(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_cfg_cmu_clk_type() argument 758 xgene_phy_sata_cfg_cmu_core(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_sata_cfg_cmu_core() argument 913 xgene_phy_ssc_enable(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type) xgene_phy_ssc_enable() argument 939 xgene_phy_sata_cfg_lanes(struct xgene_phy_ctx *ctx) xgene_phy_sata_cfg_lanes() argument 1135 xgene_phy_cal_rdy_chk(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_cal_rdy_chk() argument 1235 xgene_phy_pdwn_force_vco(struct xgene_phy_ctx *ctx, enum cmu_type_t cmu_type, enum clk_type_t clk_type) xgene_phy_pdwn_force_vco() argument 1253 xgene_phy_hw_init_sata(struct xgene_phy_ctx *ctx, enum clk_type_t clk_type, int ssc_enable) xgene_phy_hw_init_sata() argument 1317 xgene_phy_hw_initialize(struct xgene_phy_ctx *ctx, enum clk_type_t clk_type, int ssc_enable) xgene_phy_hw_initialize() argument 1344 xgene_phy_force_lat_summer_cal(struct xgene_phy_ctx *ctx, int lane) xgene_phy_force_lat_summer_cal() argument 1410 xgene_phy_reset_rxd(struct xgene_phy_ctx *ctx, int lane) xgene_phy_reset_rxd() argument 1424 xgene_phy_gen_avg_val(struct xgene_phy_ctx *ctx, int lane) xgene_phy_gen_avg_val() argument 1582 struct xgene_phy_ctx *ctx = phy_get_drvdata(phy); xgene_phy_hw_init() local 1616 struct xgene_phy_ctx *ctx = dev_get_drvdata(dev); xgene_phy_xlate() local 1648 struct xgene_phy_ctx *ctx; xgene_phy_probe() local [all...] |
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_core.c | 16 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument 18 const struct bpf_prog *prog = ctx->prog; in build_body() 25 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body() 30 offset[i] = ctx->ninsns; in build_body() 48 struct rv_jit_context *ctx; in bpf_int_jit_compile() local 72 ctx = &jit_data->ctx; in bpf_int_jit_compile() 74 if (ctx->offset) { in bpf_int_jit_compile() 76 image_size = sizeof(*ctx->insns) * ctx in bpf_int_jit_compile() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 24 static __inline int bind_to_device(struct bpf_sock_addr *ctx) in bind_to_device() argument 32 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 35 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 38 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 41 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 45 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 48 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 51 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 58 static __inline int bind_reuseport(struct bpf_sock_addr *ctx) in bind_reuseport() argument 62 if (bpf_setsockopt(ctx, SOL_SOCKE in bind_reuseport() 79 misc_opts(struct bpf_sock_addr *ctx, int opt) misc_opts() argument 99 bind_v4_prog(struct bpf_sock_addr *ctx) bind_v4_prog() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal.c | 300 static void cal_ctx_csi2_config(struct cal_ctx *ctx) in cal_ctx_csi2_config() argument 304 val = cal_read(ctx->cal, CAL_CSI2_CTX(ctx->phy->instance, ctx->csi2_ctx)); in cal_ctx_csi2_config() 305 cal_set_field(&val, ctx->cport, CAL_CSI2_CTX_CPORT_MASK); in cal_ctx_csi2_config() 314 cal_set_field(&val, ctx->datatype, CAL_CSI2_CTX_DT_MASK); in cal_ctx_csi2_config() 315 cal_set_field(&val, ctx->vc, CAL_CSI2_CTX_VC_MASK); in cal_ctx_csi2_config() 316 cal_set_field(&val, ctx->v_fmt.fmt.pix.height, CAL_CSI2_CTX_LINES_MASK); in cal_ctx_csi2_config() 320 cal_write(ctx->cal, CAL_CSI2_CTX(ctx in cal_ctx_csi2_config() 326 cal_ctx_pix_proc_config(struct cal_ctx *ctx) cal_ctx_pix_proc_config() argument 377 cal_ctx_wr_dma_config(struct cal_ctx *ctx) cal_ctx_wr_dma_config() argument 414 cal_ctx_set_dma_addr(struct cal_ctx *ctx, dma_addr_t addr) cal_ctx_set_dma_addr() argument 419 cal_ctx_wr_dma_enable(struct cal_ctx *ctx) cal_ctx_wr_dma_enable() argument 428 cal_ctx_wr_dma_disable(struct cal_ctx *ctx) cal_ctx_wr_dma_disable() argument 437 cal_ctx_wr_dma_stopped(struct cal_ctx *ctx) cal_ctx_wr_dma_stopped() argument 449 cal_get_remote_frame_desc_entry(struct cal_ctx *ctx, struct v4l2_mbus_frame_desc_entry *entry) cal_get_remote_frame_desc_entry() argument 473 cal_ctx_prepare(struct cal_ctx *ctx) cal_ctx_prepare() argument 508 cal_ctx_unprepare(struct cal_ctx *ctx) cal_ctx_unprepare() argument 514 cal_ctx_start(struct cal_ctx *ctx) cal_ctx_start() argument 549 cal_ctx_stop(struct cal_ctx *ctx) cal_ctx_stop() argument 601 cal_update_seq_number(struct cal_ctx *ctx) cal_update_seq_number() argument 624 cal_irq_wdma_start(struct cal_ctx *ctx) cal_irq_wdma_start() argument 658 cal_irq_wdma_end(struct cal_ctx *ctx) cal_irq_wdma_end() argument 688 cal_irq_handle_wdma(struct cal_ctx *ctx, bool start, bool end) cal_irq_handle_wdma() argument 1009 struct cal_ctx *ctx; cal_ctx_create() local 1031 cal_ctx_destroy(struct cal_ctx *ctx) cal_ctx_destroy() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | spufs.h | 37 /* ctx->sched_flags */ 118 /* updates protected by ctx->state_mutex */ 128 unsigned long long slb_flt_base; /* # at last ctx switch */ 130 unsigned long long class2_intr_base; /* # at last ctx switch */ 173 int (*mbox_read) (struct spu_context * ctx, u32 * data); 174 u32(*mbox_stat_read) (struct spu_context * ctx); 175 __poll_t (*mbox_stat_poll)(struct spu_context *ctx, __poll_t events); 176 int (*ibox_read) (struct spu_context * ctx, u32 * data); 177 int (*wbox_write) (struct spu_context * ctx, u32 data); 178 u32(*signal1_read) (struct spu_context * ctx); 259 spu_acquire(struct spu_context *ctx) spu_acquire() argument 264 spu_release(struct spu_context *ctx) spu_release() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_postproc.c | 55 bool hantro_needs_postproc(const struct hantro_ctx *ctx, in hantro_needs_postproc() argument 58 if (ctx->is_encoder) in hantro_needs_postproc() 61 if (ctx->need_postproc) in hantro_needs_postproc() 67 static void hantro_postproc_g1_enable(struct hantro_ctx *ctx) in hantro_postproc_g1_enable() argument 69 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_enable() 79 switch (ctx->vpu_dst_fmt->fourcc) { in hantro_postproc_g1_enable() 85 ctx->vpu_dst_fmt->fourcc); in hantro_postproc_g1_enable() 90 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in hantro_postproc_g1_enable() 98 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable() 99 HANTRO_PP_REG_WRITE(vpu, input_height, MB_HEIGHT(ctx in hantro_postproc_g1_enable() 108 down_scale_factor(struct hantro_ctx *ctx) down_scale_factor() argument 116 hantro_postproc_g2_enable(struct hantro_ctx *ctx) hantro_postproc_g2_enable() argument 157 hantro_postproc_g2_enum_framesizes(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize) hantro_postproc_g2_enum_framesizes() argument 177 hantro_postproc_free(struct hantro_ctx *ctx) hantro_postproc_free() argument 193 hantro_postproc_alloc(struct hantro_ctx *ctx) hantro_postproc_alloc() argument 241 hantro_postproc_g1_disable(struct hantro_ctx *ctx) hantro_postproc_g1_disable() argument 248 hantro_postproc_g2_disable(struct hantro_ctx *ctx) hantro_postproc_g2_disable() argument 255 hantro_postproc_disable(struct hantro_ctx *ctx) hantro_postproc_disable() argument 263 hantro_postproc_enable(struct hantro_ctx *ctx) hantro_postproc_enable() argument 271 hanto_postproc_enum_framesizes(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize) hanto_postproc_enum_framesizes() argument [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_hash.c | 32 mbedtls_md5_free(&operation->ctx.md5); in mbedtls_psa_hash_abort() 37 mbedtls_ripemd160_free(&operation->ctx.ripemd160); in mbedtls_psa_hash_abort() 42 mbedtls_sha1_free(&operation->ctx.sha1); in mbedtls_psa_hash_abort() 47 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort() 52 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort() 57 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort() 62 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort() 81 mbedtls_sha3_free(&operation->ctx.sha3); in mbedtls_psa_hash_abort() 105 mbedtls_md5_init(&operation->ctx.md5); in mbedtls_psa_hash_setup() 106 ret = mbedtls_md5_starts(&operation->ctx in mbedtls_psa_hash_setup() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_cts.c | 100 static size_t cts128_cs1_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_encrypt() argument 108 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_encrypt() 119 if (!ctx->hw->cipher(ctx, out - CTS_BLOCK_SIZE + residue, tmp_in.c, in cts128_cs1_encrypt() 134 static size_t cts128_cs1_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_decrypt() argument 143 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_decrypt() 150 if (!ctx->hw->cipher(ctx, ou in cts128_cs1_decrypt() 196 cts128_cs3_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_encrypt() argument 236 cts128_cs3_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_decrypt() argument 302 cts128_cs2_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_encrypt() argument 315 cts128_cs2_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_decrypt() argument 332 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; ossl_cipher_cbc_cts_block_update() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/digests/ |
H A D | sha3_prov.c | 57 /* The newctx() handles most of the ctx fixed setup. */ in keccak_init() 70 KECCAK1600_CTX *ctx = vctx; in keccak_update() local 71 const size_t bsz = ctx->block_size; in keccak_update() 78 if ((num = ctx->bufsz) != 0) { in keccak_update() 83 memcpy(ctx->buf + num, inp, len); in keccak_update() 84 ctx->bufsz += len; in keccak_update() 88 memcpy(ctx->buf + num, inp, rem); in keccak_update() 92 ctx->meth.absorb(ctx, ctx in keccak_update() 109 KECCAK1600_CTX *ctx = vctx; keccak_final() local 125 KECCAK1600_CTX *ctx = vctx; generic_sha3_absorb() local 152 KECCAK1600_CTX *ctx = vctx; s390x_sha3_absorb() local 161 KECCAK1600_CTX *ctx = vctx; s390x_sha3_final() local 172 KECCAK1600_CTX *ctx = vctx; s390x_shake_final() local 256 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; keccak_freectx() local 261 keccak_dupctx(void *ctx) keccak_dupctx() argument 276 shake_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) shake_settable_ctx_params() argument 285 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; shake_set_ctx_params() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 58 BIO_LINEBUFFER_CTX *ctx; in linebuffer_new() local 60 if ((ctx = OPENSSL_malloc(sizeof(*ctx))) == NULL) { in linebuffer_new() 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new() 65 if (ctx->obuf == NULL) { in linebuffer_new() 67 OPENSSL_free(ctx); in linebuffer_new() 70 ctx->obuf_size = DEFAULT_LINEBUFFER_SIZE; in linebuffer_new() 71 ctx->obuf_len = 0; in linebuffer_new() 74 bi->ptr = (char *)ctx; in linebuffer_new() 111 BIO_LINEBUFFER_CTX *ctx; in linebuffer_write() local 206 BIO_LINEBUFFER_CTX *ctx; linebuffer_ctrl() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_protect.c | 26 * using the credentials, library context, and property criteria in the ctx. 30 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, in ossl_cmp_calc_protection() argument 39 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_calc_protection() 62 if (ctx->secretValue == NULL) { in ossl_cmp_calc_protection() 86 if (!OSSL_CRMF_pbm_new(ctx->libctx, ctx->propq, in ossl_cmp_calc_protection() 88 ctx->secretValue->data, ctx->secretValue->length, in ossl_cmp_calc_protection() 110 if (ctx->pkey == NULL) { in ossl_cmp_calc_protection() 124 NULL, prot, &prot_part, NULL, ctx in ossl_cmp_calc_protection() 133 ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_add_extraCerts() argument 188 set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_pbmac_algor() argument 226 set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_sig_algor() argument 247 set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, const ASN1_OCTET_STRING *id) set_senderKID() argument 256 ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_protect() argument [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 58 BIO_LINEBUFFER_CTX *ctx; in linebuffer_new() local 60 if ((ctx = OPENSSL_malloc(sizeof(*ctx))) == NULL) { in linebuffer_new() 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new() 65 if (ctx->obuf == NULL) { in linebuffer_new() 67 OPENSSL_free(ctx); in linebuffer_new() 70 ctx->obuf_size = DEFAULT_LINEBUFFER_SIZE; in linebuffer_new() 71 ctx->obuf_len = 0; in linebuffer_new() 74 bi->ptr = (char *)ctx; in linebuffer_new() 111 BIO_LINEBUFFER_CTX *ctx; in linebuffer_write() local 206 BIO_LINEBUFFER_CTX *ctx; linebuffer_ctrl() local [all...] |
/third_party/openssl/crypto/cmp/ |
H A D | cmp_protect.c | 26 * using the credentials, library context, and property criteria in the ctx. 30 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, in ossl_cmp_calc_protection() argument 39 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_calc_protection() 62 if (ctx->secretValue == NULL) { in ossl_cmp_calc_protection() 86 if (!OSSL_CRMF_pbm_new(ctx->libctx, ctx->propq, in ossl_cmp_calc_protection() 88 ctx->secretValue->data, ctx->secretValue->length, in ossl_cmp_calc_protection() 110 if (ctx->pkey == NULL) { in ossl_cmp_calc_protection() 124 NULL, prot, &prot_part, NULL, ctx in ossl_cmp_calc_protection() 133 ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_add_extraCerts() argument 188 set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_pbmac_algor() argument 226 set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_sig_algor() argument 247 set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, const ASN1_OCTET_STRING *id) set_senderKID() argument 256 ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_protect() argument [all...] |
/third_party/openssl/providers/implementations/digests/ |
H A D | sha3_prov.c | 57 /* The newctx() handles most of the ctx fixed setup. */ in keccak_init() 70 KECCAK1600_CTX *ctx = vctx; in keccak_update() local 71 const size_t bsz = ctx->block_size; in keccak_update() 78 if ((num = ctx->bufsz) != 0) { in keccak_update() 83 memcpy(ctx->buf + num, inp, len); in keccak_update() 84 ctx->bufsz += len; in keccak_update() 88 memcpy(ctx->buf + num, inp, rem); in keccak_update() 92 ctx->meth.absorb(ctx, ctx in keccak_update() 109 KECCAK1600_CTX *ctx = vctx; keccak_final() local 125 KECCAK1600_CTX *ctx = vctx; generic_sha3_absorb() local 152 KECCAK1600_CTX *ctx = vctx; s390x_sha3_absorb() local 161 KECCAK1600_CTX *ctx = vctx; s390x_sha3_final() local 172 KECCAK1600_CTX *ctx = vctx; s390x_shake_final() local 256 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; keccak_freectx() local 261 keccak_dupctx(void *ctx) keccak_dupctx() argument 276 shake_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) shake_settable_ctx_params() argument 285 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; shake_set_ctx_params() local [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_cts.c | 100 static size_t cts128_cs1_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_encrypt() argument 108 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_encrypt() 119 if (!ctx->hw->cipher(ctx, out - CTS_BLOCK_SIZE + residue, tmp_in.c, in cts128_cs1_encrypt() 134 static size_t cts128_cs1_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_decrypt() argument 143 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_decrypt() 150 if (!ctx->hw->cipher(ctx, ou in cts128_cs1_decrypt() 196 cts128_cs3_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_encrypt() argument 236 cts128_cs3_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_decrypt() argument 302 cts128_cs2_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_encrypt() argument 315 cts128_cs2_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_decrypt() argument 332 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; ossl_cipher_cbc_cts_block_update() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_unsharp_opencl.c | 68 UnsharpOpenCLContext *ctx = avctx->priv; in unsharp_opencl_init() local 76 ctx->command_queue = clCreateCommandQueue(ctx->ocf.hwctx->context, in unsharp_opencl_init() 77 ctx->ocf.hwctx->device_id, in unsharp_opencl_init() 83 ctx->global = (ctx->luma_size_x > 17.0f || in unsharp_opencl_init() 84 ctx->luma_size_y > 17.0f || in unsharp_opencl_init() 85 ctx->chroma_size_x > 17.0f || in unsharp_opencl_init() 86 ctx->chroma_size_y > 17.0f); in unsharp_opencl_init() 88 ctx in unsharp_opencl_init() 106 UnsharpOpenCLContext *ctx = avctx->priv; unsharp_opencl_make_filter_params() local 213 UnsharpOpenCLContext *ctx = avctx->priv; unsharp_opencl_filter_frame() local 306 UnsharpOpenCLContext *ctx = avctx->priv; unsharp_opencl_uninit() local [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_render_pass.c | 325 zink_init_zs_attachment(struct zink_context *ctx, struct zink_rt_attrib *rt) in zink_init_zs_attachment() argument 327 const struct pipe_framebuffer_state *fb = &ctx->fb_state; in zink_init_zs_attachment() 329 struct zink_framebuffer_clear *fb_clear = &ctx->fb_clears[PIPE_MAX_COLOR_BUFS]; in zink_init_zs_attachment() 333 rt->clear_color = zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUFS) && in zink_init_zs_attachment() 336 rt->clear_stencil = zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUFS) && in zink_init_zs_attachment() 339 const uint64_t outputs_written = ctx->gfx_stages[PIPE_SHADER_FRAGMENT] ? in zink_init_zs_attachment() 340 ctx->gfx_stages[PIPE_SHADER_FRAGMENT]->nir->info.outputs_written : 0; in zink_init_zs_attachment() 341 bool needs_write_z = (ctx->dsa_state && ctx->dsa_state->hw_state.depth_write) || in zink_init_zs_attachment() 344 (zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUF in zink_init_zs_attachment() 358 zink_init_color_attachment(struct zink_context *ctx, unsigned i, struct zink_rt_attrib *rt) zink_init_color_attachment() argument 378 get_render_pass(struct zink_context *ctx) get_render_pass() argument 485 setup_framebuffer(struct zink_context *ctx) setup_framebuffer() argument 537 prep_fb_attachments(struct zink_context *ctx, VkImageView *att) prep_fb_attachments() argument 569 begin_render_pass(struct zink_context *ctx) begin_render_pass() argument 677 zink_begin_render_pass(struct zink_context *ctx) zink_begin_render_pass() argument 722 zink_end_render_pass(struct zink_context *ctx) zink_end_render_pass() argument 736 zink_init_render_pass(struct zink_context *ctx) zink_init_render_pass() argument 746 zink_render_update_swapchain(struct zink_context *ctx) zink_render_update_swapchain() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_context.c | 99 static void lut_close(struct i915_gem_context *ctx) in lut_close() argument 104 mutex_lock(&ctx->lut_mutex); in lut_close() 106 radix_tree_for_each_slot(slot, &ctx->handles_vma, &iter, 0) { in lut_close() 116 if (lut->ctx != ctx) in lut_close() 129 radix_tree_iter_delete(&ctx->handles_vma, &iter, slot); in lut_close() 137 mutex_unlock(&ctx->lut_mutex); in lut_close() 141 lookup_user_engine(struct i915_gem_context *ctx, in lookup_user_engine() argument 148 if (!!(flags & LOOKUP_USER_INDEX) != i915_gem_context_user_engines(ctx)) in lookup_user_engine() 151 if (!i915_gem_context_user_engines(ctx)) { in lookup_user_engine() 169 context_get_vm_rcu(struct i915_gem_context *ctx) context_get_vm_rcu() argument 206 intel_context_set_gem(struct intel_context *ce, struct i915_gem_context *ctx) intel_context_set_gem() argument 269 struct i915_gem_context *ctx = engines->ctx; engines_notify() local 300 default_engines(struct i915_gem_context *ctx) default_engines() argument 336 i915_gem_context_free(struct i915_gem_context *ctx) i915_gem_context_free() argument 358 struct i915_gem_context *ctx, *cn; contexts_free_all() local 379 struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); i915_gem_context_release() local 388 __context_engines_static(const struct i915_gem_context *ctx) __context_engines_static() argument 393 __reset_context(struct i915_gem_context *ctx, struct intel_engine_cs *engine) __reset_context() argument 524 kill_context(struct i915_gem_context *ctx) kill_context() argument 552 engines_idle_release(struct i915_gem_context *ctx, struct i915_gem_engines *engines) engines_idle_release() argument 591 set_closed_name(struct i915_gem_context *ctx) set_closed_name() argument 608 context_close(struct i915_gem_context *ctx) context_close() argument 649 __context_set_persistence(struct i915_gem_context *ctx, bool state) __context_set_persistence() argument 694 struct i915_gem_context *ctx; __create_context() local 743 __context_engines_await(const struct i915_gem_context *ctx) __context_engines_await() argument 766 context_apply_all(struct i915_gem_context *ctx, int (*fn)(struct intel_context *ce, void *data), void *data) context_apply_all() argument 794 __set_ppgtt(struct i915_gem_context *ctx, struct i915_address_space *vm) __set_ppgtt() argument 808 __assign_ppgtt(struct i915_gem_context *ctx, struct i915_address_space *vm) __assign_ppgtt() argument 836 __assign_timeline(struct i915_gem_context *ctx, struct intel_timeline *timeline) __assign_timeline() argument 846 struct i915_gem_context *ctx; i915_gem_create_context() local 918 gem_context_register(struct i915_gem_context *ctx, struct drm_i915_file_private *fpriv, u32 *id) gem_context_register() argument 958 struct i915_gem_context *ctx; i915_gem_context_open() local 993 struct i915_gem_context *ctx; i915_gem_context_close() local 1091 context_barrier_task(struct i915_gem_context *ctx, intel_engine_mask_t engines, bool (*skip)(struct intel_context *ce, void *data), int (*pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void *data), int (*emit)(struct i915_request *rq, void *data), void (*task)(void *data), void *data) context_barrier_task() argument 1187 get_ppgtt(struct drm_i915_file_private *file_priv, struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) get_ppgtt() argument 1302 set_ppgtt(struct drm_i915_file_private *file_priv, struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) set_ppgtt() argument 1372 set_ringsize(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) set_ringsize() argument 1405 get_ringsize(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) get_ringsize() argument 1523 set_sseu(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) set_sseu() argument 1579 struct i915_gem_context *ctx; global() member 1773 set_engines(struct i915_gem_context *ctx, const struct drm_i915_gem_context_param *args) set_engines() argument 1904 get_engines(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) get_engines() argument 1978 set_persistence(struct i915_gem_context *ctx, const struct drm_i915_gem_context_param *args) set_persistence() argument 1989 struct i915_gem_context *ctx = arg; __apply_priority() local 2002 set_priority(struct i915_gem_context *ctx, const struct drm_i915_gem_context_param *args) set_priority() argument 2027 ctx_setparam(struct drm_i915_file_private *fpriv, struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) ctx_setparam() argument 2106 struct i915_gem_context *ctx; global() member 2408 struct i915_gem_context *ctx; i915_gem_context_destroy_ioctl() local 2424 get_sseu(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) get_sseu() argument 2484 struct i915_gem_context *ctx; i915_gem_context_getparam_ioctl() local 2563 struct i915_gem_context *ctx; i915_gem_context_setparam_ioctl() local 2581 struct i915_gem_context *ctx; i915_gem_context_reset_stats_ioctl() local 2619 struct intel_context *ctx; i915_gem_engines_iter_next() local [all...] |
/kernel/linux/linux-6.6/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 55 return xa_load(&vdev->ctx, index); in vfio_irq_ctx_get() 59 struct vfio_pci_irq_ctx *ctx, unsigned long index) in vfio_irq_ctx_free() 61 xa_erase(&vdev->ctx, index); in vfio_irq_ctx_free() 62 kfree(ctx); in vfio_irq_ctx_free() 68 struct vfio_pci_irq_ctx *ctx; in vfio_irq_ctx_alloc() local 71 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc() 72 if (!ctx) in vfio_irq_ctx_alloc() 75 ret = xa_insert(&vdev->ctx, index, ctx, GFP_KERNEL_ACCOUN in vfio_irq_ctx_alloc() 58 vfio_irq_ctx_free(struct vfio_pci_core_device *vdev, struct vfio_pci_irq_ctx *ctx, unsigned long index) vfio_irq_ctx_free() argument 92 struct vfio_pci_irq_ctx *ctx; vfio_send_intx_eventfd() local 109 struct vfio_pci_irq_ctx *ctx; __vfio_pci_intx_mask() local 173 struct vfio_pci_irq_ctx *ctx; vfio_pci_intx_unmask_handler() local 232 struct vfio_pci_irq_ctx *ctx; vfio_intx_handler() local 264 struct vfio_pci_irq_ctx *ctx; vfio_intx_enable() local 330 struct vfio_pci_irq_ctx *ctx; vfio_intx_set_signal() local 354 struct vfio_pci_irq_ctx *ctx; vfio_intx_disable() local 451 struct vfio_pci_irq_ctx *ctx; vfio_msi_set_vector_signal() local 560 struct vfio_pci_irq_ctx *ctx; vfio_msi_disable() local 601 struct vfio_pci_irq_ctx *ctx = vfio_irq_ctx_get(vdev, 0); vfio_pci_set_intx_unmask() local 689 struct vfio_pci_irq_ctx *ctx; vfio_pci_set_msi_trigger() local 738 vfio_pci_set_ctx_trigger_single(struct eventfd_ctx **ctx, unsigned int count, uint32_t flags, void *data) vfio_pci_set_ctx_trigger_single() argument [all...] |