/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evthread-internal.h | 93 #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 D | evutil_rand.c | 123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)
|
H A D | evbuffer-internal.h | 287 EVLOCK_LOCK((buffer)->lock, 0); \
|
H A D | bufferevent-internal.h | 487 EVLOCK_LOCK(locking->lock, 0); \
|
H A D | event.c | 244 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 D | signal.c | 118 #define EVSIGBASE_LOCK() EVLOCK_LOCK(evsig_base_lock, 0)
|
H A D | listener.c | 106 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0)
|
H A D | buffer.c | 3158 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 D | bufferevent_ratelim.c | 185 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0)
|
H A D | evutil.c | 1762 EVLOCK_LOCK(windows_socket_errors_lock_, 0); in evutil_socket_error_to_string()
|
/freebsd/contrib/libevent/ |
H A D | evthread-internal.h | 93 #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 D | evutil_rand.c | 123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)
|
H A D | evbuffer-internal.h | 287 EVLOCK_LOCK((buffer)->lock, 0); \
|
H A D | bufferevent-internal.h | 487 EVLOCK_LOCK(locking->lock, 0); \
|
H A D | event.c | 244 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 D | signal.c | 118 #define EVSIGBASE_LOCK() EVLOCK_LOCK(evsig_base_lock, 0)
|
H A D | listener.c | 106 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0)
|
H A D | buffer.c | 3158 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 D | bufferevent_ratelim.c | 185 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0)
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_thread.c | 78 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 D | regress_iocp.c | 84 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 D | regress_dns.c | 2234 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 D | regress_thread.c | 78 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 D | regress_iocp.c | 84 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 D | regress_dns.c | 2234 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()
|