Searched refs:thr_size (Results 1 - 1 of 1) sorted by relevance

/xnu-2782.1.97/libsyscall/wrappers/libproc/
H A Dproc_listpidspath.c42 size_t thr_size; member in struct:__anon861
77 info->thr_size = 0;
408 if (buf_used > info->thr_size) {
410 while (buf_used > info->thr_size) {
411 info->thr_size += (sizeof(uint64_t) * 32);
415 info->threads = malloc(info->thr_size);
417 info->threads = reallocf(info->threads, info->thr_size);
424 buf_used = proc_pidinfo(pid, PROC_PIDLISTTHREADS, 0, info->threads, (int)info->thr_size);
429 if ((buf_used + sizeof(uint64_t)) >= info->thr_size) {
431 buf_used = (int)(info->thr_size
[all...]

Completed in 18 milliseconds