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

1 2

  /src/lib/libc/tls/
tls.c 86 struct tls_tcb *tcb; local
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
    [all...]
tls.c 86 struct tls_tcb *tcb; local
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
    [all...]
  /src/libexec/ld.elf_so/arch/i386/
mdreloc.c 367 struct tls_tcb *tcb = __lwp_getprivate_fast(); local
370 dtv = tcb->tcb_dtv;
375 return _rtld_tls_get_addr(tcb, idx, offset);
mdreloc.c 367 struct tls_tcb *tcb = __lwp_getprivate_fast(); local
370 dtv = tcb->tcb_dtv;
375 return _rtld_tls_get_addr(tcb, idx, offset);
  /src/libexec/ld.elf_so/
tls.c 96 * thread-local storage to a pointer into part of the thread's TCB
100 * The TCB itself, struct tls_tcb, has a pointer to the DTV at
101 * tcb->tcb_dtv.
148 * _rtld_tls_get_addr(tcb, idx, offset)
159 * just `struct tls_tcb *tcb'?
164 struct tls_tcb *tcb = tls; local
170 dtv = tcb->tcb_dtv;
192 dtv = tcb->tcb_dtv = new_dtv;
198 dtv[idx] = _rtld_tls_module_allocate(tcb, idx);
208 * Allocate the TCB (thread control block) for the initial thread
220 struct tls_tcb *tcb; local
257 struct tls_tcb *tcb; local
316 struct tls_tcb *tcb; local
539 struct tls_tcb * const tcb = __lwp_gettcb_fast(); local
541 struct tls_tcb * const tcb = __lwp_getprivate_fast(); local
    [all...]
tls.c 96 * thread-local storage to a pointer into part of the thread's TCB
100 * The TCB itself, struct tls_tcb, has a pointer to the DTV at
101 * tcb->tcb_dtv.
148 * _rtld_tls_get_addr(tcb, idx, offset)
159 * just `struct tls_tcb *tcb'?
164 struct tls_tcb *tcb = tls; local
170 dtv = tcb->tcb_dtv;
192 dtv = tcb->tcb_dtv = new_dtv;
198 dtv[idx] = _rtld_tls_module_allocate(tcb, idx);
208 * Allocate the TCB (thread control block) for the initial thread
220 struct tls_tcb *tcb; local
257 struct tls_tcb *tcb; local
316 struct tls_tcb *tcb; local
539 struct tls_tcb * const tcb = __lwp_gettcb_fast(); local
541 struct tls_tcb * const tcb = __lwp_getprivate_fast(); local
    [all...]
  /src/tests/lib/libc/sys/
t_ptrace_lwp_wait.h 39 volatile void **tcb; local
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
80 pthread_t t[__arraycount(tcb) - 1];
89 memset(tcb, 0, sizeof(tcb));
97 tcb[0] = _lwp_getprivate()
    [all...]
t_ptrace_lwp_wait.h 39 volatile void **tcb; local
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
80 pthread_t t[__arraycount(tcb) - 1];
89 memset(tcb, 0, sizeof(tcb));
97 tcb[0] = _lwp_getprivate()
    [all...]
  /src/external/bsd/ipf/dist/ipsend/
iptests.c 1104 struct tcpcb *tcbp, tcb; local
1139 KMCPY(&tcb, tcbp, sizeof(tcb));
1140 ti.ti_win = tcb.rcv_adv;
1141 ti.ti_seq = htonl(tcb.snd_nxt - 1);
1142 ti.ti_ack = tcb.rcv_nxt;
1155 t->th_seq = htonl(tcb.snd_nxt);
sock.c 401 struct tcpcb *t, tcb; local
452 KMCPY(&tcb, t, sizeof(tcb));
453 ti->ti_win = tcb.rcv_adv;
454 ti->ti_seq = tcb.snd_nxt - 1;
455 ti->ti_ack = tcb.rcv_nxt;
iptests.c 1104 struct tcpcb *tcbp, tcb; local
1139 KMCPY(&tcb, tcbp, sizeof(tcb));
1140 ti.ti_win = tcb.rcv_adv;
1141 ti.ti_seq = htonl(tcb.snd_nxt - 1);
1142 ti.ti_ack = tcb.rcv_nxt;
1155 t->th_seq = htonl(tcb.snd_nxt);
sock.c 401 struct tcpcb *t, tcb; local
452 KMCPY(&tcb, t, sizeof(tcb));
453 ti->ti_win = tcb.rcv_adv;
454 ti->ti_seq = tcb.snd_nxt - 1;
455 ti->ti_ack = tcb.rcv_nxt;
  /src/external/gpl3/gcc.old/dist/libgcc/config/
