HomeSort by: relevance | last modified time | path
    Searched defs:tcb (Results 1 - 9 of 9) sorted by relevancy

  /src/lib/libc/tls/
tls.c 86 struct tls_tcb *tcb; local in function:__weak_alias
97 tls_allocation + sizeof(*tcb), PROT_READ | PROT_WRITE,
102 p = calloc(1, tls_allocation + sizeof(*tcb));
111 tcb = (struct tls_tcb *)p;
115 tcb = (struct tls_tcb *)(p + tls_allocation);
116 p = (uint8_t *)tcb - tls_size;
117 tcb->tcb_self = tcb;
121 return tcb;
127 _rtld_tls_free(struct tls_tcb *tcb)
172 struct tls_tcb *tcb; local in function:__libc_static_tls_setup
    [all...]
  /src/libexec/ld.elf_so/arch/i386/
mdreloc.c 367 struct tls_tcb *tcb = __lwp_getprivate_fast(); local in function:___tls_get_addr
370 dtv = tcb->tcb_dtv;
375 return _rtld_tls_get_addr(tcb, idx, offset);
  /src/libexec/ld.elf_so/
tls.c 83 * thread-local storage to a pointer into part of the thread's TCB
87 * The TCB itself, struct tls_tcb, has a pointer to the DTV at
88 * tcb->tcb_dtv.
135 * _rtld_tls_get_addr(tcb, idx, offset)
146 * just `struct tls_tcb *tcb'?
151 struct tls_tcb *tcb = tls; local in function:_rtld_tls_get_addr
157 dtv = tcb->tcb_dtv;
179 dtv = tcb->tcb_dtv = new_dtv;
185 dtv[idx] = _rtld_tls_module_allocate(tcb, idx);
195 * Allocate the TCB (thread control block) for the initial thread
207 struct tls_tcb *tcb; local in function:_rtld_tls_initial_allocation
244 struct tls_tcb *tcb; local in function:_rtld_tls_allocate_locked
296 struct tls_tcb *tcb; local in function:_rtld_tls_allocate
513 struct tls_tcb * const tcb = __lwp_gettcb_fast(); local in function:__tls_get_addr
515 struct tls_tcb * const tcb = __lwp_getprivate_fast(); local in function:__tls_get_addr
    [all...]
  /src/tests/lib/libc/sys/
t_ptrace_lwp_wait.h 39 volatile void **tcb; local in function:lwpinfo_thread
41 tcb = (volatile void **)arg;
43 *tcb = _lwp_getprivate();
44 DPRINTF("Storing tcb[] = %p from thread %d\n", *tcb, _lwp_self());
75 volatile void *tcb[4]; local in function:traceme_lwpinfo
80 pthread_t t[__arraycount(tcb) - 1];
89 memset(tcb, 0, sizeof(tcb));
97 tcb[0] = _lwp_getprivate()
    [all...]
  /src/sys/arch/arm/apple/
apple_nvme.c 231 struct ans_nvmmu_tcb *tcb = nvme_ans_tcb(q, id); local in function:nvme_ans_sq_leave
236 ANS_NVMMU_TCB_PITCH * id, sizeof(*tcb), BUS_DMASYNC_POSTWRITE);
238 memset(tcb, 0, sizeof(*tcb));
239 tcb->tcb_opcode = sqe->opcode;
240 tcb->tcb_flags = ANS_NVMMU_TCB_WRITE | ANS_NVMMU_TCB_READ;
241 tcb->tcb_cid = id;
242 tcb->tcb_prpl_len = sqe->nlb;
243 tcb->tcb_prp[0] = sqe->entry.prp[0];
244 tcb->tcb_prp[1] = sqe->entry.prp[1]
256 struct ans_nvmmu_tcb *tcb = nvme_ans_tcb(q, id); local in function:nvme_ans_cq_done
    [all...]
  /src/lib/libpthread/
pthread_int.h 270 struct tls_tcb * const tcb = _PTHREAD_GETTCB_EXT(); local in function:pthread__self
272 struct tls_tcb * const tcb = __lwp_gettcb_fast();
274 struct tls_tcb * const tcb = __lwp_getprivate_fast();
276 return (pthread_t)tcb->tcb_pthread;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_linux_libcdep.cc 332 // TlsPreTcbSize includes size of struct pthread_descr and size of tcb
355 // points to the end of the TCB + 0x7000. The pthread_descr structure is
356 // immediately in front of the TCB. TlsPreTcbSize() includes the size of the
357 // TCB and the size of pthread_descr.
372 // points to the end of the TCB + 0x7000. The pthread_descr structure is
373 // immediately in front of the TCB. TlsPreTcbSize() includes the size of the
374 // TCB and the size of pthread_descr.
408 struct tls_tcb * tcb; local in function:__sanitizer::ThreadSelfTlsTcb
410 tcb = (struct tls_tcb *)__lwp_gettcb_fast();
412 tcb = (struct tls_tcb *)__lwp_getprivate_fast()
    [all...]
  /src/sys/netinet/
sctp_pcb.h 185 /* assoc/tcb zone info */
280 struct sctp_tcb *tcb; member in struct:sctp_socket_q_list
314 /* queue of TCB's waiting to stuff data up the socket */
350 LIST_ENTRY(sctp_tcb) sctp_tcblist; /* list of all of the TCB's */
370 * have a TCB we lock it and unlock when we are through. This
371 * means that the TCB lock is kind-of a "global" lock when
384 * I have NULL in the tcb return, by the time I call to
463 panic("I own TCB lock?"); \
474 panic("I own TCB lock?"); \
520 panic("TCB locking and no INP lock");
    [all...]
sctp_structs.h 58 void *tcb; member in struct:sctp_timer

Completed in 28 milliseconds