Home
last modified time | relevance | path

Searched refs:EVLOCK_LOCK (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/ntp/sntp/libevent/
H A Devthread-internal.h93 #define EVLOCK_LOCK(lockvar,mode) \ macro
119 EVLOCK_LOCK((base)->lockvar, 0); \
226 #define EVLOCK_LOCK(lockvar,mode) \ macro
242 EVLOCK_LOCK((base)->lockvar, 0); \
312 #define EVLOCK_LOCK(lockvar, mode) EVUTIL_NIL_STMT_ macro
355 EVLOCK_LOCK(lock1_tmplock_,mode1); \
357 EVLOCK_LOCK(lock2_tmplock_,mode2); \
H A Devutil_rand.c123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)
H A Devbuffer-internal.h287 EVLOCK_LOCK((buffer)->lock, 0); \
H A Dbufferevent-internal.h487 EVLOCK_LOCK(locking->lock, 0); \
H A Devent.c244 EVLOCK_LOCK(event_debug_map_lock_, 0); in HT_PROTOTYPE()
271 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_teardown_()
289 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_add_()
315 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_del_()
341 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_assert_is_setup_()
362 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_assert_not_added_()
591 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_disable_debug_mode()
H A Dsignal.c118 #define EVSIGBASE_LOCK() EVLOCK_LOCK(evsig_base_lock, 0)
H A Dlistener.c106 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0)
H A Dbuffer.c3158 EVLOCK_LOCK(seg->lock, 0); in evbuffer_file_segment_free()
3202 EVLOCK_LOCK(seg->lock, 0); in evbuffer_add_file_segment()
3277 EVLOCK_LOCK(seg->lock, 0); in evbuffer_add_file_segment()
H A Dbufferevent_ratelim.c185 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0)
H A Devutil.c1762 EVLOCK_LOCK(windows_socket_errors_lock_, 0); in evutil_socket_error_to_string()
/freebsd/contrib/libevent/
H A Devthread-internal.h93 #define EVLOCK_LOCK(lockvar,mode) \ macro
119 EVLOCK_LOCK((base)->lockvar, 0); \
226 #define EVLOCK_LOCK(lockvar,mode) \ macro
242 EVLOCK_LOCK((base)->lockvar, 0); \
312 #define EVLOCK_LOCK(lockvar, mode) EVUTIL_NIL_STMT_ macro
355 EVLOCK_LOCK(lock1_tmplock_,mode1); \
357 EVLOCK_LOCK(lock2_tmplock_,mode2); \
H A Devutil_rand.c123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)
H A Devbuffer-internal.h287 EVLOCK_LOCK((buffer)->lock, 0); \
H A Dbufferevent-internal.h487 EVLOCK_LOCK(locking->lock, 0); \
H A Devent.c244 EVLOCK_LOCK(event_debug_map_lock_, 0); in HT_PROTOTYPE()
271 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_teardown_()
289 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_add_()
315 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_note_del_()
341 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_assert_is_setup_()
362 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_debug_assert_not_added_()
591 EVLOCK_LOCK(event_debug_map_lock_, 0); in event_disable_debug_mode()
H A Dsignal.c118 #define EVSIGBASE_LOCK() EVLOCK_LOCK(evsig_base_lock, 0)
H A Dlistener.c106 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0)
H A Dbuffer.c3158 EVLOCK_LOCK(seg->lock, 0); in evbuffer_file_segment_free()
3202 EVLOCK_LOCK(seg->lock, 0); in evbuffer_add_file_segment()
3277 EVLOCK_LOCK(seg->lock, 0); in evbuffer_add_file_segment()
H A Dbufferevent_ratelim.c185 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0)
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
118 EVLOCK_LOCK(cw.lock, 0); in basic_thread()
126 EVLOCK_LOCK(count_lock, 0); in basic_thread()
132 EVLOCK_LOCK(count_lock, 0); in basic_thread()
273 EVLOCK_LOCK(rec->cond->lock, 0); in wait_for_condition()
H A Dregress_iocp.c84 EVLOCK_LOCK(count_lock, 0); in count_incr()
97 EVLOCK_LOCK(count_lock, 0); in count_wait_for()
127 EVLOCK_LOCK(d_o->lock, 0); in dummy_cb()
143 EVLOCK_LOCK(o->lock, 0); in pair_is_in()
H A Dregress_dns.c2234 EVLOCK_LOCK(rp->lock, 0); in race_busywait_run()
2249 EVLOCK_LOCK(rp->lock, 0); in race_gai_cb()
2310 EVLOCK_LOCK(rp.lock, 0); in getaddrinfo_race_gotresolve_test()
/freebsd/contrib/libevent/test/
H A Dregress_thread.c78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
118 EVLOCK_LOCK(cw.lock, 0); in basic_thread()
126 EVLOCK_LOCK(count_lock, 0); in basic_thread()
132 EVLOCK_LOCK(count_lock, 0); in basic_thread()
273 EVLOCK_LOCK(rec->cond->lock, 0); in wait_for_condition()
H A Dregress_iocp.c84 EVLOCK_LOCK(count_lock, 0); in count_incr()
97 EVLOCK_LOCK(count_lock, 0); in count_wait_for()
127 EVLOCK_LOCK(d_o->lock, 0); in dummy_cb()
143 EVLOCK_LOCK(o->lock, 0); in pair_is_in()
H A Dregress_dns.c2234 EVLOCK_LOCK(rp->lock, 0); in race_busywait_run()
2249 EVLOCK_LOCK(rp->lock, 0); in race_gai_cb()
2310 EVLOCK_LOCK(rp.lock, 0); in getaddrinfo_race_gotresolve_test()

12