Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.15/samples/trace_events/
H A Dtrace-events-sample.h307 __string_len( lstr, foo, bar / 2 < strlen(foo) ? bar / 2 : strlen(foo) )
311 strscpy(__entry->foo, foo, 10);
421 TP_ARGS(foo, bar),
426 __string( foo, foo )
464 TP_ARGS(foo, bar),
467 __string( foo, foo )
511 TP_ARGS(foo, bar),
514 __string( foo, foo )
536 TP_ARGS(foo, bar),
542 TP_ARGS(foo, bar),
[all …]
/linux-6.15/samples/kobject/
H 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.15/Documentation/translations/zh_TW/admin-guide/
H 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.15/Documentation/translations/zh_CN/admin-guide/
H 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.15/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);
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.15/drivers/gpu/drm/xe/tests/
H A Dxe_args_test.c12 #define foo X, Y, Z, Q in call_args_example() macro
19 #undef foo in call_args_example()
26 #define foo X, Y, Z, Q in drop_first_arg_example() macro
31 #undef foo in drop_first_arg_example()
39 #define foo X, Y, Z, Q in first_arg_example() macro
45 #undef foo in first_arg_example()
53 #define foo X, Y, Z, Q in last_arg_example() macro
59 #undef foo in last_arg_example()
76 #undef foo in pick_arg_example()
96 #undef foo in sep_comma_example()
[all …]
/linux-6.15/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
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.15/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()
/linux-6.15/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh26 perf probe -x ${temp_dir}/testfile -d foo || true
40 cat > ${temp_dir}/testfile-foo.h << EOF
47 extern int foo (int i, struct t *t);
50 cat > ${temp_dir}/testfile-foo.c << EOF
54 foo (int i, struct t *t)
78 return foo (3, &g);
82 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
84 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o
86 perf probe -x ${temp_dir}/testfile --funcs foo | grep "foo"
87 perf probe -x ${temp_dir}/testfile foo
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dverifier_helper_value_access.c9 long long foo; member
24 int foo[MAX_ENTRIES]; member
228 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_full_range()
255 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_partial_range()
281 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_empty_range()
309 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in imm_out_of_bound_range()
336 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_1()
363 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_2()
392 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_reg_full_range()
420 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_reg_partial_range()
[all …]
H A Dverifier_array_access.c12 int foo[MAX_ENTRIES]; member
72 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_1()
553 val->index = offsetof(struct test_val, foo); in an_array_with_a_constant_no_nullness()
570 val->index = offsetof(struct test_val, foo); in multiple_array_with_a_constant_no_nullness()
573 val2->index = offsetof(struct test_val, foo); in multiple_array_with_a_constant_no_nullness()
591 val->index = offsetof(struct test_val, foo); in an_array_with_a_32bit_constant_0_no_nullness()
606 val->index = offsetof(struct test_val, foo); in a_pcpu_array_with_a_constant_no_nullness()
621 val->index = offsetof(struct test_val, foo); in an_array_with_a_constant_no_nullness_out_of_bounds()
644 val->index = offsetof(struct test_val, foo); in an_array_with_a_constant_too_small()
662 val->index = offsetof(struct test_val, foo); in an_array_with_a_constant_too_big()
[all …]
H A Dlinked_list.c13 struct bpf_list_head head __contains(foo, node2);
31 struct foo *f; in list_push_pop()
41 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
50 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
67 f = container_of(n, struct foo, node2); in list_push_pop()
82 f = container_of(n, struct foo, node2); in list_push_pop()
112 struct foo *f[200], *pf; in list_push_pop_multiple()
146 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
165 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
195 struct foo *f; in list_in_list()
[all …]
H A Dlinked_list_fail.c262 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()
347 struct foo *f; in direct_write_node()
359 struct foo *f; in use_after_unlock()
390 struct foo *f; in list_double_add()
453 struct foo *f; in incorrect_node_var_off()
[all …]
H 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 = {
H 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()
H A Dverifier_const.c9 const volatile long foo = 42; variable
19 bpf_strtol(buff, sizeof(buff), 0, (long *)&foo); in tcx1()
48 bpf_check_mtu(skb, skb->ifindex, (__u32 *)&foo, 0, 0); in tcx4()
85 write_fixed((void *)&foo, skb->mark); in tcx7()
94 write_dyn((void *)&foo, &bart, bpf_get_prandom_u32() & 3); in BPF_PROG()
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()
/linux-6.15/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()
/linux-6.15/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 -----------------------------------------------------------
/linux-6.15/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);
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.15/tools/perf/Documentation/
H A Dcallchain-overhead-calculation.txt25 void foo(void) {
31 foo();
40 In this case 'foo' is a child of 'bar', and 'bar' is an immediate
41 child of 'main' so 'foo' also is a child of 'main'. In other words,
42 'main' is a parent of 'foo' and 'bar', and 'bar' is a parent of 'foo'.
51 60.00% foo
53 --- foo
66 child functions (i.e. 'foo' and 'bar') are added to the parents to
88 60.00% 60.00% foo
90 --- foo
[all …]
/linux-6.15/tools/memory-model/Documentation/
H A Daccess-marking.txt274 int foo;
280 foo = newval;
291 ret = foo;
298 pr_info("Current value of foo: %d\n", data_race(foo));
324 pr_info("Current value of foo: %d\n", READ_ONCE(foo));
348 int foo;
382 struct foo {
470 int foo;
503 int foo;
547 int foo;
[all …]
/linux-6.15/rust/pin-init/
H A DREADME.md84 let foo = pin_init!(Foo {
94 let foo: Result<Pin<Box<Foo>>, AllocError> = Box::pin_init(foo);
153 pub struct foo {
157 pub fn init_foo(ptr: *mut foo);
166 /// `foo` is always initialized
172 foo: UnsafeCell<MaybeUninit<bindings::foo>>,
179 // enabled `foo`,
184 let foo = addr_of_mut!((*slot).foo);
185 let foo = UnsafeCell::raw_get(foo).cast::<bindings::foo>();
187 // Initialize the `foo`
[all …]
/linux-6.15/Documentation/admin-guide/
H 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.15/net/netfilter/ipset/
H 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()

12345678910>>...15