Home
last modified time | relevance | path

Searched refs:linux_file (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dfile.h42 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 Dseq_file.h41 static int __name ## _open(struct inode *inode, struct linux_file *file) \
58 const struct linux_file *file;
69 ssize_t seq_read(struct linux_file *, char *, size_t, off_t *);
75 void *__seq_open_private(struct linux_file *, const struct seq_operations *, int);
76 int seq_release_private(struct inode *, struct linux_file *);
78 int seq_open(struct linux_file *f, const struct seq_operations *op);
79 int seq_release(struct inode *inode, struct linux_file *file);
81 off_t seq_lseek(struct linux_file *file, off_t offset, int whence);
82 int single_open(struct linux_file *, int (*)(struct seq_file *, void *), void *);
83 int single_open_size(struct linux_file *, int (*)(struct seq_file *, void *), void *, size_t);
[all …]
H A Dfs.h83 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 *, in
84 _filelinux_file global() argument
108 f_wait_queuelinux_file global() argument
[all...]
H A Dpoll.h42 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 Dshmem_fs.h40 struct linux_file *linux_shmem_file_setup(const char *name, loff_t size,
H A Dmm.h117 struct linux_file *vm_file;
400 void vma_set_file(struct vm_area_struct *vma, struct linux_file *file);
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_seq_file.c43 seq_read(struct linux_file *f, char *ubuf, size_t size, off_t *ppos) in seq_read()
113 seq_lseek(struct linux_file *file, off_t offset, int whence) in seq_lseek()
141 _seq_open_without_sbuf(struct linux_file *f, const struct seq_operations *op) in _seq_open_without_sbuf()
155 seq_open(struct linux_file *f, const struct seq_operations *op) in seq_open()
167 __seq_open_private(struct linux_file *f, const struct seq_operations *op, int size) in __seq_open_private()
190 _single_open_without_sbuf(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in _single_open_without_sbuf()
211 single_open(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d) in single_open()
223 single_open_size(struct linux_file *f, int (*show)(struct seq_file *, void *), void *d, size_t size) in single_open_size()
236 seq_release(struct inode *inode __unused, struct linux_file *file) in seq_release()
251 seq_release_private(struct inode *inode __unused, struct linux_file *f) in seq_release_private()
[all …]
H A Dlinux_compat.c395 linux_file_kqfilter_poll(struct linux_file *, int);
397 struct linux_file *
400 struct linux_file *filp; in linux_file_alloc()
416 linux_file_free(struct linux_file *filp) in linux_file_free()
663 vma_set_file(struct vm_area_struct *vma, struct linux_file *file) in vma_set_file()
665 struct linux_file *tmp; in vma_set_file()
686 linux_get_fop(struct linux_file *filp, const struct file_operations **fop, in linux_get_fop()
745 struct linux_file *filp; in linux_dev_fdopen()
914 linux_file_ioctl_sub(struct file *fp, struct linux_file *filp, in linux_file_ioctl_sub()
1006 struct linux_file *filp = container_of(wq, struct linux_file, f_wait_queue.wq); in linux_poll_wakeup_callback()
[all …]
H A Dlinux_shmemfs.c62 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 DMakefile10 linux_file.c \
/freebsd/sys/modules/linux/
H A DMakefile15 linux_file.c \
/freebsd/sys/compat/lindebugfs/
H A Dlindebugfs.c118 struct linux_file lf = {}; in debugfs_fill()