/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | head.c | 31 bool wait, struct nvif_event *event) in nvif_head_vblank_event_ctor() 34 func, wait, NULL, 0, event); in nvif_head_vblank_event_ctor() 30 nvif_head_vblank_event_ctor(struct nvif_head *head, const char *name, nvif_event_func func, bool wait, struct nvif_event *event) nvif_head_vblank_event_ctor() argument
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf-event.h | 33 int machine__process_bpf(struct machine *machine, union perf_event *event, 41 union perf_event *event __maybe_unused, in machine__process_bpf()
|
H A D | pmu.c | 36 #define UNIT_MAX_LEN 31 /* max length for event unit name */ 39 * struct perf_pmu_alias - An event either read from sysfs or builtin in 43 /** @name: Name of the event like "mem-loads". */ 45 /** @desc: Optional short description of the event. */ 63 /** @unit: Units for the event, such as bytes or cache lines. */ 80 * @deprecated: Is the event hidden and so not shown in perf list by 84 /** @from_sysfs: Was the alias from sysfs or a json event? */ 94 * For example, the contents of <sysfs>/devices/cpu/format/event may be 95 * "config:0-7" and will be represented here as name="event", 486 if (pe->event) { in update_alias() 1529 const char *event; global() member 1544 perf_pmu__find_event(struct perf_pmu *pmu, const char *event, void *state, pmu_event_callback cb) perf_pmu__find_event() argument 1660 struct perf_pmu_alias *event; perf_pmu__for_each_event() local [all...] |
/third_party/PyYAML/tests/lib/ |
H A D | test_canonical.py | 21 for event in events: 22 print(event)
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_epoll.rs | 20 let mut event = in test_epoll_ctl() variables 22 epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, &mut event).unwrap(); in test_epoll_ctl()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_ctrl_aux.c | 53 const char * fst_session_event_type_name(enum fst_event_type event) in fst_session_event_type_name() argument 55 return fst_get_str_name(event, session_event_names, in fst_session_event_type_name()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_ctrl_aux.c | 53 const char * fst_session_event_type_name(enum fst_event_type event) in fst_session_event_type_name() argument 55 return fst_get_str_name(event, session_event_names, in fst_session_event_type_name()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.cpp | 796 auto actionStartTask = [weak = WeakClaim(this)](const GestureEvent& event) { in InitPanEvent() 799 if (event.GetInputEventType() == InputEventType::AXIS && event.GetSourceTool() == SourceTool::MOUSE) { in InitPanEvent() 802 pattern->HandleDragStart(event); in InitPanEvent() 804 auto actionUpdateTask = [weak = WeakClaim(this)](const GestureEvent& event) { in InitPanEvent() 807 pattern->SetMainVelocity(event.GetMainVelocity()); in InitPanEvent() 808 pattern->HandleDragMove(event); in InitPanEvent() 831 void TimePickerColumnPattern::HandleDragStart(const GestureEvent& event) in HandleDragStart() argument 836 auto offsetY = event.GetGlobalPoint().GetY(); in HandleDragStart() 842 frameNode->AddFRCSceneInfo(PICKER_DRAG_SCENE, event in HandleDragStart() 846 HandleDragMove(const GestureEvent& event) HandleDragMove() argument 1298 OnKeyEvent(const KeyEvent& event) OnKeyEvent() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | transport_rdma.c | 1524 struct rdma_cm_event *event) in smb_direct_cm_handler() 1528 ksmbd_debug(RDMA, "RDMA CM event. cm_id=%p event=%s (%d)\n", in smb_direct_cm_handler() 1529 cm_id, rdma_event_msg(event->event), event->event); in smb_direct_cm_handler() 1531 switch (event->event) { in smb_direct_cm_handler() 1553 pr_err("Unexpected RDMA CM event in smb_direct_cm_handler() 1523 smb_direct_cm_handler(struct rdma_cm_id *cm_id, struct rdma_cm_event *event) smb_direct_cm_handler() argument 1561 smb_direct_qpair_handler(struct ib_event *event, void *context) smb_direct_qpair_handler() argument 2075 smb_direct_listen_handler(struct rdma_cm_id *cm_id, struct rdma_cm_event *event) smb_direct_listen_handler() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 467 const Unique<VkEvent> event (createEvent(vk, device)); in executeCommandBuffer() 471 vk.cmdSetEvent(commandBuffer, *event, stageMask); in executeCommandBuffer() 480 const VkResult result = vk.getEventStatus(device, *event); in executeCommandBuffer() 725 // create event that will be used to check if secondary command buffer has been executed in executePrimaryBufferTest() 726 const Unique<VkEvent> event (createEvent(vk, vkDevice)); in executePrimaryBufferTest() 728 // reset event in executePrimaryBufferTest() 729 VK_CHECK(vk.resetEvent(vkDevice, *event)); in executePrimaryBufferTest() 734 // allow execution of event during every stage of pipeline in executePrimaryBufferTest() 737 // record setting event in executePrimaryBufferTest() 738 vk.cmdSetEvent(*primCmdBuf, *event,stageMas in executePrimaryBufferTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 467 const Unique<VkEvent> event (createEvent(vk, device)); in executeCommandBuffer() 471 vk.cmdSetEvent(commandBuffer, *event, stageMask); in executeCommandBuffer() 480 const VkResult result = vk.getEventStatus(device, *event); in executeCommandBuffer() 725 // create event that will be used to check if secondary command buffer has been executed in executePrimaryBufferTest() 726 const Unique<VkEvent> event (createEvent(vk, vkDevice)); in executePrimaryBufferTest() 728 // reset event in executePrimaryBufferTest() 729 VK_CHECK(vk.resetEvent(vkDevice, *event)); in executePrimaryBufferTest() 734 // allow execution of event during every stage of pipeline in executePrimaryBufferTest() 737 // record setting event in executePrimaryBufferTest() 738 vk.cmdSetEvent(*primCmdBuf, *event,stageMas in executePrimaryBufferTest() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/stage/ |
H A D | stage_element.cpp | 26 void StartSharedController(WeakPtr<PipelineContext> contextWeak, TransitionEvent event, int32_t duration) in StartSharedController() argument 38 if (!sharedTransitionController->HasSharedTransition(event)) { in StartSharedController() 495 LOGE("no page element found, do not notify page transition event."); in PerformPushPage() 633 TransitionEvent event, const RRect& cardRRect) in InitTransition() 657 transition->SetTransition(deviceType, event, direction, cardRRect); in InitTransition() 658 transition->SetTransitionDirection(event, direction); in InitTransition() 660 transition->InitController(direction, event); in InitTransition() 665 const RefPtr<PageTransitionElement>& transitionOut, TransitionEvent event) in InitTransition() 673 if (!InitTransition(transitionIn, TransitionDirection::TRANSITION_IN, event, cardRRect)) { in InitTransition() 677 if (!InitTransition(transitionOut, TransitionDirection::TRANSITION_OUT, event, cardRRec in InitTransition() 632 InitTransition(const RefPtr<PageTransitionElement>& transition, TransitionDirection direction, TransitionEvent event, const RRect& cardRRect) InitTransition() argument 664 InitTransition(const RefPtr<PageTransitionElement>& transitionIn, const RefPtr<PageTransitionElement>& transitionOut, TransitionEvent event) InitTransition() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_ui_extension_pattern.cpp | 20 #include "core/event/key_event.h" 21 #include "core/event/pointer_event.h" 34 #include "core/components_ng/event/event_hub.h" 46 #include "core/event/ace_events.h" 47 #include "core/event/mouse_event.h" 48 #include "core/event/touch_event.h" 397 bool SecurityUIExtensionPattern::HandleKeyEvent(const KeyEvent& event) in HandleKeyEvent() argument 400 if (!(event.IsDirectionalKey() || event.IsKey({ KeyCode::KEY_TAB }) || event in HandleKeyEvent() [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-l2c.c | 169 void cvmx_l2c_config_perf(uint32_t counter, enum cvmx_l2c_event event, in cvmx_l2c_config_perf() argument 179 pfctl.s.cnt0sel = event; in cvmx_l2c_config_perf() 184 pfctl.s.cnt1sel = event; in cvmx_l2c_config_perf() 189 pfctl.s.cnt2sel = event; in cvmx_l2c_config_perf() 195 pfctl.s.cnt3sel = event; in cvmx_l2c_config_perf() 206 cvmx_dprintf("L2C performance counter events are different for this chip, mapping 'event' to cvmx_l2c_tad_event_t\n"); in cvmx_l2c_config_perf() 214 l2c_tadx_prf.s.cnt0sel = event; in cvmx_l2c_config_perf() 217 l2c_tadx_prf.s.cnt1sel = event; in cvmx_l2c_config_perf() 220 l2c_tadx_prf.s.cnt2sel = event; in cvmx_l2c_config_perf() 224 l2c_tadx_prf.s.cnt3sel = event; in cvmx_l2c_config_perf() [all...] |
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-l2c.c | 169 void cvmx_l2c_config_perf(uint32_t counter, enum cvmx_l2c_event event, in cvmx_l2c_config_perf() argument 179 pfctl.s.cnt0sel = event; in cvmx_l2c_config_perf() 184 pfctl.s.cnt1sel = event; in cvmx_l2c_config_perf() 189 pfctl.s.cnt2sel = event; in cvmx_l2c_config_perf() 195 pfctl.s.cnt3sel = event; in cvmx_l2c_config_perf() 206 cvmx_dprintf("L2C performance counter events are different for this chip, mapping 'event' to cvmx_l2c_tad_event_t\n"); in cvmx_l2c_config_perf() 214 l2c_tadx_prf.s.cnt0sel = event; in cvmx_l2c_config_perf() 217 l2c_tadx_prf.s.cnt1sel = event; in cvmx_l2c_config_perf() 220 l2c_tadx_prf.s.cnt2sel = event; in cvmx_l2c_config_perf() 224 l2c_tadx_prf.s.cnt3sel = event; in cvmx_l2c_config_perf() [all...] |
/kernel/linux/linux-5.10/drivers/ptp/ |
H A D | ptp_qoriq.c | 84 struct ptp_clock_event event; in extts_clean_up() local 104 event.type = PTP_CLOCK_EXTTS; in extts_clean_up() 105 event.index = index; in extts_clean_up() 116 event.timestamp = ((u64) hi) << 32; in extts_clean_up() 117 event.timestamp |= lo; in extts_clean_up() 118 ptp_clock_event(ptp_qoriq->clock, &event); in extts_clean_up() 137 struct ptp_clock_event event; in ptp_qoriq_isr() local 161 event.type = PTP_CLOCK_PPS; in ptp_qoriq_isr() 162 ptp_clock_event(ptp_qoriq->clock, &event); in ptp_qoriq_isr()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_init.c | 393 * by the lldd). So we post the event and once we are in the in sas_resume_ha() 590 struct asd_sas_event *event; in __sas_alloc_event() local 595 event = kmem_cache_zalloc(sas_event_cache, gfp_flags); in __sas_alloc_event() 596 if (!event) in __sas_alloc_event() 612 kmem_cache_free(sas_event_cache, event); in __sas_alloc_event() 614 event = NULL; in __sas_alloc_event() 618 return event; in __sas_alloc_event() 632 void sas_free_event(struct asd_sas_event *event) in sas_free_event() argument 634 struct asd_sas_phy *phy = event->phy; in sas_free_event() 636 kmem_cache_free(sas_event_cache, event); in sas_free_event() [all...] |
/kernel/linux/linux-6.6/drivers/ptp/ |
H A D | ptp_qoriq.c | 109 struct ptp_clock_event event; in extts_clean_up() local 129 event.type = PTP_CLOCK_EXTTS; in extts_clean_up() 130 event.index = index; in extts_clean_up() 141 event.timestamp = ((u64) hi) << 32; in extts_clean_up() 142 event.timestamp |= lo; in extts_clean_up() 143 ptp_clock_event(ptp_qoriq->clock, &event); in extts_clean_up() 162 struct ptp_clock_event event; in ptp_qoriq_isr() local 186 event.type = PTP_CLOCK_PPS; in ptp_qoriq_isr() 187 ptp_clock_event(ptp_qoriq->clock, &event); in ptp_qoriq_isr()
|
/kernel/linux/linux-6.6/drivers/counter/ |
H A D | counter-chrdev.c | 132 /* Free event node */ in counter_events_list_free() 146 /* Search for event in the list */ in counter_set_event_node() 148 if (event_node->event == watch->event && in counter_set_event_node() 152 /* If event is not already in the list */ in counter_set_event_node() 154 /* Allocate new event node */ in counter_set_event_node() 159 /* Configure event node and add to the list */ in counter_set_event_node() 160 event_node->event = watch->event; in counter_set_event_node() 182 /* Add component node to event nod in counter_set_event_node() 635 counter_push_event(struct counter_device *const counter, const u8 event, const u8 channel) counter_push_event() argument [all...] |
/kernel/liteos_m/kal/posix/src/ |
H A D | pipe.c | 335 STATIC VOID PipePollNotify(struct PipeDev *dev, PollEvent event) in PipePollNotify() argument 339 if (event & POLLERR) { in PipePollNotify() 340 event &= ~(POLLIN | POLLOUT); in PipePollNotify() 343 PollNotify(waitQueue, event); in PipePollNotify() 610 PollEvent event = 0; in PipePoll() local 642 event |= POLLOUT; in PipePoll() 646 event |= POLLIN; in PipePoll() 649 mask = event & table->event; in PipePoll()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_jack.c | 405 * @key_nid: key event is generated by this pin NID 436 * snd_hda_jack_set_button_state - report button event to the hda_jack_tbl button_state. 438 * @jack_nid: the button event reports to the jack_tbl of this NID 439 * @button_state: the button event captured by codec 441 * Codec driver calls this function to report the button event. 709 * snd_hda_jack_unsol_event - Handle an unsolicited event 711 * @res: the unsolicited event data 715 struct hda_jack_tbl *event; in snd_hda_jack_unsol_event() local 722 event = snd_hda_jack_tbl_get_from_tag(codec, tag, dev_entry); in snd_hda_jack_unsol_event() 724 event in snd_hda_jack_unsol_event() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_init.c | 419 * by the lldd). So we post the event and once we are in the in _sas_resume_ha() 447 /* send event PORTE_BROADCAST_RCVD to identify some new inserted in _sas_resume_ha() 641 struct asd_sas_event *event; in sas_alloc_event() local 646 event = kmem_cache_zalloc(sas_event_cache, gfp_flags); in sas_alloc_event() 647 if (!event) in sas_alloc_event() 663 kmem_cache_free(sas_event_cache, event); in sas_alloc_event() 665 event = NULL; in sas_alloc_event() 669 return event; in sas_alloc_event() 672 void sas_free_event(struct asd_sas_event *event) in sas_free_event() argument 674 struct asd_sas_phy *phy = event in sas_free_event() [all...] |
/test/ostest/wukong/report/src/ |
H A D | report.cpp | 53 struct inotify_event *event; in ListenCrashDir() local 73 event = static_cast<struct inotify_event *>(middleType); in ListenCrashDir() 74 if ((event->mask & IN_CLOSE_WRITE) && (event->len > 0)) { in ListenCrashDir() 75 DEBUG_LOG_STR("event->mask{%x}", event->mask); in ListenCrashDir() 76 std::string targetFile(event->name); in ListenCrashDir() 78 DEBUG_LOG_STR("%s --- IN_CLOSE_WRITE\n", event->name); in ListenCrashDir() 81 nread = nread + sizeof(struct inotify_event) + event->len; in ListenCrashDir() 82 len = len - sizeof(struct inotify_event) - event in ListenCrashDir() [all...] |
/third_party/python/Lib/ |
H A D | bdb.py | 63 def trace_dispatch(self, frame, event, arg): 64 """Dispatch a trace function for debugged frames based on the event. 69 dispatch a frame, depending on the type of event (passed in as a 72 The event can be one of the following: 85 The arg parameter depends on the previous event. 89 if event == 'line': 91 if event == 'call': 93 if event == 'return': 95 if event == 'exception': 97 if event [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_protection.c | 276 frw_event_stru *event = HI_NULL; in hmac_protection_info_sync_event() local 287 event = frw_get_event_stru(event_mem); in hmac_protection_info_sync_event() 288 event_hdr = &(event->event_hdr); in hmac_protection_info_sync_event() 289 h2d_prot = (mac_h2d_protection_stru *)event->auc_event_data; in hmac_protection_info_sync_event()
|