/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | p_open.c | 18 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, in EVP_OpenInit() argument 28 EVP_CIPHER_CTX_reset(ctx); in EVP_OpenInit() 29 if (!EVP_DecryptInit_ex(ctx, type, NULL, NULL, NULL)) in EVP_OpenInit() 53 if (EVP_CIPHER_CTX_set_key_length(ctx, keylen) <= 0 in EVP_OpenInit() 54 || !EVP_DecryptInit_ex(ctx, NULL, NULL, key, iv)) in EVP_OpenInit() 64 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_OpenFinal() argument 68 i = EVP_DecryptFinal_ex(ctx, out, outl); in EVP_OpenFinal() 70 i = EVP_DecryptInit_ex(ctx, NULL, NULL, NULL, NULL); in EVP_OpenFinal()
|
/third_party/openssl/crypto/evp/ |
H A D | e_sm4.c | 26 static int sm4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in sm4_init_key() argument 29 ossl_sm4_set_key(key, EVP_CIPHER_CTX_get_cipher_data(ctx)); in sm4_init_key() 74 static int sm4_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_ctr_cipher() argument 77 int n = EVP_CIPHER_CTX_get_num(ctx); in sm4_ctr_cipher() 79 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_ctr_cipher() 85 CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, ctx->iv, in sm4_ctr_cipher() 86 EVP_CIPHER_CTX_buf_noconst(ctx), &num, in sm4_ctr_cipher() 88 EVP_CIPHER_CTX_set_num(ctx, num); in sm4_ctr_cipher()
|
H A D | p_open.c | 18 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, in EVP_OpenInit() argument 28 EVP_CIPHER_CTX_reset(ctx); in EVP_OpenInit() 29 if (!EVP_DecryptInit_ex(ctx, type, NULL, NULL, NULL)) in EVP_OpenInit() 53 if (EVP_CIPHER_CTX_set_key_length(ctx, keylen) <= 0 in EVP_OpenInit() 54 || !EVP_DecryptInit_ex(ctx, NULL, NULL, key, iv)) in EVP_OpenInit() 64 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_OpenFinal() argument 68 i = EVP_DecryptFinal_ex(ctx, out, outl); in EVP_OpenFinal() 70 i = EVP_DecryptInit_ex(ctx, NULL, NULL, NULL, NULL); in EVP_OpenFinal()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_desx_hw.c | 27 static int cipher_hw_desx_cbc_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_desx_cbc_initkey() argument 30 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in cipher_hw_desx_cbc_initkey() 50 static int cipher_hw_desx_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_desx_cbc() argument 53 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in cipher_hw_desx_cbc() 57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, in cipher_hw_desx_cbc() 58 ctx->enc); in cipher_hw_desx_cbc() 65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, in cipher_hw_desx_cbc() 66 ctx->enc); in cipher_hw_desx_cbc()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | fold_constants.cc | 36 void FoldConstants::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run() argument 37 ctx.ReplaceAll([&](const ast::Expression* expr) -> const ast::Expression* { in Run() 38 auto* call = ctx.src->Sem().Get<sem::Call>(expr); in Run() 78 i, [&](auto&& s) { ctors.emplace_back(ctx.dst->Expr(s)); }); in Run() 81 auto* el_ty = CreateASTTypeFor(ctx, vec->type()); in Run() 82 return ctx.dst->vec(el_ty, vec_size, ctors); in Run() 88 return ctx.dst->Expr(s); in Run() 95 ctx.Clone(); in Run()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeDisplacementMap.cpp | 28 const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 29 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 30 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 34 sk_sp<SkImageFilter> in = fctx.resolveInput(ctx, this->getIn()); in onMakeImageFilter() 35 sk_sp<SkImageFilter> in2 = fctx.resolveInput(ctx, this->getIn2(), colorspace); in onMakeImageFilter() 39 const auto obbt = ctx.transformForCurrentOBB(fctx.primitiveUnits()); in onMakeImageFilter() 49 SkSVGColorspace SkSVGFeDisplacementMap::resolveColorspace(const SkSVGRenderContext& ctx, in resolveColorspace() argument 54 return fctx.resolveInputColorspace(ctx, this->getIn()); in resolveColorspace() 27 onMakeImageFilter( const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx) const onMakeImageFilter() argument
|
/kernel/linux/linux-5.10/sound/soc/au1x/ |
H A D | dma.c | 186 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss, component); in ss_to_as() local 187 return &(ctx->stream[ss->stream]); in ss_to_as() 193 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream, component); in alchemy_pcm_open() local 204 ctx->stream[s].dma = request_au1000_dma(dmaids[s], name, in alchemy_pcm_open() 206 &ctx->stream[s]); in alchemy_pcm_open() 207 set_dma_mode(ctx->stream[s].dma, in alchemy_pcm_open() 208 get_dma_mode(ctx->stream[s].dma) & ~DMA_NC); in alchemy_pcm_open() 210 ctx->stream[s].substream = substream; in alchemy_pcm_open() 211 ctx->stream[s].buffer = NULL; in alchemy_pcm_open() 220 struct alchemy_pcm_ctx *ctx in alchemy_pcm_close() local 305 struct alchemy_pcm_ctx *ctx; alchemy_pcm_drvprobe() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-mq-sysfs.c | 26 struct blk_mq_ctx *ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_ctx_sysfs_release() local 28 /* ctx->ctxs won't be released until all ctx are freed */ in blk_mq_ctx_sysfs_release() 29 kobject_put(&ctx->ctxs->kobj); in blk_mq_ctx_sysfs_release() 146 struct blk_mq_ctx *ctx; in blk_mq_unregister_hctx() local 152 hctx_for_each_ctx(hctx, ctx, i) in blk_mq_unregister_hctx() 153 kobject_del(&ctx->kobj); in blk_mq_unregister_hctx() 161 struct blk_mq_ctx *ctx; in blk_mq_register_hctx() local 171 hctx_for_each_ctx(hctx, ctx, i) { in blk_mq_register_hctx() 172 ret = kobject_add(&ctx in blk_mq_register_hctx() 194 struct blk_mq_ctx *ctx; blk_mq_sysfs_deinit() local 206 struct blk_mq_ctx *ctx; blk_mq_sysfs_init() local [all...] |
/kernel/linux/linux-6.6/sound/soc/au1x/ |
H A D | dma.c | 186 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss, component); in ss_to_as() local 187 return &(ctx->stream[ss->stream]); in ss_to_as() 193 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream, component); in alchemy_pcm_open() local 204 ctx->stream[s].dma = request_au1000_dma(dmaids[s], name, in alchemy_pcm_open() 206 &ctx->stream[s]); in alchemy_pcm_open() 207 set_dma_mode(ctx->stream[s].dma, in alchemy_pcm_open() 208 get_dma_mode(ctx->stream[s].dma) & ~DMA_NC); in alchemy_pcm_open() 210 ctx->stream[s].substream = substream; in alchemy_pcm_open() 211 ctx->stream[s].buffer = NULL; in alchemy_pcm_open() 220 struct alchemy_pcm_ctx *ctx in alchemy_pcm_close() local 305 struct alchemy_pcm_ctx *ctx; alchemy_pcm_drvprobe() local [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | blowfish.c | 128 static void test_blowfish(AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, in test_blowfish() argument 132 av_blowfish_crypt(ctx, dst, src, len, iv, dir); in test_blowfish() 152 AVBlowfish *ctx = av_blowfish_alloc(); in main() local 153 if (!ctx) in main() 156 av_blowfish_init(ctx, "abcdefghijklmnopqrstuvwxyz", 26); in main() 158 test_blowfish(ctx, tmp, plaintext, ciphertext, 1, NULL, 0, "encryption"); in main() 159 test_blowfish(ctx, tmp, ciphertext, plaintext, 1, NULL, 1, "decryption"); in main() 160 test_blowfish(ctx, tmp, tmp, ciphertext, 1, NULL, 0, "Inplace encryption"); in main() 161 test_blowfish(ctx, tmp, tmp, plaintext, 1, NULL, 1, "Inplace decryption"); in main() 163 test_blowfish(ctx, tm in main() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | lower_tess_level.cpp | 315 void *ctx = ralloc_parent(ir); in visit_leave() local 318 ir_dereference_array *new_lhs = new(ctx) ir_dereference_array( in visit_leave() 319 ir->lhs->clone(ctx, NULL), new(ctx) ir_constant(i)); in visit_leave() 320 ir_dereference_array *new_rhs = new(ctx) ir_dereference_array( in visit_leave() 321 ir->rhs->clone(ctx, NULL), new(ctx) ir_constant(i)); in visit_leave() 333 ir_assignment *const assign = new(ctx) ir_assignment(new_lhs, new_rhs); in visit_leave() 385 void *ctx = ralloc_parent(ir); in visit_leave() local 407 ir_variable *temp = new(ctx) ir_variabl in visit_leave() [all...] |
/third_party/musl/src/network/ |
H A D | getifaddrs.c | 111 struct ifaddrs_ctx *ctx = pctx; in netlink_msg_to_ifaddr() local 126 for (ifs0 = ctx->hash[ifa->ifa_index % IFADDRS_HASH_SIZE]; ifs0; ifs0 = ifs0->hash_next) in netlink_msg_to_ifaddr() 163 ifs->hash_next = ctx->hash[bucket]; in netlink_msg_to_ifaddr() 164 ctx->hash[bucket] = ifs; in netlink_msg_to_ifaddr() 208 if (!ctx->first) ctx->first = &ifs->ifa; in netlink_msg_to_ifaddr() 209 if (ctx->last) ctx->last->ifa_next = &ifs->ifa; in netlink_msg_to_ifaddr() 210 ctx->last = &ifs->ifa; in netlink_msg_to_ifaddr() 271 struct ifaddrs_ctx _ctx, *ctx in getifaddrs() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_pss.c | 47 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in RSA_verify_PKCS1_PSS_mgf1() local 50 if (ctx == NULL) in RSA_verify_PKCS1_PSS_mgf1() 121 if (!EVP_DigestInit_ex(ctx, Hash, NULL) in RSA_verify_PKCS1_PSS_mgf1() 122 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_verify_PKCS1_PSS_mgf1() 123 || !EVP_DigestUpdate(ctx, mHash, hLen)) in RSA_verify_PKCS1_PSS_mgf1() 126 if (!EVP_DigestUpdate(ctx, DB + i, maskedDBLen - i)) in RSA_verify_PKCS1_PSS_mgf1() 129 if (!EVP_DigestFinal_ex(ctx, H_, NULL)) in RSA_verify_PKCS1_PSS_mgf1() 140 EVP_MD_CTX_free(ctx); in RSA_verify_PKCS1_PSS_mgf1() 162 EVP_MD_CTX *ctx = NULL; in RSA_padding_add_PKCS1_PSS_mgf1() local 213 ctx in RSA_padding_add_PKCS1_PSS_mgf1() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemBufferValidator.hpp | 104 bool validateBuffer (ProtectedContext& ctx, 109 void printReferenceInfo (ProtectedContext& ctx) const; 149 void BufferValidator<T>::printReferenceInfo (ProtectedContext& ctx) const in printReferenceInfo() 153 ctx.getTestContext().getLog() in printReferenceInfo() 168 ctx.getTestContext().getLog() in printReferenceInfo() 176 bool BufferValidator<T>::validateBuffer (ProtectedContext& ctx, in validateBuffer() argument 180 printReferenceInfo(ctx); in validateBuffer() 184 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in validateBuffer() 185 const vk::VkDevice device = ctx.getDevice(); in validateBuffer() 186 const vk::VkQueue queue = ctx in validateBuffer() [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_pss.c | 47 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in RSA_verify_PKCS1_PSS_mgf1() local 50 if (ctx == NULL) in RSA_verify_PKCS1_PSS_mgf1() 121 if (!EVP_DigestInit_ex(ctx, Hash, NULL) in RSA_verify_PKCS1_PSS_mgf1() 122 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_verify_PKCS1_PSS_mgf1() 123 || !EVP_DigestUpdate(ctx, mHash, hLen)) in RSA_verify_PKCS1_PSS_mgf1() 126 if (!EVP_DigestUpdate(ctx, DB + i, maskedDBLen - i)) in RSA_verify_PKCS1_PSS_mgf1() 129 if (!EVP_DigestFinal_ex(ctx, H_, NULL)) in RSA_verify_PKCS1_PSS_mgf1() 140 EVP_MD_CTX_free(ctx); in RSA_verify_PKCS1_PSS_mgf1() 162 EVP_MD_CTX *ctx = NULL; in RSA_padding_add_PKCS1_PSS_mgf1() local 213 ctx in RSA_padding_add_PKCS1_PSS_mgf1() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemBufferValidator.hpp | 104 bool validateBuffer (ProtectedContext& ctx, 109 void printReferenceInfo (ProtectedContext& ctx) const; 149 void BufferValidator<T>::printReferenceInfo (ProtectedContext& ctx) const in printReferenceInfo() 153 ctx.getTestContext().getLog() in printReferenceInfo() 168 ctx.getTestContext().getLog() in printReferenceInfo() 176 bool BufferValidator<T>::validateBuffer (ProtectedContext& ctx, in validateBuffer() argument 180 printReferenceInfo(ctx); in validateBuffer() 184 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in validateBuffer() 185 const vk::VkDevice device = ctx.getDevice(); in validateBuffer() 186 const vk::VkQueue queue = ctx in validateBuffer() [all...] |
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_env.c | 192 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in ossl_cms_RecipientInfos_set_cmsctx() local 200 ri->d.kari->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 203 ri->d.ktri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 205 ossl_cms_ctx_get0_libctx(ctx), in ossl_cms_RecipientInfos_set_cmsctx() 206 ossl_cms_ctx_get0_propq(ctx)); in ossl_cms_RecipientInfos_set_cmsctx() 209 ri->d.kekri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 212 ri->d.pwri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 300 const CMS_CTX *ctx) in cms_RecipientInfo_ktri_init() 311 ktri->cms_ctx = ctx; in cms_RecipientInfo_ktri_init() 326 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init() 298 cms_RecipientInfo_ktri_init(CMS_RecipientInfo *ri, X509 *recip, EVP_PKEY *pk, unsigned int flags, const CMS_CTX *ctx) cms_RecipientInfo_ktri_init() argument 359 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); CMS_add1_recipient() local 481 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_RecipientInfo_ktri_encrypt() local 547 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_RecipientInfo_ktri_decrypt() local 813 cms_get_key_wrap_cipher(size_t keylen, const CMS_CTX *ctx) cms_get_key_wrap_cipher() argument 847 EVP_CIPHER_CTX *ctx = NULL; cms_RecipientInfo_kekri_encrypt() local 918 EVP_CIPHER_CTX *ctx = NULL; cms_RecipientInfo_kekri_decrypt() local 1117 EVP_CIPHER_CTX *ctx = NULL; cms_EnvelopedData_Decryption_init_bio() local 1233 EVP_CIPHER_CTX *ctx = NULL; ossl_cms_EnvelopedData_final() local 1274 EVP_CIPHER_CTX *ctx; ossl_cms_AuthEnvelopedData_final() local [all...] |
/third_party/openssl/crypto/cms/ |
H A D | cms_env.c | 173 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in ossl_cms_RecipientInfos_set_cmsctx() local 181 ri->d.kari->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 184 ri->d.ktri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 186 ossl_cms_ctx_get0_libctx(ctx), in ossl_cms_RecipientInfos_set_cmsctx() 187 ossl_cms_ctx_get0_propq(ctx)); in ossl_cms_RecipientInfos_set_cmsctx() 190 ri->d.kekri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 193 ri->d.pwri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 281 const CMS_CTX *ctx) in cms_RecipientInfo_ktri_init() 292 ktri->cms_ctx = ctx; in cms_RecipientInfo_ktri_init() 307 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init() 279 cms_RecipientInfo_ktri_init(CMS_RecipientInfo *ri, X509 *recip, EVP_PKEY *pk, unsigned int flags, const CMS_CTX *ctx) cms_RecipientInfo_ktri_init() argument 340 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); CMS_add1_recipient() local 462 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_RecipientInfo_ktri_encrypt() local 528 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_RecipientInfo_ktri_decrypt() local 794 cms_get_key_wrap_cipher(size_t keylen, const CMS_CTX *ctx) cms_get_key_wrap_cipher() argument 828 EVP_CIPHER_CTX *ctx = NULL; cms_RecipientInfo_kekri_encrypt() local 899 EVP_CIPHER_CTX *ctx = NULL; cms_RecipientInfo_kekri_decrypt() local 1098 EVP_CIPHER_CTX *ctx = NULL; cms_EnvelopedData_Decryption_init_bio() local 1214 EVP_CIPHER_CTX *ctx = NULL; ossl_cms_EnvelopedData_final() local 1255 EVP_CIPHER_CTX *ctx; ossl_cms_AuthEnvelopedData_final() local [all...] |
/base/security/device_auth/frameworks/src/standard/ |
H A D | ipc_adapt.cpp | 67 IpcCallBackNode *ctx; member 85 if (g_ipcCallBackList.ctx != nullptr) { in InitIpcCallBackList() 90 g_ipcCallBackList.ctx = new(std::nothrow) IpcCallBackNode[IPC_CALL_BACK_MAX_NODES]; in InitIpcCallBackList() 91 if (g_ipcCallBackList.ctx == nullptr) { in InitIpcCallBackList() 96 SetIpcCallBackNodeDefault(g_ipcCallBackList.ctx[i]); in InitIpcCallBackList() 121 if (g_ipcCallBackList.ctx == nullptr) { in DeInitIpcCallBackList() 125 ResetIpcCallBackNode(g_ipcCallBackList.ctx[i]); in DeInitIpcCallBackList() 127 delete[] g_ipcCallBackList.ctx; in DeInitIpcCallBackList() 128 g_ipcCallBackList.ctx = nullptr; in DeInitIpcCallBackList() 140 if (g_ipcCallBackList.ctx in ResetIpcCallBackNodeByNodeId() 1220 InitDeviceAuthCbCtx(DeviceAuthCallback *ctx, int32_t type) InitDeviceAuthCbCtx() argument 1242 InitDevAuthListenerCbCtx(DataChangeListener *ctx) InitDevAuthListenerCbCtx() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 105 struct ath_chanctx *ctx; in ath_chanctx_init() local 117 ctx = &sc->chanctx[i]; in ath_chanctx_init() 118 cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20); in ath_chanctx_init() 119 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init() 120 ctx->txpower = ATH_TXPOWER_MAX; in ath_chanctx_init() 121 ctx->flush_timeout = HZ / 5; /* 200ms */ in ath_chanctx_init() 122 for (j = 0; j < ARRAY_SIZE(ctx->acq); j++) { in ath_chanctx_init() 123 INIT_LIST_HEAD(&ctx->acq[j].acq_new); in ath_chanctx_init() 124 INIT_LIST_HEAD(&ctx->acq[j].acq_old); in ath_chanctx_init() 125 spin_lock_init(&ctx in ath_chanctx_init() 130 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_set_channel() argument 159 struct ath_chanctx *ctx; ath_is_go_chanctx_present() local 247 ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_check_active() argument 327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_get_next() argument 389 ath_chanctx_handle_bmiss(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp) ath_chanctx_handle_bmiss() argument 414 ath_chanctx_offchannel_noa(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp, u32 tsf_time) ath_chanctx_offchannel_noa() argument 501 struct ath_chanctx *ctx; ath_chanctx_event() local 801 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_switch() argument 864 struct ath_chanctx *ctx; ath_chanctx_get_oper_chan() local 1060 struct ath_chanctx *ctx; ath_offchannel_timer() local 1335 struct ath_chanctx *ctx; ath9k_offchannel_init() local 1385 ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_stop_queues() argument 1404 ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_wake_queues() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 105 struct ath_chanctx *ctx; in ath_chanctx_init() local 117 ctx = &sc->chanctx[i]; in ath_chanctx_init() 118 cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20); in ath_chanctx_init() 119 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init() 120 ctx->txpower = ATH_TXPOWER_MAX; in ath_chanctx_init() 121 ctx->flush_timeout = HZ / 5; /* 200ms */ in ath_chanctx_init() 122 for (j = 0; j < ARRAY_SIZE(ctx->acq); j++) { in ath_chanctx_init() 123 INIT_LIST_HEAD(&ctx->acq[j].acq_new); in ath_chanctx_init() 124 INIT_LIST_HEAD(&ctx->acq[j].acq_old); in ath_chanctx_init() 125 spin_lock_init(&ctx in ath_chanctx_init() 130 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_set_channel() argument 159 struct ath_chanctx *ctx; ath_is_go_chanctx_present() local 247 ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_check_active() argument 327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_get_next() argument 389 ath_chanctx_handle_bmiss(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp) ath_chanctx_handle_bmiss() argument 414 ath_chanctx_offchannel_noa(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp, u32 tsf_time) ath_chanctx_offchannel_noa() argument 501 struct ath_chanctx *ctx; ath_chanctx_event() local 801 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_switch() argument 864 struct ath_chanctx *ctx; ath_chanctx_get_oper_chan() local 1060 struct ath_chanctx *ctx; ath_offchannel_timer() local 1335 struct ath_chanctx *ctx; ath9k_offchannel_init() local 1385 ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_stop_queues() argument 1404 ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_wake_queues() argument [all...] |
/third_party/python/Objects/ |
H A D | obmalloc.c | 19 static void* _PyMem_DebugRawMalloc(void *ctx, size_t size); 20 static void* _PyMem_DebugRawCalloc(void *ctx, size_t nelem, size_t elsize); 21 static void* _PyMem_DebugRawRealloc(void *ctx, void *ptr, size_t size); 22 static void _PyMem_DebugRawFree(void *ctx, void *ptr); 24 static void* _PyMem_DebugMalloc(void *ctx, size_t size); 25 static void* _PyMem_DebugCalloc(void *ctx, size_t nelem, size_t elsize); 26 static void* _PyMem_DebugRealloc(void *ctx, void *ptr, size_t size); 27 static void _PyMem_DebugFree(void *ctx, void *p); 79 static void* _PyObject_Malloc(void *ctx, size_t size); 80 static void* _PyObject_Calloc(void *ctx, size_ 93 _PyMem_RawMalloc(void *ctx, size_t size) _PyMem_RawMalloc() argument 105 _PyMem_RawCalloc(void *ctx, size_t nelem, size_t elsize) _PyMem_RawCalloc() argument 119 _PyMem_RawRealloc(void *ctx, void *ptr, size_t size) _PyMem_RawRealloc() argument 127 _PyMem_RawFree(void *ctx, void *ptr) _PyMem_RawFree() argument 135 _PyObject_ArenaVirtualAlloc(void *ctx, size_t size) _PyObject_ArenaVirtualAlloc() argument 142 _PyObject_ArenaVirtualFree(void *ctx, void *ptr, size_t size) _PyObject_ArenaVirtualFree() argument 149 _PyObject_ArenaMmap(void *ctx, size_t size) _PyObject_ArenaMmap() argument 161 _PyObject_ArenaMunmap(void *ctx, void *ptr, size_t size) _PyObject_ArenaMunmap() argument 168 _PyObject_ArenaMalloc(void *ctx, size_t size) _PyObject_ArenaMalloc() argument 174 _PyObject_ArenaFree(void *ctx, void *ptr, size_t size) _PyObject_ArenaFree() argument 1948 pymalloc_alloc(void *ctx, size_t nbytes) pymalloc_alloc() argument 1996 _PyObject_Malloc(void *ctx, size_t nbytes) _PyObject_Malloc() argument 2012 _PyObject_Calloc(void *ctx, size_t nelem, size_t elsize) _PyObject_Calloc() argument 2218 pymalloc_free(void *ctx, void *p) pymalloc_free() argument 2276 _PyObject_Free(void *ctx, void *p) _PyObject_Free() argument 2301 pymalloc_realloc(void *ctx, void **newptr_p, void *p, size_t nbytes) pymalloc_realloc() argument 2362 _PyObject_Realloc(void *ctx, void *ptr, size_t nbytes) _PyObject_Realloc() argument 2479 _PyMem_DebugRawAlloc(int use_calloc, void *ctx, size_t nbytes) _PyMem_DebugRawAlloc() argument 2539 _PyMem_DebugRawMalloc(void *ctx, size_t nbytes) _PyMem_DebugRawMalloc() argument 2545 _PyMem_DebugRawCalloc(void *ctx, size_t nelem, size_t elsize) _PyMem_DebugRawCalloc() argument 2560 _PyMem_DebugRawFree(void *ctx, void *p) _PyMem_DebugRawFree() argument 2580 _PyMem_DebugRawRealloc(void *ctx, void *p, size_t nbytes) _PyMem_DebugRawRealloc() argument 2690 _PyMem_DebugMalloc(void *ctx, size_t nbytes) _PyMem_DebugMalloc() argument 2697 _PyMem_DebugCalloc(void *ctx, size_t nelem, size_t elsize) _PyMem_DebugCalloc() argument 2705 _PyMem_DebugFree(void *ctx, void *ptr) _PyMem_DebugFree() argument 2713 _PyMem_DebugRealloc(void *ctx, void *ptr, size_t nbytes) _PyMem_DebugRealloc() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_domain.c | 171 __efc_domain_common(const char *funcname, struct efc_sm_ctx *ctx, in __efc_domain_common() argument 174 struct efc_domain *domain = ctx->app; in __efc_domain_common() 193 __efc_domain_common_shutdown(const char *funcname, struct efc_sm_ctx *ctx, in __efc_domain_common_shutdown() argument 196 struct efc_domain *domain = ctx->app; in __efc_domain_common_shutdown() 224 WARN_ON(!ctx || !ctx->app);\ 225 domain = ctx->app;\ 230 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, in __efc_domain_init() argument 300 efc_sm_transition(ctx, __efc_domain_wait_alloc, arg); in __efc_domain_init() 348 efc_sm_transition(ctx, __efc_domain_wait_allo in __efc_domain_init() 357 __efc_domain_wait_alloc(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_wait_alloc() argument 459 __efc_domain_allocated(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_allocated() argument 544 __efc_domain_wait_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_wait_attach() argument 625 __efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_ready() argument 695 __efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_wait_nports_free() argument 724 __efc_domain_wait_shutdown(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_wait_shutdown() argument 774 __efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) __efc_domain_wait_domain_lost() argument [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_switchdev.c | 128 const void *ctx) in br_switchdev_fdb_populate() 139 item->info.ctx = ctx; in br_switchdev_fdb_populate() 302 unsigned long action, const void *ctx) in br_switchdev_fdb_replay_one() 307 br_switchdev_fdb_populate(br, &item, fdb, ctx); in br_switchdev_fdb_replay_one() 314 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx, in br_switchdev_fdb_replay() argument 338 err = br_switchdev_fdb_replay_one(br, nb, fdb, action, ctx); in br_switchdev_fdb_replay() 349 const void *ctx, in br_switchdev_vlan_attr_replay() 357 .ctx = ctx, in br_switchdev_vlan_attr_replay() 125 br_switchdev_fdb_populate(struct net_bridge *br, struct switchdev_notifier_fdb_info *item, const struct net_bridge_fdb_entry *fdb, const void *ctx) br_switchdev_fdb_populate() argument 300 br_switchdev_fdb_replay_one(struct net_bridge *br, struct notifier_block *nb, const struct net_bridge_fdb_entry *fdb, unsigned long action, const void *ctx) br_switchdev_fdb_replay_one() argument 348 br_switchdev_vlan_attr_replay(struct net_device *br_dev, const void *ctx, struct notifier_block *nb, struct netlink_ext_ack *extack) br_switchdev_vlan_attr_replay() argument 391 br_switchdev_vlan_replay_one(struct notifier_block *nb, struct net_device *dev, struct switchdev_obj_port_vlan *vlan, const void *ctx, unsigned long action, struct netlink_ext_ack *extack) br_switchdev_vlan_replay_one() argument 411 br_switchdev_vlan_replay_group(struct notifier_block *nb, struct net_device *dev, struct net_bridge_vlan_group *vg, const void *ctx, unsigned long action, struct netlink_ext_ack *extack) br_switchdev_vlan_replay_group() argument 446 br_switchdev_vlan_replay(struct net_device *br_dev, const void *ctx, bool adding, struct notifier_block *nb, struct netlink_ext_ack *extack) br_switchdev_vlan_replay() argument 578 br_switchdev_mdb_replay_one(struct notifier_block *nb, struct net_device *dev, const struct switchdev_obj_port_mdb *mdb, unsigned long action, const void *ctx, struct netlink_ext_ack *extack) br_switchdev_mdb_replay_one() argument 674 br_switchdev_mdb_replay(struct net_device *br_dev, struct net_device *dev, const void *ctx, bool adding, struct notifier_block *nb, struct netlink_ext_ack *extack) br_switchdev_mdb_replay() argument 767 nbp_switchdev_sync_objs(struct net_bridge_port *p, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb, struct netlink_ext_ack *extack) nbp_switchdev_sync_objs() argument 794 nbp_switchdev_unsync_objs(struct net_bridge_port *p, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb) nbp_switchdev_unsync_objs() argument 822 br_switchdev_port_offload(struct net_bridge_port *p, struct net_device *dev, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb, bool tx_fwd_offload, struct netlink_ext_ack *extack) br_switchdev_port_offload() argument 852 br_switchdev_port_unoffload(struct net_bridge_port *p, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb) br_switchdev_port_unoffload() argument 861 br_switchdev_port_replay(struct net_bridge_port *p, struct net_device *dev, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb, struct netlink_ext_ack *extack) br_switchdev_port_replay() argument [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | pulse_audio_enc.c | 49 pa_context *ctx; member 57 static void pulse_audio_sink_device_cb(pa_context *ctx, const pa_sink_info *dev, in pulse_audio_sink_device_cb() argument 62 if (s->ctx != ctx) in pulse_audio_sink_device_cb() 81 if (!(op = pa_context_get_sink_info_by_name(s->ctx, s->device, in pulse_update_sink_info() 92 static void pulse_audio_sink_input_cb(pa_context *ctx, const pa_sink_input_info *i, in pulse_audio_sink_input_cb() argument 98 if (s->ctx != ctx) in pulse_audio_sink_input_cb() 126 pa_context *ctx = NULL; in pulse_update_sink_input_info() local 129 if ((ret = ff_pulse_audio_connect_context(&ml, &ctx, in pulse_update_sink_input_info() 153 pulse_event(pa_context *ctx, pa_subscription_event_type_t t, uint32_t idx, void *userdata) pulse_event() argument 223 pulse_context_state(pa_context *ctx, void *userdata) pulse_context_state() argument 296 pulse_context_result(pa_context *ctx, int success, void *userdata) pulse_context_result() argument [all...] |