Home
last modified time | relevance | path

Searched refs:event (Results 426 - 450 of 9675) sorted by relevance

1...<<11121314151617181920>>...387

/third_party/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify05.c7 * Check that inotify overflow event is properly generated
11 * event is generated.
28 /* size of the event structure, not counting name */
77 struct inotify_event *event; in verify_inotify() local
79 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
80 if (event->mask != IN_ACCESS && in verify_inotify()
81 event->mask != IN_MODIFY && in verify_inotify()
82 event->mask != IN_OPEN && in verify_inotify()
83 event->mask != IN_Q_OVERFLOW) { in verify_inotify()
85 "get event in verify_inotify()
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dulpqueue.c60 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
63 event = sctp_skb2event(skb); in sctp_ulpq_flush()
64 sctp_ulpevent_free(event); in sctp_ulpq_flush()
68 event = sctp_skb2event(skb); in sctp_ulpq_flush()
69 sctp_ulpevent_free(event); in sctp_ulpq_flush()
73 event = sctp_skb2event(skb); in sctp_ulpq_flush()
74 sctp_ulpevent_free(event); in sctp_ulpq_flush()
89 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
92 /* Create an event from the incoming chunk. */ in sctp_ulpq_tail_data()
93 event in sctp_ulpq_tail_data()
149 struct sctp_ulpevent *event; sctp_clear_pd() local
186 struct sctp_ulpevent *event; sctp_ulpq_tail_event() local
273 sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_reasm() argument
325 struct sctp_ulpevent *event; sctp_make_reassembled_event() local
577 sctp_ulpq_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_reasm() argument
688 struct sctp_ulpevent *event; sctp_ulpq_reasm_flushtsn() local
718 struct sctp_ulpevent *event = NULL; sctp_ulpq_reasm_drain() local
745 sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_retrieve_ordered() argument
787 sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_ordered() argument
836 sctp_ulpq_order(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_order() argument
878 struct sctp_ulpevent *event; sctp_ulpq_reap_ordered() local
970 struct sctp_ulpevent *event; sctp_ulpq_renege_list() local
1028 struct sctp_ulpevent *event; sctp_ulpq_partial_delivery() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsynthetic-events.c5 #include "util/event.h"
51 union perf_event *event, in perf_tool__process_synth_event()
62 .cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK, in perf_tool__process_synth_event()
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
139 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, in perf_event__prepare_comm() argument
147 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
150 if (perf_event__get_comm_ids(pid, event->comm.comm, in perf_event__prepare_comm()
151 sizeof(event->comm.comm), in perf_event__prepare_comm()
162 event in perf_event__prepare_comm()
50 perf_tool__process_synth_event(struct perf_tool *tool, union perf_event *event, struct machine *machine, perf_event__handler_t process) perf_tool__process_synth_event() argument
176 perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_comm() argument
205 perf_event__synthesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_namespaces() argument
244 perf_event__synthesize_fork(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, pid_t ppid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_fork() argument
350 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
471 perf_event__synthesize_cgroup(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroup() argument
511 perf_event__walk_cgroup_tree(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__walk_cgroup_tree() argument
563 union perf_event event; perf_event__synthesize_cgroups() local
600 union perf_event *event = zalloc((sizeof(event->mmap) + perf_event__synthesize_modules() local
999 union perf_event *event; __perf_event__synthesize_kernel_mmap() local
1065 union perf_event *event; perf_event__synthesize_thread_map2() local
1194 struct perf_record_cpu_map *event; cpu_map_event__new() local
1215 struct perf_record_cpu_map *event; perf_event__synthesize_cpu_map() local
1233 struct perf_record_stat_config *event; perf_event__synthesize_stat_config() local
1272 struct perf_record_stat event; perf_event__synthesize_stat() local
1293 struct perf_record_stat_round event; perf_event__synthesize_stat_round() local
1421 perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format, const struct perf_sample *sample) perf_event__synthesize_sample() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dulpqueue.c57 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
60 event = sctp_skb2event(skb); in sctp_ulpq_flush()
61 sctp_ulpevent_free(event); in sctp_ulpq_flush()
65 event = sctp_skb2event(skb); in sctp_ulpq_flush()
66 sctp_ulpevent_free(event); in sctp_ulpq_flush()
70 event = sctp_skb2event(skb); in sctp_ulpq_flush()
71 sctp_ulpevent_free(event); in sctp_ulpq_flush()
86 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
89 /* Create an event from the incoming chunk. */ in sctp_ulpq_tail_data()
90 event in sctp_ulpq_tail_data()
146 struct sctp_ulpevent *event; sctp_clear_pd() local
183 struct sctp_ulpevent *event; sctp_ulpq_tail_event() local
267 sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_reasm() argument
319 struct sctp_ulpevent *event; sctp_make_reassembled_event() local
571 sctp_ulpq_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_reasm() argument
682 struct sctp_ulpevent *event; sctp_ulpq_reasm_flushtsn() local
712 struct sctp_ulpevent *event = NULL; sctp_ulpq_reasm_drain() local
739 sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_retrieve_ordered() argument
781 sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_ordered() argument
830 sctp_ulpq_order(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_order() argument
872 struct sctp_ulpevent *event; sctp_ulpq_reap_ordered() local
964 struct sctp_ulpevent *event; sctp_ulpq_renege_list() local
1022 struct sctp_ulpevent *event; sctp_ulpq_partial_delivery() local
[all...]
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_callback.cpp102 AudioRendererJsCallback *event = reinterpret_cast<AudioRendererJsCallback *>(data); in SafeJsCallbackInterruptWork() local
103 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackInterruptWork()
107 [event](AudioRendererJsCallback *ptr) { in SafeJsCallbackInterruptWork()
108 napi_release_threadsafe_function(event->arInterruptTsfn, napi_tsfn_abort); in SafeJsCallbackInterruptWork()
111 std::string request = event->callbackName; in SafeJsCallbackInterruptWork()
112 napi_ref callback = event->callback->cb_; in SafeJsCallbackInterruptWork()
125 NapiParamUtils::SetInterruptEvent(env, event->interruptEvent, args[0]); in SafeJsCallbackInterruptWork()
149 AudioRendererJsCallback *event = jsCb.release(); in OnJsCallbackInterrupt() local
150 CHECK_AND_RETURN_LOG((event ! in OnJsCallbackInterrupt()
163 AudioRendererJsCallback *event = reinterpret_cast<AudioRendererJsCallback *>(data); SafeJsCallbackStateChangeWork() local
211 AudioRendererJsCallback *event = jsCb.release(); OnJsCallbackStateChange() local
[all...]
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/
H A Dnapi_audio_capturer_callbacks.cpp87 AudioCapturerJsCallback *event = reinterpret_cast<AudioCapturerJsCallback *>(data); in SafeJsCallbackInterruptWork() local
88 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackInterruptWork()
92 [event](AudioCapturerJsCallback *ptr) { in SafeJsCallbackInterruptWork()
93 napi_release_threadsafe_function(event->acInterruptTsfn, napi_tsfn_abort); in SafeJsCallbackInterruptWork()
96 std::string request = event->callbackName; in SafeJsCallbackInterruptWork()
97 napi_ref callback = event->callback->cb_; in SafeJsCallbackInterruptWork()
108 NapiParamUtils::SetInterruptEvent(env, event->interruptEvent, args[PARAM0]); in SafeJsCallbackInterruptWork()
131 AudioCapturerJsCallback *event = jsCb.release(); in OnJsCallbackInterrupt() local
132 CHECK_AND_RETURN_LOG((event ! in OnJsCallbackInterrupt()
160 AudioCapturerJsCallback *event = reinterpret_cast<AudioCapturerJsCallback *>(data); SafeJsCallbackStateChangeWork() local
204 AudioCapturerJsCallback *event = jsCb.release(); OnJsCallbackStateChange() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_statemachine.cpp65 const PanMessage &event) in ProcessL2capConnectionEvent()
67 LOG_DEBUG("[PAN Machine]%{public}s():event[%{public}s]", __FUNCTION__, in ProcessL2capConnectionEvent()
68 PanStateMachine::GetEventName(event.what_).c_str()); in ProcessL2capConnectionEvent()
69 panBnep_.ProcessEvent(event); in ProcessL2capConnectionEvent()
100 PanMessage &event = (PanMessage &)msg; in Dispatch() local
102 __FUNCTION__, PanStateMachine::GetEventName(event.what_).c_str()); in Dispatch()
103 switch (event.what_) { in Dispatch()
105 stateMachine_.ProcessOpenEvent(event); in Dispatch()
130 PanMessage &event = (PanMessage &)msg; in Dispatch() local
132 PanStateMachine::GetEventName(event in Dispatch()
64 ProcessL2capConnectionEvent( const PanMessage &event) ProcessL2capConnectionEvent() argument
168 PanMessage &event = (PanMessage &)msg; Dispatch() local
204 PanMessage &event = (PanMessage &)msg; Dispatch() local
367 PanMessage event = deferMsgs_.front(); ProcessDeferredMessage() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Drfkill.c58 struct rfkill_event event; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
69 wpa_printf(MSG_DEBUG, "rfkill: Unexpected event size " in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d " in rfkill_receive()
79 event.idx, event.type, event in rfkill_receive()
106 struct rfkill_event event; rfkill_init() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Drfkill.c58 struct rfkill_event event; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
69 wpa_printf(MSG_DEBUG, "rfkill: Unexpected event size " in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d " in rfkill_receive()
79 event.idx, event.type, event in rfkill_receive()
106 struct rfkill_event event; rfkill_init() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_bhrb_cond_test.c9 #include "../event.h"
27 struct event event; in mmcra_bhrb_cond_test() local
37 /* Init the event for the sampling test */ in mmcra_bhrb_cond_test()
38 event_init_sampling(&event, EventCode); in mmcra_bhrb_cond_test()
39 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_cond_test()
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_cond_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_COND; in mmcra_bhrb_cond_test()
42 event.attr.exclude_kernel = 1; in mmcra_bhrb_cond_test()
44 FAIL_IF(event_open(&event)); in mmcra_bhrb_cond_test()
[all...]
H A Dmmcra_bhrb_ind_call_test.c9 #include "../event.h"
27 struct event event; in mmcra_bhrb_ind_call_test() local
37 /* Init the event for the sampling test */ in mmcra_bhrb_ind_call_test()
38 event_init_sampling(&event, EventCode); in mmcra_bhrb_ind_call_test()
39 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_ind_call_test()
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_ind_call_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_IND_CALL; in mmcra_bhrb_ind_call_test()
42 event.attr.exclude_kernel = 1; in mmcra_bhrb_ind_call_test()
44 FAIL_IF(event_open(&event)); in mmcra_bhrb_ind_call_test()
[all...]
H A Dmmcra_bhrb_any_test.c9 #include "../event.h"
27 struct event event; in mmcra_bhrb_any_test() local
33 /* Init the event for the sampling test */ in mmcra_bhrb_any_test()
34 event_init_sampling(&event, EventCode); in mmcra_bhrb_any_test()
35 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_any_test()
36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_any_test()
37 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_any_test()
38 event.attr.exclude_kernel = 1; in mmcra_bhrb_any_test()
40 FAIL_IF(event_open(&event)); in mmcra_bhrb_any_test()
[all...]
H A Dmmcra_bhrb_disable_test.c9 #include "../event.h"
24 struct event event; in mmcra_bhrb_disable_test() local
34 /* Init the event for the sampling test */ in mmcra_bhrb_disable_test()
35 event_init_sampling(&event, EventCode); in mmcra_bhrb_disable_test()
36 event.attr.sample_regs_intr = platform_extended_mask; in mmcra_bhrb_disable_test()
37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_disable_test()
38 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_disable_test()
39 event.attr.exclude_kernel = 1; in mmcra_bhrb_disable_test()
41 FAIL_IF(event_open(&event)); in mmcra_bhrb_disable_test()
[all...]
H A Dmmcr2_fcs_fch_test.c11 #include "../event.h"
36 struct event event; in mmcr2_fcs_fch() local
45 /* Init the event for the sampling test */ in mmcr2_fcs_fch()
46 event_init_sampling(&event, 0x1001e); in mmcr2_fcs_fch()
47 event.attr.sample_regs_intr = platform_extended_mask; in mmcr2_fcs_fch()
48 event.attr.exclude_kernel = 1; in mmcr2_fcs_fch()
49 FAIL_IF(event_open(&event)); in mmcr2_fcs_fch()
50 event.mmap_buffer = event_sample_buf_mmap(event in mmcr2_fcs_fch()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dperf_cpum_cf.c3 * Performance event support for s390x - CPU-measurement Counter Facility
19 static enum cpumf_ctr_set get_counter_set(u64 event) in get_counter_set() argument
23 if (event < 32) in get_counter_set()
25 else if (event < 64) in get_counter_set()
27 else if (event < 128) in get_counter_set()
29 else if (event < 288) in get_counter_set()
31 else if (event >= 448 && event < 496) in get_counter_set()
106 * PMUs that might suffice the event request. in validate_ctr_auth()
170 /* Release the PMU if event i
171 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
202 __hw_perf_event_init(struct perf_event *event, unsigned int type) __hw_perf_event_init() argument
303 cpumf_pmu_event_type(struct perf_event *event) cpumf_pmu_event_type() argument
315 cpumf_pmu_event_init(struct perf_event *event) cpumf_pmu_event_init() argument
334 hw_perf_event_reset(struct perf_event *event) hw_perf_event_reset() argument
357 hw_perf_event_update(struct perf_event *event) hw_perf_event_update() argument
374 cpumf_pmu_read(struct perf_event *event) cpumf_pmu_read() argument
382 cpumf_pmu_start(struct perf_event *event, int flags) cpumf_pmu_start() argument
413 cpumf_pmu_stop(struct perf_event *event, int flags) cpumf_pmu_stop() argument
434 cpumf_pmu_add(struct perf_event *event, int flags) cpumf_pmu_add() argument
458 cpumf_pmu_del(struct perf_event *event, int flags) cpumf_pmu_del() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgroup_constraint_pmc56_test.c7 #include "../event.h"
14 * PMC5/PMC6 shouldn't have other fields in event
20 struct event event; in group_constraint_pmc56() local
27 * set in event code is expected to fail. in group_constraint_pmc56()
29 event_init(&event, 0x2500fa); in group_constraint_pmc56()
30 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
32 event_init(&event, 0x2600f4); in group_constraint_pmc56()
33 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
40 event_init(&event, in group_constraint_pmc56()
[all...]
H A Dhw_cache_event_type_test.c9 #include "../event.h"
18 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ
19 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_MISS
24 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE
25 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS
30 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE
31 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS
36 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ
37 * Hardware cache event result type : Invalid ( > PERF_COUNT_HW_CACHE_RESULT_MAX)
46 struct event even in hw_cache_event_type_test() local
[all...]
H A Dgroup_constraint_thresh_cmp_test.c9 #include "../event.h"
16 * Threshold event selection used is issue to complete for cycles
34 struct event event, leader; in group_constraint_thresh_cmp() local
47 event_init(&event, p10_EventCode_2); in group_constraint_thresh_cmp()
49 /* Add the different thresh_cmp value from the leader event in config1 */ in group_constraint_thresh_cmp()
50 event.attr.config1 = 2000; in group_constraint_thresh_cmp()
52 /* Expected to fail as sibling and leader event request different thresh_cmp bits */ in group_constraint_thresh_cmp()
53 FAIL_IF(!event_open_with_group(&event, leader.fd)); in group_constraint_thresh_cmp()
55 event_close(&event); in group_constraint_thresh_cmp()
[all...]
/third_party/skia/third_party/externals/angle2/util/
H A DOSWindow.cpp260 static std::string KeyState(const Event::KeyEvent &event) in KeyState() argument
262 if (event.Shift || event.Control || event.Alt || event.System) in KeyState()
267 if (event.Shift) in KeyState()
271 if (event.Control) in KeyState()
275 if (event.Alt) in KeyState()
279 if (event.System) in KeyState()
290 static void PrintEvent(const Event &event) in PrintEvent() argument
392 popEvent(Event *event) popEvent() argument
406 pushEvent(Event event) pushEvent() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Dscene_viewer_touch_handler.cpp20 bool SceneViewerTouchHandler::HandleEvent(const TouchEvent& event) in HandleEvent() argument
23 eventCallback_(CreateSceneTouchEvent(event)); in HandleEvent()
26 switch (event.type) { in HandleEvent()
28 touches_[event.id] = event; in HandleEvent()
32 touches_.emplace(event.id, event); in HandleEvent()
36 touches_.erase(event.id); in HandleEvent()
40 touches_.erase(event.id); in HandleEvent()
51 bool SceneViewerTouchHandler::DispatchEvent(const TouchEvent& event) in DispatchEvent() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb_vs_cpu_event_test.c18 * Tests an EBB vs a cpu event - in that order. The EBB should force the cpu
19 * event off the PMU.
22 static int setup_cpu_event(struct event *event, int cpu) in setup_cpu_event() argument
24 event_init_named(event, 0x400FA, "PM_RUN_INST_CMPL"); in setup_cpu_event()
26 event->attr.exclude_kernel = 1; in setup_cpu_event()
27 event->attr.exclude_hv = 1; in setup_cpu_event()
28 event->attr.exclude_idle = 1; in setup_cpu_event()
31 FAIL_IF(event_open_with_cpu(event, cpu)); in setup_cpu_event()
32 FAIL_IF(event_enable(event)); in setup_cpu_event()
40 struct event event; ebb_vs_cpu_event() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb_vs_cpu_event_test.c18 * Tests an EBB vs a cpu event - in that order. The EBB should force the cpu
19 * event off the PMU.
22 static int setup_cpu_event(struct event *event, int cpu) in setup_cpu_event() argument
24 event_init_named(event, 0x400FA, "PM_RUN_INST_CMPL"); in setup_cpu_event()
26 event->attr.exclude_kernel = 1; in setup_cpu_event()
27 event->attr.exclude_hv = 1; in setup_cpu_event()
28 event->attr.exclude_idle = 1; in setup_cpu_event()
31 FAIL_IF(event_open_with_cpu(event, cpu)); in setup_cpu_event()
32 FAIL_IF(event_enable(event)); in setup_cpu_event()
40 struct event event; ebb_vs_cpu_event() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/service/src/
H A Dbus_center_event.c148 LNN_LOGD(LNN_EVENT, "offline exceted 5min, process networkId update event"); in HandleNetworkUpdateMessage()
283 static bool IsRepeatEventHandler(LnnEventType event, LnnEventHandler handler) in IsRepeatEventHandler() argument
287 LIST_FOR_EACH_ENTRY(item, &g_eventCtrl.handlers[event], LnnEventHandlerItem, node) { in IsRepeatEventHandler()
313 LNN_LOGE(LNN_EVENT, "lock failed in notify event"); in NotifyEvent()
316 uint32_t count = g_eventCtrl.regCnt[info->event]; in NotifyEvent()
323 LIST_FOR_EACH_ENTRY(item, &g_eventCtrl.handlers[info->event], LnnEventHandlerItem, node) { in NotifyEvent()
341 LNN_LOGI(LNN_EVENT, "exist device joining LNN, remove networkId update event"); in LnnNotifyDeviceVerified()
387 eventInfo.basic.event = LNN_EVENT_NODE_ONLINE_STATE_CHANGED; in LnnNotifyOnlineState()
399 LNN_LOGI(LNN_EVENT, "no online devices, post networkId update event"); in LnnNotifyOnlineState()
404 LNN_LOGI(LNN_EVENT, "online process, remove networkId update event"); in LnnNotifyOnlineState()
524 LnnMonitorWlanStateChangedEvent event = {.basic.event = LNN_EVENT_WIFI_STATE_CHANGED, LnnNotifyWlanStateChangeEvent() local
536 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_SCREEN_STATE_CHANGED, .status = state}; LnnNotifyScreenStateChangeEvent() local
548 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_BT_STATE_CHANGED, .status = (uint8_t)(*btState)}; LnnNotifyBtStateChangeEvent() local
555 LnnLaneVapChangeEvent event = {.basic.event = LNN_EVENT_LANE_VAP_CHANGE, .vapPreferChannel = preferChannel}; LnnNotifyVapInfoChangeEvent() local
565 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_SCREEN_LOCK_CHANGED, .status = state}; LnnNotifyScreenLockStateChangeEvent() local
575 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_ACCOUNT_CHANGED, LnnNotifyAccountStateChangeEvent() local
586 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_USER_SWITCHED, LnnNotifyUserSwitchEvent() local
599 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_DIF_ACCOUNT_DEV_CHANGED, LnnNotifyDifferentAccountChangeEvent() local
611 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_USER_STATE_CHANGED, .status = state}; LnnNotifyUserStateChangeEvent() local
623 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_NIGHT_MODE_CHANGED, LnnNotifyNightModeStateChangeEvent() local
632 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_HOME_GROUP_CHANGED, .status = (uint8_t)state}; LnnNotifyHomeGroupChangeEvent() local
643 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_OOBE_STATE_CHANGED, .status = state}; LnnNotifyOOBEStateChangeEvent() local
658 LnnMonitorBtAclStateChangedEvent event = {.basic.event = LNN_EVENT_BT_ACL_STATE_CHANGED, .status = state}; LnnNotifyBtAclStateChangeEvent() local
668 LnnMonitorAddressChangedEvent event = {.basic.event = LNN_EVENT_IP_ADDR_CHANGED, .ifName = {0}}; LnnNotifyAddressChangedEvent() local
681 LnnMasterNodeChangedEvent event = {.basic.event = LNN_EVENT_NODE_MASTER_STATE_CHANGED, LnnNotifyMasterNodeChanged() local
713 LnnEventBasicInfo event; LnnNotifyHBRepeat() local
725 LnnMonitorHbStateChangedEvent event = {.basic.event = LNN_EVENT_NETWORK_STATE_CHANGED, .status = state}; LnnNotifyNetworkStateChanged() local
744 LnnSingleNetworkOffLineEvent event = {.basic.event = LNN_EVENT_SINGLE_NETWORK_OFFLINE, .type = addr->type}; LnnNotifySingleOffLineEvent() local
759 LnnLpReportEvent event = {.basic.event = LNN_EVENT_LP_EVENT_REPORT, .type = type}; LnnNotifyLpReportEvent() local
809 LnnRegisterEventHandler(LnnEventType event, LnnEventHandler handler) LnnRegisterEventHandler() argument
838 LnnUnregisterEventHandler(LnnEventType event, LnnEventHandler handler) LnnUnregisterEventHandler() argument
[all...]
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c88 static u64 hisi_pcie_get_##_name(struct perf_event *event) \
90 return FIELD_GET(GENMASK(_hi, _lo), event->attr._config); \
93 HISI_PCIE_PMU_FILTER_ATTR(event, config, 16, 0);
174 * be treated as an independent event(index = 0x0010), "RX memory write packets
176 * bits are "real" event index, which can be used to set HISI_PCIE_EVENT_CTRL.
180 static u32 hisi_pcie_get_real_event(struct perf_event *event) in hisi_pcie_get_real_event() argument
182 return hisi_pcie_get_event(event) & GENMASK(15, 0); in hisi_pcie_get_real_event()
219 static void hisi_pcie_pmu_config_filter(struct perf_event *event) in hisi_pcie_pmu_config_filter() argument
221 struct hisi_pcie_pmu *pcie_pmu = to_pcie_pmu(event->pmu); in hisi_pcie_pmu_config_filter()
222 struct hw_perf_event *hwc = &event in hisi_pcie_pmu_config_filter()
262 hisi_pcie_pmu_clear_filter(struct perf_event *event) hisi_pcie_pmu_clear_filter() argument
291 hisi_pcie_pmu_valid_filter(struct perf_event *event, struct hisi_pcie_pmu *pcie_pmu) hisi_pcie_pmu_valid_filter() argument
310 hisi_pcie_pmu_cmp_event(struct perf_event *target, struct perf_event *event) hisi_pcie_pmu_cmp_event() argument
316 hisi_pcie_pmu_validate_event_group(struct perf_event *event) hisi_pcie_pmu_validate_event_group() argument
351 hisi_pcie_pmu_event_init(struct perf_event *event) hisi_pcie_pmu_event_init() argument
380 hisi_pcie_pmu_read_counter(struct perf_event *event) hisi_pcie_pmu_read_counter() argument
388 hisi_pcie_pmu_find_related_event(struct hisi_pcie_pmu *pcie_pmu, struct perf_event *event) hisi_pcie_pmu_find_related_event() argument
424 hisi_pcie_pmu_event_update(struct perf_event *event) hisi_pcie_pmu_event_update() argument
439 hisi_pcie_pmu_read(struct perf_event *event) hisi_pcie_pmu_read() argument
444 hisi_pcie_pmu_set_period(struct perf_event *event) hisi_pcie_pmu_set_period() argument
495 hisi_pcie_pmu_start(struct perf_event *event, int flags) hisi_pcie_pmu_start() argument
521 hisi_pcie_pmu_stop(struct perf_event *event, int flags) hisi_pcie_pmu_stop() argument
539 hisi_pcie_pmu_add(struct perf_event *event, int flags) hisi_pcie_pmu_add() argument
574 hisi_pcie_pmu_del(struct perf_event *event, int flags) hisi_pcie_pmu_del() argument
611 struct perf_event *event; hisi_pcie_pmu_irq() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability_lifecycle.cpp39 void LifeCycle::DispatchLifecycle(const LifeCycle::Event &event, const Want &want) in DispatchLifecycle() argument
41 TAG_LOGD(AAFwkTag::ABILITY, "event:%{public}d", event); in DispatchLifecycle()
42 if ((event != LifeCycle::Event::ON_FOREGROUND) && (event != LifeCycle::Event::ON_START)) { in DispatchLifecycle()
43 TAG_LOGE(AAFwkTag::ABILITY, "error,event:%{public}d", event); in DispatchLifecycle()
47 state_ = event; in DispatchLifecycle()
49 switch (event) { in DispatchLifecycle()
68 callback->OnStateChanged(event, wan in DispatchLifecycle()
73 DispatchLifecycle(const LifeCycle::Event &event) DispatchLifecycle() argument
[all...]

Completed in 12 milliseconds

1...<<11121314151617181920>>...387