Home
last modified time | relevance | path

Searched refs:pthread_setname_np (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilLinux.cpp45 (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 Dlocks.h190 (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 Dthread.c105 pthread_setname_np(tid, name); in zk_thread_create()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_name.c60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL)); in threadfunc()
/freebsd/lib/libthr/thread/
H A Dthr_info.c56 __weak_reference(_pthread_setname_np, pthread_setname_np);
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_util.c98 ret = pthread_setname_np(tid, name); in safe_create_thread()
/freebsd/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c300 (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 DThreading.inc201 ::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 Dpthread.map337 pthread_setname_np;
/freebsd/tools/tools/nvmf/nvmfd/
H A Dio.c282 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 Dnamespace.h193 #define pthread_setname_np _pthread_setname_np macro
H A Dun-namespace.h174 #undef pthread_setname_np
/freebsd/include/
H A Dpthread.h312 int pthread_setname_np(pthread_t, const char *);
/freebsd/contrib/unbound/
H A Dconfigure.ac739 # 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 Dconfig.h.in595 /* 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 Dzed_disk_event.c451 pthread_setname_np(g_mon_tid, "udev monitor"); in zed_disk_event_init()
H A Dzed_exec.c387 pthread_setname_np(_reap_children_tid, "reap ZEDLETs"); in zed_exec_process()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c424 pthread_setname_np(g_agents_tid, "agents"); in zfs_agent_init()
H A Dzfs_mod.c1379 pthread_setname_np(g_zfs_tid, "enum-pools"); in zfs_slm_init()
/freebsd/share/man/man3/
H A DMakefile535 pthread_set_name_np.3 pthread_setname_np.3
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in85 /* Defined if pthread_setname_np(3) is available. */
/freebsd/contrib/jemalloc/src/
H A Dbackground_thread.c432 pthread_setname_np(pthread_self(), "jemalloc_bg_thd");
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt378 fun:pthread_setname_np=discard
/freebsd/contrib/jemalloc/
H A Dconfigure.ac1834 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 Dz_Linux_util.cpp891 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()

12