/linux/tools/perf/util/ |
H A D | event.c | 155 struct perf_record_stat_config *event) in perf_event__read_stat_config() 179 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() 191 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces() 218 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup() 225 union perf_event *event, in perf_event__process_comm() 233 union perf_event *event, in perf_event__process_namespaces() 241 union perf_event *event, in perf_event__process_cgroup() 249 union perf_event *event, in perf_event__process_lost() 257 union perf_event *event, in perf_event__process_aux() 265 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 …]
|
/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 …]
|
/linux/kernel/events/ |
H A D | core.c | 225 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() 261 struct perf_event *event; member 269 struct perf_event *event = efs->event; in event_function() local 312 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() 369 static void event_function_local(struct perf_event *event, event_f func, void *data) in event_function_local() 677 static inline u64 perf_event_clock(struct perf_event *event) in perf_event_clock() 705 __perf_effective_state(struct perf_event *event) in __perf_effective_state() 716 __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running) in __perf_update_times() 730 static void perf_event_update_time(struct perf_event *event) in perf_event_update_time() 748 perf_event_set_state(struct perf_event *event, enum perf_event_state state) in perf_event_set_state() [all …]
|
/linux/drivers/s390/net/ |
H A D | ctcm_fsms.c | 229 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg) in ctcm_action_nop() 246 static void chx_txdone(fsm_instance *fi, int event, void *arg) in chx_txdone() 334 void ctcm_chx_txidle(fsm_instance *fi, int event, void *arg) in ctcm_chx_txidle() 355 static void chx_rx(fsm_instance *fi, int event, void *arg) in chx_rx() 431 static void chx_firstio(fsm_instance *fi, int event, void *arg) in chx_firstio() 509 static void chx_rxidle(fsm_instance *fi, int event, void *arg) in chx_rxidle() 548 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg) in ctcm_chx_setmode() 588 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg) in ctcm_chx_start() 651 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg) in ctcm_chx_haltio() 739 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg) in ctcm_chx_stopped() [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 …]
|
H A D | arm_pmuv3.c | 331 static bool armv8pmu_event_is_64bit(struct perf_event *event) in armv8pmu_event_is_64bit() 336 static bool armv8pmu_event_want_user_access(struct perf_event *event) in armv8pmu_event_want_user_access() 494 static bool armv8pmu_event_has_user_read(struct perf_event *event) in armv8pmu_event_has_user_read() 504 static bool armv8pmu_event_is_chained(struct perf_event *event) in armv8pmu_event_is_chained() 545 static u64 armv8pmu_read_hw_counter(struct perf_event *event) in armv8pmu_read_hw_counter() 561 static bool armv8pmu_event_needs_bias(struct perf_event *event) in armv8pmu_event_needs_bias() 577 static u64 armv8pmu_bias_long_counter(struct perf_event *event, u64 value) in armv8pmu_bias_long_counter() 585 static u64 armv8pmu_unbias_long_counter(struct perf_event *event, u64 value) in armv8pmu_unbias_long_counter() 593 static u64 armv8pmu_read_counter(struct perf_event *event) in armv8pmu_read_counter() 614 static void armv8pmu_write_hw_counter(struct perf_event *event, in armv8pmu_write_hw_counter() [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/s390/kernel/ |
H A D | perf_pai_crypto.c | 38 struct perf_event *event; /* Perf event for sampling */ member 86 static void paicrypt_event_destroy_cpu(struct perf_event *event, int cpu) in paicrypt_event_destroy_cpu() 109 static void paicrypt_event_destroy(struct perf_event *event) in paicrypt_event_destroy() 136 static u64 paicrypt_getdata(struct perf_event *event, bool kernel) in paicrypt_getdata() 159 static u64 paicrypt_getall(struct perf_event *event) in paicrypt_getall() 178 static struct paicrypt_map *paicrypt_busy(struct perf_event *event, int cpu) in paicrypt_busy() 244 static int paicrypt_event_init_all(struct perf_event *event) in paicrypt_event_init_all() 279 static int paicrypt_event_init(struct perf_event *event) in paicrypt_event_init() 333 static void paicrypt_read(struct perf_event *event) in paicrypt_read() 345 static void paicrypt_start(struct perf_event *event, int flags) in paicrypt_start() [all …]
|
H A D | perf_pai_ext.c | 51 struct perf_event *event; /* Perf event for sampling */ member 119 static void paiext_event_destroy_cpu(struct perf_event *event, int cpu) in paiext_event_destroy_cpu() 131 static void paiext_event_destroy(struct perf_event *event) in paiext_event_destroy() 163 static int paiext_alloc_cpu(struct perf_event *event, int cpu) in paiext_alloc_cpu() 223 static int paiext_alloc(struct perf_event *event) in paiext_alloc() 259 static int paiext_event_valid(struct perf_event *event) in paiext_event_valid() 272 static int paiext_event_init(struct perf_event *event) in paiext_event_init() 329 static u64 paiext_getdata(struct perf_event *event) in paiext_getdata() 346 static u64 paiext_getall(struct perf_event *event) in paiext_getall() 351 static void paiext_read(struct perf_event *event) in paiext_read() [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/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() 2566 static void intel_pmu_disable_event(struct perf_event *event) in intel_pmu_disable_event() 2602 static void intel_pmu_assign_event(struct perf_event *event, int idx) in intel_pmu_assign_event() 2608 static __always_inline bool intel_pmu_needs_branch_stack(struct perf_event *event) in intel_pmu_needs_branch_stack() 2613 static void intel_pmu_del_event(struct perf_event *event) in intel_pmu_del_event() [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() 1071 struct trace_event *event) in print_event_fields() 1112 struct trace_event *event) in trace_nop_print() 1138 struct trace_event *event) in trace_fn_trace() 1160 struct trace_event *event) in trace_fn_raw() 1174 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 206 int hisi_uncore_pmu_event_init(struct perf_event *event) in hisi_uncore_pmu_event_init() 264 static void hisi_uncore_pmu_enable_event(struct perf_event *event) in hisi_uncore_pmu_enable_event() 282 static void hisi_uncore_pmu_disable_event(struct perf_event *event) in hisi_uncore_pmu_disable_event() 294 void hisi_uncore_pmu_set_event_period(struct perf_event *event) in hisi_uncore_pmu_set_event_period() 314 void hisi_uncore_pmu_event_update(struct perf_event *event) in hisi_uncore_pmu_event_update() 335 void hisi_uncore_pmu_start(struct perf_event *event, int flags) in hisi_uncore_pmu_start() 358 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 | 124 u64 x86_perf_event_update(struct perf_event *event) in x86_perf_event_update() 167 static int x86_pmu_extra_regs(u64 config, struct perf_event *event) in x86_pmu_extra_regs() 354 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy() 360 void hw_perf_lbr_event_destroy(struct perf_event *event) in hw_perf_lbr_event_destroy() 374 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) in set_ext_hw_attr() 488 int x86_setup_perfctr(struct perf_event *event) in x86_setup_perfctr() 533 static inline int precise_br_compat(struct perf_event *event) in precise_br_compat() 575 int x86_pmu_hw_config(struct perf_event *event) in x86_pmu_hw_config() 666 static int __x86_pmu_event_init(struct perf_event *event) in __x86_pmu_event_init() 764 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 …]
|