Searched refs:tctx (Results 1 - 25 of 32) sorted by last modified time

12

/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c224 struct trad_enc_ctx tctx; member in struct:zip
1478 trad_enc_decrypt_update(&zip->tctx,
2340 trad_enc_decrypt_update(&zip->tctx,
2686 r = trad_enc_init(&zip->tctx, passphrase, strlen(passphrase),
H A Darchive_write_set_format_zip.c137 struct trad_enc_ctx tctx; member in struct:zip
1051 l = trad_enc_encrypt_update(&zip->tctx,
1093 trad_enc_encrypt_update(&zip->tctx,
1155 trad_enc_encrypt_update(&zip->tctx,
1589 trad_enc_init(&zip->tctx, passphrase, strlen(passphrase));
1593 trad_enc_encrypt_update(&zip->tctx, key, TRAD_HEADER_SIZE,
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_pf_main.c2203 struct i40e_hmc_obj_txq tctx; local
2210 bzero(&tctx, sizeof(tctx));
2211 tctx.new_context = 1;
2212 tctx.base = (txr->dma.pa/IXL_TX_CTX_BASE_UNITS);
2213 tctx.qlen = que->num_tx_desc;
2214 tctx.fc_ena = 0; /* Disable FCoE */
2219 tctx.rdylist = vsi->info.qs_handle[0];
2226 tctx.head_wb_ena = 1;
2227 tctx
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp157 ThreadContext *tctx; member in struct:__tsan::ThreadLeak
163 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
164 if (tctx->detached || tctx->status != ThreadStatusFinished)
167 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) {
172 ThreadLeak leak = {tctx, 1};
178 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { argument
179 if (tctx->tid == 0) {
183 " created at:\n", tctx
288 FindThreadByUid(ThreadContextBase *tctx, void *arg) argument
[all...]
H A Dtsan_rtl_report.cpp192 void ScopedReportBase::AddThread(const ThreadContext *tctx, bool suppressable) { argument
194 if ((u32)rep_->threads[i]->id == tctx->tid)
200 rt->id = tctx->tid;
201 rt->os_id = tctx->os_id;
202 rt->running = (tctx->status == ThreadStatusRunning);
203 rt->name = internal_strdup(tctx->name);
204 rt->parent_tid = tctx->parent_tid;
205 rt->thread_type = tctx->thread_type;
207 rt->stack = SymbolizeStackId(tctx->creation_stack_id);
213 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, voi argument
233 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
244 ThreadContext *tctx = static_cast<ThreadContext*>( local
323 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); local
336 ThreadContext *tctx = FindThreadByTidLocked(b->tid); local
694 ThreadContext *tctx = static_cast<ThreadContext*>( local
[all...]
H A Dtsan_rtl_mutex.cpp416 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
417 u64 epoch = tctx->epoch1;
418 if (tctx->status == ThreadStatusRunning)
419 epoch = tctx->thr->fast_state.epoch();
420 thr->clock.set(&thr->proc()->clock_cache, tctx->tid, epoch);
459 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
460 u64 epoch = tctx->epoch1;
461 if (tctx->status == ThreadStatusRunning)
462 epoch = tctx->thr->fast_state.epoch();
463 thr->last_sleep_clock.set(&thr->proc()->clock_cache, tctx
[all...]
H A Dtsan_rtl.h421 ThreadContext *tctx; member in struct:__tsan::ThreadState
591 void AddThread(const ThreadContext *tctx, bool suppressable = false);
H A Dtsan_platform_mac.cpp224 if (thr->tctx) {
H A Dtsan_debugging.cpp219 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); local
221 if (tctx) {
255 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid); local
256 *os_id = tctx->os_id;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp139 ThreadContextBase *tctx = QuarantinePop(); local
140 if (tctx) {
141 tid = tctx->tid;
145 tctx = context_factory_(tid);
146 threads_[tid] = tctx;
157 CHECK_NE(tctx, 0);
160 CHECK_EQ(tctx->status, ThreadStatusInvalid);
166 tctx->SetCreated(user_id, total_threads_++, detached,
175 ThreadContextBase *tctx = threads_[tid]; local
176 if (tctx
185 ThreadContextBase *tctx = threads_[tid]; local
196 ThreadContextBase *tctx = threads_[tid]; local
203 FindThreadContextByOsIdCallback(ThreadContextBase *tctx, void *arg) argument
217 ThreadContextBase *tctx = threads_[tid]; local
227 ThreadContextBase *tctx = threads_[tid]; local
239 ThreadContextBase *tctx = threads_[tid]; local
260 ThreadContextBase *tctx = threads_[tid]; local
286 ThreadContextBase *tctx = threads_[tid]; local
310 ThreadContextBase *tctx = threads_[tid]; local
316 QuarantinePush(ThreadContextBase *tctx) argument
343 ThreadContextBase *tctx = threads_[tid]; local
[all...]
H A Dsanitizer_thread_registry.h109 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg);
114 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg);
152 void QuarantinePush(ThreadContextBase *tctx);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp105 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { argument
107 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) {
H A Dlsan_common.cpp529 static void ReportIfNotSuspended(ThreadContextBase *tctx, void *arg) { argument
532 if (tctx->status == ThreadStatusRunning) {
534 tctx->os_id, CompareLess<int>());
535 if (i >= suspended_threads.size() || suspended_threads[i] != tctx->os_id)
537 tctx->os_id);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp394 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
395 AsanThread *t = tctx->thread;
416 AsanThreadContext *tctx = GetThreadContextByTidLocked(0); local
417 if (tctx && ThreadStackContainsAddress(tctx, &context)) {
418 SetCurrentThread(tctx->thread);
419 return tctx->thread;
444 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( local
447 return tctx ? tctx
[all...]
H A Dasan_stats.cpp76 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
77 if (AsanThread *t = tctx->thread)
/freebsd-11-stable/contrib/tcpdump/
H A Dsignature.c62 MD5_CTX tctx; local
64 MD5_Init(&tctx);
65 MD5_Update(&tctx, key, key_len);
66 MD5_Final(tk, &tctx);
/freebsd-11-stable/contrib/jemalloc/src/
H A Djemalloc.c1451 prof_tctx_t *tctx, bool slow_path)
1455 if (tctx == NULL)
1473 prof_tctx_t *tctx; local
1475 tctx = prof_alloc_prep(tsd, usize, prof_active_get_unlocked(), true);
1476 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1477 p = ialloc_prof_sample(tsd, usize, ind, zero, tctx, slow_path);
1481 prof_alloc_rollback(tsd, tctx, true);
1484 prof_malloc(tsd_tsdn(tsd), p, usize, tctx); local
1577 prof_tctx_t *tctx)
1581 if (tctx
1450 ialloc_prof_sample(tsd_t *tsd, size_t usize, szind_t ind, bool zero, prof_tctx_t *tctx, bool slow_path) argument
1576 imemalign_prof_sample(tsd_t *tsd, size_t alignment, size_t usize, prof_tctx_t *tctx) argument
1599 prof_tctx_t *tctx; local
1610 prof_malloc(tsd_tsdn(tsd), p, usize, tctx); local
1753 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, prof_tctx_t *tctx) argument
1776 prof_tctx_t *old_tctx, *tctx; local
2078 prof_tctx_t *tctx; local
2096 prof_malloc(tsd_tsdn(tsd), p, *usize, tctx); local
2187 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena, prof_tctx_t *tctx) argument
2216 prof_tctx_t *old_tctx, *tctx; local
2343 ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) argument
2362 prof_tctx_t *old_tctx, *tctx; local
[all...]
/freebsd-11-stable/crypto/openssl/ssl/
H A Dt1_lib.c3519 SSL_CTX *tctx = s->initial_ctx; local
3528 if (tctx->tlsext_ticket_key_cb) {
3530 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16,
3543 if (memcmp(etick, tctx->tlsext_tick_key_name, 16))
3545 if (HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
3548 tctx->tlsext_tick_aes_key,
H A Ds3_srvr.c3449 SSL_CTX *tctx = s->initial_ctx; local
3515 if (tctx->tlsext_ticket_key_cb) {
3517 int ret = tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
3537 tctx->tlsext_tick_aes_key, iv))
3539 if (!HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
3542 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
/freebsd-11-stable/crypto/openssl/apps/
H A Ddgst.c484 EVP_MD_CTX *tctx; local
485 BIO_get_md_ctx(bmd, &tctx);
486 md = EVP_MD_CTX_md(tctx);
/freebsd-11-stable/sbin/hastd/
H A Dproto_tcp.c196 struct tcp_ctx *tctx; local
204 tctx = malloc(sizeof(*tctx));
205 if (tctx == NULL)
209 if ((ret = tcp_addr(addr, PROTO_TCP_DEFAULT_PORT, &tctx->tc_sa)) != 0) {
210 free(tctx);
214 PJDLOG_ASSERT(tctx->tc_sa.ss_family != AF_UNSPEC);
216 tctx->tc_fd = socket(tctx->tc_sa.ss_family, SOCK_STREAM, 0);
217 if (tctx
242 struct tcp_ctx *tctx; local
265 struct tcp_ctx *tctx; local
291 struct tcp_ctx *tctx = ctx; local
346 struct tcp_ctx *tctx = ctx; local
411 struct tcp_ctx *tctx; local
445 struct tcp_ctx *tctx = ctx; local
487 struct tcp_ctx *tctx = ctx; local
500 struct tcp_ctx *tctx = ctx; local
513 const struct tcp_ctx *tctx = ctx; local
524 const struct tcp_ctx *tctx = ctx; local
570 const struct tcp_ctx *tctx = ctx; local
588 const struct tcp_ctx *tctx = ctx; local
606 struct tcp_ctx *tctx = ctx; local
[all...]
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c199 struct tcp_ctx *tctx; local
207 tctx = malloc(sizeof(*tctx));
208 if (tctx == NULL)
212 error = tcp_addr(addr, atoi(proto_get("tcp:port")), &tctx->tc_sa);
214 free(tctx);
218 PJDLOG_ASSERT(tctx->tc_sa.ss_family != AF_UNSPEC);
220 tctx->tc_fd = socket(tctx->tc_sa.ss_family, SOCK_STREAM, 0);
221 if (tctx
265 struct tcp_ctx *tctx; local
341 struct tcp_ctx *tctx = ctx; local
408 struct tcp_ctx *tctx; local
442 struct tcp_ctx *tctx = ctx; local
477 struct tcp_ctx *tctx; local
499 struct tcp_ctx *tctx = ctx; local
515 struct tcp_ctx *tctx = ctx; local
531 const struct tcp_ctx *tctx = ctx; local
542 const struct tcp_ctx *tctx = ctx; local
641 const struct tcp_ctx *tctx = ctx; local
665 const struct tcp_ctx *tctx = ctx; local
689 struct tcp_ctx *tctx = ctx; local
[all...]
/freebsd-11-stable/contrib/dma/
H A Dcrypto.c201 MD5_CTX tctx; local
203 MD5_Init(&tctx);
204 MD5_Update(&tctx, key, key_len);
205 MD5_Final(tk, &tctx);
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Darena.h674 prof_tctx_t *tctx);
1247 prof_tctx_t *tctx)
1260 if (unlikely(usize > SMALL_MAXCLASS || (uintptr_t)tctx >
1267 atomic_write_p(&elm->prof_tctx_pun, tctx);
1270 * tctx must always be initialized for large runs.
1278 huge_prof_tctx_set(tsdn, ptr, tctx);
H A Dextent.h86 void extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx);
189 extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx) argument
192 node->en_prof_tctx = tctx;

Completed in 401 milliseconds

12