| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilLinux.cpp | 45 (void)pthread_setname_np(thread.native_handle(), name.c_str()); in SetThreadName() 47 (void)pthread_setname_np(thread.native_handle(), "%s", const_cast<char *>(name.c_str())); in SetThreadName()
|
| /freebsd/contrib/unbound/util/ |
| H A D | locks.h | 190 (void)pthread_setname_np(name); \ 194 (void)pthread_setname_np(thread, name, NULL); \ 198 (void)pthread_setname_np(thread, name); \
|
| /freebsd/sys/contrib/openzfs/lib/libspl/ |
| H A D | thread.c | 105 pthread_setname_np(tid, name); in zk_thread_create()
|
| /freebsd/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_name.c | 60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL)); in threadfunc()
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_info.c | 56 __weak_reference(_pthread_setname_np, pthread_setname_np);
|
| /freebsd/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_util.c | 98 ret = pthread_setname_np(tid, name); in safe_create_thread()
|
| /freebsd/contrib/netbsd-tests/lib/libpthread_dbg/ |
| H A D | t_threads.c | 300 (pthread_setname_np(threads[i], "test_%d", (void*)i)); in ATF_TC_BODY() 381 (pthread_setname_np(threads[i], "test_%d", (void*)i)); in ATF_TC_BODY()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 201 ::pthread_setname_np(::pthread_self(), "%s", 204 ::pthread_setname_np(NameStr.data()); 206 ::pthread_setname_np(::pthread_self(), NameStr.data());
|
| /freebsd/lib/libthr/ |
| H A D | pthread.map | 337 pthread_setname_np;
|
| /freebsd/tools/tools/nvmf/nvmfd/ |
| H A D | io.c | 282 pthread_setname_np(pthread_self(), "admin queue"); in handle_admin_qpair() 457 pthread_setname_np(pthread_self(), name); in handle_io_qpair()
|
| /freebsd/lib/libc/include/ |
| H A D | namespace.h | 193 #define pthread_setname_np _pthread_setname_np macro
|
| H A D | un-namespace.h | 174 #undef pthread_setname_np
|
| /freebsd/include/ |
| H A D | pthread.h | 312 int pthread_setname_np(pthread_t, const char *);
|
| /freebsd/contrib/unbound/ |
| H A D | configure.ac | 739 # Long checks to support pthread_setname_np(). 746 AC_MSG_CHECKING([whether pthread_setname_np has only 1 argument]) 753 (void)pthread_setname_np(""); 756 AC_DEFINE(HAVE_PTHREAD_SETNAME_NP1, 1, [Define if pthread_setname_np has only 1 argument.]) 761 AC_MSG_CHECKING([whether pthread_setname_np has 3 arguments]) 768 (void)pthread_setname_np(0, "", NULL); 771 AC_DEFINE(HAVE_PTHREAD_SETNAME_NP3, 1, [Define if pthread_setname_np has 3 arguments.]) 776 AC_MSG_CHECKING([whether pthread_setname_np has the common 2 arguments]) 783 (void)pthread_setname_np(0, ""); 786 … AC_DEFINE(HAVE_PTHREAD_SETNAME_NP, 1, [Define if pthread_setname_np has the common 2 arguments.]) [all …]
|
| H A D | config.h.in | 595 /* Define if pthread_setname_np has the common 2 arguments. */ 598 /* Define if pthread_setname_np has only 1 argument. */ 601 /* Define if pthread_setname_np has 3 arguments. */ 604 /* Define if pthread_setname_np exists as pthread_set_name_np instead. */
|
| /freebsd/sys/contrib/openzfs/cmd/zed/ |
| H A D | zed_disk_event.c | 451 pthread_setname_np(g_mon_tid, "udev monitor"); in zed_disk_event_init()
|
| H A D | zed_exec.c | 387 pthread_setname_np(_reap_children_tid, "reap ZEDLETs"); in zed_exec_process()
|
| /freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_agents.c | 424 pthread_setname_np(g_agents_tid, "agents"); in zfs_agent_init()
|
| H A D | zfs_mod.c | 1379 pthread_setname_np(g_zfs_tid, "enum-pools"); in zfs_slm_init()
|
| /freebsd/share/man/man3/ |
| H A D | Makefile | 535 pthread_set_name_np.3 pthread_setname_np.3
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 85 /* Defined if pthread_setname_np(3) is available. */
|
| /freebsd/contrib/jemalloc/src/ |
| H A D | background_thread.c | 432 pthread_setname_np(pthread_self(), "jemalloc_bg_thd");
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | done_abilist.txt | 378 fun:pthread_setname_np=discard
|
| /freebsd/contrib/jemalloc/ |
| H A D | configure.ac | 1834 dnl Check if pthread_setname_np is available with the expected API. 1835 JE_COMPILABLE([pthread_setname_np(3)], [ 1838 pthread_setname_np(pthread_self(), "setname_test"); 1844 dnl the pthread_setname_np counterpart
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | z_Linux_util.cpp | 891 pthread_setname_np(handle, "%s", const_cast<char *>("openmp_worker")); in __kmp_create_worker() 893 pthread_setname_np(handle, "openmp_worker"); in __kmp_create_worker()
|