/arch/x86/mm/ |
D | debug_pagetables.c | 12 static int ptdump_open(struct inode *inode, struct file *filp) in ptdump_open() argument 14 return single_open(filp, ptdump_show, NULL); in ptdump_open() 35 static int ptdump_open_curknl(struct inode *inode, struct file *filp) in ptdump_open_curknl() argument 37 return single_open(filp, ptdump_show_curknl, NULL); in ptdump_open_curknl() 61 static int ptdump_open_curusr(struct inode *inode, struct file *filp) in ptdump_open_curusr() argument 63 return single_open(filp, ptdump_show_curusr, NULL); in ptdump_open_curusr()
|
/arch/frv/mm/ |
D | elf-fdpic.c | 60 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, in arch_get_unmapped_area() argument 104 len, filp ? filp->f_path.dentry->d_name.name : ""); in arch_get_unmapped_area() 111 len, addr, filp ? filp->f_path.dentry->d_name.name : ""); in arch_get_unmapped_area()
|
/arch/parisc/kernel/ |
D | sys_parisc.c | 43 #define GET_LAST_MMAP(filp) \ argument 44 (filp ? ((unsigned long) filp->f_mapping) >> 8 : 0UL) 45 #define SET_LAST_MMAP(filp, val) \ argument 89 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 102 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 104 last_mmap = GET_LAST_MMAP(filp); in arch_get_unmapped_area() 137 SET_LAST_MMAP(filp, addr - (pgoff << PAGE_SHIFT)); in arch_get_unmapped_area() 143 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 163 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown() 165 last_mmap = GET_LAST_MMAP(filp); in arch_get_unmapped_area_topdown() [all …]
|
/arch/um/drivers/ |
D | random.c | 34 static int rng_dev_open (struct inode *inode, struct file *filp) in rng_dev_open() argument 37 if ((filp->f_mode & FMODE_READ) == 0) in rng_dev_open() 39 if ((filp->f_mode & FMODE_WRITE) != 0) in rng_dev_open() 47 static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size, in rng_dev_read() argument 71 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
|
D | line.h | 59 extern void line_close(struct tty_struct *tty, struct file * filp); 60 extern int line_open(struct tty_struct *tty, struct file *filp);
|
/arch/mips/mm/ |
D | mmap.c | 56 static unsigned long arch_get_unmapped_area_common(struct file *filp, in arch_get_unmapped_area_common() argument 85 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_common() 128 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area() argument 131 return arch_get_unmapped_area_common(filp, in arch_get_unmapped_area() 139 unsigned long arch_get_unmapped_area_topdown(struct file *filp, in arch_get_unmapped_area_topdown() argument 143 return arch_get_unmapped_area_common(filp, in arch_get_unmapped_area_topdown()
|
/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 34 static long do_spu_run(struct file *filp, in do_spu_run() argument 48 if (filp->f_op != &spufs_context_fops) in do_spu_run() 51 i = SPUFS_I(file_inode(filp)); in do_spu_run()
|
D | inode.c | 302 struct file *filp; in spufs_context_open() local 308 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open() 309 if (IS_ERR(filp)) { in spufs_context_open() 311 return PTR_ERR(filp); in spufs_context_open() 314 filp->f_op = &spufs_context_fops; in spufs_context_open() 315 fd_install(ret, filp); in spufs_context_open() 321 struct file *filp) in spufs_assert_affinity() argument 346 if (!filp || filp->f_op != &spufs_context_fops) in spufs_assert_affinity() 350 SPUFS_I(file_inode(filp))->i_ctx); in spufs_assert_affinity() 521 struct file *filp; in spufs_gang_open() local [all …]
|
/arch/sh/mm/ |
D | mmap.c | 34 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 56 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 81 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 105 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown()
|
/arch/x86/kernel/ |
D | sys_x86_64.c | 132 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 166 if (filp) { in arch_get_unmapped_area() 174 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 223 if (filp) { in arch_get_unmapped_area_topdown() 239 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
|
/arch/sh/boards/mach-landisk/ |
D | gio.c | 32 static int gio_open(struct inode *inode, struct file *filp) in gio_open() argument 51 static int gio_close(struct inode *inode, struct file *filp) in gio_close() argument 62 static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gio_ioctl() argument
|
/arch/s390/mm/ |
D | mmap.c | 86 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 112 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 133 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 163 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown()
|
/arch/arm/mm/ |
D | mmap.c | 57 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 71 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area() 108 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 124 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area_topdown()
|
/arch/s390/hypfs/ |
D | inode.c | 117 static int hypfs_open(struct inode *inode, struct file *filp) in hypfs_open() argument 119 char *data = file_inode(filp)->i_private; in hypfs_open() 122 if (filp->f_mode & FMODE_WRITE) { in hypfs_open() 126 if (filp->f_mode & FMODE_READ) { in hypfs_open() 134 filp->private_data = kstrdup(data, GFP_KERNEL); in hypfs_open() 135 if (!filp->private_data) { in hypfs_open() 141 return nonseekable_open(inode, filp); in hypfs_open() 204 static int hypfs_release(struct inode *inode, struct file *filp) in hypfs_release() argument 206 kfree(filp->private_data); in hypfs_release()
|
/arch/blackfin/kernel/ |
D | sys_bfin.c | 45 unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, in get_fb_unmapped_area() argument 48 struct fb_info *info = filp->private_data; in get_fb_unmapped_area()
|
/arch/arc/mm/ |
D | mmap.c | 32 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 45 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area()
|
/arch/powerpc/sysdev/ |
D | scom.c | 105 static ssize_t scom_debug_read(struct file *filp, char __user *ubuf, in scom_debug_read() argument 108 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read() 142 static ssize_t scom_debug_write(struct file* filp, const char __user *ubuf, in scom_debug_write() argument 145 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write()
|
D | mv64x60_pci.c | 28 static ssize_t mv64x60_hs_reg_read(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_read() argument 49 static ssize_t mv64x60_hs_reg_write(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_write() argument
|
/arch/powerpc/platforms/powernv/ |
D | memtrace.c | 42 static ssize_t memtrace_read(struct file *filp, char __user *ubuf, in memtrace_read() argument 45 struct memtrace_entry *ent = filp->private_data; in memtrace_read() 60 static int memtrace_mmap(struct file *filp, struct vm_area_struct *vma) in memtrace_mmap() argument 63 struct memtrace_entry *dev = filp->private_data; in memtrace_mmap()
|
D | opal-lpc.c | 188 static ssize_t lpc_debug_read(struct file *filp, char __user *ubuf, in lpc_debug_read() argument 191 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() 279 static ssize_t lpc_debug_write(struct file *filp, const char __user *ubuf, in lpc_debug_write() argument 282 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write()
|
/arch/mips/sibyte/common/ |
D | sb_tbprof.c | 265 static int sbprof_zbprof_start(struct file *filp) in sbprof_zbprof_start() argument 276 filp->f_pos = 0; in sbprof_zbprof_start() 401 static int sbprof_tb_open(struct inode *inode, struct file *filp) in sbprof_tb_open() argument 430 static int sbprof_tb_release(struct inode *inode, struct file *filp) in sbprof_tb_release() argument 452 static ssize_t sbprof_tb_read(struct file *filp, char *buf, in sbprof_tb_read() argument 503 static long sbprof_tb_ioctl(struct file *filp, in sbprof_tb_ioctl() argument 512 err = sbprof_zbprof_start(filp); in sbprof_tb_ioctl()
|
/arch/powerpc/platforms/pseries/ |
D | dtl.c | 242 static int dtl_file_open(struct inode *inode, struct file *filp) in dtl_file_open() argument 251 filp->private_data = dtl; in dtl_file_open() 255 static int dtl_file_release(struct inode *inode, struct file *filp) in dtl_file_release() argument 262 static ssize_t dtl_file_read(struct file *filp, char __user *buf, size_t len, in dtl_file_read() argument 272 dtl = filp->private_data; in dtl_file_read()
|
/arch/s390/pci/ |
D | pci_debug.c | 150 static int pci_perf_seq_open(struct inode *inode, struct file *filp) in pci_perf_seq_open() argument 152 return single_open(filp, pci_perf_show, in pci_perf_seq_open() 153 file_inode(filp)->i_private); in pci_perf_seq_open()
|
/arch/powerpc/mm/ |
D | mmap.c | 103 radix__arch_get_unmapped_area(struct file *filp, unsigned long addr, in radix__arch_get_unmapped_area() argument 149 radix__arch_get_unmapped_area_topdown(struct file *filp, in radix__arch_get_unmapped_area_topdown() argument 205 return radix__arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in radix__arch_get_unmapped_area_topdown()
|
/arch/m68k/emu/ |
D | nfcon.c | 64 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) in nfcon_tty_open() argument 69 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) in nfcon_tty_close() argument
|