Home
last modified time | relevance | path

Searched refs:locktype (Results 1 – 25 of 29) sorted by relevance

12

/netbsd/external/bsd/libevent/dist/
H A Devthread.c190 unsigned locktype; member
199 debug_lock_alloc(unsigned locktype) in debug_lock_alloc() argument
214 result->locktype = locktype; in debug_lock_alloc()
225 EVUTIL_ASSERT(locktype == lock->locktype); in debug_lock_free()
381 return debug_lock_alloc(locktype); in evthread_setup_global_lock_()
390 return debug_lock_alloc(locktype); in evthread_setup_global_lock_()
398 lock->locktype = locktype; in evthread_setup_global_lock_()
411 EVUTIL_ASSERT(lock->locktype == locktype); in evthread_setup_global_lock_()
414 locktype|EVTHREAD_LOCKTYPE_RECURSIVE); in evthread_setup_global_lock_()
433 evthreadimpl_lock_alloc_(unsigned locktype) in evthreadimpl_lock_alloc_() argument
[all …]
H A Devthread-internal.h82 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
84 evthread_lock_fns_.alloc(locktype) : NULL)
87 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
91 evthread_lock_fns_.free(lock_tmp_, (locktype)); \
193 void *evthreadimpl_lock_alloc_(unsigned locktype);
217 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
218 ((lockvar) = evthreadimpl_lock_alloc_(locktype))
220 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
224 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \
379 #define EVTHREAD_SETUP_GLOBAL_LOCK(lockvar, locktype) \ argument
[all …]
H A Devthread_pthread.c48 evthread_posix_lock_alloc(unsigned locktype) in evthread_posix_lock_alloc() argument
54 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE) in evthread_posix_lock_alloc()
64 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free() argument
H A Devthread_win32.c54 evthread_win32_lock_create(unsigned locktype) in evthread_win32_lock_create() argument
67 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free() argument
/netbsd/external/bsd/ntp/dist/sntp/libevent/
H A Devthread.c167 unsigned locktype; member
176 debug_lock_alloc(unsigned locktype) in debug_lock_alloc() argument
191 result->locktype = locktype; in debug_lock_alloc()
202 EVUTIL_ASSERT(locktype == lock->locktype); in debug_lock_free()
358 return debug_lock_alloc(locktype); in evthread_setup_global_lock_()
367 return debug_lock_alloc(locktype); in evthread_setup_global_lock_()
375 lock->locktype = locktype; in evthread_setup_global_lock_()
388 EVUTIL_ASSERT(lock->locktype == locktype); in evthread_setup_global_lock_()
391 locktype|EVTHREAD_LOCKTYPE_RECURSIVE); in evthread_setup_global_lock_()
409 evthreadimpl_lock_alloc_(unsigned locktype) in evthreadimpl_lock_alloc_() argument
[all …]
H A Devthread-internal.h79 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
81 evthread_lock_fns_.alloc(locktype) : NULL)
84 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
88 evthread_lock_fns_.free(lock_tmp_, (locktype)); \
188 void *evthreadimpl_lock_alloc_(unsigned locktype);
205 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
206 ((lockvar) = evthreadimpl_lock_alloc_(locktype))
208 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
212 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \
366 #define EVTHREAD_SETUP_GLOBAL_LOCK(lockvar, locktype) \ argument
[all …]
H A Devthread_pthread.c47 evthread_posix_lock_alloc(unsigned locktype) in evthread_posix_lock_alloc() argument
53 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE) in evthread_posix_lock_alloc()
63 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free() argument
H A Devthread_win32.c53 evthread_win32_lock_create(unsigned locktype) in evthread_win32_lock_create() argument
66 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free() argument
/netbsd/external/gpl2/xcvs/dist/src/
H A Drecurse.c44 int locktype; member
161 int which, int aflag, int locktype, in start_recursion() argument
182 local, which, aflag, locktype, in start_recursion()
196 local, which, aflag, locktype, in start_recursion()
209 frame.locktype = locktype; in start_recursion()
611 int locktype; in do_recursion() local
624 locktype = (nolock || noexec) ? CVS_LOCK_NONE : frame->locktype; in do_recursion()
664 if (server_active && locktype != CVS_LOCK_WRITE) in do_recursion()
822 if (locktype == CVS_LOCK_READ) in do_recursion()
827 else if (locktype == CVS_LOCK_WRITE) in do_recursion()
[all …]
H A Dcvs.h690 int aflag, int locktype, char *update_preload,
/netbsd/external/bsd/openldap/dist/servers/lloadd/
H A Dlibevent_support.c33 lload_libevent_mutex_init( unsigned locktype ) in lload_libevent_mutex_init() argument
39 if ( locktype & EVTHREAD_LOCKTYPE_RECURSIVE ) { in lload_libevent_mutex_init()
52 lload_libevent_mutex_destroy( void *lock, unsigned locktype ) in lload_libevent_mutex_destroy() argument
/netbsd/external/mpl/bind/dist/lib/dns/
H A Drbtdb.c2023 POST(locktype); in reactivate_node()
2043 POST(locktype); in reactivate_node()
2899 locktype); in findnodeintree()
4698 isc_rwlocktype_t locktype; in cache_zonecut_callback() local
4711 NODE_LOCK(lock, locktype); in cache_zonecut_callback()
4776 isc_rwlocktype_t locktype; in find_deepest_zonecut() local
4876 POST(locktype); in find_deepest_zonecut()
4918 isc_rwlocktype_t locktype; in find_coveringnsec() local
5009 isc_rwlocktype_t locktype; in cache_find() local
5325 POST(locktype); in cache_find()
[all …]
H A Dnta.c441 isc_rwlocktype_t locktype = isc_rwlocktype_read; in dns_ntatable_covered() local
453 RWLOCK(&ntatable->rwlock, locktype); in dns_ntatable_covered()
472 if (locktype == isc_rwlocktype_read) { in dns_ntatable_covered()
473 RWUNLOCK(&ntatable->rwlock, locktype); in dns_ntatable_covered()
474 locktype = isc_rwlocktype_write; in dns_ntatable_covered()
499 RWUNLOCK(&ntatable->rwlock, locktype); in dns_ntatable_covered()
/netbsd/external/bsd/ntp/dist/sntp/libevent/include/event2/
H A Dthread.h111 void *(*alloc)(unsigned locktype);
114 void (*free)(void *lock, unsigned locktype);
/netbsd/external/bsd/libevent/dist/include/event2/
H A Dthread.h110 void *(*alloc)(unsigned locktype);
113 void (*free)(void *lock, unsigned locktype);
/netbsd/sys/fs/nfs/common/
H A Dnfs_fha.c148 i->locktype = LK_EXCLUSIVE; in fha_extract_info()
279 fha_hash_entry_add_op(struct fha_hash_entry *fhe, int locktype, int count) in fha_hash_entry_add_op() argument
283 if (LK_EXCLUSIVE == locktype) in fha_hash_entry_add_op()
412 req->rq_p2 = i.locktype; in fha_assign()
421 fha_hash_entry_add_op(fhe, i.locktype, 1); in fha_assign()
H A Dnfs_fha.h83 int locktype; member
/netbsd/usr.sbin/lockstat/
H A Dmain.c169 int eventtype, locktype, ch, nlfd, fd; in main() local
184 locktype = -1; in main()
206 locktype = matchname(locknames, optarg); in main()
308 le.le_mask = (eventtype & LB_EVENT_MASK) | (locktype & LB_LOCK_MASK); in main()
392 if (locktype != -1 && in main()
393 (name->mask & LB_LOCK_MASK) != locktype) in main()
/netbsd/external/gpl2/lvm2/dist/daemons/clvmd/
H A Dclvmd-command.c95 const char *locktype; in do_command() local
154 if ((locktype = do_lock_query(lockname))) in do_command()
155 *retlen = 1 + snprintf(*buf, buflen, "%s", locktype); in do_command()
/netbsd/sys/fs/nfs/server/
H A Dnfs_fha_new.c246 info->locktype = LK_SHARED; in fhanew_set_locktype()
262 info->locktype = LK_EXCLUSIVE; in fhanew_set_locktype()
/netbsd/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_bufferevent.c236 static void *trace_lock_alloc(unsigned locktype) in trace_lock_alloc() argument
241 void *lock = lu_base.cbs.alloc(locktype); in trace_lock_alloc()
245 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free() argument
253 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
/netbsd/external/bsd/libevent/dist/test/
H A Dregress_bufferevent.c258 static void *trace_lock_alloc(unsigned locktype) in trace_lock_alloc() argument
264 lock = lu_base.cbs.alloc(locktype); in trace_lock_alloc()
268 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free() argument
275 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
/netbsd/external/mpl/dhcp/dist/doc/
H A DBIND-libraries140 --with-locktype, --with-pkcs11, --with-ecdsa, --with-gost,
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/etc/c/
H A Dcurl.d1762 …ction = void function(CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr);
/netbsd/external/gpl3/gcc/dist/libphobos/src/etc/c/
H A Dcurl.d1769 …ction = void function(CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr);

12