| /src/sys/compat/linuxkpi/common/include/linux/ |
| H A D | file.h | 47 struct linux_file; 53 static inline struct linux_file * 68 return ((struct linux_file *)file->f_data); in linux_fget() 71 extern void linux_file_free(struct linux_file *filp); 74 fput(struct linux_file *filp) in fput() 83 file_count(struct linux_file *filp) in file_count() 109 fd_install(unsigned int fd, struct linux_file *filp) in fd_install() 158 extern struct linux_file *linux_file_alloc(void); 160 static inline struct linux_file * 163 struct linux_file *filp; in alloc_file() [all …]
|
| H A D | seq_file.h | 45 static int __name ## _open(struct inode *inode, struct linux_file *file) \ 59 static int __name ## _open(struct inode *inode, struct linux_file *file) \ 77 const struct linux_file *file; 88 ssize_t seq_read(struct linux_file *, char __user *, size_t, off_t *); 94 void *__seq_open_private(struct linux_file *, const struct seq_operations *, int); 95 int seq_release_private(struct inode *, struct linux_file *); 97 int seq_open(struct linux_file *f, const struct seq_operations *op); 98 int seq_release(struct inode *inode, struct linux_file *file); 100 off_t seq_lseek(struct linux_file *file, off_t offset, int whence); 101 int single_open(struct linux_file *, int (*)(struct seq_file *, void *), void *); [all …]
|
| H A D | fs.h | 83 struct linux_file { struct 116 #define file linux_file argument 138 ssize_t (*read)(struct linux_file *, char __user *, size_t, off_t *); 139 ssize_t (*write)(struct linux_file *, const char __user *, size_t, off_t *); 140 unsigned int (*poll) (struct linux_file *, struct poll_table_struct *); 141 long (*unlocked_ioctl)(struct linux_file *, unsigned int, unsigned long); 142 long (*compat_ioctl)(struct linux_file *, unsigned int, unsigned long); 143 int (*mmap)(struct linux_file *, struct vm_area_struct *); 145 int (*release)(struct inode *, struct linux_file *); 146 int (*fasync)(int, struct linux_file *, int); [all …]
|
| H A D | poll.h | 42 extern void linux_poll_wait(struct linux_file *, wait_queue_head_t *, poll_table *); 45 extern void linux_poll_wakeup(struct linux_file *);
|
| H A D | shmem_fs.h | 40 struct linux_file *linux_shmem_file_setup(const char *name, loff_t size,
|
| H A D | mm.h | 117 struct linux_file *vm_file; 434 void vma_set_file(struct vm_area_struct *vma, struct linux_file *file);
|
| H A D | sysfs.h | 56 ssize_t (*read)(struct linux_file *, struct kobject *, 58 ssize_t (*write)(struct linux_file *, struct kobject *,
|
| /src/sys/compat/linuxkpi/common/src/ |
| H A D | linux_seq_file.c | 43 seq_read(struct linux_file *f, char __user *ubuf, size_t size, off_t *ppos) in seq_read() 104 seq_lseek(struct linux_file *file, off_t offset, int whence) in seq_lseek() 132 _seq_open_without_sbuf(struct linux_file *f, const struct seq_operations *op) in _seq_open_without_sbuf() 146 seq_open(struct linux_file *f, const struct seq_operations *op) in seq_open() 158 __seq_open_private(struct linux_file *f, const struct seq_operations *op, int size) in __seq_open_private() 181 _single_open_without_sbuf(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in _single_open_without_sbuf() 202 single_open(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in single_open() 214 single_open_size(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d, size_t size) in single_open_size() 227 seq_release(struct inode *inode __unused, struct linux_file *file) in seq_release() 242 seq_release_private(struct inode *inode __unused, struct linux_file *f) in seq_release_private() [all …]
|
| H A D | linux_compat.c | 398 linux_file_kqfilter_poll(struct linux_file *, int); 400 struct linux_file * 403 struct linux_file *filp; in linux_file_alloc() 419 linux_file_free(struct linux_file *filp) in linux_file_free() 666 vma_set_file(struct vm_area_struct *vma, struct linux_file *file) in vma_set_file() 668 struct linux_file *tmp; in vma_set_file() 689 linux_get_fop(struct linux_file *filp, const struct file_operations **fop, in linux_get_fop() 748 struct linux_file *filp; in linux_dev_fdopen() 917 linux_file_ioctl_sub(struct file *fp, struct linux_file *filp, in linux_file_ioctl_sub() 1009 struct linux_file *filp = container_of(wq, struct linux_file, f_wait_queue.wq); in linux_poll_wakeup_callback() [all …]
|
| H A D | linux_shmemfs.c | 62 struct linux_file * 66 struct linux_file file __aligned(sizeof(void *)); in linux_shmem_file_setup() 69 struct linux_file *filp; in linux_shmem_file_setup()
|
| /src/sys/modules/linux64/ |
| H A D | Makefile | 10 linux_file.c \
|
| /src/sys/modules/linux/ |
| H A D | Makefile | 15 linux_file.c \
|
| /src/sys/compat/lindebugfs/ |
| H A D | lindebugfs.c | 118 struct linux_file lf = {}; in debugfs_fill()
|