Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd/contrib/tcpdump/
H A Dprint-usb.c75 nd_uint8_t event_type; member
100 nd_uint8_t event_type; member
140 get_direction(int transfer_type, int event_type) in get_direction() argument
149 switch(event_type) { in get_direction()
162 switch(event_type) { in get_direction()
185 uint8_t transfer_type, event_type; in usb_header_print() local
212 event_type = GET_U_1(uh->event_type); in usb_header_print()
213 switch(event_type) { in usb_header_print()
227 direction = get_direction(transfer_type, event_type); in usb_header_print()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DBroadcaster.h176 void BroadcastEvent(uint32_t event_type, in BroadcastEvent() argument
178 m_broadcaster_sp->BroadcastEvent(event_type, event_data_sp); in BroadcastEvent()
181 void BroadcastEvent(uint32_t event_type) { in BroadcastEvent() argument
182 m_broadcaster_sp->BroadcastEvent(event_type); in BroadcastEvent()
185 void BroadcastEventIfUnique(uint32_t event_type) { in BroadcastEventIfUnique() argument
186 m_broadcaster_sp->BroadcastEventIfUnique(event_type); in BroadcastEventIfUnique()
251 bool EventTypeHasListeners(uint32_t event_type) { in EventTypeHasListeners() argument
252 return m_broadcaster_sp->EventTypeHasListeners(event_type); in EventTypeHasListeners()
349 void BroadcastEvent(uint32_t event_type);
351 void BroadcastEvent(uint32_t event_type,
[all …]
H A DEvent.h186 Event(Broadcaster *broadcaster, uint32_t event_type,
189 Event(Broadcaster *broadcaster, uint32_t event_type,
192 Event(uint32_t event_type, EventData *data = nullptr);
194 Event(uint32_t event_type, const lldb::EventDataSP &event_data_sp);
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_event.c76 request.event_type = event->event_type; in pqisrc_acknowledge_event()
138 pqisrc_event_type_to_event_index(unsigned event_type) in pqisrc_event_type_to_event_index() argument
142 switch (event_type) { in pqisrc_event_type_to_event_index()
199 response.header.iu_type, response.event_type); in pqisrc_process_event_intr_src()
201 event_index = pqisrc_event_type_to_event_index(response.event_type); in pqisrc_process_event_intr_src()
210 pending_event->event_type = response.event_type; in pqisrc_process_event_intr_src()
421 softs->event_config.descriptors[i].event_type = in pqisrc_report_event_config()
422 event_config_p->descriptors[i].event_type; in pqisrc_report_event_config()
481 event_config_p->descriptors[i].event_type = in pqisrc_set_event_config()
482 softs->event_config.descriptors[i].event_type; in pqisrc_set_event_config()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBBroadcaster.cpp48 void SBBroadcaster::BroadcastEventByType(uint32_t event_type, bool unique) { in BroadcastEventByType() argument
49 LLDB_INSTRUMENT_VA(this, event_type, unique); in BroadcastEventByType()
55 m_opaque_ptr->BroadcastEventIfUnique(event_type); in BroadcastEventByType()
57 m_opaque_ptr->BroadcastEvent(event_type); in BroadcastEventByType()
99 bool SBBroadcaster::EventTypeHasListeners(uint32_t event_type) { in EventTypeHasListeners() argument
100 LLDB_INSTRUMENT_VA(this, event_type); in EventTypeHasListeners()
103 return m_opaque_ptr->EventTypeHasListeners(event_type); in EventTypeHasListeners()
H A DSBEvent.cpp26 SBEvent::SBEvent(uint32_t event_type, const char *cstr, uint32_t cstr_len) in SBEvent() argument
28 event_type, new EventDataBytes(llvm::StringRef(cstr, cstr_len)))), in SBEvent()
30 LLDB_INSTRUMENT_VA(this, event_type, cstr, cstr_len); in SBEvent()
75 uint32_t event_type = 0; in GetType() local
77 event_type = lldb_event->GetType(); in GetType()
80 return event_type; in GetType()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DBroadcaster.cpp173 bool Broadcaster::BroadcasterImpl::EventTypeHasListeners(uint32_t event_type) { in EventTypeHasListeners() argument
176 if (!m_hijacking_listeners.empty() && event_type & m_hijacking_masks.back()) in EventTypeHasListeners()
183 return HasListeners(event_type); in EventTypeHasListeners()
244 const uint32_t event_type = event_sp->GetType(); in PrivateBroadcastEvent() local
253 if ((event_type & m_hijacking_masks.back()) == 0) in PrivateBroadcastEvent()
276 &m_broadcaster, event_type)) in PrivateBroadcastEvent()
288 for (auto &pair : GetListeners(event_type, false)) in PrivateBroadcastEvent()
293 for (auto &pair : GetListeners(event_type)) { in PrivateBroadcastEvent()
295 &m_broadcaster, event_type)) in PrivateBroadcastEvent()
303 void Broadcaster::BroadcasterImpl::BroadcastEvent(uint32_t event_type) { in BroadcastEvent() argument
[all …]
H A DEvent.cpp33 Event::Event(Broadcaster *broadcaster, uint32_t event_type, EventData *data) in Event() argument
34 : m_broadcaster_wp(broadcaster->GetBroadcasterImpl()), m_type(event_type), in Event()
37 Event::Event(Broadcaster *broadcaster, uint32_t event_type, in Event() argument
39 : m_broadcaster_wp(broadcaster->GetBroadcasterImpl()), m_type(event_type), in Event()
42 Event::Event(uint32_t event_type, EventData *data) in Event() argument
43 : m_broadcaster_wp(), m_type(event_type), m_data_sp(data) {} in Event()
45 Event::Event(uint32_t event_type, const EventDataSP &event_data_sp) in Event() argument
46 : m_broadcaster_wp(), m_type(event_type), m_data_sp(event_data_sp) {} in Event()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITProfiling/
H A Djitprofiling.c112 iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData) in iJIT_NotifyEvent() argument
152 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS || in iJIT_NotifyEvent()
153 event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) && in iJIT_NotifyEvent()
162 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS) in iJIT_NotifyEvent()
200 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) in iJIT_NotifyEvent()
229 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED) in iJIT_NotifyEvent()
236 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData); in iJIT_NotifyEvent()
/freebsd/sys/dev/irdma/
H A Dirdma_user.h398 enum irdma_qp_event_type event_type; member
588 qp_err.event_type = IRDMA_QP_EVENT_ACCESS_ERR; in irdma_ae_to_qp_err_code()
593 qp_err.event_type = IRDMA_QP_EVENT_CATASTROPHIC; in irdma_ae_to_qp_err_code()
601 qp_err.event_type = IRDMA_QP_EVENT_CATASTROPHIC; in irdma_ae_to_qp_err_code()
606 qp_err.event_type = IRDMA_QP_EVENT_ACCESS_ERR; in irdma_ae_to_qp_err_code()
613 qp_err.event_type = IRDMA_QP_EVENT_ACCESS_ERR; in irdma_ae_to_qp_err_code()
617 qp_err.event_type = IRDMA_QP_EVENT_CATASTROPHIC; in irdma_ae_to_qp_err_code()
621 qp_err.event_type = IRDMA_QP_EVENT_REQ_ERR; in irdma_ae_to_qp_err_code()
629 qp_err.event_type = IRDMA_QP_EVENT_CATASTROPHIC; in irdma_ae_to_qp_err_code()
633 qp_err.event_type = IRDMA_QP_EVENT_CATASTROPHIC; in irdma_ae_to_qp_err_code()
[all …]
/freebsd/contrib/ofed/libibverbs/examples/
H A Dasyncwatch.c42 static const char *event_name_str(enum ibv_event_type event_type) in event_name_str() argument
44 switch (event_type) { in event_name_str()
156 event_name_str(event.event_type), in main()
157 event.event_type, event.element.port_num); in main()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDebugger.cpp1517 uint32_t event_type = 0; in PrivateReportDiagnostic() local
1523 event_type = lldb::eBroadcastBitWarning; in PrivateReportDiagnostic()
1526 event_type = lldb::eBroadcastBitError; in PrivateReportDiagnostic()
1531 if (!broadcaster.EventTypeHasListeners(event_type)) { in PrivateReportDiagnostic()
1541 event_type, in PrivateReportDiagnostic()
1709 const uint32_t event_type = in HandleBreakpointEvent() local
1726 if (event_type & eBreakpointEventTypeLocationsAdded) { in HandleBreakpointEvent()
1776 const uint32_t event_type = event_sp->GetType(); in HandleProcessEvent() local
1778 (event_type == Process::eBroadcastBitStructuredData) in HandleProcessEvent()
1792 (event_type & Process::eBroadcastBitStateChanged) != 0; in HandleProcessEvent()
[all …]
H A DThreadedCommunication.cpp134 const uint32_t event_type = event_sp->GetType(); in Read() local
135 if (event_type & eBroadcastBitReadThreadGotBytes) { in Read()
139 if (event_type & eBroadcastBitReadThreadDidExit) { in Read()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBBroadcaster.h34 void BroadcastEventByType(uint32_t event_type, bool unique = false);
45 bool EventTypeHasListeners(uint32_t event_type);
/freebsd/contrib/libpcap/pcap/
H A Dusb.h81 uint8_t event_type; member
106 uint8_t event_type; member
/freebsd/usr.sbin/apmd/
H A Dapmd.c342 u_int event_type = i; in read_config() local
343 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) { in read_config()
344 err(1, "cannot enable event 0x%x", event_type); in read_config()
395 u_int event_type = i; in destroy_config() local
396 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) { in destroy_config()
397 err(1, "cannot disable event 0x%x", event_type); in destroy_config()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectQuit.cpp101 const uint32_t event_type = in DoExecute() local
103 m_interpreter.BroadcastEvent(event_type); in DoExecute()
/freebsd/contrib/ofed/libibverbs/
H A Ddevice.c333 event->event_type = ev.event_type; in __ibv_get_async_event()
335 switch (event->event_type) { in __ibv_get_async_event()
373 switch (event->event_type) { in __ibv_ack_async_event()
/freebsd/sys/kern/
H A Dkern_khelp.c314 khelp_modevent(module_t mod, int event_type, void *data) in khelp_modevent() argument
322 switch(event_type) { in khelp_modevent()
355 else if (error == EBUSY && event_type != MOD_SHUTDOWN) in khelp_modevent()
/freebsd/contrib/wpa/src/fst/
H A Dfst_ctrl_iface.c82 enum fst_event_type event_type, in fst_ctrl_iface_notify() argument
108 switch (event_type) { in fst_ctrl_iface_notify()
150 fst_session_event_type_name(event_type), in fst_ctrl_iface_notify()
162 fst_session_event_type_name(event_type)); in fst_ctrl_iface_notify()
724 static void fst_ctrl_iface_on_event(enum fst_event_type event_type, in fst_ctrl_iface_on_event() argument
730 fst_ctrl_iface_notify(i, session_id, event_type, extra); in fst_ctrl_iface_on_event()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c550 u8 event_type = EVENT_TYPE_NOT_DEFINED; in qlnxr_affiliated_event() local
563 event_type = EVENT_TYPE_CQ; in qlnxr_affiliated_event()
576 event_type = EVENT_TYPE_CQ; in qlnxr_affiliated_event()
581 event_type = EVENT_TYPE_QP; in qlnxr_affiliated_event()
586 event_type = EVENT_TYPE_QP; in qlnxr_affiliated_event()
591 event_type = EVENT_TYPE_QP; in qlnxr_affiliated_event()
596 event_type = EVENT_TYPE_QP; in qlnxr_affiliated_event()
616 switch (event_type) { in qlnxr_affiliated_event()
/freebsd/contrib/opencsd/decoder/include/interfaces/
H A Dtrc_indexer_src_i.h109 virtual ocsd_err_t TrcEventIndex(const ocsd_trc_index_t src_idx, const int event_type) = 0;
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c340 static u16 get_event_obj_type(unsigned long event_type, struct mlx5_eqe *eqe) in get_event_obj_type() argument
342 switch (event_type) { in get_event_obj_type()
2232 unsigned long event_type) in is_unaffiliated_event() argument
2239 return is_legacy_unaffiliated_event_num(event_type); in is_unaffiliated_event()
2243 WARN_ON(event_type > MAX_SUPP_EVENT_NUM); in is_unaffiliated_event()
2245 mask_entry = event_type / 64; in is_unaffiliated_event()
2246 mask_bit = event_type % 64; in is_unaffiliated_event()
2254 static u32 devx_get_obj_id_from_event(unsigned long event_type, void *data) in devx_get_obj_id_from_event() argument
2259 switch (event_type) { in devx_get_obj_id_from_event()
2350 uint8_t event_type, void *data) in mlx5_devx_event_notifier() argument
[all …]
/freebsd/sys/netinet/
H A Dsctp_usrreq.c2991 uint32_t event_type; local
2998 event_type = SCTP_PCB_FLAGS_RECVASSOCEVNT;
3001 event_type = SCTP_PCB_FLAGS_RECVPADDREVNT;
3004 event_type = SCTP_PCB_FLAGS_RECVPEERERR;
3007 event_type = SCTP_PCB_FLAGS_RECVSENDFAILEVNT;
3010 event_type = SCTP_PCB_FLAGS_RECVSHUTDOWNEVNT;
3013 event_type = SCTP_PCB_FLAGS_ADAPTATIONEVNT;
3016 event_type = SCTP_PCB_FLAGS_PDAPIEVNT;
3019 event_type = SCTP_PCB_FLAGS_AUTHEVNT;
3022 event_type = SCTP_PCB_FLAGS_STREAM_RESETEVNT;
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_interface.cpp463 const char *const event_type) XRAY_NEVER_INSTRUMENT { in __xray_register_event_type() argument
464 TypeDescriptorMapType::Handle h(&TypeDescriptorAddressMap, (uptr)event_type); in __xray_register_event_type()
468 h->description_string_length = strnlen(event_type, 1024); in __xray_register_event_type()

1234