Home
last modified time | relevance | path

Searched +full:counter +full:- +full:0 (Results 1 – 25 of 1142) sorted by relevance

12345678910>>...46

/Linux-v5.15/tools/testing/selftests/netfilter/
Dnft_meta.sh5 # Kselftest framework requirement - SKIP code is 4.
7 sfx=$(mktemp -u "XXXXXXXX")
8 ns0="ns0-$sfx"
10 if ! nft --version > /dev/null 2>&1; then
21 ip -net "$ns0" link set lo up
22 ip -net "$ns0" addr add 127.0.0.1 dev lo
27 lastyear=$((currentyear-1))
28 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
30 counter iifcount {}
31 counter iifnamecount {}
[all …]
/Linux-v5.15/drivers/comedi/drivers/
Dni_tio.c1 // SPDX-License-Identifier: GPL-2.0+
11 * Author: J.P. Mellor <jpmellor@rose-hulman.edu>,
19 * This module is not used directly by end-users. Rather, it
22 * originally based on the counter code from ni_660x.c and
26 * DAQ 660x Register-Level Programmer Manual (NI 370505A-01)
27 * DAQ 6601/6602 User Manual (NI 322137B-01)
28 * 340934b.pdf DAQ-STC reference manual
42 #define NI_M_TIMEBASE_1_CLK 0x0 /* 20MHz */
43 #define NI_M_PFI_CLK(x) (((x) < 10) ? (1 + (x)) : (0xb + (x)))
44 #define NI_M_RTSI_CLK(x) (((x) == 7) ? 0x1b : (0xb + (x)))
[all …]
Dni_tiocmd.c1 // SPDX-License-Identifier: GPL-2.0+
11 * Author: J.P. Mellor <jpmellor@rose-hulman.edu>,
19 * This module is not used directly by end-users. Rather, it
26 * DAQ 660x Register-Level Programmer Manual (NI 370505A-01)
27 * DAQ 6601/6602 User Manual (NI 322137B-01)
28 * 340934b.pdf DAQ-STC reference manual
38 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()
47 bits = 0; in ni_tio_configure_dma()
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/westmereex/
Dpipeline.json3 "EventCode": "0x14",
4 "Counter": "0,1,2,3", string
5 "UMask": "0x1",
11 "EventCode": "0x14",
13 "Counter": "0,1,2,3", string
14 "UMask": "0x1",
22 "EventCode": "0x14",
23 "Counter": "0,1,2,3", string
24 "UMask": "0x2",
30 "EventCode": "0xE6",
[all …]
Dcache.json3 "EventCode": "0x63",
4 "Counter": "0,1", string
5 "UMask": "0x2",
11 "EventCode": "0x63",
12 "Counter": "0,1", string
13 "UMask": "0x1",
19 "EventCode": "0x51",
20 "Counter": "0,1", string
21 "UMask": "0x4",
27 "EventCode": "0x51",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/westmereep-dp/
Dpipeline.json3 "EventCode": "0x14",
4 "Counter": "0,1,2,3", string
5 "UMask": "0x1",
11 "EventCode": "0x14",
13 "Counter": "0,1,2,3", string
14 "UMask": "0x1",
22 "EventCode": "0x14",
23 "Counter": "0,1,2,3", string
24 "UMask": "0x2",
30 "EventCode": "0xE6",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/westmereep-sp/
Dpipeline.json3 "EventCode": "0x14",
4 "Counter": "0,1,2,3", string
5 "UMask": "0x1",
11 "EventCode": "0x14",
13 "Counter": "0,1,2,3", string
14 "UMask": "0x1",
22 "EventCode": "0x14",
23 "Counter": "0,1,2,3", string
24 "UMask": "0x2",
30 "EventCode": "0xE6",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/nehalemep/
Dpipeline.json3 "EventCode": "0x14",
4 "Counter": "0,1,2,3", string
5 "UMask": "0x1",
11 "EventCode": "0x14",
13 "Counter": "0,1,2,3", string
14 "UMask": "0x1",
22 "EventCode": "0x14",
23 "Counter": "0,1,2,3", string
24 "UMask": "0x2",
30 "EventCode": "0xE6",
[all …]
Dcache.json3 "EventCode": "0x63",
4 "Counter": "0,1", string
5 "UMask": "0x2",
11 "EventCode": "0x63",
12 "Counter": "0,1", string
13 "UMask": "0x1",
19 "EventCode": "0x51",
20 "Counter": "0,1", string
21 "UMask": "0x4",
27 "EventCode": "0x51",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/nehalemex/
Dpipeline.json3 "EventCode": "0x14",
4 "Counter": "0,1,2,3", string
5 "UMask": "0x1",
11 "EventCode": "0x14",
13 "Counter": "0,1,2,3", string
14 "UMask": "0x1",
22 "EventCode": "0x14",
23 "Counter": "0,1,2,3", string
24 "UMask": "0x2",
30 "EventCode": "0xE6",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/bonnell/
Dpipeline.json3 "EventCode": "0x2",
4 "Counter": "0,1", string
5 "UMask": "0x83",
11 "EventCode": "0x2",
12 "Counter": "0,1", string
13 "UMask": "0x81",
19 "EventCode": "0x3",
20 "Counter": "0,1", string
21 "UMask": "0x7f",
24 "BriefDescription": "Micro-op reissues for any cause"
[all …]
Dother.json3 "EventCode": "0x6",
4 "Counter": "0,1", string
5 "UMask": "0x80",
11 "EventCode": "0x9",
12 "Counter": "0,1", string
13 "UMask": "0x20",
16 "BriefDescription": "Memory cluster signals to block micro-op dispatch for any reason"
19 "EventCode": "0x3A",
20 "Counter": "0,1", string
21 "UMask": "0x0",
[all …]
Dfloating-point.json3 "EventCode": "0x10",
4 "Counter": "0,1", string
5 "UMask": "0x1",
8 "BriefDescription": "Floating point computational micro-ops executed."
12 "EventCode": "0x10",
13 "Counter": "0,1", string
14 "UMask": "0x81",
17 "BriefDescription": "Floating point computational micro-ops retired."
20 "EventCode": "0x10",
21 "Counter": "0,1", string
[all …]
/Linux-v5.15/drivers/infiniband/core/
Dcounters.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
19 return -EINVAL; in __counter_set_mode()
20 if (port_counter->num_counters) in __counter_set_mode()
21 return -EBUSY; in __counter_set_mode()
24 port_counter->mode.mode = new_mode; in __counter_set_mode()
25 port_counter->mode.mask = new_mask; in __counter_set_mode()
26 return 0; in __counter_set_mode()
30 * rdma_counter_set_auto_mode() - Turn on/off per-port auto mode
37 * Return 0 on success. If counter mode wasn't changed then it is considered
39 * Return -EBUSY when changing to auto mode while there are bounded counters.
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/icelakex/
Duncore-other.json4 "Counter": "0,1,2,3", string
6 "EventCode": "0x50",
9 "UMask": "0x10",
14 "Counter": "0,1,2,3", string
16 "EventCode": "0x50",
19 "UMask": "0x20",
24 "Counter": "0,1,2,3", string
26 "EventCode": "0x50",
29 "UMask": "0x01",
34 "Counter": "0,1,2,3", string
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/knightslanding/
Dpipeline.json4 "EventCode": "0xC4",
5 "Counter": "0,1", string
6 "UMask": "0x0",
13 "EventCode": "0xC4",
14 "Counter": "0,1", string
15 "UMask": "0x7e",
22 "EventCode": "0xC4",
23 "Counter": "0,1", string
24 "UMask": "0xfe",
31 "EventCode": "0xC4",
[all …]
/Linux-v5.15/arch/arm/include/asm/
Datomic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
25 #define arch_atomic_read(v) READ_ONCE((v)->counter)
26 #define arch_atomic_set(v,i) WRITE_ONCE(((v)->counter), (i))
42 prefetchw(&v->counter); \
44 "1: ldrex %0, [%3]\n" \
45 " " #asm_op " %0, %0, %4\n" \
46 " strex %1, %0, [%3]\n" \
47 " teq %1, #0\n" \
49 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) \
50 : "r" (&v->counter), "Ir" (i) \
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/sandybridge/
Dpipeline.json3counter. This event can approximate elapsed time while the core was not in a halt state. This even…
4 "Counter": "Fixed counter 2", string
5 "UMask": "0x3",
9 "CounterHTOff": "Fixed counter 2"
12 … For instructions that consist of multiple micro-ops, this event counts the retirement of the last…
13 "Counter": "Fixed counter 0", string
14 "UMask": "0x1",
18 "CounterHTOff": "Fixed counter 0"
21 …e the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four…
22 "Counter": "Fixed counter 1", string
[all …]
/Linux-v5.15/tools/perf/util/
Dstat-display.c21 #include "pmu-hybrid.h"
22 #include "evlist-hybrid.h"
30 if (config->csv_output) { in print_running()
31 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running()
32 config->csv_sep, in print_running()
34 config->csv_sep, in print_running()
37 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running()
46 if (config->csv_output) in print_noise_pct()
47 fprintf(config->output, "%s%.2f%%", config->csv_sep, pct); in print_noise_pct()
49 fprintf(config->output, " ( +-%6.2f%% )", pct); in print_noise_pct()
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/jaketown/
Dpipeline.json3 … For instructions that consist of multiple micro-ops, this event counts the retirement of the last…
4 "Counter": "Fixed counter 1", string
5 "UMask": "0x1",
9 "CounterHTOff": "Fixed counter 1"
12 …e the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four…
13 "Counter": "Fixed counter 2", string
14 "UMask": "0x2",
18 "CounterHTOff": "Fixed counter 2"
21counter. This event can approximate elapsed time while the core was not in a halt state. This even…
22 "Counter": "Fixed counter 3", string
[all …]
/Linux-v5.15/mm/
Dpage_counter.c1 // SPDX-License-Identifier: GPL-2.0
23 if (!c->parent) in propagate_protected_usage()
26 min = READ_ONCE(c->min); in propagate_protected_usage()
27 if (min || atomic_long_read(&c->min_usage)) { in propagate_protected_usage()
29 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage()
30 delta = protected - old_protected; in propagate_protected_usage()
32 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage()
35 low = READ_ONCE(c->low); in propagate_protected_usage()
36 if (low || atomic_long_read(&c->low_usage)) { in propagate_protected_usage()
38 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage()
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/ivybridge/
Dpipeline.json3 "Counter": "Fixed counter 0", string
4 "UMask": "0x1",
8 "CounterHTOff": "Fixed counter 0"
11 "Counter": "Fixed counter 1", string
12 "UMask": "0x2",
16 "CounterHTOff": "Fixed counter 1"
20 "Counter": "Fixed counter 1", string
21 "UMask": "0x2",
26 "CounterHTOff": "Fixed counter 1"
29 "Counter": "Fixed counter 2", string
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/ivytown/
Dpipeline.json3 "Counter": "Fixed counter 0", string
4 "UMask": "0x1",
8 "CounterHTOff": "Fixed counter 0"
11 "Counter": "Fixed counter 1", string
12 "UMask": "0x2",
16 "CounterHTOff": "Fixed counter 1"
20 "Counter": "Fixed counter 1", string
21 "UMask": "0x2",
26 "CounterHTOff": "Fixed counter 1"
29 "Counter": "Fixed counter 2", string
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/broadwellx/
Dpipeline.json3 "UMask": "0x1",
5 "Counter": "Fixed counter 0", string
7-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues…
9 "CounterHTOff": "Fixed counter 0"
12 "UMask": "0x2",
14 "Counter": "Fixed counter 1", string
16 …e the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four…
18 "CounterHTOff": "Fixed counter 1"
21 "UMask": "0x2",
23 "Counter": "Fixed counter 1", string
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/skylakex/
Dcache.json4 "Counter": "0,1,2,3", string
5 "CounterHTOff": "0,1,2,3,4,5,6,7",
6 "EventCode": "0x51",
8 …opportunistic replacements, and replacements that require stall-for-replace or block-for-replace.",
10 "UMask": "0x1"
14 "Counter": "0,1,2,3", string
15 "CounterHTOff": "0,1,2,3,4,5,6,7",
16 "EventCode": "0x48",
20 "UMask": "0x2"
24 "Counter": "0,1,2,3", string
[all …]

12345678910>>...46