Home
last modified time | relevance | path

Searched full:counter (Results 1 – 25 of 3303) sorted by relevance

12345678910>>...133

/linux-5.10/tools/testing/selftests/netfilter/
Dnft_meta.sh30 counter iifcount {}
31 counter iifnamecount {}
32 counter iifgroupcount {}
33 counter iiftypecount {}
34 counter infproto4count {}
35 counter il4protocounter {}
36 counter imarkcounter {}
37 counter icpu0counter {}
38 counter ilastyearcounter {}
39 counter icurrentyearcounter {}
[all …]
/linux-5.10/drivers/infiniband/core/
Dcounters.c31 * into manual mode if there's any counter, so that the user is able to
71 struct rdma_counter *counter; in rdma_counter_alloc() local
77 counter = kzalloc(sizeof(*counter), GFP_KERNEL); in rdma_counter_alloc()
78 if (!counter) in rdma_counter_alloc()
81 counter->device = dev; in rdma_counter_alloc()
82 counter->port = port; in rdma_counter_alloc()
84 rdma_restrack_new(&counter->res, RDMA_RESTRACK_COUNTER); in rdma_counter_alloc()
85 counter->stats = dev->ops.counter_alloc_stats(counter); in rdma_counter_alloc()
86 if (!counter->stats) in rdma_counter_alloc()
101 counter->mode.mode = mode; in rdma_counter_alloc()
[all …]
/linux-5.10/drivers/staging/comedi/drivers/
Dni_tio.c22 * originally based on the counter code from ni_660x.c and
145 * @counter: struct ni_gpct counter.
149 void ni_tio_write(struct ni_gpct *counter, unsigned int value, in ni_tio_write() argument
153 counter->counter_dev->write(counter, value, reg); in ni_tio_write()
159 * @counter: struct ni_gpct counter.
162 unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register reg) in ni_tio_read() argument
165 return counter->counter_dev->read(counter, 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() argument
172 unsigned int cidx = counter->counter_index; in ni_tio_reset_count_and_disarm()
174 ni_tio_write(counter, GI_RESET(cidx), NITIO_RESET_REG(cidx)); in ni_tio_reset_count_and_disarm()
[all …]
Dni_tiocmd.c38 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() argument
41 struct ni_gpct_device *counter_dev = counter->counter_dev; in ni_tio_configure_dma()
42 unsigned int cidx = counter->counter_index; in ni_tio_configure_dma()
55 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(cidx), mask, bits); in ni_tio_configure_dma()
69 ni_tio_set_bits(counter, NITIO_DMA_CFG_REG(cidx), mask, bits); in ni_tio_configure_dma()
78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
86 spin_lock_irqsave(&counter->lock, flags); in ni_tio_input_inttrig()
87 if (counter->mite_chan) in ni_tio_input_inttrig()
88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig()
91 spin_unlock_irqrestore(&counter->lock, flags); in ni_tio_input_inttrig()
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/westmereex/
Dpipeline.json4 "Counter": "0,1,2,3", string
13 "Counter": "0,1,2,3", string
23 "Counter": "0,1,2,3", string
31 "Counter": "0,1,2,3", string
39 "Counter": "0,1,2,3", string
47 "Counter": "0,1,2,3", string
55 "Counter": "0,1,2,3", string
63 "Counter": "0,1,2,3", string
71 "Counter": "0,1,2,3", string
79 "Counter": "0,1,2,3", string
[all …]
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
Dmemory.json4 "Counter": "0,1,2,3", string
13 "Counter": "2", string
24 "Counter": "2", string
35 "Counter": "2", string
46 "Counter": "2", string
57 "Counter": "2", string
68 "Counter": "2", string
79 "Counter": "2", string
90 "Counter": "2", string
101 "Counter": "2", string
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/westmereep-sp/
Dpipeline.json4 "Counter": "0,1,2,3", string
13 "Counter": "0,1,2,3", string
23 "Counter": "0,1,2,3", string
31 "Counter": "0,1,2,3", string
39 "Counter": "0,1,2,3", string
47 "Counter": "0,1,2,3", string
55 "Counter": "0,1,2,3", string
63 "Counter": "0,1,2,3", string
71 "Counter": "0,1,2,3", string
79 "Counter": "0,1,2,3", string
[all …]
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/westmereep-dp/
Dpipeline.json4 "Counter": "0,1,2,3", string
13 "Counter": "0,1,2,3", string
23 "Counter": "0,1,2,3", string
31 "Counter": "0,1,2,3", string
39 "Counter": "0,1,2,3", string
47 "Counter": "0,1,2,3", string
55 "Counter": "0,1,2,3", string
63 "Counter": "0,1,2,3", string
71 "Counter": "0,1,2,3", string
79 "Counter": "0,1,2,3", string
[all …]
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/nehalemex/
Dpipeline.json4 "Counter": "0,1,2,3", string
13 "Counter": "0,1,2,3", string
23 "Counter": "0,1,2,3", string
31 "Counter": "0,1,2,3", string
39 "Counter": "0,1,2,3", string
47 "Counter": "0,1,2,3", string
55 "Counter": "0,1,2,3", string
63 "Counter": "0,1,2,3", string
71 "Counter": "0,1,2,3", string
79 "Counter": "0,1,2,3", string
[all …]
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
Dmemory.json5 "Counter": "2", string
16 "Counter": "2", string
27 "Counter": "2", string
38 "Counter": "2", string
49 "Counter": "2", string
60 "Counter": "2", string
71 "Counter": "2", string
82 "Counter": "2", string
93 "Counter": "2", string
104 "Counter": "2", string
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/nehalemep/
Dpipeline.json4 "Counter": "0,1,2,3", string
13 "Counter": "0,1,2,3", string
23 "Counter": "0,1,2,3", string
31 "Counter": "0,1,2,3", string
39 "Counter": "0,1,2,3", string
47 "Counter": "0,1,2,3", string
55 "Counter": "0,1,2,3", string
63 "Counter": "0,1,2,3", string
71 "Counter": "0,1,2,3", string
79 "Counter": "0,1,2,3", string
[all …]
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/bonnell/
Dcache.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
Dother.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
Dpipeline.json4 "Counter": "0,1", string
12 "Counter": "0,1", string
20 "Counter": "0,1", string
28 "Counter": "0,1", string
36 "Counter": "0,1", string
44 "Counter": "0,1", string
52 "Counter": "0,1", string
60 "Counter": "0,1", string
68 "Counter": "0,1", string
76 "Counter": "0,1", string
[all …]
/linux-5.10/mm/
Dpage_counter.c46 * page_counter_cancel - take pages out of the local counter
47 * @counter: counter
50 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() argument
54 new = atomic_long_sub_return(nr_pages, &counter->usage); in page_counter_cancel()
55 propagate_protected_usage(counter, new); in page_counter_cancel()
62 * @counter: counter
65 * NOTE: This does not consider any configured counter limits.
67 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() argument
71 for (c = counter; c; c = c->parent) { in page_counter_charge()
87 * @counter: counter
[all …]
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c81 * dump (access to struct mlx5_fc) after a counter is destroyed.
83 * access to counter list:
92 * - add a counter to lockless dellist
112 struct mlx5_fc *counter; in mlx5_fc_counters_lookup_next() local
118 counter, tmp, next_id) { in mlx5_fc_counters_lookup_next()
119 if (!list_empty(&counter->list)) in mlx5_fc_counters_lookup_next()
124 return counter ? &counter->list : &fc_stats->counters; in mlx5_fc_counters_lookup_next()
128 struct mlx5_fc *counter) in mlx5_fc_stats_insert() argument
130 struct list_head *next = mlx5_fc_counters_lookup_next(dev, counter->id); in mlx5_fc_stats_insert()
132 list_add_tail(&counter->list, next); in mlx5_fc_stats_insert()
[all …]
/linux-5.10/Documentation/driver-api/
Dgeneric-counter.rst4 Generic Counter Interface
10 Counter devices are prevalent among a diverse spectrum of industries.
13 resolve the issue of duplicate code found among existing counter device
14 drivers by introducing a generic counter interface for consumption. The
15 Generic Counter interface enables drivers to support and expose a common
16 set of components and functionality present in counter devices.
21 Counter devices can vary greatly in design, but regardless of whether
23 counter devices consist of a core set of components. This core set of
24 components, shared by all counter devices, is what forms the essence of
25 the Generic Counter interface.
[all …]
/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-counter1 What: /sys/bus/counter/devices/counterX/countY/count
7 What: /sys/bus/counter/devices/counterX/countY/ceiling
12 respective counter.
14 What: /sys/bus/counter/devices/counterX/countY/floor
19 respective counter.
21 What: /sys/bus/counter/devices/counterX/countY/count_mode
36 to the Count Y floor value. The counter freezes at
43 The counter is disabled whenever a counter overflow or
44 underflow takes place. The counter is re-enabled when a
45 new count value is loaded to the counter via a preset
[all …]
/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Dother.json4 "Counter": "0,1,2,3", string
11 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
17 "Counter": "0,1,2,3", string
24 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
30 "Counter": "0,1,2,3", string
37 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
43 "Counter": "0,1,2,3", string
50 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
56 "Counter": "0,1,2,3", string
63 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
[all …]
Dmemory.json4 "Counter": "0,1,2,3", string
11 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
17 "Counter": "0,1,2,3", string
24 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
30 "Counter": "0,1,2,3", string
37 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
43 "Counter": "0,1,2,3", string
51 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
57 "Counter": "0,1,2,3", string
65 …response can be programmed only with a specific pair of event select and counter MSR, and with spe…
[all …]

12345678910>>...133