| /freebsd/contrib/ntp/libntp/lib/isc/ |
| H A D | log.c | 47 #define VALID_CONTEXT(lctx) ISC_MAGIC_VALID(lctx, LCTX_MAGIC) argument 118 isc_log_t * lctx; member 241 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category, 269 isc_log_t *lctx; in isc_log_create() local 277 lctx = isc_mem_get(mctx, sizeof(*lctx)); in isc_log_create() 278 if (lctx != NULL) { in isc_log_create() 279 lctx->mctx = mctx; in isc_log_create() 280 lctx->categories = NULL; in isc_log_create() 281 lctx->category_count = 0; in isc_log_create() 282 lctx->modules = NULL; in isc_log_create() [all …]
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_listen.c | 79 /* lctx services */ 139 struct listen_ctx *lctx; in stop_stid_tab() local 149 LIST_FOREACH(lctx, &td->listen_hash[i], link) in stop_stid_tab() 150 lctx->flags &= ~(LCTX_RPL_PENDING | LCTX_SETUP_IN_HW); in stop_stid_tab() 162 ntids = synqe->lctx->inp->inp_vflag & INP_IPV6 ? 2 : 1; in stop_stid_tab() 180 struct listen_ctx *lctx; in restart_stid_tab() local 185 LIST_FOREACH(lctx, &td->listen_hash[i], link) { in restart_stid_tab() 186 MPASS((lctx->flags & (LCTX_RPL_PENDING | LCTX_SETUP_IN_HW)) == 0); in restart_stid_tab() 187 lctx->flags |= LCTX_RPL_PENDING; in restart_stid_tab() 188 if (lctx in restart_stid_tab() 330 struct listen_ctx *lctx; alloc_lctx() local 367 free_lctx(struct adapter * sc,struct listen_ctx * lctx) free_lctx() argument 388 hold_lctx(struct listen_ctx * lctx) hold_lctx() argument 405 listen_hash_add(struct adapter * sc,struct listen_ctx * lctx) listen_hash_add() argument 424 struct listen_ctx *lctx; listen_hash_find() local 444 struct listen_ctx *lctx, *l; listen_hash_del() local 465 release_lctx(struct adapter * sc,struct listen_ctx * lctx) release_lctx() argument 563 create_server(struct adapter * sc,struct listen_ctx * lctx) create_server() argument 591 create_server6(struct adapter * sc,struct listen_ctx * lctx) create_server6() argument 621 destroy_server(struct adapter * sc,struct listen_ctx * lctx) destroy_server() argument 656 struct listen_ctx *lctx; t4_listen_start() local 749 struct listen_ctx *lctx; t4_listen_stop() local 778 alloc_synqe(struct adapter * sc,struct listen_ctx * lctx,int flags) alloc_synqe() argument 886 struct listen_ctx *lctx = lookup_stid(sc, stid); do_pass_open_rpl() local 962 struct listen_ctx *lctx = lookup_stid(sc, stid); do_close_server_rpl() local 993 struct listen_ctx *lctx = synqe->lctx; done_with_synqe() local 1029 struct listen_ctx *lctx = synqe->lctx; do_abort_req_synqe() local 1079 struct listen_ctx *lctx = synqe->lctx; do_abort_rpl_synqe() local 1336 struct listen_ctx *lctx = lookup_stid(sc, stid); do_pass_accept_req() local 1620 struct listen_ctx *lctx = synqe->lctx; do_pass_establish() local [all...] |
| H A D | t4_tom.h | 275 struct listen_ctx *lctx; /* backpointer to listen ctx */ 351 int lctx_count; /* # of lctx in the hash table */ 274 struct listen_ctx *lctx; /* backpointer to listen ctx */ global() member
|
| /freebsd/crypto/krb5/src/lib/gssapi/krb5/ |
| H A D | lucid_context.c | 69 void *lctx = NULL; in gss_krb5int_export_lucid_sec_context() local 95 version, &lctx); in gss_krb5int_export_lucid_sec_context() 105 rep.value = &lctx; in gss_krb5int_export_lucid_sec_context() 106 rep.length = sizeof(lctx); in gss_krb5int_export_lucid_sec_context() 180 gss_krb5_lucid_context_v1_t *lctx = NULL; in make_external_lucid_ctx_v1() local 185 if ((lctx = xmalloc(bufsize)) == NULL) { in make_external_lucid_ctx_v1() 190 memset(lctx, 0, bufsize); in make_external_lucid_ctx_v1() 192 lctx->version = 1; in make_external_lucid_ctx_v1() 193 lctx->initiate = gctx->initiate ? 1 : 0; in make_external_lucid_ctx_v1() 194 lctx->endtime = gctx->krb_times.endtime; in make_external_lucid_ctx_v1() [all …]
|
| /freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
| H A D | log.h | 200 isc_logconfig_create(isc_log_t *lctx, isc_logconfig_t **lcfgp); 246 isc_logconfig_get(isc_log_t *lctx); 261 isc_logconfig_use(isc_log_t *lctx, isc_logconfig_t *lcfg); 323 isc_log_registercategories(isc_log_t *lctx, isc_logcategory_t categories[]); 361 isc_log_registermodules(isc_log_t *lctx, isc_logmodule_t modules[]); 568 isc_log_write(isc_log_t *lctx, isc_logcategory_t *category, 607 isc_log_vwrite(isc_log_t *lctx, isc_logcategory_t *category, 619 isc_log_write1(isc_log_t *lctx, isc_logcategory_t *category, 630 isc_log_vwrite1(isc_log_t *lctx, isc_logcategory_t *category, 652 isc_log_iwrite(isc_log_t *lctx, isc_logcategory_t *category, [all …]
|
| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | CommonLinkerContext.cpp | 23 static CommonLinkerContext *lctx; variable 26 lctx = this; in CommonLinkerContext() 32 assert(lctx); in ~CommonLinkerContext() 37 lctx = nullptr; in ~CommonLinkerContext() 41 assert(lctx); in commonContext() 42 return *lctx; in commonContext() 45 bool lld::hasContext() { return lctx != nullptr; } in hasContext() 48 if (lctx == nullptr) in destroy() 50 delete lctx; in destroy()
|
| /freebsd/usr.sbin/gssd/ |
| H A D | gssd.c | 687 gss_krb5_lucid_context_v1_t *lctx; in gssd_init_sec_context_lucid_v1_1_svc() local 690 &result->minor_status, &ctx, 1, (void *)&lctx); in gssd_init_sec_context_lucid_v1_1_svc() 693 lctx != NULL) { in gssd_init_sec_context_lucid_v1_1_svc() 694 result->lucid.initiate = lctx->initiate; in gssd_init_sec_context_lucid_v1_1_svc() 695 result->lucid.endtime = lctx->endtime; in gssd_init_sec_context_lucid_v1_1_svc() 696 result->lucid.send_seq = lctx->send_seq; in gssd_init_sec_context_lucid_v1_1_svc() 697 result->lucid.recv_seq = lctx->recv_seq; in gssd_init_sec_context_lucid_v1_1_svc() 698 result->lucid.protocol = lctx->protocol; in gssd_init_sec_context_lucid_v1_1_svc() 699 if (lctx->protocol == 0) { in gssd_init_sec_context_lucid_v1_1_svc() 701 lctx->rfc1964_kd.sign_alg; in gssd_init_sec_context_lucid_v1_1_svc() [all …]
|
| /freebsd/crypto/krb5/src/lib/kdb/ |
| H A D | t_ulog.c | 56 kdb_log_context *lctx; in main() local 70 lctx = context->kdblog_context; in main() 71 ulog = lctx->ulog; in main() 75 ulog->kdb_num = lctx->ulogentries; in main()
|
| /freebsd/sys/geom/eli/ |
| H A D | g_eli_hmac.c | 50 SHA512_CTX lctx; in g_eli_crypto_hmac_init() local 60 SHA512_Init(&lctx); in g_eli_crypto_hmac_init() 61 SHA512_Update(&lctx, hkey, hkeylen); in g_eli_crypto_hmac_init() 62 SHA512_Final(key, &lctx); in g_eli_crypto_hmac_init()
|
| /freebsd/sys/kgssapi/krb5/ |
| H A D | krb5_mech.c | 422 kgss_lucid_desc *lctx = (kgss_lucid_desc *)context_token; in krb5_lucid_import() local 426 if (lctx->protocol == 0) { in krb5_lucid_import() 427 kc->kc_cksumtype = lctx->rfc_sign; in krb5_lucid_import() 428 kc->kc_keytype = lctx->rfc_seal; in krb5_lucid_import() 429 copy_lucid_key(&lctx->ctx_key, lctx->ctx_type, in krb5_lucid_import() 431 } else if (lctx->protocol == 1) { in krb5_lucid_import() 432 if (lctx->have_subkey != 0) { in krb5_lucid_import() 433 if (lctx->initiate != 0) in krb5_lucid_import() 434 copy_lucid_key(&lctx->subkey_key, in krb5_lucid_import() 435 lctx->subkey_type, in krb5_lucid_import() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | crypto_os.c | 61 SHA512_CTX lctx; in crypto_mac_init() local 78 SHA512_Init(&lctx); in crypto_mac_init() 79 SHA512_Update(&lctx, c_key->ck_data, cl_bytes); in crypto_mac_init() 80 SHA512_Final(key, &lctx); in crypto_mac_init()
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | by_store.c | 25 static int cache_objects(X509_LOOKUP *lctx, CACHED_STORE *store, in DEFINE_STACK_OF() 30 X509_STORE *xstore = X509_LOOKUP_get_store(lctx); in DEFINE_STACK_OF() 80 ok = cache_objects(lctx, &substore, criterion, depth - 1); in DEFINE_STACK_OF()
|
| /freebsd/sys/kgssapi/ |
| H A D | gss_impl.c | 197 kgss_transfer_context(gss_ctx_id_t ctx, void *lctx) in kgss_transfer_context() argument 204 if (lctx != NULL) { in kgss_transfer_context() 205 maj_stat = KGSS_IMPORT(ctx, MIT_V1, lctx); in kgss_transfer_context()
|
| H A D | gssapi_impl.h | 81 extern OM_uint32 kgss_transfer_context(gss_ctx_id_t ctx, void *lctx);
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SymbolManager.h | 87 SymbolConjured(SymbolID sym, const Stmt *s, const LocationContext *lctx, in SymbolConjured() argument 90 LCtx(lctx), SymbolTag(symbolTag) { in SymbolConjured() 96 assert(lctx); in SymbolConjured()
|
| H A D | CallEvent.h | 184 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx, in CallEvent() argument 186 : State(std::move(state)), LCtx(lctx), Origin(E), ElemRef(ElemRef) {} in CallEvent() 188 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx, in CallEvent() argument 190 : State(std::move(state)), LCtx(lctx), Origin(D), ElemRef(ElemRef) {} in CallEvent()
|
| /freebsd/crypto/openssl/test/ |
| H A D | quicapitest.c | 2620 SSL_CTX *lctx = NULL, *sctx = NULL; in test_ssl_new_from_listener() local 2629 if (!TEST_ptr(lctx = create_server_ctx()) in test_ssl_new_from_listener() 2648 qlistener = ql_create(lctx, lbio); in test_ssl_new_from_listener() 2686 SSL_CTX_free(lctx); in test_ssl_new_from_listener()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 990 const LocationContext *lctx, in InvalidateRegionsWorker() argument 996 Ex(ex), Count(count), LCtx(lctx), IS(is), ITraits(ITraitsIn), Regions(r), in InvalidateRegionsWorker()
|