Searched refs:foo (Results 1 - 25 of 140) sorted by relevance

123456

/linux-master/tools/testing/selftests/damon/
H 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-master/lib/
H A Dtest_debug_virtual.c16 struct foo { struct
20 static struct foo *foo; variable in typeref:struct:foo
32 foo = kzalloc(sizeof(*foo), GFP_KERNEL);
33 if (!foo)
36 pa = virt_to_phys(foo);
37 va = foo;
46 kfree(foo);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_global_func8.c8 __noinline int foo(struct __sk_buff *skb) function
17 if (!foo(skb))
H A Dbad_struct_ops2.c13 SEC("struct_ops/foo")
14 void foo(void) {} function
H A Dtest_global_func11.c11 __noinline int foo(const struct S *s) function
20 return foo((const void *)skb);
H A Dtest_global_func13.c11 __noinline int foo(const struct S *s) function
25 return foo(s);
H A Dtest_global_func14.c9 __noinline int foo(const struct S *s) function
22 return foo(NULL);
H A Dtest_global_func7.c9 void foo(struct __sk_buff *skb) function
15 __failure __msg("foo() doesn't return scalar")
18 foo(skb);
H A Dtest_global_func16.c7 __noinline int foo(int (*arr)[10]) function
21 const int rv = foo(&array);
H A Dtest_global_func17.c6 __noinline int foo(int *p) function
18 return foo((int *)&i);
H A Dtest_global_func12.c11 __noinline int foo(const struct S *s) function
22 foo(&s);
H A Dtest_global_func15.c7 __noinline int foo(unsigned int *v) function
21 foo(&v);
H A Dtest_global_func10.c20 __noinline int foo(const struct Big *big) function
34 return foo((struct Big *)&small) ? 1 : 0;
H A Dtest_global_func9.c30 __noinline int foo(const struct S *s) function
86 result |= foo(&s);
93 result |= foo(s);
99 result |= foo((const struct S *)&c);
103 result |= foo(NULL);
H A Dstruct_ops_autocreate2.c12 int BPF_PROG(foo)
H A Dtest_global_data.c24 struct foo { struct
34 __type(value, struct foo);
52 static const struct foo struct0 = {
57 static struct foo struct1;
58 static const struct foo struct2;
59 static struct foo struct3 = {
H A Dverifier_helper_value_access.c9 long long foo; member in struct:other_val
24 int foo[MAX_ENTRIES]; member in struct:test_val
227 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)),
228 __imm_const(test_val_foo, offsetof(struct test_val, foo))
255 __imm_const(test_val_foo, offsetof(struct test_val, foo))
281 __imm_const(test_val_foo, offsetof(struct test_val, foo))
308 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
309 __imm_const(test_val_foo, offsetof(struct test_val, foo))
336 __imm_const(test_val_foo, offsetof(struct test_val, foo))
363 __imm_const(test_val_foo, offsetof(struct test_val, foo))
[all...]
H A Dtest_btf_decl_tag.c36 static __noinline int foo(int x __tag1 __tag2) __tag1 __tag2
49 return foo(x);
/linux-master/samples/trace_events/
H A Dtrace-events-sample.h70 * Here it is trace_foo_bar(char *foo, int bar).
73 * Here it is simply "foo, bar".
85 * __field(int, foo)
87 * __entry->foo = 5;
94 * __field_struct(struct bar, foo)
102 * __array( char, foo, 10) is the same as saying: char foo[10];
106 * __entry->foo[0] = 'a';
108 * memcpy(__entry->foo, bar, 10);
119 * __dynamic_array( int, foo, ba
[all...]
/linux-master/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
73 fail "foo stil
[all...]
/linux-master/samples/kobject/
H A Dkset-example.c18 * Then tree kobjects are created and assigned to this kset, "foo", "baz",
31 int foo; member in struct:foo_obj
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; local
60 foo = to_foo_obj(kobj);
65 return attribute->show(foo, attribute, buf);
77 struct foo_obj *foo; local
80 foo = to_foo_obj(kobj);
85 return attribute->store(foo, attribut
103 struct foo_obj *foo; local
201 struct foo_obj *foo; local
236 destroy_foo_obj(struct foo_obj *foo) argument
[all...]
/linux-master/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
45 #include "testfile-foo.h"
48 foo (int i, struct t *t)
59 #include "testfile-foo.h"
72 return foo (3, &g);
76 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_override.c7 #define FOO "/foo"
8 #define BAR "/foo/bar/"
28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1; local
41 foo = test__join_cgroup(FOO);
42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n"))
45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS,
87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS),
111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS),
116 if (CHECK(bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0),
132 if (CHECK(!bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRES
[all...]
H A Dtask_under_cgroup.c9 #define FOO "/foo"
14 int ret, foo; local
17 foo = test__join_cgroup(FOO);
18 if (!ASSERT_OK(foo < 0, "cgroup_join_foo"))
59 close(foo);
/linux-master/arch/x86/um/shared/sysdep/
H A Dkernel-offsets.h9 void foo(void) function

Completed in 186 milliseconds

123456