| /illumos-gate/usr/src/lib/libc/port/threads/ |
| H A D | rwlock.c | 38 #define ASSERT_CONSISTENT_STATE(readers) \ 39 ASSERT(!((readers) & URW_WRITE_LOCKED) || \ 40 ((readers) & ~URW_HAS_WAITERS) == URW_WRITE_LOCKED) 139 uint32_t readers; local 147 readers = *rwstate; 148 ASSERT_CONSISTENT_STATE(readers); 149 if (!(readers & URW_WRITE_LOCKED) && 150 (readers & URW_READERS_MASK) != 0) { 182 uint32_t readers; local 188 readers 287 uint32_t readers; local 308 uint32_t readers; local 333 uint32_t readers; local 354 uint32_t readers; local 377 uint32_t readers; local 507 uint32_t readers; local 579 uint32_t readers; local 1011 uint32_t readers; local [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
| H A D | eloop.c | 48 tmp = (struct eloop_sock *)realloc(eloop.readers, 58 eloop.readers = tmp; 70 if (eloop.readers == NULL || eloop.reader_count == 0) 74 if (eloop.readers[i].sock == sock) 80 (void) memmove(&eloop.readers[i], &eloop.readers[i + 1], 257 pfds[i].fd = eloop.readers[i].sock; 285 eloop.readers[i].handler( 286 eloop.readers[i].sock, 287 eloop.readers[ [all...] |
| H A D | eloop.h | 50 struct eloop_sock *readers; member in struct:eloop_data
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | rwstlock.c | 43 * For RW_READER, writers have priority over readers, so reader starvation 65 intptr_t readers; local 81 readers = 0; 84 readers = l->rwst_count; 93 writer, readers); 108 readers = 0; 111 readers = l->rwst_count; 123 writer, readers);
|
| /illumos-gate/usr/src/lib/libnisdb/ |
| H A D | nis_hashitem.c | 48 * one-writer-or-many-readers locking. The following restrictions 284 item->readers = item->writer = 0; 291 item->readers = 1; 371 (item->writer == 0 && item->readers == 0)) 393 if (item->readers == 0) { 397 item->readers++; 420 if (item->readers == 0 && item->writer == 0) 459 (item->writer > 0 || item->readers > 0)) { 478 if (item->readers == 0 && item->writer == 0 && 513 if (nl->readers [all...] |
| H A D | nis_hashitem.h | 46 uint32_t readers; member in struct:__nis_item_item
|
| /illumos-gate/usr/src/tools/ctf/cvt/ |
| H A D | ctfconvert.c | 81 static const reader_f readers[] = { local 110 for (i = 0; readers[i] != NULL; i++) { 111 if ((rc = readers[i](td, elf, filename)) == 0) 117 if (readers[i] == NULL) { 119 * None of the readers found compatible type data.
|
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | synch.h | 119 int32_t readers; /* rwstate word */ member in struct:_lwp_rwlock
|
| /illumos-gate/usr/src/uts/intel/sys/ |
| H A D | synch32.h | 69 #define rwlock_readers readers
|
| /illumos-gate/usr/src/uts/sparc/sys/ |
| H A D | synch32.h | 69 #define rwlock_readers readers
|
| /illumos-gate/usr/src/cmd/hal/fdi/ |
| H A D | Makefile | 37 information/10freedesktop/10-usb-card-readers.fdi \
|
| /illumos-gate/usr/src/head/ |
| H A D | synch.h | 82 int32_t readers; /* rwstate word */ member in struct:_rwlock
|
| /illumos-gate/usr/src/uts/common/inet/nca/ |
| H A D | nca.h | 857 uint32_t dcb_readers; /* count of dcb_list readers for this CPU */ 898 * and a nonlocking atomic readers count scheme is used in the common case 948 * readers lock, if we didn't block then while we were \ 953 * of a needless readers enter/exit. \ 974 int readers; \ 979 readers = 0; \ 986 readers += old & DCB_COUNT_MASK; \ 994 readers += (new & DCB_COUNT_MASK); \ 996 if (readers == 0) \
|
| /illumos-gate/usr/src/lib/libc_db/common/ |
| H A D | thread_db.c | 449 * Utility function to grab the readers lock and return the prochandle, 479 * Utility function to grab the readers lock and return the prochandle, 494 * Utility function to grab the readers lock and return the prochandle, 2597 si_p->si_data = (psaddr_t)generic_so.rwlock.readers; 2891 * 4) reader's lock number of readers set to value >= 0 2966 rwstate = (uint32_t *)&generic_so.rwlock.readers;
|