| /samples/kfifo/ |
| D | record-example.c | 73 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()
|
| D | inttype-example.c | 56 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()
|
| D | bytestream-example.c | 56 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/ |
| D | kobject-example.c | 31 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()
|
| D | kset-example.c | 56 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/ |
| D | bpf-fancy.c | 34 char buf[256]; in main() local
|
| D | bpf-direct.c | 66 char *buf; in emulator() local 166 char buf[4096]; in main() local
|
| /samples/bpf/ |
| D | test_overhead_user.c | 39 char buf[] = "test\n"; in test_task_rename() local 63 char buf[4]; in test_urandom_read() local
|
| D | bpf_load.c | 72 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
|
| D | cgroup_helpers.c | 31 #define format_cgroup_path(buf, path) \ argument
|
| D | cookie_uid_helper_example.c | 215 char buf; in udp_client() local
|
| D | trace_output_user.c | 70 char buf[256]; in perf_event_read() local
|
| /samples/connector/ |
| D | ucon.c | 65 char buf[128]; in netlink_send() local 114 char buf[1024]; in main() local
|
| /samples/vfio-mdev/ |
| D | mtty.c | 174 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/ |
| D | hid-example.c | 47 char buf[256]; in main() local
|
| /samples/sockmap/ |
| D | sockmap_user.c | 55 char buf[1024] = {0}; in sockmap_test_sockets() local
|
| /samples/uhid/ |
| D | uhid-example.c | 303 char buf[128]; in keyboard() local
|
| /samples/v4l/ |
| D | v4l2-pci-skeleton.c | 216 struct skel_buffer *buf = to_skel_buffer(vb); in buffer_queue() local 230 struct skel_buffer *buf, *node; in return_all_buffers() local
|