Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/samples/trace_events/
Dtrace-events-sample.h231 TP_PROTO(const char *foo, int bar, const int *lst,
234 TP_ARGS(foo, bar, lst, string, mask),
237 __array( char, foo, 10 )
245 strlcpy(__entry->foo, foo, 10);
253 TP_printk("foo %s %d %s %s %s %s (%s)", __entry->foo, __entry->bar,
339 TP_PROTO(const char *foo, int bar),
341 TP_ARGS(foo, bar),
346 __string( foo, foo )
351 __assign_str(foo, foo);
355 TP_printk("foo %s %d", __get_str(foo), __entry->bar)
[all …]
/Linux-v4.19/samples/kobject/
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 …]
Dkobject-example.c21 static int foo; variable
31 return sprintf(buf, "%d\n", foo); in foo_show()
39 ret = kstrtoint(buf, 10, &foo); in foo_store()
48 __ATTR(foo, 0664, foo_show, foo_store);
/Linux-v4.19/Documentation/driver-model/
Ddesign-patterns.txt24 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 …]
/Linux-v4.19/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc11 rmdir foo 2>/dev/null
33 mkdir foo 2> /dev/null
34 rmdir foo 2> /dev/null
40 cat foo/trace 1> /dev/null 2>&1
46 echo 1 > foo/events/sched/sched_switch
73 mkdir foo
74 ls foo > /dev/null
75 rmdir foo
76 if [ -d foo ]; then
80 mkdir foo
[all …]
/Linux-v4.19/lib/
Dtest_debug_virtual.c14 struct foo { struct
18 static struct foo *foo; variable
30 foo = kzalloc(sizeof(*foo), GFP_KERNEL); in test_debug_virtual_init()
31 if (!foo) in test_debug_virtual_init()
34 pa = virt_to_phys(foo); in test_debug_virtual_init()
35 va = foo; in test_debug_virtual_init()
44 kfree(foo); in test_debug_virtual_exit()
/Linux-v4.19/tools/perf/Documentation/
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 …]
/Linux-v4.19/samples/bpf/
Dtest_cgrp2_sock2.sh20 mkdir -p /tmp/cgroupv2/foo
21 echo $$ >> /tmp/cgroupv2/foo/cgroup.procs
26 test_cgrp2_sock2 /tmp/cgroupv2/foo sock_flags_kern.o $1
31 if [ -d /tmp/cgroupv2/foo ]; then
32 test_cgrp2_sock -d /tmp/cgroupv2/foo
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
14 ./load_sock_ops -l /tmp/cgroupv2/foo tcp_basertt_kern.o
26 ./load_sock_ops -r /tmp/cgroupv2/foo
Dtest_cgrp2_attach2.c65 int drop_prog, allow_prog, foo = 0, bar = 0, rc = 0; in test_foo_bar() local
79 foo = create_and_get_cgroup(FOO); in test_foo_bar()
80 if (!foo) in test_foo_bar()
86 if (bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
130 if (bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
156 if (!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS)) { in test_foo_bar()
162 if (bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
180 if (!bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
187 if (bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
198 close(foo); in test_foo_bar()
/Linux-v4.19/arch/ia64/scripts/
Dcheck-text-align.S2 .proc foo label
4 foo: .save rp, r2 label
7 .endp foo
/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_ipmac.c50 __be32 foo[2]; member
95 struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } }; in hash_ipmac4_kadt()
120 struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } }; in hash_ipmac4_uadt()
157 __be32 foo[2]; member
210 { .foo[0] = 0, .foo[1] = 0 } in hash_ipmac6_kadt()
238 { .foo[0] = 0, .foo[1] = 0 } in hash_ipmac6_uadt()
Dip_set_hash_mac.c38 __be32 foo[2]; member
81 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_kadt()
103 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_uadt()
/Linux-v4.19/fs/gfs2/
Dmain.c37 static void gfs2_init_inode_once(void *foo) in gfs2_init_inode_once() argument
39 struct gfs2_inode *ip = foo; in gfs2_init_inode_once()
51 static void gfs2_init_glock_once(void *foo) in gfs2_init_glock_once() argument
53 struct gfs2_glock *gl = foo; in gfs2_init_glock_once()
63 static void gfs2_init_gl_aspace_once(void *foo) in gfs2_init_gl_aspace_once() argument
65 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once()
/Linux-v4.19/drivers/net/wireless/ath/
Dath.h297 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument
298 #define ATH_DBG_WARN_ON_ONCE(foo) WARN_ON_ONCE(foo) argument
310 #define ATH_DBG_WARN(foo, arg...) do {} while (0) argument
311 #define ATH_DBG_WARN_ON_ONCE(foo) ({ \ argument
312 int __ret_warn_once = !!(foo); \
/Linux-v4.19/arch/x86/um/
Dbugs_32.c35 unsigned long foo = 0; in arch_check_bugs() local
36 __asm__ __volatile__("cmovz %0, %1" : "=r" (foo) : "0" (foo)); in arch_check_bugs()
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dmaxim,max77686.txt61 foo@0 {
62 compatible = "bar,foo";
86 foo@0 {
87 compatible = "bar,foo";
109 foo@0 {
110 compatible = "bar,foo";
Dmaxim,max9485.txt54 foo@0 {
55 compatible = "bar,foo";
57 clock-names = "foo-input-clk";
/Linux-v4.19/Documentation/devicetree/
Doverlay-notes.txt18 Lets take an example where we have a foo board with the following base tree:
20 ---- foo.dts -----------------------------------------------------------------
23 compatible = "corp,foo";
35 ---- foo.dts -----------------------------------------------------------------
56 result in foo+bar.dts
58 ---- foo+bar.dts -------------------------------------------------------------
61 compatible = "corp,foo";
79 ---- foo+bar.dts -------------------------------------------------------------
/Linux-v4.19/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc-filter-pid.tc110 mkdir instances/foo
111 cd instances/foo
114 rmdir instances/foo
/Linux-v4.19/Documentation/devicetree/bindings/power/
Dpower_domain.txt52 compatible = "foo,power-controller";
63 compatible = "foo,power-controller";
69 compatible = "foo,power-controller";
81 compatible = "foo,power-controller";
88 compatible = "foo,power-controller";
126 compatible = "foo,i-leak-current";
133 compatible = "foo,i-leak-current";
185 compatible = "foo,power-controller";
192 compatible = "foo,i-leak-current";
199 compatible = "foo,i-leak-current";
/Linux-v4.19/drivers/staging/wlan-ng/
Dp80211conv.c117 int foo; in skb_ether_to_p80211() local
209 foo = wep_encrypt(wlandev, skb->data, p80211_wep->data, in skb_ether_to_p80211()
213 if (foo) { in skb_ether_to_p80211()
216 foo); in skb_ether_to_p80211()
289 int foo; in skb_p80211_to_ether() local
329 foo = wep_decrypt(wlandev, skb->data + payload_offset + 4, in skb_p80211_to_ether()
334 if (foo) { in skb_p80211_to_ether()
337 foo); in skb_p80211_to_ether()
/Linux-v4.19/Documentation/RCU/
Drcu_dereference.txt197 struct foo {
202 struct foo *gp1;
203 struct foo *gp2;
207 struct foo *p;
223 struct foo *p;
224 struct foo *q;
249 struct foo {
255 struct foo *gp1;
256 struct foo *gp2;
260 struct foo *p;
[all …]
/Linux-v4.19/Documentation/driver-api/
Dpinctl.rst75 .name = "foo",
371 group "foo"::
373 pinctrl_get_group_pins(pctl, "foo", &gpio_range.pins,
957 PIN_MAP_MUX_GROUP("uart", PINCTRL_STATE_DEFAULT, "pinctrl-foo",
959 PIN_MAP_CONFIGS_PIN("uart", PINCTRL_STATE_DEFAULT, "pinctrl-foo",
961 PIN_MAP_MUX_GROUP("uart", PINCTRL_STATE_SLEEP, "pinctrl-foo",
963 PIN_MAP_CONFIGS_PIN("uart", PINCTRL_STATE_SLEEP, "pinctrl-foo",
1013 .dev_name = "foo-spi.0",
1016 .ctrl_dev_name = "pinctrl-foo",
1020 .dev_name = "foo-i2c.0",
[all …]
/Linux-v4.19/arch/x86/kernel/fpu/
Dregset.c249 env->foo = fxsave->rdp; in convert_from_fxsr()
264 env->foo = fxsave->foo; in convert_from_fxsr()
287 fxsave->rdp = env->foo; in convert_to_fxsr()
292 fxsave->foo = env->foo; in convert_to_fxsr()

12345678