Lines Matching defs:tcb
86 struct tls_tcb *tcb;
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)
133 p = (uint8_t *)tcb;
136 p = (uint8_t *)tcb - tls_allocation;
139 munmap(p, tls_allocation + sizeof(*tcb));
172 struct tls_tcb *tcb;
178 tcb = _rtld_tls_allocate();
180 __lwp_settcb(tcb);
182 _lwp_setprivate(tcb);