/freebsd/contrib/pf/libevent/ |
H A D | event.c | 519 ev->ev_flags = EVLIST_INIT; in event_set() 531 if (ev->ev_flags != EVLIST_INIT) in event_base_set() 548 if (ev->ev_flags & EVLIST_ACTIVE) in event_priority_set() 568 if (ev->ev_flags & EVLIST_INSERTED) in event_pending() 570 if (ev->ev_flags & EVLIST_ACTIVE) in event_pending() 572 if (ev->ev_flags & EVLIST_TIMEOUT) in event_pending() 574 if (ev->ev_flags & EVLIST_SIGNAL) in event_pending() 606 assert(!(ev->ev_flags & ~EVLIST_ALL)); in event_add() 611 if (ev->ev_flags & EVLIST_TIMEOUT) in event_add() 617 if ((ev->ev_flags & EVLIST_ACTIVE) && in event_add() [all …]
|
H A D | kqueue.c | 305 ev->ev_flags |= EVLIST_X_KQINKERNEL; in kq_add() 325 ev->ev_flags |= EVLIST_X_KQINKERNEL; in kq_add() 340 ev->ev_flags |= EVLIST_X_KQINKERNEL; in kq_add() 352 if (!(ev->ev_flags & EVLIST_X_KQINKERNEL)) in kq_del() 369 ev->ev_flags &= ~EVLIST_X_KQINKERNEL; in kq_del() 382 ev->ev_flags &= ~EVLIST_X_KQINKERNEL; in kq_del() 394 ev->ev_flags &= ~EVLIST_X_KQINKERNEL; in kq_del()
|
H A D | event.h | 100 int ev_flags; member 169 #define evtimer_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 175 #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 182 #define signal_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 194 #define event_initialized(ev) ((ev)->ev_flags & EVLIST_INIT && (ev)->ev_fd != (int)INVALID_HANDLE_… 196 #define event_initialized(ev) ((ev)->ev_flags & EVLIST_INIT)
|
H A D | signal.c | 107 ev_signal.ev_flags |= EVLIST_INTERNAL; in evsignal_init()
|
/freebsd/stand/libsa/ |
H A D | environment.c | 76 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_setenv() 79 ev->ev_flags &= ~EV_DYNAMIC; in env_setenv() 89 ev->ev_flags = 0; in env_setenv() 126 ev->ev_flags |= EV_DYNAMIC; in env_setenv() 129 ev->ev_flags |= flags & EV_DYNAMIC; in env_setenv() 202 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_discard()
|
H A D | stand.h | 357 int ev_flags; member
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event.c | 299 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_note_add_() 325 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_note_del_() 349 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_assert_is_setup_() 370 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_assert_not_added_() 783 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_cancel_single_callback_() 886 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_free_() 1546 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL; in event_base_init_common_timeout() 1648 if (ev->ev_events & EV_PERSIST || ev->ev_flags & EVLIST_FINALIZING) in event_process_active_single_queue() 2131 ev->ev_flags = EVLIST_INIT; in event_assign() 2167 if (ev->ev_flags != EVLIST_INIT) in event_base_set() [all …]
|
H A D | event-internal.h | 57 #define ev_flags ev_evcallback.evcb_flags macro
|
H A D | signal.c | 203 base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; in evsig_init_()
|
H A D | evmap.c | 963 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED); 993 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED);
|
/freebsd/contrib/libevent/ |
H A D | event.c | 299 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_note_add_() 325 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_note_del_() 349 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_assert_is_setup_() 370 EV_SOCK_ARG(ev->ev_fd), ev->ev_flags); in event_debug_assert_not_added_() 783 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_cancel_single_callback_() 886 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_free_() 1546 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL; in event_base_init_common_timeout() 1648 if (ev->ev_events & EV_PERSIST || ev->ev_flags & EVLIST_FINALIZING) in event_process_active_single_queue() 2131 ev->ev_flags = EVLIST_INIT; in event_assign() 2167 if (ev->ev_flags != EVLIST_INIT) in event_base_set() [all …]
|
H A D | event-internal.h | 57 #define ev_flags ev_evcallback.evcb_flags macro
|
H A D | signal.c | 203 base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; in evsig_init_()
|
H A D | evmap.c | 963 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED); 993 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED);
|
/freebsd/sys/dev/evdev/ |
H A D | evdev_mt.c | 124 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) { in evdev_mt_init() 133 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) { in evdev_mt_init() 142 if (!bit_test(evdev->ev_flags, EVDEV_FLAG_MT_KEEPID)) in evdev_mt_init() 145 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_init() 158 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_mt_sync_frame() 160 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_AUTOREL)) in evdev_mt_sync_frame() 163 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_sync_frame() 206 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK) && mt->type_a) { in evdev_mt_push_slot() 209 } else if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) { in evdev_mt_push_slot() 530 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_mt_id_to_slot() [all …]
|
H A D | evdev.c | 294 bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_register_common() 309 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_register_common() 339 if (bit_test(evdev->ev_flags, EVDEV_FLAG_EXT_EPOCH)) in evdev_register() 584 bit_set(evdev->ev_flags, flag); in evdev_set_flag() 685 if (!bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_modify_event() 954 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK) && in evdev_push_event() 975 if (bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) in evdev_inject_event() 1052 bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_dispose_client()
|
H A D | evdev_private.h | 134 bitstr_t bit_decl(ev_flags, EVDEV_FLAG_CNT);
|
/freebsd/lib/libpmcstat/ |
H A D | libpmcstat_event.c | 56 ev_clone->ev_flags = ev->ev_flags; in pmcstat_clone_event_descriptor()
|
H A D | libpmcstat.h | 70 int ev_flags; /* PMC_F_* */ member
|
/freebsd/usr.sbin/pmcstat/ |
H A D | pmcstat.c | 690 ev->ev_flags = 0; in main() 692 ev->ev_flags |= PMC_F_CALLCHAIN; in main() 694 ev->ev_flags |= PMC_F_USERCALLCHAIN; in main() 697 ev->ev_flags |= PMC_F_DESCENDANTS; in main() 699 ev->ev_flags |= PMC_F_LOG_PROCEXIT; in main() 701 ev->ev_flags |= PMC_F_LOG_PROCCSW; in main() 726 ev->ev_flags, ev->ev_cpu, &ev->ev_pmcid, in main() 1145 ev->ev_flags, ev->ev_cpu, &ev->ev_pmcid, in main()
|
/freebsd/usr.sbin/pmc/ |
H A D | cmd_pmc_stat.c | 224 ev->ev_flags = 0; in pmc_stat_setup_stat() 225 ev->ev_flags |= PMC_F_DESCENDANTS; in pmc_stat_setup_stat() 363 ev->ev_flags, ev->ev_cpu, &ev->ev_pmcid, ev->ev_count) < 0) in pmc_stat_internal()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.c | 1889 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later() 1890 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
|
/freebsd/contrib/libevent/test/ |
H A D | regress.c | 1889 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later() 1890 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
|