Searched defs:mutex (Results 1 - 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/lib/sun_fc/common/
H A DLockable.h38 static void lock(pthread_mutex_t* mutex);
39 static void unlock(pthread_mutex_t* mutex);
47 pthread_mutex_t mutex; member in class:Lockable
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.h44 kmutex_t mutex; member in struct:__anon9728
/illumos-gate/usr/src/uts/sun4/sys/
H A Dtod.h42 kmutex_t mutex; member in struct:tod_softc
/illumos-gate/usr/src/uts/common/sys/
H A Dmutex.h39 * Public interface to mutual exclusion locks. See mutex(9F) for details.
41 * The basic mutex type is MUTEX_ADAPTIVE, which is expected to be used
59 MUTEX_DRIVER = 4, /* driver (DDI) mutex */
60 MUTEX_DEFAULT = 6 /* kernel default mutex */
63 typedef struct mutex { struct
74 * A padded mutex, one per 64 byte cache line. Use when false sharing is
H A Dbeep.h31 #include <sys/mutex.h>
83 kmutex_t mutex; member in struct:beep_state
H A Dsynch.h122 lwp_mutex_t mutex; /* used with process-shared rwlocks */ member in struct:_lwp_rwlock
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_log.c33 kmutex_t mutex[1]; member in struct:__anon5296
42 mutex_init(prtdata.mutex, NULL, MUTEX_DRIVER, NULL);
48 mutex_destroy(prtdata.mutex);
59 ASSERT(mutex_owned(prtdata.mutex));
76 mutex_enter(prtdata.mutex);
93 mutex_exit(prtdata.mutex);
104 mutex_enter(prtdata.mutex);
113 mutex_exit(prtdata.mutex);
124 mutex_enter(prtdata.mutex);
133 mutex_exit(prtdata.mutex);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_reset_notify.c38 * The function is entered without adapter driver mutex being held.
43 void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex,
49 mutex_enter(mutex);
78 mutex_exit(mutex);
101 * The function is entered with adapter driver mutex being held.
104 scsi_hba_reset_notify_callback(kmutex_t *mutex, argument
134 mutex_exit(mutex);
140 mutex_enter(mutex);
42 scsi_hba_reset_notify_setup(struct scsi_address *ap, int flag, void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex, struct scsi_reset_notify_entry **listp) argument
/illumos-gate/usr/src/boot/sys/sys/
H A D_pthreadtypes.h95 pthread_mutex_t mutex; member in struct:pthread_once
/illumos-gate/usr/src/lib/libumem/common/
H A Dstub_stand.c54 cond_wait(cond_t *cv, mutex_t *mutex) argument
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.h77 pthread_mutex_t mutex; member in struct:q_head
/illumos-gate/usr/src/uts/common/io/warlock/
H A Dddi_dki_impl.c158 static kmutex_t mutex; variable
164 mutex_enter(&mutex);
165 cv_wait(&cv, &mutex);
166 mutex_exit(&mutex);
172 mutex_enter(&mutex);
173 cv_wait(&cv, &mutex);
174 mutex_exit(&mutex);
/illumos-gate/usr/src/uts/sun4u/grover/sys/
H A Dgrfans.h60 kmutex_t mutex; member in struct:grfans_unit
/illumos-gate/usr/src/uts/common/idmap/
H A Dkidmap_priv.h69 kmutex_t mutex; member in struct:idmap_sid2pid_cache
80 kmutex_t mutex; member in struct:idmap_pid2sid_cache
/illumos-gate/usr/src/uts/sun4u/mpxu/io/
H A Dtsalarm.c44 kmutex_t mutex; member in struct:tsalarm_softc
207 mutex_init(&softc->mutex, NULL, MUTEX_DRIVER, NULL);
230 mutex_destroy(&softc->mutex);
255 mutex_destroy(&softc->mutex);
302 mutex_enter(&softc->mutex);
375 mutex_exit(&softc->mutex);
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_oem.c312 static mutex_t mutex; local
314 (void) mutex_lock(&mutex);
316 (void) mutex_unlock(&mutex);
318 static kmutex_t mutex;
320 mutex_enter(&mutex);
322 mutex_exit(&mutex);
/illumos-gate/usr/src/head/
H A Dsynch.h85 mutex_t mutex; /* used with process-shared rwlocks */ member in struct:_rwlock
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_mutex.c32 * pthread_mutexattr_init: allocates the mutex attribute object and
52 * pthread_mutexattr_destroy: frees the mutex attribute object and
168 * pthread_mutexattr_setrobust: set the mutex robust attribute.
185 * pthread_mutexattr_getrobust: get the mutex robust attribute.
202 * pthread_mutex_init: Initializes the mutex object. It copies the
207 pthread_mutex_init(pthread_mutex_t *_RESTRICT_KYWD mutex, argument
229 return (mutex_init((mutex_t *)mutex, type, &prioceiling));
235 * The process of locking the mutex need not
241 pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int ceil, int *oceil) argument
243 mutex_t *mp = (mutex_t *)mutex;
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_errmap.c144 static k5_mutex_t mutex = K5_MUTEX_PARTIAL_INITIALIZER; variable
154 err = k5_mutex_finish_init(&mutex);
176 k5_mutex_destroy(&mutex);
196 err = k5_mutex_lock(&mutex);
207 k5_mutex_unlock(&mutex);
236 k5_mutex_unlock(&mutex);
240 k5_mutex_unlock(&mutex);
275 err = k5_mutex_lock(&mutex);
279 k5_mutex_unlock(&mutex);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c42 k5_mutex_t mutex; member in struct:global_shared_profile_data
45 #define g_shared_trees_mutex (krb5int_profile_shared_data.mutex)
574 /* Call with mutex locked! */
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.h146 uint32_t wait; /* Blocked on mutex */
151 mutex_t mutex; /* Exclusive access to structure */ member in struct:__anon3659
158 uint32_t reader_blocked; /* # of readers blocked on mutex */
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_access.c44 mutex_t mutex; /* protect this structure */ member in struct:nscd_access_s
93 (void) mutex_lock(&access->mutex);
108 * holding the access->mutex lock, It is safe
109 * to free the memory containing the mutex
114 (void) mutex_unlock(&access->mutex);
146 (void) mutex_lock(&access->mutex);
148 (void) mutex_unlock(&access->mutex);
194 (void) mutex_lock(&access->mutex);
199 (void) mutex_unlock(&access->mutex);
485 * 'option' indicate whether a mutex o
500 mutex_t *mutex = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h166 k5_mutex_t mutex; member in struct:__anon4667
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c82 kmutex_t mutex; member in struct:xbuf_brk
235 mutex_init(&brkp->mutex, NULL, MUTEX_DRIVER, NULL);
336 mutex_enter(&brkp->mutex);
348 mutex_exit(&brkp->mutex);
352 mutex_destroy(&brkp->mutex);
503 mutex_enter(&brkp->mutex);
505 mutex_exit(&brkp->mutex);
/illumos-gate/usr/src/uts/sun4u/io/
H A Depic.c108 kmutex_t mutex; member in struct:epic_softc
232 mutex_init(&softc->mutex, NULL, MUTEX_DRIVER, NULL);
286 mutex_destroy(&softc->mutex);
340 mutex_enter(&softc->mutex);
378 mutex_exit(&softc->mutex);
383 mutex_exit(&softc->mutex);
388 mutex_exit(&softc->mutex);

Completed in 538 milliseconds

1234