/kernel/linux/linux-4.19/include/linux/netfilter/ipset/ |
D | ip_set_counter.h | 14 ip_set_add_bytes(u64 bytes, struct ip_set_counter *counter) in ip_set_add_bytes() 20 ip_set_add_packets(u64 packets, struct ip_set_counter *counter) in ip_set_add_packets() 26 ip_set_get_bytes(const struct ip_set_counter *counter) in ip_set_get_bytes() 32 ip_set_get_packets(const struct ip_set_counter *counter) in ip_set_get_packets() 38 ip_set_match_counter(u64 counter, u64 match, u8 op) in ip_set_match_counter() 56 ip_set_update_counter(struct ip_set_counter *counter, in ip_set_update_counter() 67 ip_set_put_counter(struct sk_buff *skb, const struct ip_set_counter *counter) in ip_set_put_counter() 78 ip_set_init_counter(struct ip_set_counter *counter, in ip_set_init_counter()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | ni_tio.c | 149 void ni_tio_write(struct ni_gpct *counter, unsigned int value, in ni_tio_write() 162 unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register reg) in ni_tio_read() 170 static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter) in ni_tio_reset_count_and_disarm() 177 static int ni_tio_clock_period_ps(const struct ni_gpct *counter, in ni_tio_clock_period_ps() 221 static void ni_tio_set_bits_transient(struct ni_gpct *counter, in ni_tio_set_bits_transient() 252 void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg, in ni_tio_set_bits() 268 unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter, in ni_tio_get_soft_copy() 285 static unsigned int ni_tio_clock_src_modifiers(const struct ni_gpct *counter) in ni_tio_clock_src_modifiers() 303 static int ni_m_series_clock_src_select(const struct ni_gpct *counter, in ni_m_series_clock_src_select() 370 static int ni_660x_clock_src_select(const struct ni_gpct *counter, in ni_660x_clock_src_select() [all …]
|
D | ni_tiocmd.c | 38 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() 78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local 102 struct ni_gpct *counter = s->private; in ni_tio_input_cmd() local 153 struct ni_gpct *counter = s->private; in ni_tio_output_cmd() local 163 struct ni_gpct *counter = s->private; in ni_tio_cmd_setup() local 206 struct ni_gpct *counter = s->private; in ni_tio_cmd() local 237 struct ni_gpct *counter = s->private; in ni_tio_cmdtest() local 332 int ni_tio_cancel(struct ni_gpct *counter) in ni_tio_cancel() 350 static int should_ack_gate(struct ni_gpct *counter) in should_ack_gate() 384 static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, in ni_tio_acknowledge_and_confirm() [all …]
|
/kernel/linux/linux-4.19/drivers/staging/comedi/drivers/ |
D | ni_tiocmd.c | 37 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() 77 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local 101 struct ni_gpct *counter = s->private; in ni_tio_input_cmd() local 139 struct ni_gpct *counter = s->private; in ni_tio_output_cmd() local 149 struct ni_gpct *counter = s->private; in ni_tio_cmd_setup() local 174 struct ni_gpct *counter = s->private; in ni_tio_cmd() local 205 struct ni_gpct *counter = s->private; in ni_tio_cmdtest() local 274 int ni_tio_cancel(struct ni_gpct *counter) in ni_tio_cancel() 292 static int should_ack_gate(struct ni_gpct *counter) in should_ack_gate() 326 static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, in ni_tio_acknowledge_and_confirm() [all …]
|
D | ni_tio.c | 149 void ni_tio_write(struct ni_gpct *counter, unsigned int value, in ni_tio_write() 162 unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register reg) in ni_tio_read() 170 static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter) in ni_tio_reset_count_and_disarm() 177 static int ni_tio_clock_period_ps(const struct ni_gpct *counter, in ni_tio_clock_period_ps() 221 static void ni_tio_set_bits_transient(struct ni_gpct *counter, in ni_tio_set_bits_transient() 250 void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg, in ni_tio_set_bits() 266 unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter, in ni_tio_get_soft_copy() 282 static unsigned int ni_tio_clock_src_modifiers(const struct ni_gpct *counter) in ni_tio_clock_src_modifiers() 300 static int ni_m_series_clock_src_select(const struct ni_gpct *counter, in ni_m_series_clock_src_select() 366 static int ni_660x_clock_src_select(const struct ni_gpct *counter, in ni_660x_clock_src_select() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | counters.c | 71 struct rdma_counter *counter; in rdma_counter_alloc() local 116 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free() 135 static void auto_mode_init_counter(struct rdma_counter *counter, in auto_mode_init_counter() 148 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match() 164 static int __rdma_counter_bind_qp(struct rdma_counter *counter, in __rdma_counter_bind_qp() 184 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp() local 197 static void counter_history_stat_update(struct rdma_counter *counter) in counter_history_stat_update() 223 struct rdma_counter *counter = NULL; in rdma_get_counter_auto_mode() local 250 static void rdma_counter_res_add(struct rdma_counter *counter, in rdma_counter_res_add() 259 struct rdma_counter *counter; in counter_release() local [all …]
|
/kernel/linux/linux-4.19/arch/arm64/include/asm/ |
D | arm_dsu_pmu.h | 56 static inline void __dsu_pmu_select_counter(int counter) in __dsu_pmu_select_counter() 62 static inline u64 __dsu_pmu_read_counter(int counter) in __dsu_pmu_read_counter() 68 static inline void __dsu_pmu_write_counter(int counter, u64 val) in __dsu_pmu_write_counter() 75 static inline void __dsu_pmu_set_event(int counter, u32 event) in __dsu_pmu_set_event() 93 static inline void __dsu_pmu_disable_counter(int counter) in __dsu_pmu_disable_counter() 99 static inline void __dsu_pmu_enable_counter(int counter) in __dsu_pmu_enable_counter() 105 static inline void __dsu_pmu_counter_interrupt_enable(int counter) in __dsu_pmu_counter_interrupt_enable() 111 static inline void __dsu_pmu_counter_interrupt_disable(int counter) in __dsu_pmu_counter_interrupt_disable()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | arm_dsu_pmu.h | 53 static inline void __dsu_pmu_select_counter(int counter) in __dsu_pmu_select_counter() 59 static inline u64 __dsu_pmu_read_counter(int counter) in __dsu_pmu_read_counter() 65 static inline void __dsu_pmu_write_counter(int counter, u64 val) in __dsu_pmu_write_counter() 72 static inline void __dsu_pmu_set_event(int counter, u32 event) in __dsu_pmu_set_event() 90 static inline void __dsu_pmu_disable_counter(int counter) in __dsu_pmu_disable_counter() 96 static inline void __dsu_pmu_enable_counter(int counter) in __dsu_pmu_enable_counter() 102 static inline void __dsu_pmu_counter_interrupt_enable(int counter) in __dsu_pmu_counter_interrupt_enable() 108 static inline void __dsu_pmu_counter_interrupt_disable(int counter) in __dsu_pmu_counter_interrupt_disable()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | perfctr-watchdog.c | 109 int avail_to_resrv_perfctr_nmi_bit(unsigned int counter) in avail_to_resrv_perfctr_nmi_bit() 119 unsigned int counter; in reserve_perfctr_nmi() local 134 unsigned int counter; in release_perfctr_nmi() local 147 unsigned int counter; in reserve_evntsel_nmi() local 162 unsigned int counter; in release_evntsel_nmi() local
|
/kernel/linux/linux-4.19/arch/x86/kernel/cpu/ |
D | perfctr-watchdog.c | 99 int avail_to_resrv_perfctr_nmi_bit(unsigned int counter) in avail_to_resrv_perfctr_nmi_bit() 109 unsigned int counter; in reserve_perfctr_nmi() local 124 unsigned int counter; in release_perfctr_nmi() local 137 unsigned int counter; in reserve_evntsel_nmi() local 152 unsigned int counter; in release_evntsel_nmi() local
|
/kernel/linux/linux-4.19/mm/ |
D | page_counter.c | 55 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() 72 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() 99 bool page_counter_try_charge(struct page_counter *counter, in page_counter_try_charge() 155 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge() 173 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_max() 212 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_min() 229 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_low()
|
/kernel/linux/linux-5.10/mm/ |
D | page_counter.c | 50 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() 67 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() 94 bool page_counter_try_charge(struct page_counter *counter, in page_counter_try_charge() 151 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge() 169 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_max() 208 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_min() 225 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_low()
|
/kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 74 static void mlx5_fc_stats_insert(struct rb_root *root, struct mlx5_fc *counter) in mlx5_fc_stats_insert() 134 struct mlx5_fc *counter = rb_entry(node, struct mlx5_fc, node); in mlx5_fc_stats_query() local 165 struct mlx5_fc *counter = NULL; in mlx5_fc_stats_work() local 217 struct mlx5_fc *counter; in mlx5_fc_create() local 248 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter) in mlx5_fc_destroy() 287 struct mlx5_fc *counter; in mlx5_cleanup_fc_stats() local 317 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, in mlx5_fc_query() 324 u64 mlx5_fc_query_lastuse(struct mlx5_fc *counter) in mlx5_fc_query_lastuse() 329 void mlx5_fc_query_cached(struct mlx5_fc *counter, in mlx5_fc_query_cached()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 112 struct mlx5_fc *counter; in mlx5_fc_counters_lookup_next() local 128 struct mlx5_fc *counter) in mlx5_fc_stats_insert() 136 struct mlx5_fc *counter) in mlx5_fc_stats_remove() 177 struct mlx5_fc *counter = first; in mlx5_fc_stats_query_counter_range() local 212 static void mlx5_fc_free(struct mlx5_core_dev *dev, struct mlx5_fc *counter) in mlx5_fc_free() 218 static void mlx5_fc_release(struct mlx5_core_dev *dev, struct mlx5_fc *counter) in mlx5_fc_release() 238 struct mlx5_fc *counter = NULL, *last = NULL, *tmp; in mlx5_fc_stats_work() local 269 struct mlx5_fc *counter; in mlx5_fc_single_alloc() local 288 struct mlx5_fc *counter; in mlx5_fc_acquire() local 301 struct mlx5_fc *counter = mlx5_fc_acquire(dev, aging); in mlx5_fc_create() local [all …]
|
/kernel/linux/linux-5.10/drivers/counter/ |
D | stm32-timer-cnt.c | 31 struct counter_device counter; member 60 static int stm32_count_read(struct counter_device *counter, in stm32_count_read() 72 static int stm32_count_write(struct counter_device *counter, in stm32_count_write() 86 static int stm32_count_function_get(struct counter_device *counter, in stm32_count_function_get() 113 static int stm32_count_function_set(struct counter_device *counter, in stm32_count_function_set() 153 static ssize_t stm32_count_direction_read(struct counter_device *counter, in stm32_count_direction_read() 167 static ssize_t stm32_count_ceiling_read(struct counter_device *counter, in stm32_count_ceiling_read() 179 static ssize_t stm32_count_ceiling_write(struct counter_device *counter, in stm32_count_ceiling_write() 202 static ssize_t stm32_count_enable_read(struct counter_device *counter, in stm32_count_enable_read() 214 static ssize_t stm32_count_enable_write(struct counter_device *counter, in stm32_count_enable_write() [all …]
|
D | 104-quad-8.c | 48 struct counter_device counter; member 623 static int quad8_signal_read(struct counter_device *counter, in quad8_signal_read() 641 static int quad8_count_read(struct counter_device *counter, in quad8_count_read() 672 static int quad8_count_write(struct counter_device *counter, in quad8_count_write() 727 static int quad8_function_get(struct counter_device *counter, in quad8_function_get() 755 static int quad8_function_set(struct counter_device *counter, in quad8_function_set() 811 static void quad8_direction_get(struct counter_device *counter, in quad8_direction_get() 844 static int quad8_action_get(struct counter_device *counter, in quad8_action_get() 908 static int quad8_index_polarity_get(struct counter_device *counter, in quad8_index_polarity_get() 919 static int quad8_index_polarity_set(struct counter_device *counter, in quad8_index_polarity_set() [all …]
|
D | counter.c | 37 ssize_t counter_signal_enum_read(struct counter_device *counter, in counter_signal_enum_read() 59 ssize_t counter_signal_enum_write(struct counter_device *counter, in counter_signal_enum_write() 82 ssize_t counter_signal_enum_available_read(struct counter_device *counter, in counter_signal_enum_available_read() 100 ssize_t counter_count_enum_read(struct counter_device *counter, in counter_count_enum_read() 122 ssize_t counter_count_enum_write(struct counter_device *counter, in counter_count_enum_write() 145 ssize_t counter_count_enum_available_read(struct counter_device *counter, in counter_count_enum_available_read() 163 ssize_t counter_device_enum_read(struct counter_device *counter, void *priv, in counter_device_enum_read() 184 ssize_t counter_device_enum_write(struct counter_device *counter, void *priv, in counter_device_enum_write() 206 ssize_t counter_device_enum_available_read(struct counter_device *counter, in counter_device_enum_available_read() 300 struct counter_device *const counter = dev_get_drvdata(dev); in counter_signal_show() local [all …]
|
D | ti-eqep.c | 90 struct counter_device counter; member 95 static int ti_eqep_count_read(struct counter_device *counter, in ti_eqep_count_read() 107 static int ti_eqep_count_write(struct counter_device *counter, in ti_eqep_count_write() 120 static int ti_eqep_function_get(struct counter_device *counter, in ti_eqep_function_get() 132 static int ti_eqep_function_set(struct counter_device *counter, in ti_eqep_function_set() 141 static int ti_eqep_action_get(struct counter_device *counter, in ti_eqep_action_get() 208 static ssize_t ti_eqep_position_ceiling_read(struct counter_device *counter, in ti_eqep_position_ceiling_read() 220 static ssize_t ti_eqep_position_ceiling_write(struct counter_device *counter, in ti_eqep_position_ceiling_write() 238 static ssize_t ti_eqep_position_enable_read(struct counter_device *counter, in ti_eqep_position_enable_read() 250 static ssize_t ti_eqep_position_enable_write(struct counter_device *counter, in ti_eqep_position_enable_write()
|
D | ftm-quaddec.c | 28 struct counter_device counter; member 117 static int ftm_quaddec_get_prescaler(struct counter_device *counter, in ftm_quaddec_get_prescaler() 131 static int ftm_quaddec_set_prescaler(struct counter_device *counter, in ftm_quaddec_set_prescaler() 179 static int ftm_quaddec_count_read(struct counter_device *counter, in ftm_quaddec_count_read() 193 static int ftm_quaddec_count_write(struct counter_device *counter, in ftm_quaddec_count_write() 209 static int ftm_quaddec_count_function_get(struct counter_device *counter, in ftm_quaddec_count_function_get() 218 static int ftm_quaddec_action_get(struct counter_device *counter, in ftm_quaddec_action_get()
|
D | microchip-tcb-capture.c | 27 struct counter_device counter; member 83 static int mchp_tc_count_function_get(struct counter_device *counter, in mchp_tc_count_function_get() 97 static int mchp_tc_count_function_set(struct counter_device *counter, in mchp_tc_count_function_set() 156 static int mchp_tc_count_signal_read(struct counter_device *counter, in mchp_tc_count_signal_read() 176 static int mchp_tc_count_action_get(struct counter_device *counter, in mchp_tc_count_action_get() 204 static int mchp_tc_count_action_set(struct counter_device *counter, in mchp_tc_count_action_set() 236 static int mchp_tc_count_read(struct counter_device *counter, in mchp_tc_count_read()
|
D | stm32-lptimer-cnt.c | 22 struct counter_device counter; member 379 static int stm32_lptim_cnt_read(struct counter_device *counter, in stm32_lptim_cnt_read() 395 static int stm32_lptim_cnt_function_get(struct counter_device *counter, in stm32_lptim_cnt_function_get() 414 static int stm32_lptim_cnt_function_set(struct counter_device *counter, in stm32_lptim_cnt_function_set() 436 static ssize_t stm32_lptim_cnt_enable_read(struct counter_device *counter, in stm32_lptim_cnt_enable_read() 450 static ssize_t stm32_lptim_cnt_enable_write(struct counter_device *counter, in stm32_lptim_cnt_enable_write() 481 static ssize_t stm32_lptim_cnt_ceiling_read(struct counter_device *counter, in stm32_lptim_cnt_ceiling_read() 490 static ssize_t stm32_lptim_cnt_ceiling_write(struct counter_device *counter, in stm32_lptim_cnt_ceiling_write() 513 static int stm32_lptim_cnt_action_get(struct counter_device *counter, in stm32_lptim_cnt_action_get() 542 static int stm32_lptim_cnt_action_set(struct counter_device *counter, in stm32_lptim_cnt_action_set()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | stat-display.c | 372 static bool is_mixed_hw_group(struct evsel *counter) in is_mixed_hw_group() 397 struct evsel *counter, double uval, in printout() 501 struct evsel *counter; in aggr_update_shadow() local 520 static void uniquify_event_name(struct evsel *counter) in uniquify_event_name() 548 static void collect_all_aliases(struct perf_stat_config *config, struct evsel *counter, in collect_all_aliases() 570 static bool collect_data(struct perf_stat_config *config, struct evsel *counter, in collect_data() 593 struct evsel *counter, void *data, bool first) in aggr_cb() 624 struct evsel *counter, int s, in print_counter_aggrdata() 664 struct evsel *counter; in print_aggr() local 699 struct evsel *counter, in sort_aggr_thread() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | page_counter.h | 38 static inline void page_counter_init(struct page_counter *counter, in page_counter_init() 46 static inline unsigned long page_counter_read(struct page_counter *counter) in page_counter_read() 60 static inline void page_counter_set_high(struct page_counter *counter, in page_counter_set_high() 70 static inline void page_counter_reset_watermark(struct page_counter *counter) in page_counter_reset_watermark()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | timed_ctrl.c | 28 hrt_data counter, in timed_ctrl_snd_commnd() 49 hrt_data counter, in timed_ctrl_snd_sp_commnd() 65 hrt_data counter, in timed_ctrl_snd_gpio_commnd()
|
/kernel/linux/linux-4.19/tools/perf/ |
D | builtin-stat.c | 326 perf_evsel__write_stat_event(struct perf_evsel *counter, u32 cpu, u32 thread, in perf_evsel__write_stat_event() 339 static int read_counter(struct perf_evsel *counter) in read_counter() 397 struct perf_evsel *counter; in read_counters() local 512 static int __store_counter_ids(struct perf_evsel *counter) in __store_counter_ids() 530 static int store_counter_ids(struct perf_evsel *counter) in store_counter_ids() 541 static bool perf_evsel__should_store_id(struct perf_evsel *counter) in perf_evsel__should_store_id() 579 struct perf_evsel *counter; in __run_perf_stat() local 1101 static bool is_mixed_hw_group(struct perf_evsel *counter) in is_mixed_hw_group() 1125 static void printout(int id, int nr, struct perf_evsel *counter, double uval, in printout() 1230 struct perf_evsel *counter; in aggr_update_shadow() local [all …]
|