| /freebsd-12.1/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() 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() 684 if (ev->ev_flags & EVLIST_ACTIVE) in event_del() 785 if (!(ev->ev_flags & queue)) in event_queue_remove() 795 ev->ev_flags &= ~queue; in event_queue_remove() 822 if (ev->ev_flags & queue) { in event_queue_insert() [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 | 101 int ev_flags; member 170 #define evtimer_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 176 #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 183 #define signal_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) 195 #define event_initialized(ev) ((ev)->ev_flags & EVLIST_INIT && (ev)->ev_fd != (int)INVALID_HANDLE_… 197 #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-12.1/stand/libsa/ |
| H A D | environment.c | 81 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_setenv() 84 ev->ev_flags &= ~EV_DYNAMIC; in env_setenv() 94 ev->ev_flags = 0; in env_setenv() 132 ev->ev_flags |= EV_DYNAMIC; in env_setenv() 135 ev->ev_flags |= flags & EV_DYNAMIC; in env_setenv() 208 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_discard()
|
| H A D | stand.h | 328 int ev_flags; member
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/ |
| H A D | event.c | 2034 ev->ev_flags = EVLIST_INIT; in event_assign() 2070 if (ev->ev_flags != EVLIST_INIT) in event_base_set() 2145 ev->ev_flags &= ~EVLIST_INIT; in event_debug_unassign() 2159 ev->ev_flags |= EVLIST_FINALIZING; in event_finalize_nolock_() 2263 if (ev->ev_flags & EVLIST_ACTIVE) in event_priority_set() 2294 if (ev->ev_flags & EVLIST_TIMEOUT) in event_pending() 2772 if (ev->ev_flags & EVLIST_ACTIVE) in event_del_nolock_() 3132 ev->ev_flags &= ~EVLIST_INSERTED; in event_queue_remove_inserted() 3175 ev->ev_flags &= ~EVLIST_TIMEOUT; in event_queue_remove_timeout() 3272 ev->ev_flags |= EVLIST_INSERTED; in event_queue_insert_inserted() [all …]
|
| H A D | event-internal.h | 57 #define ev_flags ev_evcallback.evcb_flags macro
|
| H A D | signal.c | 201 base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; in evsig_init_()
|
| H A D | evmap.c | 956 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED); 986 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED);
|
| /freebsd-12.1/contrib/libevent/ |
| H A D | event.c | 2081 ev->ev_flags = EVLIST_INIT; in event_assign() 2117 if (ev->ev_flags != EVLIST_INIT) in event_base_set() 2192 ev->ev_flags &= ~EVLIST_INIT; in event_debug_unassign() 2206 ev->ev_flags |= EVLIST_FINALIZING; in event_finalize_nolock_() 2310 if (ev->ev_flags & EVLIST_ACTIVE) in event_priority_set() 2341 if (ev->ev_flags & EVLIST_TIMEOUT) in event_pending() 2819 if (ev->ev_flags & EVLIST_ACTIVE) in event_del_nolock_() 3182 ev->ev_flags &= ~EVLIST_INSERTED; in event_queue_remove_inserted() 3225 ev->ev_flags &= ~EVLIST_TIMEOUT; in event_queue_remove_timeout() 3322 ev->ev_flags |= EVLIST_INSERTED; in event_queue_insert_inserted() [all …]
|
| H A D | event-internal.h | 57 #define ev_flags ev_evcallback.evcb_flags macro
|
| H A D | signal.c | 201 base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; in evsig_init_()
|
| H A D | evmap.c | 956 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED); 986 EVUTIL_ASSERT(ev->ev_flags & EVLIST_INSERTED);
|
| /freebsd-12.1/lib/libpmcstat/ |
| H A D | libpmcstat_event.c | 59 ev_clone->ev_flags = ev->ev_flags; in pmcstat_clone_event_descriptor()
|
| H A D | libpmcstat.h | 72 int ev_flags; /* PMC_F_* */ member
|
| /freebsd-12.1/sys/dev/evdev/ |
| H A D | evdev.c | 294 bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_register_common() 578 bit_set(evdev->ev_flags, flag); in evdev_set_flag() 678 if (!bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_modify_event() 913 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_AUTOREL)) in evdev_push_event() 916 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_push_event() 934 if (bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) in evdev_inject_event() 1006 bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) in evdev_dispose_client()
|
| H A D | evdev_private.h | 107 bitstr_t bit_decl(ev_flags, EVDEV_FLAG_CNT);
|
| H A D | evdev_mt.c | 93 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_init()
|
| /freebsd-12.1/usr.sbin/pmcstat/ |
| H A D | pmcstat.c | 680 ev->ev_flags = 0; in main() 682 ev->ev_flags |= PMC_F_CALLCHAIN; in main() 684 ev->ev_flags |= PMC_F_USERCALLCHAIN; in main() 687 ev->ev_flags |= PMC_F_DESCENDANTS; in main() 689 ev->ev_flags |= PMC_F_LOG_PROCEXIT; in main() 691 ev->ev_flags |= PMC_F_LOG_PROCCSW; in main() 1132 ev->ev_flags, ev->ev_cpu, &ev->ev_pmcid, in main()
|
| /freebsd-12.1/usr.sbin/pmc/ |
| H A D | cmd_pmc_stat.c | 220 ev->ev_flags = 0; in pmc_stat_setup_stat() 221 ev->ev_flags |= PMC_F_DESCENDANTS; in pmc_stat_setup_stat() 359 ev->ev_flags, ev->ev_cpu, &ev->ev_pmcid, ev->ev_count) < 0) in pmc_stat_internal()
|
| /freebsd-12.1/contrib/libevent/test/ |
| H A D | regress.c | 1807 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later() 1808 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress.c | 1704 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later() 1705 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
|