Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 18 of 18) 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()
138 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()
124 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()
131 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.c34 char buf[256]; in main() local
Dbpf-direct.c66 char *buf; in emulator() local
166 char buf[4096]; in main() local
/samples/bpf/
Dtest_overhead_user.c39 char buf[] = "test\n"; in test_task_rename() local
63 char buf[4]; in test_urandom_read() local
Dbpf_load.c72 char buf[256]; in load_and_attach() local
613 static char buf[4096]; in read_trace_pipe() local
636 char func[256], buf[256]; in load_kallsyms() local
690 char buf[4096]; in set_link_xdp_fd() local
Dcgroup_helpers.c31 #define format_cgroup_path(buf, path) \ argument
Dcookie_uid_helper_example.c215 char buf; in udp_client() local
Dtrace_output_user.c70 char buf[256]; in perf_event_read() local
/samples/connector/
Ducon.c65 char buf[128]; in netlink_send() local
114 char buf[1024]; in main() local
/samples/vfio-mdev/
Dmtty.c174 void dump_buffer(u8 *buf, uint32_t count) in dump_buffer()
253 u8 *buf, u32 count) in handle_pci_cfg_write()
307 u16 offset, u8 *buf, u32 count) in handle_bar_write()
478 u16 offset, u8 *buf, u32 count) in handle_bar_read()
653 static ssize_t mdev_access(struct mdev_device *mdev, u8 *buf, size_t count, in mdev_access()
818 ssize_t mtty_read(struct mdev_device *mdev, char __user *buf, size_t count, in mtty_read()
877 ssize_t mtty_write(struct mdev_device *mdev, const char __user *buf, in mtty_write()
1288 char *buf) in sample_mtty_dev_show()
1312 char *buf) in sample_mdev_dev_show()
1338 name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show()
[all …]
/samples/hidraw/
Dhid-example.c47 char buf[256]; in main() local
/samples/sockmap/
Dsockmap_user.c55 char buf[1024] = {0}; in sockmap_test_sockets() local
/samples/uhid/
Duhid-example.c303 char buf[128]; in keyboard() local
/samples/v4l/
Dv4l2-pci-skeleton.c216 struct skel_buffer *buf = to_skel_buffer(vb); in buffer_queue() local
230 struct skel_buffer *buf, *node; in return_all_buffers() local