Home
last modified time | relevance | path

Searched refs:event_idx (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dhv-24x7.c707 size_t event_idx, in catalog_event_len_validate()
718 if (event_idx >= event_entry_count) { in catalog_event_len_validate()
726 event_idx); in catalog_event_len_validate()
734 event_idx, ev_len, event); in catalog_event_len_validate()
739 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
747 event_idx, event_data_bytes, event, end, in catalog_event_len_validate()
754 event_idx, event, ev_end, offset, calc_ev_end); in catalog_event_len_validate()
770 event_data_bytes, junk_events, event_idx, event_attr_ct, i, in create_events_from_catalog() local
875 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
877 event_idx in create_events_from_catalog()
706 catalog_event_len_validate(struct hv_24x7_event_data *event, size_t event_idx, size_t event_data_bytes, size_t event_entry_count, size_t offset, void *end) catalog_event_len_validate() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Dhv-24x7.c700 size_t event_idx, in catalog_event_len_validate()
711 if (event_idx >= event_entry_count) { in catalog_event_len_validate()
719 event_idx); in catalog_event_len_validate()
727 event_idx, ev_len, event); in catalog_event_len_validate()
732 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
740 event_idx, event_data_bytes, event, end, in catalog_event_len_validate()
747 event_idx, event, ev_end, offset, calc_ev_end); in catalog_event_len_validate()
771 event_data_bytes, junk_events, event_idx, event_attr_ct, i, in create_events_from_catalog() local
876 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
878 event_idx in create_events_from_catalog()
699 catalog_event_len_validate(struct hv_24x7_event_data *event, size_t event_idx, size_t event_data_bytes, size_t event_entry_count, size_t offset, void *end) catalog_event_len_validate() argument
[all...]
/kernel/linux/linux-6.6/arch/riscv/kvm/
H A Dvcpu_pmu.c210 fevent_code = get_event_code(pmc->event_idx); in pmu_ctr_read()
361 fevent_code = get_event_code(pmc->event_idx); in kvm_riscv_vcpu_pmu_ctr_start()
416 fevent_code = get_event_code(pmc->event_idx); in kvm_riscv_vcpu_pmu_ctr_stop()
445 pmc->event_idx = SBI_PMU_EVENT_IDX_INVALID; in kvm_riscv_vcpu_pmu_ctr_stop()
525 pmc->event_idx = eidx; in kvm_riscv_vcpu_pmu_ctr_cfg_match()
587 pmc->event_idx = SBI_PMU_EVENT_IDX_INVALID; in kvm_riscv_vcpu_pmu_init()
624 pmc->event_idx = SBI_PMU_EVENT_IDX_INVALID; in kvm_riscv_vcpu_pmu_deinit()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dvirtio_ring.h72 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
75 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dvirtio_ring.h213 /* Assuming a given event_idx value from the other side, if
216 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
220 * corresponding to event_idx + 1 and new_idx respectively. in vring_need_event()
223 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_ring.h219 /* Assuming a given event_idx value from the other side, if
222 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
226 * corresponding to event_idx + 1 and new_idx respectively. in vring_need_event()
229 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/kernel/linux/linux-6.6/drivers/perf/
H A Dcxl_pmu.c89 int event_idx; /* configurable counters */ member
203 pmu_ev->event_idx = j; in cxl_pmu_parse_caps()
526 int *event_idx) in cxl_pmu_get_event_idx()
743 int event_idx = 0; in cxl_pmu_event_add() local
747 rc = cxl_pmu_get_event_idx(event, &idx, &event_idx); in cxl_pmu_event_add()
754 hwc->event_base = event_idx; in cxl_pmu_event_add()
525 cxl_pmu_get_event_idx(struct perf_event *event, int *counter_idx, int *event_idx) cxl_pmu_get_event_idx() argument
H A Dmarvell_cn10k_tad_pmu.c83 u32 event_idx = event->attr.config; in tad_pmu_event_counter_start() local
99 reg_val = event_idx & 0xFF; in tad_pmu_event_counter_start()
H A Driscv_pmu_sbi.c85 uint32_t event_idx; member
429 ret = pmu_cache_event_map[cache_type][cache_op][cache_result].event_idx; in pmu_event_find_cache()
457 ret = pmu_hw_event_map[event->attr.config].event_idx; in pmu_sbi_event_map()
H A Driscv_pmu.c412 .event_idx = riscv_pmu_event_idx, in riscv_pmu_alloc()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dkvm_vcpu_pmu.h38 unsigned long event_idx; member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dgdth_ioctl.h171 u16 event_idx; member
/kernel/linux/linux-6.6/include/net/
H A Damt.h369 u8 event_idx; member
H A Dcfg80211.h7523 * @event_idx: index of the vendor event in the wiphy's vendor_events
7542 int approxlen, int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc()
7546 0, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc()
7553 * @event_idx: index of the vendor event in the wiphy's vendor_events
7577 int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc_ucast()
7581 portid, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc_ucast()
7541 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, int approxlen, int event_idx, gfp_t gfp) cfg80211_vendor_event_alloc() argument
7574 cfg80211_vendor_event_alloc_ucast(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int portid, int approxlen, int event_idx, gfp_t gfp) cfg80211_vendor_event_alloc_ucast() argument
/kernel/linux/linux-6.6/drivers/net/
H A Damt.c904 index = (amt->event_idx + amt->nr_events) % AMT_MAX_EVENTS; in amt_queue_event()
908 amt->event_idx %= AMT_MAX_EVENTS; in amt_queue_event()
2877 event = amt->events[amt->event_idx].event; in amt_event_work()
2878 skb = amt->events[amt->event_idx].skb; in amt_event_work()
2879 amt->events[amt->event_idx].event = AMT_EVENT_NONE; in amt_event_work()
2880 amt->events[amt->event_idx].skb = NULL; in amt_event_work()
2882 amt->event_idx++; in amt_event_work()
2883 amt->event_idx %= AMT_MAX_EVENTS; in amt_event_work()
2990 amt->event_idx = 0; in amt_dev_open()
/kernel/linux/linux-5.10/drivers/virtio/
H A Dvirtio_ring.c1245 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1281 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed()
1283 event_idx -= vq->packed.vring.num; in virtqueue_kick_prepare_packed()
1285 needs_kick = vring_need_event(event_idx, new, old); in virtqueue_kick_prepare_packed()
/kernel/linux/linux-5.10/include/net/
H A Dcfg80211.h6613 * @event_idx: index of the vendor event in the wiphy's vendor_events
6632 int approxlen, int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc()
6636 0, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc()
6643 * @event_idx: index of the vendor event in the wiphy's vendor_events
6667 int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc_ucast()
6671 portid, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc_ucast()
6631 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, int approxlen, int event_idx, gfp_t gfp) cfg80211_vendor_event_alloc() argument
6664 cfg80211_vendor_event_alloc_ucast(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int portid, int approxlen, int event_idx, gfp_t gfp) cfg80211_vendor_event_alloc_ucast() argument
/kernel/linux/linux-6.6/drivers/virtio/
H A Dvirtio_ring.c1556 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1592 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed()
1594 event_idx -= vq->packed.vring.num; in virtqueue_kick_prepare_packed()
1596 needs_kick = vring_need_event(event_idx, new, old); in virtqueue_kick_prepare_packed()
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dp4.c731 static bool p4_event_match_cpu_model(unsigned int event_idx) in p4_event_match_cpu_model() argument
734 if (event_idx == P4_EVENT_INSTR_COMPLETED) { in p4_event_match_cpu_model()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dp4.c731 static bool p4_event_match_cpu_model(unsigned int event_idx) in p4_event_match_cpu_model() argument
734 if (event_idx == P4_EVENT_INSTR_COMPLETED) { in p4_event_match_cpu_model()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dpci.c331 static inline int nvme_dbbuf_need_event(u16 event_idx, u16 new_idx, u16 old) in nvme_dbbuf_need_event() argument
333 return (u16)(new_idx - event_idx - 1) < (u16)(new_idx - old); in nvme_dbbuf_need_event()
341 u16 old_value, event_idx; in nvme_dbbuf_update_and_check_event() local
360 event_idx = le32_to_cpu(*dbbuf_ei); in nvme_dbbuf_update_and_check_event()
361 if (!nvme_dbbuf_need_event(event_idx, value, old_value)) in nvme_dbbuf_update_and_check_event()
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dpci.c346 static inline int nvme_dbbuf_need_event(u16 event_idx, u16 new_idx, u16 old) in nvme_dbbuf_need_event() argument
348 return (u16)(new_idx - event_idx - 1) < (u16)(new_idx - old); in nvme_dbbuf_need_event()
356 u16 old_value, event_idx; in nvme_dbbuf_update_and_check_event() local
375 event_idx = le32_to_cpu(*dbbuf_ei); in nvme_dbbuf_update_and_check_event()
376 if (!nvme_dbbuf_need_event(event_idx, value, old_value)) in nvme_dbbuf_update_and_check_event()
/kernel/linux/linux-5.10/include/linux/
H A Dperf_event.h424 int (*event_idx) (struct perf_event *event); /*optional */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_pmu.c1139 pmu->base.event_idx = i915_pmu_event_event_idx; in i915_pmu_register()
/kernel/linux/linux-6.6/include/linux/
H A Dperf_event.h450 int (*event_idx) (struct perf_event *event); /*optional */ member

Completed in 70 milliseconds

12