Home
last modified time | relevance | path

Searched +full:1 +full:c (Results 1 – 25 of 2299) sorted by relevance

12345678910>>...92

/openbmc/qemu/target/hexagon/idef-parser/
H A Didef-parser.y3 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved.
28 %parse-param {Context *c}
50 %expect 1
114 gen_inst(c, $1);
118 EMIT_SIG(c, ")");
119 EMIT_HEAD(c, "{\n");
123 gen_inst_code(c, &@1);
127 free_instruction(c);
140 track_string(c, $1.var.name);
141 $$ = $1;
[all …]
/openbmc/linux/arch/x86/events/zhaoxin/
H A Dcore.c35 FIXED_EVENT_CONSTRAINT(0x0082, 1), /* unhalted core clock cycles */
42 FIXED_EVENT_CONSTRAINT(0x0082, 1), /* unhalted core clock cycles */
51 [C(L1D)] = {
52 [C(OP_READ)] = {
53 [C(RESULT_ACCESS)] = 0x0042,
54 [C(RESULT_MISS)] = 0x0538,
56 [C(OP_WRITE)] = {
57 [C(RESULT_ACCESS)] = 0x0043,
58 [C(RESULT_MISS)] = 0x0562,
60 [C(OP_PREFETCH)] = {
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D1226 # Copyright (C) 2015 Red Hat, Inc.
28 status=1 # failure is the default!
37 trap "_cleanup; exit \$status" 0 1 2 3 15
49 $QEMU_IO -c "write -P 0x11 0 64M" "$TEST_IMG".base 2>&1 | _filter_qemu_io | _filter_testdir
57 $QEMU_IO -c "write -P 0x22 0 3M" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir
69 $QEMU_IO -c "write -P 0 0 3M" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir
72 $QEMU_IO -c "read -P 0 0 3M" "$TEST_IMG".orig 2>&1 | _filter_qemu_io | _filter_testdir
73 $QEMU_IMG convert -O $IMGFMT -c -B "$TEST_IMG".base -o backing_fmt=$IMGFMT \
75 $QEMU_IO -c "read -P 0 0 3M" "$TEST_IMG".orig 2>&1 | _filter_qemu_io | _filter_testdir
77 $QEMU_IO -c "write -z 0 3M" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir
[all …]
H A D2446 # Copyright (C) 2019 Red Hat, Inc.
28 status=1 # failure is the default!
36 trap "_cleanup; exit \$status" 0 1 2 3 15
58 $QEMU_IO -c "open $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qemu_io | _filter_testdir
59 $QEMU_IO -c "open -odata-file.filename=$TEST_IMG.data $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filte…
60 $QEMU_IO -c "open -odata-file.filename=inexistent $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qe…
66 $QEMU_IO -c "open $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qemu_io | _filter_testdir
67 $QEMU_IO -c "open -odata-file.filename=$TEST_IMG.data $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filte…
68 $QEMU_IO -c "open -odata-file.filename=inexistent $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qe…
74 $QEMU_IO -c "open -odata-file.filename=$TEST_IMG.data $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filte…
[all …]
H A D1316 # Copyright (C) 2014 Denis V. Lunev <den@openvz.org>
28 status=1 # failure is the default!
34 trap "_cleanup; exit \$status" 0 1 2 3 15
58 { $QEMU_IO -c "read -P 0 $CLUSTER_HALF_SIZE $CLUSTER_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | …
59 echo == write more than 1 block in a row ==
60 { $QEMU_IO -c "write -P 0x11 $CLUSTER_HALF_SIZE $CLUSTER_DBL_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qe…
62 { $QEMU_IO -c "read -P 0x11 $CLUSTER_HALF_SIZE $CLUSTER_HALF_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qe…
63 echo == read exactly 1 block ==
64 { $QEMU_IO -c "read -P 0x11 $CLUSTER_SIZE $CLUSTER_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _f…
65 echo == read more than 1 block ==
[all …]
H A D0806 # Copyright (C) 2013 Red Hat, Inc.
28 status=1 # failure is the default!
35 trap "_cleanup; exit \$status" 0 1 2 3 15
44 # - Internal snapshots are (currently) impossible with refcount_bits=1,
47 _unsupported_imgopts 'refcount_bits=1[^0-9]' data_file 'compat=0.10'
73 { $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
75 { $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
83 { $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
85 { $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
87 { $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c5 * Copyright (C) 2009, 2010 Paul Mundt
18 #define CCBR_DUC (1 << 3)
19 #define CCBR_CMDS (1 << 1)
20 #define CCBR_PPCE (1 << 0)
42 #define PMCAT_OVF3 (1 << 27)
43 #define PMCAT_CNN3 (1 << 26)
44 #define PMCAT_CLR3 (1 << 25)
45 #define PMCAT_OVF2 (1 << 19)
46 #define PMCAT_CLR2 (1 << 17)
47 #define PMCAT_OVF1 (1 << 11)
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-power.json5 "PerPkg": "1",
10 "BriefDescription": "Core 0 C State Transition Cycles",
13 "PerPkg": "1",
14 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
18 "BriefDescription": "Core 10 C State Transition Cycles",
21 "PerPkg": "1",
22 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
26 "BriefDescription": "Core 11 C State Transition Cycles",
29 "PerPkg": "1",
30 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Duncore-power.json5 "PerPkg": "1",
6 …"PublicDescription": "The PCU runs off a fixed 1 GHz clock. This event counts the number of pclk …
10 "BriefDescription": "Core C State Transition Cycles",
13 "PerPkg": "1",
14 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
18 "BriefDescription": "Core C State Transition Cycles",
21 "PerPkg": "1",
22 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
26 "BriefDescription": "Core C State Transition Cycles",
29 "PerPkg": "1",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellde/
H A Duncore-power.json5 "PerPkg": "1",
6 …"PublicDescription": "The PCU runs off a fixed 1 GHz clock. This event counts the number of pclk …
10 "BriefDescription": "Core C State Transition Cycles",
13 "PerPkg": "1",
14 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
18 "BriefDescription": "Core C State Transition Cycles",
21 "PerPkg": "1",
22 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
26 "BriefDescription": "Core C State Transition Cycles",
29 "PerPkg": "1",
[all …]
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.h3 * Copyright (c) 2022 MediaTek Inc.
16 * Plane count: 1, 2, 3
17 * H-subsample: 0, 1, 2
18 * V-subsample: 0, 1
19 * Color group: 0-RGB, 1-YUV, 2-raw
26 #define MDP_COLOR_IS_COMPRESS(c) ((0x20000000 & (c)) >> 29) argument
27 #define MDP_COLOR_IS_10BIT_PACKED(c) ((0x08000000 & (c)) >> 27) argument
28 #define MDP_COLOR_IS_10BIT_LOOSE(c) (((0x0c000000 & (c)) >> 26) == 1) argument
29 #define MDP_COLOR_IS_10BIT_TILE(c) (((0x0c000000 & (c)) >> 26) == 3) argument
30 #define MDP_COLOR_IS_UFP(c) ((0x02000000 & (c)) >> 25) argument
[all …]
/openbmc/linux/arch/powerpc/perf/
H A Dpower10-pmu.c39 * MMCR1[25] = pmc1combine[1]
41 * MMCR1[27] = pmc2combine[1]
43 * MMCR1[29] = pmc3combine[1]
45 * MMCR1[31] = pmc4combine[1]
61 * MMCR1[17] = cache_sel[1]
65 * MMCRA[63] = 1 (SAMPLE_ENABLE)
72 * MMCRA[SDAR_MODE] = sdar_mode[0:1]
319 return -1; in power10_bhrb_filter_map()
332 return -1; in power10_bhrb_filter_map()
340 return -1; in power10_bhrb_filter_map()
[all …]
H A Dpower8-pmu.c43 * [ ] [ sample ] [cache] [ pmc ] [unit ] c m [ pmcxsel ]
74 * MMCRC[53:55] = cache_sel[1:3] (L2EVENT_SEL)
77 * MMCRC[47:49] = cache_sel[1:3] (L3EVENT_SEL0)
78 * else if cache_sel[0] == 1:
80 * else if cache_sel[1]: # L1 event
85 * MMCRA[63] = 1 (SAMPLE_ENABLE)
234 return -1; in power8_bhrb_filter_map()
237 return -1; in power8_bhrb_filter_map()
240 return -1; in power8_bhrb_filter_map()
248 return -1; in power8_bhrb_filter_map()
[all …]
/openbmc/qemu/tests/tcg/x86_64/
H A Dadox.c7 static uint64_t adoxq(bool *c_out, uint64_t a, uint64_t b, bool c) in adoxq() argument
12 : "+r"(a), "=&r"(c) : "r"(b), "1"((int)c)); in adoxq()
13 *c_out = c; in adoxq()
17 static uint64_t adoxl(bool *c_out, uint64_t a, uint64_t b, bool c) in adoxl() argument
22 : "+r"(a), "=&r"(c) : "r"(b), "1"((int)c)); in adoxl()
23 *c_out = c; in adoxl()
30 bool c; in main() local
32 r = adoxq(&c, 0, 0, 0); in main()
34 assert(c == 0); in main()
36 r = adoxl(&c, 0, 0, 0); in main()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/
H A D0001-Fix-potential-string-truncation-in-strncpy.patch14 tests/listen-packet.c | 3 ++-
15 tests/listen.c | 3 ++-
16 tests/test2.c | 4 ++--
17 tests/test3.c | 3 ++-
18 tests/test4.c | 3 ++-
19 tests/test5.c | 3 ++-
20 tests/test6.c | 3 ++-
21 tests/test7.c | 3 ++-
24 diff --git a/tests/listen-packet.c b/tests/listen-packet.c
26 --- a/tests/listen-packet.c
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcentaur.c14 #define ACE_PRESENT (1 << 6)
15 #define ACE_ENABLED (1 << 7)
16 #define ACE_FCR (1 << 28) /* MSR_VIA_FCR */
18 #define RNG_PRESENT (1 << 2)
19 #define RNG_ENABLED (1 << 3)
20 #define RNG_ENABLE (1 << 6) /* MSR_VIA_RNG */
22 static void init_c3(struct cpuinfo_x86 *c) in init_c3() argument
49 c->x86_capability[CPUID_C000_0001_EDX] = cpuid_edx(0xC0000001); in init_c3()
53 if (c->x86_model >= 6 && c->x86_model <= 13) { in init_c3()
55 lo |= (1<<1 | 1<<7); in init_c3()
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/
H A Duncore-power.json5 "PerPkg": "1",
10 "BriefDescription": "Core C State Transition Cycles",
13 "PerPkg": "1",
14 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
18 "BriefDescription": "Core C State Transition Cycles",
21 "PerPkg": "1",
22 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
26 "BriefDescription": "Core C State Transition Cycles",
29 "PerPkg": "1",
30 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev…
[all …]
/openbmc/openbmc/poky/meta/files/
H A Ddevice_table-minimal.txt2 #/dev/mem c 640 0 0 1 1 0 0 -
7 # c Character special device file
12 /dev/console c 662 root tty 5 1 - - -
13 /dev/fb0 c 600 root root 29 0 - - -
15 /dev/hda b 660 root disk 3 1 1 1 4
16 /dev/kmem c 640 root kmem 1 2 - - -
17 /dev/kmsg c 600 root root 1 11 - - -
18 /dev/mem c 640 root kmem 1 1 - - -
20 /dev/mmcblk0p b 660 root disk 179 1 1 1 4
21 /dev/mtd c 660 root disk 90 0 0 2 8
[all …]
/openbmc/rest-dbus/resources/
H A Djstree.min.js2c=0,d=!1,e=!1,f=!1,g=[],h=a("script:last").attr("src"),i=window.document,j=i.createElement("LI"),k… argument
3 c||(k=b.children(".jstree-children")[0]),r=b.children(".jstree-anchor")[0]===i.activeElement,b.remo… argument
41,this.get_container_ul().removeClass("jstree-striped")},toggle_stripes:function(){this._data.core… argument
5c=this.get_node(b.target),d=this.is_selected(c)&&this.settings.dnd.drag_selection?this.get_top_sel… argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch22 [Rebased for v255.1]
24 meson.build | 1 +
25 src/backlight/backlight.c | 1 +
26 src/basic/cgroup-util.c | 1 +
27 src/basic/env-util.c | 1 +
28 src/basic/log.c | 1 +
30 src/basic/mkdir.c | 1 +
31 src/basic/mountpoint-util.c | 1 +
32 src/basic/parse-util.c | 1 +
33 src/basic/path-lookup.c | 1 +
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dzoned8 status=1 # failure is the default!
15 trap "_cleanup; exit \$status" 0 1 2 3 15
34 echo "case 1: if the operations work"
35 sudo -n modprobe null_blk nr_devices=1 zoned=1
38 echo "(1) report the first zone:"
39 $QEMU_IO $IMG -c "zrp 0 1"
42 $QEMU_IO $IMG -c "zrp 0 10"
45 $QEMU_IO $IMG -c "zrp 0x3e70000000 2" # 0x3e70000000 / 512 = 0x1f380000
49 $QEMU_IO $IMG -c "zo 0 268435456" # 268435456 / 512 = 524288
51 $QEMU_IO $IMG -c "zrp 0 1"
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c5 * Copyright (C) 2009 Paul Mundt
80 [PERF_COUNT_HW_BRANCH_MISSES] = -1,
81 [PERF_COUNT_HW_BUS_CYCLES] = -1,
84 #define C(x) PERF_COUNT_HW_CACHE_##x macro
91 [ C(L1D) ] = {
92 [ C(OP_READ) ] = {
93 [ C(RESULT_ACCESS) ] = 0x0001,
94 [ C(RESULT_MISS) ] = 0x0004,
96 [ C(OP_WRITE) ] = {
97 [ C(RESULT_ACCESS) ] = 0x0002,
[all …]
/openbmc/linux/drivers/media/firewire/
H A Dfiredtv-avc.c5 * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com>
6 * Copyright (C) 2008 Ben Backx <ben@bbackx.com>
7 * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se>
88 #define LAST_OPERAND (509 - 1)
90 static inline void clear_operands(struct avc_command_frame *c, int from, int to) in clear_operands() argument
92 memset(&c->operand[from], 0, to - from + 1); in clear_operands()
95 static void pad_operands(struct avc_command_frame *c, int from) in pad_operands() argument
100 clear_operands(c, from, to); in pad_operands()
129 ", or a combination, or all = -1)");
138 static int fake_ca_system_ids[4] = { -1, -1, -1, -1 };
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh12 # | | 2001:db8:1::1/64 |
15 # | | default via 2001:db8:1::2 |
22 # | 2001:db8:1::2/64 |
34 # | | 2001:db8:2::1/64 |
95 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
106 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
111 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64
122 simple_if_fini $h2 198.51.100.1/24 2001:db8:2::1/64
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/
H A D0001-scripts-build-Fix-the-tests-to-build-with-clang15.patch10 1 file changed, 25 insertions(+), 25 deletions(-)
14 @@ -21,7 +21,7 @@ trap 'rm -f ${BASE}$$.s ${BASE}$$.c ${BA
18 -echo "main(int ac, char *av[]) { int i; }" > ${BASE}$$.c
19 +echo "int main(int ac, char *av[]) { int i; }" > ${BASE}$$.c
20 if ${CC} ${CFLAGS} -o ${BASE}$$ ${BASE}$$.c 1>${NULL} 2>${NULL}
23 @@ -39,7 +39,7 @@ arch=`echo $OS | awk -F- '{print $1;}'`
26 echo "#include <stdlib.h>" > ${BASE}$$.c
27 - echo "main(int ac, char *av[])" >> ${BASE}$$.c
28 + echo "int main(int ac, char *av[])" >> ${BASE}$$.c
29 echo "{ long* p = (long*)malloc(sizeof(long));" >> ${BASE}$$.c
[all …]

12345678910>>...92