/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | c11_tss.c | 20 #include <threads.h> 65 thrd_t threads[TSS_NTHREADS]; local 72 VERIFY3S(thrd_create(&threads[i], ct_tss_thr, 77 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
|
H A D | call_once.c | 20 #include <threads.h> 56 thrd_t threads[CO_NTHREADS]; local 63 VERIFY3S(thrd_create(&threads[i], co_thr, NULL), ==, 73 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
|
H A D | c11_threads.c | 17 * Validate various C11 threads routines. Specifically we want to cover: 19 * o threads 24 #include <threads.h> 124 thrd_t threads[STRESS_NTHREADS]; local 128 VERIFY3S(thrd_create(&threads[i], cthr_test_stress_thr, 133 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success); 238 thrd_t threads[BROADCAST_NTHREADS]; local 243 VERIFY3S(thrd_create(&threads[i], cthr_test_broadcast_thr, 253 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success); 278 thrd_t threads[SIGNAL_NTHREAD local [all...] |
H A D | Makefile | 27 threads \
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sdbc_ioctl.h | 240 int threads; member in struct:_sd_cache_param 265 int threads; member in struct:_sdbc_config
|
H A D | sd_conf.c | 227 _sd_cache_config.threads = mgmt->threads; 454 * and threads that will open the devices that the ft thread 486 * any processes/threads we have running. 809 * threads we need for flushing dirty cds. 818 _sd_ioset = nst_init("sd_thr", _sd_cache_config.threads); 836 config_info->threads = _sd_cache_config.threads;
|
/illumos-gate/usr/src/man/man5/ |
H A D | Makefile | 126 threads.5 \ 206 pthreads.5 := LINKSRC = threads.5
|
/illumos-gate/usr/src/uts/common/avs/ns/sv/ |
H A D | sv.c | 160 static int sv_threads_dev = 2; /* # of threads to alloc per device */ 162 static int sv_threads_needed; /* number of threads needed */ 164 static int sv_max_nlive; /* max number of threads running */ 1613 sv_thread_tune(int threads) argument 1615 int incr = (threads > 0) ? 1 : -1; 1622 /* keep track of any additional threads requested */ 1623 if (threads > 0) { 1624 sv_threads_extra += threads; 1627 threads = -threads; [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 19 #include <threads.h>
|
/illumos-gate/usr/src/lib/libldap5/ |
H A D | Makefile.com | 48 ldappr-io.o ldappr-threads.o
|
/illumos-gate/usr/src/uts/common/io/warlock/ |
H A D | ddi_dki_comm.inc | 93 * Tell warlock that args to some funcs get called back as separate threads.
|
/illumos-gate/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 1067 # enables ASSERT() checking in the threads portion of the library. 1161 $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \ 1162 $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c) \ 1179 # Files which need the threads .il inline template 1219 THREADS_INLINES = $(LIBCBASE)/threads/i386.il 1278 $(TIL:%=pics/%): $(LIBCBASE)/threads/i386.il
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 1041 # enables ASSERT() checking in the threads portion of the library. 1120 $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \ 1121 $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c) \ 1141 # Files which need the threads .il inline template 1182 $(TIL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/threads/sparcv9.il 1266 $(TIL:%=pics/%): $(LIBCBASE)/threads/sparcv9.il
|
/illumos-gate/usr/src/lib/libc/amd64/ |
H A D | Makefile | 1018 # enables ASSERT() checking in the threads portion of the library. 1097 $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \ 1098 $(THREADSMACHOBJS:%.o=threads/%.c) \ 1115 # Files which need the threads .il inline template 1155 $(TIL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/threads/amd64.il 1210 $(TIL:%=pics/%): $(LIBCBASE)/threads/amd64.il
|
/illumos-gate/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 1101 # enables ASSERT() checking in the threads portion of the library. 1191 $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \ 1192 $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c) \ 1214 # Files which need the threads .il inline template 1255 $(TIL:%=pics/%) := CFLAGS += $(LIBCBASE)/threads/sparc.il 1347 $(TIL:%=pics/%): $(LIBCBASE)/threads/sparc.il
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_io.h | 309 int threads; member in struct:rdc_thrsync 434 int rdc_thrnum; /* number of threads */ 435 int rdc_addthrnum; /* number threads added to thr set */ 451 int asyncstall; /* count of asleep threads */ 795 #define RDC_ASYNCTHR 2 /* number of async threads */ 881 extern int rdc_asyncthr; /* # of async threads */
|
H A D | rdc_dev.c | 1619 /* force disgard of possibly blocked flusher threads */ 2407 sync->threads++; 2476 sync->threads++; 2560 * collect all of our threads if any 2565 /* wait for the threads */ 2566 while (sync->complete != sync->threads) {
|
H A D | rdc_diskq.c | 343 * wait for flusher threads to stop (taking into account this may be one) 644 cmn_err(CE_NOTE, "!stopping flusher threads"); 1132 if (IS_QSTATE(q, RDC_QFULL)) { /* wakeup blocked threads */ 1512 /* wakeup any blocked enqueue threads */ 3168 int threads, counter; local 3203 * Wait if not QEMPTY or threads still active 3212 threads = group->rdc_thrnum; 3228 if (blocks == QBLOCKS(diskq) && threads == group->rdc_thrnum) {
|
H A D | rdc_clnt.c | 1475 * don't allow any new writer threads to start if a member of the set 1561 * number of async threads for our group. If we run out of threads 1803 * all threads must be dead. 2375 /* perhaps we have a few threads stuck .. */ 2440 int threads, counter; local 2454 * No need to wait if EMPTY and threads are gone 2463 threads = group->rdc_thrnum; 2479 if (blocks == QBLOCKS(diskq) && threads == group->rdc_thrnum) { 2669 * See if we have stalled threads [all...] |
H A D | rdc_io.c | 151 int rdc_threads = 64; /* default number of threads */ 186 * threads we need for flushing aync volumes. 2510 int tries = 2; /* in case of hopelessly stuck flusher threads */ 2912 * if there are avail threads, we have not 3247 sync->threads++; 3412 while (sync->complete != sync->threads) { 3416 sync->threads = 0; 3993 int tries = 2; /* in case of possibly stuck flusher threads */ 4698 * This can cause the async threads to fail, 4831 * just in case any threads wer [all...] |
/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | swtch.s | 51 * some overlap between outgoing and incoming threads can happen 52 * when they are the same thread. in this case where the threads 58 * process. Kernel threads are known by resume to reside in process 0. 411 ! Set priority as low as possible, blocking all interrupt threads
|
/illumos-gate/usr/src/head/ |
H A D | Makefile | 198 threads.h \
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 716 /* shut down the threads running the policies */ 749 int32_t threads = 0; local 821 ++threads;
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 507 { "thread", "nthreads", "number of threads" }, 1531 user_level_conf.threads = atoi(buf); 1533 user_level_conf.threads = 128; /* DEFAULT */
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/ |
H A D | Makefile.com | 189 SUPPORT_OBJS= fake-addrinfo.o init-addrinfo.o threads.o errors.o plugins.o \
|