/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | devices.c | 392 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl5000_hw_channel_switch() local 398 u16 beacon_interval = le16_to_cpu(ctx->timing.beacon_interval); in iwl5000_hw_channel_switch() 399 struct ieee80211_vif *vif = ctx->vif; in iwl5000_hw_channel_switch() 409 ctx->active.channel, ch); in iwl5000_hw_channel_switch() 411 cmd.rxon_flags = ctx->staging.flags; in iwl5000_hw_channel_switch() 412 cmd.rxon_filter_flags = ctx->staging.filter_flags; in iwl5000_hw_channel_switch() 553 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl6000_hw_channel_switch() local 559 u16 beacon_interval = le16_to_cpu(ctx->timing.beacon_interval); in iwl6000_hw_channel_switch() 560 struct ieee80211_vif *vif = ctx->vif; in iwl6000_hw_channel_switch() 577 ctx in iwl6000_hw_channel_switch() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | cts.c | 69 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_reqctx_space() local 70 struct crypto_skcipher *child = ctx->child; in crypto_cts_reqctx_space() 79 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(parent); in crypto_cts_setkey() local 80 struct crypto_skcipher *child = ctx->child; in crypto_cts_setkey() 147 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_encrypt() local 153 skcipher_request_set_tfm(subreq, ctx->child); in crypto_cts_encrypt() 241 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_decrypt() local 248 skcipher_request_set_tfm(subreq, ctx->child); in crypto_cts_decrypt() 287 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_init_tfm() local 297 ctx in crypto_cts_init_tfm() 313 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); crypto_cts_exit_tfm() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mode_object.c | 440 struct drm_modeset_acquire_ctx ctx; in drm_mode_obj_get_properties_ioctl() local 446 DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret); in drm_mode_obj_get_properties_ioctl() 466 DRM_MODESET_LOCK_ALL_END(dev, ctx, ret); in drm_mode_obj_get_properties_ioctl() 488 struct drm_modeset_acquire_ctx ctx; in set_property_legacy() local 494 DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret); in set_property_legacy() 508 DRM_MODESET_LOCK_ALL_END(dev, ctx, ret); in set_property_legacy() 520 struct drm_modeset_acquire_ctx ctx; in set_property_atomic() local 527 drm_modeset_acquire_init(&ctx, 0); in set_property_atomic() 528 state->acquire_ctx = &ctx; in set_property_atomic() 549 drm_modeset_backoff(&ctx); in set_property_atomic() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cotable.c | 45 * @ctx: non-refcounted pointer to the owning context. 54 struct vmw_resource *ctx; member 198 WARN_ON(vcotbl->ctx->id == SVGA3D_INVALID_ID); in vmw_cotable_unscrub() 202 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_unscrub() 291 cmd0->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub() 298 cmd1->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub() 338 vmw_dx_context_scrub_cotables(vcotbl->ctx, readback); in vmw_cotable_unbind() 374 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_readback() 401 struct ttm_operation_ctx ctx = { false, false }; in vmw_cotable_resize() local 478 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_cotable_resize() 599 vmw_cotable_alloc(struct vmw_private *dev_priv, struct vmw_resource *ctx, u32 type) vmw_cotable_alloc() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | cht_bsw_rt5645.c | 73 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in platform_clock_control() local 86 ret = clk_prepare_enable(ctx->mclk); in platform_clock_control() 105 clk_disable_unprepare(ctx->mclk); in platform_clock_control() 254 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); in cht_codec_init() local 298 if (ctx->acpi_card->codec_type == CODEC_TYPE_RT5650) in cht_codec_init() 306 &ctx->jack, cht_bsw_jack_pins, in cht_codec_init() 313 rt5645_set_jack_detect(component, &ctx->jack, &ctx->jack, &ctx->jack); in cht_codec_init() 326 ret = clk_prepare_enable(ctx in cht_codec_init() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_adynamicequalizer.c | 51 AVFilterContext *ctx = inlink->dst; in config_input() local 52 AudioDynamicEqualizerContext *s = ctx->priv; in config_input() 141 static int filter_channels(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_channels() argument 143 AudioDynamicEqualizerContext *s = ctx->priv; in filter_channels() 239 dst[n] = ctx->is_disabled ? src[n] : v; in filter_channels() 253 AVFilterContext *ctx = inlink->dst; in filter_frame() local 254 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 255 AudioDynamicEqualizerContext *s = ctx->priv; in filter_frame() 275 ff_filter_execute(ctx, filter_channels, &td, NULL, in filter_frame() 276 FFMIN(outlink->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx))); in filter_frame() 283 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_datascope.c | 53 int (*filter)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 80 static int query_formats(AVFilterContext *ctx) in query_formats() argument 82 return ff_set_common_formats(ctx, ff_draw_supported_pixel_formats(0)); in query_formats() 176 static int filter_color2(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_color2() argument 178 DatascopeContext *s = ctx->priv; in filter_color2() 179 AVFilterLink *outlink = ctx->outputs[0]; in filter_color2() 180 AVFilterLink *inlink = ctx->inputs[0]; in filter_color2() 223 static int filter_color(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_color() argument 225 DatascopeContext *s = ctx->priv; in filter_color() 226 AVFilterLink *outlink = ctx in filter_color() 266 filter_mono(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_mono() argument 310 AVFilterContext *ctx = inlink->dst; filter_frame() local 422 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument 567 AVFilterContext *ctx = inlink->dst; pixscope_filter_frame() local 710 pixscope_process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) pixscope_process_command() argument 817 oscilloscope_uninit(AVFilterContext *ctx) oscilloscope_uninit() argument 909 update_oscilloscope(AVFilterContext *ctx) update_oscilloscope() argument 1048 AVFilterContext *ctx = inlink->dst; oscilloscope_filter_frame() local 1111 oscilloscope_process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) oscilloscope_process_command() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_encode_mjpeg.c | 439 VAAPIEncodeContext *ctx = avctx->priv_data; in vaapi_encode_mjpeg_get_encoder_caps() local 442 desc = av_pix_fmt_desc_get(ctx->input_frames->sw_format); in vaapi_encode_mjpeg_get_encoder_caps() 445 ctx->surface_width = FFALIGN(avctx->width, 8 << desc->log2_chroma_w); in vaapi_encode_mjpeg_get_encoder_caps() 446 ctx->surface_height = FFALIGN(avctx->height, 8 << desc->log2_chroma_h); in vaapi_encode_mjpeg_get_encoder_caps() 453 VAAPIEncodeContext *ctx = avctx->priv_data; in vaapi_encode_mjpeg_configure() local 457 priv->quality = ctx->rc_quality; in vaapi_encode_mjpeg_configure() 470 if (ctx->va_packed_headers & VA_ENC_PACKED_HEADER_RAW_DATA) { in vaapi_encode_mjpeg_configure() 471 ctx->va_packed_headers &= ~VA_ENC_PACKED_HEADER_RAW_DATA; in vaapi_encode_mjpeg_configure() 472 ctx->va_packed_headers |= VA_ENC_PACKED_HEADER_SLICE; in vaapi_encode_mjpeg_configure() 519 VAAPIEncodeContext *ctx in vaapi_encode_mjpeg_init() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rmenc.c | 69 static int rv10_write_header(AVFormatContext *ctx, in rv10_write_header() argument 72 RMMuxContext *rm = ctx->priv_data; in rv10_write_header() 73 AVIOContext *s = ctx->pb; in rv10_write_header() 85 avio_wb32(s,4 + ctx->nb_streams); /* num headers */ in rv10_write_header() 95 for(i=0;i<ctx->nb_streams;i++) { in rv10_write_header() 122 avio_wb16(s, ctx->nb_streams); /* num streams */ in rv10_write_header() 133 tag = av_dict_get(ctx->metadata, ff_rm_metadata[i], NULL, 0); in rv10_write_header() 139 tag = av_dict_get(ctx->metadata, ff_rm_metadata[i], NULL, 0); in rv10_write_header() 143 for(i=0;i<ctx->nb_streams;i++) { in rv10_write_header() 237 av_log(ctx, AV_LOG_ERRO in rv10_write_header() 293 write_packet_header(AVFormatContext *ctx, StreamInfo *stream, int length, int key_frame) write_packet_header() argument [all...] |
/third_party/mbedtls/library/ |
H A D | pkcs5.c | 268 static int pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx, in pkcs5_pbkdf2_hmac() argument 278 unsigned char md_size = mbedtls_md_get_size(ctx->md_info); in pkcs5_pbkdf2_hmac() 292 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac() 298 if ((ret = mbedtls_md_hmac_update(ctx, salt, slen)) != 0) { in pkcs5_pbkdf2_hmac() 302 if ((ret = mbedtls_md_hmac_update(ctx, counter, 4)) != 0) { in pkcs5_pbkdf2_hmac() 306 if ((ret = mbedtls_md_hmac_finish(ctx, work)) != 0) { in pkcs5_pbkdf2_hmac() 310 if ((ret = mbedtls_md_hmac_reset(ctx)) != 0) { in pkcs5_pbkdf2_hmac() 319 if ((ret = mbedtls_md_hmac_update(ctx, md1, md_size)) != 0) { in pkcs5_pbkdf2_hmac() 323 if ((ret = mbedtls_md_hmac_finish(ctx, md1)) != 0) { in pkcs5_pbkdf2_hmac() 327 if ((ret = mbedtls_md_hmac_reset(ctx)) ! in pkcs5_pbkdf2_hmac() 358 mbedtls_pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx, const unsigned char *password, size_t plen, const unsigned char *salt, size_t slen, unsigned int iteration_count, uint32_t key_length, unsigned char *output) mbedtls_pkcs5_pbkdf2_hmac() argument [all...] |
H A D | pem.c | 38 void mbedtls_pem_init(mbedtls_pem_context *ctx) in mbedtls_pem_init() argument 40 memset(ctx, 0, sizeof(mbedtls_pem_context)); in mbedtls_pem_init() 268 int mbedtls_pem_read_buffer(mbedtls_pem_context *ctx, const char *header, const char *footer, in mbedtls_pem_read_buffer() argument 284 if (ctx == NULL) { in mbedtls_pem_read_buffer() 476 ctx->buf = buf; in mbedtls_pem_read_buffer() 477 ctx->buflen = len; in mbedtls_pem_read_buffer() 482 void mbedtls_pem_free(mbedtls_pem_context *ctx) in mbedtls_pem_free() argument 484 if (ctx->buf != NULL) { in mbedtls_pem_free() 485 mbedtls_zeroize_and_free(ctx->buf, ctx in mbedtls_pem_free() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_feedback.c | 58 set_feedback_vertex_format(struct gl_context *ctx) in set_feedback_vertex_format() argument 61 struct st_context *st = st_context(ctx); in set_feedback_vertex_format() 67 if (ctx->RenderMode == GL_SELECT) { in set_feedback_vertex_format() 68 assert(ctx->RenderMode == GL_SELECT); in set_feedback_vertex_format() 95 st_feedback_draw_vbo(struct gl_context *ctx, in st_feedback_draw_vbo() argument 107 struct st_context *st = st_context(ctx); in st_feedback_draw_vbo() 136 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims, in st_feedback_draw_vbo() 161 set_feedback_vertex_format(ctx); in st_feedback_draw_vbo() 235 _mesa_load_state_parameters(st->ctx, params); in st_feedback_draw_vbo() 249 &st->ctx in st_feedback_draw_vbo() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_opt_mod_props.c | 156 bi_opt_mod_prop_forward(bi_context *ctx) in bi_opt_mod_prop_forward() argument 158 bi_instr **lut = calloc(sizeof(bi_instr *), ctx->ssa_alloc); in bi_opt_mod_prop_forward() 160 bi_foreach_instr_global_safe(ctx, I) { in bi_opt_mod_prop_forward() 175 bi_fuse_discard_fcmp(I, mod, ctx->arch); in bi_opt_mod_prop_forward() 178 if (mod->src[0].abs && !bi_takes_fabs(ctx->arch, I, mod->src[0], s)) in bi_opt_mod_prop_forward() 181 if (mod->src[0].neg && !bi_takes_fneg(ctx->arch, I, s)) in bi_opt_mod_prop_forward() 322 bi_optimizer_var_tex(bi_context *ctx, bi_instr *var, bi_instr *tex) in bi_optimizer_var_tex() argument 327 bi_builder b = bi_init_builder(ctx, bi_after_instr(var)); in bi_optimizer_var_tex() 341 bi_opt_mod_prop_backward(bi_context *ctx) in bi_opt_mod_prop_backward() argument 343 unsigned count = ctx in bi_opt_mod_prop_backward() [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_cpols.c | 26 X509V3_CTX *ctx, const char *value); 30 static POLICYINFO *policy_section(X509V3_CTX *ctx, 32 static POLICYQUALINFO *notice_section(X509V3_CTX *ctx, 90 X509V3_CTX *ctx, const char *value) 127 polsect = X509V3_get_section(ctx, pstr + 1); 133 pol = policy_section(ctx, polsect, ia5org); 134 X509V3_section_free(ctx, polsect); 166 static POLICYINFO *policy_section(X509V3_CTX *ctx, 211 unot = X509V3_get_section(ctx, cnf->value + 1); 218 qual = notice_section(ctx, uno [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | fipsinstall.c | 77 static int do_mac(EVP_MAC_CTX *ctx, unsigned char *tmp, BIO *in, in do_mac() argument 84 if (!EVP_MAC_init(ctx, NULL, 0, NULL)) in do_mac() 86 if (EVP_MAC_CTX_get_mac_size(ctx) > outsz) in do_mac() 89 if (i < 0 || !EVP_MAC_update(ctx, tmp, i)) in do_mac() 93 if (!EVP_MAC_final(ctx, out, out_len, outsz)) in do_mac() 303 EVP_MAC_CTX *ctx = NULL, *ctx2 = NULL; in fipsinstall_main() local 440 ctx = EVP_MAC_CTX_new(mac); in fipsinstall_main() 441 if (ctx == NULL) { in fipsinstall_main() 454 if (!EVP_MAC_CTX_set_params(ctx, params)) { in fipsinstall_main() 464 ctx2 = EVP_MAC_CTX_dup(ctx); in fipsinstall_main() [all...] |
/third_party/openssl/test/ |
H A D | threadstest.c | 394 EVP_PKEY_CTX *ctx = NULL; in thread_shared_evp_pkey() local 400 EVP_PKEY_CTX_free(ctx); in thread_shared_evp_pkey() 401 ctx = EVP_PKEY_CTX_new_from_pkey(multi_libctx, shared_evp_pkey, in thread_shared_evp_pkey() 404 if (!TEST_ptr(ctx)) in thread_shared_evp_pkey() 407 if (!TEST_int_ge(EVP_PKEY_encrypt_init(ctx), 0) in thread_shared_evp_pkey() 408 || !TEST_int_ge(EVP_PKEY_encrypt(ctx, ctbuf, &ctlen, in thread_shared_evp_pkey() 413 EVP_PKEY_CTX_free(ctx); in thread_shared_evp_pkey() 414 ctx = EVP_PKEY_CTX_new_from_pkey(multi_libctx, shared_evp_pkey, NULL); in thread_shared_evp_pkey() 416 if (!TEST_ptr(ctx)) in thread_shared_evp_pkey() 420 if (!TEST_int_ge(EVP_PKEY_decrypt_init(ctx), in thread_shared_evp_pkey() [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | queues.py | 37 def __init__(self, maxsize=0, *, ctx): 43 self._rlock = ctx.Lock() 48 self._wlock = ctx.Lock() 49 self._sem = ctx.BoundedSemaphore(maxsize) 296 def __init__(self, maxsize=0, *, ctx): 297 Queue.__init__(self, maxsize, ctx=ctx) 298 self._unfinished_tasks = ctx.Semaphore(0) 299 self._cond = ctx.Condition() 339 def __init__(self, *, ctx) [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/ |
H A D | vktPostmortemDeviceFaultTests.cpp | 186 FakeInstanceInterface (Context& ctx) in FakeInstanceInterface() argument 187 : InstanceDriver (ctx.getPlatformInterface(), ctx.getInstance()) in FakeInstanceInterface() 188 , m_instanceInterface (ctx.getInstanceInterface()) {} in FakeInstanceInterface() 219 FakeDeviceInterface (Context& ctx) in FakeDeviceInterface() argument 220 : DeviceDriver(ctx.getPlatformInterface(), ctx.getInstance(), ctx.getDevice(), ctx.getUsedApiVersion()) {} in FakeDeviceInterface() 339 FakeContext (Context& ctx) in FakeContext() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiMaintenance3Check.cpp | 472 Maintenance3StructTestInstance (Context& ctx) in Maintenance3StructTestInstance() argument 473 : TestInstance (ctx) in Maintenance3StructTestInstance() 516 virtual void checkSupport (Context& ctx) const in checkSupport() 518 ctx.requireDeviceFunctionality("VK_KHR_maintenance3"); in checkSupport() 520 virtual TestInstance* createInstance (Context& ctx) const in createInstance() 522 return new Maintenance3StructTestInstance(ctx); in createInstance() 531 Maintenance3DescriptorTestInstance (Context& ctx) in Maintenance3DescriptorTestInstance() argument 532 : TestInstance(ctx) in Maintenance3DescriptorTestInstance() 698 virtual void checkSupport (Context& ctx) const in checkSupport() 700 ctx in checkSupport() [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_cpols.c | 26 X509V3_CTX *ctx, const char *value); 30 static POLICYINFO *policy_section(X509V3_CTX *ctx, 32 static POLICYQUALINFO *notice_section(X509V3_CTX *ctx, 90 X509V3_CTX *ctx, const char *value) 127 polsect = X509V3_get_section(ctx, pstr + 1); 133 pol = policy_section(ctx, polsect, ia5org); 134 X509V3_section_free(ctx, polsect); 166 static POLICYINFO *policy_section(X509V3_CTX *ctx, 211 unot = X509V3_get_section(ctx, cnf->value + 1); 218 qual = notice_section(ctx, uno [all...] |
/third_party/openssl/apps/ |
H A D | fipsinstall.c | 77 static int do_mac(EVP_MAC_CTX *ctx, unsigned char *tmp, BIO *in, in do_mac() argument 84 if (!EVP_MAC_init(ctx, NULL, 0, NULL)) in do_mac() 86 if (EVP_MAC_CTX_get_mac_size(ctx) > outsz) in do_mac() 89 if (i < 0 || !EVP_MAC_update(ctx, tmp, i)) in do_mac() 93 if (!EVP_MAC_final(ctx, out, out_len, outsz)) in do_mac() 303 EVP_MAC_CTX *ctx = NULL, *ctx2 = NULL; in fipsinstall_main() local 440 ctx = EVP_MAC_CTX_new(mac); in fipsinstall_main() 441 if (ctx == NULL) { in fipsinstall_main() 454 if (!EVP_MAC_CTX_set_params(ctx, params)) { in fipsinstall_main() 464 ctx2 = EVP_MAC_CTX_dup(ctx); in fipsinstall_main() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | extension_set_heavy.cc | 323 const internal::ParseContext* ctx, in FindExtension() 326 if (ctx->data().pool == nullptr) { in FindExtension() 333 DescriptorPoolExtensionFinder finder(ctx->data().pool, ctx->data().factory, in FindExtension() 346 internal::ParseContext* ctx) { in ParseField() 350 if (!FindExtension(tag & 7, number, containing_type, ctx, &extension, in ParseField() 353 tag, metadata->mutable_unknown_fields<UnknownFieldSet>(), ptr, ctx); in ParseField() 356 number, was_packed_on_wire, extension, metadata, ptr, ctx); in ParseField() 361 internal::InternalMetadata* metadata, internal::ParseContext* ctx) { in ParseFieldMaybeLazily() 362 return ParseField(tag, ptr, containing_type, metadata, ctx); in ParseFieldMaybeLazily() 321 FindExtension(int wire_type, uint32 field, const Message* containing_type, const internal::ParseContext* ctx, ExtensionInfo* extension, bool* was_packed_on_wire) FindExtension() argument 343 ParseField(uint64 tag, const char* ptr, const Message* containing_type, internal::InternalMetadata* metadata, internal::ParseContext* ctx) ParseField() argument 359 ParseFieldMaybeLazily( uint64 tag, const char* ptr, const Message* containing_type, internal::InternalMetadata* metadata, internal::ParseContext* ctx) ParseFieldMaybeLazily() argument 365 ParseMessageSetItem( const char* ptr, const Message* containing_type, internal::InternalMetadata* metadata, internal::ParseContext* ctx) ParseMessageSetItem() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | extFFmpegDemuxer.h | 65 typedef int (*pFFMpeg_av_bsf_init) (AVBSFContext* ctx); 67 typedef int (*pFFMpeg_av_bsf_send_packet)(AVBSFContext* ctx, AVPacket* pkt); 69 typedef int (*pFFMpeg_av_bsf_receive_packet)(AVBSFContext* ctx, AVPacket* pkt); 73 typedef int (*pFFMpeg_av_bsf_alloc)(const AVBitStreamFilter* filter, AVBSFContext** ctx); 263 AVFormatContext *ctx = NULL; in CreateFormatContext() local 264 if (!(ctx = api->avformat_alloc_context())) { in CreateFormatContext() 282 ctx->pb = avioc; in CreateFormatContext() 284 ck(api->avformat_open_input(&ctx, NULL, NULL, NULL)); in CreateFormatContext() 285 return ctx; in CreateFormatContext() 293 AVFormatContext *ctx in CreateFormatContext() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 227 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key() local 229 int keylen = ctx->keylen; in stm32_hash_write_key() 230 void *key = ctx->key; in stm32_hash_write_key() 255 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl() local 282 if (ctx->keylen > HASH_LONG_KEY) in stm32_hash_write_ctrl() 481 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_hmac_dma_send() local 484 if (ctx->keylen < HASH_DMA_THRESHOLD || (hdev->dma_mode == 1)) { in stm32_hash_hmac_dma_send() 490 sg_init_one(&rctx->sg_key, ctx->key, in stm32_hash_hmac_dma_send() 491 ALIGN(ctx->keylen, sizeof(u32))); in stm32_hash_hmac_dma_send() 500 err = stm32_hash_xmit_dma(hdev, &rctx->sg_key, ctx in stm32_hash_hmac_dma_send() 635 stm32_hash_find_dev(struct stm32_hash_ctx *ctx) stm32_hash_find_dev() argument 658 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_dma_aligned_data() local 684 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); stm32_hash_init() local 841 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_prepare_req() local 862 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_one_request() local 889 struct stm32_hash_ctx *ctx = crypto_tfm_ctx(req->base.tfm); stm32_hash_enqueue() local 928 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_finup() local 959 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_export() local 992 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); stm32_hash_import() local 1024 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); stm32_hash_setkey() local 1039 struct stm32_hash_ctx *ctx = crypto_tfm_ctx(tfm); stm32_hash_cra_init_algs() local [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | lsm.c | 438 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_alloc_security() local 441 spin_lock_init(&ctx->lock); in apparmor_file_alloc_security() 442 rcu_assign_pointer(ctx->label, aa_get_label(label)); in apparmor_file_alloc_security() 449 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_free_security() local 451 if (ctx) in apparmor_file_free_security() 452 aa_put_label(rcu_access_pointer(ctx->label)); in apparmor_file_free_security() 594 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr() local 599 else if (strcmp(name, "prev") == 0 && ctx->previous) in apparmor_getprocattr() 600 label = aa_get_newest_label(ctx->previous); in apparmor_getprocattr() 601 else if (strcmp(name, "exec") == 0 && ctx in apparmor_getprocattr() 774 struct aa_sk_ctx *ctx; apparmor_sk_alloc_security() local 790 struct aa_sk_ctx *ctx = SK_CTX(sk); apparmor_sk_free_security() local 804 struct aa_sk_ctx *ctx = SK_CTX(sk); apparmor_sk_clone_security() local 861 struct aa_sk_ctx *ctx = SK_CTX(sock->sk); apparmor_socket_post_create() local 1046 struct aa_sk_ctx *ctx = SK_CTX(sk); apparmor_socket_sock_rcv_skb() local 1066 struct aa_sk_ctx *ctx = SK_CTX(sk); sk_peer_label() local 1150 struct aa_sk_ctx *ctx = SK_CTX(sk); apparmor_sock_graft() local 1160 struct aa_sk_ctx *ctx = SK_CTX(sk); apparmor_inet_conn_request() local 1754 struct aa_sk_ctx *ctx; apparmor_ip_postroute() local [all...] |