HomeSort by: relevance | last modified time | path
    Searched refs:locktype (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/bsd/libevent/dist/
evthread.c 190 unsigned locktype; member in struct:debug_lock
199 debug_lock_alloc(unsigned locktype)
206 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) {
214 result->locktype = locktype;
221 debug_lock_free(void *lock_, unsigned locktype)
225 EVUTIL_ASSERT(locktype == lock->locktype);
229 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE);
242 if (!(lock->locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
    [all...]
evthread-internal.h 82 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
84 evthread_lock_fns_.alloc(locktype) : NULL)
87 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
91 evthread_lock_fns_.free(lock_tmp_, (locktype)); \
193 void *evthreadimpl_lock_alloc_(unsigned locktype);
195 void evthreadimpl_lock_free_(void *lock, unsigned locktype);
217 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
218 ((lockvar) = evthreadimpl_lock_alloc_(locktype))
220 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
224 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \
    [all...]
evthread_pthread.c 48 evthread_posix_lock_alloc(unsigned locktype)
54 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
64 evthread_posix_lock_free(void *lock_, unsigned locktype)
evthread_win32.c 54 evthread_win32_lock_create(unsigned locktype)
67 evthread_win32_lock_free(void *lock_, unsigned locktype)
  /src/external/bsd/ntp/dist/sntp/libevent/
evthread.c 188 unsigned locktype; member in struct:debug_lock
197 debug_lock_alloc(unsigned locktype)
204 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) {
212 result->locktype = locktype;
219 debug_lock_free(void *lock_, unsigned locktype)
223 EVUTIL_ASSERT(locktype == lock->locktype);
227 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE);
240 if (!(lock->locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
    [all...]
evthread-internal.h 82 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
84 evthread_lock_fns_.alloc(locktype) : NULL)
87 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
91 evthread_lock_fns_.free(lock_tmp_, (locktype)); \
193 void *evthreadimpl_lock_alloc_(unsigned locktype);
195 void evthreadimpl_lock_free_(void *lock, unsigned locktype);
217 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
218 ((lockvar) = evthreadimpl_lock_alloc_(locktype))
220 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
224 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \
    [all...]
evthread_pthread.c 47 evthread_posix_lock_alloc(unsigned locktype)
53 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
63 evthread_posix_lock_free(void *lock_, unsigned locktype)
evthread_win32.c 53 evthread_win32_lock_create(unsigned locktype)
66 evthread_win32_lock_free(void *lock_, unsigned locktype)
  /src/external/bsd/libevent/dist/include/event2/
thread.h 108 /** Function to allocate and initialize new lock of type 'locktype'.
110 void *(*alloc)(unsigned locktype);
112 * with type 'locktype'. */
113 void (*free)(void *lock, unsigned locktype);
  /src/external/bsd/ntp/dist/sntp/libevent/include/event2/
thread.h 109 /** Function to allocate and initialize new lock of type 'locktype'.
111 void *(*alloc)(unsigned locktype);
113 * with type 'locktype'. */
114 void (*free)(void *lock, unsigned locktype);
  /src/external/bsd/openldap/dist/servers/lloadd/
libevent_support.c 33 lload_libevent_mutex_init( unsigned locktype )
39 if ( locktype & EVTHREAD_LOCKTYPE_RECURSIVE ) {
52 lload_libevent_mutex_destroy( void *lock, unsigned locktype )
  /src/external/mpl/bind/dist/lib/isc/include/isc/
util.h 219 #define UPGRADELOCK(lock, locktype) \
221 if (locktype == isc_rwlocktype_read) { \
223 locktype = isc_rwlocktype_write; \
225 RWUNLOCK(lock, locktype); \
226 locktype = isc_rwlocktype_write; \
227 RWLOCK(lock, locktype); \
230 INSIST(locktype == isc_rwlocktype_write); \
  /src/external/gpl2/xcvs/dist/src/
recurse.c 44 int locktype; member in struct:recursion_frame
125 * locktype
161 int which, int aflag, int locktype,
177 " locktype=%d, update_preload=%s\n"
182 local, which, aflag, locktype,
191 " locktype=%d, update_preload=%s\n"
196 local, which, aflag, locktype,
209 frame.locktype = locktype;
611 int locktype; local
    [all...]
  /src/sys/fs/nfs/common/
nfs_fha.h 83 int locktype; member in struct:fha_info
nfs_fha.c 148 i->locktype = LK_EXCLUSIVE;
279 fha_hash_entry_add_op(struct fha_hash_entry *fhe, int locktype, int count)
283 if (LK_EXCLUSIVE == locktype)
412 req->rq_p2 = i.locktype;
421 fha_hash_entry_add_op(fhe, i.locktype, 1);
  /src/external/gpl2/lvm2/dist/daemons/clvmd/
clvmd-command.c 95 const char *locktype; local
154 if ((locktype = do_lock_query(lockname)))
155 *retlen = 1 + snprintf(*buf, buflen, "%s", locktype);
  /src/usr.sbin/lockstat/
main.c 169 int eventtype, locktype, ch, nlfd, fd; local
184 locktype = -1;
206 locktype = matchname(locknames, optarg);
308 le.le_mask = (eventtype & LB_EVENT_MASK) | (locktype & LB_LOCK_MASK);
392 if (locktype != -1 &&
393 (name->mask & LB_LOCK_MASK) != locktype)
  /src/external/mpl/dhcp/bind/dist/lib/dns/
rbtdb.c 1927 isc_rwlocktype_t locktype) {
1928 if (locktype == isc_rwlocktype_write && ISC_LINK_LINKED(node, deadlink))
1955 isc_rwlocktype_t locktype) {
1958 INSIST(locktype == isc_rwlocktype_write);
1960 new_reference(rbtdb, node, locktype);
2041 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
2045 POST(locktype);
2047 NODE_LOCK(nodelock, locktype);
2063 NODE_UNLOCK(nodelock, locktype);
2064 locktype = isc_rwlocktype_write
2911 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
4745 isc_rwlocktype_t locktype; local
4823 isc_rwlocktype_t locktype; local
4965 isc_rwlocktype_t locktype; local
5056 isc_rwlocktype_t locktype; local
5419 isc_rwlocktype_t locktype; local
5947 isc_rwlocktype_t locktype; local
    [all...]
nta.c 441 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
453 RWLOCK(&ntatable->rwlock, locktype);
472 if (locktype == isc_rwlocktype_read) {
473 RWUNLOCK(&ntatable->rwlock, locktype);
474 locktype = isc_rwlocktype_write;
499 RWUNLOCK(&ntatable->rwlock, locktype);
  /src/sys/fs/nfs/server/
nfs_fha_new.c 246 info->locktype = LK_SHARED;
262 info->locktype = LK_EXCLUSIVE;
  /src/external/mpl/bind/dist/lib/dns/
rbtdb_p.h 368 isc_rwlocktype_t locktype,
379 isc_rwlocktype_t locktype DNS__DB_FLARG);
383 * as 'locktype'. If the node is write-locked, then the node can
tsig.c 1529 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
1537 RWLOCK(&ring->lock, locktype);
1541 RWUNLOCK(&ring->lock, locktype);
1546 RWUNLOCK(&ring->lock, locktype);
1553 if (locktype == isc_rwlocktype_read) {
1554 RWUNLOCK(&ring->lock, locktype);
1555 locktype = isc_rwlocktype_write;
1561 RWUNLOCK(&ring->lock, locktype);
1565 RWUNLOCK(&ring->lock, locktype);
adb.c 1273 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
1278 RWLOCK(&adb->names_lock, locktype);
1283 UPGRADELOCK(&adb->names_lock, locktype);
1296 UPGRADELOCK(&adb->names_lock, locktype);
1314 if (locktype == isc_rwlocktype_write) {
1328 if (locktype == isc_rwlocktype_write) {
1337 RWUNLOCK(&adb->names_lock, locktype);
1360 isc_rwlocktype_t locktype = isc_rwlocktype_read; local
1365 RWLOCK(&adb->entries_lock, locktype);
1371 UPGRADELOCK(&adb->entries_lock, locktype);
    [all...]
  /src/external/bsd/libevent/dist/test/
regress_bufferevent.c 258 static void *trace_lock_alloc(unsigned locktype)
264 lock = lu_base.cbs.alloc(locktype);
268 static void trace_lock_free(void *lock_, unsigned locktype)
275 lu_base.cbs.free(lock_, locktype);
  /src/external/bsd/ntp/dist/sntp/libevent/test/
regress_bufferevent.c 256 static void *trace_lock_alloc(unsigned locktype)
262 lock = lu_base.cbs.alloc(locktype);
266 static void trace_lock_free(void *lock_, unsigned locktype)
273 lu_base.cbs.free(lock_, locktype);

Completed in 91 milliseconds

1 2