Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.h291 TP_PROTO(const char *foo, int bar, const int *lst,
295 TP_ARGS(foo, bar, lst, string, mask, fmt, va),
298 __array( char, foo, 10 )
308 strlcpy(__entry->foo, foo, 10);
318 TP_printk("foo %s %d %s %s %s %s (%s) (%s) %s", __entry->foo, __entry->bar,
405 TP_PROTO(const char *foo, int bar),
407 TP_ARGS(foo, bar),
412 __string( foo, foo )
417 __assign_str(foo, foo);
421 TP_printk("foo %s %d", __get_str(foo), __entry->bar)
[all …]
/openbmc/linux/samples/kobject/
H A Dkset-example.c31 int foo; member
40 ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf);
41 ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count);
57 struct foo_obj *foo; in foo_attr_show() local
60 foo = to_foo_obj(kobj); in foo_attr_show()
65 return attribute->show(foo, attribute, buf); in foo_attr_show()
77 struct foo_obj *foo; in foo_attr_store() local
80 foo = to_foo_obj(kobj); in foo_attr_store()
85 return attribute->store(foo, attribute, buf, len); in foo_attr_store()
103 struct foo_obj *foo; in foo_release() local
[all …]
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dbootconfig.rst46 foo.bar.baz = value1
47 foo.bar.qux.quux = value2
51 foo.bar {
58 foo.bar { baz = value1; qux.quux = value2 }
68 foo = bar, baz
69 foo = qux # !错误! 我们不可以重定义相同的关键字
73 foo = bar, baz
74 foo := qux
76 这样 ``foo`` 关键字的值就变成了 ``qux`` 。这对于通过添加(部分)自定义引导
81 foo = bar, baz
[all …]
/openbmc/linux/Documentation/driver-api/driver-model/
H A Ddesign-patterns.rst24 struct foo {
31 struct foo *foo;
33 foo = devm_kzalloc(dev, sizeof(*foo), GFP_KERNEL);
34 if (!foo)
36 spin_lock_init(&foo->lock);
40 This will create an instance of struct foo in memory every time probe() is
46 pass around a pointer to struct foo like this::
50 struct foo *foo = arg;
56 struct foo *foo;
59 ret = request_irq(irq, foo_handler, 0, "foo", foo);
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-support/fcgiwrap/fcgiwrap/
H A D0001-Fix-implicit-fallthrough-warning.patch158 + int foo( void ) { return 0; }
159 + int bar( void ) __attribute__(($1("foo")));
162 + int foo( void ) __attribute__(($1(32)));
165 + void *foo(int a) __attribute__(($1(1)));
168 + inline __attribute__(($1)) int foo( void ) { return 0; }
171 + inline __attribute__(($1)) int foo( void ) { return 0; }
174 + int foo( void ) __attribute__(($1));
177 + int foo( void ) __attribute__(($1));
180 + int foo( void ) __attribute__((__constructor__(65535/2)));
183 + int foo( void ) __attribute__(($1));
[all …]
/openbmc/linux/tools/testing/selftests/ftrace/test.d/instances/
H A Dinstance-event.tc7 rmdir foo 2>/dev/null
29 mkdir foo 2> /dev/null
30 rmdir foo 2> /dev/null
36 cat foo/trace 1> /dev/null 2>&1
42 echo 1 > foo/events/sched/sched_switch/enable
69 mkdir foo
70 ls foo > /dev/null
71 rmdir foo
72 if [ -d foo ]; then
76 mkdir foo
[all …]
/openbmc/u-boot/doc/uImage.FIT/
H A Doverlay-fdt-boot.txt18 Take a hypothetical board named 'foo' where there are different supported
36 data = /incbin/("./foo-reva.dtb");
41 data = /incbin/("./foo-revb.dtb");
46 data = /incbin/("./foo-reva-bar.dtb");
51 data = /incbin/("./foo-revb-bar.dtb");
56 data = /incbin/("./foo-revb-baz.dtb");
61 data = /incbin/("./foo-revb-bar-baz.dtb");
68 default = "foo-reva.dtb;
69 foo-reva.dtb {
73 foo-revb.dtb {
[all …]
/openbmc/linux/lib/
H A Dtest_debug_virtual.c16 struct foo { struct
20 static struct foo *foo; variable
32 foo = kzalloc(sizeof(*foo), GFP_KERNEL); in test_debug_virtual_init()
33 if (!foo) in test_debug_virtual_init()
36 pa = virt_to_phys(foo); in test_debug_virtual_init()
37 va = foo; in test_debug_virtual_init()
46 kfree(foo); in test_debug_virtual_exit()
/openbmc/boost-dbus/test/
H A DdbusPropertiesServer.cpp24 dbus::DbusObjectServer foo(system_bus); in TEST() local
26 EXPECT_EQ(foo.get_xml_for_path("/"), dbus_boilerplate + "<node></node>"); in TEST()
27 EXPECT_EQ(foo.get_xml_for_path(""), dbus_boilerplate + "<node></node>"); in TEST()
35 dbus::DbusObjectServer foo(system_bus); in TEST() local
37 foo.register_object(std::make_shared<dbus::DbusObject>( in TEST()
40 EXPECT_EQ(foo.get_xml_for_path("/"), dbus_boilerplate + in TEST()
43 EXPECT_EQ(foo.get_xml_for_path(""), dbus_boilerplate + in TEST()
47 EXPECT_EQ(foo.get_xml_for_path("/org"), in TEST()
51 EXPECT_EQ(foo.get_xml_for_path("/org/freedesktop"), in TEST()
65 dbus::DbusObjectServer foo(system_bus); in TEST() local
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh20 perf probe -x ${temp_dir}/testfile -d foo || true
34 cat > ${temp_dir}/testfile-foo.h << EOF
41 extern int foo (int i, struct t *t);
44 cat > ${temp_dir}/testfile-foo.c << EOF
48 foo (int i, struct t *t)
72 return foo (3, &g);
76 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
78 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o
80 perf probe -x ${temp_dir}/testfile --funcs foo
81 perf probe -x ${temp_dir}/testfile foo
/openbmc/qemu/tests/qemu-iotests/
H A D083.out4 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
8 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
12 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
16 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
20 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
24 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
28 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
32 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
36 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
40 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
[all …]
H A D02959 $QEMU_IMG snapshot -c foo "$TEST_IMG"
61 $QEMU_IMG snapshot -a foo "$TEST_IMG"
66 $QEMU_IMG snapshot -c foo "$TEST_IMG"
68 $QEMU_IMG snapshot -a foo "$TEST_IMG"
79 { $QEMU_IMG snapshot -c foo $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
80 { $QEMU_IMG snapshot -a foo $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
91 { $QEMU_IMG snapshot -c foo $TEST_IMG; } 2>&1 | _filter_qemu_io | _filter_testdir
94 { $QEMU_IMG convert -l foo $TEST_IMG $TEST_IMG.snap; } 2>&1 | _filter_qemu_io | _filter_testdir
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_helper_value_access.c9 long long foo; member
24 int foo[MAX_ENTRIES]; member
190 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)), in via_const_imm_full_range()
191 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_full_range()
218 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_partial_range()
244 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_empty_range()
271 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo) + 8), in imm_out_of_bound_range()
272 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in imm_out_of_bound_range()
299 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_1()
326 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_2()
[all …]
H A Dverifier_array_access.c12 int foo[MAX_ENTRIES]; member
58 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_1()
85 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
114 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
147 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
172 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_2()
201 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
230 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
262 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
294 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
[all …]
H A Dlinked_list_fail.c12 struct foo *f, *f1, *f2; \
239 f = bpf_obj_new(struct foo); in obj_drop_non_zero_off()
249 return bpf_obj_new(struct foo)->data; in new_null_ret()
255 bpf_obj_new(struct foo); in obj_new_acq()
262 struct foo *f; in use_after_drop()
290 struct foo *f; in direct_read_lock()
301 struct foo *f; in direct_write_lock()
313 struct foo *f; in direct_read_head()
324 struct foo *f; in direct_write_head()
336 struct foo *f; in direct_read_node()
[all …]
H A Dlinked_list.c18 struct foo *f; in list_push_pop()
28 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
37 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
54 f = container_of(n, struct foo, node2); in list_push_pop()
69 f = container_of(n, struct foo, node2); in list_push_pop()
80 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
88 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
99 struct foo *f[200], *pf; in list_push_pop_multiple()
133 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
152 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
[all …]
H A Dtest_spin_lock_fail.c7 struct foo { struct
15 __type(value, struct foo); argument
37 struct foo *f; in lock_id_kptr_preserve()
56 struct foo *f; in lock_id_mapval_preserve()
69 struct foo *f; in lock_id_innermapval_preserve()
87 struct foo *f1, *f2, *v, *iv; \
126 struct foo *f1, *f2; in lock_id_mismatch_mapval_mapval()
150 struct foo *f1, *f2; in lock_id_mismatch_innermapval_innermapval1()
174 struct foo *f1, *f2; in lock_id_mismatch_innermapval_innermapval2()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_override.c28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1; in serial_test_cgroup_attach_override() local
41 foo = test__join_cgroup(FOO); in serial_test_cgroup_attach_override()
42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in serial_test_cgroup_attach_override()
45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override()
87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override()
111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override()
116 if (CHECK(bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0), in serial_test_cgroup_attach_override()
132 if (CHECK(!bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override()
138 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, 0), in serial_test_cgroup_attach_override()
144 close(foo); in serial_test_cgroup_attach_override()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst205 void foo_init(struct foo *foo)
207 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH);
210 int foo_store(struct foo *foo, unsigned long index, void *entry)
214 xa_lock_bh(&foo->array);
215 err = xa_err(__xa_store(&foo->array, index, entry, GFP_KERNEL));
217 foo->count++;
218 xa_unlock_bh(&foo->array);
223 void foo_erase(struct foo *foo, unsigned long index)
225 xa_lock(&foo->array);
226 __xa_erase(&foo->array, index);
[all …]
/openbmc/linux/Documentation/translations/zh_CN/devicetree/
H A Doverlay-notes.rst26 让我们举个例子,我们有一个foo板,它的基本树形图如下::
28 ---- foo.dts ---------------------------------------------------------------
32 compatible = "corp,foo";
44 ---- foo.dts ---------------------------------------------------------------
61 当加载(并按照[1]中描述的方式解决)时,应该产生foo+bar.dts::
63 ---- foo+bar.dts -----------------------------------------------------------
66 compatible = "corp,foo";
84 ---- foo+bar.dts -----------------------------------------------------------
/openbmc/linux/tools/perf/Documentation/
H A Dcallchain-overhead-calculation.txt24 void foo(void) {
30 foo();
39 In this case 'foo' is a child of 'bar', and 'bar' is an immediate
40 child of 'main' so 'foo' also is a child of 'main'. In other words,
41 'main' is a parent of 'foo' and 'bar', and 'bar' is a parent of 'foo'.
43 Suppose all samples are recorded in 'foo' and 'bar' only. When it's
50 60.00% foo
52 --- foo
65 child functions (i.e. 'foo' and 'bar') are added to the parents to
87 60.00% 60.00% foo
[all …]
/openbmc/linux/tools/memory-model/Documentation/
H A Daccess-marking.txt220 For example, ASSERT_EXCLUSIVE_ACCESS(foo) tells KCSAN that any
221 concurrent access to variable foo by any other CPU is an error, even
223 ASSERT_EXCLUSIVE_WRITER(foo) tells KCSAN that although it is OK for there
224 to be concurrent reads from foo from other CPUs, it is an error for some
225 other CPU to be concurrently writing to foo, even if that concurrent
246 For example, suppose a shared variable "foo" is read only while a
251 int foo;
257 foo = newval;
268 ret = foo;
275 pr_info("Current value of foo: %d\n", data_race(foo));
[all …]
/openbmc/qemu/tests/decode/
H A Dsucc_named_field.decode11 %foo 0:16 alpha:4
12 @foo 00000001 ........ ........ ........ &imm_a imm=%foo
13 i1 ........ 00000000 ........ ........ @foo alpha=1
14 i2 ........ 00000001 ........ ........ @foo alpha=2
19 i3 ........ 00000000 ........ ........ @bar imm=%foo
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-testsuite-use-www.example.org-for-wget-test-cases.patch26 mkdir foo
27 -busybox wget -q -O index.html -P foo http://www.google.com/
28 +busybox wget -q -O index.html -P foo http://www.example.org/
46 -busybox wget -q -O foo http://www.google.com/
47 +busybox wget -q -O foo http://www.example.org/
48 test -s foo
56 mkdir foo
57 -busybox wget -q -P foo http://www.google.com/
58 +busybox wget -q -P foo http://www.example.org/
59 test -s foo/index.html
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/liburi/liburi-perl/
H A D0001-Skip-TODO-test-cases-that-fail.patch26 - my $str = "http://foo/\xE9";
32 - # http://foo/%C3%A9
33 - is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
36 +# my $str = "http://foo/\xE9";
42 +# # http://foo/%C3%A9
43 +# is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
47 my $str = "http://foo/\xE9";
97 - $u = URI->new('mailto:"foo bar+baz"@example.com');
98 - is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is p…
99 - is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works';
[all …]

12345678910>>...23