Searched defs:file_operations (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/ |
D | fs.h | 5 struct file_operations { struct 6 ssize_t (*read) (struct file *, char *, size_t, loff_t *); 7 int (*open) (struct inode *, struct file *); 8 int (*release) (struct inode *, struct file *); 9 ssize_t (*write) (struct file *, const char *, size_t, loff_t *);
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | kernel.h | 469 struct file_operations { struct 470 struct module *owner; 471 unused_func_t llseek; 472 unused_func_t read; 473 unused_func_t write; 474 unused_func_t aio_read; 475 unused_func_t aio_write; 476 unused_func_t readdir; 477 unused_func_t poll; 478 unused_func_t unlocked_ioctl; [all …]
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 303 struct file_operations { struct 304 struct module *owner; 305 loff_t (*llseek)(struct file *, loff_t, int); 306 ssize_t (*read)(struct file *, char *, size_t, loff_t *); 307 ssize_t (*write)(struct file *, const char *, size_t, loff_t *); 308 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *); 309 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *); 310 int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int); 311 int (*iterate)(struct file *, struct dir_context *); 312 int (*iterate_shared)(struct file *, struct dir_context *); [all …]
|