Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 60) sorted by relevance

123

/arch/sh/boards/mach-landisk/
Dgio.c28 static int gio_open(struct inode *inode, struct file *filp) in gio_open()
46 static int gio_close(struct inode *inode, struct file *filp) in gio_close()
56 static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gio_ioctl()
/arch/mips/mm/
Dmmap.c29 static unsigned long arch_get_unmapped_area_common(struct file *filp, in arch_get_unmapped_area_common()
101 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area()
112 unsigned long arch_get_unmapped_area_topdown(struct file *filp, in arch_get_unmapped_area_topdown()
/arch/loongarch/mm/
Dmmap.c19 static unsigned long arch_get_unmapped_area_common(struct file *filp, in arch_get_unmapped_area_common()
91 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area()
102 unsigned long arch_get_unmapped_area_topdown(struct file *filp, in arch_get_unmapped_area_topdown()
/arch/mips/sibyte/common/
Dsb_tbprof.c253 static int sbprof_zbprof_start(struct file *filp) in sbprof_zbprof_start()
389 static int sbprof_tb_open(struct inode *inode, struct file *filp) in sbprof_tb_open()
418 static int sbprof_tb_release(struct inode *inode, struct file *filp) in sbprof_tb_release()
440 static ssize_t sbprof_tb_read(struct file *filp, char __user *buf, in sbprof_tb_read()
491 static long sbprof_tb_ioctl(struct file *filp, in sbprof_tb_ioctl()
/arch/arm/mm/
Dmmap.c30 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
81 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown()
/arch/sh/mm/
Dmmap.c54 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
101 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown()
/arch/s390/mm/
Dmmap.c74 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
113 unsigned long arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr, in arch_get_unmapped_area_topdown()
/arch/m68k/emu/
Dnfcon.c64 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) in nfcon_tty_open()
69 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) in nfcon_tty_close()
/arch/xtensa/platforms/iss/
Dconsole.c40 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open()
48 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close()
/arch/csky/abiv1/
Dmmap.c25 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
/arch/arm64/kvm/
Dhyp_events.c68 hyp_event_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) in hyp_event_write()
109 static int hyp_event_open(struct inode *inode, struct file *filp) in hyp_event_open()
131 static int hyp_event_id_open(struct inode *inode, struct file *filp) in hyp_event_id_open()
183 static ssize_t hyp_header_page_read(struct file *filp, char __user *ubuf, in hyp_header_page_read()
Dhyp_trace.c343 hyp_tracing_on(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) in hyp_tracing_on()
368 static ssize_t hyp_tracing_on_read(struct file *filp, char __user *ubuf, in hyp_tracing_on_read()
386 static ssize_t hyp_buffer_size(struct file *filp, const char __user *ubuf, in hyp_buffer_size()
406 static ssize_t hyp_buffer_size_read(struct file *filp, char __user *ubuf, in hyp_buffer_size_read()
749 static ssize_t hyp_trace_read(struct file *filp, char __user *ubuf, in hyp_trace_read()
757 static ssize_t hyp_trace_write(struct file *filp, const char __user *ubuf, in hyp_trace_write()
/arch/arc/mm/
Dmmap.c29 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
/arch/x86/kernel/
Dsys_x86_64.c123 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
161 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown()
/arch/riscv/kvm/
Dmain.c17 long kvm_arch_dev_ioctl(struct file *filp, in kvm_arch_dev_ioctl()
/arch/powerpc/platforms/cell/spufs/
Dsyscalls.c34 static long do_spu_run(struct file *filp, in do_spu_run()
/arch/powerpc/platforms/pseries/
Ddtl.c240 static int dtl_file_open(struct inode *inode, struct file *filp) in dtl_file_open()
253 static int dtl_file_release(struct inode *inode, struct file *filp) in dtl_file_release()
260 static ssize_t dtl_file_read(struct file *filp, char __user *buf, size_t len, in dtl_file_read()
/arch/powerpc/platforms/powernv/
Dopal-xscom.c87 static ssize_t scom_debug_read(struct file *filp, char __user *ubuf, in scom_debug_read()
118 static ssize_t scom_debug_write(struct file *filp, const char __user *ubuf, in scom_debug_write()
/arch/s390/pci/
Dpci_sysfs.c123 static ssize_t util_string_read(struct file *filp, struct kobject *kobj, in util_string_read()
136 static ssize_t report_error_write(struct file *filp, struct kobject *kobj, in report_error_write()
/arch/parisc/kernel/
Dsys_parisc.c33 #define GET_FILP_PGOFF(filp) \ argument
99 static unsigned long arch_get_unmapped_area_common(struct file *filp, in arch_get_unmapped_area_common()
169 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
176 unsigned long arch_get_unmapped_area_topdown(struct file *filp, in arch_get_unmapped_area_topdown()
/arch/xtensa/kernel/
Dsyscall.c57 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
/arch/x86/kernel/cpu/mce/
Ddev-mcelog.c202 static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf, in mce_chrdev_read()
293 static ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf, in mce_chrdev_write()
/arch/mips/kernel/
Drtlx.c329 static int file_open(struct inode *inode, struct file *filp) in file_open()
334 static int file_release(struct inode *inode, struct file *filp) in file_release()
/arch/alpha/kernel/
Dsrmcons.c151 srmcons_open(struct tty_struct *tty, struct file *filp) in srmcons_open()
172 srmcons_close(struct tty_struct *tty, struct file *filp) in srmcons_close()
/arch/powerpc/kernel/
Deeh.c1591 static struct pci_dev *eeh_debug_lookup_pdev(struct file *filp, in eeh_debug_lookup_pdev()
1640 static ssize_t eeh_force_recover_write(struct file *filp, in eeh_force_recover_write()
1696 static ssize_t eeh_debugfs_dev_usage(struct file *filp, in eeh_debugfs_dev_usage()
1706 static ssize_t eeh_dev_check_write(struct file *filp, in eeh_dev_check_write()
1834 static ssize_t eeh_dev_break_write(struct file *filp, in eeh_dev_break_write()
1861 static ssize_t eeh_dev_can_recover(struct file *filp, in eeh_dev_can_recover()

123