Lines Matching refs:thread_name
26 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument
31 (void *)&thread_name, sizeof(thread_name)), 0, in mallctl_thread_name_set_impl()
34 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl()
41 const char *thread_name; in TEST_BEGIN() local
49 thread_name = NULL; in TEST_BEGIN()
51 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
53 thread_name); in TEST_BEGIN()
56 thread_name = "hi\nthere"; in TEST_BEGIN()
58 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
60 thread_name); in TEST_BEGIN()
69 (void *)&thread_name_old, &sz, (void *)&thread_name, in TEST_BEGIN()
70 sizeof(thread_name)), EPERM, in TEST_BEGIN()
72 "thread.prof.name", thread_name); in TEST_BEGIN()
85 char thread_name[16] = ""; in thd_start() local
88 malloc_snprintf(thread_name, sizeof(thread_name), "thread %u", thd_ind); in thd_start()
91 mallctl_thread_name_set(thread_name); in thd_start()
96 mallctl_thread_name_get(thread_name); in thd_start()
99 mallctl_thread_name_set(thread_name); in thd_start()