Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 11 of 11) sorted by relevance

/samples/kfifo/
Drecord-example.c73 char buf[100]; in testfunc() local
76 struct { unsigned char buf[6]; } hello = { "hello" }; in testfunc() member
122 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write()
140 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read()
Dinttype-example.c56 int buf[6]; in testfunc() local
108 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write()
126 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read()
Dbytestream-example.c56 unsigned char buf[6]; in testfunc() local
115 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write()
133 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read()
/samples/kobject/
Dkobject-example.c31 char *buf) in foo_show()
37 const char *buf, size_t count) in foo_store()
57 char *buf) in b_show()
69 const char *buf, size_t count) in b_store()
Dkset-example.c56 char *buf) in foo_attr_show()
76 const char *buf, size_t len) in foo_attr_store()
115 char *buf) in foo_show()
121 const char *buf, size_t count) in foo_store()
141 char *buf) in b_show()
153 const char *buf, size_t count) in b_store()
/samples/seccomp/
Dbpf-fancy.c33 char buf[256]; in main() local
Dbpf-direct.c65 char *buf; in emulator() local
165 char buf[4096]; in main() local
/samples/hidraw/
Dhid-example.c46 char buf[256]; in main() local
/samples/bpf/
Dbpf_load.c53 char buf[256]; in load_and_attach() local
336 static char buf[4096]; in read_trace_pipe() local
Dtrace_output_user.c70 char buf[256]; in perf_event_read() local
/samples/uhid/
Duhid-example.c302 char buf[128]; in keyboard() local