| /samples/kfifo/ |
| A D | record-example.c | 71 char buf[100]; in testfunc() local 74 struct { unsigned char buf[6]; } hello = { "hello" }; in testfunc() member 120 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()
|
| A D | inttype-example.c | 54 int buf[6]; in testfunc() local 106 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()
|
| A D | bytestream-example.c | 54 unsigned char buf[6]; in testfunc() local 113 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/ |
| A D | kobject-example.c | 29 char *buf) in foo_show() 35 const char *buf, size_t count) in foo_store() 55 char *buf) in b_show() 67 const char *buf, size_t count) in b_store()
|
| A D | kset-example.c | 54 char *buf) in foo_attr_show() 74 const char *buf, size_t len) in foo_attr_store() 113 char *buf) in foo_show() 119 const char *buf, size_t count) in foo_store() 139 char *buf) in b_show() 151 const char *buf, size_t count) in b_store()
|
| /samples/bpf/ |
| A D | task_fd_query_user.c | 49 char buf[256]; in bpf_find_probe_type() local 71 char buf[256]; in bpf_get_retprobe_bit() local 97 char buf[256]; in test_debug_fs_kprobe() local 125 char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, in test_nondebug_fs_kuprobe_common() 177 char *buf, __u32 buf_len) in test_nondebug_fs_probe() 229 char buf[256], event_alias[sizeof("test_1234567890")]; in test_debug_fs_uprobe() local 313 char filename[256], buf[256]; in main() local
|
| A D | tracex6.bpf.c | 59 struct bpf_perf_event_value *val, buf; in BPF_KPROBE() local
|
| A D | xdp_router_ipv4_user.c | 35 static char buf[8192]; variable 264 char buf[8192]; in get_route_table() member 400 char buf[8192]; in get_arp_table() member
|
| A D | cookie_uid_helper_example.c | 224 char buf; in udp_client() local
|
| A D | hbm.c | 95 static char buf[4097]; in read_trace_pipe2() local
|
| /samples/seccomp/ |
| A D | bpf-fancy.c | 34 char buf[256]; in main() local
|
| A D | user-trap.c | 37 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in send_fd() local 68 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in recv_fd() local
|
| A D | bpf-direct.c | 66 char *buf; in emulator() local 166 char buf[4096]; in main() local
|
| /samples/connector/ |
| A D | ucon.c | 51 char buf[128]; in netlink_send() local 100 char buf[1024]; in main() local
|
| /samples/vfio-mdev/ |
| A D | mdpy.c | 149 char *buf, u32 count) in handle_pci_cfg_write() 173 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() 301 static ssize_t mdpy_read(struct vfio_device *vdev, char __user *buf, in mdpy_read() 362 static ssize_t mdpy_write(struct vfio_device *vdev, const char __user *buf, in mdpy_write() 629 char *buf) in resolution_show() 654 static ssize_t mdpy_show_description(struct mdev_type *mtype, char *buf) in mdpy_show_description()
|
| A D | mbochs.c | 167 struct dma_buf *buf; member 309 char *buf, u32 count) in handle_pci_cfg_write() 337 char *buf, u32 count) in handle_mmio_write() 367 char *buf, u32 count) in handle_mmio_read() 404 char *buf, u32 count, bool is_write) in handle_edid_regs() 431 char *buf, u32 count, bool is_write) in handle_edid_blob() 441 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() 610 static ssize_t mbochs_read(struct vfio_device *vdev, char __user *buf, in mbochs_read() 907 static void mbochs_release_dmabuf(struct dma_buf *buf) in mbochs_release_dmabuf() 1010 struct dma_buf *buf; in mbochs_dmabuf_export() local [all …]
|
| A D | mtty.c | 202 static void dump_buffer(u8 *buf, uint32_t count) in dump_buffer() 311 u8 *buf, u32 count) in handle_pci_cfg_write() 365 u16 offset, u8 *buf, u32 count) in handle_bar_write() 533 u16 offset, u8 *buf, u32 count) in handle_bar_read() 707 static ssize_t mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, in mdev_access() 884 static ssize_t mtty_save_read(struct file *filp, char __user *buf, in mtty_save_read() 1020 static ssize_t mtty_resume_write(struct file *filp, const char __user *buf, in mtty_resume_write() 1417 static ssize_t mtty_read(struct vfio_device *vdev, char __user *buf, in mtty_read() 1478 static ssize_t mtty_write(struct vfio_device *vdev, const char __user *buf, in mtty_write() 1906 char *buf) in sample_mdev_dev_show()
|
| /samples/hidraw/ |
| A D | hid-example.c | 47 char buf[256]; in main() local
|
| /samples/vfs/ |
| A D | mountinfo.c | 37 struct statmount *buf, size_t bufsize, in statmount() 131 struct statmount *buf = alloca(STATMOUNT_BUFSIZE); in dump_mountinfo() local
|
| A D | test-fsmount.c | 22 char buf[4096]; in check_messages() local
|
| /samples/pidfd/ |
| A D | pidfd-metadata.c | 87 char buf[4096] = { 0 }; in main() local
|
| /samples/check-exec/ |
| A D | inc.c | 80 char buf[128] = {}; in interpret_stream() local
|
| /samples/uhid/ |
| A D | uhid-example.c | 303 char buf[128]; in keyboard() local
|
| /samples/v4l/ |
| A D | v4l2-pci-skeleton.c | 207 struct skel_buffer *buf = to_skel_buffer(vbuf); in buffer_queue() local 221 struct skel_buffer *buf, *node; in return_all_buffers() local
|