Home
last modified time | relevance | path

Searched refs:evsel (Results 1 – 24 of 24) sorted by relevance

/freebsd-14-stable/contrib/pf/libevent/
HDevent.c191 current_base->evsel = eventops[i]; in event_init()
193 current_base->evbase = current_base->evsel->init(); in event_init()
201 current_base->evsel->name); in event_init()
230 if (base->evsel->dealloc != NULL) in event_base_free()
231 base->evsel->dealloc(base->evbase); in event_base_free()
372 const struct eventop *evsel = base->evsel; in event_base_loop() local
380 if (evsel->recalc(base, evbase, 0) == -1) in event_base_loop()
423 res = evsel->dispatch(base, evbase, &tv); in event_base_loop()
595 const struct eventop *evsel = base->evsel; in event_add() local
644 return (evsel->add(evbase, ev)); in event_add()
[all …]
HDevent-internal.h35 const struct eventop *evsel; member
/freebsd-14-stable/contrib/libevent/
HDevmap.c275 const struct eventop *evsel = base->evsel; in evmap_io_add_() local
294 evsel->fdinfo_len); in evmap_io_add_()
337 if (evsel->add(base, ev->ev_fd, in evmap_io_add_()
356 const struct eventop *evsel = base->evsel; in evmap_io_del_() local
403 if (evsel->del(base, ev->ev_fd, in evmap_io_del_()
452 const struct eventop *evsel = base->evsigsel; in evmap_signal_add_() local
468 if (evsel->add(base, ev->ev_fd, 0, EV_SIGNAL, NULL) in evmap_signal_add_()
481 const struct eventop *evsel = base->evsigsel; in evmap_signal_del_() local
493 if (evsel->del(base, ev->ev_fd, 0, EV_SIGNAL, NULL) == -1) in evmap_signal_del_()
610 const struct eventop *evsel = base->evsel; local
[all …]
HDevent.c566 return base->evsel->features; in event_base_get_features()
692 base->evsel = eventops[i]; in event_base_new_with_config()
694 base->evbase = base->evsel->init(base); in event_base_new_with_config()
700 base->evsel = NULL; in event_base_new_with_config()
706 event_msgx("libevent using: %s", base->evsel->name); in event_base_new_with_config()
924 if (base->evsel != NULL && base->evsel->dealloc != NULL) in event_base_free_()
925 base->evsel->dealloc(base); in event_base_free_()
983 const struct eventop *evsel; in event_reinit() local
990 evsel = base->evsel; in event_reinit()
993 if (evsel->need_reinit) { in event_reinit()
[all …]
HDevent-internal.h211 const struct eventop *evsel; member
HDsignal.c296 base, evsig_base, base->evsel->name); in evsig_add()
HDepoll.c181 base->evsel = &epollops_changelist; in epoll_init()
HDChangeLog-1.4156 o do not insert event into list when evsel->add fails
HDChangeLog-2.01179 o do not insert event into list when evsel->add fails
HDChangeLog981 o If evsel->del() fails, don't leave the evmap in an inconsistent
/freebsd-14-stable/contrib/ntp/sntp/libevent/
HDevmap.c275 const struct eventop *evsel = base->evsel; in evmap_io_add_() local
294 evsel->fdinfo_len); in evmap_io_add_()
337 if (evsel->add(base, ev->ev_fd, in evmap_io_add_()
356 const struct eventop *evsel = base->evsel; in evmap_io_del_() local
403 if (evsel->del(base, ev->ev_fd, in evmap_io_del_()
452 const struct eventop *evsel = base->evsigsel; in evmap_signal_add_() local
468 if (evsel->add(base, ev->ev_fd, 0, EV_SIGNAL, NULL) in evmap_signal_add_()
481 const struct eventop *evsel = base->evsigsel; in evmap_signal_del_() local
493 if (evsel->del(base, ev->ev_fd, 0, EV_SIGNAL, NULL) == -1) in evmap_signal_del_()
610 const struct eventop *evsel = base->evsel; local
[all …]
HDevent.c566 return base->evsel->features; in event_base_get_features()
692 base->evsel = eventops[i]; in event_base_new_with_config()
694 base->evbase = base->evsel->init(base); in event_base_new_with_config()
700 base->evsel = NULL; in event_base_new_with_config()
706 event_msgx("libevent using: %s", base->evsel->name); in event_base_new_with_config()
924 if (base->evsel != NULL && base->evsel->dealloc != NULL) in event_base_free_()
925 base->evsel->dealloc(base); in event_base_free_()
983 const struct eventop *evsel; in event_reinit() local
990 evsel = base->evsel; in event_reinit()
993 if (evsel->need_reinit) { in event_reinit()
[all …]
HDevent-internal.h211 const struct eventop *evsel; member
HDsignal.c296 base, evsig_base, base->evsel->name); in evsig_add()
HDepoll.c181 base->evsel = &epollops_changelist; in epoll_init()
HDChangeLog-1.4156 o do not insert event into list when evsel->add fails
HDChangeLog-2.01179 o do not insert event into list when evsel->add fails
HDChangeLog981 o If evsel->del() fails, don't leave the evmap in an inconsistent
/freebsd-14-stable/sys/dev/hwpmc/
HDhwpmc_core.c591 iap_event_corei7_ok_on_counter(uint8_t evsel, int ri) in iap_event_corei7_ok_on_counter() argument
595 switch (evsel) { in iap_event_corei7_ok_on_counter()
618 iap_event_westmere_ok_on_counter(uint8_t evsel, int ri) in iap_event_westmere_ok_on_counter() argument
622 switch (evsel) { in iap_event_westmere_ok_on_counter()
646 iap_event_sb_sbx_ib_ibx_ok_on_counter(uint8_t evsel, int ri) in iap_event_sb_sbx_ib_ibx_ok_on_counter() argument
650 switch (evsel) { in iap_event_sb_sbx_ib_ibx_ok_on_counter()
679 iap_event_core_ok_on_counter(uint8_t evsel, int ri) in iap_event_core_ok_on_counter() argument
683 switch (evsel) { in iap_event_core_ok_on_counter()
881 uint64_t evsel; in iap_start_pmc() local
893 evsel = pm->pm_md.pm_iap.pm_iap_evsel; in iap_start_pmc()
[all …]
HDhwpmc_amd.c778 uint64_t config, evsel, perfctr; in amd_intr() local
826 evsel = amd_pmcdesc[i].pm_evsel; in amd_intr()
829 config = rdmsr(evsel); in amd_intr()
836 wrmsr(evsel, config & ~AMD_PMC_ENABLE); in amd_intr()
842 wrmsr(evsel, config); in amd_intr()
979 uint32_t evsel; in amd_pcpu_fini() local
992 evsel = rdmsr(AMD_PMC_EVSEL_0 + i); in amd_pcpu_fini()
993 evsel &= ~AMD_PMC_ENABLE; in amd_pcpu_fini()
994 wrmsr(AMD_PMC_EVSEL_0 + i, evsel); in amd_pcpu_fini()
HDhwpmc_amd.h115 #define AMD_PMC_IS_STOPPED(evsel) ((rdmsr((evsel)) & AMD_PMC_ENABLE) == 0) argument
HDhwpmc_uncore.c616 uint64_t evsel; in ucp_start_pmc() local
628 evsel = pm->pm_md.pm_ucp.pm_ucp_evsel; in ucp_start_pmc()
632 cpu, ri, SELECTSEL(uncore_cputype) + ri, evsel); in ucp_start_pmc()
634 wrmsr(SELECTSEL(uncore_cputype) + ri, evsel); in ucp_start_pmc()
HDhwpmc_armv7.c110 armv7_pmcn_read(unsigned int pmc, uint32_t evsel) in armv7_pmcn_read() argument
113 if (evsel == PMC_EV_CPU_CYCLES) { in armv7_pmcn_read()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCInstrSPE.td722 "evsel crD,$RT,$RA,$RB", IIC_VecGeneral, []>;