| /linux/tools/perf/util/ |
| H A D | event.c | 156 struct perf_record_stat_config *event) in perf_event__read_stat_config() 180 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() 192 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces() 219 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup() 226 union perf_event *event, in perf_event__process_comm() 234 union perf_event *event, in perf_event__process_namespaces() 242 union perf_event *event, in perf_event__process_cgroup() 250 union perf_event *event, in perf_event__process_lost() 258 union perf_event *event, in perf_event__process_aux() 266 union perf_event *event, in perf_event__process_itrace_start() [all …]
|
| H A D | session.c | 129 struct ordered_event *event) in ordered_events__deliver_event() 268 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all() 277 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap() 284 static void perf_event__comm_swap(union perf_event *event, bool sample_id_all) in perf_event__comm_swap() 297 static void perf_event__mmap_swap(union perf_event *event, in perf_event__mmap_swap() 314 static void perf_event__mmap2_swap(union perf_event *event, in perf_event__mmap2_swap() 337 static void perf_event__task_swap(union perf_event *event, bool sample_id_all) in perf_event__task_swap() 349 static void perf_event__read_swap(union perf_event *event, bool sample_id_all) in perf_event__read_swap() 362 static void perf_event__aux_swap(union perf_event *event, bool sample_id_all) in perf_event__aux_swap() 372 static void perf_event__itrace_start_swap(union perf_event *event, in perf_event__itrace_start_swap() [all …]
|
| H A D | ordered-events.c | 65 union perf_event *event) in __dup_event() 79 union perf_event *event) in dup_event() 84 static void __free_dup_event(struct ordered_events *oe, union perf_event *event) in __free_dup_event() 92 static void free_dup_event(struct ordered_events *oe, union perf_event *event) in free_dup_event() 100 union perf_event *event) in alloc_event() 173 union perf_event *event) in ordered_events__new_event() 186 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event) in ordered_events__delete() 194 int ordered_events__queue(struct ordered_events *oe, union perf_event *event, in ordered_events__queue() 352 struct ordered_event *event; in ordered_events__first_time() local
|
| /linux/net/sctp/ |
| H A D | ulpevent.c | 38 static void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() 51 struct sctp_ulpevent *event; in sctp_ulpevent_new() local 68 int sctp_ulpevent_is_notification(const struct sctp_ulpevent *event) in sctp_ulpevent_is_notification() 76 static inline void sctp_ulpevent_set_owner(struct sctp_ulpevent *event, in sctp_ulpevent_set_owner() 95 static inline void sctp_ulpevent_release_owner(struct sctp_ulpevent *event) in sctp_ulpevent_release_owner() 119 struct sctp_ulpevent *event; in sctp_ulpevent_make_assoc_change() local 246 struct sctp_ulpevent *event; in sctp_ulpevent_make_peer_addr_change() local 344 struct sctp_ulpevent *event; in sctp_ulpevent_notify_peer_addr_change() local 379 struct sctp_ulpevent *event; in sctp_ulpevent_make_remote_error() local 434 struct sctp_ulpevent *event; in sctp_ulpevent_make_send_failed() local [all …]
|
| H A D | ulpqueue.c | 57 struct sctp_ulpevent *event; in sctp_ulpq_flush() local 86 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local 146 struct sctp_ulpevent *event; in sctp_clear_pd() local 183 struct sctp_ulpevent *event; in sctp_ulpq_tail_event() local 268 struct sctp_ulpevent *event) in sctp_ulpq_store_reasm() 319 struct sctp_ulpevent *event; in sctp_make_reassembled_event() local 572 struct sctp_ulpevent *event) in sctp_ulpq_reasm() 682 struct sctp_ulpevent *event; in sctp_ulpq_reasm_flushtsn() local 712 struct sctp_ulpevent *event = NULL; in sctp_ulpq_reasm_drain() local 740 struct sctp_ulpevent *event) in sctp_ulpq_retrieve_ordered() [all …]
|
| H A D | stream_interleave.c | 125 struct sctp_ulpevent *event) in sctp_intl_store_reasm() 182 struct sctp_ulpevent *event) in sctp_intl_retrieve_partial() 259 struct sctp_ulpevent *event) in sctp_intl_retrieve_reassembled() 349 struct sctp_ulpevent *event) in sctp_intl_reasm() 373 struct sctp_ulpevent *event) in sctp_intl_store_ordered() 418 struct sctp_ulpevent *event) in sctp_intl_retrieve_ordered() 449 struct sctp_ulpevent *event) in sctp_intl_order() 474 struct sctp_ulpevent *event; in sctp_enqueue_event() local 510 struct sctp_ulpevent *event) in sctp_intl_store_reasm_uo() 560 struct sctp_ulpevent *event) in sctp_intl_retrieve_partial_uo() [all …]
|
| /linux/kernel/events/ |
| H A D | core.c | 226 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() 262 struct perf_event *event; member 270 struct perf_event *event = efs->event; in event_function() local 313 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() 370 static void event_function_local(struct perf_event *event, event_f func, void *data) in event_function_local() 678 static inline u64 perf_event_clock(struct perf_event *event) in perf_event_clock() 706 __perf_effective_state(struct perf_event *event) in __perf_effective_state() 717 __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running) in __perf_update_times() 731 static void perf_event_update_time(struct perf_event *event) in perf_event_update_time() 749 perf_event_set_state(struct perf_event *event, enum perf_event_state state) in perf_event_set_state() [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_fsm.c | 155 enum vfio_ccw_event event) in fsm_notoper() 181 enum vfio_ccw_event event) in fsm_nop() 186 enum vfio_ccw_event event) in fsm_io_error() 193 enum vfio_ccw_event event) in fsm_io_busy() 199 enum vfio_ccw_event event) in fsm_io_retry() 205 enum vfio_ccw_event event) in fsm_async_error() 217 enum vfio_ccw_event event) in fsm_async_retry() 223 enum vfio_ccw_event event) in fsm_disabled_irq() 244 enum vfio_ccw_event event) in fsm_io_request() 332 enum vfio_ccw_event event) in fsm_async_request() [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/ |
| H A D | event.h | 15 struct event { struct 16 struct perf_event_attr attr; argument 32 void event_init(struct event *e, u64 config); argument
|
| /linux/drivers/perf/ |
| H A D | riscv_pmu.c | 21 static bool riscv_perf_user_access(struct perf_event *event) in riscv_perf_user_access() 30 void arch_perf_update_userpage(struct perf_event *event, in arch_perf_update_userpage() 145 u64 riscv_pmu_ctr_get_width_mask(struct perf_event *event) in riscv_pmu_ctr_get_width_mask() 160 u64 riscv_pmu_event_update(struct perf_event *event) in riscv_pmu_event_update() 187 void riscv_pmu_stop(struct perf_event *event, int flags) in riscv_pmu_stop() 202 int riscv_pmu_event_set_period(struct perf_event *event) in riscv_pmu_event_set_period() 240 void riscv_pmu_start(struct perf_event *event, int flags) in riscv_pmu_start() 257 static int riscv_pmu_add(struct perf_event *event, int flags) in riscv_pmu_add() 281 static void riscv_pmu_del(struct perf_event *event, int flags) in riscv_pmu_del() 299 static void riscv_pmu_read(struct perf_event *event) in riscv_pmu_read() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| H A D | layer2.c | 278 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() 714 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() 727 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() 742 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() 756 l2_go_st3(struct FsmInst *fi, int event, void *arg) in l2_go_st3() 763 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) in l2_mdl_assign() 773 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) in l2_queue_ui_assign() 784 l2_queue_ui(struct FsmInst *fi, int event, void *arg) in l2_queue_ui() 810 l2_send_ui(struct FsmInst *fi, int event, void *arg) in l2_send_ui() 820 l2_got_ui(struct FsmInst *fi, int event, void *arg) in l2_got_ui() [all …]
|
| H A D | layer1.c | 109 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() 115 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() 125 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() 135 l1_power_up_s(struct FsmInst *fi, int event, void *arg) in l1_power_up_s() 147 l1_go_F5(struct FsmInst *fi, int event, void *arg) in l1_go_F5() 153 l1_go_F8(struct FsmInst *fi, int event, void *arg) in l1_go_F8() 159 l1_info2_ind(struct FsmInst *fi, int event, void *arg) in l1_info2_ind() 168 l1_info4_ind(struct FsmInst *fi, int event, void *arg) in l1_info4_ind() 185 l1_timer3(struct FsmInst *fi, int event, void *arg) in l1_timer3() 202 l1_timer_act(struct FsmInst *fi, int event, void *arg) in l1_timer_act() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() 62 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_state() local 133 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_del() local 146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, in nvkm_event_ntfy_add() 164 nvkm_event_ntfy_valid(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy_valid() 170 nvkm_event_ntfy(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy() 192 nvkm_event_fini(struct nvkm_event *event) in nvkm_event_fini() 202 int types_nr, int index_nr, struct nvkm_event *event) in __nvkm_event_init()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 2330 struct perf_event *event = in __intel_pmu_enable_all() local 2410 struct perf_event *event; in intel_pmu_nhm_workaround() local 2515 static inline bool event_is_checkpointed(struct perf_event *event) in event_is_checkpointed() 2520 static inline void intel_set_masks(struct perf_event *event, int idx) in intel_set_masks() 2532 static inline void intel_clear_masks(struct perf_event *event, int idx) in intel_clear_masks() 2541 static void intel_pmu_disable_fixed(struct perf_event *event) in intel_pmu_disable_fixed() 2583 static void intel_pmu_disable_event_ext(struct perf_event *event) in intel_pmu_disable_event_ext() 2604 static void intel_pmu_disable_event(struct perf_event *event) in intel_pmu_disable_event() 2643 static void intel_pmu_assign_event(struct perf_event *event, int idx) in intel_pmu_assign_event() 2649 static __always_inline bool intel_pmu_needs_branch_stack(struct perf_event *event) in intel_pmu_needs_branch_stack() [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 59 static struct imc_pmu *imc_event_to_pmu(struct perf_event *event) in imc_event_to_pmu() 154 u32 base, struct imc_events *event) in imc_parse_event() 459 static void nest_imc_counters_release(struct perf_event *event) in nest_imc_counters_release() 511 static int nest_imc_event_init(struct perf_event *event) in nest_imc_event_init() 744 static void reset_global_refc(struct perf_event *event) in reset_global_refc() 761 static void core_imc_counters_release(struct perf_event *event) in core_imc_counters_release() 814 static int core_imc_event_init(struct perf_event *event) in core_imc_event_init() 980 static int thread_imc_event_init(struct perf_event *event) in thread_imc_event_init() 1026 static bool is_thread_imc_pmu(struct perf_event *event) in is_thread_imc_pmu() 1034 static __be64 *get_event_base_addr(struct perf_event *event) in get_event_base_addr() [all …]
|
| /linux/drivers/dma/idxd/ |
| H A D | perfmon.c | 50 static bool is_idxd_event(struct idxd_pmu *idxd_pmu, struct perf_event *event) in is_idxd_event() 59 struct perf_event *event; in perfmon_collect_events() local 94 struct perf_event *event, int idx) in perfmon_assign_hw_event() 105 struct perf_event *event) in perfmon_assign_event() 125 struct perf_event *event) in perfmon_validate_group() 168 static int perfmon_pmu_event_init(struct perf_event *event) in perfmon_pmu_event_init() 199 static inline u64 perfmon_pmu_read_counter(struct perf_event *event) in perfmon_pmu_read_counter() 210 static void perfmon_pmu_event_update(struct perf_event *event) in perfmon_pmu_event_update() 233 struct perf_event *event; in perfmon_counter_overflow() local 289 static void perfmon_pmu_event_start(struct perf_event *event, int mode) in perfmon_pmu_event_start() [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_ump_convert.c | 367 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi1_to_midi2() local 437 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi2_to_midi1() local 506 struct snd_seq_event *event, in cvt_ump_to_any() 585 struct snd_seq_event *event, in snd_seq_deliver_from_ump() 628 static int note_ev_to_ump_midi1(const struct snd_seq_event *event, in note_ev_to_ump_midi1() 643 static int cc_ev_to_ump_midi1(const struct snd_seq_event *event, in cc_ev_to_ump_midi1() 656 static int ctrl_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl_ev_to_ump_midi1() 668 static int pitchbend_ev_to_ump_midi1(const struct snd_seq_event *event, in pitchbend_ev_to_ump_midi1() 684 static int ctrl14_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl14_ev_to_ump_midi1() 705 static int rpn_ev_to_ump_midi1(const struct snd_seq_event *event, in rpn_ev_to_ump_midi1() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_output.c | 303 struct trace_event_call *event; in trace_raw_output_prep() local 789 struct trace_event *event; in ftrace_find_event() local 844 int register_trace_event(struct trace_event *event) in register_trace_event() 891 int __unregister_trace_event(struct trace_event *event) in __unregister_trace_event() 902 int unregister_trace_event(struct trace_event *event) in unregister_trace_event() 1094 struct trace_event *event) in print_event_fields() 1135 struct trace_event *event) in trace_nop_print() 1161 struct trace_event *event) in trace_fn_trace() 1183 struct trace_event *event) in trace_fn_raw() 1197 struct trace_event *event) in trace_fn_hex() [all …]
|
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_pmu.c | 97 static bool hisi_validate_event_group(struct perf_event *event) in hisi_validate_event_group() 130 int hisi_uncore_pmu_get_event_idx(struct perf_event *event) in hisi_uncore_pmu_get_event_idx() 155 struct perf_event *event; in hisi_uncore_pmu_isr() local 207 int hisi_uncore_pmu_event_init(struct perf_event *event) in hisi_uncore_pmu_event_init() 265 static void hisi_uncore_pmu_enable_event(struct perf_event *event) in hisi_uncore_pmu_enable_event() 283 static void hisi_uncore_pmu_disable_event(struct perf_event *event) in hisi_uncore_pmu_disable_event() 295 void hisi_uncore_pmu_set_event_period(struct perf_event *event) in hisi_uncore_pmu_set_event_period() 315 void hisi_uncore_pmu_event_update(struct perf_event *event) in hisi_uncore_pmu_event_update() 336 void hisi_uncore_pmu_start(struct perf_event *event, int flags) in hisi_uncore_pmu_start() 359 void hisi_uncore_pmu_stop(struct perf_event *event, int flags) in hisi_uncore_pmu_stop() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | perf_event.c | 63 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy() 100 static int __hw_perf_event_init(struct perf_event *event) in __hw_perf_event_init() 158 static void sh_perf_event_update(struct perf_event *event, in sh_perf_event_update() 199 static void sh_pmu_stop(struct perf_event *event, int flags) in sh_pmu_stop() 217 static void sh_pmu_start(struct perf_event *event, int flags) in sh_pmu_start() 234 static void sh_pmu_del(struct perf_event *event, int flags) in sh_pmu_del() 244 static int sh_pmu_add(struct perf_event *event, int flags) in sh_pmu_add() 275 static void sh_pmu_read(struct perf_event *event) in sh_pmu_read() 280 static int sh_pmu_event_init(struct perf_event *event) in sh_pmu_event_init()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify.h | 267 static inline void fanotify_init_event(struct fanotify_event *event, in fanotify_init_event() 292 FANOTIFY_FE(struct fanotify_event *event) in FANOTIFY_FE() 304 FANOTIFY_NE(struct fanotify_event *event) in FANOTIFY_NE() 320 FANOTIFY_EE(struct fanotify_event *event) in FANOTIFY_EE() 325 static inline __kernel_fsid_t *fanotify_event_fsid(struct fanotify_event *event) in fanotify_event_fsid() 338 struct fanotify_event *event) in fanotify_event_object_fh() 351 struct fanotify_event *event) in fanotify_event_info() 359 static inline int fanotify_event_object_fh_len(struct fanotify_event *event) in fanotify_event_object_fh_len() 370 static inline int fanotify_event_dir_fh_len(struct fanotify_event *event) in fanotify_event_dir_fh_len() 377 static inline int fanotify_event_dir2_fh_len(struct fanotify_event *event) in fanotify_event_dir2_fh_len() [all …]
|
| /linux/arch/x86/events/ |
| H A D | core.c | 125 u64 x86_perf_event_update(struct perf_event *event) in x86_perf_event_update() 168 static int x86_pmu_extra_regs(u64 config, struct perf_event *event) in x86_pmu_extra_regs() 355 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy() 361 void hw_perf_lbr_event_destroy(struct perf_event *event) in hw_perf_lbr_event_destroy() 375 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) in set_ext_hw_attr() 489 int x86_setup_perfctr(struct perf_event *event) in x86_setup_perfctr() 534 static inline int precise_br_compat(struct perf_event *event) in precise_br_compat() 585 int x86_pmu_hw_config(struct perf_event *event) in x86_pmu_hw_config() 676 static int __x86_pmu_event_init(struct perf_event *event) in __x86_pmu_event_init() 774 int is_x86_event(struct perf_event *event) in is_x86_event() [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_fcs.c | 205 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_uninit() 231 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_created() 279 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_linkdown() 325 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_flogi() 386 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_flogi_retry() 418 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_auth() 458 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_auth_failed() 484 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_loopback() 510 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_nofabric() 546 enum bfa_fcs_fabric_event event) in bfa_fcs_fabric_sm_online() [all …]
|
| /linux/drivers/iommu/intel/ |
| H A D | perfmon.c | 226 static inline struct iommu_pmu *iommu_event_to_pmu(struct perf_event *event) in iommu_event_to_pmu() 231 static inline u64 iommu_event_config(struct perf_event *event) in iommu_event_config() 241 struct perf_event *event) in is_iommu_pmu_event() 246 static int iommu_pmu_validate_event(struct perf_event *event) in iommu_pmu_validate_event() 257 static int iommu_pmu_validate_group(struct perf_event *event) in iommu_pmu_validate_group() 279 static int iommu_pmu_event_init(struct perf_event *event) in iommu_pmu_event_init() 301 static void iommu_pmu_event_update(struct perf_event *event) in iommu_pmu_event_update() 324 static void iommu_pmu_start(struct perf_event *event, int flags) in iommu_pmu_start() 361 static void iommu_pmu_stop(struct perf_event *event, int flags) in iommu_pmu_stop() 378 int idx, struct perf_event *event) in iommu_pmu_validate_per_cntr_event() [all …]
|
| /linux/scripts/dtc/ |
| H A D | yamltree.c | 24 #define yaml_emitter_emit_or_die(emitter, event) ( \ argument 35 yaml_event_t event; in yaml_propval_int() local 98 yaml_event_t event; in yaml_propval_string() local 115 yaml_event_t event; in yaml_propval() local 182 yaml_event_t event; in yaml_tree() local 210 yaml_event_t event; in dt_to_yaml() local
|