Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 141) sorted by relevance

123456

/arch/um/drivers/
Dmmapper_kern.c29 static ssize_t mmapper_read(struct file *file, char __user *buf, size_t count, in mmapper_read()
35 static ssize_t mmapper_write(struct file *file, const char __user *buf, in mmapper_write()
44 static long mmapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in mmapper_ioctl()
49 static int mmapper_mmap(struct file *file, struct vm_area_struct *vma) in mmapper_mmap()
73 static int mmapper_open(struct inode *inode, struct file *file) in mmapper_open()
78 static int mmapper_release(struct inode *inode, struct file *file) in mmapper_release()
Dharddog_kern.c65 static int harddog_open(struct inode *inode, struct file *file) in harddog_open()
97 static int harddog_release(struct inode *inode, struct file *file) in harddog_release()
117 static ssize_t harddog_write(struct file *file, const char __user *data, size_t len, in harddog_write()
128 static int harddog_ioctl_unlocked(struct file *file, in harddog_ioctl_unlocked()
152 static long harddog_ioctl(struct file *file, in harddog_ioctl()
Dhostaudio_kern.c70 static ssize_t hostaudio_read(struct file *file, char __user *buffer, in hostaudio_read()
97 static ssize_t hostaudio_write(struct file *file, const char __user *buffer, in hostaudio_write()
122 static __poll_t hostaudio_poll(struct file *file, in hostaudio_poll()
134 static long hostaudio_ioctl(struct file *file, in hostaudio_ioctl()
177 static int hostaudio_open(struct inode *inode, struct file *file) in hostaudio_open()
213 static int hostaudio_release(struct inode *inode, struct file *file) in hostaudio_release()
228 static long hostmixer_ioctl_mixdev(struct file *file, in hostmixer_ioctl_mixdev()
240 static int hostmixer_open_mixdev(struct inode *inode, struct file *file) in hostmixer_open_mixdev()
278 static int hostmixer_release(struct inode *inode, struct file *file) in hostmixer_release()
/arch/arm64/include/asm/
Dasm-bug.h11 #define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line) argument
12 #define __BUGVERBOSE_LOCATION(file, line) \ argument
20 #define _BUGVERBOSE_LOCATION(file, line) argument
/arch/powerpc/platforms/cell/spufs/
Dfile.c43 static int spufs_attr_open(struct inode *inode, struct file *file, in spufs_attr_open()
63 static int spufs_attr_release(struct inode *inode, struct file *file) in spufs_attr_release()
69 static ssize_t spufs_attr_read(struct file *file, char __user *buf, in spufs_attr_read()
102 static ssize_t spufs_attr_write(struct file *file, const char __user *buf, in spufs_attr_write()
148 spufs_mem_open(struct inode *inode, struct file *file) in spufs_mem_open()
162 spufs_mem_release(struct inode *inode, struct file *file) in spufs_mem_release()
184 spufs_mem_read(struct file *file, char __user *buffer, in spufs_mem_read()
200 spufs_mem_write(struct file *file, const char __user *buffer, in spufs_mem_write()
282 static int spufs_mem_mmap(struct file *file, struct vm_area_struct *vma) in spufs_mem_mmap()
372 static int spufs_cntl_mmap(struct file *file, struct vm_area_struct *vma) in spufs_cntl_mmap()
[all …]
/arch/powerpc/kernel/
Dproc_powerpc.c19 static loff_t page_map_seek(struct file *file, loff_t off, int whence) in page_map_seek()
24 static ssize_t page_map_read( struct file *file, char __user *buf, size_t nbytes, in page_map_read()
31 static int page_map_mmap( struct file *file, struct vm_area_struct *vma ) in page_map_mmap()
Drtas-proc.c157 static int poweron_open(struct inode *inode, struct file *file) in poweron_open()
170 static int progress_open(struct inode *inode, struct file *file) in progress_open()
183 static int clock_open(struct inode *inode, struct file *file) in clock_open()
196 static int tone_freq_open(struct inode *inode, struct file *file) in tone_freq_open()
209 static int tone_volume_open(struct inode *inode, struct file *file) in tone_volume_open()
282 static ssize_t ppc_rtas_poweron_write(struct file *file, in ppc_rtas_poweron_write()
316 static ssize_t ppc_rtas_progress_write(struct file *file, in ppc_rtas_progress_write()
348 static ssize_t ppc_rtas_clock_write(struct file *file, in ppc_rtas_clock_write()
707 static ssize_t ppc_rtas_tone_freq_write(struct file *file, in ppc_rtas_tone_freq_write()
732 static ssize_t ppc_rtas_tone_volume_write(struct file *file, in ppc_rtas_tone_volume_write()
/arch/powerpc/platforms/pseries/
Dscanlog.c42 static ssize_t scanlog_read(struct file *file, char __user *buf, in scanlog_read()
109 static ssize_t scanlog_write(struct file * file, const char __user * buf, in scanlog_write()
131 static int scanlog_open(struct inode * inode, struct file * file) in scanlog_open()
147 static int scanlog_release(struct inode * inode, struct file * file) in scanlog_release()
/arch/sh/mm/
Dasids-debugfs.c29 static int asids_seq_show(struct seq_file *file, void *iter) in asids_seq_show()
51 static int asids_debugfs_open(struct inode *inode, struct file *file) in asids_debugfs_open()
Dcache-debugfs.c25 static int cache_seq_show(struct seq_file *file, void *iter) in cache_seq_show()
97 static int cache_debugfs_open(struct inode *inode, struct file *file) in cache_debugfs_open()
/arch/x86/kernel/cpu/mtrr/
Dif.c39 unsigned int type, bool increment, struct file *file, int page) in mtrr_file_add()
65 struct file *file, int page) in mtrr_file_del()
94 mtrr_write(struct file *file, const char __user *buf, size_t len, loff_t * ppos) in mtrr_write()
158 mtrr_ioctl(struct file *file, unsigned int cmd, unsigned long __arg) in mtrr_ioctl()
357 static int mtrr_close(struct inode *ino, struct file *file) in mtrr_close()
378 static int mtrr_open(struct inode *inode, struct file *file) in mtrr_open()
/arch/powerpc/platforms/powernv/
Dopal-prd.c86 static int opal_prd_open(struct inode *inode, struct file *file) in opal_prd_open()
104 static int opal_prd_mmap(struct file *file, struct vm_area_struct *vma) in opal_prd_mmap()
142 static __poll_t opal_prd_poll(struct file *file, in opal_prd_poll()
153 static ssize_t opal_prd_read(struct file *file, char __user *buf, in opal_prd_read()
216 static ssize_t opal_prd_write(struct file *file, const char __user *buf, in opal_prd_write()
251 static int opal_prd_release(struct inode *inode, struct file *file) in opal_prd_release()
265 static long opal_prd_ioctl(struct file *file, unsigned int cmd, in opal_prd_ioctl()
/arch/m68k/include/asm/
Dfb.h12 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
18 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
/arch/m68k/mvme16x/
Drtc.c38 static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in rtc_ioctl()
123 static int rtc_open(struct inode *inode, struct file *file) in rtc_open()
133 static int rtc_release(struct inode *inode, struct file *file) in rtc_release()
/arch/m68k/bvme6000/
Drtc.c39 static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in rtc_ioctl()
135 static int rtc_open(struct inode *inode, struct file *file) in rtc_open()
144 static int rtc_release(struct inode *inode, struct file *file) in rtc_release()
/arch/mips/lasat/
Dpicvue_proc.c60 static int pvc_line_proc_open(struct inode *inode, struct file *file) in pvc_line_proc_open()
65 static ssize_t pvc_line_proc_write(struct file *file, const char __user *buf, in pvc_line_proc_write()
101 static ssize_t pvc_scroll_proc_write(struct file *file, const char __user *buf, in pvc_scroll_proc_write()
146 static int pvc_scroll_proc_open(struct inode *inode, struct file *file) in pvc_scroll_proc_open()
/arch/x86/mm/
Dhugetlbpage.c80 static unsigned long hugetlb_get_unmapped_area_bottomup(struct file *file, in hugetlb_get_unmapped_area_bottomup()
103 static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file, in hugetlb_get_unmapped_area_topdown()
144 hugetlb_get_unmapped_area(struct file *file, unsigned long addr, in hugetlb_get_unmapped_area()
/arch/x86/kernel/
Dmsr.c45 static ssize_t msr_read(struct file *file, char __user *buf, in msr_read()
73 static ssize_t msr_write(struct file *file, const char __user *buf, in msr_write()
105 static long msr_ioctl(struct file *file, unsigned int ioc, unsigned long arg) in msr_ioctl()
156 static int msr_open(struct inode *inode, struct file *file) in msr_open()
/arch/mips/mm/
Dsc-debugfs.c13 static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, in sc_prefetch_read()
26 static ssize_t sc_prefetch_write(struct file *file, in sc_prefetch_write()
/arch/um/kernel/
Dexitcode.c34 static int exitcode_proc_open(struct inode *inode, struct file *file) in exitcode_proc_open()
39 static ssize_t exitcode_proc_write(struct file *file, in exitcode_proc_write()
/arch/parisc/kernel/
Dperf.c248 static int perf_open(struct inode *inode, struct file *file) in perf_open()
264 static int perf_release(struct inode *inode, struct file *file) in perf_release()
276 static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos) in perf_read()
288 static ssize_t perf_write(struct file *file, const char __user *buf, in perf_write()
427 static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in perf_ioctl()
/arch/mips/loongson64/common/
Dmem.c91 int __uncached_access(struct file *file, unsigned long addr) in __uncached_access()
109 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
/arch/s390/hypfs/
Dhypfs_dbfs.c31 static ssize_t dbfs_read(struct file *file, char __user *buf, in dbfs_read()
61 static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in dbfs_ioctl()
/arch/x86/include/asm/
Dfb.h9 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
/arch/sparc/kernel/
Dled.c62 static int led_proc_open(struct inode *inode, struct file *file) in led_proc_open()
67 static ssize_t led_proc_write(struct file *file, const char __user *buffer, in led_proc_write()

123456