Searched refs:rwl (Results 1 – 10 of 10) sorted by relevance
/netbsd/external/bsd/ntp/dist/lib/isc/ |
H A D | rwlock.c | 70 rwl->active, rwl->granted, rwl->readers_waiting, in print_lock() 259 WAIT(&rwl->readable, &rwl->lock); in isc_rwlock_lock() 275 WAIT(&rwl->readable, &rwl->lock); in isc_rwlock_lock() 319 WAIT(&rwl->writeable, &rwl->lock); in isc_rwlock_lock() 336 WAIT(&rwl->writeable, &rwl->lock); in isc_rwlock_lock() 561 rwl->granted < rwl->read_quota))))) in doit() 573 WAIT(&rwl->readable, &rwl->lock); in doit() 592 WAIT(&rwl->writeable, &rwl->lock); in doit() 655 (rwl->writers_waiting == 0 || rwl->granted < rwl->read_quota) && in isc_rwlock_downgrade() 680 rwl->type = rwl->original; in isc_rwlock_unlock() [all …]
|
/netbsd/external/mpl/bind/dist/lib/isc/ |
H A D | rwlock.c | 112 UNUSED(rwl); in isc_rwlock_tryupgrade() 135 #define VALID_RWLOCK(rwl) ISC_MAGIC_VALID(rwl, RWLOCK_MAGIC) argument 195 atomic_load_acquire(&rwl->cnt_and_flag), rwl->readers_waiting, in print_lock() 196 atomic_load_acquire(&rwl->write_granted), rwl->write_quota); in print_lock() 209 rwl->magic = 0; in isc_rwlock_init() 243 rwl->magic = 0; in isc_rwlock_destroy() 334 WAIT(&rwl->readable, &rwl->lock); in isc__rwlock_lock() 356 WAIT(&rwl->readable, &rwl->lock); in isc__rwlock_lock() 405 WAIT(&rwl->writeable, &rwl->lock); in isc__rwlock_lock() 420 WAIT(&rwl->writeable, &rwl->lock); in isc__rwlock_lock() [all …]
|
/netbsd/external/mpl/bind/dist/lib/isc/include/isc/ |
H A D | rwlock.h | 86 isc_rwlock_init(isc_rwlock_t *rwl, unsigned int read_quota, 90 isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 93 isc_rwlock_trylock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 96 isc_rwlock_unlock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 99 isc_rwlock_tryupgrade(isc_rwlock_t *rwl); 102 isc_rwlock_downgrade(isc_rwlock_t *rwl); 105 isc_rwlock_destroy(isc_rwlock_t *rwl);
|
/netbsd/external/bsd/ntp/dist/lib/isc/include/isc/ |
H A D | rwlock.h | 114 isc_rwlock_init(isc_rwlock_t *rwl, unsigned int read_quota, 118 isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 121 isc_rwlock_trylock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 124 isc_rwlock_unlock(isc_rwlock_t *rwl, isc_rwlocktype_t type); 127 isc_rwlock_tryupgrade(isc_rwlock_t *rwl); 130 isc_rwlock_downgrade(isc_rwlock_t *rwl); 133 isc_rwlock_destroy(isc_rwlock_t *rwl);
|
/netbsd/sbin/nvmectl/ |
H A D | power.c | 81 (uint8_t)(psd->rwl & NVME_PSD_RWL_MASK), in power_list_one()
|
/netbsd/sys/dev/ic/ |
H A D | nvmereg.h | 393 uint8_t rwl; /* Relative Write Latency */ member
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/ |
H A D | acinclude.m4 | 4272 [pthread_rwlock_t rwl; struct timespec ts;] 4273 [int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);] 4274 [int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);],
|
H A D | configure | 21416 pthread_rwlock_t rwl; struct timespec ts; 21417 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts); 21418 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts); 21439 pthread_rwlock_t rwl; struct timespec ts; 21440 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts); 21441 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
|
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/ |
H A D | acinclude.m4 | 4272 [pthread_rwlock_t rwl; struct timespec ts;] 4273 [int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);] 4274 [int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);],
|
H A D | configure | 21416 pthread_rwlock_t rwl; struct timespec ts; 21417 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts); 21418 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts); 21439 pthread_rwlock_t rwl; struct timespec ts; 21440 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts); 21441 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
|