Home
last modified time | relevance | path

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

12345678910>>...180

/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/drivers/staging/comedi/drivers/
Dni_tiocmd.c37 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() argument
40 struct ni_gpct_device *counter_dev = counter->counter_dev; in ni_tio_configure_dma()
41 unsigned int cidx = counter->counter_index; in ni_tio_configure_dma()
54 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(cidx), mask, bits); in ni_tio_configure_dma()
68 ni_tio_set_bits(counter, NITIO_DMA_CFG_REG(cidx), mask, bits); in ni_tio_configure_dma()
77 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
85 spin_lock_irqsave(&counter->lock, flags); in ni_tio_input_inttrig()
86 if (counter->mite_chan) in ni_tio_input_inttrig()
87 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig()
90 spin_unlock_irqrestore(&counter->lock, flags); in ni_tio_input_inttrig()
[all …]
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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/mm/
Dpage_counter.c51 * page_counter_cancel - take pages out of the local counter
52 * @counter: counter
55 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() argument
59 new = atomic_long_sub_return(nr_pages, &counter->usage); in page_counter_cancel()
60 propagate_protected_usage(counter, new); in page_counter_cancel()
67 * @counter: counter
70 * NOTE: This does not consider any configured counter limits.
72 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() argument
76 for (c = counter; c; c = c->parent) { in page_counter_charge()
92 * @counter: counter
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c50 * dump (access to struct mlx5_fc) after a counter is destroyed.
52 * access to counter list:
59 * - mark a counter as deleted
74 static void mlx5_fc_stats_insert(struct rb_root *root, struct mlx5_fc *counter) in mlx5_fc_stats_insert() argument
81 int result = counter->id - this->id; in mlx5_fc_stats_insert()
91 rb_link_node(&counter->node, parent, new); in mlx5_fc_stats_insert()
92 rb_insert_color(&counter->node, root); in mlx5_fc_stats_insert()
114 /* number of counters to query inc. the last counter */ in mlx5_fc_stats_query()
134 struct mlx5_fc *counter = rb_entry(node, struct mlx5_fc, node); in mlx5_fc_stats_query() local
135 struct mlx5_fc_cache *c = &counter->cache; in mlx5_fc_stats_query()
[all …]
/kernel/linux/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 …]

12345678910>>...180