Home
last modified time | relevance | path

Searched refs:ctx (Results 6976 - 7000 of 12581) sorted by relevance

1...<<271272273274275276277278279280>>...504

/kernel/linux/linux-6.6/include/trace/events/
H A Dfilelock.h39 TP_PROTO(struct inode *inode, int type, struct file_lock_context *ctx),
41 TP_ARGS(inode, type, ctx),
47 __field(struct file_lock_context *, ctx)
54 __entry->ctx = ctx;
57 TP_printk("dev=0x%x:0x%x ino=0x%lx type=%s ctx=%p",
59 __entry->i_ino, show_fl_type(__entry->type), __entry->ctx)
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-main.c142 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(req->tfm); in ccp_crypto_complete() local
171 if (ctx->complete) in ccp_crypto_complete()
172 ret = ctx->complete(req, ret); in ccp_crypto_complete()
186 ctx = crypto_tfm_ctx_dma(held->req->tfm); in ccp_crypto_complete()
187 if (ctx->complete) in ccp_crypto_complete()
188 ret = ctx->complete(held->req, ret); in ccp_crypto_complete()
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/
H A Dcoda-h264.c31 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_sps_parse_profile() argument
43 ctx->params.h264_profile_idc = buf[0]; in coda_sps_parse_profile()
44 ctx->params.h264_level_idc = buf[2]; in coda_sps_parse_profile()
240 * @ctx: encoder context
250 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, in coda_h264_sps_fixup() argument
284 dev_err(ctx->fh.vdev->dev_parent, in coda_h264_sps_fixup()
386 dev_err(ctx->fh.vdev->dev_parent, in coda_h264_sps_fixup()
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dstm32-romem.c38 struct tee_context *ctx; member
151 return stm32_bsec_optee_ta_read(priv->ctx, offset, buf, bytes); in stm32_bsec_pta_read()
159 return stm32_bsec_optee_ta_write(priv->ctx, priv->lower, offset, buf, bytes); in stm32_bsec_pta_write()
223 rc = stm32_bsec_optee_ta_open(&priv->ctx); in stm32_romem_probe()
233 if (priv->ctx) { in stm32_romem_probe()
234 rc = devm_add_action_or_reset(dev, stm32_bsec_optee_ta_close, priv->ctx); in stm32_romem_probe()
/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.h789 int (*eval)(struct aspeed_pinmux_data *ctx,
791 int (*set)(struct aspeed_pinmux_data *ctx,
811 int aspeed_sig_expr_eval(struct aspeed_pinmux_data *ctx,
814 static inline int aspeed_sig_expr_set(struct aspeed_pinmux_data *ctx, in aspeed_sig_expr_set() argument
818 return ctx->ops->set(ctx, expr, enabled); in aspeed_sig_expr_set()
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.c110 void *ctx; in kirin_drm_private_init() local
120 ctx = driver_data->alloc_hw_ctx(pdev, &kirin_priv->crtc.base); in kirin_drm_private_init()
121 if (IS_ERR(ctx)) { in kirin_drm_private_init()
122 DRM_ERROR("failed to initialize kirin_priv hw ctx\n"); in kirin_drm_private_init()
125 kirin_priv->hw_ctx = ctx; in kirin_drm_private_init()
142 kirin_priv->planes[ch].hw_ctx = ctx; in kirin_drm_private_init()
151 kirin_priv->crtc.hw_ctx = ctx; in kirin_drm_private_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_tt.c297 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_tt_populate()
318 ret = ttm_global_swapout(ctx, GFP_KERNEL); in ttm_tt_populate()
326 ret = bdev->funcs->ttm_tt_populate(bdev, ttm, ctx); in ttm_tt_populate()
328 ret = ttm_pool_alloc(&bdev->pool, ttm, ctx); in ttm_tt_populate()
379 struct ttm_operation_ctx ctx = { false, false }; in ttm_tt_debugfs_shrink_show() local
381 seq_printf(m, "%d\n", ttm_global_swapout(&ctx, GFP_KERNEL)); in ttm_tt_debugfs_shrink_show()
296 ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) ttm_tt_populate() argument
/kernel/linux/linux-6.6/net/mptcp/
H A Dmptcp_diag.c81 struct mptcp_diag_ctx *diag_ctx = (void *)cb->ctx; in mptcp_diag_dump_listeners()
100 const struct mptcp_subflow_context *ctx = mptcp_subflow_ctx(sk); in mptcp_diag_dump_listeners() local
107 if (!ctx || strcmp(inet_csk(sk)->icsk_ulp_ops->name, "mptcp")) in mptcp_diag_dump_listeners()
110 sk = ctx->conn; in mptcp_diag_dump_listeners()
156 struct mptcp_diag_ctx *diag_ctx = (void *)cb->ctx; in mptcp_diag_dump()
162 BUILD_BUG_ON(sizeof(cb->ctx) < sizeof(*diag_ctx)); in mptcp_diag_dump()
/third_party/ffmpeg/libavcodec/
H A Dspeedhqenc.c133 SpeedHQEncContext *ctx = (SpeedHQEncContext*)s; in ff_speedhq_encode_picture_header() local
138 ctx->slice_start = 4; in ff_speedhq_encode_picture_header()
145 SpeedHQEncContext *ctx = (SpeedHQEncContext*)s; in ff_speedhq_end_slice() local
149 slice_len = put_bytes_output(&s->pb) - ctx->slice_start; in ff_speedhq_end_slice()
150 AV_WL24(s->pb.buf + ctx->slice_start, slice_len); in ff_speedhq_end_slice()
153 ctx->slice_start = put_bytes_output(&s->pb); in ff_speedhq_end_slice()
/third_party/ffmpeg/libavfilter/
H A Daf_aphaser.c74 static av_cold int init(AVFilterContext *ctx) in init() argument
76 AudioPhaserContext *s = ctx->priv; in init()
79 av_log(ctx, AV_LOG_WARNING, "in_gain may cause clipping\n"); in init()
81 av_log(ctx, AV_LOG_WARNING, "out_gain may cause clipping\n"); in init()
234 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
236 AudioPhaserContext *s = ctx->priv; in uninit()
/third_party/ffmpeg/libavformat/
H A Dtcp.c73 static void customize_fd(void *ctx, int fd) in customize_fd() argument
75 TCPContext *s = ctx; in customize_fd()
80 ff_log_net_error(ctx, AV_LOG_WARNING, "setsockopt(SO_RCVBUF)"); in customize_fd()
85 ff_log_net_error(ctx, AV_LOG_WARNING, "setsockopt(SO_SNDBUF)"); in customize_fd()
90 ff_log_net_error(ctx, AV_LOG_WARNING, "setsockopt(TCP_NODELAY)"); in customize_fd()
96 ff_log_net_error(ctx, AV_LOG_WARNING, "setsockopt(TCP_MAXSEG)"); in customize_fd()
/third_party/mesa3d/src/imagination/vulkan/winsys/
H A Dpvr_winsys.h461 void (*render_ctx_destroy)(struct pvr_winsys_render_ctx *ctx);
463 const struct pvr_winsys_render_ctx *ctx,
472 void (*compute_ctx_destroy)(struct pvr_winsys_compute_ctx *ctx);
474 const struct pvr_winsys_compute_ctx *ctx,
482 void (*transfer_ctx_destroy)(struct pvr_winsys_transfer_ctx *ctx);
484 const struct pvr_winsys_transfer_ctx *ctx,
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.h218 int __fd_resource_wait(struct fd_context *ctx, struct fd_resource *rsc,
220 #define fd_resource_wait(ctx, rsc, op) \
221 __fd_resource_wait(ctx, rsc, op, __func__)
352 void fd_replace_buffer_storage(struct pipe_context *ctx,
361 void fd_resource_uncompress(struct fd_context *ctx,
378 batch->ctx->clear_ubwc(batch, rsc);
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c36 struct pan_blit_context ctx; in panvk_meta_blit() local
105 GENX(pan_blit_ctx_init)(pdev, blitinfo, &cmdbuf->desc_pool.base, &ctx); in panvk_meta_blit()
107 if (ctx.dst.cur_layer < 0) in panvk_meta_blit()
113 views[0].first_layer = views[0].last_layer = ctx.dst.cur_layer; in panvk_meta_blit()
125 GENX(pan_blit)(&ctx, &cmdbuf->desc_pool.base, &batch->scoreboard, tsd, tiler); in panvk_meta_blit()
128 } while (pan_blit_next_surface(&ctx)); in panvk_meta_blit()
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
H A Dsha1-thumb.pl43 $ctx="r9";
133 mov $ctx,r0 @ save context
175 ldmia $t0!,{$a,$b,$c,$d,$e} @ $t0 is r0 and holds ctx
221 mov $t0,$ctx
235 mov $t0,$ctx @ restore ctx
/third_party/node/deps/openssl/openssl/apps/
H A Dcrl.c82 X509_STORE_CTX *ctx = NULL; in crl_main() local
231 ctx = X509_STORE_CTX_new(); in crl_main()
232 if (ctx == NULL || !X509_STORE_CTX_init(ctx, store, NULL, NULL)) { in crl_main()
237 xobj = X509_STORE_CTX_get_obj_by_subject(ctx, X509_LU_X509, in crl_main()
393 X509_STORE_CTX_free(ctx); in crl_main()
/third_party/openssl/test/
H A Dciphername_test.c381 SSL_CTX *ctx = NULL; in test_cipher_name() local
408 ctx = SSL_CTX_new(TLS_server_method()); in test_cipher_name()
409 if (ctx == NULL) { in test_cipher_name()
414 if (!SSL_CTX_set_cipher_list(ctx, ciphers)) { in test_cipher_name()
419 ssl = SSL_new(ctx); in test_cipher_name()
461 SSL_CTX_free(ctx); in test_cipher_name()
/third_party/openssl/apps/
H A Dcrl.c82 X509_STORE_CTX *ctx = NULL; in crl_main() local
231 ctx = X509_STORE_CTX_new(); in crl_main()
232 if (ctx == NULL || !X509_STORE_CTX_init(ctx, store, NULL, NULL)) { in crl_main()
237 xobj = X509_STORE_CTX_get_obj_by_subject(ctx, X509_LU_X509, in crl_main()
393 X509_STORE_CTX_free(ctx); in crl_main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmSpirvVersionTests.cpp199 SpvAsmGraphicsSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters);
206 SpvAsmGraphicsSpirvVersionsInstance::SpvAsmGraphicsSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters) in SpvAsmGraphicsSpirvVersionsInstance() argument
207 : TestInstance (ctx) in SpvAsmGraphicsSpirvVersionsInstance()
226 SpvAsmComputeSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters);
233 SpvAsmComputeSpirvVersionsInstance::SpvAsmComputeSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters) in SpvAsmComputeSpirvVersionsInstance() argument
235 , SpvAsmComputeShaderInstance(ctx, *this) in SpvAsmComputeSpirvVersionsInstance()
/third_party/skia/src/effects/imagefilters/
H A DSkDropShadowImageFilter.cpp108 sk_sp<SkSpecialImage> SkDropShadowImageFilter::onFilterImage(const Context& ctx, in onFilterImage() argument
111 sk_sp<SkSpecialImage> input(this->filterInput(0, ctx, &inputOffset)); in onFilterImage()
119 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
123 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size())); in onFilterImage()
134 ctx.ctm().mapVectors(&sigma, 1); in onFilterImage()
144 ctx.ctm().mapVectors(&offsetVec, 1); in onFilterImage()
/third_party/openssl/crypto/sha/asm/
H A Dsha1-thumb.pl43 $ctx="r9";
133 mov $ctx,r0 @ save context
175 ldmia $t0!,{$a,$b,$c,$d,$e} @ $t0 is r0 and holds ctx
221 mov $t0,$ctx
235 mov $t0,$ctx @ restore ctx
/third_party/openssl/ohos_lite/include/openssl/
H A Ddsa.h162 # define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
163 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
165 # define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \
166 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
168 # define EVP_PKEY_CTX_set_dsa_paramgen_md(ctx, md) \
169 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dpngdec.c222 PNGReadContext* const ctx = (PNGReadContext*)png_get_io_ptr(png_ptr); in ReadFunc() local
223 if (ctx->data_size - ctx->offset < length) { in ReadFunc()
226 memcpy(data, ctx->data + ctx->offset, length); in ReadFunc()
227 ctx->offset += length; in ReadFunc()
/third_party/protobuf/src/google/protobuf/
H A Dfield_mask.pb.cc143 const char* FieldMask::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { in _InternalParse() argument
146 while (!ctx->Done(&ptr)) { in _InternalParse()
158 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse()
161 if (!ctx->DataAvailable(ptr)) break; in _InternalParse()
168 ctx->SetLastTag(tag); in _InternalParse()
173 ptr, ctx); in _InternalParse()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmSpirvVersionTests.cpp199 SpvAsmGraphicsSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters);
206 SpvAsmGraphicsSpirvVersionsInstance::SpvAsmGraphicsSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters) in SpvAsmGraphicsSpirvVersionsInstance() argument
207 : TestInstance (ctx) in SpvAsmGraphicsSpirvVersionsInstance()
226 SpvAsmComputeSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters);
233 SpvAsmComputeSpirvVersionsInstance::SpvAsmComputeSpirvVersionsInstance (Context& ctx, const TestParameters& testParameters) in SpvAsmComputeSpirvVersionsInstance() argument
235 , SpvAsmComputeShaderInstance(ctx, *this) in SpvAsmComputeSpirvVersionsInstance()

Completed in 20 milliseconds

1...<<271272273274275276277278279280>>...504