Home
last modified time | relevance | path

Searched refs:n_th (Results 1 – 4 of 4) sorted by relevance

/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1013 int n_th = 0; in load_library() local
1166 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()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1013 int n_th = 0; in load_library() local
1165 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()
/third_party/musl/ldso/
Ddynlink.c1000 int n_th = 0; in load_library() local
1147 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()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c1904 int n_th = 0; in load_library() local
2056 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() local
5084 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()