Home
last modified time | relevance | path

Searched refs:ctx (Results 3026 - 3050 of 12824) sorted by relevance

1...<<121122123124125126127128129130>>...513

/third_party/ffmpeg/libavfilter/
H A Daf_apad.c62 static av_cold int init(AVFilterContext *ctx) in init() argument
64 APadContext *s = ctx->priv; in init()
68 av_log(ctx, AV_LOG_ERROR, "Both whole and pad length are set, this is not possible\n"); in init()
77 AVFilterContext *ctx = inlink->dst; in filter_frame() local
78 APadContext *s = ctx->priv; in filter_frame()
82 av_log(ctx, AV_LOG_DEBUG, in filter_frame()
87 return ff_filter_frame(ctx->outputs[0], frame); in filter_frame()
92 AVFilterContext *ctx = outlink->src; in request_frame() local
93 APadContext *s = ctx->priv; in request_frame()
96 ret = ff_request_frame(ctx in request_frame()
138 AVFilterContext *ctx = outlink->src; config_output() local
[all...]
H A Daf_asr.c64 AVFilterContext *ctx = inlink->dst; in filter_frame() local
66 ASRContext *s = ctx->priv; in filter_frame()
83 return ff_filter_frame(ctx->outputs[0], in); in filter_frame()
88 AVFilterContext *ctx = inlink->dst; in config_input() local
89 ASRContext *s = ctx->priv; in config_input()
96 static av_cold int asr_init(AVFilterContext *ctx) in asr_init() argument
98 ASRContext *s = ctx->priv; in asr_init()
123 static int query_formats(AVFilterContext *ctx) in query_formats() argument
125 ASRContext *s = ctx->priv; in query_formats()
133 (ret = ff_set_common_formats (ctx , format in query_formats()
142 asr_uninit(AVFilterContext *ctx) asr_uninit() argument
[all...]
H A Dvf_separatefields.c33 AVFilterContext *ctx = outlink->src; in config_props_output() local
34 SeparateFieldsContext *s = ctx->priv; in config_props_output()
35 AVFilterLink *inlink = ctx->inputs[0]; in config_props_output()
40 av_log(ctx, AV_LOG_ERROR, "height must be even\n"); in config_props_output()
67 AVFilterContext *ctx = inlink->dst; in filter_frame() local
68 SeparateFieldsContext *s = ctx->priv; in filter_frame()
69 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
107 AVFilterContext *ctx = outlink->src; in flush_frame() local
108 SeparateFieldsContext *s = ctx->priv; in flush_frame()
121 static int activate(AVFilterContext *ctx) in activate() argument
152 uninit(AVFilterContext *ctx) uninit() argument
[all...]
H A Dvf_hwupload_cuda.c37 static av_cold int cudaupload_init(AVFilterContext *ctx) in cudaupload_init() argument
39 CudaUploadContext *s = ctx->priv; in cudaupload_init()
47 static av_cold void cudaupload_uninit(AVFilterContext *ctx) in cudaupload_uninit() argument
49 CudaUploadContext *s = ctx->priv; in cudaupload_uninit()
55 static int cudaupload_query_formats(AVFilterContext *ctx) in cudaupload_query_formats() argument
74 ret = ff_formats_ref(in_fmts, &ctx->inputs[0]->outcfg.formats); in cudaupload_query_formats()
80 ret = ff_formats_ref(out_fmts, &ctx->outputs[0]->incfg.formats); in cudaupload_query_formats()
89 AVFilterContext *ctx = outlink->src; in cudaupload_config_output() local
90 AVFilterLink *inlink = ctx->inputs[0]; in cudaupload_config_output()
91 CudaUploadContext *s = ctx in cudaupload_config_output()
125 AVFilterContext *ctx = link->dst; cudaupload_filter_frame() local
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_helper_invocations.c96 mir_analyze_helper_terminate(compiler_context *ctx) in mir_analyze_helper_terminate() argument
109 mir_foreach_block(ctx, _block) { in mir_analyze_helper_terminate()
111 block->helpers_in |= mir_block_uses_helpers(ctx->stage, block); in mir_analyze_helper_terminate()
146 mir_foreach_block(ctx, _block) { in mir_analyze_helper_terminate()
154 if (!mir_op_computes_derivatives(ctx->stage, ins->op)) continue; in mir_analyze_helper_terminate()
188 mir_analyze_helper_requirements(compiler_context *ctx) in mir_analyze_helper_requirements() argument
190 mir_compute_temp_count(ctx); in mir_analyze_helper_requirements()
191 unsigned temp_count = ctx->temp_count; in mir_analyze_helper_requirements()
197 mir_foreach_instr_global(ctx, ins) { in mir_analyze_helper_requirements()
199 if (ins->dest >= ctx in mir_analyze_helper_requirements()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_null.c44 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_einit() local
49 ctx->enc = 1; in null_einit()
68 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_cipher() local
73 if (!ctx->enc && ctx->tlsmacsize > 0) { in null_cipher()
78 if (inl < ctx->tlsmacsize) in null_cipher()
80 ctx->tlsmac = in + inl - ctx->tlsmacsize; in null_cipher()
81 inl -= ctx->tlsmacsize; in null_cipher()
125 PROV_CIPHER_NULL_CTX *ctx in null_get_ctx_params() local
163 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; null_set_ctx_params() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/macs/
H A Dcmac_prov.c47 CMAC_CTX *ctx; member
59 || (macctx->ctx = CMAC_CTX_new()) == NULL) { in cmac_new()
74 CMAC_CTX_free(macctx->ctx); in cmac_free()
91 if (!CMAC_CTX_copy(dst->ctx, src->ctx) in cmac_dup()
102 const EVP_CIPHER_CTX *cipherctx = CMAC_CTX_get0_cipher_ctx(macctx->ctx); in cmac_size()
113 int rv = CMAC_Init(macctx->ctx, key, keylen, in cmac_setkey()
130 return CMAC_Init(macctx->ctx, NULL, 0, NULL, NULL); in cmac_init()
138 return CMAC_Update(macctx->ctx, data, datalen); in cmac_update()
149 return CMAC_Final(macctx->ctx, ou in cmac_final()
157 cmac_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) cmac_gettable_ctx_params() argument
184 cmac_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) cmac_settable_ctx_params() argument
196 OSSL_LIB_CTX *ctx = PROV_LIBCTX_OF(macctx->provctx); cmac_set_ctx_params() local
[all...]
/third_party/openssl/test/
H A Dclienthellotest.c61 SSL_CTX *ctx; in test_client_hello() local
88 ctx = SSL_CTX_new(TLS_method()); in test_client_hello()
89 if (!TEST_ptr(ctx)) in test_client_hello()
91 if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, 0))) in test_client_hello()
98 SSL_CTX_free(ctx); in test_client_hello()
102 if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, TLS1_2_VERSION))) in test_client_hello()
113 if (!TEST_false(SSL_CTX_set_cipher_list(ctx, ""))) in test_client_hello()
119 SSL_CTX_set_options(ctx, SSL_OP_TLSEXT_PADDING); in test_client_hello()
121 SSL_CTX_clear_options(ctx, SSL_OP_ENABLE_MIDDLEBOX_COMPAT); in test_client_hello()
128 if (!TEST_false(SSL_CTX_set_alpn_protos(ctx, in test_client_hello()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dfunction_test.cpp114 std::unique_ptr<IRContext> ctx = in TEST() local
117 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
120 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
148 std::unique_ptr<IRContext> ctx = in TEST() local
151 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
184 std::unique_ptr<IRContext> ctx = in TEST() local
187 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
190 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
218 std::unique_ptr<IRContext> ctx = in TEST() local
221 auto* func = spvtest::GetFunction(ctx in TEST()
243 std::unique_ptr<IRContext> ctx = TEST() local
280 std::unique_ptr<IRContext> ctx = TEST() local
[all...]
/third_party/openssl/providers/implementations/macs/
H A Dcmac_prov.c47 CMAC_CTX *ctx; member
59 || (macctx->ctx = CMAC_CTX_new()) == NULL) { in cmac_new()
74 CMAC_CTX_free(macctx->ctx); in cmac_free()
91 if (!CMAC_CTX_copy(dst->ctx, src->ctx) in cmac_dup()
103 return EVP_CIPHER_CTX_get_block_size(CMAC_CTX_get0_cipher_ctx(macctx->ctx)); in cmac_size()
109 int rv = CMAC_Init(macctx->ctx, key, keylen, in cmac_setkey()
126 return CMAC_Init(macctx->ctx, NULL, 0, NULL, NULL); in cmac_init()
134 return CMAC_Update(macctx->ctx, data, datalen); in cmac_update()
145 return CMAC_Final(macctx->ctx, ou in cmac_final()
153 cmac_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) cmac_gettable_ctx_params() argument
180 cmac_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) cmac_settable_ctx_params() argument
192 OSSL_LIB_CTX *ctx = PROV_LIBCTX_OF(macctx->provctx); cmac_set_ctx_params() local
[all...]
/third_party/openssl/demos/cipher/
H A Daeskeywrap.c59 EVP_CIPHER_CTX *ctx; in aes_wrap_encrypt() local
69 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) in aes_wrap_encrypt()
72 EVP_CIPHER_CTX_set_flags(ctx, EVP_CIPHER_CTX_FLAG_WRAP_ALLOW); in aes_wrap_encrypt()
82 if (!EVP_EncryptInit_ex2(ctx, cipher, wrap_key, wrap_iv, /* params */ NULL)) in aes_wrap_encrypt()
86 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) in aes_wrap_encrypt()
90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_encrypt()
109 EVP_CIPHER_CTX_free(ctx); in aes_wrap_encrypt()
117 EVP_CIPHER_CTX *ctx; in aes_wrap_decrypt() local
126 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) in aes_wrap_decrypt()
129 EVP_CIPHER_CTX_set_flags(ctx, EVP_CIPHER_CTX_FLAG_WRAP_ALLO in aes_wrap_decrypt()
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_null.c44 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_einit() local
49 ctx->enc = 1; in null_einit()
68 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_cipher() local
73 if (!ctx->enc && ctx->tlsmacsize > 0) { in null_cipher()
78 if (inl < ctx->tlsmacsize) in null_cipher()
80 ctx->tlsmac = in + inl - ctx->tlsmacsize; in null_cipher()
81 inl -= ctx->tlsmacsize; in null_cipher()
125 PROV_CIPHER_NULL_CTX *ctx in null_get_ctx_params() local
163 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; null_set_ctx_params() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dfunction_test.cpp114 std::unique_ptr<IRContext> ctx = in TEST() local
117 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
120 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
148 std::unique_ptr<IRContext> ctx = in TEST() local
151 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
184 std::unique_ptr<IRContext> ctx = in TEST() local
187 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
190 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
218 std::unique_ptr<IRContext> ctx = in TEST() local
221 auto* func = spvtest::GetFunction(ctx in TEST()
243 std::unique_ptr<IRContext> ctx = TEST() local
280 std::unique_ptr<IRContext> ctx = TEST() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dcommand_buffer.c16 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem() argument
18 struct hl_device *hdev = ctx->hdev; in cb_map_mem()
45 virt_addr = (u64) gen_pool_alloc(ctx->cb_va_pool, page_size); in cb_map_mem()
56 gen_pool_free(ctx->cb_va_pool, virt_addr, page_size); in cb_map_mem()
66 mutex_lock(&ctx->mmu_lock); in cb_map_mem()
71 rc = hl_mmu_map(ctx, va_block->start, bus_addr, va_block->size, in cb_map_mem()
86 mutex_unlock(&ctx->mmu_lock); in cb_map_mem()
96 hl_mmu_unmap(ctx, va_block->start, va_block->size, in cb_map_mem()
103 mutex_unlock(&ctx->mmu_lock); in cb_map_mem()
107 gen_pool_free(ctx in cb_map_mem()
115 cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) cb_unmap_mem() argument
238 hl_cb_create(struct hl_device *hdev, struct hl_cb_mgr *mgr, struct hl_ctx *ctx, u32 cb_size, bool internal_cb, bool map_cb, u64 *handle) hl_cb_create() argument
647 hl_cb_va_pool_init(struct hl_ctx *ctx) hl_cb_va_pool_init() argument
679 hl_cb_va_pool_fini(struct hl_ctx *ctx) hl_cb_va_pool_fini() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Dfs_context.c192 * @ctx: The superblock configuration to fill in.
487 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
489 if (ctx) { in legacy_fs_context_free()
490 if (ctx->param_type == LEGACY_FS_INDIVIDUAL_PARAMS) in legacy_fs_context_free()
491 kfree(ctx->legacy_data); in legacy_fs_context_free()
492 kfree(ctx); in legacy_fs_context_free()
501 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
504 ctx = kmemdup(src_ctx, sizeof(*src_ctx), GFP_KERNEL); in legacy_fs_context_dup()
505 if (!ctx) in legacy_fs_context_dup()
508 if (ctx in legacy_fs_context_dup()
527 struct legacy_fs_context *ctx = fc->fs_private; legacy_parse_param() local
585 struct legacy_fs_context *ctx = fc->fs_private; legacy_parse_monolithic() local
607 struct legacy_fs_context *ctx = fc->fs_private; legacy_get_tree() local
628 struct legacy_fs_context *ctx = fc->fs_private; legacy_reconfigure() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dfs_context.c538 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
540 if (ctx) { in legacy_fs_context_free()
541 if (ctx->param_type == LEGACY_FS_INDIVIDUAL_PARAMS) in legacy_fs_context_free()
542 kfree(ctx->legacy_data); in legacy_fs_context_free()
543 kfree(ctx); in legacy_fs_context_free()
552 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
555 ctx = kmemdup(src_ctx, sizeof(*src_ctx), GFP_KERNEL); in legacy_fs_context_dup()
556 if (!ctx) in legacy_fs_context_dup()
559 if (ctx->param_type == LEGACY_FS_INDIVIDUAL_PARAMS) { in legacy_fs_context_dup()
560 ctx in legacy_fs_context_dup()
578 struct legacy_fs_context *ctx = fc->fs_private; legacy_parse_param() local
636 struct legacy_fs_context *ctx = fc->fs_private; legacy_parse_monolithic() local
658 struct legacy_fs_context *ctx = fc->fs_private; legacy_get_tree() local
679 struct legacy_fs_context *ctx = fc->fs_private; legacy_reconfigure() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiVersionCheck.cpp73 APIVersionTestInstance (Context& ctx) in APIVersionTestInstance() argument
74 : TestInstance (ctx) in APIVersionTestInstance()
107 virtual TestInstance* createInstance (Context& ctx) const in createInstance()
109 return new APIVersionTestInstance(ctx); in createInstance()
126 APIEntryPointsTestInstance (Context& ctx) in APIEntryPointsTestInstance() argument
127 : TestInstance (ctx) in APIEntryPointsTestInstance()
150 APIContext ctx = { instance, *device, getInstanceProcAddr, getDeviceProcAddr }; in iterate() local
165 const char* const regularResult = regularCheck(ctx, log, failsQuantity, lastGoodVersion->second) ? "Passed" : "Failed"; in iterate()
169 const char* const mixupResult = mixupAddressProcCheck(ctx, log, failsQuantity, lastGoodVersion->second) ? "Passed" : "Failed"; in iterate()
188 const char * const result = specialCasesCheck(ctx, lo in iterate()
215 APIContext ctx = { instance, *device, getInstanceProcAddr, getDeviceProcAddr }; iterate() local
419 checkPlatformFunction(const APIContext& ctx, tcu::TestLog& log, const char* const name, deBool shouldBeNonNull, deUint32& failsQuantity) checkPlatformFunction() argument
425 checkInstanceFunction(const APIContext& ctx, tcu::TestLog& log, const char* const name, deBool shouldBeNonNull, deUint32& failsQuantity) checkInstanceFunction() argument
431 checkDeviceFunction(const APIContext& ctx, tcu::TestLog& log, const char* const name, deBool shouldBeNonNull, deUint32& failsQuantity) checkDeviceFunction() argument
451 mixupAddressProcCheck(const APIContext& ctx, tcu::TestLog& log, deUint32& failsQuantity, const vector<pair<const char*, FunctionOrigin> >& testsArr) mixupAddressProcCheck() argument
472 specialCasesCheck(const APIContext& ctx, tcu::TestLog& log, deUint32& failsQuantity, const vector<pair<const char*, FunctionOrigin> >& testsArr) specialCasesCheck() argument
488 regularCheck(const APIContext& ctx, tcu::TestLog& log, deUint32& failsQuantity, const vector<pair<const char*, FunctionOrigin> >& testsArr) regularCheck() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_req_lat_if.c420 * @ctx: pointer to codec's context
447 struct mtk_vcodec_dec_ctx *ctx; member
508 struct mtk_vcodec_dec_ctx *ctx; in vdec_vp9_slice_init_default_frame_ctx() local
512 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx()
514 if (!ctx || !vsi) in vdec_vp9_slice_init_default_frame_ctx()
517 remote_frame_ctx = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_vp9_slice_init_default_frame_ctx()
520 mtk_vdec_err(ctx, "failed to map default frame ctx\n"); in vdec_vp9_slice_init_default_frame_ctx()
545 struct mtk_vcodec_dec_ctx *ctx in vdec_vp9_slice_alloc_working_buffer() local
637 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; vdec_vp9_slice_free_working_buffer() local
1852 vdec_vp9_slice_init(struct mtk_vcodec_dec_ctx *ctx) vdec_vp9_slice_init() argument
1935 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; vdec_vp9_slice_get_pic_info() local
1986 struct mtk_vcodec_dec_ctx *ctx; vdec_vp9_slice_single_decode() local
2044 struct mtk_vcodec_dec_ctx *ctx; vdec_vp9_slice_lat_decode() local
2139 struct mtk_vcodec_dec_ctx *ctx = NULL; vdec_vp9_slice_core_decode() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Dwpa_hal_event.c40 static void WifiWpaEventNewStaProcess(void *ctx, void *data) in WifiWpaEventNewStaProcess() argument
42 if (ctx == NULL || data == NULL) { in WifiWpaEventNewStaProcess()
45 WifiDriverData *drv = (WifiDriverData *)ctx; in WifiWpaEventNewStaProcess()
51 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in WifiWpaEventNewStaProcess()
57 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, &event); in WifiWpaEventNewStaProcess()
65 static void WifiWpaEventDelStaProcess(void *ctx, void *data) in WifiWpaEventDelStaProcess() argument
67 if (ctx == NULL || data == NULL) { in WifiWpaEventDelStaProcess()
71 WifiDriverData *drv = (WifiDriverData *)ctx; in WifiWpaEventDelStaProcess()
74 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)drv->ctx; in WifiWpaEventDelStaProcess()
81 if (drv->ctx ! in WifiWpaEventDelStaProcess()
88 WifiWpaEventRxMgmtProcess(void *ctx, void *data) WifiWpaEventRxMgmtProcess() argument
109 WifiWpaEventTxStatusProcess(void *ctx, void *data) WifiWpaEventTxStatusProcess() argument
136 WifiWpaEventScanDoneProcess(void *ctx, void *data) WifiWpaEventScanDoneProcess() argument
158 WifiWpaEventScanResultProcess(void *ctx, void *data) WifiWpaEventScanResultProcess() argument
217 WifiWpaEventConnectResultProcess(void *ctx, void *data) WifiWpaEventConnectResultProcess() argument
254 WifiWpaEventDisconnectProcess(void *ctx, void *data) WifiWpaEventDisconnectProcess() argument
281 WifiWpaDriverEventEapolRecvProcess(void *ctx, void *data) WifiWpaDriverEventEapolRecvProcess() argument
288 WifiWpaEventRemainOnChannelProcess(void *ctx, void *data) WifiWpaEventRemainOnChannelProcess() argument
305 WifiWpaEventCancelRemainOnChannelProcess(void *ctx, void *data) WifiWpaEventCancelRemainOnChannelProcess() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dibss_rsn.c48 static void supp_set_state(void *ctx, enum wpa_states state) in supp_set_state() argument
50 struct ibss_rsn_peer *peer = ctx; in supp_set_state()
55 static enum wpa_states supp_get_state(void *ctx) in supp_get_state() argument
57 struct ibss_rsn_peer *peer = ctx; in supp_get_state()
62 static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, in supp_ether_send() argument
65 struct ibss_rsn_peer *peer = ctx; in supp_ether_send()
79 static u8 * supp_alloc_eapol(void *ctx, u8 type, const void *data, in supp_alloc_eapol() argument
108 static int supp_get_beacon_ie(void *ctx) in supp_get_beacon_ie() argument
110 struct ibss_rsn_peer *peer = ctx; in supp_get_beacon_ie()
139 static int supp_set_key(void *ctx, enu argument
173 supp_get_network_ctx(void *ctx) supp_get_network_ctx() argument
180 supp_mlme_setprotection(void *ctx, const u8 *addr, int protection_type, int key_type) supp_mlme_setprotection() argument
190 supp_cancel_auth_timeout(void *ctx) supp_cancel_auth_timeout() argument
196 supp_deauthenticate(void * ctx, u16 reason_code) supp_deauthenticate() argument
205 struct wpa_sm_ctx *ctx = os_zalloc(sizeof(*ctx)); ibss_rsn_supp_init() local
250 auth_logger(void *ctx, const u8 *addr, logger_level level, const char *txt) auth_logger() argument
261 auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) auth_get_psk() argument
279 auth_send_eapol(void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt) auth_send_eapol() argument
297 auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) auth_set_key() argument
341 ibss_rsn_disconnect(void *ctx, const u8 *addr, u16 reason) ibss_rsn_disconnect() argument
348 auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) auth_for_each_sta() argument
392 auth_set_eapol(void *ctx, const u8 *addr, wpa_eapol_variable var, int value) auth_set_eapol() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Dwpa_hal_event.c42 static void WifiWpaEventNewStaProcess(void *ctx, void *data) in WifiWpaEventNewStaProcess() argument
44 if (ctx == NULL || data == NULL) { in WifiWpaEventNewStaProcess()
47 WifiDriverData *drv = (WifiDriverData *)ctx; in WifiWpaEventNewStaProcess()
53 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in WifiWpaEventNewStaProcess()
59 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, &event); in WifiWpaEventNewStaProcess()
67 static void WifiWpaEventDelStaProcess(void *ctx, void *data) in WifiWpaEventDelStaProcess() argument
69 if (ctx == NULL || data == NULL) { in WifiWpaEventDelStaProcess()
73 WifiDriverData *drv = (WifiDriverData *)ctx; in WifiWpaEventDelStaProcess()
76 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)drv->ctx; in WifiWpaEventDelStaProcess()
83 if (drv->ctx ! in WifiWpaEventDelStaProcess()
90 WifiWpaEventRxMgmtProcess(void *ctx, void *data) WifiWpaEventRxMgmtProcess() argument
111 WifiWpaEventTxStatusProcess(void *ctx, void *data) WifiWpaEventTxStatusProcess() argument
138 WifiWpaEventScanDoneProcess(void *ctx, void *data) WifiWpaEventScanDoneProcess() argument
160 WifiWpaEventScanResultProcess(void *ctx, void *data) WifiWpaEventScanResultProcess() argument
219 WifiWpaEventConnectResultProcess(void *ctx, void *data) WifiWpaEventConnectResultProcess() argument
256 WifiWpaEventDisconnectProcess(void *ctx, void *data) WifiWpaEventDisconnectProcess() argument
283 WifiWpaDriverEventEapolRecvProcess(void *ctx, void *data) WifiWpaDriverEventEapolRecvProcess() argument
290 WifiWpaEventRemainOnChannelProcess(void *ctx, void *data) WifiWpaEventRemainOnChannelProcess() argument
307 WifiWpaEventCancelRemainOnChannelProcess(void *ctx, void *data) WifiWpaEventCancelRemainOnChannelProcess() argument
[all...]
/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_key_test.cpp48 OH_CryptoSymKeyGenerator *ctx = nullptr; in HWTEST_F() local
54 OH_Crypto_ErrCode ret = OH_CryptoSymKeyGenerator_Create("AES128", &ctx); in HWTEST_F()
56 ret = OH_CryptoSymKeyGenerator_Convert(ctx, &keyMaterialBlob, &convertKey); in HWTEST_F()
58 const char *algoName = OH_CryptoSymKeyGenerator_GetAlgoName(ctx); in HWTEST_F()
62 OH_CryptoSymKeyGenerator_Destroy(ctx); in HWTEST_F()
67 OH_CryptoSymKeyGenerator *ctx = nullptr; in HWTEST_F() local
70 OH_Crypto_ErrCode ret = OH_CryptoSymKeyGenerator_Create("AES128", &ctx); in HWTEST_F()
72 ret = OH_CryptoSymKeyGenerator_Generate(ctx, &symKey); in HWTEST_F()
78 const char *algoName = OH_CryptoSymKeyGenerator_GetAlgoName(ctx); in HWTEST_F()
83 OH_CryptoSymKeyGenerator_Destroy(ctx); in HWTEST_F()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s32/
H A Dmmu_context.c53 unsigned long ctx = next_mmu_context; in __init_new_context() local
55 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
56 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
57 if (ctx > LAST_CONTEXT) in __init_new_context()
58 ctx = 0; in __init_new_context()
60 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
62 return ctx; in __init_new_context()
85 void __destroy_context(unsigned long ctx) in __destroy_context() argument
87 clear_bit(ctx, context_ma in __destroy_context()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
H A Ddelta-debug.c55 void delta_trace_summary(struct delta_ctx *ctx) in delta_trace_summary() argument
57 struct delta_dev *delta = ctx->dev; in delta_trace_summary()
58 struct delta_streaminfo *s = &ctx->streaminfo; in delta_trace_summary()
61 if (!(ctx->flags & DELTA_FLAG_STREAMINFO)) in delta_trace_summary()
65 ctx->name, in delta_trace_summary()
67 ctx->decoded_frames, in delta_trace_summary()
68 ctx->output_frames, in delta_trace_summary()
69 ctx->dropped_frames, in delta_trace_summary()
70 ctx->stream_errors, in delta_trace_summary()
71 ctx in delta_trace_summary()
[all...]
/kernel/linux/linux-6.6/io_uring/
H A Dfiletable.h13 int __io_fixed_fd_install(struct io_ring_ctx *ctx, struct file *file,
15 int io_fixed_fd_remove(struct io_ring_ctx *ctx, unsigned int offset);
17 int io_register_file_alloc_range(struct io_ring_ctx *ctx,
69 static inline void io_reset_alloc_hint(struct io_ring_ctx *ctx) in io_reset_alloc_hint() argument
71 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_reset_alloc_hint()
74 static inline void io_file_table_set_alloc_range(struct io_ring_ctx *ctx, in io_file_table_set_alloc_range() argument
77 ctx->file_alloc_start = off; in io_file_table_set_alloc_range()
78 ctx->file_alloc_end = off + len; in io_file_table_set_alloc_range()
79 io_reset_alloc_hint(ctx); in io_file_table_set_alloc_range()
[all...]

Completed in 19 milliseconds

1...<<121122123124125126127128129130>>...513