gthr-vxworks-thread.c 46 #define __CALL_DELETE_HOOK(tcb) tls_delete_hook()
48 /* In kernel mode, we need to pass the TCB to task_delete_hook. The TCB is
50 void tls_delete_hook (void *TCB);
51 #define __CALL_DELETE_HOOK(tcb) tls_delete_hook((WIND_TCB *) ((tcb)->task_id))
222 /* Here, we pass a pointer to a tcb to allow calls from
232 /* This __gthread_t stores the address of the TCB malloc'ed in
241 /* We are in the initial thread, we need to initialize the TCB. */
259 __task_wrapper (__gthread_t tcb, FUNCPTR __func, _Vx_usr_arg_t __args
312 __gthread_t tcb = malloc (sizeof (*tcb)); local
    [all...]
gthr-vxworks-thread.c 46 #define __CALL_DELETE_HOOK(tcb) tls_delete_hook()
48 /* In kernel mode, we need to pass the TCB to task_delete_hook. The TCB is
50 void tls_delete_hook (void *TCB);
51 #define __CALL_DELETE_HOOK(tcb) tls_delete_hook((WIND_TCB *) ((tcb)->task_id))
222 /* Here, we pass a pointer to a tcb to allow calls from
232 /* This __gthread_t stores the address of the TCB malloc'ed in
241 /* We are in the initial thread, we need to initialize the TCB. */
259 __task_wrapper (__gthread_t tcb, FUNCPTR __func, _Vx_usr_arg_t __args
312 __gthread_t tcb = malloc (sizeof (*tcb)); local
    [all...]
  /src/sys/arch/arm/apple/
apple_nvme.c 231 struct ans_nvmmu_tcb *tcb = nvme_ans_tcb(q, id); local
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
    [all...]
apple_nvme.c 231 struct ans_nvmmu_tcb *tcb = nvme_ans_tcb(q, id); local
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
    [all...]
  /src/lib/libpthread/
pthread_int.h 270 struct tls_tcb * const tcb = _PTHREAD_GETTCB_EXT(); local
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;
pthread_int.h 270 struct tls_tcb * const tcb = _PTHREAD_GETTCB_EXT(); local
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
410 tcb = (struct tls_tcb *)__lwp_gettcb_fast();
412 tcb = (struct tls_tcb *)__lwp_getprivate_fast()
    [all...]
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
410 tcb = (struct tls_tcb *)__lwp_gettcb_fast();
412 tcb = (struct tls_tcb *)__lwp_getprivate_fast()
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_linux_libcdep.cpp 254 // The size of a prefix of TCB including pthread::{specific_1stblock,specific}
303 // TlsPreTcbSize includes size of struct pthread_descr and size of tcb
414 struct tls_tcb *tcb = nullptr; local
416 tcb = (struct tls_tcb *)__lwp_gettcb_fast();
418 tcb = (struct tls_tcb *)__lwp_getprivate_fast();
420 return tcb;
531 struct tls_tcb * const tcb = ThreadSelfTlsTcb();
534 if (tcb != 0) {
541 *addr = (uptr)tcb->tcb_dtv[1];
sanitizer_linux_libcdep.cpp 254 // The size of a prefix of TCB including pthread::{specific_1stblock,specific}
303 // TlsPreTcbSize includes size of struct pthread_descr and size of tcb
414 struct tls_tcb *tcb = nullptr; local
416 tcb = (struct tls_tcb *)__lwp_gettcb_fast();
418 tcb = (struct tls_tcb *)__lwp_getprivate_fast();
420 return tcb;
531 struct tls_tcb * const tcb = ThreadSelfTlsTcb();
534 if (tcb != 0) {
541 *addr = (uptr)tcb->tcb_dtv[1];
  /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
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...]

Completed in 66 milliseconds

1 2