Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/libevent/dist/
H A Devthread.c190 unsigned locktype; member
199 debug_lock_alloc(unsigned locktype) in debug_lock_alloc() argument
206 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) { in debug_lock_alloc()
214 result->locktype = locktype; in debug_lock_alloc()
221 debug_lock_free(void *lock_, unsigned locktype) in debug_lock_free() argument
225 EVUTIL_ASSERT(locktype == lock->locktype); in debug_lock_free()
229 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE); in debug_lock_free()
242 if (!(lock->locktype & EVTHREAD_LOCKTYPE_RECURSIVE)) in evthread_debug_lock_mark_locked()
258 if (lock->locktype & EVTHREAD_LOCKTYPE_READWRITE) in debug_lock_lock()
274 if (lock->locktype & EVTHREAD_LOCKTYPE_READWRITE) in evthread_debug_lock_mark_unlocked()
[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);
195 void evthreadimpl_lock_free_(void *lock, 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)); \
[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-src/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()
825 if (locktype == CVS_LOCK_READ) in do_recursion()
830 else if (locktype == CVS_LOCK_WRITE) in do_recursion()
[all …]
H A Dcvs.h690 int aflag, int locktype, char *update_preload,
/netbsd-src/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-src/external/mpl/bind/dist/lib/dns/
H A Drbtdb.c2128 isc_rwlocktype_t locktype, in decrement_reference()
2145 dns__rbtdb_newref(rbtdb, node, locktype DNS__DB_FLARG_PASS); in decrement_reference()
1834 new_reference(dns_rbtdb_t * rbtdb,dns_rbtnode_t * node,isc_rwlocktype_t locktype) new_reference() argument
1862 send_to_prune_tree(dns_rbtdb_t * rbtdb,dns_rbtnode_t * node,isc_rwlocktype_t locktype) send_to_prune_tree() argument
1948 isc_rwlocktype_t locktype = isc_rwlocktype_read; reactivate_node() local
2818 isc_rwlocktype_t locktype = isc_rwlocktype_read; findnodeintree() local
3054 bind_rdataset(dns_rbtdb_t * rbtdb,dns_rbtnode_t * node,rdatasetheader_t * header,isc_stdtime_t now,isc_rwlocktype_t locktype,dns_rdataset_t * rdataset) bind_rdataset() argument
4543 check_stale_header(dns_rbtnode_t * node,rdatasetheader_t * header,isc_rwlocktype_t * locktype,nodelock_t * lock,rbtdb_search_t * search,rdatasetheader_t ** header_prev) check_stale_header() argument
4658 isc_rwlocktype_t locktype; cache_zonecut_callback() local
4736 isc_rwlocktype_t locktype; find_deepest_zonecut() local
4883 isc_rwlocktype_t locktype; find_coveringnsec() local
4997 isc_rwlocktype_t locktype; cache_find() local
5401 isc_rwlocktype_t locktype; cache_findzonecut() local
5929 isc_rwlocktype_t locktype; cache_findrdataset() local
H A Dnta.c441 isc_rwlocktype_t locktype = isc_rwlocktype_read; dns_ntatable_covered() local
H A Dtsig.c1545 isc_rwlocktype_t locktype = isc_rwlocktype_read; in tsig_verify_tcp()
1553 RWLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1557 RWUNLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1561 RWUNLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1568 if (locktype == isc_rwlocktype_read) { in tsig_verify_tcp()
1569 RWUNLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1570 locktype = isc_rwlocktype_write; in tsig_verify_tcp()
1576 RWUNLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1580 RWUNLOCK(&ring->lock, locktype); in tsig_verify_tcp()
1763 isc_rwlocktype_t locktype = isc_rwlocktype_read; dns_tsigkey_find() local
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/
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-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drbtdb.c1927 isc_rwlocktype_t locktype) { in new_reference() argument
1928 if (locktype == isc_rwlocktype_write && ISC_LINK_LINKED(node, deadlink)) in new_reference()
1955 isc_rwlocktype_t locktype) { in send_to_prune_tree() argument
1958 INSIST(locktype == isc_rwlocktype_write); in send_to_prune_tree()
1960 new_reference(rbtdb, node, locktype); in send_to_prune_tree()
2041 isc_rwlocktype_t locktype = isc_rwlocktype_read; in reactivate_node() local
2045 POST(locktype); in reactivate_node()
2047 NODE_LOCK(nodelock, locktype); in reactivate_node()
2063 NODE_UNLOCK(nodelock, locktype); in reactivate_node()
2064 locktype = isc_rwlocktype_write; in reactivate_node()
[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-src/external/bsd/libevent/dist/include/event2/
H A Dthread.h110 void *(*alloc)(unsigned locktype);
113 void (*free)(void *lock, unsigned locktype);
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/include/event2/
H A Dthread.h111 void *(*alloc)(unsigned locktype);
114 void (*free)(void *lock, unsigned locktype);
/netbsd-src/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-src/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-src/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-src/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-src/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-src/external/mpl/bind/dist/
H A Dconfigure.ac445 AC_ARG_WITH([locktype], global() optwith
/netbsd-src/external/mpl/dhcp/dist/doc/
H A DBIND-libraries140 --with-locktype, --with-pkcs11, --with-ecdsa, --with-gost,
/netbsd-src/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