Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.3-rc2/samples/trace_events/
A Dtrace-events-sample.h308 strlcpy(__entry->foo, foo, 10);
407 TP_ARGS(foo, bar),
412 __string( foo, foo )
417 __assign_str(foo, foo);
450 TP_ARGS(foo, bar),
453 __string( foo, foo )
458 __assign_str(foo, foo);
500 __string( foo, foo )
505 __assign_str(foo, foo);
565 __rel_string( foo, foo )
[all …]
/linux-6.3-rc2/samples/kobject/
A Dkset-example.c31 int foo; member
57 struct foo_obj *foo; in foo_attr_show() local
60 foo = to_foo_obj(kobj); in foo_attr_show()
77 struct foo_obj *foo; in foo_attr_store() local
80 foo = to_foo_obj(kobj); in foo_attr_store()
103 struct foo_obj *foo; in foo_release() local
106 kfree(foo); in foo_release()
201 struct foo_obj *foo; in create_foo_obj() local
205 foo = kzalloc(sizeof(*foo), GFP_KERNEL); in create_foo_obj()
206 if (!foo) in create_foo_obj()
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/admin-guide/
A Dbootconfig.rst51 foo.bar {
68 foo = bar, baz
74 foo := qux
82 foo += qux
89 foo = value1
91 foo := value3 # 这会更新foo的值。
95 foo {
107 foo = value2
111 foo = value2
123 foo = value # value is set to foo.
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dunicast_extensions.sh68 ip -n foo-ns address add $1/$3 dev foo || return 1
69 ip -n foo-ns link set foo up || return 1
96 ip -n foo-ns address add $1/$5 dev foo || return 1
97 ip -n foo-ns link set foo up || return 1
124 ip netns add foo-ns
126 ip link add foo netns foo-ns type veth peer name bar netns bar-ns
131 ip netns pids foo-ns | xargs -r kill -9
133 ip netns del foo-ns
150 ip netns add foo-ns
153 ip link add foo netns foo-ns type veth peer name foo1 netns router-ns
[all …]
/linux-6.3-rc2/Documentation/driver-api/driver-model/
A Ddesign-patterns.rst24 struct foo {
31 struct foo *foo;
33 foo = devm_kzalloc(dev, sizeof(*foo), GFP_KERNEL);
50 struct foo *foo = arg;
56 struct foo *foo;
59 ret = request_irq(irq, foo_handler, 0, "foo", foo);
80 struct foo *foo = container_of(work, struct foo, offload);
87 struct foo *foo = arg;
89 queue_work(foo->wq, &foo->offload);
95 struct foo *foo;
[all …]
/linux-6.3-rc2/tools/testing/selftests/ftrace/test.d/instances/
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
69 mkdir foo
70 ls foo > /dev/null
71 rmdir foo
72 if [ -d foo ]; then
76 mkdir foo
78 rmdir foo
[all …]
/linux-6.3-rc2/lib/
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()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.3-rc2/Documentation/translations/zh_CN/devicetree/
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 -----------------------------------------------------------
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
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);
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);
227 foo->count--;
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
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'.
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
89 --- foo
[all …]
/linux-6.3-rc2/tools/memory-model/Documentation/
A Daccess-marking.txt251 int foo;
257 foo = newval;
268 ret = foo;
275 pr_info("Current value of foo: %d\n", data_race(foo));
301 pr_info("Current value of foo: %d\n", READ_ONCE(foo));
325 int foo;
359 struct foo {
447 int foo;
480 int foo;
524 int foo;
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dlinked_list.c18 struct foo *f; in list_push_pop()
28 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
37 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
54 f = container_of(n, struct foo, node); in list_push_pop()
69 f = container_of(n, struct foo, node); in list_push_pop()
80 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
99 struct foo *f[8], *pf; in list_push_pop_multiple()
133 pf = container_of(n, struct foo, node); in list_push_pop_multiple()
152 pf = container_of(n, struct foo, node); in list_push_pop_multiple()
182 struct foo *f; in list_in_list()
[all …]
A Dlinked_list_fail.c264 struct foo *f; in use_after_drop()
292 struct foo *f; in direct_read_lock()
303 struct foo *f; in direct_write_lock()
315 struct foo *f; in direct_read_head()
326 struct foo *f; in direct_write_head()
338 struct foo *f; in direct_read_node()
349 struct foo *f; in direct_write_node()
361 struct foo *f; in use_after_unlock()
389 struct foo *f; in list_double_add()
447 struct foo *f; in incorrect_node_var_off()
[all …]
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()
A Dtest_global_data.c24 struct foo { struct
34 __type(value, struct foo); argument
52 static const struct foo struct0 = {
57 static struct foo struct1;
58 static const struct foo struct2;
59 static struct foo struct3 = {
A Dtest_global_func9.c30 __noinline int foo(const struct S *s) in foo() function
86 result |= foo(&s); in global_func9()
93 result |= foo(s); in global_func9()
99 result |= foo((const struct S *)&c); in global_func9()
103 result |= foo(NULL); in global_func9()
/linux-6.3-rc2/Documentation/admin-guide/
A Dbootconfig.rst53 foo.bar {
71 foo = bar, baz
78 foo := qux
88 foo += qux
95 foo = value1
97 foo := value3 # This will update foo's value.
102 foo {
115 foo = value2
119 foo = value2
131 foo = value # value is set to foo.
[all …]
/linux-6.3-rc2/net/netfilter/ipset/
A Dip_set_hash_ipmac.c44 __be32 foo[2]; member
89 struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } }; in hash_ipmac4_kadt()
114 struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } }; in hash_ipmac4_uadt()
151 __be32 foo[2]; member
204 { .foo[0] = 0, .foo[1] = 0 } in hash_ipmac6_kadt()
232 { .foo[0] = 0, .foo[1] = 0 } in hash_ipmac6_uadt()
/linux-6.3-rc2/tools/testing/selftests/damon/
A Ddebugfs_duplicate_context_creation.sh9 if ! echo foo > "$DBGFS/mk_contexts"
15 if echo foo > "$DBGFS/mk_contexts"
21 if ! echo foo > "$DBGFS/rm_contexts"
/linux-6.3-rc2/arch/ia64/scripts/
A Dcheck-text-align.S2 .proc foo label
4 foo: .save rp, r2 label
7 .endp foo
/linux-6.3-rc2/samples/bpf/
A Dtcp_bpf.readme7 mkdir -p /tmp/cgroupv2/foo
9 echo $$ >> /tmp/cgroupv2/foo/cgroup.procs
11 Anything that runs under this shell belongs to the foo cgroupv2. To load
15 bpftool cgroup attach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog
28 bpftool cgroup detach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog
/linux-6.3-rc2/Documentation/translations/zh_CN/doc-guide/
A Dparse-headers.rst153 enum foo { BAR1, BAR2, PRIVATE };
157 replace symbol BAR1 :c:type:\`foo\`
158 replace symbol BAR2 :c:type:\`foo\`
163 enum foo { BAR1, BAR2, PRIVATE };
165 它会让BAR1和BAR2枚举符号交叉引用C域中的foo符号。
/linux-6.3-rc2/fs/gfs2/
A Dmain.c34 static void gfs2_init_inode_once(void *foo) in gfs2_init_inode_once() argument
36 struct gfs2_inode *ip = foo; in gfs2_init_inode_once()
50 static void gfs2_init_glock_once(void *foo) in gfs2_init_glock_once() argument
52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once()
62 static void gfs2_init_gl_aspace_once(void *foo) in gfs2_init_gl_aspace_once() argument
64 struct gfs2_glock_aspace *gla = foo; in gfs2_init_gl_aspace_once()
/linux-6.3-rc2/drivers/net/wireless/ath/
A Dath.h298 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument
299 #define ATH_DBG_WARN_ON_ONCE(foo) WARN_ON_ONCE(foo) argument
311 #define ATH_DBG_WARN(foo, arg...) do {} while (0) argument
312 #define ATH_DBG_WARN_ON_ONCE(foo) ({ \ argument
313 int __ret_warn_once = !!(foo); \

Completed in 39 milliseconds

12345678910>>...13