/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | file.h | 42 struct linux_file; 48 static inline struct linux_file * 63 return ((struct linux_file *)file->f_data); in linux_fget() 66 extern void linux_file_free(struct linux_file *filp); 69 fput(struct linux_file *filp) in fput() 78 file_count(struct linux_file *filp) in file_count() 104 fd_install(unsigned int fd, struct linux_file *filp) in fd_install() 153 extern struct linux_file *linux_file_alloc(void); 155 static inline struct linux_file * 158 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 *, 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 *,
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_seq_file.c | 43 seq_read(struct linux_file *f, char *ubuf, size_t size, off_t *ppos) in seq_read() 110 seq_lseek(struct linux_file *file, off_t offset, int whence) in seq_lseek() 138 _seq_open_without_sbuf(struct linux_file *f, const struct seq_operations *op) in _seq_open_without_sbuf() 152 seq_open(struct linux_file *f, const struct seq_operations *op) in seq_open() 164 __seq_open_private(struct linux_file *f, const struct seq_operations *op, int size) in __seq_open_private() 187 _single_open_without_sbuf(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in _single_open_without_sbuf() 208 single_open(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in single_open() 220 single_open_size(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d, size_t size) in single_open_size() 233 seq_release(struct inode *inode __unused, struct linux_file *file) in seq_release() 248 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() 70 struct linux_file *filp; in linux_shmem_file_setup()
|
/freebsd/sys/modules/linux64/ |
H A D | Makefile | 10 linux_file.c \
|
/freebsd/sys/modules/linux/ |
H A D | Makefile | 15 linux_file.c \
|
/freebsd/sys/compat/lindebugfs/ |
H A D | lindebugfs.c | 118 struct linux_file lf = {}; in debugfs_fill()
|