Searched refs:n_th (Results 1 – 4 of 4) sorted by relevance
1013 int n_th = 0; in load_library() local1166 n_th = libc.threads_minus_1 + 1; in load_library()1167 if (n_th > SSIZE_MAX / per_th) alloc_size = SIZE_MAX; in load_library()1168 else alloc_size += n_th * per_th; in load_library()1197 p->new_tls = (void *)(p->new_dtv + n_th*(tls_cnt+1)); in load_library()
1013 int n_th = 0; in load_library() local1165 n_th = libc.threads_minus_1 + 1; in load_library()1166 if (n_th > SSIZE_MAX / per_th) alloc_size = SIZE_MAX; in load_library()1167 else alloc_size += n_th * per_th; in load_library()1196 p->new_tls = (void *)(p->new_dtv + n_th*(tls_cnt+1)); in load_library()
1000 int n_th = 0; in load_library() local1147 n_th = libc.threads_minus_1 + 1; in load_library()1148 if (n_th > SSIZE_MAX / per_th) alloc_size = SIZE_MAX; in load_library()1149 else alloc_size += n_th * per_th; in load_library()1180 p->new_tls = (void *)(p->new_dtv + n_th*(tls_cnt+1)); in load_library()
1904 int n_th = 0; in load_library() local2056 n_th = libc.threads_minus_1 + 1; in load_library()2057 if (n_th > SSIZE_MAX / per_th) alloc_size = SIZE_MAX; in load_library()2058 else alloc_size += n_th * per_th; in load_library()2089 p->new_tls = (void *)(p->new_dtv + n_th*(tls_cnt+1)); in load_library()4913 int n_th = 0; in load_library_header() local5084 n_th = libc.threads_minus_1 + 1; in load_library_header()5085 if (n_th > SSIZE_MAX / per_th) { in load_library_header()5088 alloc_size += n_th * per_th; in load_library_header()5117 task->p->new_tls = (void *)(task->p->new_dtv + n_th * (tls_cnt + 1)); in load_library_header()