Searched defs:rwlp (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libnsl/common/
H A Dcommon.c78 sig_rw_rdlock(rwlock_t *rwlp) argument
81 (void) rw_rdlock(rwlp);
85 sig_rw_wrlock(rwlock_t *rwlp) argument
88 (void) rw_wrlock(rwlp);
92 sig_rw_unlock(rwlock_t *rwlp) argument
94 (void) rw_unlock(rwlp);
/osnet-11/usr/src/lib/libc/port/gen/
H A Datexit.c162 rwlock_t *rwlp; local
173 rwlp = &udp->siguaction[sig].sig_lock;
174 lrw_wrlock(rwlp);
176 lrw_unlock(rwlp);
186 lrw_unlock(rwlp);
/osnet-11/usr/src/lib/libc/port/threads/
H A Dsigaction.c121 rwlock_t *rwlp = &udp->siguaction[sig].sig_lock; local
122 lrw_rdlock(rwlp);
127 lrw_unlock(rwlp);
696 rwlock_t *rwlp; local
700 rwlp = &udp->siguaction[sig].sig_lock;
701 rwlp->rwlock_magic = RWL_MAGIC;
702 rwlp->mutex.mutex_flag = LOCK_INITED;
703 rwlp->mutex.mutex_magic = MUTEX_MAGIC;
754 rwlock_t *rwlp = &udp->siguaction[sig].sig_lock; local
758 lrw_rdlock(rwlp);
[all...]
H A Dtdb_agent.c437 tdb_rwlock_stats(rwlock_t *rwlp) argument
442 if (rwlp->magic != RWL_MAGIC)
443 rwlp->magic = RWL_MAGIC;
444 if ((tssp = tdb_sync_obj_register(rwlp, NULL)) == NULL)
H A Drwlock.c43 * Find/allocate an entry for rwlp in our array of rwlocks held for reading.
49 rwl_entry(rwlock_t *rwlp) argument
67 if (readlockp->rd_rwlock == rwlp)
73 remembered->rd_rwlock = rwlp;
97 (++readlockp)->rd_rwlock = rwlp;
112 (readlockp += nlocks)->rd_rwlock = rwlp;
136 rw_read_held(rwlock_t *rwlp) argument
138 volatile uint32_t *rwstate = (volatile uint32_t *)&rwlp->rwlock_readers;
162 if (readlockp->rd_rwlock == rwlp) {
179 rw_write_held(rwlock_t *rwlp) argument
202 rwlock_init(rwlock_t *rwlp, int type, void *arg) argument
239 rwlock_destroy(rwlock_t *rwlp) argument
282 read_lock_try(rwlock_t *rwlp, int ignore_waiters_flag) argument
305 read_unlock_try(rwlock_t *rwlp) argument
326 write_lock_try(rwlock_t *rwlp, int ignore_waiters_flag) argument
351 write_unlock_try(rwlock_t *rwlp) argument
373 rw_queue_release(rwlock_t *rwlp) argument
503 shared_rwlock_lock(rwlock_t *rwlp, timespec_t *tsp, int rd_wr) argument
576 rwlock_lock(rwlock_t *rwlp, timespec_t *tsp, int rd_wr) argument
707 rw_rdlock_impl(rwlock_t *rwlp, timespec_t *tsp) argument
769 rw_rdlock(rwlock_t *rwlp) argument
776 lrw_rdlock(rwlock_t *rwlp) argument
783 pthread_rwlock_reltimedrdlock_np(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD reltime) argument
797 pthread_rwlock_timedrdlock(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD abstime) argument
812 rw_wrlock_impl(rwlock_t *rwlp, timespec_t *tsp) argument
867 rw_wrlock(rwlock_t *rwlp) argument
874 lrw_wrlock(rwlock_t *rwlp) argument
881 pthread_rwlock_reltimedwrlock_np(pthread_rwlock_t *_RESTRICT_KYWD rwlp, const struct timespec *_RESTRICT_KYWD reltime) argument
895 pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlp, const timespec_t *abstime) argument
910 rw_tryrdlock(rwlock_t *rwlp) argument
968 rw_trywrlock(rwlock_t *rwlp) argument
1008 rw_unlock(rwlock_t *rwlp) argument
1100 lrw_unlock(rwlock_t *rwlp) argument
[all...]
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c173 rw_init(krwlock_t *rwlp, char *name, int type, void *arg) argument
175 rwlock_init(&rwlp->rw_lock, USYNC_THREAD, NULL);
176 rwlp->rw_owner = NULL;
177 rwlp->rw_reentrant = (type == RW_REENTRANT);
178 rwlp->initialized = B_TRUE;
182 rw_destroy(krwlock_t *rwlp) argument
184 rwlock_destroy(&rwlp->rw_lock);
185 rwlp->rw_owner = (void *)-1UL;
186 rwlp->initialized = B_FALSE;
190 rw_enter(krwlock_t *rwlp, krw_ argument
207 rw_exit(krwlock_t *rwlp) argument
217 rw_tryenter(krwlock_t *rwlp, krw_t rw) argument
239 rw_tryupgrade(krwlock_t *rwlp) argument
[all...]

Completed in 40 milliseconds