file               13 arch/alpha/kernel/binfmt_loader.c 	struct file *file;
file               22 arch/alpha/kernel/binfmt_loader.c 	allow_write_access(bprm->file);
file               23 arch/alpha/kernel/binfmt_loader.c 	fput(bprm->file);
file               24 arch/alpha/kernel/binfmt_loader.c 	bprm->file = NULL;
file               28 arch/alpha/kernel/binfmt_loader.c 	file = open_exec("/sbin/loader");
file               29 arch/alpha/kernel/binfmt_loader.c 	retval = PTR_ERR(file);
file               30 arch/alpha/kernel/binfmt_loader.c 	if (IS_ERR(file))
file               36 arch/alpha/kernel/binfmt_loader.c 	bprm->file = file;
file              162 arch/alpha/kernel/osf_sys.c 	if (!arg.file)
file              165 arch/alpha/kernel/osf_sys.c 	error = iterate_dir(arg.file, &buf.ctx);
file             1299 arch/alpha/kernel/osf_sys.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file               93 arch/alpha/kernel/pci-sysfs.c static int pci_mmap_resource_sparse(struct file *filp, struct kobject *kobj,
file              100 arch/alpha/kernel/pci-sysfs.c static int pci_mmap_resource_dense(struct file *filp, struct kobject *kobj,
file               84 arch/alpha/kernel/srm_env.c static int srm_env_proc_open(struct inode *inode, struct file *file)
file               86 arch/alpha/kernel/srm_env.c 	return single_open(file, srm_env_proc_show, PDE_DATA(inode));
file               89 arch/alpha/kernel/srm_env.c static ssize_t srm_env_proc_write(struct file *file, const char __user *buffer,
file               93 arch/alpha/kernel/srm_env.c 	unsigned long	id = (unsigned long)PDE_DATA(file_inode(file));
file              158 arch/alpha/kernel/srmcons.c srmcons_open(struct tty_struct *tty, struct file *filp)
file              179 arch/alpha/kernel/srmcons.c srmcons_close(struct tty_struct *tty, struct file *filp)
file               80 arch/arc/include/asm/entry-arcv2.h 	; (B) Manually save the complete reg file below
file                9 arch/arc/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               18 arch/arc/kernel/arc_hostlink.c static int arc_hl_mmap(struct file *fp, struct vm_area_struct *vma)
file               31 arch/arc/kernel/arc_hostlink.c static long arc_hl_ioctl(struct file *file, unsigned int cmd,
file               65 arch/arc/kernel/troubleshoot.c 	struct file *exe_file;
file               29 arch/arc/mm/mmap.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file               18 arch/arm/common/bL_switcher_dummy_if.c static ssize_t bL_switcher_write(struct file *file, const char __user *buf,
file               24 arch/arm/include/asm/bug.h #define _BUG(file, line, value) __BUG(file, line, value)
file                8 arch/arm/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               49 arch/arm/include/asm/pgtable.h extern void __pte_error(const char *file, int line, pte_t);
file               50 arch/arm/include/asm/pgtable.h extern void __pmd_error(const char *file, int line, pmd_t);
file               51 arch/arm/include/asm/pgtable.h extern void __pgd_error(const char *file, int line, pgd_t);
file              132 arch/arm/include/asm/pgtable.h struct file;
file              133 arch/arm/include/asm/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               13 arch/arm/kernel/atags_proc.c static ssize_t atags_read(struct file *file, char __user *buf,
file               16 arch/arm/kernel/atags_proc.c 	struct buffer *b = PDE_DATA(file_inode(file));
file              744 arch/arm/kernel/traps.c void __pte_error(const char *file, int line, pte_t pte)
file              746 arch/arm/kernel/traps.c 	pr_err("%s:%d: bad pte %08llx.\n", file, line, (long long)pte_val(pte));
file              749 arch/arm/kernel/traps.c void __pmd_error(const char *file, int line, pmd_t pmd)
file              751 arch/arm/kernel/traps.c 	pr_err("%s:%d: bad pmd %08llx.\n", file, line, (long long)pmd_val(pmd));
file              754 arch/arm/kernel/traps.c void __pgd_error(const char *file, int line, pgd_t pgd)
file              756 arch/arm/kernel/traps.c 	pr_err("%s:%d: bad pgd %08llx.\n", file, line, (long long)pgd_val(pgd));
file              146 arch/arm/mm/alignment.c static int alignment_proc_open(struct inode *inode, struct file *file)
file              148 arch/arm/mm/alignment.c 	return single_open(file, alignment_proc_show, NULL);
file              151 arch/arm/mm/alignment.c static ssize_t alignment_proc_write(struct file *file, const char __user *buffer,
file               30 arch/arm/mm/mmap.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file               81 arch/arm/mm/mmap.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file              705 arch/arm/mm/mmu.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              710 arch/arm/mm/mmu.c 	else if (file->f_flags & O_SYNC)
file               15 arch/arm/mm/ptdump_debugfs.c static int ptdump_open(struct inode *inode, struct file *file)
file               17 arch/arm/mm/ptdump_debugfs.c 	return single_open(file, ptdump_show, inode->i_private);
file               11 arch/arm64/include/asm/asm-bug.h #define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line)
file               12 arch/arm64/include/asm/asm-bug.h #define __BUGVERBOSE_LOCATION(file, line)			\
file               14 arch/arm64/include/asm/asm-bug.h 	14472:	.string file;					\
file               20 arch/arm64/include/asm/asm-bug.h #define _BUGVERBOSE_LOCATION(file, line)
file               12 arch/arm64/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               38 arch/arm64/include/asm/pgtable.h extern void __pte_error(const char *file, int line, unsigned long val);
file               39 arch/arm64/include/asm/pgtable.h extern void __pmd_error(const char *file, int line, unsigned long val);
file               40 arch/arm64/include/asm/pgtable.h extern void __pud_error(const char *file, int line, unsigned long val);
file               41 arch/arm64/include/asm/pgtable.h extern void __pgd_error(const char *file, int line, unsigned long val);
file              432 arch/arm64/include/asm/pgtable.h struct file;
file              433 arch/arm64/include/asm/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              922 arch/arm64/kernel/traps.c void __pte_error(const char *file, int line, unsigned long val)
file              924 arch/arm64/kernel/traps.c 	pr_err("%s:%d: bad pte %016lx.\n", file, line, val);
file              927 arch/arm64/kernel/traps.c void __pmd_error(const char *file, int line, unsigned long val)
file              929 arch/arm64/kernel/traps.c 	pr_err("%s:%d: bad pmd %016lx.\n", file, line, val);
file              932 arch/arm64/kernel/traps.c void __pud_error(const char *file, int line, unsigned long val)
file              934 arch/arm64/kernel/traps.c 	pr_err("%s:%d: bad pud %016lx.\n", file, line, val);
file              937 arch/arm64/kernel/traps.c void __pgd_error(const char *file, int line, unsigned long val)
file              939 arch/arm64/kernel/traps.c 	pr_err("%s:%d: bad pgd %016lx.\n", file, line, val);
file               79 arch/arm64/mm/mmu.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               84 arch/arm64/mm/mmu.c 	else if (file->f_flags & O_SYNC)
file              420 arch/c6x/platforms/pll.c static int c6x_ck_open(struct inode *inode, struct file *file)
file              422 arch/c6x/platforms/pll.c 	return single_open(file, c6x_ck_show, NULL);
file               25 arch/csky/abiv1/mmap.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file              245 arch/csky/include/asm/pgtable.h struct file;
file              246 arch/csky/include/asm/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               60 arch/csky/mm/ioremap.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               65 arch/csky/mm/ioremap.c 	} else if (file->f_flags & O_SYNC) {
file               10 arch/ia64/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               13 arch/ia64/include/asm/hugetlb.h int prepare_hugepage_range(struct file *file,
file              356 arch/ia64/include/asm/pgtable.h struct file;
file              357 arch/ia64/include/asm/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              895 arch/ia64/kernel/efi.c phys_mem_access_prot(struct file *file, unsigned long pfn, unsigned long size,
file             1502 arch/ia64/kernel/perfmon.c pfm_read(struct file *filp, char __user *buf, size_t size, loff_t *ppos)
file             1595 arch/ia64/kernel/perfmon.c pfm_write(struct file *file, const char __user *ubuf,
file             1603 arch/ia64/kernel/perfmon.c pfm_poll(struct file *filp, poll_table * wait)
file             1638 arch/ia64/kernel/perfmon.c pfm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1648 arch/ia64/kernel/perfmon.c pfm_do_fasync(int fd, struct file *filp, pfm_context_t *ctx, int on)
file             1664 arch/ia64/kernel/perfmon.c pfm_fasync(int fd, struct file *filp, int on)
file             1767 arch/ia64/kernel/perfmon.c pfm_flush(struct file *filp, fl_owner_t id)
file             1906 arch/ia64/kernel/perfmon.c pfm_close(struct inode *inode, struct file *filp)
file             2128 arch/ia64/kernel/perfmon.c static struct file *
file             2131 arch/ia64/kernel/perfmon.c 	struct file *file;
file             2161 arch/ia64/kernel/perfmon.c 	file = alloc_file(&path, FMODE_READ, &pfm_file_ops);
file             2162 arch/ia64/kernel/perfmon.c 	if (IS_ERR(file)) {
file             2164 arch/ia64/kernel/perfmon.c 		return file;
file             2167 arch/ia64/kernel/perfmon.c 	file->f_flags = O_RDONLY;
file             2168 arch/ia64/kernel/perfmon.c 	file->private_data = ctx;
file             2170 arch/ia64/kernel/perfmon.c 	return file;
file             2196 arch/ia64/kernel/perfmon.c pfm_smpl_buffer_alloc(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned long rsize, void **user_vaddr)
file             2368 arch/ia64/kernel/perfmon.c pfm_setup_buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags,
file             2585 arch/ia64/kernel/perfmon.c 	struct file *filp;
file             4807 arch/ia64/kernel/perfmon.c 	if (unlikely(f.file == NULL)) {
file             4811 arch/ia64/kernel/perfmon.c 	if (unlikely(PFM_IS_FILE(f.file) == 0)) {
file             4816 arch/ia64/kernel/perfmon.c 	ctx = f.file->private_data;
file             4846 arch/ia64/kernel/perfmon.c 	if (f.file)
file              275 arch/ia64/kernel/salinfo.c salinfo_event_open(struct inode *inode, struct file *file)
file              283 arch/ia64/kernel/salinfo.c salinfo_event_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
file              285 arch/ia64/kernel/salinfo.c 	struct salinfo_data *data = PDE_DATA(file_inode(file));
file              292 arch/ia64/kernel/salinfo.c 		if (file->f_flags & O_NONBLOCK)
file              341 arch/ia64/kernel/salinfo.c salinfo_log_open(struct inode *inode, struct file *file)
file              366 arch/ia64/kernel/salinfo.c salinfo_log_release(struct inode *inode, struct file *file)
file              434 arch/ia64/kernel/salinfo.c salinfo_log_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
file              436 arch/ia64/kernel/salinfo.c 	struct salinfo_data *data = PDE_DATA(file_inode(file));
file              495 arch/ia64/kernel/salinfo.c salinfo_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
file              497 arch/ia64/kernel/salinfo.c 	struct salinfo_data *data = PDE_DATA(file_inode(file));
file               27 arch/ia64/kernel/sys_ia64.c arch_get_unmapped_area (struct file *filp, unsigned long addr, unsigned long len,
file               75 arch/ia64/mm/hugetlbpage.c int prepare_hugepage_range(struct file *file,
file              138 arch/ia64/mm/hugetlbpage.c unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len,
file              150 arch/ia64/mm/hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file               39 arch/m68k/bvme6000/rtc.c static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              135 arch/m68k/bvme6000/rtc.c static int rtc_open(struct inode *inode, struct file *file)
file              144 arch/m68k/bvme6000/rtc.c static int rtc_release(struct inode *inode, struct file *file)
file               64 arch/m68k/emu/nfcon.c static int nfcon_tty_open(struct tty_struct *tty, struct file *filp)
file               69 arch/m68k/emu/nfcon.c static void nfcon_tty_close(struct tty_struct *tty, struct file *filp)
file                8 arch/m68k/fpsp040/fpsp.h |       For details on the license for this file, please see the
file                9 arch/m68k/fpsp040/fpsp.h |       file, README, in this same directory.
file               12 arch/m68k/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               18 arch/m68k/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               22 arch/m68k/kernel/bootinfo_proc.c static ssize_t bootinfo_read(struct file *file, char __user *buf,
file               38 arch/m68k/mvme16x/rtc.c static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              123 arch/m68k/mvme16x/rtc.c static int rtc_open(struct inode *inode, struct file *file)
file              133 arch/m68k/mvme16x/rtc.c static int rtc_release(struct inode *inode, struct file *file)
file               63 arch/microblaze/include/asm/pci.h struct file;
file               64 arch/microblaze/include/asm/pci.h extern pgprot_t	pci_phys_mem_access_prot(struct file *file,
file              173 arch/microblaze/pci/pci-common.c pgprot_t pci_phys_mem_access_prot(struct file *file,
file              133 arch/mips/boot/elf2ecoff.c static char *saveRead(int file, off_t offset, off_t len, char *name)
file              138 arch/mips/boot/elf2ecoff.c 	if ((off = lseek(file, offset, SEEK_SET)) < 0) {
file              147 arch/mips/boot/elf2ecoff.c 	count = read(file, tmp, len);
file               47 arch/mips/cavium-octeon/oct_ilm.c static int oct_ilm_open(struct inode *inode, struct file *file)
file               49 arch/mips/cavium-octeon/oct_ilm.c 	return single_open(file, show_latency, NULL);
file              502 arch/mips/include/asm/elf.h extern int arch_elf_pt_proc(void *ehdr, void *phdr, struct file *elf,
file                8 arch/mips/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               22 arch/mips/include/asm/hugetlb.h static inline int prepare_hugepage_range(struct file *file,
file               27 arch/mips/include/asm/hugetlb.h 	struct hstate *h = hstate_file(file);
file              652 arch/mips/include/asm/pgtable.h struct file;
file              653 arch/mips/include/asm/pgtable.h pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               75 arch/mips/kernel/elf.c int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf,
file              329 arch/mips/kernel/rtlx.c static int file_open(struct inode *inode, struct file *filp)
file              334 arch/mips/kernel/rtlx.c static int file_release(struct inode *inode, struct file *filp)
file              339 arch/mips/kernel/rtlx.c static __poll_t file_poll(struct file *file, poll_table *wait)
file              341 arch/mips/kernel/rtlx.c 	int minor = iminor(file_inode(file));
file              344 arch/mips/kernel/rtlx.c 	poll_wait(file, &channel_wqs[minor].rt_queue, wait);
file              345 arch/mips/kernel/rtlx.c 	poll_wait(file, &channel_wqs[minor].lx_queue, wait);
file              361 arch/mips/kernel/rtlx.c static ssize_t file_read(struct file *file, char __user *buffer, size_t count,
file              364 arch/mips/kernel/rtlx.c 	int minor = iminor(file_inode(file));
file              367 arch/mips/kernel/rtlx.c 	if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1))
file              373 arch/mips/kernel/rtlx.c static ssize_t file_write(struct file *file, const char __user *buffer,
file              376 arch/mips/kernel/rtlx.c 	int minor = iminor(file_inode(file));
file              382 arch/mips/kernel/rtlx.c 		if (file->f_flags & O_NONBLOCK)
file               84 arch/mips/kernel/segment.c static int segments_open(struct inode *inode, struct file *file)
file               86 arch/mips/kernel/segment.c 	return single_open(file, show_segments, NULL);
file              765 arch/mips/kernel/vpe.c static int vpe_open(struct inode *inode, struct file *filp)
file              818 arch/mips/kernel/vpe.c static int vpe_release(struct inode *inode, struct file *filp)
file              860 arch/mips/kernel/vpe.c static ssize_t vpe_write(struct file *file, const char __user *buffer,
file              866 arch/mips/kernel/vpe.c 	if (iminor(file_inode(file)) != VPE_MODULE_MINOR)
file              185 arch/mips/kvm/mips.c long kvm_arch_dev_ioctl(struct file *filp, unsigned int ioctl,
file              896 arch/mips/kvm/mips.c long kvm_arch_vcpu_async_ioctl(struct file *filp, unsigned int ioctl,
file              916 arch/mips/kvm/mips.c long kvm_arch_vcpu_ioctl(struct file *filp, unsigned int ioctl,
file             1039 arch/mips/kvm/mips.c long kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg)
file               60 arch/mips/lasat/picvue_proc.c static int pvc_line_proc_open(struct inode *inode, struct file *file)
file               62 arch/mips/lasat/picvue_proc.c 	return single_open(file, pvc_line_proc_show, PDE_DATA(inode));
file               65 arch/mips/lasat/picvue_proc.c static ssize_t pvc_line_proc_write(struct file *file, const char __user *buf,
file               68 arch/mips/lasat/picvue_proc.c 	int lineno = *(int *)PDE_DATA(file_inode(file));
file              101 arch/mips/lasat/picvue_proc.c static ssize_t pvc_scroll_proc_write(struct file *file, const char __user *buf,
file              146 arch/mips/lasat/picvue_proc.c static int pvc_scroll_proc_open(struct inode *inode, struct file *file)
file              148 arch/mips/lasat/picvue_proc.c 	return single_open(file, pvc_scroll_proc_show, NULL);
file               91 arch/mips/loongson64/common/mem.c int __uncached_access(struct file *file, unsigned long addr)
file               93 arch/mips/loongson64/common/mem.c 	if (file->f_flags & O_DSYNC)
file              109 arch/mips/loongson64/common/mem.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              115 arch/mips/loongson64/common/mem.c 	if (__uncached_access(file, offset)) {
file              237 arch/mips/mm/cache.c int __weak __uncached_access(struct file *file, unsigned long addr)
file              239 arch/mips/mm/cache.c 	if (file->f_flags & O_DSYNC)
file               29 arch/mips/mm/mmap.c static unsigned long arch_get_unmapped_area_common(struct file *filp,
file              101 arch/mips/mm/mmap.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0,
file              112 arch/mips/mm/mmap.c unsigned long arch_get_unmapped_area_topdown(struct file *filp,
file               13 arch/mips/mm/sc-debugfs.c static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf,
file               26 arch/mips/mm/sc-debugfs.c static ssize_t sc_prefetch_write(struct file *file,
file               22 arch/mips/ralink/bootrom.c static int bootrom_open(struct inode *inode, struct file *file)
file               24 arch/mips/ralink/bootrom.c 	return single_open(file, bootrom_show, NULL);
file              253 arch/mips/sibyte/common/sb_tbprof.c static int sbprof_zbprof_start(struct file *filp)
file              389 arch/mips/sibyte/common/sb_tbprof.c static int sbprof_tb_open(struct inode *inode, struct file *filp)
file              418 arch/mips/sibyte/common/sb_tbprof.c static int sbprof_tb_release(struct inode *inode, struct file *filp)
file              440 arch/mips/sibyte/common/sb_tbprof.c static ssize_t sbprof_tb_read(struct file *filp, char *buf,
file              491 arch/mips/sibyte/common/sb_tbprof.c static long sbprof_tb_ioctl(struct file *filp,
file               36 arch/mips/tools/elf-entry.c 	FILE *file;
file               45 arch/mips/tools/elf-entry.c 	file = fopen(argv[1], "r");
file               46 arch/mips/tools/elf-entry.c 	if (!file) {
file               51 arch/mips/tools/elf-entry.c 	nread = fread(&hdr, 1, sizeof(hdr), file);
file              888 arch/mips/txx9/generic/setup.c static ssize_t txx9_sram_read(struct file *filp, struct kobject *kobj,
file              903 arch/mips/txx9/generic/setup.c static ssize_t txx9_sram_write(struct file *filp, struct kobject *kobj,
file               36 arch/nds32/include/asm/pgtable.h extern void __pte_error(const char *file, int line, unsigned long val);
file               37 arch/nds32/include/asm/pgtable.h extern void __pmd_error(const char *file, int line, unsigned long val);
file               38 arch/nds32/include/asm/pgtable.h extern void __pgd_error(const char *file, int line, unsigned long val);
file              213 arch/nds32/kernel/traps.c void __pte_error(const char *file, int line, unsigned long val)
file              215 arch/nds32/kernel/traps.c 	pr_emerg("%s:%d: bad pte %08lx.\n", file, line, val);
file              218 arch/nds32/kernel/traps.c void __pmd_error(const char *file, int line, unsigned long val)
file              220 arch/nds32/kernel/traps.c 	pr_emerg("%s:%d: bad pmd %08lx.\n", file, line, val);
file              223 arch/nds32/kernel/traps.c void __pgd_error(const char *file, int line, unsigned long val)
file              225 arch/nds32/kernel/traps.c 	pr_emerg("%s:%d: bad pgd %08lx.\n", file, line, val);
file               22 arch/nds32/mm/mmap.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file                9 arch/parisc/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               26 arch/parisc/include/asm/hugetlb.h static inline int prepare_hugepage_range(struct file *file,
file               84 arch/parisc/kernel/pdc_cons.c static int pdc_console_tty_open(struct tty_struct *tty, struct file *filp)
file               92 arch/parisc/kernel/pdc_cons.c static void pdc_console_tty_close(struct tty_struct *tty, struct file *filp)
file              182 arch/parisc/kernel/perf.c static int perf_release(struct inode *inode, struct file *file);
file              183 arch/parisc/kernel/perf.c static int perf_open(struct inode *inode, struct file *file);
file              184 arch/parisc/kernel/perf.c static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos);
file              185 arch/parisc/kernel/perf.c static ssize_t perf_write(struct file *file, const char __user *buf,
file              187 arch/parisc/kernel/perf.c static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              248 arch/parisc/kernel/perf.c static int perf_open(struct inode *inode, struct file *file)
file              264 arch/parisc/kernel/perf.c static int perf_release(struct inode *inode, struct file *file)
file              276 arch/parisc/kernel/perf.c static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos)
file              288 arch/parisc/kernel/perf.c static ssize_t perf_write(struct file *file, const char __user *buf,
file              427 arch/parisc/kernel/perf.c static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               82 arch/parisc/kernel/sys_parisc.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
file              136 arch/parisc/kernel/sys_parisc.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file               10 arch/parisc/math-emu/cnv_float.h     PA header file -- do not include this header file for non-PA builds.
file                9 arch/parisc/math-emu/dbl_float.h     PA header file -- do not include this header file for non-PA builds.
file               26 arch/parisc/math-emu/float.h     PA header file -- do not include this header file for non-PA builds.
file               10 arch/parisc/math-emu/fpbits.h     PA header file -- do not include this header file for non-PA builds.
file               22 arch/parisc/math-emu/fpu.h     PA header file -- do not include this header file for non-PA builds.
file               10 arch/parisc/math-emu/hppa.h     PA header file -- do not include this header file for non-PA builds.
file               10 arch/parisc/math-emu/sgl_float.h     PA header file -- do not include this header file for non-PA builds.
file               26 arch/parisc/mm/hugetlbpage.c hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file               29 arch/parisc/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file               37 arch/parisc/mm/hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file               44 arch/parisc/mm/hugetlbpage.c 	return arch_get_unmapped_area(file, addr, len, pgoff, flags);
file               12 arch/powerpc/include/asm/book3s/64/hugetlb.h radix__hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file               24 arch/powerpc/include/asm/book3s/pgtable.h struct file;
file               25 arch/powerpc/include/asm/book3s/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               13 arch/powerpc/include/asm/bug.h .macro EMIT_BUG_ENTRY addr,file,line,flags
file               24 arch/powerpc/include/asm/bug.h .macro EMIT_BUG_ENTRY addr,file,line,flags
file              113 arch/powerpc/include/asm/bug.h .macro EMIT_BUG_ENTRY addr,file,line,flags
file                9 arch/powerpc/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               12 arch/powerpc/include/asm/fb.h 	vma->vm_page_prot = phys_mem_access_prot(file, off >> PAGE_SHIFT,
file              307 arch/powerpc/include/asm/kvm_ppc.h 	long (*arch_vm_ioctl)(struct file *filp, unsigned int ioctl,
file               23 arch/powerpc/include/asm/machdep.h struct file;
file              114 arch/powerpc/include/asm/machdep.h 	pgprot_t	(*phys_mem_access_prot)(struct file *file,
file              261 arch/powerpc/include/asm/nohash/pgtable.h struct file;
file              262 arch/powerpc/include/asm/nohash/pgtable.h extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              109 arch/powerpc/include/asm/pci.h struct file;
file              110 arch/powerpc/include/asm/pci.h extern pgprot_t	pci_phys_mem_access_prot(struct file *file,
file              226 arch/powerpc/include/asm/spu.h struct file;
file              231 arch/powerpc/include/asm/spu.h 					struct file *neighbor);
file              232 arch/powerpc/include/asm/spu.h 	long (*spu_run)(struct file *filp, __u32 __user *unpc,
file               53 arch/powerpc/kernel/dawr.c static ssize_t dawr_write_file_bool(struct file *file,
file               66 arch/powerpc/kernel/dawr.c 	rc = debugfs_write_file_bool(file, user_buf, count, ppos);
file             1819 arch/powerpc/kernel/eeh.c static ssize_t eeh_force_recover_write(struct file *filp,
file             1875 arch/powerpc/kernel/eeh.c static ssize_t eeh_debugfs_dev_usage(struct file *filp,
file             1885 arch/powerpc/kernel/eeh.c static ssize_t eeh_dev_check_write(struct file *filp,
file             2026 arch/powerpc/kernel/eeh.c static ssize_t eeh_dev_break_write(struct file *filp,
file              437 arch/powerpc/kernel/pci-common.c pgprot_t pci_phys_mem_access_prot(struct file *file,
file               19 arch/powerpc/kernel/proc_powerpc.c static loff_t page_map_seek(struct file *file, loff_t off, int whence)
file               21 arch/powerpc/kernel/proc_powerpc.c 	return fixed_size_llseek(file, off, whence, PAGE_SIZE);
file               24 arch/powerpc/kernel/proc_powerpc.c static ssize_t page_map_read( struct file *file, char __user *buf, size_t nbytes,
file               28 arch/powerpc/kernel/proc_powerpc.c 			PDE_DATA(file_inode(file)), PAGE_SIZE);
file               31 arch/powerpc/kernel/proc_powerpc.c static int page_map_mmap( struct file *file, struct vm_area_struct *vma )
file               37 arch/powerpc/kernel/proc_powerpc.c 			__pa(PDE_DATA(file_inode(file))) >> PAGE_SHIFT,
file              140 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_clock_write(struct file *file,
file              143 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_progress_write(struct file *file,
file              146 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_poweron_write(struct file *file,
file              149 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_tone_freq_write(struct file *file,
file              152 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_tone_volume_write(struct file *file,
file              157 arch/powerpc/kernel/rtas-proc.c static int poweron_open(struct inode *inode, struct file *file)
file              159 arch/powerpc/kernel/rtas-proc.c 	return single_open(file, ppc_rtas_poweron_show, NULL);
file              170 arch/powerpc/kernel/rtas-proc.c static int progress_open(struct inode *inode, struct file *file)
file              172 arch/powerpc/kernel/rtas-proc.c 	return single_open(file, ppc_rtas_progress_show, NULL);
file              183 arch/powerpc/kernel/rtas-proc.c static int clock_open(struct inode *inode, struct file *file)
file              185 arch/powerpc/kernel/rtas-proc.c 	return single_open(file, ppc_rtas_clock_show, NULL);
file              196 arch/powerpc/kernel/rtas-proc.c static int tone_freq_open(struct inode *inode, struct file *file)
file              198 arch/powerpc/kernel/rtas-proc.c 	return single_open(file, ppc_rtas_tone_freq_show, NULL);
file              209 arch/powerpc/kernel/rtas-proc.c static int tone_volume_open(struct inode *inode, struct file *file)
file              211 arch/powerpc/kernel/rtas-proc.c 	return single_open(file, ppc_rtas_tone_volume_show, NULL);
file              282 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_poweron_write(struct file *file,
file              316 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_progress_write(struct file *file,
file              348 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_clock_write(struct file *file,
file              707 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_tone_freq_write(struct file *file,
file              732 arch/powerpc/kernel/rtas-proc.c static ssize_t ppc_rtas_tone_volume_write(struct file *file,
file              208 arch/powerpc/kernel/rtas_flash.c static int rtas_flash_release(struct inode *inode, struct file *file)
file              272 arch/powerpc/kernel/rtas_flash.c static ssize_t rtas_flash_read_msg(struct file *file, char __user *buf,
file              289 arch/powerpc/kernel/rtas_flash.c static ssize_t rtas_flash_read_num(struct file *file, char __user *buf,
file              310 arch/powerpc/kernel/rtas_flash.c static ssize_t rtas_flash_write(struct file *file, const char __user *buffer,
file              386 arch/powerpc/kernel/rtas_flash.c static ssize_t manage_flash_read(struct file *file, char __user *buf,
file              401 arch/powerpc/kernel/rtas_flash.c static ssize_t manage_flash_write(struct file *file, const char __user *buf,
file              482 arch/powerpc/kernel/rtas_flash.c static ssize_t validate_flash_read(struct file *file, char __user *buf,
file              497 arch/powerpc/kernel/rtas_flash.c static ssize_t validate_flash_write(struct file *file, const char __user *buf,
file              538 arch/powerpc/kernel/rtas_flash.c static int validate_flash_release(struct inode *inode, struct file *file)
file              307 arch/powerpc/kernel/rtasd.c static int rtas_log_open(struct inode * inode, struct file * file)
file              312 arch/powerpc/kernel/rtasd.c static int rtas_log_release(struct inode * inode, struct file * file)
file              321 arch/powerpc/kernel/rtasd.c static ssize_t rtas_log_read(struct file * file, char __user * buf,
file              345 arch/powerpc/kernel/rtasd.c 		if (file->f_flags & O_NONBLOCK) {
file              380 arch/powerpc/kernel/rtasd.c static __poll_t rtas_log_poll(struct file *file, poll_table * wait)
file              382 arch/powerpc/kernel/rtasd.c 	poll_wait(file, &rtas_log_wait, wait);
file             1739 arch/powerpc/kvm/book3s_64_mmu_hv.c static ssize_t kvm_htab_read(struct file *file, char __user *buf,
file             1742 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct kvm_htab_ctx *ctx = file->private_data;
file             1838 arch/powerpc/kvm/book3s_64_mmu_hv.c static ssize_t kvm_htab_write(struct file *file, const char __user *buf,
file             1841 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct kvm_htab_ctx *ctx = file->private_data;
file             1962 arch/powerpc/kvm/book3s_64_mmu_hv.c static int kvm_htab_release(struct inode *inode, struct file *filp)
file             2027 arch/powerpc/kvm/book3s_64_mmu_hv.c static int debugfs_htab_open(struct inode *inode, struct file *file)
file             2039 arch/powerpc/kvm/book3s_64_mmu_hv.c 	file->private_data = p;
file             2041 arch/powerpc/kvm/book3s_64_mmu_hv.c 	return nonseekable_open(inode, file);
file             2044 arch/powerpc/kvm/book3s_64_mmu_hv.c static int debugfs_htab_release(struct inode *inode, struct file *file)
file             2046 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct debugfs_htab_state *p = file->private_data;
file             2053 arch/powerpc/kvm/book3s_64_mmu_hv.c static ssize_t debugfs_htab_read(struct file *file, char __user *buf,
file             2056 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct debugfs_htab_state *p = file->private_data;
file             2135 arch/powerpc/kvm/book3s_64_mmu_hv.c static ssize_t debugfs_htab_write(struct file *file, const char __user *buf,
file             1163 arch/powerpc/kvm/book3s_64_mmu_radix.c static int debugfs_radix_open(struct inode *inode, struct file *file)
file             1175 arch/powerpc/kvm/book3s_64_mmu_radix.c 	file->private_data = p;
file             1177 arch/powerpc/kvm/book3s_64_mmu_radix.c 	return nonseekable_open(inode, file);
file             1180 arch/powerpc/kvm/book3s_64_mmu_radix.c static int debugfs_radix_release(struct inode *inode, struct file *file)
file             1182 arch/powerpc/kvm/book3s_64_mmu_radix.c 	struct debugfs_radix_state *p = file->private_data;
file             1189 arch/powerpc/kvm/book3s_64_mmu_radix.c static ssize_t debugfs_radix_read(struct file *file, char __user *buf,
file             1192 arch/powerpc/kvm/book3s_64_mmu_radix.c 	struct debugfs_radix_state *p = file->private_data;
file             1339 arch/powerpc/kvm/book3s_64_mmu_radix.c static ssize_t debugfs_radix_write(struct file *file, const char __user *buf,
file              106 arch/powerpc/kvm/book3s_64_vio.c 	if (!f.file)
file              110 arch/powerpc/kvm/book3s_64_vio.c 		if (stt == f.file->private_data) {
file              232 arch/powerpc/kvm/book3s_64_vio.c static int kvm_spapr_tce_mmap(struct file *file, struct vm_area_struct *vma)
file              238 arch/powerpc/kvm/book3s_64_vio.c static int kvm_spapr_tce_release(struct inode *inode, struct file *filp)
file             2132 arch/powerpc/kvm/book3s_hv.c static int debugfs_timings_open(struct inode *inode, struct file *file)
file             2143 arch/powerpc/kvm/book3s_hv.c 	file->private_data = p;
file             2145 arch/powerpc/kvm/book3s_hv.c 	return nonseekable_open(inode, file);
file             2148 arch/powerpc/kvm/book3s_hv.c static int debugfs_timings_release(struct inode *inode, struct file *file)
file             2150 arch/powerpc/kvm/book3s_hv.c 	struct debugfs_timings_state *p = file->private_data;
file             2157 arch/powerpc/kvm/book3s_hv.c static ssize_t debugfs_timings_read(struct file *file, char __user *buf,
file             2160 arch/powerpc/kvm/book3s_hv.c 	struct debugfs_timings_state *p = file->private_data;
file             2222 arch/powerpc/kvm/book3s_hv.c static ssize_t debugfs_timings_write(struct file *file, const char __user *buf,
file             5182 arch/powerpc/kvm/book3s_hv.c static long kvm_arch_vm_ioctl_hv(struct file *filp,
file             2050 arch/powerpc/kvm/book3s_pr.c static long kvm_arch_vm_ioctl_pr(struct file *filp,
file             1236 arch/powerpc/kvm/book3s_xive_native.c static int xive_native_debug_open(struct inode *inode, struct file *file)
file             1238 arch/powerpc/kvm/book3s_xive_native.c 	return single_open(file, xive_native_debug_show, inode->i_private);
file              678 arch/powerpc/kvm/powerpc.c long kvm_arch_dev_ioctl(struct file *filp,
file             1907 arch/powerpc/kvm/powerpc.c 		if (!f.file)
file             1911 arch/powerpc/kvm/powerpc.c 		dev = kvm_device_from_filp(f.file);
file             1926 arch/powerpc/kvm/powerpc.c 		if (!f.file)
file             1930 arch/powerpc/kvm/powerpc.c 		dev = kvm_device_from_filp(f.file);
file             1949 arch/powerpc/kvm/powerpc.c 		if (!f.file)
file             1957 arch/powerpc/kvm/powerpc.c 		dev = kvm_device_from_filp(f.file);
file             2011 arch/powerpc/kvm/powerpc.c long kvm_arch_vcpu_async_ioctl(struct file *filp,
file             2026 arch/powerpc/kvm/powerpc.c long kvm_arch_vcpu_ioctl(struct file *filp,
file             2313 arch/powerpc/kvm/powerpc.c long kvm_arch_vm_ioctl(struct file *filp,
file              161 arch/powerpc/kvm/timing.c static ssize_t kvmppc_exit_timing_write(struct file *file,
file              178 arch/powerpc/kvm/timing.c 		struct seq_file *seqf = file->private_data;
file              193 arch/powerpc/kvm/timing.c static int kvmppc_exit_timing_open(struct inode *inode, struct file *file)
file              195 arch/powerpc/kvm/timing.c 	return single_open(file, kvmppc_exit_timing_show, inode->i_private);
file               46 arch/powerpc/mm/book3s64/radix_hugetlbpage.c radix__hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file               52 arch/powerpc/mm/book3s64/radix_hugetlbpage.c 	struct hstate *h = hstate_file(file);
file               69 arch/powerpc/mm/book3s64/radix_hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file              534 arch/powerpc/mm/hugetlbpage.c unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              538 arch/powerpc/mm/hugetlbpage.c 	struct hstate *hstate = hstate_file(file);
file              543 arch/powerpc/mm/hugetlbpage.c 		return radix__hugetlb_get_unmapped_area(file, addr, len,
file               75 arch/powerpc/mm/mem.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file               79 arch/powerpc/mm/mem.c 		return ppc_md.phys_mem_access_prot(file, pfn, size, vma_prot);
file               90 arch/powerpc/mm/mmap.c radix__arch_get_unmapped_area(struct file *filp, unsigned long addr,
file              131 arch/powerpc/mm/mmap.c radix__arch_get_unmapped_area_topdown(struct file *filp,
file             1580 arch/powerpc/mm/numa.c static int topology_read(struct seq_file *file, void *v)
file             1583 arch/powerpc/mm/numa.c 		seq_puts(file, "on\n");
file             1585 arch/powerpc/mm/numa.c 		seq_puts(file, "off\n");
file             1590 arch/powerpc/mm/numa.c static int topology_open(struct inode *inode, struct file *file)
file             1592 arch/powerpc/mm/numa.c 	return single_open(file, topology_read, NULL);
file             1595 arch/powerpc/mm/numa.c static ssize_t topology_write(struct file *file, const char __user *buf,
file              150 arch/powerpc/mm/ptdump/bats.c static int bats_open(struct inode *inode, struct file *file)
file              153 arch/powerpc/mm/ptdump/bats.c 		return single_open(file, bats_show_601, NULL);
file              155 arch/powerpc/mm/ptdump/bats.c 	return single_open(file, bats_show_603, NULL);
file              516 arch/powerpc/mm/ptdump/hashpagetable.c static int ptdump_open(struct inode *inode, struct file *file)
file              518 arch/powerpc/mm/ptdump/hashpagetable.c 	return single_open(file, ptdump_show, NULL);
file              372 arch/powerpc/mm/ptdump/ptdump.c static int ptdump_open(struct inode *inode, struct file *file)
file              374 arch/powerpc/mm/ptdump/ptdump.c 	return single_open(file, ptdump_show, NULL);
file               44 arch/powerpc/mm/ptdump/segment_regs.c static int sr_open(struct inode *inode, struct file *file)
file               46 arch/powerpc/mm/ptdump/segment_regs.c 	return single_open(file, sr_show, NULL);
file              642 arch/powerpc/mm/slice.c unsigned long arch_get_unmapped_area(struct file *filp,
file              652 arch/powerpc/mm/slice.c unsigned long arch_get_unmapped_area_topdown(struct file *filp,
file              322 arch/powerpc/oprofile/cell/spu_task_sync.c 	struct file *exe_file;
file              922 arch/powerpc/perf/hv-24x7.c static ssize_t catalog_read(struct file *filp, struct kobject *kobj,
file              537 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static ssize_t mpc52xx_wdt_write(struct file *file, const char __user *data,
file              540 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt_wdt = file->private_data;
file              550 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static long mpc52xx_wdt_ioctl(struct file *file, unsigned int cmd,
file              553 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt_wdt = file->private_data;
file              606 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_wdt_open(struct inode *inode, struct file *file)
file              626 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	file->private_data = mpc52xx_gpt_wdt;
file              627 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return stream_open(inode, file);
file              630 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_wdt_release(struct inode *inode, struct file *file)
file              634 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt_wdt = file->private_data;
file               69 arch/powerpc/platforms/cell/spu_syscalls.c 		if (neighbor.file) {
file               70 arch/powerpc/platforms/cell/spu_syscalls.c 			ret = calls->create_thread(name, flags, mode, neighbor.file);
file               92 arch/powerpc/platforms/cell/spu_syscalls.c 	if (arg.file) {
file               93 arch/powerpc/platforms/cell/spu_syscalls.c 		ret = calls->spu_run(arg.file, unpc, ustatus);
file               60 arch/powerpc/platforms/cell/spufs/coredump.c static int match_context(const void *v, struct file *file, unsigned fd)
file               63 arch/powerpc/platforms/cell/spufs/coredump.c 	if (file->f_op != &spufs_context_fops)
file               65 arch/powerpc/platforms/cell/spufs/coredump.c 	ctx = SPUFS_I(file_inode(file))->i_ctx;
file               85 arch/powerpc/platforms/cell/spufs/coredump.c 	struct file *file;
file               90 arch/powerpc/platforms/cell/spufs/coredump.c 	file = fcheck(*fd);
file               91 arch/powerpc/platforms/cell/spufs/coredump.c 	return SPUFS_I(file_inode(file))->i_ctx;
file               43 arch/powerpc/platforms/cell/spufs/file.c static int spufs_attr_open(struct inode *inode, struct file *file,
file               58 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = attr;
file               60 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file               63 arch/powerpc/platforms/cell/spufs/file.c static int spufs_attr_release(struct inode *inode, struct file *file)
file               65 arch/powerpc/platforms/cell/spufs/file.c        kfree(file->private_data);
file               69 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_attr_read(struct file *file, char __user *buf,
file               76 arch/powerpc/platforms/cell/spufs/file.c 	attr = file->private_data;
file              102 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_attr_write(struct file *file, const char __user *buf,
file              110 arch/powerpc/platforms/cell/spufs/file.c 	attr = file->private_data;
file              133 arch/powerpc/platforms/cell/spufs/file.c static int __fops ## _open(struct inode *inode, struct file *file)	\
file              136 arch/powerpc/platforms/cell/spufs/file.c 	return spufs_attr_open(inode, file, __get, __set, __fmt);	\
file              148 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_open(struct inode *inode, struct file *file)
file              154 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file              162 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_release(struct inode *inode, struct file *file)
file              184 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_read(struct file *file, char __user *buffer,
file              187 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              200 arch/powerpc/platforms/cell/spufs/file.c spufs_mem_write(struct file *file, const char __user *buffer,
file              203 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              282 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mem_mmap(struct file *file, struct vm_area_struct *vma)
file              372 arch/powerpc/platforms/cell/spufs/file.c static int spufs_cntl_mmap(struct file *file, struct vm_area_struct *vma)
file              415 arch/powerpc/platforms/cell/spufs/file.c static int spufs_cntl_open(struct inode *inode, struct file *file)
file              421 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file              425 arch/powerpc/platforms/cell/spufs/file.c 	return simple_attr_open(inode, file, spufs_cntl_get,
file              430 arch/powerpc/platforms/cell/spufs/file.c spufs_cntl_release(struct inode *inode, struct file *file)
file              435 arch/powerpc/platforms/cell/spufs/file.c 	simple_attr_release(inode, file);
file              454 arch/powerpc/platforms/cell/spufs/file.c spufs_regs_open(struct inode *inode, struct file *file)
file              457 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = i->i_ctx;
file              471 arch/powerpc/platforms/cell/spufs/file.c spufs_regs_read(struct file *file, char __user *buffer,
file              475 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              491 arch/powerpc/platforms/cell/spufs/file.c spufs_regs_write(struct file *file, const char __user *buffer,
file              494 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              529 arch/powerpc/platforms/cell/spufs/file.c spufs_fpcr_read(struct file *file, char __user * buffer,
file              533 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              544 arch/powerpc/platforms/cell/spufs/file.c spufs_fpcr_write(struct file *file, const char __user * buffer,
file              547 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              573 arch/powerpc/platforms/cell/spufs/file.c static int spufs_pipe_open(struct inode *inode, struct file *file)
file              576 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = i->i_ctx;
file              578 arch/powerpc/platforms/cell/spufs/file.c 	return stream_open(inode, file);
file              589 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mbox_read(struct file *file, char __user *buf,
file              592 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              640 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mbox_stat_read(struct file *file, char __user *buf,
file              643 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              697 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_ibox_read(struct file *file, char __user *buf,
file              700 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              718 arch/powerpc/platforms/cell/spufs/file.c 	if (file->f_flags & O_NONBLOCK) {
file              755 arch/powerpc/platforms/cell/spufs/file.c static __poll_t spufs_ibox_poll(struct file *file, poll_table *wait)
file              757 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              760 arch/powerpc/platforms/cell/spufs/file.c 	poll_wait(file, &ctx->ibox_wq, wait);
file              780 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_ibox_stat_read(struct file *file, char __user *buf,
file              783 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              835 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_wbox_write(struct file *file, const char __user *buf,
file              838 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              861 arch/powerpc/platforms/cell/spufs/file.c 	if (file->f_flags & O_NONBLOCK) {
file              891 arch/powerpc/platforms/cell/spufs/file.c static __poll_t spufs_wbox_poll(struct file *file, poll_table *wait)
file              893 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              896 arch/powerpc/platforms/cell/spufs/file.c 	poll_wait(file, &ctx->wbox_wq, wait);
file              916 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_wbox_stat_read(struct file *file, char __user *buf,
file              919 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file              944 arch/powerpc/platforms/cell/spufs/file.c static int spufs_signal1_open(struct inode *inode, struct file *file)
file              950 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file              954 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file              958 arch/powerpc/platforms/cell/spufs/file.c spufs_signal1_release(struct inode *inode, struct file *file)
file              994 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_signal1_read(struct file *file, char __user *buf,
file              998 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1009 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_signal1_write(struct file *file, const char __user *buf,
file             1016 arch/powerpc/platforms/cell/spufs/file.c 	ctx = file->private_data;
file             1052 arch/powerpc/platforms/cell/spufs/file.c static int spufs_signal1_mmap(struct file *file, struct vm_area_struct *vma)
file             1081 arch/powerpc/platforms/cell/spufs/file.c static int spufs_signal2_open(struct inode *inode, struct file *file)
file             1087 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file             1091 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file             1095 arch/powerpc/platforms/cell/spufs/file.c spufs_signal2_release(struct inode *inode, struct file *file)
file             1131 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_signal2_read(struct file *file, char __user *buf,
file             1134 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1146 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_signal2_write(struct file *file, const char __user *buf,
file             1153 arch/powerpc/platforms/cell/spufs/file.c 	ctx = file->private_data;
file             1190 arch/powerpc/platforms/cell/spufs/file.c static int spufs_signal2_mmap(struct file *file, struct vm_area_struct *vma)
file             1313 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mss_mmap(struct file *file, struct vm_area_struct *vma)
file             1328 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mss_open(struct inode *inode, struct file *file)
file             1333 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = i->i_ctx;
file             1339 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file             1343 arch/powerpc/platforms/cell/spufs/file.c spufs_mss_release(struct inode *inode, struct file *file)
file             1375 arch/powerpc/platforms/cell/spufs/file.c static int spufs_psmap_mmap(struct file *file, struct vm_area_struct *vma)
file             1387 arch/powerpc/platforms/cell/spufs/file.c static int spufs_psmap_open(struct inode *inode, struct file *file)
file             1393 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = i->i_ctx;
file             1397 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file             1401 arch/powerpc/platforms/cell/spufs/file.c spufs_psmap_release(struct inode *inode, struct file *file)
file             1435 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mfc_mmap(struct file *file, struct vm_area_struct *vma)
file             1450 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mfc_open(struct inode *inode, struct file *file)
file             1463 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file             1467 arch/powerpc/platforms/cell/spufs/file.c 	return nonseekable_open(inode, file);
file             1471 arch/powerpc/platforms/cell/spufs/file.c spufs_mfc_release(struct inode *inode, struct file *file)
file             1507 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mfc_read(struct file *file, char __user *buffer,
file             1510 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1522 arch/powerpc/platforms/cell/spufs/file.c 	if (file->f_flags & O_NONBLOCK) {
file             1633 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer,
file             1636 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1659 arch/powerpc/platforms/cell/spufs/file.c 	if (file->f_flags & O_NONBLOCK) {
file             1683 arch/powerpc/platforms/cell/spufs/file.c static __poll_t spufs_mfc_poll(struct file *file,poll_table *wait)
file             1685 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1689 arch/powerpc/platforms/cell/spufs/file.c 	poll_wait(file, &ctx->mfc_wq, wait);
file             1713 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mfc_flush(struct file *file, fl_owner_t id)
file             1715 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             1739 arch/powerpc/platforms/cell/spufs/file.c static int spufs_mfc_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             1741 arch/powerpc/platforms/cell/spufs/file.c 	struct inode *inode = file_inode(file);
file             1742 arch/powerpc/platforms/cell/spufs/file.c 	int err = file_write_and_wait_range(file, start, end);
file             1745 arch/powerpc/platforms/cell/spufs/file.c 		err = spufs_mfc_flush(file, NULL);
file             1933 arch/powerpc/platforms/cell/spufs/file.c static int spufs_info_open(struct inode *inode, struct file *file)
file             1937 arch/powerpc/platforms/cell/spufs/file.c 	file->private_data = ctx;
file             1952 arch/powerpc/platforms/cell/spufs/file.c static int spufs_caps_open(struct inode *inode, struct file *file)
file             1954 arch/powerpc/platforms/cell/spufs/file.c 	return single_open(file, spufs_caps_show, SPUFS_I(inode)->i_ctx);
file             1978 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_mbox_info_read(struct file *file, char __user *buf,
file             1982 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             2018 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_ibox_info_read(struct file *file, char __user *buf,
file             2021 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             2061 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_wbox_info_read(struct file *file, char __user *buf,
file             2064 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             2113 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_dma_info_read(struct file *file, char __user *buf,
file             2116 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             2170 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_proxydma_info_read(struct file *file, char __user *buf,
file             2173 arch/powerpc/platforms/cell/spufs/file.c 	struct spu_context *ctx = file->private_data;
file             2201 arch/powerpc/platforms/cell/spufs/file.c static int spufs_tid_open(struct inode *inode, struct file *file)
file             2203 arch/powerpc/platforms/cell/spufs/file.c 	return single_open(file, spufs_show_tid, SPUFS_I(inode)->i_ctx);
file             2291 arch/powerpc/platforms/cell/spufs/file.c static int spufs_stat_open(struct inode *inode, struct file *file)
file             2293 arch/powerpc/platforms/cell/spufs/file.c 	return single_open(file, spufs_show_stat, SPUFS_I(inode)->i_ctx);
file             2314 arch/powerpc/platforms/cell/spufs/file.c static int spufs_switch_log_open(struct inode *inode, struct file *file)
file             2345 arch/powerpc/platforms/cell/spufs/file.c static int spufs_switch_log_release(struct inode *inode, struct file *file)
file             2376 arch/powerpc/platforms/cell/spufs/file.c static ssize_t spufs_switch_log_read(struct file *file, char __user *buf,
file             2379 arch/powerpc/platforms/cell/spufs/file.c 	struct inode *inode = file_inode(file);
file             2400 arch/powerpc/platforms/cell/spufs/file.c 			} else if (file->f_flags & O_NONBLOCK) {
file             2447 arch/powerpc/platforms/cell/spufs/file.c static __poll_t spufs_switch_log_poll(struct file *file, poll_table *wait)
file             2449 arch/powerpc/platforms/cell/spufs/file.c 	struct inode *inode = file_inode(file);
file             2454 arch/powerpc/platforms/cell/spufs/file.c 	poll_wait(file, &ctx->switch_log->wait, wait);
file             2544 arch/powerpc/platforms/cell/spufs/file.c static int spufs_ctx_open(struct inode *inode, struct file *file)
file             2546 arch/powerpc/platforms/cell/spufs/file.c 	return single_open(file, spufs_show_ctx, SPUFS_I(inode)->i_ctx);
file              199 arch/powerpc/platforms/cell/spufs/inode.c static int spufs_dir_close(struct inode *inode, struct file *file)
file              206 arch/powerpc/platforms/cell/spufs/inode.c 	dir = file->f_path.dentry;
file              215 arch/powerpc/platforms/cell/spufs/inode.c 	return dcache_dir_close(inode, file);
file              284 arch/powerpc/platforms/cell/spufs/inode.c 	struct file *filp;
file              303 arch/powerpc/platforms/cell/spufs/inode.c 						struct file *filp)
file              406 arch/powerpc/platforms/cell/spufs/inode.c 			struct file *aff_filp)
file              503 arch/powerpc/platforms/cell/spufs/inode.c 	struct file *filp;
file              546 arch/powerpc/platforms/cell/spufs/inode.c 		unsigned int flags, umode_t mode, struct file *filp)
file              236 arch/powerpc/platforms/cell/spufs/spufs.h 			umode_t mode, struct file *filp);
file               34 arch/powerpc/platforms/cell/spufs/syscalls.c static long do_spu_run(struct file *filp,
file               64 arch/powerpc/platforms/cell/spufs/syscalls.c 		umode_t mode, struct file *neighbor)
file              119 arch/powerpc/platforms/powernv/eeh-powernv.c static ssize_t pnv_eeh_ei_write(struct file *filp,
file               39 arch/powerpc/platforms/powernv/memtrace.c static ssize_t memtrace_read(struct file *filp, char __user *ubuf,
file              160 arch/powerpc/platforms/powernv/opal-core.c static ssize_t read_opalcore(struct file *file, struct kobject *kobj,
file              282 arch/powerpc/platforms/powernv/opal-dump.c static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj,
file              152 arch/powerpc/platforms/powernv/opal-elog.c static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj,
file              434 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t image_data_write(struct file *filp, struct kobject *kobj,
file              184 arch/powerpc/platforms/powernv/opal-lpc.c static ssize_t lpc_debug_read(struct file *filp, char __user *ubuf,
file              275 arch/powerpc/platforms/powernv/opal-lpc.c static ssize_t lpc_debug_write(struct file *filp, const char __user *ubuf,
file               94 arch/powerpc/platforms/powernv/opal-msglog.c static ssize_t opal_msglog_read(struct file *file, struct kobject *kobj,
file               86 arch/powerpc/platforms/powernv/opal-prd.c static int opal_prd_open(struct inode *inode, struct file *file)
file              104 arch/powerpc/platforms/powernv/opal-prd.c static int opal_prd_mmap(struct file *file, struct vm_area_struct *vma)
file              121 arch/powerpc/platforms/powernv/opal-prd.c 	page_prot = phys_mem_access_prot(file, vma->vm_pgoff,
file              142 arch/powerpc/platforms/powernv/opal-prd.c static __poll_t opal_prd_poll(struct file *file,
file              145 arch/powerpc/platforms/powernv/opal-prd.c 	poll_wait(file, &opal_prd_msg_wait, wait);
file              153 arch/powerpc/platforms/powernv/opal-prd.c static ssize_t opal_prd_read(struct file *file, char __user *buf,
file              183 arch/powerpc/platforms/powernv/opal-prd.c 		if (file->f_flags & O_NONBLOCK)
file              216 arch/powerpc/platforms/powernv/opal-prd.c static ssize_t opal_prd_write(struct file *file, const char __user *buf,
file              251 arch/powerpc/platforms/powernv/opal-prd.c static int opal_prd_release(struct inode *inode, struct file *file)
file              265 arch/powerpc/platforms/powernv/opal-prd.c static long opal_prd_ioctl(struct file *file, unsigned int cmd,
file               87 arch/powerpc/platforms/powernv/opal-xscom.c static ssize_t scom_debug_read(struct file *filp, char __user *ubuf,
file              118 arch/powerpc/platforms/powernv/opal-xscom.c static ssize_t scom_debug_write(struct file *filp, const char __user *ubuf,
file              711 arch/powerpc/platforms/powernv/opal.c static ssize_t symbol_map_read(struct file *fp, struct kobject *kobj,
file              747 arch/powerpc/platforms/powernv/opal.c static ssize_t export_attr_read(struct file *fp, struct kobject *kobj,
file               34 arch/powerpc/platforms/powernv/ultravisor.c static ssize_t uv_msglog_read(struct file *file, struct kobject *kobj,
file               22 arch/powerpc/platforms/pseries/dtl.c 	struct dentry		*file;
file              230 arch/powerpc/platforms/pseries/dtl.c static int dtl_file_open(struct inode *inode, struct file *filp)
file              243 arch/powerpc/platforms/pseries/dtl.c static int dtl_file_release(struct inode *inode, struct file *filp)
file              250 arch/powerpc/platforms/pseries/dtl.c static ssize_t dtl_file_read(struct file *filp, char __user *buf, size_t len,
file              329 arch/powerpc/platforms/pseries/dtl.c 	dtl->file = debugfs_create_file(name, 0400, dtl_dir, dtl, &dtl_fops);
file              330 arch/powerpc/platforms/pseries/dtl.c 	if (!dtl->file)
file               80 arch/powerpc/platforms/pseries/hvCall_inst.c static int hcall_inst_seq_open(struct inode *inode, struct file *file)
file               85 arch/powerpc/platforms/pseries/hvCall_inst.c 	rc = seq_open(file, &hcall_inst_seq_ops);
file               86 arch/powerpc/platforms/pseries/hvCall_inst.c 	seq = file->private_data;
file               87 arch/powerpc/platforms/pseries/hvCall_inst.c 	seq->private = file_inode(file)->i_private;
file              496 arch/powerpc/platforms/pseries/lpar.c static ssize_t vcpudispatch_stats_write(struct file *file, const char __user *p,
file              580 arch/powerpc/platforms/pseries/lpar.c static int vcpudispatch_stats_open(struct inode *inode, struct file *file)
file              582 arch/powerpc/platforms/pseries/lpar.c 	return single_open(file, vcpudispatch_stats_display, NULL);
file              593 arch/powerpc/platforms/pseries/lpar.c static ssize_t vcpudispatch_stats_freq_write(struct file *file,
file              624 arch/powerpc/platforms/pseries/lpar.c static int vcpudispatch_stats_freq_open(struct inode *inode, struct file *file)
file              626 arch/powerpc/platforms/pseries/lpar.c 	return single_open(file, vcpudispatch_stats_freq_display, NULL);
file             1975 arch/powerpc/platforms/pseries/lpar.c static ssize_t vpa_file_read(struct file *filp, char __user *buf, size_t len,
file              595 arch/powerpc/platforms/pseries/lparcfg.c static ssize_t lparcfg_write(struct file *file, const char __user * buf,
file              696 arch/powerpc/platforms/pseries/lparcfg.c static int lparcfg_open(struct inode *inode, struct file *file)
file              698 arch/powerpc/platforms/pseries/lparcfg.c 	return single_open(file, lparcfg_data, NULL);
file              358 arch/powerpc/platforms/pseries/reconfig.c static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count,
file               42 arch/powerpc/platforms/pseries/scanlog.c static ssize_t scanlog_read(struct file *file, char __user *buf,
file              109 arch/powerpc/platforms/pseries/scanlog.c static ssize_t scanlog_write(struct file * file, const char __user * buf,
file              131 arch/powerpc/platforms/pseries/scanlog.c static int scanlog_open(struct inode * inode, struct file * file)
file              147 arch/powerpc/platforms/pseries/scanlog.c static int scanlog_release(struct inode * inode, struct file * file)
file             1676 arch/powerpc/xmon/xmon.c 	       bug->file, bug->line);
file               44 arch/riscv/mm/sifive_l2_cache.c static ssize_t l2_write(struct file *file, const char __user *data,
file              506 arch/s390/crypto/prng.c static int prng_open(struct inode *inode, struct file *file)
file              508 arch/s390/crypto/prng.c 	return nonseekable_open(inode, file);
file              512 arch/s390/crypto/prng.c static ssize_t prng_tdes_read(struct file *file, char __user *ubuf,
file              590 arch/s390/crypto/prng.c static ssize_t prng_sha512_read(struct file *file, char __user *ubuf,
file               64 arch/s390/hypfs/hypfs.h 	long		(*unlocked_ioctl) (struct file *, unsigned int,
file               31 arch/s390/hypfs/hypfs_dbfs.c static ssize_t dbfs_read(struct file *file, char __user *buf,
file               41 arch/s390/hypfs/hypfs_dbfs.c 	df = file_inode(file)->i_private;
file               61 arch/s390/hypfs/hypfs_dbfs.c static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               63 arch/s390/hypfs/hypfs_dbfs.c 	struct hypfs_dbfs_file *df = file_inode(file)->i_private;
file               68 arch/s390/hypfs/hypfs_dbfs.c 		rc = df->unlocked_ioctl(file, cmd, arg);
file              113 arch/s390/hypfs/hypfs_sprp.c static long hypfs_sprp_ioctl(struct file *file, unsigned int cmd,
file              181 arch/s390/hypfs/hypfs_vm.c 	struct dentry *dir, *file;
file              196 arch/s390/hypfs/hypfs_vm.c 	file = hypfs_create_str(dir, "type", "z/VM Hypervisor");
file              197 arch/s390/hypfs/hypfs_vm.c 	if (IS_ERR(file)) {
file              198 arch/s390/hypfs/hypfs_vm.c 		rc = PTR_ERR(file);
file              208 arch/s390/hypfs/hypfs_vm.c 	file = hypfs_create_u64(dir, "count", data->lcpus);
file              209 arch/s390/hypfs/hypfs_vm.c 	if (IS_ERR(file)) {
file              210 arch/s390/hypfs/hypfs_vm.c 		rc = PTR_ERR(file);
file              117 arch/s390/hypfs/inode.c static int hypfs_open(struct inode *inode, struct file *filp)
file              146 arch/s390/hypfs/inode.c 	struct file *file = iocb->ki_filp;
file              147 arch/s390/hypfs/inode.c 	char *data = file->private_data;
file              160 arch/s390/hypfs/inode.c 	file_accessed(file);
file              204 arch/s390/hypfs/inode.c static int hypfs_release(struct inode *inode, struct file *filp)
file               68 arch/s390/include/asm/debug.h 				  struct file *file,
file               35 arch/s390/include/asm/hugetlb.h static inline int prepare_hugepage_range(struct file *file,
file               68 arch/s390/kernel/debug.c static ssize_t debug_output(struct file *file, char __user *user_buf,
file               70 arch/s390/kernel/debug.c static ssize_t debug_input(struct file *file, const char __user *user_buf,
file               72 arch/s390/kernel/debug.c static int debug_open(struct inode *inode, struct file *file);
file               73 arch/s390/kernel/debug.c static int debug_close(struct inode *inode, struct file *file);
file               81 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file               86 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file               89 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file              502 arch/s390/kernel/debug.c static ssize_t debug_output(struct file *file,		/* file descriptor */
file              511 arch/s390/kernel/debug.c 	p_info = (file_private_info_t *) file->private_data;
file              552 arch/s390/kernel/debug.c static ssize_t debug_input(struct file *file, const char __user *user_buf,
file              559 arch/s390/kernel/debug.c 	p_info = ((file_private_info_t *) file->private_data);
file              562 arch/s390/kernel/debug.c 					      p_info->view, file, user_buf,
file              577 arch/s390/kernel/debug.c static int debug_open(struct inode *inode, struct file *file)
file              584 arch/s390/kernel/debug.c 	debug_info = file_inode(file)->i_private;
file              589 arch/s390/kernel/debug.c 		else if (debug_info->debugfs_entries[i] == file->f_path.dentry)
file              625 arch/s390/kernel/debug.c 	file->private_data = p_info;
file              627 arch/s390/kernel/debug.c 	nonseekable_open(inode, file);
file              638 arch/s390/kernel/debug.c static int debug_close(struct inode *inode, struct file *file)
file              642 arch/s390/kernel/debug.c 	p_info = (file_private_info_t *) file->private_data;
file              646 arch/s390/kernel/debug.c 	kfree(file->private_data);
file             1228 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file             1282 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file             1352 arch/s390/kernel/debug.c 				struct file *file, const char __user *user_buf,
file              107 arch/s390/kernel/diag.c static int show_diag_stat_open(struct inode *inode, struct file *file)
file              109 arch/s390/kernel/diag.c 	return seq_open(file, &show_diag_stat_sops);
file              325 arch/s390/kernel/ipl.c static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj,
file              336 arch/s390/kernel/ipl.c static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj,
file              575 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_scpdata_read(struct file *filp, struct kobject *kobj,
file              585 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_scpdata_write(struct file *filp, struct kobject *kobj,
file              477 arch/s390/kernel/sysinfo.c static int stsi_open_##fc##_##s1##_##s2(struct inode *inode, struct file *file)\
file              479 arch/s390/kernel/sysinfo.c 	file->private_data = (void *) get_zeroed_page(GFP_KERNEL);	       \
file              480 arch/s390/kernel/sysinfo.c 	if (!file->private_data)					       \
file              482 arch/s390/kernel/sysinfo.c 	if (stsi(file->private_data, fc, s1, s2)) {			       \
file              483 arch/s390/kernel/sysinfo.c 		free_page((unsigned long)file->private_data);		       \
file              484 arch/s390/kernel/sysinfo.c 		file->private_data = NULL;				       \
file              487 arch/s390/kernel/sysinfo.c 	return nonseekable_open(inode, file);				       \
file              497 arch/s390/kernel/sysinfo.c static int stsi_release(struct inode *inode, struct file *file)
file              499 arch/s390/kernel/sysinfo.c 	free_page((unsigned long)file->private_data);
file              503 arch/s390/kernel/sysinfo.c static ssize_t stsi_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)
file              505 arch/s390/kernel/sysinfo.c 	return simple_read_from_buffer(buf, size, ppos, file->private_data, PAGE_SIZE);
file              496 arch/s390/kvm/kvm-s390.c long kvm_arch_dev_ioctl(struct file *filp,
file             2166 arch/s390/kvm/kvm-s390.c long kvm_arch_vm_ioctl(struct file *filp,
file             4317 arch/s390/kvm/kvm-s390.c long kvm_arch_vcpu_async_ioctl(struct file *filp,
file             4345 arch/s390/kvm/kvm-s390.c long kvm_arch_vcpu_ioctl(struct file *filp,
file              265 arch/s390/mm/dump_pagetables.c static int ptdump_open(struct inode *inode, struct file *filp)
file              277 arch/s390/mm/hugetlbpage.c static unsigned long hugetlb_get_unmapped_area_bottomup(struct file *file,
file              281 arch/s390/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              293 arch/s390/mm/hugetlbpage.c static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file,
file              297 arch/s390/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              326 arch/s390/mm/hugetlbpage.c unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              329 arch/s390/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              340 arch/s390/mm/hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file              354 arch/s390/mm/hugetlbpage.c 		addr = hugetlb_get_unmapped_area_bottomup(file, addr, len,
file              357 arch/s390/mm/hugetlbpage.c 		addr = hugetlb_get_unmapped_area_topdown(file, addr, len,
file               76 arch/s390/mm/mmap.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file              123 arch/s390/mm/mmap.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file              624 arch/s390/pci/pci_clp.c static long clp_misc_ioctl(struct file *filp, unsigned int cmd,
file              641 arch/s390/pci/pci_clp.c static int clp_misc_release(struct inode *inode, struct file *filp)
file              131 arch/s390/pci/pci_debug.c static ssize_t pci_perf_seq_write(struct file *file, const char __user *ubuf,
file              134 arch/s390/pci/pci_debug.c 	struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private;
file              158 arch/s390/pci/pci_debug.c static int pci_perf_seq_open(struct inode *inode, struct file *filp)
file              101 arch/s390/pci/pci_sysfs.c static ssize_t util_string_read(struct file *filp, struct kobject *kobj,
file              114 arch/s390/pci/pci_sysfs.c static ssize_t report_error_write(struct file *filp, struct kobject *kobj,
file               28 arch/sh/boards/mach-landisk/gio.c static int gio_open(struct inode *inode, struct file *filp)
file               47 arch/sh/boards/mach-landisk/gio.c static int gio_close(struct inode *inode, struct file *filp)
file               58 arch/sh/boards/mach-landisk/gio.c static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file                9 arch/sh/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file               19 arch/sh/include/asm/hugetlb.h static inline int prepare_hugepage_range(struct file *file,
file              135 arch/sh/mm/alignment.c static int alignment_proc_open(struct inode *inode, struct file *file)
file              137 arch/sh/mm/alignment.c 	return single_open(file, alignment_proc_show, NULL);
file              140 arch/sh/mm/alignment.c static ssize_t alignment_proc_write(struct file *file,
file              143 arch/sh/mm/alignment.c 	int *data = PDE_DATA(file_inode(file));
file               29 arch/sh/mm/asids-debugfs.c static int asids_seq_show(struct seq_file *file, void *iter)
file               42 arch/sh/mm/asids-debugfs.c 			seq_printf(file, "%5d : %04lx\n", pid,
file               51 arch/sh/mm/asids-debugfs.c static int asids_debugfs_open(struct inode *inode, struct file *file)
file               53 arch/sh/mm/asids-debugfs.c 	return single_open(file, asids_seq_show, inode->i_private);
file               25 arch/sh/mm/cache-debugfs.c static int cache_seq_show(struct seq_file *file, void *iter)
file               27 arch/sh/mm/cache-debugfs.c 	unsigned int cache_type = (unsigned int)file->private;
file               43 arch/sh/mm/cache-debugfs.c 		seq_printf(file, "disabled\n");
file               70 arch/sh/mm/cache-debugfs.c 		seq_printf(file, "-----------------------------------------\n");
file               71 arch/sh/mm/cache-debugfs.c 		seq_printf(file, "Way %d\n", way);
file               72 arch/sh/mm/cache-debugfs.c 		seq_printf(file, "-----------------------------------------\n");
file               84 arch/sh/mm/cache-debugfs.c 			seq_printf(file, "%3d: %c 0x%lx\n",
file               97 arch/sh/mm/cache-debugfs.c static int cache_debugfs_open(struct inode *inode, struct file *file)
file               99 arch/sh/mm/cache-debugfs.c 	return single_open(file, cache_seq_show, inode->i_private);
file               34 arch/sh/mm/mmap.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
file               81 arch/sh/mm/mmap.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file              815 arch/sh/mm/pmb.c static int pmb_seq_show(struct seq_file *file, void *iter)
file              819 arch/sh/mm/pmb.c 	seq_printf(file, "V: Valid, C: Cacheable, WT: Write-Through\n"
file              821 arch/sh/mm/pmb.c 	seq_printf(file, "ety   vpn  ppn  size   flags\n");
file              838 arch/sh/mm/pmb.c 		seq_printf(file, "%02d: %c 0x%02lx 0x%02lx %s %c %s %s\n",
file              849 arch/sh/mm/pmb.c static int pmb_debugfs_open(struct inode *inode, struct file *file)
file              851 arch/sh/mm/pmb.c 	return single_open(file, pmb_seq_show, NULL);
file               39 arch/sh/mm/tlb-debugfs.c static int tlb_seq_show(struct seq_file *file, void *iter)
file               41 arch/sh/mm/tlb-debugfs.c 	unsigned int tlb_type = (unsigned int)file->private;
file               50 arch/sh/mm/tlb-debugfs.c 		seq_printf(file, "address translation disabled\n");
file               91 arch/sh/mm/tlb-debugfs.c 	seq_printf(file, "entry:     vpn        ppn     asid  size valid wired\n");
file              125 arch/sh/mm/tlb-debugfs.c 		seq_printf(file, "%2d:    0x%08lx 0x%08lx %5lu %s   %s     %s\n",
file              137 arch/sh/mm/tlb-debugfs.c static int tlb_debugfs_open(struct inode *inode, struct file *file)
file              139 arch/sh/mm/tlb-debugfs.c 	return single_open(file, tlb_seq_show, inode->i_private);
file                9 arch/sparc/include/asm/bug.h void do_BUG(const char *file, int line);
file               10 arch/sparc/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file             1134 arch/sparc/include/asm/pgtable_64.h unsigned long get_fb_unmapped_area(struct file *filp, unsigned long,
file               79 arch/sparc/kernel/apc.c static int apc_open(struct inode *inode, struct file *f)
file               84 arch/sparc/kernel/apc.c static int apc_release(struct inode *inode, struct file *f)
file               89 arch/sparc/kernel/apc.c static long apc_ioctl(struct file *f, unsigned int cmd, unsigned long __arg)
file               62 arch/sparc/kernel/led.c static int led_proc_open(struct inode *inode, struct file *file)
file               64 arch/sparc/kernel/led.c 	return single_open(file, led_proc_show, NULL);
file               67 arch/sparc/kernel/led.c static ssize_t led_proc_write(struct file *file, const char __user *buffer,
file             1251 arch/sparc/kernel/mdesc.c static int mdesc_open(struct inode *inode, struct file *file)
file             1258 arch/sparc/kernel/mdesc.c 	file->private_data = hp;
file             1263 arch/sparc/kernel/mdesc.c static ssize_t mdesc_read(struct file *file, char __user *buf,
file             1266 arch/sparc/kernel/mdesc.c 	struct mdesc_handle *hp = file->private_data;
file             1287 arch/sparc/kernel/mdesc.c static loff_t mdesc_llseek(struct file *file, loff_t offset, int whence)
file             1289 arch/sparc/kernel/mdesc.c 	struct mdesc_handle *hp = file->private_data;
file             1291 arch/sparc/kernel/mdesc.c 	return no_seek_end_llseek_size(file, offset, whence, hp->handle_size);
file             1297 arch/sparc/kernel/mdesc.c static int mdesc_close(struct inode *inode, struct file *file)
file             1299 arch/sparc/kernel/mdesc.c 	mdesc_release(file->private_data);
file               42 arch/sparc/kernel/sys_sparc_32.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
file               90 arch/sparc/kernel/sys_sparc_64.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
file              148 arch/sparc/kernel/sys_sparc_64.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file              218 arch/sparc/kernel/sys_sparc_64.c unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags)
file              221 arch/sparc/kernel/sys_sparc_64.c 	unsigned long (*get_area)(struct file *, unsigned long,
file              356 arch/sparc/kernel/traps_32.c void do_BUG(const char *file, int line)
file              359 arch/sparc/kernel/traps_32.c         printk("kernel BUG at %s:%d!\n", file, line);
file              129 arch/sparc/kernel/traps_64.c void do_BUG(const char *file, int line)
file              132 arch/sparc/kernel/traps_64.c 	printk("kernel BUG at %s:%d!\n", file, line);
file               27 arch/sparc/mm/hugetlbpage.c static unsigned long hugetlb_get_unmapped_area_bottomup(struct file *filp,
file               59 arch/sparc/mm/hugetlbpage.c hugetlb_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file               98 arch/sparc/mm/hugetlbpage.c hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              101 arch/sparc/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              115 arch/sparc/mm/hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file              128 arch/sparc/mm/hugetlbpage.c 		return hugetlb_get_unmapped_area_bottomup(file, addr, len,
file              131 arch/sparc/mm/hugetlbpage.c 		return hugetlb_get_unmapped_area_topdown(file, addr, len,
file               31 arch/um/drivers/cow_sys.h static inline int cow_file_size(char *file, unsigned long long *size_out)
file               33 arch/um/drivers/cow_sys.h 	return os_file_size(file, size_out);
file              284 arch/um/drivers/cow_user.c 	char *file;
file              321 arch/um/drivers/cow_user.c 		file = header->v1.backing_file;
file              334 arch/um/drivers/cow_user.c 		file = header->v2.backing_file;
file              352 arch/um/drivers/cow_user.c 		file = header->v3.backing_file;
file              383 arch/um/drivers/cow_user.c 		file = header->v3_b.backing_file;
file              390 arch/um/drivers/cow_user.c 	*backing_file_out = cow_strdup(file);
file               65 arch/um/drivers/harddog_kern.c static int harddog_open(struct inode *inode, struct file *file)
file               88 arch/um/drivers/harddog_kern.c 	return stream_open(inode, file);
file               97 arch/um/drivers/harddog_kern.c static int harddog_release(struct inode *inode, struct file *file)
file              117 arch/um/drivers/harddog_kern.c static ssize_t harddog_write(struct file *file, const char __user *data, size_t len,
file              128 arch/um/drivers/harddog_kern.c static int harddog_ioctl_unlocked(struct file *file,
file              152 arch/um/drivers/harddog_kern.c static long harddog_ioctl(struct file *file,
file              158 arch/um/drivers/harddog_kern.c 	ret = harddog_ioctl_unlocked(file, cmd, arg);
file               70 arch/um/drivers/hostaudio_kern.c static ssize_t hostaudio_read(struct file *file, char __user *buffer,
file               73 arch/um/drivers/hostaudio_kern.c 	struct hostaudio_state *state = file->private_data;
file               97 arch/um/drivers/hostaudio_kern.c static ssize_t hostaudio_write(struct file *file, const char __user *buffer,
file              100 arch/um/drivers/hostaudio_kern.c 	struct hostaudio_state *state = file->private_data;
file              122 arch/um/drivers/hostaudio_kern.c static __poll_t hostaudio_poll(struct file *file,
file              134 arch/um/drivers/hostaudio_kern.c static long hostaudio_ioctl(struct file *file,
file              137 arch/um/drivers/hostaudio_kern.c 	struct hostaudio_state *state = file->private_data;
file              177 arch/um/drivers/hostaudio_kern.c static int hostaudio_open(struct inode *inode, struct file *file)
file              193 arch/um/drivers/hostaudio_kern.c 	if (file->f_mode & FMODE_READ)
file              195 arch/um/drivers/hostaudio_kern.c 	if (file->f_mode & FMODE_WRITE)
file              209 arch/um/drivers/hostaudio_kern.c 	file->private_data = state;
file              213 arch/um/drivers/hostaudio_kern.c static int hostaudio_release(struct inode *inode, struct file *file)
file              215 arch/um/drivers/hostaudio_kern.c 	struct hostaudio_state *state = file->private_data;
file              228 arch/um/drivers/hostaudio_kern.c static long hostmixer_ioctl_mixdev(struct file *file,
file              231 arch/um/drivers/hostaudio_kern.c 	struct hostmixer_state *state = file->private_data;
file              240 arch/um/drivers/hostaudio_kern.c static int hostmixer_open_mixdev(struct inode *inode, struct file *file)
file              254 arch/um/drivers/hostaudio_kern.c 	if (file->f_mode & FMODE_READ)
file              256 arch/um/drivers/hostaudio_kern.c 	if (file->f_mode & FMODE_WRITE)
file              274 arch/um/drivers/hostaudio_kern.c 	file->private_data = state;
file              278 arch/um/drivers/hostaudio_kern.c static int hostmixer_release(struct inode *inode, struct file *file)
file              280 arch/um/drivers/hostaudio_kern.c 	struct hostmixer_state *state = file->private_data;
file              323 arch/um/drivers/line.c int line_open(struct tty_struct *tty, struct file *filp)
file              344 arch/um/drivers/line.c void line_close(struct tty_struct *tty, struct file * filp)
file               59 arch/um/drivers/line.h extern void line_close(struct tty_struct *tty, struct file * filp);
file               60 arch/um/drivers/line.h extern int line_open(struct tty_struct *tty, struct file *filp);
file              129 arch/um/drivers/mconsole_kern.c 	struct file *file;
file              137 arch/um/drivers/mconsole_kern.c 	file = file_open_root(mnt->mnt_root, mnt, ptr, O_RDONLY, 0);
file              138 arch/um/drivers/mconsole_kern.c 	if (IS_ERR(file)) {
file              140 arch/um/drivers/mconsole_kern.c 		printk(KERN_ERR "open /proc/%s: %ld\n", ptr, PTR_ERR(file));
file              151 arch/um/drivers/mconsole_kern.c 		len = kernel_read(file, buf, PAGE_SIZE - 1, &pos);
file              167 arch/um/drivers/mconsole_kern.c 	fput(file);
file              697 arch/um/drivers/mconsole_kern.c 	char file[UNIX_PATH_MAX];
file              699 arch/um/drivers/mconsole_kern.c 	if (umid_file_name("mconsole", file, sizeof(file)))
file              701 arch/um/drivers/mconsole_kern.c 	snprintf(mconsole_socket_name, sizeof(file), "%s", file);
file              703 arch/um/drivers/mconsole_kern.c 	sock = os_create_unix_socket(file, sizeof(file), 1);
file              741 arch/um/drivers/mconsole_kern.c static ssize_t mconsole_proc_write(struct file *file,
file               29 arch/um/drivers/mmapper_kern.c static ssize_t mmapper_read(struct file *file, char __user *buf, size_t count,
file               35 arch/um/drivers/mmapper_kern.c static ssize_t mmapper_write(struct file *file, const char __user *buf,
file               44 arch/um/drivers/mmapper_kern.c static long mmapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               49 arch/um/drivers/mmapper_kern.c static int mmapper_mmap(struct file *file, struct vm_area_struct *vma)
file               73 arch/um/drivers/mmapper_kern.c static int mmapper_open(struct inode *inode, struct file *file)
file               78 arch/um/drivers/mmapper_kern.c static int mmapper_release(struct inode *inode, struct file *file)
file               35 arch/um/drivers/random.c static int rng_dev_open (struct inode *inode, struct file *filp)
file               48 arch/um/drivers/random.c static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size,
file              135 arch/um/drivers/ubd_kern.c 	char *file;
file              149 arch/um/drivers/ubd_kern.c 	char *file;
file              166 arch/um/drivers/ubd_kern.c 	.file =			NULL, \
file              174 arch/um/drivers/ubd_kern.c 	.file = 		NULL, \
file              319 arch/um/drivers/ubd_kern.c 	if(ubd_dev->file != NULL){
file              379 arch/um/drivers/ubd_kern.c 	ubd_dev->file = str;
file              380 arch/um/drivers/ubd_kern.c 	ubd_dev->cow.file = backing_file;
file              557 arch/um/drivers/ubd_kern.c 	char *file;
file              569 arch/um/drivers/ubd_kern.c 	if (ubd_dev->file && ubd_dev->cow.file) {
file              570 arch/um/drivers/ubd_kern.c 		file = ubd_dev->cow.file;
file              575 arch/um/drivers/ubd_kern.c 	fd = os_open_file(ubd_dev->file, of_read(OPENFLAGS()), 0);
file              584 arch/um/drivers/ubd_kern.c 		file = ubd_dev->file;
file              586 arch/um/drivers/ubd_kern.c 		file = backing_file;
file              589 arch/um/drivers/ubd_kern.c 	return os_file_size(file, size_out);
file              603 arch/um/drivers/ubd_kern.c static int backing_file_mismatch(char *file, __u64 size, time_t mtime)
file              609 arch/um/drivers/ubd_kern.c 	err = os_file_modtime(file, &modtime);
file              612 arch/um/drivers/ubd_kern.c 		       "file \"%s\", err = %d\n", file, -err);
file              616 arch/um/drivers/ubd_kern.c 	err = os_file_size(file, &actual);
file              619 arch/um/drivers/ubd_kern.c 		       "err = %d\n", file, -err);
file              669 arch/um/drivers/ubd_kern.c static int open_ubd_file(char *file, struct openflags *openflags, int shared,
file              680 arch/um/drivers/ubd_kern.c 	fd = os_open_file(file, *openflags, mode);
file              688 arch/um/drivers/ubd_kern.c 		fd = os_open_file(file, *openflags, mode);
file              694 arch/um/drivers/ubd_kern.c 		printk(KERN_INFO "Not locking \"%s\" on the host\n", file);
file              699 arch/um/drivers/ubd_kern.c 			       file, -err);
file              712 arch/um/drivers/ubd_kern.c 		       "\"%s\", errno = %d\n", file, -err);
file              719 arch/um/drivers/ubd_kern.c 					    file);
file              726 arch/um/drivers/ubd_kern.c 		err = write_cow_header(file, fd, *backing_file_out,
file              777 arch/um/drivers/ubd_kern.c 	if(ubd_dev->cow.file == NULL)
file              794 arch/um/drivers/ubd_kern.c 	create_ptr = (ubd_dev->cow.file != NULL) ? &create_cow : NULL;
file              795 arch/um/drivers/ubd_kern.c 	back_ptr = ubd_dev->no_cow ? NULL : &ubd_dev->cow.file;
file              797 arch/um/drivers/ubd_kern.c 	fd = open_ubd_file(ubd_dev->file, &ubd_dev->openflags, ubd_dev->shared,
file              803 arch/um/drivers/ubd_kern.c 		fd = create_cow_file(ubd_dev->file, ubd_dev->cow.file,
file              810 arch/um/drivers/ubd_kern.c 			       "\"%s\"\n", ubd_dev->file, ubd_dev->cow.file);
file              815 arch/um/drivers/ubd_kern.c 		printk("Failed to open '%s', errno = %d\n", ubd_dev->file,
file              821 arch/um/drivers/ubd_kern.c 	if(ubd_dev->cow.file != NULL){
file              840 arch/um/drivers/ubd_kern.c 		err = open_ubd_file(ubd_dev->cow.file, &flags, ubd_dev->shared, NULL,
file              916 arch/um/drivers/ubd_kern.c 	if(ubd_dev->file == NULL)
file             1002 arch/um/drivers/ubd_kern.c 		ubd_devs[n].file = NULL;
file             1027 arch/um/drivers/ubd_kern.c 	if(ubd_dev->file == NULL){
file             1032 arch/um/drivers/ubd_kern.c 	CONFIG_CHUNK(str, size, len, ubd_dev->file, 0);
file             1034 arch/um/drivers/ubd_kern.c 	if(ubd_dev->cow.file != NULL){
file             1036 arch/um/drivers/ubd_kern.c 		CONFIG_CHUNK(str, size, len, ubd_dev->cow.file, 1);
file             1065 arch/um/drivers/ubd_kern.c 	if(ubd_dev->file == NULL)
file             1117 arch/um/drivers/ubd_kern.c 	if(ubd_dev->file == NULL)
file             1118 arch/um/drivers/ubd_kern.c 		ubd_dev->file = "root_fs";
file             1224 arch/um/drivers/ubd_kern.c 			       disk->disk_name, ubd_dev->file, -err);
file             1324 arch/um/drivers/ubd_kern.c 	if (dev->cow.file)
file             1346 arch/um/drivers/ubd_kern.c 	if (dev->cow.file)
file               89 arch/um/drivers/xterm.c 	char title[256], file[] = "/tmp/xterm-pipeXXXXXX";
file               92 arch/um/drivers/xterm.c 			 file, NULL };
file              112 arch/um/drivers/xterm.c 	fd = mkstemp(file);
file              120 arch/um/drivers/xterm.c 	if (unlink(file)) {
file              129 arch/um/drivers/xterm.c 	fd = os_create_unix_socket(file, sizeof(file), 1);
file              181 arch/um/drivers/xterm.c 	unlink(file);
file              137 arch/um/include/shared/os.h extern int os_access(const char *file, int mode);
file              146 arch/um/include/shared/os.h extern int os_open_file(const char *file, struct openflags flags, int mode);
file              150 arch/um/include/shared/os.h extern int os_file_size(const char *file, unsigned long long *size_out);
file              153 arch/um/include/shared/os.h extern int os_file_modtime(const char *file, unsigned long *modtime);
file              159 arch/um/include/shared/os.h extern int os_create_unix_socket(const char *file, int len, int close_on_exec);
file              163 arch/um/include/shared/os.h extern int create_unix_socket(char *file, int len, int close_on_exec);
file              165 arch/um/include/shared/os.h extern int os_file_type(char *file);
file              166 arch/um/include/shared/os.h extern int os_file_mode(const char *file, struct openflags *mode_out);
file              217 arch/um/include/shared/os.h extern int execvp_noalloc(char *buf, const char *file, char *const argv[]);
file               34 arch/um/kernel/exitcode.c static int exitcode_proc_open(struct inode *inode, struct file *file)
file               36 arch/um/kernel/exitcode.c 	return single_open(file, exitcode_proc_show, NULL);
file               39 arch/um/kernel/exitcode.c static ssize_t exitcode_proc_write(struct file *file,
file              332 arch/um/kernel/process.c static int sysemu_proc_open(struct inode *inode, struct file *file)
file              334 arch/um/kernel/process.c 	return single_open(file, sysemu_proc_show, NULL);
file              337 arch/um/kernel/process.c static ssize_t sysemu_proc_write(struct file *file, const char __user *buf,
file               39 arch/um/os-Linux/execvp.c int execvp_noalloc(char *buf, const char *file, char *const argv[])
file               41 arch/um/os-Linux/execvp.c 	if (*file == '\0') {
file               45 arch/um/os-Linux/execvp.c 	if (strchr (file, '/') != NULL) {
file               47 arch/um/os-Linux/execvp.c 		execv(file, argv);
file               56 arch/um/os-Linux/execvp.c 		len = strlen(file) + 1;
file               59 arch/um/os-Linux/execvp.c 		name = memcpy(buf + pathlen + 1, file, len);
file               68 arch/um/os-Linux/file.c int os_access(const char *file, int mode)
file               77 arch/um/os-Linux/file.c 	err = access(file, amode);
file              131 arch/um/os-Linux/file.c int os_file_type(char *file)
file              136 arch/um/os-Linux/file.c 	err = os_stat_file(file, &buf);
file              155 arch/um/os-Linux/file.c int os_file_mode(const char *file, struct openflags *mode_out)
file              161 arch/um/os-Linux/file.c 	err = access(file, W_OK);
file              167 arch/um/os-Linux/file.c 	err = access(file, R_OK);
file              176 arch/um/os-Linux/file.c int os_open_file(const char *file, struct openflags flags, int mode)
file              199 arch/um/os-Linux/file.c 	fd = open64(file, f, mode);
file              307 arch/um/os-Linux/file.c int os_file_size(const char *file, unsigned long long *size_out)
file              312 arch/um/os-Linux/file.c 	err = os_stat_file(file, &buf);
file              314 arch/um/os-Linux/file.c 		printk(UM_KERN_ERR "Couldn't stat \"%s\" : err = %d\n", file,
file              323 arch/um/os-Linux/file.c 		fd = open(file, O_RDONLY, 0);
file              327 arch/um/os-Linux/file.c 			       "errno = %d\n", file, errno);
file              333 arch/um/os-Linux/file.c 			       "\"%s\", errno = %d\n", file, errno);
file              345 arch/um/os-Linux/file.c int os_file_modtime(const char *file, unsigned long *modtime)
file              350 arch/um/os-Linux/file.c 	err = os_stat_file(file, &buf);
file              352 arch/um/os-Linux/file.c 		printk(UM_KERN_ERR "Couldn't stat \"%s\" : err = %d\n", file,
file              542 arch/um/os-Linux/file.c int os_create_unix_socket(const char *file, int len, int close_on_exec)
file              560 arch/um/os-Linux/file.c 	snprintf(addr.sun_path, len, "%s", file);
file              348 arch/um/os-Linux/start_up.c 	char *file, *driver;
file              352 arch/um/os-Linux/start_up.c 	file = strchr(str,',');
file              353 arch/um/os-Linux/start_up.c 	if (file == NULL) {
file              357 arch/um/os-Linux/start_up.c 	*file = '\0';
file              358 arch/um/os-Linux/start_up.c 	file++;
file              359 arch/um/os-Linux/start_up.c 	fd = open(file, O_RDWR, 0);
file               86 arch/um/os-Linux/umid.c 	char file[256];
file              101 arch/um/os-Linux/umid.c 		if (len > sizeof(file)) {
file              106 arch/um/os-Linux/umid.c 		sprintf(file, "%s/%s", dir, ent->d_name);
file              107 arch/um/os-Linux/umid.c 		if (unlink(file) < 0 && errno != ENOENT) {
file              138 arch/um/os-Linux/umid.c 	char pid[sizeof("nnnnn\0")], *end, *file;
file              142 arch/um/os-Linux/umid.c 	err = asprintf(&file, "%s/pid", dir);
file              146 arch/um/os-Linux/umid.c 	filelen = strlen(file);
file              148 arch/um/os-Linux/umid.c 	n = snprintf(file, filelen, "%s/pid", dir);
file              156 arch/um/os-Linux/umid.c 	fd = open(file, O_RDONLY);
file              161 arch/um/os-Linux/umid.c 			       "file '%s', err = %d\n", file, -fd);
file              170 arch/um/os-Linux/umid.c 		       "'%s', err = %d\n", file, errno);
file              174 arch/um/os-Linux/umid.c 		       "'%s', 0-byte read\n", file);
file              181 arch/um/os-Linux/umid.c 		       "'%s', errno = %d\n", file, errno);
file              194 arch/um/os-Linux/umid.c 	free(file);
file              220 arch/um/os-Linux/umid.c 	char pid[sizeof("nnnnn\0")], *file;
file              223 arch/um/os-Linux/umid.c 	file = malloc(strlen(uml_dir) + UMID_LEN + sizeof("/pid\0"));
file              224 arch/um/os-Linux/umid.c 	if (!file)
file              227 arch/um/os-Linux/umid.c 	if (umid_file_name("pid", file, sizeof(file)))
file              230 arch/um/os-Linux/umid.c 	fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
file              233 arch/um/os-Linux/umid.c 		       "%s\n", file, strerror(errno));
file              245 arch/um/os-Linux/umid.c 	free(file);
file               47 arch/unicore32/include/asm/pgtable.h extern void __pte_error(const char *file, int line, unsigned long val);
file               48 arch/unicore32/include/asm/pgtable.h extern void __pgd_error(const char *file, int line, unsigned long val);
file              270 arch/unicore32/kernel/traps.c void __pte_error(const char *file, int line, unsigned long val)
file              272 arch/unicore32/kernel/traps.c 	printk(KERN_DEFAULT "%s:%d: bad pte %08lx.\n", file, line, val);
file              275 arch/unicore32/kernel/traps.c void __pmd_error(const char *file, int line, unsigned long val)
file              277 arch/unicore32/kernel/traps.c 	printk(KERN_DEFAULT "%s:%d: bad pmd %08lx.\n", file, line, val);
file              280 arch/unicore32/kernel/traps.c void __pgd_error(const char *file, int line, unsigned long val)
file              282 arch/unicore32/kernel/traps.c 	printk(KERN_DEFAULT "%s:%d: bad pgd %08lx.\n", file, line, val);
file                5 arch/x86/boot/code16gcc.h # This file is added to the assembler via -Wa when compiling 16-bit C code.
file              305 arch/x86/boot/tools/build.c 	FILE *file;
file              309 arch/x86/boot/tools/build.c 	file = fopen(fname, "r");
file              310 arch/x86/boot/tools/build.c 	if (!file)
file              312 arch/x86/boot/tools/build.c 	c = fread(buf, 1, sizeof(buf) - 1, file);
file              313 arch/x86/boot/tools/build.c 	if (ferror(file))
file              315 arch/x86/boot/tools/build.c 	fclose(file);
file              338 arch/x86/boot/tools/build.c 	FILE *file, *dest;
file              354 arch/x86/boot/tools/build.c 	file = fopen(argv[1], "r");
file              355 arch/x86/boot/tools/build.c 	if (!file)
file              357 arch/x86/boot/tools/build.c 	c = fread(buf, 1, sizeof(buf), file);
file              358 arch/x86/boot/tools/build.c 	if (ferror(file))
file              364 arch/x86/boot/tools/build.c 	fclose(file);
file               41 arch/x86/ia32/ia32_aout.c static int load_aout_library(struct file *);
file              116 arch/x86/ia32/ia32_aout.c 	    i_size_read(file_inode(bprm->file)) <
file              172 arch/x86/ia32/ia32_aout.c 		error = read_code(bprm->file, text_addr, 32,
file              191 arch/x86/ia32/ia32_aout.c 			       bprm->file);
file              196 arch/x86/ia32/ia32_aout.c 		if (!bprm->file->f_op->mmap || (fd_offset & ~PAGE_MASK) != 0) {
file              201 arch/x86/ia32/ia32_aout.c 			read_code(bprm->file, N_TXTADDR(ex), fd_offset,
file              206 arch/x86/ia32/ia32_aout.c 		error = vm_mmap(bprm->file, N_TXTADDR(ex), ex.a_text,
file              215 arch/x86/ia32/ia32_aout.c 		error = vm_mmap(bprm->file, N_DATADDR(ex), ex.a_data,
file              249 arch/x86/ia32/ia32_aout.c static int load_aout_library(struct file *file)
file              257 arch/x86/ia32/ia32_aout.c 	error = kernel_read(file, &ex, sizeof(ex), &pos);
file              264 arch/x86/ia32/ia32_aout.c 	    i_size_read(file_inode(file)) <
file              284 arch/x86/ia32/ia32_aout.c 			       file);
file              292 arch/x86/ia32/ia32_aout.c 		read_code(file, start_addr, N_TXTOFF(ex),
file              298 arch/x86/ia32/ia32_aout.c 	error = vm_mmap(file, start_addr, ex.a_text + ex.a_data,
file                9 arch/x86/include/asm/fb.h static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
file              524 arch/x86/include/asm/pgtable_types.h struct file;
file              525 arch/x86/include/asm/pgtable_types.h pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file             1462 arch/x86/kernel/apm_32.c static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
file             1505 arch/x86/kernel/apm_32.c static __poll_t do_poll(struct file *fp, poll_table *wait)
file             1518 arch/x86/kernel/apm_32.c static long do_ioctl(struct file *filp, u_int cmd, u_long arg)
file             1566 arch/x86/kernel/apm_32.c static int do_release(struct inode *inode, struct file *filp)
file             1604 arch/x86/kernel/apm_32.c static int do_open(struct inode *inode, struct file *filp)
file              125 arch/x86/kernel/cpu/mce/dev-mcelog.c static int mce_chrdev_open(struct inode *inode, struct file *file)
file              130 arch/x86/kernel/cpu/mce/dev-mcelog.c 	    (mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
file              136 arch/x86/kernel/cpu/mce/dev-mcelog.c 	if (file->f_flags & O_EXCL)
file              142 arch/x86/kernel/cpu/mce/dev-mcelog.c 	return nonseekable_open(inode, file);
file              145 arch/x86/kernel/cpu/mce/dev-mcelog.c static int mce_chrdev_release(struct inode *inode, struct file *file)
file              200 arch/x86/kernel/cpu/mce/dev-mcelog.c static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf,
file              242 arch/x86/kernel/cpu/mce/dev-mcelog.c static __poll_t mce_chrdev_poll(struct file *file, poll_table *wait)
file              244 arch/x86/kernel/cpu/mce/dev-mcelog.c 	poll_wait(file, &mce_chrdev_wait, wait);
file              252 arch/x86/kernel/cpu/mce/dev-mcelog.c static long mce_chrdev_ioctl(struct file *f, unsigned int cmd,
file              291 arch/x86/kernel/cpu/mce/dev-mcelog.c static ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf,
file              333 arch/x86/kernel/cpu/mce/inject.c static ssize_t flags_read(struct file *filp, char __user *ubuf,
file              344 arch/x86/kernel/cpu/mce/inject.c static ssize_t flags_write(struct file *filp, const char __user *ubuf,
file              635 arch/x86/kernel/cpu/mce/inject.c inj_readme_read(struct file *filp, char __user *ubuf,
file              378 arch/x86/kernel/cpu/mce/severity.c static int severities_coverage_open(struct inode *inode, struct file *file)
file              380 arch/x86/kernel/cpu/mce/severity.c 	return seq_open(file, &severities_seq_ops);
file              383 arch/x86/kernel/cpu/mce/severity.c static ssize_t severities_coverage_write(struct file *file,
file              425 arch/x86/kernel/cpu/microcode/core.c static int microcode_open(struct inode *inode, struct file *file)
file              427 arch/x86/kernel/cpu/microcode/core.c 	return capable(CAP_SYS_RAWIO) ? stream_open(inode, file) : -EPERM;
file              430 arch/x86/kernel/cpu/microcode/core.c static ssize_t microcode_write(struct file *file, const char __user *buf,
file               39 arch/x86/kernel/cpu/mtrr/if.c 	      unsigned int type, bool increment, struct file *file, int page)
file               41 arch/x86/kernel/cpu/mtrr/if.c 	unsigned int *fcount = FILE_FCOUNT(file);
file               49 arch/x86/kernel/cpu/mtrr/if.c 		FILE_FCOUNT(file) = fcount;
file               65 arch/x86/kernel/cpu/mtrr/if.c 	      struct file *file, int page)
file               67 arch/x86/kernel/cpu/mtrr/if.c 	unsigned int *fcount = FILE_FCOUNT(file);
file               94 arch/x86/kernel/cpu/mtrr/if.c mtrr_write(struct file *file, const char __user *buf, size_t len, loff_t * ppos)
file              158 arch/x86/kernel/cpu/mtrr/if.c mtrr_ioctl(struct file *file, unsigned int cmd, unsigned long __arg)
file              233 arch/x86/kernel/cpu/mtrr/if.c 				  file, 0);
file              249 arch/x86/kernel/cpu/mtrr/if.c 		err = mtrr_file_del(sentry.base, sentry.size, file, 0);
file              286 arch/x86/kernel/cpu/mtrr/if.c 				  file, 1);
file              303 arch/x86/kernel/cpu/mtrr/if.c 		err = mtrr_file_del(sentry.base, sentry.size, file, 1);
file              357 arch/x86/kernel/cpu/mtrr/if.c static int mtrr_close(struct inode *ino, struct file *file)
file              359 arch/x86/kernel/cpu/mtrr/if.c 	unsigned int *fcount = FILE_FCOUNT(file);
file              371 arch/x86/kernel/cpu/mtrr/if.c 		FILE_FCOUNT(file) = NULL;
file              373 arch/x86/kernel/cpu/mtrr/if.c 	return single_release(ino, file);
file              378 arch/x86/kernel/cpu/mtrr/if.c static int mtrr_open(struct inode *inode, struct file *file)
file              384 arch/x86/kernel/cpu/mtrr/if.c 	return single_open(file, mtrr_seq_show, NULL);
file             1218 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static ssize_t pseudo_lock_measure_trigger(struct file *file,
file             1222 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	struct rdtgroup *rdtgrp = file->private_data;
file             1237 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		ret = debugfs_file_get(file->f_path.dentry);
file             1243 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		debugfs_file_put(file->f_path.dentry);
file             1422 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static int pseudo_lock_dev_open(struct inode *inode, struct file *filp)
file             1444 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static int pseudo_lock_dev_release(struct inode *inode, struct file *filp)
file             1471 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static int pseudo_lock_dev_mmap(struct file *filp, struct vm_area_struct *vma)
file               62 arch/x86/kernel/cpuid.c static ssize_t cpuid_read(struct file *file, char __user *buf,
file               67 arch/x86/kernel/cpuid.c 	int cpu = iminor(file_inode(file));
file              102 arch/x86/kernel/cpuid.c static int cpuid_open(struct inode *inode, struct file *file)
file              107 arch/x86/kernel/cpuid.c 	cpu = iminor(file_inode(file));
file               29 arch/x86/kernel/kdebugfs.c static ssize_t setup_data_read(struct file *file, char __user *user_buf,
file               32 arch/x86/kernel/kdebugfs.c 	struct setup_data_node *node = file->private_data;
file               30 arch/x86/kernel/ksysfs.c static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj,
file              138 arch/x86/kernel/ksysfs.c static ssize_t setup_data_data_read(struct file *fp,
file               45 arch/x86/kernel/msr.c static ssize_t msr_read(struct file *file, char __user *buf,
file               51 arch/x86/kernel/msr.c 	int cpu = iminor(file_inode(file));
file               73 arch/x86/kernel/msr.c static ssize_t msr_write(struct file *file, const char __user *buf,
file               79 arch/x86/kernel/msr.c 	int cpu = iminor(file_inode(file));
file              105 arch/x86/kernel/msr.c static long msr_ioctl(struct file *file, unsigned int ioc, unsigned long arg)
file              109 arch/x86/kernel/msr.c 	int cpu = iminor(file_inode(file));
file              114 arch/x86/kernel/msr.c 		if (!(file->f_mode & FMODE_READ)) {
file              130 arch/x86/kernel/msr.c 		if (!(file->f_mode & FMODE_WRITE)) {
file              156 arch/x86/kernel/msr.c static int msr_open(struct inode *inode, struct file *file)
file              158 arch/x86/kernel/msr.c 	unsigned int cpu = iminor(file_inode(file));
file              132 arch/x86/kernel/sys_x86_64.c arch_get_unmapped_area(struct file *filp, unsigned long addr,
file              174 arch/x86/kernel/sys_x86_64.c arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
file              350 arch/x86/kernel/tboot.c static ssize_t tboot_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)
file             6403 arch/x86/kvm/svm.c 	if (!f.file)
file             6406 arch/x86/kvm/svm.c 	ret = sev_issue_cmd_external_user(f.file, id, data, error);
file             3390 arch/x86/kvm/x86.c long kvm_arch_dev_ioctl(struct file *filp,
file             4173 arch/x86/kvm/x86.c long kvm_arch_vcpu_ioctl(struct file *filp,
file             4890 arch/x86/kvm/x86.c long kvm_arch_vm_ioctl(struct file *filp,
file               80 arch/x86/mm/hugetlbpage.c static unsigned long hugetlb_get_unmapped_area_bottomup(struct file *file,
file               84 arch/x86/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              103 arch/x86/mm/hugetlbpage.c static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file,
file              107 arch/x86/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              144 arch/x86/mm/hugetlbpage.c hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              147 arch/x86/mm/hugetlbpage.c 	struct hstate *h = hstate_file(file);
file              163 arch/x86/mm/hugetlbpage.c 		if (prepare_hugepage_range(file, addr, len))
file              180 arch/x86/mm/hugetlbpage.c 		return hugetlb_get_unmapped_area_bottomup(file, addr, len,
file              183 arch/x86/mm/hugetlbpage.c 		return hugetlb_get_unmapped_area_topdown(file, addr, len,
file              163 arch/x86/mm/pageattr.c static int cpastats_open(struct inode *inode, struct file *file)
file              165 arch/x86/mm/pageattr.c 	return single_open(file, cpastats_show, NULL);
file              789 arch/x86/mm/pat.c pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              825 arch/x86/mm/pat.c int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
file              833 arch/x86/mm/pat.c 	if (file->f_flags & O_DSYNC)
file             1161 arch/x86/mm/pat.c static int memtype_seq_open(struct inode *inode, struct file *file)
file             1163 arch/x86/mm/pat.c 	return seq_open(file, &memtype_seq_ops);
file              144 arch/x86/mm/pkeys.c static ssize_t init_pkru_read_file(struct file *file, char __user *user_buf,
file              154 arch/x86/mm/pkeys.c static ssize_t init_pkru_write_file(struct file *file,
file              877 arch/x86/mm/tlb.c static ssize_t tlbflush_read_file(struct file *file, char __user *user_buf,
file              887 arch/x86/mm/tlb.c static ssize_t tlbflush_write_file(struct file *file,
file             1372 arch/x86/platform/uv/tlb_uv.c static void *ptc_seq_start(struct seq_file *file, loff_t *offset)
file             1379 arch/x86/platform/uv/tlb_uv.c static void *ptc_seq_next(struct seq_file *file, void *data, loff_t *offset)
file             1387 arch/x86/platform/uv/tlb_uv.c static void ptc_seq_stop(struct seq_file *file, void *data)
file             1396 arch/x86/platform/uv/tlb_uv.c static int ptc_seq_show(struct seq_file *file, void *data)
file             1404 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file,
file             1406 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file, "remotehub numuvhubs numuvhubs16 numuvhubs8 ");
file             1407 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file,
file             1409 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file,
file             1411 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file,
file             1413 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file,
file             1415 arch/x86/platform/uv/tlb_uv.c 		seq_puts(file, "none retry canc nocan reset rcan\n");
file             1420 arch/x86/platform/uv/tlb_uv.c 			seq_printf(file, "cpu %d bau disabled\n", cpu);
file             1425 arch/x86/platform/uv/tlb_uv.c 		seq_printf(file,
file             1433 arch/x86/platform/uv/tlb_uv.c 		seq_printf(file, "%ld %ld %ld %ld %ld %ld ",
file             1437 arch/x86/platform/uv/tlb_uv.c 		seq_printf(file, "%ld %ld %ld %ld %ld %ld %ld %ld ",
file             1442 arch/x86/platform/uv/tlb_uv.c 		seq_printf(file, "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld ",
file             1451 arch/x86/platform/uv/tlb_uv.c 		seq_printf(file,
file             1466 arch/x86/platform/uv/tlb_uv.c static ssize_t tunables_read(struct file *file, char __user *userbuf,
file             1494 arch/x86/platform/uv/tlb_uv.c static ssize_t ptc_proc_write(struct file *file, const char __user *user,
file             1615 arch/x86/platform/uv/tlb_uv.c static ssize_t tunables_write(struct file *file, const char __user *user,
file             1661 arch/x86/platform/uv/tlb_uv.c static int ptc_proc_open(struct inode *inode, struct file *file)
file             1663 arch/x86/platform/uv/tlb_uv.c 	return seq_open(file, &uv_ptc_seq_ops);
file             1666 arch/x86/platform/uv/tlb_uv.c static int tunables_open(struct inode *inode, struct file *file)
file              802 arch/x86/xen/p2m.c static int p2m_dump_open(struct inode *inode, struct file *filp)
file               61 arch/xtensa/kernel/syscall.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
file               52 arch/xtensa/platforms/iss/console.c static int rs_open(struct tty_struct *tty, struct file * filp)
file               76 arch/xtensa/platforms/iss/console.c static void rs_close(struct tty_struct *tty, struct file * filp)
file               89 arch/xtensa/platforms/iss/include/platform/simcall.h static inline int simc_open(const char *file, int flags, int mode)
file               91 arch/xtensa/platforms/iss/include/platform/simcall.h 	return __simc(SYS_open, (int) file, flags, mode);
file              211 arch/xtensa/platforms/iss/simdisk.c static ssize_t proc_read_simdisk(struct file *file, char __user *buf,
file              214 arch/xtensa/platforms/iss/simdisk.c 	struct simdisk *dev = PDE_DATA(file_inode(file));
file              227 arch/xtensa/platforms/iss/simdisk.c static ssize_t proc_write_simdisk(struct file *file, const char __user *buf,
file              231 arch/xtensa/platforms/iss/simdisk.c 	struct simdisk *dev = PDE_DATA(file_inode(file));
file              716 block/blk-mq-debugfs.c 	void *data = d_inode(m->file->f_path.dentry->d_parent)->i_private;
file              721 block/blk-mq-debugfs.c static ssize_t blk_mq_debugfs_write(struct file *file, const char __user *buf,
file              724 block/blk-mq-debugfs.c 	struct seq_file *m = file->private_data;
file              726 block/blk-mq-debugfs.c 	void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
file              738 block/blk-mq-debugfs.c static int blk_mq_debugfs_open(struct inode *inode, struct file *file)
file              741 block/blk-mq-debugfs.c 	void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
file              746 block/blk-mq-debugfs.c 		ret = seq_open(file, attr->seq_ops);
file              748 block/blk-mq-debugfs.c 			m = file->private_data;
file              757 block/blk-mq-debugfs.c 	return single_open(file, blk_mq_debugfs_show, inode->i_private);
file              760 block/blk-mq-debugfs.c static int blk_mq_debugfs_release(struct inode *inode, struct file *file)
file              765 block/blk-mq-debugfs.c 		return single_release(inode, file);
file              767 block/blk-mq-debugfs.c 	return seq_release(inode, file);
file              236 block/bsg.c    					 struct file *file)
file              281 block/bsg.c    static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file)
file              299 block/bsg.c    		bd = bsg_add_device(inode, bcd->queue, file);
file              306 block/bsg.c    static int bsg_open(struct inode *inode, struct file *file)
file              310 block/bsg.c    	bd = bsg_get_device(inode, file);
file              315 block/bsg.c    	file->private_data = bd;
file              319 block/bsg.c    static int bsg_release(struct inode *inode, struct file *file)
file              321 block/bsg.c    	struct bsg_device *bd = file->private_data;
file              323 block/bsg.c    	file->private_data = NULL;
file              347 block/bsg.c    static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              349 block/bsg.c    	struct bsg_device *bd = file->private_data;
file              373 block/bsg.c    		return scsi_cmd_ioctl(bd->queue, NULL, file->f_mode, cmd, uarg);
file              375 block/bsg.c    		return bsg_sg_io(bd->queue, file->f_mode, uarg);
file              316 block/compat_ioctl.c long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file              319 block/compat_ioctl.c 	struct inode *inode = file->f_mapping->host;
file              322 block/compat_ioctl.c 	fmode_t mode = file->f_mode;
file              330 block/compat_ioctl.c 	if (file->f_flags & O_NDELAY)
file             1055 crypto/af_alg.c __poll_t af_alg_poll(struct file *file, struct socket *sock,
file             1063 crypto/af_alg.c 	sock_poll_wait(file, sock, wait);
file               64 drivers/acpi/acpi_dbg.c static struct file *acpi_aml_active_reader;
file              469 drivers/acpi/acpi_dbg.c static int acpi_aml_open(struct inode *inode, struct file *file)
file              483 drivers/acpi/acpi_dbg.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
file              493 drivers/acpi/acpi_dbg.c 			acpi_aml_active_reader = file;
file              505 drivers/acpi/acpi_dbg.c 	if (acpi_aml_active_reader == file) {
file              527 drivers/acpi/acpi_dbg.c 		if (acpi_aml_active_reader == file)
file              535 drivers/acpi/acpi_dbg.c static int acpi_aml_release(struct inode *inode, struct file *file)
file              539 drivers/acpi/acpi_dbg.c 	if (file == acpi_aml_active_reader) {
file              606 drivers/acpi/acpi_dbg.c static ssize_t acpi_aml_read(struct file *file, char __user *buf,
file              621 drivers/acpi/acpi_dbg.c 			if (file->f_flags & O_NONBLOCK)
file              676 drivers/acpi/acpi_dbg.c static ssize_t acpi_aml_write(struct file *file, const char __user *buf,
file              691 drivers/acpi/acpi_dbg.c 			if (file->f_flags & O_NONBLOCK)
file              718 drivers/acpi/acpi_dbg.c static __poll_t acpi_aml_poll(struct file *file, poll_table *wait)
file              722 drivers/acpi/acpi_dbg.c 	poll_wait(file, &acpi_aml_io.wait, wait);
file               88 drivers/acpi/acpica/acapps.h u8 ac_is_file_binary(FILE * file);
file               90 drivers/acpi/acpica/acapps.h acpi_status ac_validate_table_header(FILE * file, long table_offset);
file              112 drivers/acpi/acpica/acapps.h u32 cm_get_file_size(ACPI_FILE file);
file              808 drivers/acpi/acpica/aclocal.h 	void *file;
file              336 drivers/acpi/acpica/acutils.h acpi_ut_dump_buffer_to_file(ACPI_FILE file,
file              199 drivers/acpi/acpica/utbuffer.c acpi_ut_dump_buffer_to_file(ACPI_FILE file,
file              208 drivers/acpi/acpica/utbuffer.c 		fprintf(file, "Null Buffer Pointer in DumpBuffer!\n");
file              222 drivers/acpi/acpica/utbuffer.c 		fprintf(file, "%8.4X: ", (base_offset + i));
file              231 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%*s", ((display * 2) + 1), " ");
file              240 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%02X ",
file              248 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%04X ", temp32);
file              255 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%08X ", temp32);
file              262 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%08X", temp32);
file              267 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%08X ", temp32);
file              278 drivers/acpi/acpica/utbuffer.c 		fprintf(file, " ");
file              281 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "\n");
file              287 drivers/acpi/acpica/utbuffer.c 				fprintf(file, "%c", buf_char);
file              289 drivers/acpi/acpica/utbuffer.c 				fprintf(file, ".");
file              295 drivers/acpi/acpica/utbuffer.c 		fprintf(file, "\n");
file              670 drivers/acpi/acpica/utprint.c int vfprintf(FILE * file, const char *format, va_list args)
file              679 drivers/acpi/acpica/utprint.c 	(void)fwrite(acpi_gbl_print_buffer, length, 1, file);
file              698 drivers/acpi/acpica/utprint.c int fprintf(FILE * file, const char *format, ...)
file              704 drivers/acpi/acpica/utprint.c 	length = vfprintf(file, format, args);
file               32 drivers/acpi/apei/erst-dbg.c static int erst_dbg_open(struct inode *inode, struct file *file)
file               39 drivers/acpi/apei/erst-dbg.c 	pos = (int *)&file->private_data;
file               45 drivers/acpi/apei/erst-dbg.c 	return nonseekable_open(inode, file);
file               48 drivers/acpi/apei/erst-dbg.c static int erst_dbg_release(struct inode *inode, struct file *file)
file               55 drivers/acpi/apei/erst-dbg.c static long erst_dbg_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
file               82 drivers/acpi/apei/erst-dbg.c static ssize_t erst_dbg_read(struct file *filp, char __user *ubuf,
file              152 drivers/acpi/apei/erst-dbg.c static ssize_t erst_dbg_write(struct file *filp, const char __user *ubuf,
file             1169 drivers/acpi/battery.c static ssize_t acpi_battery_write_alarm(struct file *file,
file             1175 drivers/acpi/battery.c 	struct seq_file *m = file->private_data;
file             1200 drivers/acpi/battery.c static int acpi_battery_alarm_proc_open(struct inode *inode, struct file *file)
file             1202 drivers/acpi/battery.c 	return single_open(file, acpi_battery_alarm_proc_show, PDE_DATA(inode));
file               53 drivers/acpi/bgrt.c static ssize_t image_read(struct file *file, struct kobject *kobj,
file               24 drivers/acpi/custom_method.c static ssize_t cm_write(struct file *file, const char __user * user_buf,
file               30 drivers/acpi/ec_sys.c static ssize_t acpi_ec_read_io(struct file *f, char __user *buf,
file               64 drivers/acpi/ec_sys.c static ssize_t acpi_ec_write_io(struct file *f, const char __user *buf,
file               95 drivers/acpi/proc.c acpi_system_write_wakeup_device(struct file *file,
file              133 drivers/acpi/proc.c acpi_system_wakeup_device_open_fs(struct inode *inode, struct file *file)
file              135 drivers/acpi/proc.c 	return single_open(file, acpi_system_wakeup_device_seq_show,
file              341 drivers/acpi/sysfs.c static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj,
file              436 drivers/acpi/sysfs.c static ssize_t acpi_data_show(struct file *filp, struct kobject *kobj,
file              522 drivers/acpi/tables.c 	struct cpio_data file;
file              536 drivers/acpi/tables.c 		file = find_cpio_data(cpio_path, data, size, &offset);
file              537 drivers/acpi/tables.c 		if (!file.data)
file              543 drivers/acpi/tables.c 		if (file.size < sizeof(struct acpi_table_header)) {
file              545 drivers/acpi/tables.c 				cpio_path, file.name);
file              549 drivers/acpi/tables.c 		table = file.data;
file              557 drivers/acpi/tables.c 				cpio_path, file.name);
file              560 drivers/acpi/tables.c 		if (file.size != table->length) {
file              562 drivers/acpi/tables.c 				cpio_path, file.name);
file              565 drivers/acpi/tables.c 		if (acpi_table_checksum(file.data, table->length)) {
file              567 drivers/acpi/tables.c 				cpio_path, file.name);
file              572 drivers/acpi/tables.c 			table->signature, cpio_path, file.name, table->length);
file              575 drivers/acpi/tables.c 		acpi_initrd_files[table_nr].data = file.data;
file              576 drivers/acpi/tables.c 		acpi_initrd_files[table_nr].size = file.size;
file              568 drivers/android/binder.c 	struct file *file;
file             1914 drivers/android/binder.c 		fput(fixup->file);
file             2215 drivers/android/binder.c 	struct file *file;
file             2236 drivers/android/binder.c 	fput(twcb->file);
file             2255 drivers/android/binder.c 	__close_fd_get_file(fd, &twcb->file);
file             2256 drivers/android/binder.c 	if (twcb->file)
file             2570 drivers/android/binder.c 	struct file *file;
file             2587 drivers/android/binder.c 	file = fget(fd);
file             2588 drivers/android/binder.c 	if (!file) {
file             2594 drivers/android/binder.c 	ret = security_binder_transfer_file(proc->tsk, target_proc->tsk, file);
file             2610 drivers/android/binder.c 	fixup->file = file;
file             2619 drivers/android/binder.c 	fput(file);
file             4144 drivers/android/binder.c 		fd_install(fd, fixup->file);
file             4145 drivers/android/binder.c 		fixup->file = NULL;
file             4154 drivers/android/binder.c 		if (fixup->file) {
file             4155 drivers/android/binder.c 			fput(fixup->file);
file             4799 drivers/android/binder.c static __poll_t binder_poll(struct file *filp,
file             4824 drivers/android/binder.c static int binder_ioctl_write_read(struct file *filp,
file             4890 drivers/android/binder.c static int binder_ioctl_set_ctx_mgr(struct file *filp,
file             4999 drivers/android/binder.c static long binder_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             5167 drivers/android/binder.c static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
file             5204 drivers/android/binder.c static int binder_open(struct inode *nodp, struct file *filp)
file             5296 drivers/android/binder.c static int binder_flush(struct file *filp, fl_owner_t id)
file             5327 drivers/android/binder.c static int binder_release(struct inode *nodp, struct file *filp)
file              221 drivers/android/binderfs.c static long binder_ctl_ioctl(struct file *file, unsigned int cmd,
file              225 drivers/android/binderfs.c 	struct inode *inode = file_inode(file);
file              683 drivers/auxdisplay/charlcd.c static ssize_t charlcd_write(struct file *file, const char __user *buf,
file              706 drivers/auxdisplay/charlcd.c static int charlcd_open(struct inode *inode, struct file *file)
file              716 drivers/auxdisplay/charlcd.c 	if (file->f_mode & FMODE_READ)	/* device is write-only */
file              723 drivers/auxdisplay/charlcd.c 	return nonseekable_open(inode, file);
file              730 drivers/auxdisplay/charlcd.c static int charlcd_release(struct inode *inode, struct file *file)
file             1076 drivers/auxdisplay/panel.c static ssize_t keypad_read(struct file *file,
file             1083 drivers/auxdisplay/panel.c 		if (file->f_flags & O_NONBLOCK)
file             1101 drivers/auxdisplay/panel.c static int keypad_open(struct inode *inode, struct file *file)
file             1110 drivers/auxdisplay/panel.c 	if (file->f_mode & FMODE_WRITE)	/* device is read-only */
file             1120 drivers/auxdisplay/panel.c static int keypad_release(struct inode *inode, struct file *file)
file               74 drivers/base/devcoredump.c static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj,
file               84 drivers/base/devcoredump.c static ssize_t devcd_data_write(struct file *filp, struct kobject *kobj,
file              336 drivers/base/firmware_loader/fallback.c static ssize_t firmware_data_read(struct file *filp, struct kobject *kobj,
file              393 drivers/base/firmware_loader/fallback.c static ssize_t firmware_data_write(struct file *filp, struct kobject *kobj,
file               85 drivers/base/power/trace.c static int set_magic_time(unsigned int user, unsigned int file, unsigned int device)
file               87 drivers/base/power/trace.c 	unsigned int n = user + USERHASH*(file + FILEHASH*device);
file              165 drivers/base/power/trace.c 	const char *file = *(const char **)(tracedata + 2);
file              169 drivers/base/power/trace.c 	file_hash_value = hash_string(lineno, file, FILEHASH);
file              184 drivers/base/power/trace.c 		const char *file = *(const char **)(tracedata + 2);
file              185 drivers/base/power/trace.c 		unsigned int hash = hash_string(lineno, file, FILEHASH);
file              188 drivers/base/power/trace.c 		pr_info("  hash matches %s:%u\n", file, lineno);
file              278 drivers/base/power/trace.c 	unsigned int user, file, dev;
file              282 drivers/base/power/trace.c 	file = val % FILEHASH;
file              286 drivers/base/power/trace.c 	pr_info("  Magic number: %d:%d:%d\n", user, file, dev);
file              287 drivers/base/power/trace.c 	show_file_hash(file);
file             1107 drivers/base/power/wakeup.c static int wakeup_sources_stats_open(struct inode *inode, struct file *file)
file             1109 drivers/base/power/wakeup.c 	return seq_open_private(file, &wakeup_sources_stats_seq_ops, sizeof(int));
file               35 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_name_read_file(struct file *file,
file               39 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = file->private_data;
file              282 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf,
file              285 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = file->private_data;
file              299 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_map_write_file(struct file *file,
file              307 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = file->private_data;
file              342 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf,
file              345 drivers/base/regmap/regmap-debugfs.c 	struct regmap_range_node *range = file->private_data;
file              358 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_reg_ranges_read_file(struct file *file,
file              362 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = file->private_data;
file              454 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_cache_only_write_file(struct file *file,
file              458 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = container_of(file->private_data,
file              468 drivers/base/regmap/regmap-debugfs.c 	result = debugfs_write_file_bool(file, user_buf, count, ppos);
file              499 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_cache_bypass_write_file(struct file *file,
file              503 drivers/base/regmap/regmap-debugfs.c 	struct regmap *map = container_of(file->private_data,
file              512 drivers/base/regmap/regmap-debugfs.c 	result = debugfs_write_file_bool(file, user_buf, count, ppos);
file              157 drivers/block/aoe/aoeblk.c static int aoe_debugfs_open(struct inode *inode, struct file *file)
file              159 drivers/block/aoe/aoeblk.c 	return single_open(file, aoedisk_debugfs_show, inode->i_private);
file              162 drivers/block/aoe/aoechr.c aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp)
file              189 drivers/block/aoe/aoechr.c aoechr_open(struct inode *inode, struct file *filp)
file              207 drivers/block/aoe/aoechr.c aoechr_rel(struct inode *inode, struct file *filp)
file              213 drivers/block/aoe/aoechr.c aoechr_read(struct file *filp, char __user *buf, size_t cnt, loff_t *off)
file              418 drivers/block/drbd/drbd_debugfs.c static int drbd_single_open(struct file *file, int (*show)(struct seq_file *, void *),
file              427 drivers/block/drbd/drbd_debugfs.c 	parent = file->f_path.dentry->d_parent;
file              431 drivers/block/drbd/drbd_debugfs.c 	if (simple_positive(file->f_path.dentry)
file              436 drivers/block/drbd/drbd_debugfs.c 		ret = single_open(file, show, data);
file              443 drivers/block/drbd/drbd_debugfs.c static int in_flight_summary_open(struct inode *inode, struct file *file)
file              446 drivers/block/drbd/drbd_debugfs.c 	return drbd_single_open(file, in_flight_summary_show, resource,
file              450 drivers/block/drbd/drbd_debugfs.c static int in_flight_summary_release(struct inode *inode, struct file *file)
file              454 drivers/block/drbd/drbd_debugfs.c 	return single_release(inode, file);
file              551 drivers/block/drbd/drbd_debugfs.c static int callback_history_open(struct inode *inode, struct file *file)
file              554 drivers/block/drbd/drbd_debugfs.c 	return drbd_single_open(file, callback_history_show, connection,
file              558 drivers/block/drbd/drbd_debugfs.c static int callback_history_release(struct inode *inode, struct file *file)
file              562 drivers/block/drbd/drbd_debugfs.c 	return single_release(inode, file);
file              598 drivers/block/drbd/drbd_debugfs.c static int connection_oldest_requests_open(struct inode *inode, struct file *file)
file              601 drivers/block/drbd/drbd_debugfs.c 	return drbd_single_open(file, connection_oldest_requests_show, connection,
file              605 drivers/block/drbd/drbd_debugfs.c static int connection_oldest_requests_release(struct inode *inode, struct file *file)
file              609 drivers/block/drbd/drbd_debugfs.c 	return single_release(inode, file);
file              745 drivers/block/drbd/drbd_debugfs.c static int device_ ## name ## _open(struct inode *inode, struct file *file)	\
file              748 drivers/block/drbd/drbd_debugfs.c 	return drbd_single_open(file, device_ ## name ## _show, device,		\
file              751 drivers/block/drbd/drbd_debugfs.c static int device_ ## name ## _release(struct inode *inode, struct file *file)	\
file              755 drivers/block/drbd/drbd_debugfs.c 	return single_release(inode, file);					\
file              853 drivers/block/drbd/drbd_debugfs.c static int drbd_version_open(struct inode *inode, struct file *file)
file              855 drivers/block/drbd/drbd_debugfs.c 	return single_open(file, drbd_version_show, NULL);
file              144 drivers/block/loop.c static loff_t get_size(loff_t offset, loff_t sizelimit, struct file *file)
file              149 drivers/block/loop.c 	loopsize = i_size_read(file->f_mapping->host);
file              165 drivers/block/loop.c static loff_t get_loop_size(struct loop_device *lo, struct file *file)
file              167 drivers/block/loop.c 	return get_size(lo->lo_offset, lo->lo_sizelimit, file);
file              172 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              173 drivers/block/loop.c 	struct address_space *mapping = file->f_mapping;
file              210 drivers/block/loop.c 	vfs_fsync(file, 0);
file              267 drivers/block/loop.c static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos)
file              274 drivers/block/loop.c 	file_start_write(file);
file              275 drivers/block/loop.c 	bw = vfs_iter_write(file, &i, ppos, 0);
file              276 drivers/block/loop.c 	file_end_write(file);
file              429 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              440 drivers/block/loop.c 	ret = file->f_op->fallocate(file, mode, pos, blk_rq_bytes(rq));
file              449 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              450 drivers/block/loop.c 	int ret = vfs_fsync(file, 0);
file              521 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              565 drivers/block/loop.c 	cmd->iocb.ki_filp = file;
file              573 drivers/block/loop.c 		ret = call_write_iter(file, &cmd->iocb, &iter);
file              575 drivers/block/loop.c 		ret = call_read_iter(file, &cmd->iocb, &iter);
file              650 drivers/block/loop.c static inline int is_loop_device(struct file *file)
file              652 drivers/block/loop.c 	struct inode *i = file->f_mapping->host;
file              657 drivers/block/loop.c static int loop_validate_file(struct file *file, struct block_device *bdev)
file              659 drivers/block/loop.c 	struct inode	*inode = file->f_mapping->host;
file              660 drivers/block/loop.c 	struct file	*f = file;
file              691 drivers/block/loop.c 	struct file	*file = NULL, *old_file;
file              708 drivers/block/loop.c 	file = fget(arg);
file              709 drivers/block/loop.c 	if (!file)
file              712 drivers/block/loop.c 	error = loop_validate_file(file, bdev);
file              721 drivers/block/loop.c 	if (get_loop_size(lo, file) != get_loop_size(lo, old_file))
file              727 drivers/block/loop.c 	lo->lo_backing_file = file;
file              728 drivers/block/loop.c 	lo->old_gfp_mask = mapping_gfp_mask(file->f_mapping);
file              729 drivers/block/loop.c 	mapping_set_gfp_mask(file->f_mapping,
file              747 drivers/block/loop.c 	if (file)
file              748 drivers/block/loop.c 		fput(file);
file              863 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              864 drivers/block/loop.c 	struct inode *inode = file->f_mapping->host;
file              890 drivers/block/loop.c 	} else if (!file->f_op->fallocate || lo->lo_encrypt_key_size) {
file              935 drivers/block/loop.c 	struct file *file = lo->lo_backing_file;
file              936 drivers/block/loop.c 	struct inode *file_inode = file->f_mapping->host;
file              954 drivers/block/loop.c 	struct file	*file;
file              967 drivers/block/loop.c 	file = fget(arg);
file              968 drivers/block/loop.c 	if (!file)
file              991 drivers/block/loop.c 	error = loop_validate_file(file, bdev);
file              995 drivers/block/loop.c 	mapping = file->f_mapping;
file              998 drivers/block/loop.c 	if (!(file->f_mode & FMODE_WRITE) || !(mode & FMODE_WRITE) ||
file              999 drivers/block/loop.c 	    !file->f_op->write_iter)
file             1003 drivers/block/loop.c 	size = get_loop_size(lo, file);
file             1017 drivers/block/loop.c 	lo->lo_backing_file = file;
file             1024 drivers/block/loop.c 	if (!(lo_flags & LO_FLAGS_READ_ONLY) && file->f_op->fsync)
file             1070 drivers/block/loop.c 	fput(file);
file             1116 drivers/block/loop.c 	struct file *filp = NULL;
file             2174 drivers/block/loop.c static long loop_control_ioctl(struct file *file, unsigned int cmd,
file               49 drivers/block/loop.h 	struct file *	lo_backing_file;
file             2237 drivers/block/mtip32xx/mtip32xx.c static ssize_t mtip_hw_read_device_status(struct file *f, char __user *ubuf,
file             2266 drivers/block/mtip32xx/mtip32xx.c static ssize_t mtip_hw_read_registers(struct file *f, char __user *ubuf,
file             2333 drivers/block/mtip32xx/mtip32xx.c static ssize_t mtip_hw_read_flags(struct file *f, char __user *ubuf,
file             1524 drivers/block/nbd.c static int nbd_dbg_tasks_open(struct inode *inode, struct file *file)
file             1526 drivers/block/nbd.c 	return single_open(file, nbd_dbg_tasks_show, inode->i_private);
file             1559 drivers/block/nbd.c static int nbd_dbg_flags_open(struct inode *inode, struct file *file)
file             1561 drivers/block/nbd.c 	return single_open(file, nbd_dbg_flags_show, inode->i_private);
file              198 drivers/block/paride/pg.c static int pg_open(struct inode *inode, struct file *file);
file              199 drivers/block/paride/pg.c static int pg_release(struct inode *inode, struct file *file);
file              200 drivers/block/paride/pg.c static ssize_t pg_read(struct file *filp, char __user *buf,
file              202 drivers/block/paride/pg.c static ssize_t pg_write(struct file *filp, const char __user *buf,
file              526 drivers/block/paride/pg.c static int pg_open(struct inode *inode, struct file *file)
file              558 drivers/block/paride/pg.c 	file->private_data = dev;
file              565 drivers/block/paride/pg.c static int pg_release(struct inode *inode, struct file *file)
file              567 drivers/block/paride/pg.c 	struct pg *dev = file->private_data;
file              576 drivers/block/paride/pg.c static ssize_t pg_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos)
file              624 drivers/block/paride/pg.c static ssize_t pg_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos)
file              195 drivers/block/paride/pt.c static int pt_open(struct inode *inode, struct file *file);
file              196 drivers/block/paride/pt.c static long pt_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              197 drivers/block/paride/pt.c static int pt_release(struct inode *inode, struct file *file);
file              198 drivers/block/paride/pt.c static ssize_t pt_read(struct file *filp, char __user *buf,
file              200 drivers/block/paride/pt.c static ssize_t pt_write(struct file *filp, const char __user *buf,
file              659 drivers/block/paride/pt.c static int pt_open(struct inode *inode, struct file *file)
file              682 drivers/block/paride/pt.c 	if ((!(tape->flags & PT_WRITE_OK)) && (file->f_mode & FMODE_WRITE))
file              695 drivers/block/paride/pt.c 	file->private_data = tape;
file              705 drivers/block/paride/pt.c static long pt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              707 drivers/block/paride/pt.c 	struct pt_unit *tape = file->private_data;
file              743 drivers/block/paride/pt.c pt_release(struct inode *inode, struct file *file)
file              745 drivers/block/paride/pt.c 	struct pt_unit *tape = file->private_data;
file              765 drivers/block/paride/pt.c static ssize_t pt_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
file              862 drivers/block/paride/pt.c static ssize_t pt_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
file              460 drivers/block/pktcdvd.c static int pkt_debugfs_fops_open(struct inode *inode, struct file *file)
file              462 drivers/block/pktcdvd.c 	return single_open(file, pkt_debugfs_seq_show, inode->i_private);
file             2860 drivers/block/pktcdvd.c static long pkt_ctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2898 drivers/block/pktcdvd.c static long pkt_ctl_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2900 drivers/block/pktcdvd.c 	return pkt_ctl_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              153 drivers/block/rsxx/core.c static int rsxx_attr_stats_open(struct inode *inode, struct file *file)
file              155 drivers/block/rsxx/core.c 	return single_open(file, rsxx_attr_stats_show, inode->i_private);
file              158 drivers/block/rsxx/core.c static int rsxx_attr_pci_regs_open(struct inode *inode, struct file *file)
file              160 drivers/block/rsxx/core.c 	return single_open(file, rsxx_attr_pci_regs_show, inode->i_private);
file              163 drivers/block/rsxx/core.c static ssize_t rsxx_cram_read(struct file *fp, char __user *ubuf,
file              184 drivers/block/rsxx/core.c static ssize_t rsxx_cram_write(struct file *fp, const char __user *ubuf,
file              416 drivers/block/zram/zram_drv.c 	struct file *file;
file              422 drivers/block/zram/zram_drv.c 	file = zram->backing_dev;
file              423 drivers/block/zram/zram_drv.c 	if (!file) {
file              429 drivers/block/zram/zram_drv.c 	p = file_path(file, buf, PAGE_SIZE - 1);
file              448 drivers/block/zram/zram_drv.c 	struct file *backing_dev = NULL;
file              862 drivers/block/zram/zram_drv.c static ssize_t read_block_state(struct file *file, char __user *buf,
file              867 drivers/block/zram/zram_drv.c 	struct zram *zram = file->private_data;
file              115 drivers/block/zram/zram_drv.h 	struct file *backing_dev;
file               34 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscfgcmd_write(struct file *file,
file               37 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file               54 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf,
file               57 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file               74 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf,
file               77 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file               95 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_pscmd_read(struct file *file, char __user *userbuf,
file               98 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file              114 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf,
file              117 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file              133 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscmd_read(struct file *file, char __user *userbuf,
file              136 drivers/bluetooth/btmrvl_debugfs.c 	struct btmrvl_private *priv = file->private_data;
file              745 drivers/bluetooth/hci_ldisc.c static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file *file,
file              793 drivers/bluetooth/hci_ldisc.c 		err = n_tty_ioctl_helper(tty, file, cmd, arg);
file              803 drivers/bluetooth/hci_ldisc.c static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file,
file              809 drivers/bluetooth/hci_ldisc.c static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file,
file              816 drivers/bluetooth/hci_ldisc.c 				      struct file *filp, poll_table *wait)
file              247 drivers/bluetooth/hci_vhci.c static ssize_t vhci_read(struct file *file,
file              250 drivers/bluetooth/hci_vhci.c 	struct vhci_data *data = file->private_data;
file              265 drivers/bluetooth/hci_vhci.c 		if (file->f_flags & O_NONBLOCK) {
file              281 drivers/bluetooth/hci_vhci.c 	struct file *file = iocb->ki_filp;
file              282 drivers/bluetooth/hci_vhci.c 	struct vhci_data *data = file->private_data;
file              287 drivers/bluetooth/hci_vhci.c static __poll_t vhci_poll(struct file *file, poll_table *wait)
file              289 drivers/bluetooth/hci_vhci.c 	struct vhci_data *data = file->private_data;
file              291 drivers/bluetooth/hci_vhci.c 	poll_wait(file, &data->read_wait, wait);
file              307 drivers/bluetooth/hci_vhci.c static int vhci_open(struct inode *inode, struct file *file)
file              321 drivers/bluetooth/hci_vhci.c 	file->private_data = data;
file              322 drivers/bluetooth/hci_vhci.c 	nonseekable_open(inode, file);
file              329 drivers/bluetooth/hci_vhci.c static int vhci_release(struct inode *inode, struct file *file)
file              331 drivers/bluetooth/hci_vhci.c 	struct vhci_data *data = file->private_data;
file              344 drivers/bluetooth/hci_vhci.c 	file->private_data = NULL;
file              457 drivers/bus/moxtet.c static int moxtet_debug_open(struct inode *inode, struct file *file)
file              459 drivers/bus/moxtet.c 	file->private_data = inode->i_private;
file              461 drivers/bus/moxtet.c 	return nonseekable_open(inode, file);
file              464 drivers/bus/moxtet.c static ssize_t input_read(struct file *file, char __user *buf, size_t len,
file              467 drivers/bus/moxtet.c 	struct moxtet *moxtet = file->private_data;
file              491 drivers/bus/moxtet.c static ssize_t output_read(struct file *file, char __user *buf, size_t len,
file              494 drivers/bus/moxtet.c 	struct moxtet *moxtet = file->private_data;
file              511 drivers/bus/moxtet.c static ssize_t output_write(struct file *file, const char __user *buf,
file              514 drivers/bus/moxtet.c 	struct moxtet *moxtet = file->private_data;
file              473 drivers/bus/mvebu-mbus.c static int mvebu_sdram_debug_open(struct inode *inode, struct file *file)
file              475 drivers/bus/mvebu-mbus.c 	return single_open(file, mvebu_sdram_debug_show, inode->i_private);
file              523 drivers/bus/mvebu-mbus.c static int mvebu_devs_debug_open(struct inode *inode, struct file *file)
file              525 drivers/bus/mvebu-mbus.c 	return single_open(file, mvebu_devs_debug_show, inode->i_private);
file               17 drivers/char/adi.c static int adi_open(struct inode *inode, struct file *file)
file               19 drivers/char/adi.c 	file->f_mode |= FMODE_UNSIGNED_OFFSET;
file               54 drivers/char/adi.c static ssize_t adi_read(struct file *file, char __user *buf,
file              131 drivers/char/adi.c static ssize_t adi_write(struct file *file, const char __user *buf,
file              177 drivers/char/adi.c static loff_t adi_llseek(struct file *file, loff_t offset, int whence)
file              189 drivers/char/adi.c 			return file->f_pos;
file              191 drivers/char/adi.c 		offset += file->f_pos;
file              197 drivers/char/adi.c 	if (offset != file->f_pos) {
file              198 drivers/char/adi.c 		file->f_pos = offset;
file              199 drivers/char/adi.c 		file->f_version = 0;
file              241 drivers/char/agp/agp.h long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              210 drivers/char/agp/compat_ioctl.c long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              212 drivers/char/agp/compat_ioctl.c 	struct agp_file_private *curr_priv = file->private_data;
file              565 drivers/char/agp/frontend.c static int agp_mmap(struct file *file, struct vm_area_struct *vma)
file              570 drivers/char/agp/frontend.c 	struct agp_file_private *priv = file->private_data;
file              643 drivers/char/agp/frontend.c static int agp_release(struct inode *inode, struct file *file)
file              645 drivers/char/agp/frontend.c 	struct agp_file_private *priv = file->private_data;
file              669 drivers/char/agp/frontend.c 	file->private_data = NULL;
file              674 drivers/char/agp/frontend.c static int agp_open(struct inode *inode, struct file *file)
file              704 drivers/char/agp/frontend.c 	file->private_data = (void *) priv;
file              949 drivers/char/agp/frontend.c static long agp_ioctl(struct file *file,
file              952 drivers/char/agp/frontend.c 	struct agp_file_private *curr_priv = file->private_data;
file              203 drivers/char/apm-emulation.c static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
file              240 drivers/char/apm-emulation.c static __poll_t apm_poll(struct file *fp, poll_table * wait)
file              259 drivers/char/apm-emulation.c apm_ioctl(struct file *filp, u_int cmd, u_long arg)
file              327 drivers/char/apm-emulation.c static int apm_release(struct inode * inode, struct file * filp)
file              353 drivers/char/apm-emulation.c static int apm_open(struct inode * inode, struct file * filp)
file              111 drivers/char/applicom.c static ssize_t ac_read (struct file *, char __user *, size_t, loff_t *);
file              112 drivers/char/applicom.c static ssize_t ac_write (struct file *, const char __user *, size_t, loff_t *);
file              113 drivers/char/applicom.c static long ac_ioctl(struct file *, unsigned int, unsigned long);
file              357 drivers/char/applicom.c static ssize_t ac_write(struct file *file, const char __user *buf, size_t count, loff_t * ppos)
file              539 drivers/char/applicom.c static ssize_t ac_read (struct file *filp, char __user *buf, size_t count, loff_t *ptr)
file              699 drivers/char/applicom.c static long ac_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              112 drivers/char/bsr.c static int bsr_mmap(struct file *filp, struct vm_area_struct *vma)
file              137 drivers/char/bsr.c static int bsr_open(struct inode *inode, struct file *filp)
file              214 drivers/char/ds1620.c static int ds1620_open(struct inode *inode, struct file *file)
file              216 drivers/char/ds1620.c 	return stream_open(inode, file);
file              220 drivers/char/ds1620.c ds1620_read(struct file *file, char __user *buf, size_t count, loff_t *ptr)
file              237 drivers/char/ds1620.c ds1620_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              322 drivers/char/ds1620.c ds1620_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              327 drivers/char/ds1620.c 	ret = ds1620_ioctl(file, cmd, arg);
file              181 drivers/char/dsp56k.c static ssize_t dsp56k_read(struct file *file, char __user *buf, size_t count,
file              184 drivers/char/dsp56k.c 	struct inode *inode = file_inode(file);
file              244 drivers/char/dsp56k.c static ssize_t dsp56k_write(struct file *file, const char __user *buf, size_t count,
file              247 drivers/char/dsp56k.c 	struct inode *inode = file_inode(file);
file              306 drivers/char/dsp56k.c static long dsp56k_ioctl(struct file *file, unsigned int cmd,
file              309 drivers/char/dsp56k.c 	int dev = iminor(file_inode(file)) & 0x0f;
file              409 drivers/char/dsp56k.c static __poll_t dsp56k_poll(struct file *file, poll_table *wait)
file              411 drivers/char/dsp56k.c 	int dev = iminor(file_inode(file)) & 0x0f;
file              426 drivers/char/dsp56k.c static int dsp56k_open(struct inode *inode, struct file *file)
file              462 drivers/char/dsp56k.c static int dsp56k_release(struct inode *inode, struct file *file)
file               91 drivers/char/dtlk.c static ssize_t dtlk_read(struct file *, char __user *,
file               93 drivers/char/dtlk.c static ssize_t dtlk_write(struct file *, const char __user *,
file               95 drivers/char/dtlk.c static __poll_t dtlk_poll(struct file *, poll_table *);
file               96 drivers/char/dtlk.c static int dtlk_open(struct inode *, struct file *);
file               97 drivers/char/dtlk.c static int dtlk_release(struct inode *, struct file *);
file               98 drivers/char/dtlk.c static long dtlk_ioctl(struct file *file,
file              126 drivers/char/dtlk.c static ssize_t dtlk_read(struct file *file, char __user *buf,
file              129 drivers/char/dtlk.c 	unsigned int minor = iminor(file_inode(file));
file              149 drivers/char/dtlk.c 		if (file->f_flags & O_NONBLOCK)
file              159 drivers/char/dtlk.c static ssize_t dtlk_write(struct file *file, const char __user *buf,
file              181 drivers/char/dtlk.c 	if (iminor(file_inode(file)) != DTLK_MINOR)
file              214 drivers/char/dtlk.c 		if (file->f_flags & O_NONBLOCK)
file              232 drivers/char/dtlk.c static __poll_t dtlk_poll(struct file *file, poll_table * wait)
file              244 drivers/char/dtlk.c 	poll_wait(file, &dtlk_process_list, wait);
file              269 drivers/char/dtlk.c static long dtlk_ioctl(struct file *file,
file              298 drivers/char/dtlk.c static int dtlk_open(struct inode *inode, struct file *file)
file              306 drivers/char/dtlk.c 		return stream_open(inode, file);
file              313 drivers/char/dtlk.c static int dtlk_release(struct inode *inode, struct file *file)
file               52 drivers/char/efirtc.c static long efi_rtc_ioctl(struct file *file, unsigned int cmd,
file              147 drivers/char/efirtc.c static long efi_rtc_ioctl(struct file *file, unsigned int cmd,
file              257 drivers/char/hpet.c static int hpet_open(struct inode *inode, struct file *file)
file              263 drivers/char/hpet.c 	if (file->f_mode & FMODE_WRITE)
file              284 drivers/char/hpet.c 	file->private_data = devp;
file              296 drivers/char/hpet.c hpet_read(struct file *file, char __user *buf, size_t count, loff_t * ppos)
file              303 drivers/char/hpet.c 	devp = file->private_data;
file              322 drivers/char/hpet.c 		else if (file->f_flags & O_NONBLOCK) {
file              342 drivers/char/hpet.c static __poll_t hpet_poll(struct file *file, poll_table * wait)
file              347 drivers/char/hpet.c 	devp = file->private_data;
file              352 drivers/char/hpet.c 	poll_wait(file, &devp->hd_waitqueue, wait);
file              379 drivers/char/hpet.c static int hpet_mmap(struct file *file, struct vm_area_struct *vma)
file              387 drivers/char/hpet.c 	devp = file->private_data;
file              397 drivers/char/hpet.c static int hpet_mmap(struct file *file, struct vm_area_struct *vma)
file              403 drivers/char/hpet.c static int hpet_fasync(int fd, struct file *file, int on)
file              407 drivers/char/hpet.c 	devp = file->private_data;
file              409 drivers/char/hpet.c 	if (fasync_helper(fd, file, on, &devp->hd_async_queue) >= 0)
file              415 drivers/char/hpet.c static int hpet_release(struct inode *inode, struct file *file)
file              421 drivers/char/hpet.c 	devp = file->private_data;
file              449 drivers/char/hpet.c 	file->private_data = NULL;
file              665 drivers/char/hpet.c hpet_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              671 drivers/char/hpet.c 	err = hpet_ioctl_common(file->private_data, cmd, arg, &info);
file              690 drivers/char/hpet.c hpet_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              696 drivers/char/hpet.c 	err = hpet_ioctl_common(file->private_data, cmd, arg, &info);
file              172 drivers/char/hw_random/core.c static int rng_dev_open(struct inode *inode, struct file *filp)
file              201 drivers/char/hw_random/core.c static ssize_t rng_dev_read(struct file *filp, char __user *buf,
file               50 drivers/char/hw_random/s390-trng.c static int trng_open(struct inode *inode, struct file *file)
file               52 drivers/char/hw_random/s390-trng.c 	return nonseekable_open(inode, file);
file               55 drivers/char/hw_random/s390-trng.c static ssize_t trng_read(struct file *file, char __user *ubuf,
file              162 drivers/char/ipmi/bt-bmc.c static struct bt_bmc *file_bt_bmc(struct file *file)
file              164 drivers/char/ipmi/bt-bmc.c 	return container_of(file->private_data, struct bt_bmc, miscdev);
file              167 drivers/char/ipmi/bt-bmc.c static int bt_bmc_open(struct inode *inode, struct file *file)
file              169 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              193 drivers/char/ipmi/bt-bmc.c static ssize_t bt_bmc_read(struct file *file, char __user *buf,
file              196 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              259 drivers/char/ipmi/bt-bmc.c static ssize_t bt_bmc_write(struct file *file, const char __user *buf,
file              262 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              315 drivers/char/ipmi/bt-bmc.c static long bt_bmc_ioctl(struct file *file, unsigned int cmd,
file              318 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              328 drivers/char/ipmi/bt-bmc.c static int bt_bmc_release(struct inode *inode, struct file *file)
file              330 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              337 drivers/char/ipmi/bt-bmc.c static __poll_t bt_bmc_poll(struct file *file, poll_table *wait)
file              339 drivers/char/ipmi/bt-bmc.c 	struct bt_bmc *bt_bmc = file_bt_bmc(file);
file              343 drivers/char/ipmi/bt-bmc.c 	poll_wait(file, &bt_bmc->queue, wait);
file               68 drivers/char/ipmi/ipmb_dev_int.c static inline struct ipmb_dev *to_ipmb_dev(struct file *file)
file               70 drivers/char/ipmi/ipmb_dev_int.c 	return container_of(file->private_data, struct ipmb_dev, miscdev);
file               73 drivers/char/ipmi/ipmb_dev_int.c static ssize_t ipmb_read(struct file *file, char __user *buf, size_t count,
file               76 drivers/char/ipmi/ipmb_dev_int.c 	struct ipmb_dev *ipmb_dev = to_ipmb_dev(file);
file               88 drivers/char/ipmi/ipmb_dev_int.c 		if (file->f_flags & O_NONBLOCK)
file              115 drivers/char/ipmi/ipmb_dev_int.c static ssize_t ipmb_write(struct file *file, const char __user *buf,
file              118 drivers/char/ipmi/ipmb_dev_int.c 	struct ipmb_dev *ipmb_dev = to_ipmb_dev(file);
file              157 drivers/char/ipmi/ipmb_dev_int.c static unsigned int ipmb_poll(struct file *file, poll_table *wait)
file              159 drivers/char/ipmi/ipmb_dev_int.c 	struct ipmb_dev *ipmb_dev = to_ipmb_dev(file);
file              163 drivers/char/ipmi/ipmb_dev_int.c 	poll_wait(file, &ipmb_dev->wait_queue, wait);
file               57 drivers/char/ipmi/ipmi_devintf.c static __poll_t ipmi_poll(struct file *file, poll_table *wait)
file               59 drivers/char/ipmi/ipmi_devintf.c 	struct ipmi_file_private *priv = file->private_data;
file               63 drivers/char/ipmi/ipmi_devintf.c 	poll_wait(file, &priv->wait, wait);
file               75 drivers/char/ipmi/ipmi_devintf.c static int ipmi_fasync(int fd, struct file *file, int on)
file               77 drivers/char/ipmi/ipmi_devintf.c 	struct ipmi_file_private *priv = file->private_data;
file               79 drivers/char/ipmi/ipmi_devintf.c 	return fasync_helper(fd, file, on, &priv->fasync_queue);
file               87 drivers/char/ipmi/ipmi_devintf.c static int ipmi_open(struct inode *inode, struct file *file)
file              106 drivers/char/ipmi/ipmi_devintf.c 	file->private_data = priv;
file              122 drivers/char/ipmi/ipmi_devintf.c static int ipmi_release(struct inode *inode, struct file *file)
file              124 drivers/char/ipmi/ipmi_devintf.c 	struct ipmi_file_private *priv = file->private_data;
file              292 drivers/char/ipmi/ipmi_devintf.c static long ipmi_ioctl(struct file   *file,
file              297 drivers/char/ipmi/ipmi_devintf.c 	struct ipmi_file_private *priv = file->private_data;
file              718 drivers/char/ipmi/ipmi_devintf.c static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd,
file              663 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_ioctl(struct file *file,
file              732 drivers/char/ipmi/ipmi_watchdog.c static long ipmi_unlocked_ioctl(struct file *file,
file              739 drivers/char/ipmi/ipmi_watchdog.c 	ret = ipmi_ioctl(file, cmd, arg);
file              745 drivers/char/ipmi/ipmi_watchdog.c static ssize_t ipmi_write(struct file *file,
file              775 drivers/char/ipmi/ipmi_watchdog.c static ssize_t ipmi_read(struct file *file,
file              792 drivers/char/ipmi/ipmi_watchdog.c 		if (file->f_flags & O_NONBLOCK) {
file              827 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_open(struct inode *ino, struct file *filep)
file              847 drivers/char/ipmi/ipmi_watchdog.c static __poll_t ipmi_poll(struct file *file, poll_table *wait)
file              851 drivers/char/ipmi/ipmi_watchdog.c 	poll_wait(file, &read_q, wait);
file              861 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_fasync(int fd, struct file *file, int on)
file              865 drivers/char/ipmi/ipmi_watchdog.c 	result = fasync_helper(fd, file, on, &fasync_q);
file              870 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_close(struct inode *ino, struct file *filep)
file              238 drivers/char/ipmi/kcs_bmc.c static inline struct kcs_bmc *to_kcs_bmc(struct file *filp)
file              243 drivers/char/ipmi/kcs_bmc.c static int kcs_bmc_open(struct inode *inode, struct file *filp)
file              258 drivers/char/ipmi/kcs_bmc.c static __poll_t kcs_bmc_poll(struct file *filp, poll_table *wait)
file              273 drivers/char/ipmi/kcs_bmc.c static ssize_t kcs_bmc_read(struct file *filp, char __user *buf,
file              335 drivers/char/ipmi/kcs_bmc.c static ssize_t kcs_bmc_write(struct file *filp, const char __user *buf,
file              371 drivers/char/ipmi/kcs_bmc.c static long kcs_bmc_ioctl(struct file *filp, unsigned int cmd,
file              404 drivers/char/ipmi/kcs_bmc.c static int kcs_bmc_release(struct inode *inode, struct file *filp)
file              299 drivers/char/lp.c static ssize_t lp_write(struct file *file, const char __user *buf,
file              302 drivers/char/lp.c 	unsigned int minor = iminor(file_inode(file));
file              308 drivers/char/lp.c 	int nonblock = ((file->f_flags & O_NONBLOCK) ||
file              417 drivers/char/lp.c static ssize_t lp_read(struct file *file, char __user *buf,
file              421 drivers/char/lp.c 	unsigned int minor=iminor(file_inode(file));
file              425 drivers/char/lp.c 	int nonblock = ((file->f_flags & O_NONBLOCK) ||
file              496 drivers/char/lp.c static int lp_open(struct inode *inode, struct file *file)
file              519 drivers/char/lp.c 	if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) {
file              566 drivers/char/lp.c static int lp_release(struct inode *inode, struct file *file)
file              723 drivers/char/lp.c static long lp_ioctl(struct file *file, unsigned int cmd,
file              729 drivers/char/lp.c 	minor = iminor(file_inode(file));
file              751 drivers/char/lp.c static long lp_compat_ioctl(struct file *file, unsigned int cmd,
file              757 drivers/char/lp.c 	minor = iminor(file_inode(file));
file              111 drivers/char/mem.c static ssize_t read_mem(struct file *file, char __user *buf,
file              198 drivers/char/mem.c static ssize_t write_mem(struct file *file, const char __user *buf,
file              271 drivers/char/mem.c int __weak phys_mem_access_prot_allowed(struct file *file,
file              285 drivers/char/mem.c static int uncached_access(struct file *file, phys_addr_t addr)
file              295 drivers/char/mem.c 		extern int __uncached_access(struct file *file,
file              298 drivers/char/mem.c 		return __uncached_access(file, addr);
file              306 drivers/char/mem.c 	if (file->f_flags & O_DSYNC)
file              313 drivers/char/mem.c static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
file              319 drivers/char/mem.c 	if (uncached_access(file, offset))
file              327 drivers/char/mem.c static unsigned long get_unmapped_area_mem(struct file *file,
file              339 drivers/char/mem.c static unsigned memory_mmap_capabilities(struct file *file)
file              345 drivers/char/mem.c static unsigned zero_mmap_capabilities(struct file *file)
file              369 drivers/char/mem.c static int mmap_mem(struct file *file, struct vm_area_struct *vma)
file              391 drivers/char/mem.c 	if (!phys_mem_access_prot_allowed(file, vma->vm_pgoff, size,
file              395 drivers/char/mem.c 	vma->vm_page_prot = phys_mem_access_prot(file, vma->vm_pgoff,
file              412 drivers/char/mem.c static int mmap_kmem(struct file *file, struct vm_area_struct *vma)
file              430 drivers/char/mem.c 	return mmap_mem(file, vma);
file              436 drivers/char/mem.c static ssize_t read_kmem(struct file *file, char __user *buf,
file              575 drivers/char/mem.c static ssize_t write_kmem(struct file *file, const char __user *buf,
file              627 drivers/char/mem.c static ssize_t read_port(struct file *file, char __user *buf,
file              645 drivers/char/mem.c static ssize_t write_port(struct file *file, const char __user *buf,
file              669 drivers/char/mem.c static ssize_t read_null(struct file *file, char __user *buf,
file              675 drivers/char/mem.c static ssize_t write_null(struct file *file, const char __user *buf,
file              699 drivers/char/mem.c static ssize_t splice_write_null(struct pipe_inode_info *pipe, struct file *out,
file              725 drivers/char/mem.c static int mmap_zero(struct file *file, struct vm_area_struct *vma)
file              736 drivers/char/mem.c static unsigned long get_unmapped_area_zero(struct file *file,
file              752 drivers/char/mem.c 	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
file              758 drivers/char/mem.c static ssize_t write_full(struct file *file, const char __user *buf,
file              769 drivers/char/mem.c static loff_t null_lseek(struct file *file, loff_t offset, int orig)
file              771 drivers/char/mem.c 	return file->f_pos = 0;
file              782 drivers/char/mem.c static loff_t memory_lseek(struct file *file, loff_t offset, int orig)
file              786 drivers/char/mem.c 	inode_lock(file_inode(file));
file              789 drivers/char/mem.c 		offset += file->f_pos;
file              797 drivers/char/mem.c 		file->f_pos = offset;
file              798 drivers/char/mem.c 		ret = file->f_pos;
file              804 drivers/char/mem.c 	inode_unlock(file_inode(file));
file              808 drivers/char/mem.c static int open_port(struct inode *inode, struct file *filp)
file              906 drivers/char/mem.c static int memory_open(struct inode *inode, struct file *filp)
file              100 drivers/char/misc.c static int misc_open(struct inode *inode, struct file *file)
file              136 drivers/char/misc.c 	file->private_data = c;
file              139 drivers/char/misc.c 	replace_fops(file, new_fops);
file              140 drivers/char/misc.c 	if (file->f_op->open)
file              141 drivers/char/misc.c 		err = file->f_op->open(inode, file);
file              182 drivers/char/mspec.c mspec_mmap(struct file *file, struct vm_area_struct *vma,
file              222 drivers/char/mspec.c cached_mmap(struct file *file, struct vm_area_struct *vma)
file              224 drivers/char/mspec.c 	return mspec_mmap(file, vma, MSPEC_CACHED);
file              228 drivers/char/mspec.c uncached_mmap(struct file *file, struct vm_area_struct *vma)
file              230 drivers/char/mspec.c 	return mspec_mmap(file, vma, MSPEC_UNCACHED);
file               89 drivers/char/mwave/mwavedd.c static int mwave_open(struct inode *inode, struct file *file);
file               90 drivers/char/mwave/mwavedd.c static int mwave_close(struct inode *inode, struct file *file);
file               91 drivers/char/mwave/mwavedd.c static long mwave_ioctl(struct file *filp, unsigned int iocmd,
file               96 drivers/char/mwave/mwavedd.c static int mwave_open(struct inode *inode, struct file *file)
file              102 drivers/char/mwave/mwavedd.c 		 inode, file);
file              109 drivers/char/mwave/mwavedd.c static int mwave_close(struct inode *inode, struct file *file)
file              115 drivers/char/mwave/mwavedd.c 		 inode,  file);
file              123 drivers/char/mwave/mwavedd.c static long mwave_ioctl(struct file *file, unsigned int iocmd,
file              132 drivers/char/mwave/mwavedd.c 		file, iocmd, (int) ioarg);
file              415 drivers/char/mwave/mwavedd.c static ssize_t mwave_read(struct file *file, char __user *buf, size_t count,
file              420 drivers/char/mwave/mwavedd.c 		file, buf, count, ppos);
file              426 drivers/char/mwave/mwavedd.c static ssize_t mwave_write(struct file *file, const char __user *buf,
file              432 drivers/char/mwave/mwavedd.c 		file, buf, count, ppos);
file               42 drivers/char/nsc_gpio.c ssize_t nsc_gpio_write(struct file *file, const char __user *data,
file               45 drivers/char/nsc_gpio.c 	unsigned m = iminor(file_inode(file));
file               46 drivers/char/nsc_gpio.c 	struct nsc_gpio_ops *amp = file->private_data;
file              105 drivers/char/nsc_gpio.c ssize_t nsc_gpio_read(struct file *file, char __user * buf,
file              108 drivers/char/nsc_gpio.c 	unsigned m = iminor(file_inode(file));
file              110 drivers/char/nsc_gpio.c 	struct nsc_gpio_ops *amp = file->private_data;
file              222 drivers/char/nvram.c static loff_t nvram_misc_llseek(struct file *file, loff_t offset, int origin)
file              224 drivers/char/nvram.c 	return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE,
file              228 drivers/char/nvram.c static ssize_t nvram_misc_read(struct file *file, char __user *buf,
file              261 drivers/char/nvram.c static ssize_t nvram_misc_write(struct file *file, const char __user *buf,
file              284 drivers/char/nvram.c static long nvram_misc_ioctl(struct file *file, unsigned int cmd,
file              354 drivers/char/nvram.c static int nvram_misc_open(struct inode *inode, struct file *file)
file              359 drivers/char/nvram.c 	if ((nvram_open_cnt && (file->f_flags & O_EXCL)) ||
file              368 drivers/char/nvram.c 	    (file->f_mode & FMODE_WRITE) && (nvram_open_mode & NVRAM_WRITE)) {
file              374 drivers/char/nvram.c 	if (file->f_flags & O_EXCL)
file              376 drivers/char/nvram.c 	if (file->f_mode & FMODE_WRITE)
file              385 drivers/char/nvram.c static int nvram_misc_release(struct inode *inode, struct file *file)
file              394 drivers/char/nvram.c 	if (file->f_mode & FMODE_WRITE)
file              168 drivers/char/nwbutton.c static int button_read (struct file *filp, char __user *buffer,
file               96 drivers/char/nwflash.c static long flash_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file              123 drivers/char/nwflash.c static ssize_t flash_read(struct file *file, char __user *buf, size_t size,
file              143 drivers/char/nwflash.c static ssize_t flash_write(struct file *file, const char __user *buf,
file              272 drivers/char/nwflash.c static loff_t flash_llseek(struct file *file, loff_t offset, int orig)
file              281 drivers/char/nwflash.c 	ret = no_seek_end_llseek_size(file, offset, orig, gbFlashSize);
file              221 drivers/char/pc8736x_gpio.c static int pc8736x_gpio_open(struct inode *inode, struct file *file)
file              224 drivers/char/pc8736x_gpio.c 	file->private_data = &pc8736x_gpio_ops;
file              230 drivers/char/pc8736x_gpio.c 	return nonseekable_open(inode, file);
file              921 drivers/char/pcmcia/cm4000_cs.c static ssize_t cmm_read(struct file *filp, __user char *buf, size_t count,
file             1045 drivers/char/pcmcia/cm4000_cs.c static ssize_t cmm_write(struct file *filp, const char __user *buf,
file             1399 drivers/char/pcmcia/cm4000_cs.c static long cmm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             1632 drivers/char/pcmcia/cm4000_cs.c static int cmm_open(struct inode *inode, struct file *filp)
file             1691 drivers/char/pcmcia/cm4000_cs.c static int cmm_close(struct inode *inode, struct file *filp)
file              215 drivers/char/pcmcia/cm4040_cs.c static ssize_t cm4040_read(struct file *filp, char __user *buf,
file              317 drivers/char/pcmcia/cm4040_cs.c static ssize_t cm4040_write(struct file *filp, const char __user *buf,
file              418 drivers/char/pcmcia/cm4040_cs.c static __poll_t cm4040_poll(struct file *filp, poll_table *wait)
file              435 drivers/char/pcmcia/cm4040_cs.c static int cm4040_open(struct inode *inode, struct file *filp)
file              477 drivers/char/pcmcia/cm4040_cs.c static int cm4040_close(struct inode *inode, struct file *filp)
file               74 drivers/char/pcmcia/scr24x_cs.c static int scr24x_open(struct inode *inode, struct file *filp)
file               85 drivers/char/pcmcia/scr24x_cs.c static int scr24x_release(struct inode *inode, struct file *filp)
file              117 drivers/char/pcmcia/scr24x_cs.c static ssize_t scr24x_read(struct file *filp, char __user *buf, size_t count,
file              166 drivers/char/pcmcia/scr24x_cs.c static ssize_t scr24x_write(struct file *filp, const char __user *buf,
file             2325 drivers/char/pcmcia/synclink_cs.c static void mgslpc_close(struct tty_struct *tty, struct file * filp)
file             2467 drivers/char/pcmcia/synclink_cs.c static int mgslpc_open(struct tty_struct *tty, struct file * filp)
file               38 drivers/char/powernv-op-panel.c static loff_t oppanel_llseek(struct file *filp, loff_t offset, int whence)
file               43 drivers/char/powernv-op-panel.c static ssize_t oppanel_read(struct file *filp, char __user *userbuf, size_t len,
file               88 drivers/char/powernv-op-panel.c static ssize_t oppanel_write(struct file *filp, const char __user *userbuf,
file              114 drivers/char/powernv-op-panel.c static int oppanel_open(struct inode *inode, struct file *filp)
file              123 drivers/char/powernv-op-panel.c static int oppanel_release(struct inode *inode, struct file *filp)
file              115 drivers/char/ppdev.c static ssize_t pp_read(struct file *file, char __user *buf, size_t count,
file              118 drivers/char/ppdev.c 	unsigned int minor = iminor(file_inode(file));
file              119 drivers/char/ppdev.c 	struct pp_struct *pp = file->private_data;
file              142 drivers/char/ppdev.c 			    (file->f_flags & O_NONBLOCK) ?
file              170 drivers/char/ppdev.c 		if (file->f_flags & O_NONBLOCK) {
file              193 drivers/char/ppdev.c static ssize_t pp_write(struct file *file, const char __user *buf,
file              196 drivers/char/ppdev.c 	unsigned int minor = iminor(file_inode(file));
file              197 drivers/char/ppdev.c 	struct pp_struct *pp = file->private_data;
file              218 drivers/char/ppdev.c 			    (file->f_flags & O_NONBLOCK) ?
file              251 drivers/char/ppdev.c 		if (file->f_flags & O_NONBLOCK) {
file              352 drivers/char/ppdev.c static int pp_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              354 drivers/char/ppdev.c 	unsigned int minor = iminor(file_inode(file));
file              355 drivers/char/ppdev.c 	struct pp_struct *pp = file->private_data;
file              671 drivers/char/ppdev.c static long pp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              676 drivers/char/ppdev.c 	ret = pp_do_ioctl(file, cmd, arg);
file              682 drivers/char/ppdev.c static long pp_compat_ioctl(struct file *file, unsigned int cmd,
file              685 drivers/char/ppdev.c 	return pp_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              689 drivers/char/ppdev.c static int pp_open(struct inode *inode, struct file *file)
file              713 drivers/char/ppdev.c 	file->private_data = pp;
file              718 drivers/char/ppdev.c static int pp_release(struct inode *inode, struct file *file)
file              721 drivers/char/ppdev.c 	struct pp_struct *pp = file->private_data;
file              776 drivers/char/ppdev.c static __poll_t pp_poll(struct file *file, poll_table *wait)
file              778 drivers/char/ppdev.c 	struct pp_struct *pp = file->private_data;
file              781 drivers/char/ppdev.c 	poll_wait(file, &pp->irq_wait, wait);
file               86 drivers/char/ps3flash.c static loff_t ps3flash_llseek(struct file *file, loff_t offset, int origin)
file               89 drivers/char/ps3flash.c 	return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE,
file              237 drivers/char/ps3flash.c static ssize_t ps3flash_user_read(struct file *file, char __user *buf,
file              243 drivers/char/ps3flash.c static ssize_t ps3flash_user_write(struct file *file, const char __user *buf,
file              272 drivers/char/ps3flash.c static int ps3flash_flush(struct file *file, fl_owner_t id)
file              277 drivers/char/ps3flash.c static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              279 drivers/char/ps3flash.c 	struct inode *inode = file_inode(file);
file             2018 drivers/char/random.c random_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
file             2020 drivers/char/random.c 	return _random_read(file->f_flags & O_NONBLOCK, buf, nbytes);
file             2024 drivers/char/random.c urandom_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
file             2047 drivers/char/random.c random_poll(struct file *file, poll_table * wait)
file             2051 drivers/char/random.c 	poll_wait(file, &random_read_wait, wait);
file             2052 drivers/char/random.c 	poll_wait(file, &random_write_wait, wait);
file             2091 drivers/char/random.c static ssize_t random_write(struct file *file, const char __user *buffer,
file             2103 drivers/char/random.c static long random_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
file             2160 drivers/char/random.c static int random_fasync(int fd, struct file *filp, int on)
file               55 drivers/char/raw.c static int raw_open(struct inode *inode, struct file *filp)
file              102 drivers/char/raw.c static int raw_release(struct inode *inode, struct file *filp)
file              122 drivers/char/raw.c raw_ioctl(struct file *filp, unsigned int command, unsigned long arg)
file              209 drivers/char/raw.c static long raw_ctl_ioctl(struct file *filp, unsigned int command,
file              250 drivers/char/raw.c static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd,
file              139 drivers/char/rtc.c static ssize_t rtc_read(struct file *file, char __user *buf,
file              142 drivers/char/rtc.c static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              146 drivers/char/rtc.c static __poll_t rtc_poll(struct file *file, poll_table *wait);
file              312 drivers/char/rtc.c static ssize_t rtc_read(struct file *file, char __user *buf,
file              353 drivers/char/rtc.c 		if (file->f_flags & O_NONBLOCK) {
file              701 drivers/char/rtc.c static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              713 drivers/char/rtc.c static int rtc_open(struct inode *inode, struct file *file)
file              731 drivers/char/rtc.c static int rtc_fasync(int fd, struct file *filp, int on)
file              736 drivers/char/rtc.c static int rtc_release(struct inode *inode, struct file *file)
file              776 drivers/char/rtc.c static __poll_t rtc_poll(struct file *file, poll_table *wait)
file              783 drivers/char/rtc.c 	poll_wait(file, &rtc_wait, wait);
file               50 drivers/char/scx200_gpio.c static int scx200_gpio_open(struct inode *inode, struct file *file)
file               53 drivers/char/scx200_gpio.c 	file->private_data = &scx200_gpio_ops;
file               57 drivers/char/scx200_gpio.c 	return nonseekable_open(inode, file);
file               60 drivers/char/scx200_gpio.c static int scx200_gpio_release(struct inode *inode, struct file *file)
file              873 drivers/char/sonypi.c static int sonypi_misc_fasync(int fd, struct file *filp, int on)
file              878 drivers/char/sonypi.c static int sonypi_misc_release(struct inode *inode, struct file *file)
file              886 drivers/char/sonypi.c static int sonypi_misc_open(struct inode *inode, struct file *file)
file              898 drivers/char/sonypi.c static ssize_t sonypi_misc_read(struct file *file, char __user *buf,
file              905 drivers/char/sonypi.c 	    (file->f_flags & O_NONBLOCK))
file              922 drivers/char/sonypi.c 		struct inode *inode = file_inode(file);
file              929 drivers/char/sonypi.c static __poll_t sonypi_misc_poll(struct file *file, poll_table *wait)
file              931 drivers/char/sonypi.c 	poll_wait(file, &sonypi_device.fifo_proc_list, wait);
file              937 drivers/char/sonypi.c static long sonypi_misc_ioctl(struct file *fp,
file              149 drivers/char/tb0219.c static ssize_t tanbac_tb0219_read(struct file *file, char __user *buf, size_t len,
file              155 drivers/char/tb0219.c 	minor = iminor(file_inode(file));
file              182 drivers/char/tb0219.c static ssize_t tanbac_tb0219_write(struct file *file, const char __user *data,
file              191 drivers/char/tb0219.c 	minor = iminor(file_inode(file));
file              223 drivers/char/tb0219.c static int tanbac_tb0219_open(struct inode *inode, struct file *file)
file              233 drivers/char/tb0219.c 		return stream_open(inode, file);
file              241 drivers/char/tb0219.c static int tanbac_tb0219_release(struct inode *inode, struct file *file)
file              204 drivers/char/tlclk.c static int tlclk_open(struct inode *inode, struct file *filp)
file              235 drivers/char/tlclk.c static int tlclk_release(struct inode *inode, struct file *filp)
file              243 drivers/char/tlclk.c static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count,
file               82 drivers/char/toshiba.c static long tosh_ioctl(struct file *, unsigned int,
file              247 drivers/char/toshiba.c static long tosh_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
file               26 drivers/char/tpm/eventlog/common.c 					    struct file *file)
file               46 drivers/char/tpm/eventlog/common.c 	err = seq_open(file, seqops);
file               48 drivers/char/tpm/eventlog/common.c 		seq = file->private_data;
file               56 drivers/char/tpm/eventlog/common.c 					 struct file *file)
file               58 drivers/char/tpm/eventlog/common.c 	struct seq_file *seq = (struct seq_file *)file->private_data;
file               63 drivers/char/tpm/eventlog/common.c 	return seq_release(inode, file);
file              105 drivers/char/tpm/tpm-dev-common.c void tpm_common_open(struct file *file, struct tpm_chip *chip,
file              117 drivers/char/tpm/tpm-dev-common.c 	file->private_data = priv;
file              120 drivers/char/tpm/tpm-dev-common.c ssize_t tpm_common_read(struct file *file, char __user *buf,
file              123 drivers/char/tpm/tpm-dev-common.c 	struct file_priv *priv = file->private_data;
file              160 drivers/char/tpm/tpm-dev-common.c ssize_t tpm_common_write(struct file *file, const char __user *buf,
file              163 drivers/char/tpm/tpm-dev-common.c 	struct file_priv *priv = file->private_data;
file              211 drivers/char/tpm/tpm-dev-common.c 	if (file->f_flags & O_NONBLOCK) {
file              233 drivers/char/tpm/tpm-dev-common.c __poll_t tpm_common_poll(struct file *file, poll_table *wait)
file              235 drivers/char/tpm/tpm-dev-common.c 	struct file_priv *priv = file->private_data;
file              238 drivers/char/tpm/tpm-dev-common.c 	poll_wait(file, &priv->async_wait, wait);
file              258 drivers/char/tpm/tpm-dev-common.c void tpm_common_release(struct file *file, struct file_priv *priv)
file              263 drivers/char/tpm/tpm-dev-common.c 	file->private_data = NULL;
file               18 drivers/char/tpm/tpm-dev.c static int tpm_open(struct inode *inode, struct file *file)
file               37 drivers/char/tpm/tpm-dev.c 	tpm_common_open(file, chip, priv, NULL);
file               49 drivers/char/tpm/tpm-dev.c static int tpm_release(struct inode *inode, struct file *file)
file               51 drivers/char/tpm/tpm-dev.c 	struct file_priv *priv = file->private_data;
file               53 drivers/char/tpm/tpm-dev.c 	tpm_common_release(file, priv);
file               24 drivers/char/tpm/tpm-dev.h void tpm_common_open(struct file *file, struct tpm_chip *chip,
file               26 drivers/char/tpm/tpm-dev.h ssize_t tpm_common_read(struct file *file, char __user *buf,
file               28 drivers/char/tpm/tpm-dev.h ssize_t tpm_common_write(struct file *file, const char __user *buf,
file               30 drivers/char/tpm/tpm-dev.h __poll_t tpm_common_poll(struct file *file, poll_table *wait);
file               32 drivers/char/tpm/tpm-dev.h void tpm_common_release(struct file *file, struct file_priv *priv);
file               72 drivers/char/tpm/tpm_vtpm_proxy.c static ssize_t vtpm_proxy_fops_read(struct file *filp, char __user *buf,
file              127 drivers/char/tpm/tpm_vtpm_proxy.c static ssize_t vtpm_proxy_fops_write(struct file *filp, const char __user *buf,
file              171 drivers/char/tpm/tpm_vtpm_proxy.c static __poll_t vtpm_proxy_fops_poll(struct file *filp, poll_table *wait)
file              200 drivers/char/tpm/tpm_vtpm_proxy.c static void vtpm_proxy_fops_open(struct file *filp)
file              233 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_fops_release(struct inode *inode, struct file *filp)
file              533 drivers/char/tpm/tpm_vtpm_proxy.c static struct file *vtpm_proxy_create_device(
file              538 drivers/char/tpm/tpm_vtpm_proxy.c 	struct file *file;
file              556 drivers/char/tpm/tpm_vtpm_proxy.c 	file = anon_inode_getfile("[vtpms]", &vtpm_proxy_fops, proxy_dev,
file              558 drivers/char/tpm/tpm_vtpm_proxy.c 	if (IS_ERR(file)) {
file              559 drivers/char/tpm/tpm_vtpm_proxy.c 		rc = PTR_ERR(file);
file              565 drivers/char/tpm/tpm_vtpm_proxy.c 	vtpm_proxy_fops_open(file);
file              577 drivers/char/tpm/tpm_vtpm_proxy.c 	return file;
file              624 drivers/char/tpm/tpm_vtpm_proxy.c static long vtpmx_ioc_new_dev(struct file *file, unsigned int ioctl,
file              630 drivers/char/tpm/tpm_vtpm_proxy.c 	struct file *vtpm_file;
file              662 drivers/char/tpm/tpm_vtpm_proxy.c static long vtpmx_fops_ioctl(struct file *f, unsigned int ioctl,
file              674 drivers/char/tpm/tpm_vtpm_proxy.c static long vtpmx_fops_compat_ioctl(struct file *f, unsigned int ioctl,
file               13 drivers/char/tpm/tpmrm-dev.c static int tpmrm_open(struct inode *inode, struct file *file)
file               30 drivers/char/tpm/tpmrm-dev.c 	tpm_common_open(file, chip, &priv->priv, &priv->space);
file               35 drivers/char/tpm/tpmrm-dev.c static int tpmrm_release(struct inode *inode, struct file *file)
file               37 drivers/char/tpm/tpmrm-dev.c 	struct file_priv *fpriv = file->private_data;
file               40 drivers/char/tpm/tpmrm-dev.c 	tpm_common_release(file, fpriv);
file               90 drivers/char/ttyprintk.c static int tpk_open(struct tty_struct *tty, struct file *filp)
file              100 drivers/char/ttyprintk.c static void tpk_close(struct tty_struct *tty, struct file *filp)
file               41 drivers/char/uv_mmtimer.c static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd,
file               43 drivers/char/uv_mmtimer.c static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
file               84 drivers/char/uv_mmtimer.c static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd,
file              147 drivers/char/uv_mmtimer.c static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma)
file              737 drivers/char/virtio_console.c static ssize_t port_fops_read(struct file *filp, char __user *ubuf,
file              804 drivers/char/virtio_console.c static ssize_t port_fops_write(struct file *filp, const char __user *ubuf,
file              909 drivers/char/virtio_console.c 				      struct file *filp, loff_t *ppos,
file              971 drivers/char/virtio_console.c static __poll_t port_fops_poll(struct file *filp, poll_table *wait)
file              996 drivers/char/virtio_console.c static int port_fops_release(struct inode *inode, struct file *filp)
file             1030 drivers/char/virtio_console.c static int port_fops_open(struct inode *inode, struct file *filp)
file             1084 drivers/char/virtio_console.c static int port_fops_fasync(int fd, struct file *filp, int mode)
file              356 drivers/char/xilinx_hwicap/xilinx_hwicap.c hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              358 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	struct hwicap_drvdata *drvdata = file->private_data;
file              441 drivers/char/xilinx_hwicap/xilinx_hwicap.c hwicap_write(struct file *file, const char __user *buf,
file              444 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	struct hwicap_drvdata *drvdata = file->private_data;
file              529 drivers/char/xilinx_hwicap/xilinx_hwicap.c static int hwicap_open(struct inode *inode, struct file *file)
file              552 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	file->private_data = drvdata;
file              564 drivers/char/xilinx_hwicap/xilinx_hwicap.c static int hwicap_release(struct inode *inode, struct file *file)
file              566 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	struct hwicap_drvdata *drvdata = file->private_data;
file              666 drivers/char/xillybus/xillybus_core.c static ssize_t xillybus_read(struct file *filp, char __user *userbuf,
file             1156 drivers/char/xillybus/xillybus_core.c static int xillybus_flush(struct file *filp, fl_owner_t id)
file             1181 drivers/char/xillybus/xillybus_core.c static ssize_t xillybus_write(struct file *filp, const char __user *userbuf,
file             1408 drivers/char/xillybus/xillybus_core.c static int xillybus_open(struct inode *inode, struct file *filp)
file             1561 drivers/char/xillybus/xillybus_core.c static int xillybus_release(struct inode *inode, struct file *filp)
file             1662 drivers/char/xillybus/xillybus_core.c static loff_t xillybus_llseek(struct file *filp, loff_t offset, int whence)
file             1736 drivers/char/xillybus/xillybus_core.c static __poll_t xillybus_poll(struct file *filp, poll_table *wait)
file              348 drivers/crypto/bcm/util.c static ssize_t spu_debugfs_read(struct file *filp, char __user *ubuf,
file                9 drivers/crypto/caam/dpseci-debugfs.c static int dpseci_dbg_fqs_show(struct seq_file *file, void *offset)
file               11 drivers/crypto/caam/dpseci-debugfs.c 	struct dpaa2_caam_priv *priv = (struct dpaa2_caam_priv *)file->private;
file               15 drivers/crypto/caam/dpseci-debugfs.c 	seq_printf(file, "FQ stats for %s:\n", dev_name(priv->dev));
file               16 drivers/crypto/caam/dpseci-debugfs.c 	seq_printf(file, "%s%16s%16s\n",
file               27 drivers/crypto/caam/dpseci-debugfs.c 		seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt);
file               30 drivers/crypto/caam/dpseci-debugfs.c 	seq_printf(file, "%s%16s%16s\n",
file               41 drivers/crypto/caam/dpseci-debugfs.c 		seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt);
file               47 drivers/crypto/caam/dpseci-debugfs.c static int dpseci_dbg_fqs_open(struct inode *inode, struct file *file)
file               54 drivers/crypto/caam/dpseci-debugfs.c 	err = single_open(file, dpseci_dbg_fqs_show, priv);
file              587 drivers/crypto/cavium/zip/zip_main.c static int zip_stats_open(struct inode *inode, struct file *file)
file              589 drivers/crypto/cavium/zip/zip_main.c 	return single_open(file, zip_show_stats, NULL);
file              599 drivers/crypto/cavium/zip/zip_main.c static int zip_clear_open(struct inode *inode, struct file *file)
file              601 drivers/crypto/cavium/zip/zip_main.c 	return single_open(file, zip_clear_stats, NULL);
file              611 drivers/crypto/cavium/zip/zip_main.c static int zip_regs_open(struct inode *inode, struct file *file)
file              613 drivers/crypto/cavium/zip/zip_main.c 	return single_open(file, zip_print_regs, NULL);
file               42 drivers/crypto/ccp/ccp-debugfs.c static ssize_t ccp5_debugfs_info_read(struct file *filp, char __user *ubuf,
file               97 drivers/crypto/ccp/ccp-debugfs.c static ssize_t ccp5_debugfs_stats_read(struct file *filp, char __user *ubuf,
file              174 drivers/crypto/ccp/ccp-debugfs.c static ssize_t ccp5_debugfs_stats_write(struct file *filp,
file              191 drivers/crypto/ccp/ccp-debugfs.c static ssize_t ccp5_debugfs_queue_read(struct file *filp, char __user *ubuf,
file              245 drivers/crypto/ccp/ccp-debugfs.c static ssize_t ccp5_debugfs_queue_write(struct file *filp,
file              785 drivers/crypto/ccp/psp-dev.c static long sev_ioctl(struct file *file, unsigned int ioctl, unsigned long arg)
file             1020 drivers/crypto/ccp/psp-dev.c int sev_issue_cmd_external_user(struct file *filep, unsigned int cmd,
file              757 drivers/crypto/hisilicon/qm.c static struct hisi_qm *file_to_qm(struct debugfs_file *file)
file              759 drivers/crypto/hisilicon/qm.c 	struct qm_debug *debug = file->debug;
file              764 drivers/crypto/hisilicon/qm.c static u32 current_q_read(struct debugfs_file *file)
file              766 drivers/crypto/hisilicon/qm.c 	struct hisi_qm *qm = file_to_qm(file);
file              771 drivers/crypto/hisilicon/qm.c static int current_q_write(struct debugfs_file *file, u32 val)
file              773 drivers/crypto/hisilicon/qm.c 	struct hisi_qm *qm = file_to_qm(file);
file              790 drivers/crypto/hisilicon/qm.c static u32 clear_enable_read(struct debugfs_file *file)
file              792 drivers/crypto/hisilicon/qm.c 	struct hisi_qm *qm = file_to_qm(file);
file              798 drivers/crypto/hisilicon/qm.c static int clear_enable_write(struct debugfs_file *file, u32 rd_clr_ctrl)
file              800 drivers/crypto/hisilicon/qm.c 	struct hisi_qm *qm = file_to_qm(file);
file              810 drivers/crypto/hisilicon/qm.c static ssize_t qm_debug_read(struct file *filp, char __user *buf,
file              813 drivers/crypto/hisilicon/qm.c 	struct debugfs_file *file = filp->private_data;
file              814 drivers/crypto/hisilicon/qm.c 	enum qm_debug_file index = file->index;
file              819 drivers/crypto/hisilicon/qm.c 	mutex_lock(&file->lock);
file              822 drivers/crypto/hisilicon/qm.c 		val = current_q_read(file);
file              825 drivers/crypto/hisilicon/qm.c 		val = clear_enable_read(file);
file              828 drivers/crypto/hisilicon/qm.c 		mutex_unlock(&file->lock);
file              831 drivers/crypto/hisilicon/qm.c 	mutex_unlock(&file->lock);
file              836 drivers/crypto/hisilicon/qm.c static ssize_t qm_debug_write(struct file *filp, const char __user *buf,
file              839 drivers/crypto/hisilicon/qm.c 	struct debugfs_file *file = filp->private_data;
file              840 drivers/crypto/hisilicon/qm.c 	enum qm_debug_file index = file->index;
file              860 drivers/crypto/hisilicon/qm.c 	mutex_lock(&file->lock);
file              863 drivers/crypto/hisilicon/qm.c 		ret = current_q_write(file, val);
file              868 drivers/crypto/hisilicon/qm.c 		ret = clear_enable_write(file, val);
file              876 drivers/crypto/hisilicon/qm.c 	mutex_unlock(&file->lock);
file              881 drivers/crypto/hisilicon/qm.c 	mutex_unlock(&file->lock);
file              952 drivers/crypto/hisilicon/qm.c static int qm_regs_open(struct inode *inode, struct file *file)
file              954 drivers/crypto/hisilicon/qm.c 	return single_open(file, qm_regs_show, inode->i_private);
file              967 drivers/crypto/hisilicon/qm.c 	struct debugfs_file *file = qm->debug.files + index;
file              969 drivers/crypto/hisilicon/qm.c 	tmp = debugfs_create_file(qm_debug_file_name[index], 0600, qm_d, file,
file              974 drivers/crypto/hisilicon/qm.c 	file->index = index;
file              975 drivers/crypto/hisilicon/qm.c 	mutex_init(&file->lock);
file              976 drivers/crypto/hisilicon/qm.c 	file->debug = &qm->debug;
file              356 drivers/crypto/hisilicon/zip/zip_main.c static inline struct hisi_qm *file_to_qm(struct ctrl_debug_file *file)
file              358 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_zip *hisi_zip = file->ctrl->hisi_zip;
file              363 drivers/crypto/hisilicon/zip/zip_main.c static u32 current_qm_read(struct ctrl_debug_file *file)
file              365 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_qm *qm = file_to_qm(file);
file              370 drivers/crypto/hisilicon/zip/zip_main.c static int current_qm_write(struct ctrl_debug_file *file, u32 val)
file              372 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_qm *qm = file_to_qm(file);
file              373 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_zip_ctrl *ctrl = file->ctrl;
file              406 drivers/crypto/hisilicon/zip/zip_main.c static u32 clear_enable_read(struct ctrl_debug_file *file)
file              408 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_qm *qm = file_to_qm(file);
file              414 drivers/crypto/hisilicon/zip/zip_main.c static int clear_enable_write(struct ctrl_debug_file *file, u32 val)
file              416 drivers/crypto/hisilicon/zip/zip_main.c 	struct hisi_qm *qm = file_to_qm(file);
file              429 drivers/crypto/hisilicon/zip/zip_main.c static ssize_t ctrl_debug_read(struct file *filp, char __user *buf,
file              432 drivers/crypto/hisilicon/zip/zip_main.c 	struct ctrl_debug_file *file = filp->private_data;
file              437 drivers/crypto/hisilicon/zip/zip_main.c 	spin_lock_irq(&file->lock);
file              438 drivers/crypto/hisilicon/zip/zip_main.c 	switch (file->index) {
file              440 drivers/crypto/hisilicon/zip/zip_main.c 		val = current_qm_read(file);
file              443 drivers/crypto/hisilicon/zip/zip_main.c 		val = clear_enable_read(file);
file              446 drivers/crypto/hisilicon/zip/zip_main.c 		spin_unlock_irq(&file->lock);
file              449 drivers/crypto/hisilicon/zip/zip_main.c 	spin_unlock_irq(&file->lock);
file              454 drivers/crypto/hisilicon/zip/zip_main.c static ssize_t ctrl_debug_write(struct file *filp, const char __user *buf,
file              457 drivers/crypto/hisilicon/zip/zip_main.c 	struct ctrl_debug_file *file = filp->private_data;
file              476 drivers/crypto/hisilicon/zip/zip_main.c 	spin_lock_irq(&file->lock);
file              477 drivers/crypto/hisilicon/zip/zip_main.c 	switch (file->index) {
file              479 drivers/crypto/hisilicon/zip/zip_main.c 		ret = current_qm_write(file, val);
file              484 drivers/crypto/hisilicon/zip/zip_main.c 		ret = clear_enable_write(file, val);
file              492 drivers/crypto/hisilicon/zip/zip_main.c 	spin_unlock_irq(&file->lock);
file              497 drivers/crypto/hisilicon/zip/zip_main.c 	spin_unlock_irq(&file->lock);
file               99 drivers/crypto/qat/qat_common/adf_cfg.c static int qat_dev_cfg_open(struct inode *inode, struct file *file)
file              101 drivers/crypto/qat/qat_common/adf_cfg.c 	int ret = seq_open(file, &qat_dev_cfg_sops);
file              104 drivers/crypto/qat/qat_common/adf_cfg.c 		struct seq_file *seq_f = file->private_data;
file               66 drivers/crypto/qat/qat_common/adf_ctl_drv.c static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg);
file              224 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_config(struct file *fp, unsigned int cmd,
file              302 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_stop(struct file *fp, unsigned int cmd,
file              335 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_start(struct file *fp, unsigned int cmd,
file              374 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_get_num_devices(struct file *fp, unsigned int cmd,
file              386 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_get_status(struct file *fp, unsigned int cmd,
file              425 drivers/crypto/qat/qat_common/adf_ctl_drv.c static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
file              131 drivers/crypto/qat/qat_common/adf_transport_debug.c static int adf_ring_open(struct inode *inode, struct file *file)
file              133 drivers/crypto/qat/qat_common/adf_transport_debug.c 	int ret = seq_open(file, &adf_ring_sops);
file              136 drivers/crypto/qat/qat_common/adf_transport_debug.c 		struct seq_file *seq_f = file->private_data;
file              242 drivers/crypto/qat/qat_common/adf_transport_debug.c static int adf_bank_open(struct inode *inode, struct file *file)
file              244 drivers/crypto/qat/qat_common/adf_transport_debug.c 	int ret = seq_open(file, &adf_bank_sops);
file              247 drivers/crypto/qat/qat_common/adf_transport_debug.c 		struct seq_file *seq_f = file->private_data;
file              218 drivers/dax/device.c 	struct file *filp = vmf->vma->vm_file;
file              281 drivers/dax/device.c 	struct file *filp = vma->vm_file;
file              292 drivers/dax/device.c 	struct file *filp = vma->vm_file;
file              306 drivers/dax/device.c static int dax_mmap(struct file *filp, struct vm_area_struct *vma)
file              329 drivers/dax/device.c static unsigned long dax_get_unmapped_area(struct file *filp,
file              368 drivers/dax/device.c static int dax_open(struct inode *inode, struct file *filp)
file              386 drivers/dax/device.c static int dax_release(struct inode *inode, struct file *filp)
file               32 drivers/dma-buf/dma-buf.c static inline int is_dma_buf_file(struct file *);
file               80 drivers/dma-buf/dma-buf.c static int dma_buf_release(struct inode *inode, struct file *file)
file               84 drivers/dma-buf/dma-buf.c 	if (!is_dma_buf_file(file))
file               87 drivers/dma-buf/dma-buf.c 	dmabuf = file->private_data;
file              116 drivers/dma-buf/dma-buf.c static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma)
file              120 drivers/dma-buf/dma-buf.c 	if (!is_dma_buf_file(file))
file              123 drivers/dma-buf/dma-buf.c 	dmabuf = file->private_data;
file              137 drivers/dma-buf/dma-buf.c static loff_t dma_buf_llseek(struct file *file, loff_t offset, int whence)
file              142 drivers/dma-buf/dma-buf.c 	if (!is_dma_buf_file(file))
file              145 drivers/dma-buf/dma-buf.c 	dmabuf = file->private_data;
file              196 drivers/dma-buf/dma-buf.c static __poll_t dma_buf_poll(struct file *file, poll_table *poll)
file              205 drivers/dma-buf/dma-buf.c 	dmabuf = file->private_data;
file              211 drivers/dma-buf/dma-buf.c 	poll_wait(file, &dmabuf->poll, poll);
file              352 drivers/dma-buf/dma-buf.c static long dma_buf_ioctl(struct file *file,
file              360 drivers/dma-buf/dma-buf.c 	dmabuf = file->private_data;
file              400 drivers/dma-buf/dma-buf.c static void dma_buf_show_fdinfo(struct seq_file *m, struct file *file)
file              402 drivers/dma-buf/dma-buf.c 	struct dma_buf *dmabuf = file->private_data;
file              406 drivers/dma-buf/dma-buf.c 	seq_printf(m, "count:\t%ld\n", file_count(dmabuf->file) - 1);
file              429 drivers/dma-buf/dma-buf.c static inline int is_dma_buf_file(struct file *file)
file              431 drivers/dma-buf/dma-buf.c 	return file->f_op == &dma_buf_fops;
file              434 drivers/dma-buf/dma-buf.c static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags)
file              436 drivers/dma-buf/dma-buf.c 	struct file *file;
file              445 drivers/dma-buf/dma-buf.c 	file = alloc_file_pseudo(inode, dma_buf_mnt, "dmabuf",
file              447 drivers/dma-buf/dma-buf.c 	if (IS_ERR(file))
file              449 drivers/dma-buf/dma-buf.c 	file->f_flags = flags & (O_ACCMODE | O_NONBLOCK);
file              450 drivers/dma-buf/dma-buf.c 	file->private_data = dmabuf;
file              451 drivers/dma-buf/dma-buf.c 	file->f_path.dentry->d_fsdata = dmabuf;
file              453 drivers/dma-buf/dma-buf.c 	return file;
file              457 drivers/dma-buf/dma-buf.c 	return file;
file              512 drivers/dma-buf/dma-buf.c 	struct file *file;
file              554 drivers/dma-buf/dma-buf.c 	file = dma_buf_getfile(dmabuf, exp_info->flags);
file              555 drivers/dma-buf/dma-buf.c 	if (IS_ERR(file)) {
file              556 drivers/dma-buf/dma-buf.c 		ret = PTR_ERR(file);
file              560 drivers/dma-buf/dma-buf.c 	file->f_mode |= FMODE_LSEEK;
file              561 drivers/dma-buf/dma-buf.c 	dmabuf->file = file;
file              591 drivers/dma-buf/dma-buf.c 	if (!dmabuf || !dmabuf->file)
file              598 drivers/dma-buf/dma-buf.c 	fd_install(fd, dmabuf->file);
file              614 drivers/dma-buf/dma-buf.c 	struct file *file;
file              616 drivers/dma-buf/dma-buf.c 	file = fget(fd);
file              618 drivers/dma-buf/dma-buf.c 	if (!file)
file              621 drivers/dma-buf/dma-buf.c 	if (!is_dma_buf_file(file)) {
file              622 drivers/dma-buf/dma-buf.c 		fput(file);
file              626 drivers/dma-buf/dma-buf.c 	return file->private_data;
file              642 drivers/dma-buf/dma-buf.c 	if (WARN_ON(!dmabuf || !dmabuf->file))
file              645 drivers/dma-buf/dma-buf.c 	fput(dmabuf->file);
file             1043 drivers/dma-buf/dma-buf.c 	struct file *oldfile;
file             1063 drivers/dma-buf/dma-buf.c 	get_file(dmabuf->file);
file             1065 drivers/dma-buf/dma-buf.c 	vma->vm_file = dmabuf->file;
file             1072 drivers/dma-buf/dma-buf.c 		fput(dmabuf->file);
file             1186 drivers/dma-buf/dma-buf.c 				buf_obj->file->f_flags, buf_obj->file->f_mode,
file             1187 drivers/dma-buf/dma-buf.c 				file_count(buf_obj->file),
file             1189 drivers/dma-buf/dma-buf.c 				file_inode(buf_obj->file)->i_ino,
file              293 drivers/dma-buf/sw_sync.c static int sw_sync_debugfs_open(struct inode *inode, struct file *file)
file              304 drivers/dma-buf/sw_sync.c 	file->private_data = obj;
file              309 drivers/dma-buf/sw_sync.c static int sw_sync_debugfs_release(struct inode *inode, struct file *file)
file              311 drivers/dma-buf/sw_sync.c 	struct sync_timeline *obj = file->private_data;
file              359 drivers/dma-buf/sw_sync.c 		fput(sync_file->file);
file              364 drivers/dma-buf/sw_sync.c 	fd_install(fd, sync_file->file);
file              390 drivers/dma-buf/sw_sync.c static long sw_sync_ioctl(struct file *file, unsigned int cmd,
file              393 drivers/dma-buf/sw_sync.c 	struct sync_timeline *obj = file->private_data;
file               30 drivers/dma-buf/sync_file.c 	sync_file->file = anon_inode_getfile("sync_file", &sync_file_fops,
file               32 drivers/dma-buf/sync_file.c 	if (IS_ERR(sync_file->file))
file               80 drivers/dma-buf/sync_file.c 	struct file *file = fget(fd);
file               82 drivers/dma-buf/sync_file.c 	if (!file)
file               85 drivers/dma-buf/sync_file.c 	if (file->f_op != &sync_file_fops)
file               88 drivers/dma-buf/sync_file.c 	return file->private_data;
file               91 drivers/dma-buf/sync_file.c 	fput(file);
file              112 drivers/dma-buf/sync_file.c 	fput(sync_file->file);
file              290 drivers/dma-buf/sync_file.c 	fput(sync_file->file);
file              295 drivers/dma-buf/sync_file.c static int sync_file_release(struct inode *inode, struct file *file)
file              297 drivers/dma-buf/sync_file.c 	struct sync_file *sync_file = file->private_data;
file              307 drivers/dma-buf/sync_file.c static __poll_t sync_file_poll(struct file *file, poll_table *wait)
file              309 drivers/dma-buf/sync_file.c 	struct sync_file *sync_file = file->private_data;
file              311 drivers/dma-buf/sync_file.c 	poll_wait(file, &sync_file->wq, wait);
file              363 drivers/dma-buf/sync_file.c 	fd_install(fd, fence3->file);
file              364 drivers/dma-buf/sync_file.c 	fput(fence2->file);
file              368 drivers/dma-buf/sync_file.c 	fput(fence3->file);
file              371 drivers/dma-buf/sync_file.c 	fput(fence2->file);
file              462 drivers/dma-buf/sync_file.c static long sync_file_ioctl(struct file *file, unsigned int cmd,
file              465 drivers/dma-buf/sync_file.c 	struct sync_file *sync_file = file->private_data;
file              126 drivers/dma-buf/udmabuf.c 	struct file *memfd = NULL;
file              211 drivers/dma-buf/udmabuf.c static long udmabuf_ioctl_create(struct file *filp, unsigned long arg)
file              230 drivers/dma-buf/udmabuf.c static long udmabuf_ioctl_create_list(struct file *filp, unsigned long arg)
file              251 drivers/dma-buf/udmabuf.c static long udmabuf_ioctl(struct file *filp, unsigned int ioctl,
file              457 drivers/dma/bcm-sba-raid.c 				       struct seq_file *file)
file              484 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "maximum requests   = %d\n", sba->max_req);
file              485 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "free requests      = %d\n", free_count);
file              486 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "alloced requests   = %d\n", alloced_count);
file              487 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "pending requests   = %d\n", pending_count);
file              488 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "active requests    = %d\n", active_count);
file              489 drivers/dma/bcm-sba-raid.c 	seq_printf(file, "aborted requests   = %d\n", aborted_count);
file             1459 drivers/dma/bcm-sba-raid.c static int sba_debugfs_stats_show(struct seq_file *file, void *offset)
file             1461 drivers/dma/bcm-sba-raid.c 	struct sba_device *sba = dev_get_drvdata(file->private);
file             1464 drivers/dma/bcm-sba-raid.c 	sba_write_stats_in_seqfile(sba, file);
file             1339 drivers/dma/coh901318.c static ssize_t coh901318_debugfs_read(struct file *file, char __user *buf,
file              115 drivers/edac/altera_edac.c static ssize_t altr_sdr_mc_err_inject_write(struct file *file,
file              119 drivers/edac/altera_edac.c 	struct mem_ctl_info *mci = file->private_data;
file              634 drivers/edac/altera_edac.c static ssize_t altr_edac_device_trig(struct file *file,
file              643 drivers/edac/altera_edac.c 	struct edac_device_ctl_info *edac_dci = file->private_data;
file              711 drivers/edac/altera_edac.c static ssize_t altr_edac_a10_device_trig(struct file *file,
file              721 drivers/edac/altera_edac.c static ssize_t altr_edac_a10_device_trig2(struct file *file,
file             1794 drivers/edac/altera_edac.c static ssize_t altr_edac_a10_device_trig(struct file *file,
file             1798 drivers/edac/altera_edac.c 	struct edac_device_ctl_info *edac_dci = file->private_data;
file             1826 drivers/edac/altera_edac.c static ssize_t altr_edac_a10_device_trig2(struct file *file,
file             1830 drivers/edac/altera_edac.c 	struct edac_device_ctl_info *edac_dci = file->private_data;
file                6 drivers/edac/debugfs.c static ssize_t edac_fake_inject_write(struct file *file,
file               10 drivers/edac/debugfs.c 	struct device *dev = file->private_data;
file              945 drivers/edac/i5100_edac.c static ssize_t inject_enable_write(struct file *file, const char __user *data,
file              948 drivers/edac/i5100_edac.c 	struct device *dev = file->private_data;
file              229 drivers/edac/thunderx_edac.c static ssize_t thunderx_##_type##_##_field##_read(struct file *file,	    \
file              233 drivers/edac/thunderx_edac.c 	struct thunderx_##_type *pdata = file->private_data;		    \
file              241 drivers/edac/thunderx_edac.c static ssize_t thunderx_##_type##_##_field##_write(struct file *file,	    \
file              245 drivers/edac/thunderx_edac.c 	struct thunderx_##_type *pdata = file->private_data;		    \
file              258 drivers/edac/thunderx_edac.c static ssize_t thunderx_##_type##_##_name##_read(struct file *file,	    \
file              262 drivers/edac/thunderx_edac.c 	struct thunderx_##_type *pdata = file->private_data;		    \
file              270 drivers/edac/thunderx_edac.c static ssize_t thunderx_##_type##_##_name##_write(struct file *file,	    \
file              274 drivers/edac/thunderx_edac.c 	struct thunderx_##_type *pdata = file->private_data;		    \
file              303 drivers/edac/thunderx_edac.c static ssize_t thunderx_lmc_inject_int_write(struct file *file,
file              307 drivers/edac/thunderx_edac.c 	struct thunderx_lmc *lmc = file->private_data;
file              322 drivers/edac/thunderx_edac.c static ssize_t thunderx_lmc_int_read(struct file *file,
file              326 drivers/edac/thunderx_edac.c 	struct thunderx_lmc *lmc = file->private_data;
file              406 drivers/edac/thunderx_edac.c static ssize_t thunderx_lmc_inject_ecc_write(struct file *file,
file              410 drivers/edac/thunderx_edac.c 	struct thunderx_lmc *lmc = file->private_data;
file              140 drivers/edac/xgene_edac.c static ssize_t xgene_edac_mc_err_inject_write(struct file *file,
file              144 drivers/edac/xgene_edac.c 	struct mem_ctl_info *mci = file->private_data;
file              806 drivers/edac/xgene_edac.c static ssize_t xgene_edac_pmd_l1_inject_ctrl_write(struct file *file,
file              810 drivers/edac/xgene_edac.c 	struct edac_device_ctl_info *edac_dev = file->private_data;
file              832 drivers/edac/xgene_edac.c static ssize_t xgene_edac_pmd_l2_inject_ctrl_write(struct file *file,
file              836 drivers/edac/xgene_edac.c 	struct edac_device_ctl_info *edac_dev = file->private_data;
file             1146 drivers/edac/xgene_edac.c static ssize_t xgene_edac_l3_inject_ctrl_write(struct file *file,
file             1150 drivers/edac/xgene_edac.c 	struct edac_device_ctl_info *edac_dev = file->private_data;
file              236 drivers/firewire/core-cdev.c static int fw_device_op_open(struct inode *inode, struct file *file)
file              266 drivers/firewire/core-cdev.c 	file->private_data = client;
file              268 drivers/firewire/core-cdev.c 	return nonseekable_open(inode, file);
file              330 drivers/firewire/core-cdev.c static ssize_t fw_device_op_read(struct file *file, char __user *buffer,
file              333 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
file             1643 drivers/firewire/core-cdev.c static long fw_device_op_ioctl(struct file *file,
file             1646 drivers/firewire/core-cdev.c 	return dispatch_ioctl(file->private_data, cmd, (void __user *)arg);
file             1650 drivers/firewire/core-cdev.c static long fw_device_op_compat_ioctl(struct file *file,
file             1653 drivers/firewire/core-cdev.c 	return dispatch_ioctl(file->private_data, cmd, compat_ptr(arg));
file             1657 drivers/firewire/core-cdev.c static int fw_device_op_mmap(struct file *file, struct vm_area_struct *vma)
file             1659 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
file             1737 drivers/firewire/core-cdev.c static int fw_device_op_release(struct inode *inode, struct file *file)
file             1739 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
file             1774 drivers/firewire/core-cdev.c static __poll_t fw_device_op_poll(struct file *file, poll_table * pt)
file             1776 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
file             1779 drivers/firewire/core-cdev.c 	poll_wait(file, &client->wait, pt);
file              264 drivers/firewire/nosy.c nosy_open(struct inode *inode, struct file *file)
file              291 drivers/firewire/nosy.c 	file->private_data = client;
file              293 drivers/firewire/nosy.c 	return stream_open(inode, file);
file              302 drivers/firewire/nosy.c nosy_release(struct inode *inode, struct file *file)
file              304 drivers/firewire/nosy.c 	struct client *client = file->private_data;
file              319 drivers/firewire/nosy.c nosy_poll(struct file *file, poll_table *pt)
file              321 drivers/firewire/nosy.c 	struct client *client = file->private_data;
file              324 drivers/firewire/nosy.c 	poll_wait(file, &client->buffer.wait, pt);
file              336 drivers/firewire/nosy.c nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset)
file              338 drivers/firewire/nosy.c 	struct client *client = file->private_data;
file              344 drivers/firewire/nosy.c nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              346 drivers/firewire/nosy.c 	struct client *client = file->private_data;
file              430 drivers/firmware/dmi-sysfs.c static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj,
file              535 drivers/firmware/dmi-sysfs.c static ssize_t dmi_entry_raw_read(struct file *filp,
file              706 drivers/firmware/dmi_scan.c static ssize_t raw_table_read(struct file *file, struct kobject *kobj,
file              167 drivers/firmware/efi/capsule-loader.c static ssize_t efi_capsule_write(struct file *file, const char __user *buff,
file              171 drivers/firmware/efi/capsule-loader.c 	struct capsule_info *cap_info = file->private_data;
file              253 drivers/firmware/efi/capsule-loader.c static int efi_capsule_flush(struct file *file, fl_owner_t id)
file              256 drivers/firmware/efi/capsule-loader.c 	struct capsule_info *cap_info = file->private_data;
file              275 drivers/firmware/efi/capsule-loader.c static int efi_capsule_release(struct inode *inode, struct file *file)
file              277 drivers/firmware/efi/capsule-loader.c 	struct capsule_info *cap_info = file->private_data;
file              281 drivers/firmware/efi/capsule-loader.c 	kfree(file->private_data);
file              282 drivers/firmware/efi/capsule-loader.c 	file->private_data = NULL;
file              296 drivers/firmware/efi/capsule-loader.c static int efi_capsule_open(struct inode *inode, struct file *file)
file              317 drivers/firmware/efi/capsule-loader.c 	file->private_data = cap_info;
file              364 drivers/firmware/efi/efivars.c static ssize_t efivar_create(struct file *filp, struct kobject *kobj,
file              434 drivers/firmware/efi/efivars.c static ssize_t efivar_delete(struct file *filp, struct kobject *kobj,
file              563 drivers/firmware/efi/libstub/efi-stub-helper.c 		struct file_info *file;
file              573 drivers/firmware/efi/libstub/efi-stub-helper.c 		file = &files[i];
file              602 drivers/firmware/efi/libstub/efi-stub-helper.c 				       (void **)&file->handle, &file->size);
file              606 drivers/firmware/efi/libstub/efi-stub-helper.c 		file_size_total += file->size;
file               43 drivers/firmware/efi/rci2-table.c static ssize_t raw_table_read(struct file *file, struct kobject *kobj,
file              678 drivers/firmware/efi/test/efi_test.c static long efi_test_ioctl(struct file *file, unsigned int cmd,
file              719 drivers/firmware/efi/test/efi_test.c static int efi_test_open(struct inode *inode, struct file *file)
file              736 drivers/firmware/efi/test/efi_test.c static int efi_test_close(struct inode *inode, struct file *file)
file              487 drivers/firmware/google/gsmi.c static ssize_t eventlog_write(struct file *filp, struct kobject *kobj,
file               16 drivers/firmware/google/memconsole.c static ssize_t memconsole_read(struct file *filp, struct kobject *kobp,
file               58 drivers/firmware/google/vpd.c static ssize_t vpd_attrib_read(struct file *filp, struct kobject *kobp,
file              158 drivers/firmware/google/vpd.c static ssize_t vpd_section_read(struct file *filp, struct kobject *kobp,
file              462 drivers/firmware/qemu_fw_cfg.c static ssize_t fw_cfg_sysfs_read_raw(struct file *filp, struct kobject *kobj,
file               72 drivers/firmware/tegra/bpmp-debugfs.c 				const struct file *file, char *buf, int size)
file               86 drivers/firmware/tegra/bpmp-debugfs.c 	filename = dentry_path(file->f_path.dentry, buf, size);
file              195 drivers/firmware/tegra/bpmp-debugfs.c 	struct file *file = m->private;
file              196 drivers/firmware/tegra/bpmp-debugfs.c 	struct inode *inode = file_inode(file);
file              207 drivers/firmware/tegra/bpmp-debugfs.c 	filename = get_filename(bpmp, file, buf, sizeof(buf));
file              239 drivers/firmware/tegra/bpmp-debugfs.c static int debugfs_open(struct inode *inode, struct file *file)
file              241 drivers/firmware/tegra/bpmp-debugfs.c 	return single_open_size(file, debugfs_show, file, SZ_128K);
file              244 drivers/firmware/tegra/bpmp-debugfs.c static ssize_t debugfs_store(struct file *file, const char __user *buf,
file              247 drivers/firmware/tegra/bpmp-debugfs.c 	struct inode *inode = file_inode(file);
file              258 drivers/firmware/tegra/bpmp-debugfs.c 	filename = get_filename(bpmp, file, fnamebuf, sizeof(fnamebuf));
file              147 drivers/firmware/xilinx/zynqmp-debug.c static ssize_t zynqmp_pm_debugfs_api_write(struct file *file,
file              205 drivers/firmware/xilinx/zynqmp-debug.c static ssize_t zynqmp_pm_debugfs_api_read(struct file *file, char __user *ptr,
file              554 drivers/fpga/dfl-afu-main.c static int afu_open(struct inode *inode, struct file *filp)
file              574 drivers/fpga/dfl-afu-main.c static int afu_release(struct inode *inode, struct file *filp)
file              707 drivers/fpga/dfl-afu-main.c static long afu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              749 drivers/fpga/dfl-afu-main.c static int afu_mmap(struct file *filp, struct vm_area_struct *vma)
file              209 drivers/fpga/dfl-fme-main.c static int fme_open(struct inode *inode, struct file *filp)
file              228 drivers/fpga/dfl-fme-main.c static int fme_release(struct inode *inode, struct file *filp)
file              239 drivers/fpga/dfl-fme-main.c static long fme_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              572 drivers/fsi/fsi-core.c static ssize_t fsi_slave_sysfs_raw_read(struct file *file,
file              599 drivers/fsi/fsi-core.c static ssize_t fsi_slave_sysfs_raw_write(struct file *file,
file              688 drivers/fsi/fsi-core.c static ssize_t cfam_read(struct file *filep, char __user *buf, size_t count,
file              724 drivers/fsi/fsi-core.c static ssize_t cfam_write(struct file *filep, const char __user *buf,
file              761 drivers/fsi/fsi-core.c static loff_t cfam_llseek(struct file *file, loff_t offset, int whence)
file              767 drivers/fsi/fsi-core.c 		file->f_pos = offset;
file              776 drivers/fsi/fsi-core.c static int cfam_open(struct inode *inode, struct file *file)
file              780 drivers/fsi/fsi-core.c 	file->private_data = slave;
file               71 drivers/fsi/fsi-occ.c static int occ_open(struct inode *inode, struct file *file)
file               74 drivers/fsi/fsi-occ.c 	struct miscdevice *mdev = file->private_data;
file               88 drivers/fsi/fsi-occ.c 	file->private_data = client;
file               97 drivers/fsi/fsi-occ.c static ssize_t occ_read(struct file *file, char __user *buf, size_t len,
file              100 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
file              130 drivers/fsi/fsi-occ.c static ssize_t occ_write(struct file *file, const char __user *buf,
file              133 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
file              199 drivers/fsi/fsi-occ.c static int occ_release(struct inode *inode, struct file *file)
file              201 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
file              765 drivers/fsi/fsi-sbefifo.c static int sbefifo_user_open(struct inode *inode, struct file *file)
file              774 drivers/fsi/fsi-sbefifo.c 	file->private_data = user;
file              786 drivers/fsi/fsi-sbefifo.c static ssize_t sbefifo_user_read(struct file *file, char __user *buf,
file              789 drivers/fsi/fsi-sbefifo.c 	struct sbefifo_user *user = file->private_data;
file              835 drivers/fsi/fsi-sbefifo.c static ssize_t sbefifo_user_write(struct file *file, const char __user *buf,
file              838 drivers/fsi/fsi-sbefifo.c 	struct sbefifo_user *user = file->private_data;
file              896 drivers/fsi/fsi-sbefifo.c static int sbefifo_user_release(struct inode *inode, struct file *file)
file              898 drivers/fsi/fsi-sbefifo.c 	struct sbefifo_user *user = file->private_data;
file              352 drivers/fsi/fsi-scom.c static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
file              381 drivers/fsi/fsi-scom.c static ssize_t scom_write(struct file *filep, const char __user *buf,
file              412 drivers/fsi/fsi-scom.c static loff_t scom_llseek(struct file *file, loff_t offset, int whence)
file              418 drivers/fsi/fsi-scom.c 		file->f_pos = offset;
file              514 drivers/fsi/fsi-scom.c static long scom_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              516 drivers/fsi/fsi-scom.c 	struct scom_device *scom = file->private_data;
file              543 drivers/fsi/fsi-scom.c static int scom_open(struct inode *inode, struct file *file)
file              547 drivers/fsi/fsi-scom.c 	file->private_data = scom;
file               36 drivers/gnss/core.c static int gnss_open(struct inode *inode, struct file *file)
file               45 drivers/gnss/core.c 	stream_open(inode, file);
file               46 drivers/gnss/core.c 	file->private_data = gdev;
file               68 drivers/gnss/core.c static int gnss_release(struct inode *inode, struct file *file)
file               70 drivers/gnss/core.c 	struct gnss_device *gdev = file->private_data;
file               88 drivers/gnss/core.c static ssize_t gnss_read(struct file *file, char __user *buf,
file               91 drivers/gnss/core.c 	struct gnss_device *gdev = file->private_data;
file              102 drivers/gnss/core.c 		if (file->f_flags & O_NONBLOCK)
file              123 drivers/gnss/core.c static ssize_t gnss_write(struct file *file, const char __user *buf,
file              126 drivers/gnss/core.c 	struct gnss_device *gdev = file->private_data;
file              187 drivers/gnss/core.c static __poll_t gnss_poll(struct file *file, poll_table *wait)
file              189 drivers/gnss/core.c 	struct gnss_device *gdev = file->private_data;
file              192 drivers/gnss/core.c 	poll_wait(file, &gdev->read_queue, wait);
file              199 drivers/gpio/gpio-mockup.c static ssize_t gpio_mockup_debugfs_read(struct file *file,
file              213 drivers/gpio/gpio-mockup.c 	sfile = file->private_data;
file              224 drivers/gpio/gpio-mockup.c static ssize_t gpio_mockup_debugfs_write(struct file *file,
file              245 drivers/gpio/gpio-mockup.c 	sfile = file->private_data;
file              280 drivers/gpio/gpio-mockup.c static int gpio_mockup_debugfs_open(struct inode *inode, struct file *file)
file              282 drivers/gpio/gpio-mockup.c 	return single_open(file, NULL, inode->i_private);
file              436 drivers/gpio/gpiolib.c static long linehandle_ioctl(struct file *filep, unsigned int cmd,
file              491 drivers/gpio/gpiolib.c static long linehandle_ioctl_compat(struct file *filep, unsigned int cmd,
file              498 drivers/gpio/gpiolib.c static int linehandle_release(struct inode *inode, struct file *filep)
file              526 drivers/gpio/gpiolib.c 	struct file *file;
file              637 drivers/gpio/gpiolib.c 	file = anon_inode_getfile("gpio-linehandle",
file              641 drivers/gpio/gpiolib.c 	if (IS_ERR(file)) {
file              642 drivers/gpio/gpiolib.c 		ret = PTR_ERR(file);
file              652 drivers/gpio/gpiolib.c 		fput(file);
file              657 drivers/gpio/gpiolib.c 	fd_install(fd, file);
file              711 drivers/gpio/gpiolib.c static __poll_t lineevent_poll(struct file *filep,
file              726 drivers/gpio/gpiolib.c static ssize_t lineevent_read(struct file *filep,
file              771 drivers/gpio/gpiolib.c static int lineevent_release(struct inode *inode, struct file *filep)
file              784 drivers/gpio/gpiolib.c static long lineevent_ioctl(struct file *filep, unsigned int cmd,
file              814 drivers/gpio/gpiolib.c static long lineevent_ioctl_compat(struct file *filep, unsigned int cmd,
file              895 drivers/gpio/gpiolib.c 	struct file *file;
file              995 drivers/gpio/gpiolib.c 	file = anon_inode_getfile("gpio-event",
file              999 drivers/gpio/gpiolib.c 	if (IS_ERR(file)) {
file             1000 drivers/gpio/gpiolib.c 		ret = PTR_ERR(file);
file             1010 drivers/gpio/gpiolib.c 		fput(file);
file             1015 drivers/gpio/gpiolib.c 	fd_install(fd, file);
file             1036 drivers/gpio/gpiolib.c static long gpio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             1122 drivers/gpio/gpiolib.c static long gpio_ioctl_compat(struct file *filp, unsigned int cmd,
file             1135 drivers/gpio/gpiolib.c static int gpio_chrdev_open(struct inode *inode, struct file *filp)
file             1155 drivers/gpio/gpiolib.c static int gpio_chrdev_release(struct inode *inode, struct file *filp)
file             5073 drivers/gpio/gpiolib.c static int gpiolib_open(struct inode *inode, struct file *file)
file             5075 drivers/gpio/gpiolib.c 	return seq_open(file, &gpiolib_seq_ops);
file              427 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv);
file             1216 drivers/gpu/drm/amd/amdgpu/amdgpu.h long amdgpu_kms_compat_ioctl(struct file *filp, unsigned int cmd,
file              202 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h 					struct file *filp, unsigned int pasid,
file              962 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 					   struct file *filp, unsigned int pasid,
file             1540 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		fd_install(fd, sync_file->file);
file              102 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static int  amdgpu_debugfs_process_reg_op(bool read, struct file *f,
file              202 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_read(struct file *f, char __user *buf,
file              211 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_write(struct file *f, const char __user *buf,
file              230 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_pcie_read(struct file *f, char __user *buf,
file              269 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_pcie_write(struct file *f, const char __user *buf,
file              309 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_didt_read(struct file *f, char __user *buf,
file              348 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_didt_write(struct file *f, const char __user *buf,
file              388 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_smc_read(struct file *f, char __user *buf,
file              427 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_regs_smc_write(struct file *f, const char __user *buf,
file              469 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_gca_config_read(struct file *f, char __user *buf,
file              558 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_sensor_read(struct file *f, char __user *buf,
file              617 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_wave_read(struct file *f, char __user *buf,
file              689 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c static ssize_t amdgpu_debugfs_gpr_read(struct file *f, char __user *buf,
file              345 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 		buf->file->f_mapping = gobj->dev->anon_inode->i_mapping;
file             1280 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c long amdgpu_drm_ioctl(struct file *filp,
file             1310 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c static int amdgpu_flush(struct file *f, fl_owner_t id)
file             1336 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv)
file             1338 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c         struct drm_file *file;
file             1347 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 	file = filp->private_data;
file             1348 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 	*fpriv = file->driver_priv;
file               45 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h long amdgpu_drm_ioctl(struct file *filp,
file               96 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	struct drm_file *file;
file              100 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	list_for_each_entry(file, &ddev->filelist, lhead) {
file              105 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		spin_lock(&file->table_lock);
file              106 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		idr_for_each_entry(&file->object_idr, gobj, handle) {
file              110 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		idr_destroy(&file->object_idr);
file              111 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		spin_unlock(&file->table_lock);
file              851 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	struct drm_file *file;
file              858 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	list_for_each_entry(file, &dev->filelist, lhead) {
file              868 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		task = pid_task(file->pid, PIDTYPE_PID);
file              869 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		seq_printf(m, "pid %8d command %s:\n", pid_nr(file->pid),
file              873 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		spin_lock(&file->table_lock);
file              874 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		idr_for_each(&file->object_idr, amdgpu_debugfs_gem_bo_info, m);
file              875 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		spin_unlock(&file->table_lock);
file               37 drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c long amdgpu_kms_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               68 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c static ssize_t amdgpu_ras_debugfs_read(struct file *f, char __user *buf,
file              118 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c static int amdgpu_ras_debugfs_ctrl_parse_data(struct file *f,
file              245 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c static ssize_t amdgpu_ras_debugfs_ctrl_write(struct file *f, const char __user *buf,
file              753 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c static ssize_t amdgpu_ras_sysfs_badpages_read(struct file *f,
file              436 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c static ssize_t amdgpu_debugfs_ring_read(struct file *f, char __user *buf,
file               65 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c 	if (!f.file)
file               68 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c 	r = amdgpu_file_to_fpriv(f.file, &fpriv);
file               91 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c 	if (!f.file)
file               94 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c 	r = amdgpu_file_to_fpriv(f.file, &fpriv);
file              218 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static int amdgpu_verify_access(struct ttm_buffer_object *bo, struct file *filp)
file             1886 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma)
file             2161 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static ssize_t amdgpu_ttm_vram_read(struct file *f, char __user *buf,
file             2205 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static ssize_t amdgpu_ttm_vram_write(struct file *f, const char __user *buf,
file             2256 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static ssize_t amdgpu_ttm_gtt_read(struct file *f, char __user *buf,
file             2310 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static ssize_t amdgpu_iomem_read(struct file *f, char __user *buf,
file             2366 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c static ssize_t amdgpu_iomem_write(struct file *f, const char __user *buf,
file              102 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma);
file               43 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static long kfd_ioctl(struct file *, unsigned int, unsigned long);
file               44 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_open(struct inode *, struct file *);
file               45 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_mmap(struct file *, struct vm_area_struct *);
file              105 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_open(struct inode *inode, struct file *filep)
file              136 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p,
file              252 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p,
file              329 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p,
file              347 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p,
file              393 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p,
file              448 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_queue_wave_state(struct file *filep,
file              466 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_memory_policy(struct file *filep,
file              518 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_trap_handler(struct file *filep,
file              550 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_register(struct file *filep,
file              604 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_unregister(struct file *filep,
file              642 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_address_watch(struct file *filep,
file              742 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_wave_control(struct file *filep,
file              826 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_clock_counters(struct file *filep,
file              851 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_process_apertures(struct file *filp,
file              907 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_process_apertures_new(struct file *filp,
file              998 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_create_event(struct file *filp, struct kfd_process *p,
file             1069 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_destroy_event(struct file *filp, struct kfd_process *p,
file             1077 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_event(struct file *filp, struct kfd_process *p,
file             1085 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_reset_event(struct file *filp, struct kfd_process *p,
file             1093 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_wait_events(struct file *filp, struct kfd_process *p,
file             1106 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_scratch_backing_va(struct file *filep,
file             1142 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_tile_config(struct file *filep,
file             1184 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_acquire_vm(struct file *filep, struct kfd_process *p,
file             1190 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	struct file *drm_file;
file             1247 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_alloc_memory_of_gpu(struct file *filep,
file             1329 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_free_memory_of_gpu(struct file *filep,
file             1373 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_map_memory_to_gpu(struct file *filep,
file             1483 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep,
file             1570 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_dmabuf_info(struct file *filep,
file             1625 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_import_dmabuf(struct file *filep,
file             1776 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static long kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file             1897 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_mmap(struct file *filp, struct vm_area_struct *vma)
file               30 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c static int kfd_debugfs_open(struct inode *inode, struct file *file)
file               34 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c 	return single_open(file, show, NULL);
file               37 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c static ssize_t kfd_debugfs_hang_hws_write(struct file *file,
file              181 drivers/gpu/drm/amd/amdkfd/kfd_events.c static int create_signal_event(struct file *devkfd,
file              322 drivers/gpu/drm/amd/amdkfd/kfd_events.c int kfd_event_create(struct file *devkfd, struct kfd_process *p,
file              639 drivers/gpu/drm/amd/amdkfd/kfd_priv.h 	struct file *drm_file;
file              748 drivers/gpu/drm/amd/amdkfd/kfd_priv.h typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p,
file              762 drivers/gpu/drm/amd/amdkfd/kfd_priv.h struct kfd_process *kfd_create_process(struct file *filep);
file              773 drivers/gpu/drm/amd/amdkfd/kfd_priv.h 			       struct file *drm_file);
file              904 drivers/gpu/drm/amd/amdkfd/kfd_priv.h 			    struct file *f,
file             1022 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int kfd_event_create(struct file *devkfd, struct kfd_process *p,
file               66 drivers/gpu/drm/amd/amdkfd/kfd_process.c static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
file              267 drivers/gpu/drm/amd/amdkfd/kfd_process.c struct kfd_process *kfd_create_process(struct file *filep)
file              551 drivers/gpu/drm/amd/amdkfd/kfd_process.c static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep)
file              774 drivers/gpu/drm/amd/amdkfd/kfd_process.c 			       struct file *drm_file)
file              168 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c 				struct file *f, unsigned int qid)
file              193 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c 			    struct file *f,
file               77 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_link_settings_read(struct file *f, char __user *buf,
file              143 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
file              280 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_phy_settings_read(struct file *f, char __user *buf,
file              320 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_phy_settings_write(struct file *f, const char __user *buf,
file              480 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_phy_test_pattern_debugfs_write(struct file *f, const char __user *buf,
file              774 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_sdp_message_debugfs_write(struct file *f, const char __user *buf,
file              800 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_dpcd_address_write(struct file *f, const char __user *buf,
file              815 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_dpcd_size_write(struct file *f, const char __user *buf,
file              833 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_dpcd_data_write(struct file *f, const char __user *buf,
file              857 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c static ssize_t dp_dpcd_data_read(struct file *f, char __user *buf,
file              965 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct file *f,
file             1004 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct file *f,
file               37 drivers/gpu/drm/arm/display/komeda/komeda_dev.c static int komeda_register_open(struct inode *inode, struct file *filp)
file               29 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 				   struct drm_file *file, u32 *handle)
file               31 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 	return drm_gem_handle_create(file, fb->obj[0], handle);
file               40 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c komeda_fb_afbc_size_check(struct komeda_fb *kfb, struct drm_file *file,
file               49 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 	obj = drm_gem_object_lookup(file, mode_cmd->handles[0]);
file              112 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 			       struct drm_file *file,
file              125 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 		obj = drm_gem_object_lookup(file, mode_cmd->handles[i]);
file              159 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c komeda_fb_create(struct drm_device *dev, struct drm_file *file,
file              183 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 		ret = komeda_fb_afbc_size_check(kfb, file, mode_cmd);
file              185 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c 		ret = komeda_fb_none_afbc_size_check(mdev, kfb, file, mode_cmd);
file               39 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h komeda_fb_create(struct drm_device *dev, struct drm_file *file,
file               26 drivers/gpu/drm/arm/display/komeda/komeda_kms.c static int komeda_gem_cma_dumb_create(struct drm_file *file,
file               35 drivers/gpu/drm/arm/display/komeda/komeda_kms.c 	return drm_gem_cma_dumb_create_internal(file, dev, args);
file              302 drivers/gpu/drm/arm/malidp_drv.c 				    struct drm_file *file,
file              343 drivers/gpu/drm/arm/malidp_drv.c 	objs = drm_gem_object_lookup(file, mode_cmd->handles[0]);
file              362 drivers/gpu/drm/arm/malidp_drv.c malidp_verify_afbc_framebuffer(struct drm_device *dev, struct drm_file *file,
file              366 drivers/gpu/drm/arm/malidp_drv.c 		return malidp_verify_afbc_framebuffer_size(dev, file, mode_cmd);
file              372 drivers/gpu/drm/arm/malidp_drv.c malidp_fb_create(struct drm_device *dev, struct drm_file *file,
file              376 drivers/gpu/drm/arm/malidp_drv.c 		if (!malidp_verify_afbc_framebuffer(dev, file, mode_cmd))
file              380 drivers/gpu/drm/arm/malidp_drv.c 	return drm_gem_fb_create(dev, file, mode_cmd);
file              522 drivers/gpu/drm/arm/malidp_drv.c static int malidp_debugfs_open(struct inode *inode, struct file *file)
file              524 drivers/gpu/drm/arm/malidp_drv.c 	return single_open(file, malidp_show_stats, inode->i_private);
file              527 drivers/gpu/drm/arm/malidp_drv.c static ssize_t malidp_debugfs_write(struct file *file, const char __user *ubuf,
file              530 drivers/gpu/drm/arm/malidp_drv.c 	struct seq_file *m = file->private_data;
file              692 drivers/gpu/drm/armada/armada_crtc.c 	struct drm_file *file, uint32_t handle, uint32_t w, uint32_t h)
file              707 drivers/gpu/drm/armada/armada_crtc.c 		obj = armada_gem_object_lookup(file, handle);
file               45 drivers/gpu/drm/armada/armada_debugfs.c static int armada_debugfs_crtc_reg_open(struct inode *inode, struct file *file)
file               47 drivers/gpu/drm/armada/armada_debugfs.c 	return single_open(file, armada_debugfs_crtc_reg_show,
file               51 drivers/gpu/drm/armada/armada_debugfs.c static int armada_debugfs_crtc_reg_write(struct file *file,
file               76 drivers/gpu/drm/armada/armada_debugfs.c 	dcrtc = ((struct seq_file *)file->private_data)->private;
file              231 drivers/gpu/drm/armada/armada_gem.c int armada_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              250 drivers/gpu/drm/armada/armada_gem.c 	ret = drm_gem_handle_create(file, &dobj->obj, &handle);
file              265 drivers/gpu/drm/armada/armada_gem.c 	struct drm_file *file)
file              282 drivers/gpu/drm/armada/armada_gem.c 	ret = drm_gem_handle_create(file, &dobj->obj, &handle);
file              297 drivers/gpu/drm/armada/armada_gem.c 	struct drm_file *file)
file              303 drivers/gpu/drm/armada/armada_gem.c 	dobj = armada_gem_object_lookup(file, args->handle);
file              324 drivers/gpu/drm/armada/armada_gem.c 	struct drm_file *file)
file              346 drivers/gpu/drm/armada/armada_gem.c 	dobj = armada_gem_object_lookup(file, args->handle);
file              170 drivers/gpu/drm/bochs/bochs_kms.c bochs_gem_fb_create(struct drm_device *dev, struct drm_file *file,
file              177 drivers/gpu/drm/bochs/bochs_kms.c 	return drm_gem_fb_create(dev, file, mode_cmd);
file              176 drivers/gpu/drm/cirrus/cirrus_drv.h int cirrus_dumb_mmap_offset(struct drm_file *file,
file              183 drivers/gpu/drm/cirrus/cirrus_drv.h int cirrus_dumb_create(struct drm_file *file,
file              222 drivers/gpu/drm/cirrus/cirrus_drv.h int cirrus_mmap(struct file *filp, struct vm_area_struct *vma);
file             1239 drivers/gpu/drm/drm_atomic_uapi.c 				   fence_state[i].sync_file->file);
file             1263 drivers/gpu/drm/drm_atomic_uapi.c 			fput(fence_state[i].sync_file->file);
file               88 drivers/gpu/drm/drm_auth.c 	struct drm_file *file;
file               93 drivers/gpu/drm/drm_auth.c 	file = idr_find(&file_priv->master->magic_map, auth->magic);
file               94 drivers/gpu/drm/drm_auth.c 	if (file) {
file               95 drivers/gpu/drm/drm_auth.c 		file->authenticated = 1;
file              100 drivers/gpu/drm/drm_auth.c 	return file ? 0 : -EINVAL;
file               37 drivers/gpu/drm/drm_client.c 	struct drm_file *file;
file               39 drivers/gpu/drm/drm_client.c 	file = drm_file_alloc(dev->primary);
file               40 drivers/gpu/drm/drm_client.c 	if (IS_ERR(file))
file               41 drivers/gpu/drm/drm_client.c 		return PTR_ERR(file);
file               44 drivers/gpu/drm/drm_client.c 	list_add(&file->lhead, &dev->filelist_internal);
file               47 drivers/gpu/drm/drm_client.c 	client->file = file;
file               57 drivers/gpu/drm/drm_client.c 	list_del(&client->file->lhead);
file               60 drivers/gpu/drm/drm_client.c 	drm_file_free(client->file);
file              243 drivers/gpu/drm/drm_client.c 		drm_mode_destroy_dumb(dev, buffer->handle, buffer->client->file);
file              267 drivers/gpu/drm/drm_client.c 	ret = drm_mode_create_dumb(dev, &dumb_args, client->file);
file              274 drivers/gpu/drm/drm_client.c 	obj = drm_gem_object_lookup(client->file, dumb_args.handle);
file              352 drivers/gpu/drm/drm_client.c 	ret = drm_mode_rmfb(buffer->client->dev, buffer->fb->base.id, buffer->client->file);
file              376 drivers/gpu/drm/drm_client.c 	ret = drm_mode_addfb(client->dev, &fb_req, client->file);
file              380 drivers/gpu/drm/drm_client.c 	buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id);
file              135 drivers/gpu/drm/drm_context.c void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file)
file              146 drivers/gpu/drm/drm_context.c 		if (pos->tag == file &&
file              146 drivers/gpu/drm/drm_debugfs.c static int drm_debugfs_open(struct inode *inode, struct file *file)
file              150 drivers/gpu/drm/drm_debugfs.c 	return single_open(file, node->info_ent->show, node);
file              318 drivers/gpu/drm/drm_debugfs.c static int connector_open(struct inode *inode, struct file *file)
file              322 drivers/gpu/drm/drm_debugfs.c 	return single_open(file, connector_show, dev);
file              325 drivers/gpu/drm/drm_debugfs.c static ssize_t connector_write(struct file *file, const char __user *ubuf,
file              328 drivers/gpu/drm/drm_debugfs.c 	struct seq_file *m = file->private_data;
file              365 drivers/gpu/drm/drm_debugfs.c static int edid_open(struct inode *inode, struct file *file)
file              369 drivers/gpu/drm/drm_debugfs.c 	return single_open(file, edid_show, dev);
file              372 drivers/gpu/drm/drm_debugfs.c static ssize_t edid_write(struct file *file, const char __user *ubuf,
file              375 drivers/gpu/drm/drm_debugfs.c 	struct seq_file *m = file->private_data;
file              113 drivers/gpu/drm/drm_debugfs_crc.c static int crc_control_open(struct inode *inode, struct file *file)
file              117 drivers/gpu/drm/drm_debugfs_crc.c 	return single_open(file, crc_control_show, crtc);
file              120 drivers/gpu/drm/drm_debugfs_crc.c static ssize_t crc_control_write(struct file *file, const char __user *ubuf,
file              123 drivers/gpu/drm/drm_debugfs_crc.c 	struct seq_file *m = file->private_data;
file              193 drivers/gpu/drm/drm_debugfs_crc.c static int crtc_crc_open(struct inode *inode, struct file *filep)
file              256 drivers/gpu/drm/drm_debugfs_crc.c static int crtc_crc_release(struct inode *inode, struct file *filep)
file              277 drivers/gpu/drm/drm_debugfs_crc.c static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf,
file              337 drivers/gpu/drm/drm_debugfs_crc.c static unsigned int crtc_crc_poll(struct file *file, poll_table *wait)
file              339 drivers/gpu/drm/drm_debugfs_crc.c 	struct drm_crtc *crtc = file->f_inode->i_private;
file              343 drivers/gpu/drm/drm_debugfs_crc.c 	poll_wait(file, &crc->wq, wait);
file              128 drivers/gpu/drm/drm_dp_aux_dev.c static int auxdev_open(struct inode *inode, struct file *file)
file              137 drivers/gpu/drm/drm_dp_aux_dev.c 	file->private_data = aux_dev;
file              141 drivers/gpu/drm/drm_dp_aux_dev.c static loff_t auxdev_llseek(struct file *file, loff_t offset, int whence)
file              143 drivers/gpu/drm/drm_dp_aux_dev.c 	return fixed_size_llseek(file, offset, whence, AUX_MAX_OFFSET);
file              240 drivers/gpu/drm/drm_dp_aux_dev.c static int auxdev_release(struct inode *inode, struct file *file)
file              242 drivers/gpu/drm/drm_dp_aux_dev.c 	struct drm_dp_aux_dev *aux_dev = file->private_data;
file              154 drivers/gpu/drm/drm_dp_cec.c 				   struct seq_file *file)
file              162 drivers/gpu/drm/drm_dp_cec.c 	seq_printf(file, "OUI: %*phD\n",
file              164 drivers/gpu/drm/drm_dp_cec.c 	seq_printf(file, "ID: %*pE\n",
file              167 drivers/gpu/drm/drm_dp_cec.c 	seq_printf(file, "HW Rev: %d.%d\n", id->hw_rev >> 4, id->hw_rev & 0xf);
file              172 drivers/gpu/drm/drm_dp_cec.c 	seq_printf(file, "FW/SW Rev: %d.%d (0x%02x.0x%02x)\n",
file             1090 drivers/gpu/drm/drm_drv.c static int drm_stub_open(struct inode *inode, struct file *filp)
file              120 drivers/gpu/drm/drm_file.c 	struct drm_file *file;
file              123 drivers/gpu/drm/drm_file.c 	file = kzalloc(sizeof(*file), GFP_KERNEL);
file              124 drivers/gpu/drm/drm_file.c 	if (!file)
file              127 drivers/gpu/drm/drm_file.c 	file->pid = get_pid(task_pid(current));
file              128 drivers/gpu/drm/drm_file.c 	file->minor = minor;
file              131 drivers/gpu/drm/drm_file.c 	file->authenticated = capable(CAP_SYS_ADMIN);
file              133 drivers/gpu/drm/drm_file.c 	INIT_LIST_HEAD(&file->lhead);
file              134 drivers/gpu/drm/drm_file.c 	INIT_LIST_HEAD(&file->fbs);
file              135 drivers/gpu/drm/drm_file.c 	mutex_init(&file->fbs_lock);
file              136 drivers/gpu/drm/drm_file.c 	INIT_LIST_HEAD(&file->blobs);
file              137 drivers/gpu/drm/drm_file.c 	INIT_LIST_HEAD(&file->pending_event_list);
file              138 drivers/gpu/drm/drm_file.c 	INIT_LIST_HEAD(&file->event_list);
file              139 drivers/gpu/drm/drm_file.c 	init_waitqueue_head(&file->event_wait);
file              140 drivers/gpu/drm/drm_file.c 	file->event_space = 4096; /* set aside 4k for event buffer */
file              142 drivers/gpu/drm/drm_file.c 	mutex_init(&file->event_read_lock);
file              145 drivers/gpu/drm/drm_file.c 		drm_gem_open(dev, file);
file              148 drivers/gpu/drm/drm_file.c 		drm_syncobj_open(file);
file              150 drivers/gpu/drm/drm_file.c 	drm_prime_init_file_private(&file->prime);
file              153 drivers/gpu/drm/drm_file.c 		ret = dev->driver->open(dev, file);
file              158 drivers/gpu/drm/drm_file.c 	return file;
file              161 drivers/gpu/drm/drm_file.c 	drm_prime_destroy_file_private(&file->prime);
file              163 drivers/gpu/drm/drm_file.c 		drm_syncobj_release(file);
file              165 drivers/gpu/drm/drm_file.c 		drm_gem_release(dev, file);
file              166 drivers/gpu/drm/drm_file.c 	put_pid(file->pid);
file              167 drivers/gpu/drm/drm_file.c 	kfree(file);
file              209 drivers/gpu/drm/drm_file.c void drm_file_free(struct drm_file *file)
file              213 drivers/gpu/drm/drm_file.c 	if (!file)
file              216 drivers/gpu/drm/drm_file.c 	dev = file->minor->dev;
file              220 drivers/gpu/drm/drm_file.c 		  (long)old_encode_dev(file->minor->kdev->devt),
file              225 drivers/gpu/drm/drm_file.c 		dev->driver->preclose(dev, file);
file              228 drivers/gpu/drm/drm_file.c 		drm_legacy_lock_release(dev, file->filp);
file              231 drivers/gpu/drm/drm_file.c 		drm_legacy_reclaim_buffers(dev, file);
file              233 drivers/gpu/drm/drm_file.c 	drm_events_release(file);
file              236 drivers/gpu/drm/drm_file.c 		drm_fb_release(file);
file              237 drivers/gpu/drm/drm_file.c 		drm_property_destroy_user_blobs(dev, file);
file              241 drivers/gpu/drm/drm_file.c 		drm_syncobj_release(file);
file              244 drivers/gpu/drm/drm_file.c 		drm_gem_release(dev, file);
file              246 drivers/gpu/drm/drm_file.c 	drm_legacy_ctxbitmap_flush(dev, file);
file              248 drivers/gpu/drm/drm_file.c 	if (drm_is_primary_client(file))
file              249 drivers/gpu/drm/drm_file.c 		drm_master_release(file);
file              252 drivers/gpu/drm/drm_file.c 		dev->driver->postclose(dev, file);
file              254 drivers/gpu/drm/drm_file.c 	drm_prime_destroy_file_private(&file->prime);
file              256 drivers/gpu/drm/drm_file.c 	WARN_ON(!list_empty(&file->event_list));
file              258 drivers/gpu/drm/drm_file.c 	put_pid(file->pid);
file              259 drivers/gpu/drm/drm_file.c 	kfree(file);
file              262 drivers/gpu/drm/drm_file.c static void drm_close_helper(struct file *filp)
file              297 drivers/gpu/drm/drm_file.c static int drm_open_helper(struct file *filp, struct drm_minor *minor)
file              368 drivers/gpu/drm/drm_file.c int drm_open(struct inode *inode, struct file *filp)
file              433 drivers/gpu/drm/drm_file.c int drm_release(struct inode *inode, struct file *filp)
file              482 drivers/gpu/drm/drm_file.c ssize_t drm_read(struct file *filp, char __user *buffer,
file              569 drivers/gpu/drm/drm_file.c __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait)
file              127 drivers/gpu/drm/drm_gem.c 	struct file *filp;
file              313 drivers/gpu/drm/drm_gem.c int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file              319 drivers/gpu/drm/drm_gem.c 	obj = drm_gem_object_lookup(file, handle);
file              350 drivers/gpu/drm/drm_gem.c int drm_gem_dumb_destroy(struct drm_file *file,
file              354 drivers/gpu/drm/drm_gem.c 	return drm_gem_handle_delete(file, handle);
file             1146 drivers/gpu/drm/drm_gem.c int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              308 drivers/gpu/drm/drm_gem_cma_helper.c int drm_gem_cma_mmap(struct file *filp, struct vm_area_struct *vma)
file              342 drivers/gpu/drm/drm_gem_cma_helper.c unsigned long drm_gem_cma_get_unmapped_area(struct file *filp,
file              119 drivers/gpu/drm/drm_gem_framebuffer_helper.c int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
file              122 drivers/gpu/drm/drm_gem_framebuffer_helper.c 	return drm_gem_handle_create(file, fb->obj[0], handle);
file              143 drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_create_with_funcs(struct drm_device *dev, struct drm_file *file,
file              161 drivers/gpu/drm/drm_gem_framebuffer_helper.c 		objs[i] = drm_gem_object_lookup(file, mode_cmd->handles[i]);
file              223 drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_create(struct drm_device *dev, struct drm_file *file,
file              226 drivers/gpu/drm/drm_gem_framebuffer_helper.c 	return drm_gem_fb_create_with_funcs(dev, file, mode_cmd,
file              261 drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_create_with_dirty(struct drm_device *dev, struct drm_file *file,
file              264 drivers/gpu/drm/drm_gem_framebuffer_helper.c 	return drm_gem_fb_create_with_funcs(dev, file, mode_cmd,
file              448 drivers/gpu/drm/drm_gem_shmem_helper.c int drm_gem_shmem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              465 drivers/gpu/drm/drm_gem_shmem_helper.c 	shmem = drm_gem_shmem_create_with_handle(file, dev, args->size, &args->handle);
file              531 drivers/gpu/drm/drm_gem_shmem_helper.c int drm_gem_shmem_mmap(struct file *filp, struct vm_area_struct *vma)
file              363 drivers/gpu/drm/drm_gem_vram_helper.c int drm_gem_vram_fill_create_dumb(struct drm_file *file,
file              386 drivers/gpu/drm/drm_gem_vram_helper.c 	ret = drm_gem_handle_create(file, &gbo->bo.base, &handle);
file              445 drivers/gpu/drm/drm_gem_vram_helper.c 					 struct file *filp)
file              502 drivers/gpu/drm/drm_gem_vram_helper.c int drm_gem_vram_driver_dumb_create(struct drm_file *file,
file              509 drivers/gpu/drm/drm_gem_vram_helper.c 	return drm_gem_vram_fill_create_dumb(file, dev, &dev->vram_mm->bdev, 0,
file              526 drivers/gpu/drm/drm_gem_vram_helper.c int drm_gem_vram_driver_dumb_mmap_offset(struct drm_file *file,
file              533 drivers/gpu/drm/drm_gem_vram_helper.c 	gem = drm_gem_object_lookup(file, handle);
file               45 drivers/gpu/drm/drm_internal.h void drm_file_free(struct drm_file *file);
file               92 drivers/gpu/drm/drm_ioc32.c static int compat_drm_version(struct file *file, unsigned int cmd,
file              110 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_version, &v,
file              131 drivers/gpu/drm/drm_ioc32.c static int compat_drm_getunique(struct file *file, unsigned int cmd,
file              145 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_getunique, &uq, 0);
file              155 drivers/gpu/drm/drm_ioc32.c static int compat_drm_setunique(struct file *file, unsigned int cmd,
file              172 drivers/gpu/drm/drm_ioc32.c static int compat_drm_getmap(struct file *file, unsigned int cmd,
file              184 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_getmap_ioctl, &map, 0);
file              200 drivers/gpu/drm/drm_ioc32.c static int compat_drm_addmap(struct file *file, unsigned int cmd,
file              216 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_addmap_ioctl, &map,
file              234 drivers/gpu/drm/drm_ioc32.c static int compat_drm_rmmap(struct file *file, unsigned int cmd,
file              244 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_legacy_rmmap_ioctl, &map, DRM_AUTH);
file              257 drivers/gpu/drm/drm_ioc32.c static int compat_drm_getclient(struct file *file, unsigned int cmd,
file              270 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_getclient, &client, 0);
file              294 drivers/gpu/drm/drm_ioc32.c static int compat_drm_getstats(struct file *file, unsigned int cmd,
file              300 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_noop, NULL, 0);
file              319 drivers/gpu/drm/drm_ioc32.c static int compat_drm_addbufs(struct file *file, unsigned int cmd,
file              335 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_addbufs, &desc,
file              350 drivers/gpu/drm/drm_ioc32.c static int compat_drm_markbufs(struct file *file, unsigned int cmd,
file              364 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_legacy_markbufs, &buf,
file              394 drivers/gpu/drm/drm_ioc32.c static int compat_drm_infobufs(struct file *file, unsigned int cmd,
file              407 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH);
file              458 drivers/gpu/drm/drm_ioc32.c static int compat_drm_mapbufs(struct file *file, unsigned int cmd,
file              470 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH);
file              486 drivers/gpu/drm/drm_ioc32.c static int compat_drm_freebufs(struct file *file, unsigned int cmd,
file              498 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_legacy_freebufs, &request, DRM_AUTH);
file              506 drivers/gpu/drm/drm_ioc32.c static int compat_drm_setsareactx(struct file *file, unsigned int cmd,
file              518 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_legacy_setsareactx, &request,
file              522 drivers/gpu/drm/drm_ioc32.c static int compat_drm_getsareactx(struct file *file, unsigned int cmd,
file              534 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_getsareactx, &req, DRM_AUTH);
file              550 drivers/gpu/drm/drm_ioc32.c static int compat_drm_resctx(struct file *file, unsigned int cmd,
file              563 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_resctx, &res, DRM_AUTH);
file              587 drivers/gpu/drm/drm_ioc32.c static int compat_drm_dma(struct file *file, unsigned int cmd,
file              606 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_dma_ioctl, &d, DRM_AUTH);
file              623 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_enable(struct file *file, unsigned int cmd,
file              632 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file,  drm_agp_enable_ioctl, &mode,
file              650 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_info(struct file *file, unsigned int cmd,
file              658 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_agp_info_ioctl, &info, DRM_AUTH);
file              684 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_alloc(struct file *file, unsigned int cmd,
file              697 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_agp_alloc_ioctl, &request,
file              705 drivers/gpu/drm/drm_ioc32.c 		drm_ioctl_kernel(file, drm_agp_free_ioctl, &request,
file              713 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_free(struct file *file, unsigned int cmd,
file              722 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_agp_free_ioctl, &request,
file              731 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_bind(struct file *file, unsigned int cmd,
file              743 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_agp_bind_ioctl, &request,
file              747 drivers/gpu/drm/drm_ioc32.c static int compat_drm_agp_unbind(struct file *file, unsigned int cmd,
file              756 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_agp_unbind_ioctl, &request,
file              767 drivers/gpu/drm/drm_ioc32.c static int compat_drm_sg_alloc(struct file *file, unsigned int cmd,
file              777 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_sg_alloc, &request,
file              789 drivers/gpu/drm/drm_ioc32.c static int compat_drm_sg_free(struct file *file, unsigned int cmd,
file              799 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_legacy_sg_free, &request,
file              812 drivers/gpu/drm/drm_ioc32.c static int compat_drm_update_draw(struct file *file, unsigned int cmd,
file              819 drivers/gpu/drm/drm_ioc32.c 	return drm_ioctl_kernel(file, drm_noop, NULL,
file              842 drivers/gpu/drm/drm_ioc32.c static int compat_drm_wait_vblank(struct file *file, unsigned int cmd,
file              856 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_wait_vblank_ioctl, &req, DRM_UNLOCKED);
file              883 drivers/gpu/drm/drm_ioc32.c static int compat_drm_mode_addfb2(struct file *file, unsigned int cmd,
file              898 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_mode_addfb2, &req64, 0);
file              970 drivers/gpu/drm/drm_ioc32.c long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              769 drivers/gpu/drm/drm_ioctl.c long drm_ioctl_kernel(struct file *file, drm_ioctl_t *func, void *kdata,
file              772 drivers/gpu/drm/drm_ioctl.c 	struct drm_file *file_priv = file->private_data;
file              809 drivers/gpu/drm/drm_ioctl.c long drm_ioctl(struct file *filp,
file              491 drivers/gpu/drm/drm_lease.c 	struct file *lessee_file = NULL;
file              492 drivers/gpu/drm/drm_lease.c 	struct file *lessor_file = lessor_priv->filp;
file               52 drivers/gpu/drm/drm_legacy.h void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
file               56 drivers/gpu/drm/drm_legacy.h static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {}
file              155 drivers/gpu/drm/drm_legacy.h void drm_legacy_lock_release(struct drm_device *dev, struct file *filp);
file              157 drivers/gpu/drm/drm_legacy.h static inline void drm_legacy_lock_release(struct drm_device *dev, struct file *filp) {}
file              339 drivers/gpu/drm/drm_lock.c void drm_legacy_lock_release(struct drm_device *dev, struct file *filp)
file             1182 drivers/gpu/drm/drm_mipi_dbi.c static ssize_t mipi_dbi_debugfs_command_write(struct file *file,
file             1186 drivers/gpu/drm/drm_mipi_dbi.c 	struct seq_file *m = file->private_data;
file             1287 drivers/gpu/drm/drm_mipi_dbi.c 					 struct file *file)
file             1289 drivers/gpu/drm/drm_mipi_dbi.c 	return single_open(file, mipi_dbi_debugfs_command_show,
file              713 drivers/gpu/drm/drm_prime.c 	struct file *fil;
file              496 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_file_release(struct inode *inode, struct file *file)
file              498 drivers/gpu/drm/drm_syncobj.c 	struct drm_syncobj *syncobj = file->private_data;
file              519 drivers/gpu/drm/drm_syncobj.c 	struct file *file;
file              526 drivers/gpu/drm/drm_syncobj.c 	file = anon_inode_getfile("syncobj_file",
file              529 drivers/gpu/drm/drm_syncobj.c 	if (IS_ERR(file)) {
file              531 drivers/gpu/drm/drm_syncobj.c 		return PTR_ERR(file);
file              535 drivers/gpu/drm/drm_syncobj.c 	fd_install(fd, file);
file              563 drivers/gpu/drm/drm_syncobj.c 	if (!f.file)
file              566 drivers/gpu/drm/drm_syncobj.c 	if (f.file->f_op != &drm_syncobj_file_fops) {
file              572 drivers/gpu/drm/drm_syncobj.c 	syncobj = f.file->private_data;
file              636 drivers/gpu/drm/drm_syncobj.c 	fd_install(fd, sync_file->file);
file              190 drivers/gpu/drm/drm_sysfs.c static ssize_t edid_show(struct file *filp, struct kobject *kobj,
file               30 drivers/gpu/drm/drm_trace.h 	    TP_PROTO(struct drm_file *file, int crtc, unsigned int seq),
file               31 drivers/gpu/drm/drm_trace.h 	    TP_ARGS(file, crtc, seq),
file               33 drivers/gpu/drm/drm_trace.h 		    __field(struct drm_file *, file)
file               38 drivers/gpu/drm/drm_trace.h 		    __entry->file = file;
file               42 drivers/gpu/drm/drm_trace.h 	    TP_printk("file=%p, crtc=%d, seq=%u", __entry->file, __entry->crtc, \
file               47 drivers/gpu/drm/drm_trace.h 	    TP_PROTO(struct drm_file *file, int crtc, unsigned int seq),
file               48 drivers/gpu/drm/drm_trace.h 	    TP_ARGS(file, crtc, seq),
file               50 drivers/gpu/drm/drm_trace.h 		    __field(struct drm_file *, file)
file               55 drivers/gpu/drm/drm_trace.h 		    __entry->file = file;
file               59 drivers/gpu/drm/drm_trace.h 	    TP_printk("file=%p, crtc=%d, seq=%u", __entry->file, __entry->crtc, \
file              468 drivers/gpu/drm/drm_vm.c static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma)
file              531 drivers/gpu/drm/drm_vm.c static int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma)
file              645 drivers/gpu/drm/drm_vm.c int drm_legacy_mmap(struct file *filp, struct vm_area_struct *vma)
file               92 drivers/gpu/drm/drm_vram_mm_helper.c 				   struct file *filp)
file              207 drivers/gpu/drm/drm_vram_mm_helper.c int drm_vram_mm_mmap(struct file *filp, struct vm_area_struct *vma,
file              287 drivers/gpu/drm/drm_vram_mm_helper.c 	struct file *filp, struct vm_area_struct *vma)
file               49 drivers/gpu/drm/etnaviv/etnaviv_drv.c static int etnaviv_open(struct drm_device *dev, struct drm_file *file)
file               77 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	file->driver_priv = ctx;
file               86 drivers/gpu/drm/etnaviv/etnaviv_drv.c static void etnaviv_postclose(struct drm_device *dev, struct drm_file *file)
file               89 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	struct etnaviv_file_private *ctx = file->driver_priv;
file              256 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              273 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              281 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	return etnaviv_gem_new_handle(dev, file, args->size,
file              291 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              300 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              312 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              321 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              333 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              342 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              353 drivers/gpu/drm/etnaviv/etnaviv_drv.c 		struct drm_file *file)
file              378 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	struct drm_file *file)
file              396 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	return etnaviv_gem_new_userptr(dev, file, args->user_ptr,
file              402 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	struct drm_file *file)
file              421 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              436 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	struct drm_file *file)
file              453 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	struct drm_file *file)
file               48 drivers/gpu/drm/etnaviv/etnaviv_drv.h 		struct drm_file *file);
file               50 drivers/gpu/drm/etnaviv/etnaviv_drv.h int etnaviv_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               67 drivers/gpu/drm/etnaviv/etnaviv_drv.h int etnaviv_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file               69 drivers/gpu/drm/etnaviv/etnaviv_drv.h int etnaviv_gem_new_userptr(struct drm_device *dev, struct drm_file *file,
file              158 drivers/gpu/drm/etnaviv/etnaviv_gem.c int etnaviv_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              602 drivers/gpu/drm/etnaviv/etnaviv_gem.c int etnaviv_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file              632 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	ret = drm_gem_handle_create(file, obj, handle);
file              723 drivers/gpu/drm/etnaviv/etnaviv_gem.c int etnaviv_gem_new_userptr(struct drm_device *dev, struct drm_file *file,
file              742 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	ret = drm_gem_handle_create(file, &etnaviv_obj->base, handle);
file               56 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	struct drm_file *file, struct drm_etnaviv_gem_submit_bo *submit_bos,
file               63 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	spin_lock(&file->table_lock);
file               87 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 		obj = idr_find(&file->object_idr, bo->handle);
file              106 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	spin_unlock(&file->table_lock);
file              427 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 		struct drm_file *file)
file              429 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	struct etnaviv_file_private *ctx = file->driver_priv;
file              536 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	submit->ctx = file->driver_priv;
file              542 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	ret = submit_lookup_objects(submit, file, bos, args->nr_bos);
file              602 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 		fd_install(out_fence_fd, sync_file->file);
file               49 drivers/gpu/drm/exynos/exynos_drm_drv.c static int exynos_drm_open(struct drm_device *dev, struct drm_file *file)
file               58 drivers/gpu/drm/exynos/exynos_drm_drv.c 	file->driver_priv = file_priv;
file               59 drivers/gpu/drm/exynos/exynos_drm_drv.c 	ret = g2d_open(dev, file);
file               67 drivers/gpu/drm/exynos/exynos_drm_drv.c 	file->driver_priv = NULL;
file               71 drivers/gpu/drm/exynos/exynos_drm_drv.c static void exynos_drm_postclose(struct drm_device *dev, struct drm_file *file)
file               73 drivers/gpu/drm/exynos/exynos_drm_drv.c 	g2d_close(dev, file);
file               74 drivers/gpu/drm/exynos/exynos_drm_drv.c 	kfree(file->driver_priv);
file               75 drivers/gpu/drm/exynos/exynos_drm_drv.c 	file->driver_priv = NULL;
file              689 drivers/gpu/drm/exynos/exynos_drm_g2d.c 				struct drm_file *file)
file              720 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			exynos_gem = exynos_drm_gem_get(file, handle);
file              754 drivers/gpu/drm/exynos/exynos_drm_g2d.c 							file,
file              854 drivers/gpu/drm/exynos/exynos_drm_g2d.c static void g2d_remove_runqueue_nodes(struct g2d_data *g2d, struct drm_file *file)
file              862 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		if (file && node->filp != file)
file              971 drivers/gpu/drm/exynos/exynos_drm_g2d.c static void g2d_wait_finish(struct g2d_data *g2d, struct drm_file *file)
file              987 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	if (file && runqueue_node->filp != file)
file             1126 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			     struct drm_file *file)
file             1137 drivers/gpu/drm/exynos/exynos_drm_g2d.c 				 struct drm_file *file)
file             1139 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	struct drm_exynos_file_private *file_priv = file->driver_priv;
file             1178 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		ret = drm_event_reserve_init(drm_dev, file, &e->base, &e->event.base);
file             1267 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		ret = g2d_map_cmdlist_gem(g2d, node, drm_dev, file);
file             1286 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	g2d_unmap_cmdlist_gem(g2d, node, file);
file             1296 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			  struct drm_file *file)
file             1298 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	struct drm_exynos_file_private *file_priv = file->driver_priv;
file             1328 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	runqueue_node->filp = file;
file             1345 drivers/gpu/drm/exynos/exynos_drm_g2d.c int g2d_open(struct drm_device *drm_dev, struct drm_file *file)
file             1347 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	struct drm_exynos_file_private *file_priv = file->driver_priv;
file             1356 drivers/gpu/drm/exynos/exynos_drm_g2d.c void g2d_close(struct drm_device *drm_dev, struct drm_file *file)
file             1358 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	struct drm_exynos_file_private *file_priv = file->driver_priv;
file             1370 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	g2d_remove_runqueue_nodes(g2d, file);
file             1378 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	g2d_wait_finish(g2d, file);
file             1388 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		g2d_unmap_cmdlist_gem(g2d, node, file);
file             1394 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	g2d_userptr_free_all(g2d, file);
file               15 drivers/gpu/drm/exynos/exynos_drm_g2d.h extern int g2d_open(struct drm_device *drm_dev, struct drm_file *file);
file               16 drivers/gpu/drm/exynos/exynos_drm_g2d.h extern void g2d_close(struct drm_device *drm_dev, struct drm_file *file);
file               37 drivers/gpu/drm/exynos/exynos_drm_g2d.h int g2d_open(struct drm_device *drm_dev, struct drm_file *file)
file               42 drivers/gpu/drm/exynos/exynos_drm_g2d.h void g2d_close(struct drm_device *drm_dev, struct drm_file *file)
file              435 drivers/gpu/drm/exynos/exynos_drm_gem.c int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              108 drivers/gpu/drm/exynos/exynos_drm_gem.h int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               34 drivers/gpu/drm/gma500/gem.c 				struct drm_file *file)
file               50 drivers/gpu/drm/gma500/gem.c int psb_gem_create(struct drm_file *file, struct drm_device *dev, u64 size,
file               76 drivers/gpu/drm/gma500/gem.c 	ret = drm_gem_handle_create(file, &r->gem, &handle);
file              100 drivers/gpu/drm/gma500/gem.c int psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              105 drivers/gpu/drm/gma500/gem.c 	return psb_gem_create(file, dev, args->size, &args->handle, 0,
file               11 drivers/gpu/drm/gma500/gem.h extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,
file              410 drivers/gpu/drm/gma500/psb_drv.c static long psb_unlocked_ioctl(struct file *filp, unsigned int cmd,
file              738 drivers/gpu/drm/gma500/psb_drv.h 			struct drm_file *file);
file              739 drivers/gpu/drm/gma500/psb_drv.h extern int psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file               71 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h int hibmc_dumb_create(struct drm_file *file, struct drm_device *dev,
file               73 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c int hibmc_dumb_create(struct drm_file *file, struct drm_device *dev,
file               90 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c 	ret = drm_gem_handle_create(file, gobj, &handle);
file               94 drivers/gpu/drm/i810/i810_dma.c static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma)
file              130 drivers/gpu/drm/i810/i810_drv.h extern long i810_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             15210 drivers/gpu/drm/i915/display/intel_display.c 				      struct drm_file *file)
file             15216 drivers/gpu/drm/i915/display/intel_display.c 	drmmode_crtc = drm_crtc_find(dev, file, pipe_from_crtc_id->crtc_id);
file             15559 drivers/gpu/drm/i915/display/intel_display.c 						struct drm_file *file,
file             15569 drivers/gpu/drm/i915/display/intel_display.c 	return drm_gem_handle_create(file, &obj->base, handle);
file             15573 drivers/gpu/drm/i915/display/intel_display.c 					struct drm_file *file,
file               81 drivers/gpu/drm/i915/gem/i915_gem_busy.c 		    struct drm_file *file)
file               91 drivers/gpu/drm/i915/gem/i915_gem_busy.c 	obj = i915_gem_object_lookup_rcu(file, args->handle);
file              687 drivers/gpu/drm/i915/gem/i915_gem_context.c 		ctx->vm->file = fpriv;
file              712 drivers/gpu/drm/i915/gem/i915_gem_context.c 			  struct drm_file *file)
file              714 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file              751 drivers/gpu/drm/i915/gem/i915_gem_context.c void i915_gem_context_close(struct drm_file *file)
file              753 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file              765 drivers/gpu/drm/i915/gem/i915_gem_context.c 			     struct drm_file *file)
file              769 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file              783 drivers/gpu/drm/i915/gem/i915_gem_context.c 	ppgtt->vm.file = file_priv;
file              816 drivers/gpu/drm/i915/gem/i915_gem_context.c 			      struct drm_file *file)
file              818 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2077 drivers/gpu/drm/i915/gem/i915_gem_context.c 				  struct drm_file *file)
file             2094 drivers/gpu/drm/i915/gem/i915_gem_context.c 	ext_data.fpriv = file->driver_priv;
file             2134 drivers/gpu/drm/i915/gem/i915_gem_context.c 				   struct drm_file *file)
file             2137 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2214 drivers/gpu/drm/i915/gem/i915_gem_context.c 				    struct drm_file *file)
file             2216 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2284 drivers/gpu/drm/i915/gem/i915_gem_context.c 				    struct drm_file *file)
file             2286 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2302 drivers/gpu/drm/i915/gem/i915_gem_context.c 				       void *data, struct drm_file *file)
file             2314 drivers/gpu/drm/i915/gem/i915_gem_context.c 	ctx = __i915_gem_context_lookup_rcu(file->driver_priv, args->ctx_id);
file              140 drivers/gpu/drm/i915/gem/i915_gem_context.h 			  struct drm_file *file);
file              141 drivers/gpu/drm/i915/gem/i915_gem_context.h void i915_gem_context_close(struct drm_file *file);
file              146 drivers/gpu/drm/i915/gem/i915_gem_context.h 			     struct drm_file *file);
file              148 drivers/gpu/drm/i915/gem/i915_gem_context.h 			      struct drm_file *file);
file              151 drivers/gpu/drm/i915/gem/i915_gem_context.h 				  struct drm_file *file);
file              153 drivers/gpu/drm/i915/gem/i915_gem_context.h 				   struct drm_file *file);
file              159 drivers/gpu/drm/i915/gem/i915_gem_context.h 				       struct drm_file *file);
file              306 drivers/gpu/drm/i915/gem/i915_gem_domain.c 			       struct drm_file *file)
file              313 drivers/gpu/drm/i915/gem/i915_gem_domain.c 	obj = i915_gem_object_lookup_rcu(file, args->handle);
file              339 drivers/gpu/drm/i915/gem/i915_gem_domain.c 			       struct drm_file *file)
file              370 drivers/gpu/drm/i915/gem/i915_gem_domain.c 	obj = i915_gem_object_lookup(file, args->handle);
file              582 drivers/gpu/drm/i915/gem/i915_gem_domain.c 			  struct drm_file *file)
file              604 drivers/gpu/drm/i915/gem/i915_gem_domain.c 	obj = i915_gem_object_lookup(file, args->handle);
file              218 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	struct drm_file *file; /** per-file lookup tables and limits */
file              726 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	ctx = i915_gem_context_lookup(eb->file->driver_priv, eb->args->rsvd1);
file              771 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		obj = i915_gem_object_lookup(eb->file, handle);
file             2060 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c add_to_client(struct i915_request *rq, struct drm_file *file)
file             2062 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2120 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			 struct drm_file *file)
file             2122 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             2284 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		      struct drm_file *file,
file             2301 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			bsd_idx = gen8_dispatch_bsd_engine(i915, file);
file             2325 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	      struct drm_file *file,
file             2335 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		idx = eb_select_legacy_ring(eb, file, args);
file             2357 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		struct drm_file *file)
file             2398 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		syncobj = drm_syncobj_find(file, fence.handle);
file             2478 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		       struct drm_file *file,
file             2496 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	eb.file = file;
file             2522 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		if (!drm_is_current_master(file) || !capable(CAP_SYS_ADMIN))
file             2567 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	err = eb_pin_engine(&eb, file, args);
file             2690 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	add_to_client(eb.request, file);
file             2698 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			fd_install(out_fence_fd, out_fence->file);
file             2703 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			fput(out_fence->file);
file             2758 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			  struct drm_file *file)
file             2822 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	err = i915_gem_do_execbuffer(dev, file, &exec2, exec2_list, NULL);
file             2849 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			   struct drm_file *file)
file             2882 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		fences = get_fence_array(args, file);
file             2889 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	err = i915_gem_do_execbuffer(dev, file, args, exec2_list, fences);
file               14 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			struct drm_file *file);
file               16 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			  struct drm_file *file);
file               18 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			      struct drm_file *file);
file               20 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			       struct drm_file *file);
file               22 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 				struct drm_file *file);
file               24 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			       struct drm_file *file);
file               26 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			      struct drm_file *file);
file               28 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			   struct drm_file *file);
file               30 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			struct drm_file *file);
file               32 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			    struct drm_file *file);
file               34 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			 struct drm_file *file);
file               36 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			  struct drm_file *file);
file               38 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			       struct drm_file *file);
file               40 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			      struct drm_file *file);
file               42 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			      struct drm_file *file);
file               44 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			     struct drm_file *file);
file               46 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			    struct drm_file *file);
file               48 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			   struct drm_file *file);
file               50 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h 			struct drm_file *file);
file               20 drivers/gpu/drm/i915/gem/i915_gem_mman.c __vma_matches(struct vm_area_struct *vma, struct file *filp,
file               52 drivers/gpu/drm/i915/gem/i915_gem_mman.c 		    struct drm_file *file)
file               64 drivers/gpu/drm/i915/gem/i915_gem_mman.c 	obj = i915_gem_object_lookup(file, args->handle);
file              467 drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_mmap_gtt(struct drm_file *file,
file              475 drivers/gpu/drm/i915/gem/i915_gem_mman.c 	obj = i915_gem_object_lookup(file, handle);
file              510 drivers/gpu/drm/i915/gem/i915_gem_mman.c 			struct drm_file *file)
file              514 drivers/gpu/drm/i915/gem/i915_gem_mman.c 	return i915_gem_mmap_gtt(file, dev, args->handle, &args->offset);
file               92 drivers/gpu/drm/i915/gem/i915_gem_object.c void i915_gem_close_object(struct drm_gem_object *gem, struct drm_file *file)
file               95 drivers/gpu/drm/i915/gem/i915_gem_object.c 	struct drm_i915_file_private *fpriv = file->driver_priv;
file               40 drivers/gpu/drm/i915/gem/i915_gem_object.h void i915_gem_close_object(struct drm_gem_object *gem, struct drm_file *file);
file               61 drivers/gpu/drm/i915/gem/i915_gem_object.h i915_gem_object_lookup_rcu(struct drm_file *file, u32 handle)
file               66 drivers/gpu/drm/i915/gem/i915_gem_object.h 	return idr_find(&file->object_idr, handle);
file               70 drivers/gpu/drm/i915/gem/i915_gem_object.h i915_gem_object_lookup(struct drm_file *file, u32 handle)
file               75 drivers/gpu/drm/i915/gem/i915_gem_object.h 	obj = i915_gem_object_lookup_rcu(file, handle);
file               85 drivers/gpu/drm/i915/gem/i915_gem_object.h drm_gem_object_lookup(struct drm_file *file, u32 handle);
file              442 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 	struct file *filp;
file              536 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 	struct file *file;
file              546 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 	file = obj->base.filp;
file              553 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 		err = pagecache_write_begin(file, file->f_mapping,
file              563 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 		err = pagecache_write_end(file, file->f_mapping,
file               36 drivers/gpu/drm/i915/gem/i915_gem_throttle.c 			struct drm_file *file)
file               38 drivers/gpu/drm/i915/gem/i915_gem_throttle.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file              314 drivers/gpu/drm/i915/gem/i915_gem_tiling.c 			  struct drm_file *file)
file              320 drivers/gpu/drm/i915/gem/i915_gem_tiling.c 	obj = i915_gem_object_lookup(file, args->handle);
file              398 drivers/gpu/drm/i915/gem/i915_gem_tiling.c 			  struct drm_file *file)
file              406 drivers/gpu/drm/i915/gem/i915_gem_tiling.c 	obj = i915_gem_object_lookup_rcu(file, args->handle);
file              780 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 		       struct drm_file *file)
file              842 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 		ret = drm_gem_handle_create(file, &obj->base, &handle);
file              230 drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_wait_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
file              240 drivers/gpu/drm/i915/gem/i915_gem_wait.c 	obj = i915_gem_object_lookup(file, args->bo_handle);
file             1662 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	struct drm_file *file;
file             1675 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	file = mock_file(i915);
file             1676 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	if (IS_ERR(file))
file             1677 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 		return PTR_ERR(file);
file             1682 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	ctx = live_context(i915, file);
file             1697 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	mock_file_free(i915, file);
file               36 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	struct drm_file *file;
file               51 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	file = mock_file(i915);
file               52 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	if (IS_ERR(file))
file               53 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		return PTR_ERR(file);
file               64 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		ctx[n] = live_context(i915, file);
file              155 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	mock_file_free(i915, file);
file              290 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c static int file_add_object(struct drm_file *file,
file              298 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	err = idr_alloc(&file->object_idr, &obj->base, 1, 0, GFP_KERNEL);
file              309 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		   struct drm_file *file,
file              327 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	err = file_add_object(file, obj);
file              371 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		struct drm_file *file;
file              381 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		file = mock_file(i915);
file              382 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		if (IS_ERR(file))
file              383 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 			return PTR_ERR(file);
file              397 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 			ctx = live_context(i915, file);
file              404 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 				obj = create_test_object(ctx, file, &objects);
file              449 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		mock_file_free(i915, file);
file              466 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	struct drm_file *file;
file              477 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	file = mock_file(i915);
file              478 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	if (IS_ERR(file))
file              479 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		return PTR_ERR(file);
file              483 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	parent = live_context(i915, file);
file              522 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 				obj = create_test_object(parent, file, &objects);
file              575 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	mock_file_free(i915, file);
file              916 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	struct drm_file *file;
file              941 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	file = mock_file(i915);
file              942 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	if (IS_ERR(file))
file              943 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		return PTR_ERR(file);
file              950 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	ctx = live_context(i915, file);
file             1009 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	mock_file_free(i915, file);
file             1048 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	struct drm_file *file;
file             1060 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	file = mock_file(i915);
file             1061 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	if (IS_ERR(file))
file             1062 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		return PTR_ERR(file);
file             1070 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	ctx = live_context(i915, file);
file             1093 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 				obj = create_test_object(ctx, file, &objects);
file             1145 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	mock_file_free(i915, file);
file             1371 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	struct drm_file *file;
file             1386 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	file = mock_file(i915);
file             1387 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	if (IS_ERR(file))
file             1388 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		return PTR_ERR(file);
file             1396 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	ctx_a = live_context(i915, file);
file             1402 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	ctx_b = live_context(i915, file);
file             1463 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	mock_file_free(i915, file);
file               80 drivers/gpu/drm/i915/gem/selftests/mock_context.c live_context(struct drm_i915_private *i915, struct drm_file *file)
file               91 drivers/gpu/drm/i915/gem/selftests/mock_context.c 	err = gem_context_register(ctx, file->driver_priv);
file               19 drivers/gpu/drm/i915/gem/selftests/mock_context.h live_context(struct drm_i915_private *i915, struct drm_file *file);
file              299 drivers/gpu/drm/i915/gt/selftest_context.c 	struct drm_file *file;
file              302 drivers/gpu/drm/i915/gt/selftest_context.c 	file = mock_file(gt->i915);
file              303 drivers/gpu/drm/i915/gt/selftest_context.c 	if (IS_ERR(file))
file              304 drivers/gpu/drm/i915/gt/selftest_context.c 		return PTR_ERR(file);
file              308 drivers/gpu/drm/i915/gt/selftest_context.c 	fixme = live_context(gt->i915, file);
file              326 drivers/gpu/drm/i915/gt/selftest_context.c 	mock_file_free(gt->i915, file);
file              412 drivers/gpu/drm/i915/gt/selftest_context.c 	struct drm_file *file;
file              415 drivers/gpu/drm/i915/gt/selftest_context.c 	file = mock_file(gt->i915);
file              416 drivers/gpu/drm/i915/gt/selftest_context.c 	if (IS_ERR(file))
file              417 drivers/gpu/drm/i915/gt/selftest_context.c 		return PTR_ERR(file);
file              421 drivers/gpu/drm/i915/gt/selftest_context.c 	fixme = live_context(gt->i915, file);
file              439 drivers/gpu/drm/i915/gt/selftest_context.c 	mock_file_free(gt->i915, file);
file              376 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	struct drm_file *file;
file              382 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	file = mock_file(gt->i915);
file              383 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	if (IS_ERR(file))
file              384 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		return PTR_ERR(file);
file              387 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	ctx = live_context(gt->i915, file);
file              443 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	mock_file_free(gt->i915, file);
file              456 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	struct drm_file *file;
file              464 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	file = mock_file(gt->i915);
file              465 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	if (IS_ERR(file))
file              466 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		return PTR_ERR(file);
file              469 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	ctx = live_context(gt->i915, file);
file              546 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	mock_file_free(gt->i915, file);
file              719 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	struct drm_file *file;
file              723 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	file = mock_file(engine->i915);
file              724 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	if (IS_ERR(file))
file              725 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		return PTR_ERR(file);
file              729 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		ctx[count] = live_context(engine->i915, file);
file              776 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	mock_file_free(engine->i915, file);
file             1343 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	struct drm_file *file;
file             1346 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	file = mock_file(gt->i915);
file             1347 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	if (IS_ERR(file))
file             1348 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		return PTR_ERR(file);
file             1351 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	ctx = live_context(gt->i915, file);
file             1364 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	mock_file_free(gt->i915, file);
file              687 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	struct drm_file *file;
file              698 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	file = mock_file(i915);
file              700 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	if (IS_ERR(file)) {
file              701 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		err = PTR_ERR(file);
file              705 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	ctx = live_context(i915, file);
file              722 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	mock_file_free(i915, file);
file              522 drivers/gpu/drm/i915/gvt/dmabuf.c 		    file_count(dmabuf->file),
file               54 drivers/gpu/drm/i915/gvt/firmware.c gvt_firmware_read(struct file *filp, struct kobject *kobj,
file              162 drivers/gpu/drm/i915/gvt/firmware.c 	u64 file, request;
file              170 drivers/gpu/drm/i915/gvt/firmware.c 	item = (s); file = (u64)(a); request = (u64)(b); \
file              197 drivers/gpu/drm/i915/gvt/firmware.c 		     item, file, request);
file              333 drivers/gpu/drm/i915/i915_debugfs.c 			struct drm_file *file = ctx->file_priv->file;
file              337 drivers/gpu/drm/i915/i915_debugfs.c 			spin_lock(&file->table_lock);
file              338 drivers/gpu/drm/i915/i915_debugfs.c 			idr_for_each(&file->object_idr, per_file_stats, &stats);
file              339 drivers/gpu/drm/i915/i915_debugfs.c 			spin_unlock(&file->table_lock);
file              342 drivers/gpu/drm/i915/i915_debugfs.c 			task = pid_task(ctx->pid ?: file->pid, PIDTYPE_PID);
file              672 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t gpu_state_read(struct file *file, char __user *ubuf,
file              679 drivers/gpu/drm/i915/i915_debugfs.c 	error = file->private_data;
file              702 drivers/gpu/drm/i915/i915_debugfs.c static int gpu_state_release(struct inode *inode, struct file *file)
file              704 drivers/gpu/drm/i915/i915_debugfs.c 	i915_gpu_state_put(file->private_data);
file              708 drivers/gpu/drm/i915/i915_debugfs.c static int i915_gpu_info_open(struct inode *inode, struct file *file)
file              720 drivers/gpu/drm/i915/i915_debugfs.c 	file->private_data = gpu;
file              733 drivers/gpu/drm/i915/i915_debugfs.c i915_error_state_write(struct file *filp,
file              749 drivers/gpu/drm/i915/i915_debugfs.c static int i915_error_state_open(struct inode *inode, struct file *file)
file              757 drivers/gpu/drm/i915/i915_debugfs.c 	file->private_data  = error;
file             2030 drivers/gpu/drm/i915/i915_debugfs.c static int i915_guc_log_relay_open(struct inode *inode, struct file *file)
file             2039 drivers/gpu/drm/i915/i915_debugfs.c 	file->private_data = log;
file             2045 drivers/gpu/drm/i915/i915_debugfs.c i915_guc_log_relay_write(struct file *filp,
file             2056 drivers/gpu/drm/i915/i915_debugfs.c static int i915_guc_log_relay_release(struct inode *inode, struct file *file)
file             2910 drivers/gpu/drm/i915/i915_debugfs.c static int i915_ipc_status_open(struct inode *inode, struct file *file)
file             2917 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, i915_ipc_status_show, dev_priv);
file             2920 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t i915_ipc_status_write(struct file *file, const char __user *ubuf,
file             2923 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             3122 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t i915_displayport_test_active_write(struct file *file,
file             3134 drivers/gpu/drm/i915/i915_debugfs.c 	dev = ((struct seq_file *)file->private_data)->private;
file             3216 drivers/gpu/drm/i915/i915_debugfs.c 					     struct file *file)
file             3218 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, i915_displayport_test_active_show,
file             3392 drivers/gpu/drm/i915/i915_debugfs.c static int pri_wm_latency_open(struct inode *inode, struct file *file)
file             3399 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, pri_wm_latency_show, dev_priv);
file             3402 drivers/gpu/drm/i915/i915_debugfs.c static int spr_wm_latency_open(struct inode *inode, struct file *file)
file             3409 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, spr_wm_latency_show, dev_priv);
file             3412 drivers/gpu/drm/i915/i915_debugfs.c static int cur_wm_latency_open(struct inode *inode, struct file *file)
file             3419 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, cur_wm_latency_show, dev_priv);
file             3422 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t wm_latency_write(struct file *file, const char __user *ubuf,
file             3425 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             3468 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t pri_wm_latency_write(struct file *file, const char __user *ubuf,
file             3471 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             3480 drivers/gpu/drm/i915/i915_debugfs.c 	return wm_latency_write(file, ubuf, len, offp, latencies);
file             3483 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t spr_wm_latency_write(struct file *file, const char __user *ubuf,
file             3486 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             3495 drivers/gpu/drm/i915/i915_debugfs.c 	return wm_latency_write(file, ubuf, len, offp, latencies);
file             3498 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t cur_wm_latency_write(struct file *file, const char __user *ubuf,
file             3501 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             3510 drivers/gpu/drm/i915/i915_debugfs.c 	return wm_latency_write(file, ubuf, len, offp, latencies);
file             3973 drivers/gpu/drm/i915/i915_debugfs.c static int i915_forcewake_open(struct inode *inode, struct file *file)
file             3980 drivers/gpu/drm/i915/i915_debugfs.c 	file->private_data =
file             3987 drivers/gpu/drm/i915/i915_debugfs.c static int i915_forcewake_release(struct inode *inode, struct file *file)
file             3996 drivers/gpu/drm/i915/i915_debugfs.c 			     (intel_wakeref_t)(uintptr_t)file->private_data);
file             4026 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t i915_hpd_storm_ctl_write(struct file *file,
file             4030 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             4075 drivers/gpu/drm/i915/i915_debugfs.c static int i915_hpd_storm_ctl_open(struct inode *inode, struct file *file)
file             4077 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, i915_hpd_storm_ctl_show, inode->i_private);
file             4100 drivers/gpu/drm/i915/i915_debugfs.c i915_hpd_short_storm_ctl_open(struct inode *inode, struct file *file)
file             4102 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, i915_hpd_short_storm_ctl_show,
file             4106 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t i915_hpd_short_storm_ctl_write(struct file *file,
file             4110 drivers/gpu/drm/i915/i915_debugfs.c 	struct seq_file *m = file->private_data;
file             4233 drivers/gpu/drm/i915/i915_debugfs.c i915_fifo_underrun_reset_write(struct file *filp,
file             4547 drivers/gpu/drm/i915/i915_debugfs.c static ssize_t i915_dsc_fec_support_write(struct file *file,
file             4554 drivers/gpu/drm/i915/i915_debugfs.c 		((struct seq_file *)file->private_data)->private;
file             4577 drivers/gpu/drm/i915/i915_debugfs.c 				     struct file *file)
file             4579 drivers/gpu/drm/i915/i915_debugfs.c 	return single_open(file, i915_dsc_fec_support_show,
file             1697 drivers/gpu/drm/i915/i915_drv.c static int i915_driver_open(struct drm_device *dev, struct drm_file *file)
file             1702 drivers/gpu/drm/i915/i915_drv.c 	ret = i915_gem_open(i915, file);
file             1727 drivers/gpu/drm/i915/i915_drv.c static void i915_driver_postclose(struct drm_device *dev, struct drm_file *file)
file             1729 drivers/gpu/drm/i915/i915_drv.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             1732 drivers/gpu/drm/i915/i915_drv.c 	i915_gem_context_close(file);
file             1733 drivers/gpu/drm/i915/i915_drv.c 	i915_gem_release(dev, file);
file             2794 drivers/gpu/drm/i915/i915_drv.c 			  struct drm_file *file)
file              188 drivers/gpu/drm/i915/i915_drv.h 	struct drm_file *file;
file             1031 drivers/gpu/drm/i915/i915_drv.h 			  struct file *file,
file             2216 drivers/gpu/drm/i915/i915_drv.h long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file             2348 drivers/gpu/drm/i915/i915_drv.h int i915_gem_open(struct drm_i915_private *i915, struct drm_file *file);
file             2349 drivers/gpu/drm/i915/i915_drv.h void i915_gem_release(struct drm_device *dev, struct drm_file *file);
file             2432 drivers/gpu/drm/i915/i915_drv.h 			struct drm_file *file);
file               83 drivers/gpu/drm/i915/i915_gem.c 			    struct drm_file *file)
file              137 drivers/gpu/drm/i915/i915_gem.c 		     struct drm_file *file)
file              159 drivers/gpu/drm/i915/i915_gem.c i915_gem_create(struct drm_file *file,
file              178 drivers/gpu/drm/i915/i915_gem.c 	ret = drm_gem_handle_create(file, &obj->base, &handle);
file              190 drivers/gpu/drm/i915/i915_gem.c i915_gem_dumb_create(struct drm_file *file,
file              220 drivers/gpu/drm/i915/i915_gem.c 	return i915_gem_create(file, to_i915(dev),
file              232 drivers/gpu/drm/i915/i915_gem.c 		      struct drm_file *file)
file              239 drivers/gpu/drm/i915/i915_gem.c 	return i915_gem_create(file, dev_priv,
file              441 drivers/gpu/drm/i915/i915_gem.c 		     struct drm_file *file)
file              454 drivers/gpu/drm/i915/i915_gem.c 	obj = i915_gem_object_lookup(file, args->handle);
file              742 drivers/gpu/drm/i915/i915_gem.c 		      struct drm_file *file)
file              754 drivers/gpu/drm/i915/i915_gem.c 	obj = i915_gem_object_lookup(file, args->handle);
file              808 drivers/gpu/drm/i915/i915_gem.c 			ret = i915_gem_phys_pwrite(obj, args, file);
file              825 drivers/gpu/drm/i915/i915_gem.c 			 struct drm_file *file)
file              830 drivers/gpu/drm/i915/i915_gem.c 	obj = i915_gem_object_lookup(file, args->handle);
file             1735 drivers/gpu/drm/i915/i915_gem.c void i915_gem_release(struct drm_device *dev, struct drm_file *file)
file             1737 drivers/gpu/drm/i915/i915_gem.c 	struct drm_i915_file_private *file_priv = file->driver_priv;
file             1750 drivers/gpu/drm/i915/i915_gem.c int i915_gem_open(struct drm_i915_private *i915, struct drm_file *file)
file             1761 drivers/gpu/drm/i915/i915_gem.c 	file->driver_priv = file_priv;
file             1763 drivers/gpu/drm/i915/i915_gem.c 	file_priv->file = file;
file             1771 drivers/gpu/drm/i915/i915_gem.c 	ret = i915_gem_context_open(i915, file);
file              304 drivers/gpu/drm/i915/i915_gem_gtt.h 	struct drm_i915_file_private *file;
file               45 drivers/gpu/drm/i915/i915_ioc32.c static int compat_i915_getparam(struct file *file, unsigned int cmd,
file               61 drivers/gpu/drm/i915/i915_ioc32.c 	return drm_ioctl(file, DRM_IOCTL_I915_GETPARAM,
file               78 drivers/gpu/drm/i915/i915_ioc32.c long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             1176 drivers/gpu/drm/i915/i915_perf.c 			      struct file *file,
file             1179 drivers/gpu/drm/i915/i915_perf.c 	poll_wait(file, &stream->poll_wq, wait);
file             2341 drivers/gpu/drm/i915/i915_perf.c 				     struct file *file,
file             2376 drivers/gpu/drm/i915/i915_perf.c static ssize_t i915_perf_read(struct file *file,
file             2381 drivers/gpu/drm/i915/i915_perf.c 	struct i915_perf_stream *stream = file->private_data;
file             2392 drivers/gpu/drm/i915/i915_perf.c 	if (!(file->f_flags & O_NONBLOCK)) {
file             2406 drivers/gpu/drm/i915/i915_perf.c 			ret = i915_perf_read_locked(stream, file,
file             2412 drivers/gpu/drm/i915/i915_perf.c 		ret = i915_perf_read_locked(stream, file, buf, count, ppos);
file             2467 drivers/gpu/drm/i915/i915_perf.c 					  struct file *file,
file             2472 drivers/gpu/drm/i915/i915_perf.c 	stream->ops->poll_wait(stream, file, wait);
file             2499 drivers/gpu/drm/i915/i915_perf.c static __poll_t i915_perf_poll(struct file *file, poll_table *wait)
file             2501 drivers/gpu/drm/i915/i915_perf.c 	struct i915_perf_stream *stream = file->private_data;
file             2506 drivers/gpu/drm/i915/i915_perf.c 	ret = i915_perf_poll_locked(dev_priv, stream, file, wait);
file             2599 drivers/gpu/drm/i915/i915_perf.c static long i915_perf_ioctl(struct file *file,
file             2603 drivers/gpu/drm/i915/i915_perf.c 	struct i915_perf_stream *stream = file->private_data;
file             2651 drivers/gpu/drm/i915/i915_perf.c static int i915_perf_release(struct inode *inode, struct file *file)
file             2653 drivers/gpu/drm/i915/i915_perf.c 	struct i915_perf_stream *stream = file->private_data;
file             2709 drivers/gpu/drm/i915/i915_perf.c 			    struct drm_file *file)
file             2720 drivers/gpu/drm/i915/i915_perf.c 		struct drm_i915_file_private *file_priv = file->driver_priv;
file             2988 drivers/gpu/drm/i915/i915_perf.c 			 struct drm_file *file)
file             3017 drivers/gpu/drm/i915/i915_perf.c 	ret = i915_perf_open_ioctl_locked(dev_priv, param, &props, file);
file             3314 drivers/gpu/drm/i915/i915_perf.c 			       struct drm_file *file)
file             3465 drivers/gpu/drm/i915/i915_perf.c 				  struct drm_file *file)
file               23 drivers/gpu/drm/i915/i915_perf.h 			 struct drm_file *file);
file               25 drivers/gpu/drm/i915/i915_perf.h 			       struct drm_file *file);
file               27 drivers/gpu/drm/i915/i915_perf.h 				  struct drm_file *file);
file              151 drivers/gpu/drm/i915/i915_query.c int i915_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
file               13 drivers/gpu/drm/i915/i915_query.h int i915_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
file              160 drivers/gpu/drm/i915/i915_sysfs.c i915_l3_read(struct file *filp, struct kobject *kobj,
file              195 drivers/gpu/drm/i915/i915_sysfs.c i915_l3_write(struct file *filp, struct kobject *kobj,
file              511 drivers/gpu/drm/i915/i915_sysfs.c static ssize_t error_state_read(struct file *filp, struct kobject *kobj,
file              538 drivers/gpu/drm/i915/i915_sysfs.c static ssize_t error_state_write(struct file *file, struct kobject *kobj,
file             1815 drivers/gpu/drm/i915/intel_uncore.c 			void *data, struct drm_file *file)
file              135 drivers/gpu/drm/i915/selftests/i915_gem.c 	struct drm_file *file;
file              138 drivers/gpu/drm/i915/selftests/i915_gem.c 	file = mock_file(i915);
file              139 drivers/gpu/drm/i915/selftests/i915_gem.c 	if (IS_ERR(file))
file              140 drivers/gpu/drm/i915/selftests/i915_gem.c 		return PTR_ERR(file);
file              144 drivers/gpu/drm/i915/selftests/i915_gem.c 	ctx = live_context(i915, file);
file              166 drivers/gpu/drm/i915/selftests/i915_gem.c 	mock_file_free(i915, file);
file              174 drivers/gpu/drm/i915/selftests/i915_gem.c 	struct drm_file *file;
file              177 drivers/gpu/drm/i915/selftests/i915_gem.c 	file = mock_file(i915);
file              178 drivers/gpu/drm/i915/selftests/i915_gem.c 	if (IS_ERR(file))
file              179 drivers/gpu/drm/i915/selftests/i915_gem.c 		return PTR_ERR(file);
file              183 drivers/gpu/drm/i915/selftests/i915_gem.c 	ctx = live_context(i915, file);
file              205 drivers/gpu/drm/i915/selftests/i915_gem.c 	mock_file_free(i915, file);
file              454 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		struct drm_file *file;
file              456 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		file = mock_file(i915);
file              457 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		if (IS_ERR(file)) {
file              458 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 			err = PTR_ERR(file);
file              469 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 			ctx = live_context(i915, file);
file              506 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		mock_file_free(i915, file);
file              999 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	struct drm_file *file;
file             1007 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	file = mock_file(dev_priv);
file             1008 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	if (IS_ERR(file))
file             1009 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		return PTR_ERR(file);
file             1026 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	mock_file_free(dev_priv, file);
file             1113 drivers/gpu/drm/i915/selftests/i915_request.c 	struct drm_file *file;
file             1127 drivers/gpu/drm/i915/selftests/i915_request.c 	file = mock_file(i915);
file             1128 drivers/gpu/drm/i915/selftests/i915_request.c 	if (IS_ERR(file)) {
file             1129 drivers/gpu/drm/i915/selftests/i915_request.c 		ret = PTR_ERR(file);
file             1154 drivers/gpu/drm/i915/selftests/i915_request.c 		t[0].contexts[n] = live_context(i915, file);
file             1230 drivers/gpu/drm/i915/selftests/i915_request.c 	mock_file_free(i915, file);
file               29 drivers/gpu/drm/i915/selftests/mock_drm.c 	struct file *filp;
file               31 drivers/gpu/drm/i915/selftests/mock_drm.c 	struct drm_file *file;
file               52 drivers/gpu/drm/i915/selftests/mock_drm.c 	file = filp->private_data;
file               53 drivers/gpu/drm/i915/selftests/mock_drm.c 	memset(&file->filp, POISON_INUSE, sizeof(file->filp));
file               54 drivers/gpu/drm/i915/selftests/mock_drm.c 	file->authenticated = true;
file               58 drivers/gpu/drm/i915/selftests/mock_drm.c 	return file;
file               68 drivers/gpu/drm/i915/selftests/mock_drm.c void mock_file_free(struct drm_i915_private *i915, struct drm_file *file)
file               70 drivers/gpu/drm/i915/selftests/mock_drm.c 	struct file filp = { .private_data = file };
file               29 drivers/gpu/drm/i915/selftests/mock_drm.h void mock_file_free(struct drm_i915_private *i915, struct drm_file *file);
file               68 drivers/gpu/drm/i915/selftests/mock_gtt.c 	ppgtt->vm.file = ERR_PTR(-ENODEV);
file               23 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_get_param(struct drm_device *dev, void *data, struct drm_file *file)
file               65 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_gem_create(struct drm_device *dev, void *data, struct drm_file *file)
file               78 drivers/gpu/drm/lima/lima_drv.c 	return lima_gem_create_handle(dev, file, args->size, args->flags, &args->handle);
file               81 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_gem_info(struct drm_device *dev, void *data, struct drm_file *file)
file               85 drivers/gpu/drm/lima/lima_drv.c 	return lima_gem_get_info(file, args->handle, &args->va, &args->offset);
file               88 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_gem_submit(struct drm_device *dev, void *data, struct drm_file *file)
file               92 drivers/gpu/drm/lima/lima_drv.c 	struct lima_drm_priv *priv = file->driver_priv;
file              154 drivers/gpu/drm/lima/lima_drv.c 	err = lima_gem_submit(file, &submit);
file              165 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_gem_wait(struct drm_device *dev, void *data, struct drm_file *file)
file              172 drivers/gpu/drm/lima/lima_drv.c 	return lima_gem_wait(file, args->handle, args->op, args->timeout_ns);
file              175 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_ctx_create(struct drm_device *dev, void *data, struct drm_file *file)
file              178 drivers/gpu/drm/lima/lima_drv.c 	struct lima_drm_priv *priv = file->driver_priv;
file              187 drivers/gpu/drm/lima/lima_drv.c static int lima_ioctl_ctx_free(struct drm_device *dev, void *data, struct drm_file *file)
file              190 drivers/gpu/drm/lima/lima_drv.c 	struct lima_drm_priv *priv = file->driver_priv;
file              198 drivers/gpu/drm/lima/lima_drv.c static int lima_drm_driver_open(struct drm_device *dev, struct drm_file *file)
file              216 drivers/gpu/drm/lima/lima_drv.c 	file->driver_priv = priv;
file              224 drivers/gpu/drm/lima/lima_drv.c static void lima_drm_driver_postclose(struct drm_device *dev, struct drm_file *file)
file              226 drivers/gpu/drm/lima/lima_drv.c 	struct lima_drm_priv *priv = file->driver_priv;
file               40 drivers/gpu/drm/lima/lima_drv.h to_lima_drm_priv(struct drm_file *file)
file               42 drivers/gpu/drm/lima/lima_drv.h 	return file->driver_priv;
file               20 drivers/gpu/drm/lima/lima_gem.c int lima_gem_create_handle(struct drm_device *dev, struct drm_file *file,
file               31 drivers/gpu/drm/lima/lima_gem.c 	err = drm_gem_handle_create(file, &bo->gem, handle);
file               49 drivers/gpu/drm/lima/lima_gem.c int lima_gem_object_open(struct drm_gem_object *obj, struct drm_file *file)
file               52 drivers/gpu/drm/lima/lima_gem.c 	struct lima_drm_priv *priv = to_lima_drm_priv(file);
file               58 drivers/gpu/drm/lima/lima_gem.c void lima_gem_object_close(struct drm_gem_object *obj, struct drm_file *file)
file               61 drivers/gpu/drm/lima/lima_gem.c 	struct lima_drm_priv *priv = to_lima_drm_priv(file);
file               67 drivers/gpu/drm/lima/lima_gem.c int lima_gem_get_info(struct drm_file *file, u32 handle, u32 *va, u64 *offset)
file               71 drivers/gpu/drm/lima/lima_gem.c 	struct lima_drm_priv *priv = to_lima_drm_priv(file);
file               75 drivers/gpu/drm/lima/lima_gem.c 	obj = drm_gem_object_lookup(file, handle);
file              121 drivers/gpu/drm/lima/lima_gem.c int lima_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              206 drivers/gpu/drm/lima/lima_gem.c static int lima_gem_add_deps(struct drm_file *file, struct lima_submit *submit)
file              216 drivers/gpu/drm/lima/lima_gem.c 		err = drm_syncobj_find_fence(file, submit->in_sync[i],
file              231 drivers/gpu/drm/lima/lima_gem.c int lima_gem_submit(struct drm_file *file, struct lima_submit *submit)
file              235 drivers/gpu/drm/lima/lima_gem.c 	struct lima_drm_priv *priv = to_lima_drm_priv(file);
file              242 drivers/gpu/drm/lima/lima_gem.c 		out_sync = drm_syncobj_find(file, submit->out_sync);
file              251 drivers/gpu/drm/lima/lima_gem.c 		obj = drm_gem_object_lookup(file, submit->bos[i].handle);
file              281 drivers/gpu/drm/lima/lima_gem.c 	err = lima_gem_add_deps(file, submit);
file              334 drivers/gpu/drm/lima/lima_gem.c int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns)
file              344 drivers/gpu/drm/lima/lima_gem.c 	ret = drm_gem_dma_resv_wait(file, handle, write, timeout);
file               13 drivers/gpu/drm/lima/lima_gem.h int lima_gem_create_handle(struct drm_device *dev, struct drm_file *file,
file               16 drivers/gpu/drm/lima/lima_gem.h int lima_gem_object_open(struct drm_gem_object *obj, struct drm_file *file);
file               17 drivers/gpu/drm/lima/lima_gem.h void lima_gem_object_close(struct drm_gem_object *obj, struct drm_file *file);
file               18 drivers/gpu/drm/lima/lima_gem.h int lima_gem_get_info(struct drm_file *file, u32 handle, u32 *va, u64 *offset);
file               19 drivers/gpu/drm/lima/lima_gem.h int lima_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               20 drivers/gpu/drm/lima/lima_gem.h int lima_gem_submit(struct drm_file *file, struct lima_submit *submit);
file               21 drivers/gpu/drm/lima/lima_gem.h int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
file               54 drivers/gpu/drm/mediatek/mtk_drm_fb.c 					       struct drm_file *file,
file               68 drivers/gpu/drm/mediatek/mtk_drm_fb.c 	gem = drm_gem_object_lookup(file, cmd->handles[0]);
file               10 drivers/gpu/drm/mediatek/mtk_drm_fb.h 					       struct drm_file *file,
file              162 drivers/gpu/drm/mediatek/mtk_drm_gem.c int mtk_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file               42 drivers/gpu/drm/mediatek/mtk_drm_gem.h int mtk_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               76 drivers/gpu/drm/meson/meson_drv.c static int meson_dumb_create(struct drm_file *file, struct drm_device *dev,
file               85 drivers/gpu/drm/meson/meson_drv.c 	return drm_gem_cma_dumb_create_internal(file, dev, args);
file              210 drivers/gpu/drm/mga/mga_drv.h extern long mga_compat_ioctl(struct file *filp, unsigned int cmd,
file               59 drivers/gpu/drm/mga/mga_ioc32.c static int compat_mga_init(struct file *file, unsigned int cmd,
file               80 drivers/gpu/drm/mga/mga_ioc32.c 	return drm_ioctl_kernel(file, mga_dma_init, &init,
file               89 drivers/gpu/drm/mga/mga_ioc32.c static int compat_mga_getparam(struct file *file, unsigned int cmd,
file              100 drivers/gpu/drm/mga/mga_ioc32.c 	return drm_ioctl_kernel(file, mga_getparam, &getparam, DRM_AUTH);
file              113 drivers/gpu/drm/mga/mga_ioc32.c static int compat_mga_dma_bootstrap(struct file *file, unsigned int cmd,
file              132 drivers/gpu/drm/mga/mga_ioc32.c 	err = drm_ioctl_kernel(file, mga_dma_bootstrap, &dma_bootstrap,
file              170 drivers/gpu/drm/mga/mga_ioc32.c long mga_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               72 drivers/gpu/drm/mgag200/mgag200_drv.c int mgag200_driver_dumb_create(struct drm_file *file,
file               92 drivers/gpu/drm/mgag200/mgag200_drv.c 	return drm_gem_vram_fill_create_dumb(file, dev, &dev->vram_mm->bdev,
file              223 drivers/gpu/drm/mgag200/mgag200_drv.h int mgag200_mmap(struct file *filp, struct vm_area_struct *vma);
file              295 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c static int __prefix ## _open(struct inode *inode, struct file *file)	\
file              297 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	return single_open(file, __prefix ## _show, inode->i_private);	\
file              386 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c static ssize_t _dpu_core_perf_mode_write(struct file *file,
file              389 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	struct dpu_core_perf *perf = file->private_data;
file              420 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c static ssize_t _dpu_core_perf_mode_read(struct file *file,
file              423 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	struct dpu_core_perf *perf = file->private_data;
file             1188 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c static int _dpu_debugfs_status_open(struct inode *inode, struct file *file)
file             1190 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 	return single_open(file, _dpu_debugfs_status_show, inode->i_private);
file             1194 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c static int __prefix ## _open(struct inode *inode, struct file *file)	\
file             1196 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 	return single_open(file, __prefix ## _show, inode->i_private);	\
file             1909 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 		struct file *file)
file             1911 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 	return single_open(file, _dpu_encoder_status_show, inode->i_private);
file              108 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c static int __prefix ## _open(struct inode *inode, struct file *file)	\
file              110 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	return single_open(file, __prefix ## _show, inode->i_private);	\
file              188 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 		struct file *file)
file              190 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	return single_open(file, _dpu_debugfs_show_regset32, inode->i_private);
file             1248 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c static ssize_t _dpu_plane_danger_read(struct file *file,
file             1251 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	struct dpu_kms *kms = file->private_data;
file             1283 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c static ssize_t _dpu_plane_danger_write(struct file *file,
file             1286 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	struct dpu_kms *kms = file->private_data;
file               97 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c static void complete_flip(struct drm_crtc *crtc, struct drm_file *file)
file              134 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c static void complete_flip(struct drm_crtc *crtc, struct drm_file *file)
file              856 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 		struct drm_file *file, uint32_t handle,
file              900 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	cursor_bo = drm_gem_object_lookup(file, handle);
file               44 drivers/gpu/drm/msm/msm_debugfs.c static int msm_gpu_release(struct inode *inode, struct file *file)
file               46 drivers/gpu/drm/msm/msm_debugfs.c 	struct seq_file *m = file->private_data;
file               57 drivers/gpu/drm/msm/msm_debugfs.c 	return single_release(inode, file);
file               60 drivers/gpu/drm/msm/msm_debugfs.c static int msm_gpu_open(struct inode *inode, struct file *file)
file               92 drivers/gpu/drm/msm/msm_debugfs.c 	ret = single_open(file, msm_gpu_show, show_priv);
file              588 drivers/gpu/drm/msm/msm_drv.c static int context_init(struct drm_device *dev, struct drm_file *file)
file              600 drivers/gpu/drm/msm/msm_drv.c 	file->driver_priv = ctx;
file              605 drivers/gpu/drm/msm/msm_drv.c static int msm_open(struct drm_device *dev, struct drm_file *file)
file              612 drivers/gpu/drm/msm/msm_drv.c 	return context_init(dev, file);
file              621 drivers/gpu/drm/msm/msm_drv.c static void msm_postclose(struct drm_device *dev, struct drm_file *file)
file              624 drivers/gpu/drm/msm/msm_drv.c 	struct msm_file_private *ctx = file->driver_priv;
file              696 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              717 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              726 drivers/gpu/drm/msm/msm_drv.c 	return msm_gem_new_handle(dev, file, args->size,
file              736 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              748 drivers/gpu/drm/msm/msm_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              760 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              766 drivers/gpu/drm/msm/msm_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              793 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              817 drivers/gpu/drm/msm/msm_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              870 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              887 drivers/gpu/drm/msm/msm_drv.c 	queue = msm_submitqueue_get(file->driver_priv, args->queueid);
file              899 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              917 drivers/gpu/drm/msm/msm_drv.c 	obj = drm_gem_object_lookup(file, args->handle);
file              938 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              945 drivers/gpu/drm/msm/msm_drv.c 	return msm_submitqueue_create(dev, file->driver_priv, args->prio,
file              950 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              952 drivers/gpu/drm/msm/msm_drv.c 	return msm_submitqueue_query(dev, file->driver_priv, data);
file              956 drivers/gpu/drm/msm/msm_drv.c 		struct drm_file *file)
file              960 drivers/gpu/drm/msm/msm_drv.c 	return msm_submitqueue_remove(file->driver_priv, id);
file              264 drivers/gpu/drm/msm/msm_drv.h 		struct drm_file *file);
file              271 drivers/gpu/drm/msm/msm_drv.h int msm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file              284 drivers/gpu/drm/msm/msm_drv.h int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              286 drivers/gpu/drm/msm/msm_drv.h int msm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file              308 drivers/gpu/drm/msm/msm_drv.h int msm_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file              338 drivers/gpu/drm/msm/msm_drv.h 		struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd);
file              100 drivers/gpu/drm/msm/msm_fb.c 		struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd)
file              109 drivers/gpu/drm/msm/msm_fb.c 		bos[i] = drm_gem_object_lookup(file, mode_cmd->handles[i]);
file              237 drivers/gpu/drm/msm/msm_gem.c int msm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              522 drivers/gpu/drm/msm/msm_gem.c int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              527 drivers/gpu/drm/msm/msm_gem.c 	return msm_gem_new_handle(dev, file, args->size,
file              531 drivers/gpu/drm/msm/msm_gem.c int msm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file              538 drivers/gpu/drm/msm/msm_gem.c 	obj = drm_gem_object_lookup(file, handle);
file              955 drivers/gpu/drm/msm/msm_gem.c int msm_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file              970 drivers/gpu/drm/msm/msm_gem.c 	ret = drm_gem_handle_create(file, obj, handle);
file               73 drivers/gpu/drm/msm/msm_gem_submit.c 		struct drm_msm_gem_submit *args, struct drm_file *file)
file              111 drivers/gpu/drm/msm/msm_gem_submit.c 	spin_lock(&file->table_lock);
file              120 drivers/gpu/drm/msm/msm_gem_submit.c 		obj = idr_find(&file->object_idr, submit->bos[i].handle);
file              144 drivers/gpu/drm/msm/msm_gem_submit.c 	spin_unlock(&file->table_lock);
file              398 drivers/gpu/drm/msm/msm_gem_submit.c 		struct drm_file *file)
file              403 drivers/gpu/drm/msm/msm_gem_submit.c 	struct msm_file_private *ctx = file->driver_priv;
file              488 drivers/gpu/drm/msm/msm_gem_submit.c 	ret = submit_lookup_objects(submit, args, file);
file              585 drivers/gpu/drm/msm/msm_gem_submit.c 		fd_install(out_fence_fd, sync_file->file);
file              120 drivers/gpu/drm/msm/msm_perf.c static ssize_t perf_read(struct file *file, char __user *buf,
file              123 drivers/gpu/drm/msm/msm_perf.c 	struct msm_perf_state *perf = file->private_data;
file              150 drivers/gpu/drm/msm/msm_perf.c static int perf_open(struct inode *inode, struct file *file)
file              165 drivers/gpu/drm/msm/msm_perf.c 	file->private_data = perf;
file              178 drivers/gpu/drm/msm/msm_perf.c static int perf_release(struct inode *inode, struct file *file)
file              137 drivers/gpu/drm/msm/msm_rd.c static ssize_t rd_read(struct file *file, char __user *buf,
file              140 drivers/gpu/drm/msm/msm_rd.c 	struct msm_rd_state *rd = file->private_data;
file              174 drivers/gpu/drm/msm/msm_rd.c static int rd_open(struct inode *inode, struct file *file)
file              191 drivers/gpu/drm/msm/msm_rd.c 	file->private_data = rd;
file              207 drivers/gpu/drm/msm/msm_rd.c static int rd_release(struct inode *inode, struct file *file)
file             1429 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_verify_access(struct ttm_buffer_object *bo, struct file *filp)
file              139 drivers/gpu/drm/nouveau/nouveau_debugfs.c nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf,
file              142 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	struct seq_file *m = file->private_data;
file              195 drivers/gpu/drm/nouveau/nouveau_debugfs.c nouveau_debugfs_pstate_open(struct inode *inode, struct file *file)
file              197 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	return single_open(file, nouveau_debugfs_pstate_get, inode->i_private);
file             1131 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1133 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct drm_file *filp = file->private_data;
file             1146 drivers/gpu/drm/nouveau/nouveau_drm.c 		ret = drm_ioctl(file, cmd, arg);
file               50 drivers/gpu/drm/nouveau/nouveau_ioc32.c long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,
file                5 drivers/gpu/drm/nouveau/nouveau_ioctl.h long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
file                6 drivers/gpu/drm/nouveau/nouveau_ioctl.h long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
file               28 drivers/gpu/drm/nouveau/nouveau_svm.h 				    struct drm_file *file)
file               43 drivers/gpu/drm/nouveau/nouveau_svm.h 				    struct drm_file *file)
file              162 drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_mmap(struct file *filp, struct vm_area_struct *vma)
file               20 drivers/gpu/drm/nouveau/nouveau_ttm.h int  nouveau_ttm_mmap(struct file *, struct vm_area_struct *);
file              906 drivers/gpu/drm/omapdrm/dss/dss.c static int dss_debug_open(struct inode *inode, struct file *file)
file              910 drivers/gpu/drm/omapdrm/dss/dss.c 	return single_open(file, entry->show_fn, entry->data);
file              494 drivers/gpu/drm/omapdrm/omap_drv.c static int dev_open(struct drm_device *dev, struct drm_file *file)
file              496 drivers/gpu/drm/omapdrm/omap_drv.c 	file->driver_priv = NULL;
file              498 drivers/gpu/drm/omapdrm/omap_drv.c 	DBG("open: dev=%p, file=%p", dev, file);
file              307 drivers/gpu/drm/omapdrm/omap_fb.c 		struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd)
file              317 drivers/gpu/drm/omapdrm/omap_fb.c 		bos[i] = drm_gem_object_lookup(file, mode_cmd->handles[i]);
file               23 drivers/gpu/drm/omapdrm/omap_fb.h 		struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd);
file              528 drivers/gpu/drm/omapdrm/omap_gem.c int omap_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              591 drivers/gpu/drm/omapdrm/omap_gem.c int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              604 drivers/gpu/drm/omapdrm/omap_gem.c 	return omap_gem_new_handle(dev, file, gsize,
file              617 drivers/gpu/drm/omapdrm/omap_gem.c int omap_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file              624 drivers/gpu/drm/omapdrm/omap_gem.c 	obj = drm_gem_object_lookup(file, handle);
file             1289 drivers/gpu/drm/omapdrm/omap_gem.c int omap_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file             1299 drivers/gpu/drm/omapdrm/omap_gem.c 	ret = drm_gem_handle_create(file, obj, handle);
file               22 drivers/gpu/drm/omapdrm/omap_gem.h struct file;
file               49 drivers/gpu/drm/omapdrm/omap_gem.h int omap_gem_new_handle(struct drm_device *dev, struct drm_file *file,
file               55 drivers/gpu/drm/omapdrm/omap_gem.h int omap_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file               57 drivers/gpu/drm/omapdrm/omap_gem.h int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file               61 drivers/gpu/drm/omapdrm/omap_gem.h int omap_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               27 drivers/gpu/drm/panfrost/panfrost_drv.c static int panfrost_ioctl_get_param(struct drm_device *ddev, void *data, struct drm_file *file)
file               79 drivers/gpu/drm/panfrost/panfrost_drv.c 		struct drm_file *file)
file               81 drivers/gpu/drm/panfrost/panfrost_drv.c 	struct panfrost_file_priv *priv = file->driver_priv;
file               95 drivers/gpu/drm/panfrost/panfrost_drv.c 	bo = panfrost_gem_create_with_handle(file, dev, args->size, args->flags,
file              240 drivers/gpu/drm/panfrost/panfrost_drv.c 		struct drm_file *file)
file              255 drivers/gpu/drm/panfrost/panfrost_drv.c 		sync_out = drm_syncobj_find(file, args->out_sync);
file              272 drivers/gpu/drm/panfrost/panfrost_drv.c 	job->file_priv = file->driver_priv;
file              274 drivers/gpu/drm/panfrost/panfrost_drv.c 	ret = panfrost_copy_in_sync(dev, file, args, job);
file              278 drivers/gpu/drm/panfrost/panfrost_drv.c 	ret = panfrost_lookup_bos(dev, file, args, job);
file              480 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_open(struct drm_device *dev, struct drm_file *file)
file              491 drivers/gpu/drm/panfrost/panfrost_drv.c 	file->driver_priv = panfrost_priv;
file              518 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_postclose(struct drm_device *dev, struct drm_file *file)
file              520 drivers/gpu/drm/panfrost/panfrost_drv.c 	struct panfrost_file_priv *panfrost_priv = file->driver_priv;
file              522 drivers/gpu/drm/panfrost/panfrost_drv.c 	panfrost_perfcnt_close(file);
file              357 drivers/gpu/drm/qxl/qxl_drv.h int qxl_mmap(struct file *filp, struct vm_area_struct *vma);
file              302 drivers/gpu/drm/qxl/qxl_ioctl.c 				 struct drm_file *file)
file              319 drivers/gpu/drm/qxl/qxl_ioctl.c 	gobj = drm_gem_object_lookup(file, update_area->handle);
file              392 drivers/gpu/drm/qxl/qxl_ioctl.c 				struct drm_file *file)
file              412 drivers/gpu/drm/qxl/qxl_ioctl.c 	ret = qxl_gem_object_create_with_handle(qdev, file,
file               66 drivers/gpu/drm/qxl/qxl_ttm.c int qxl_mmap(struct file *filp, struct vm_area_struct *vma)
file              154 drivers/gpu/drm/qxl/qxl_ttm.c static int qxl_verify_access(struct ttm_buffer_object *bo, struct file *filp)
file              179 drivers/gpu/drm/r128/r128_drv.h extern long r128_compat_ioctl(struct file *filp, unsigned int cmd,
file               63 drivers/gpu/drm/r128/r128_ioc32.c static int compat_r128_init(struct file *file, unsigned int cmd,
file               95 drivers/gpu/drm/r128/r128_ioc32.c 	return drm_ioctl_kernel(file, r128_cce_init, &init,
file              108 drivers/gpu/drm/r128/r128_ioc32.c static int compat_r128_depth(struct file *file, unsigned int cmd,
file              124 drivers/gpu/drm/r128/r128_ioc32.c 	return drm_ioctl_kernel(file, r128_cce_depth, &depth, DRM_AUTH);
file              131 drivers/gpu/drm/r128/r128_ioc32.c static int compat_r128_stipple(struct file *file, unsigned int cmd,
file              142 drivers/gpu/drm/r128/r128_ioc32.c 	return drm_ioctl_kernel(file, r128_cce_stipple, &stipple, DRM_AUTH);
file              150 drivers/gpu/drm/r128/r128_ioc32.c static int compat_r128_getparam(struct file *file, unsigned int cmd,
file              162 drivers/gpu/drm/r128/r128_ioc32.c 	return drm_ioctl_kernel(file, r128_getparam, &getparam, DRM_AUTH);
file              181 drivers/gpu/drm/r128/r128_ioc32.c long r128_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              191 drivers/gpu/drm/radeon/mkregtable.c 	FILE *file;
file              209 drivers/gpu/drm/radeon/mkregtable.c 	file = fopen(filename, "r");
file              210 drivers/gpu/drm/radeon/mkregtable.c 	if (file == NULL) {
file              214 drivers/gpu/drm/radeon/mkregtable.c 	fseek(file, 0, SEEK_END);
file              215 drivers/gpu/drm/radeon/mkregtable.c 	end = ftell(file);
file              216 drivers/gpu/drm/radeon/mkregtable.c 	fseek(file, 0, SEEK_SET);
file              219 drivers/gpu/drm/radeon/mkregtable.c 	if (fgets(buf, 1024, file) == NULL) {
file              220 drivers/gpu/drm/radeon/mkregtable.c 		fclose(file);
file              231 drivers/gpu/drm/radeon/mkregtable.c 		if (fgets(buf, 1024, file) == NULL) {
file              232 drivers/gpu/drm/radeon/mkregtable.c 			fclose(file);
file              236 drivers/gpu/drm/radeon/mkregtable.c 		if (ftell(file) == end)
file              245 drivers/gpu/drm/radeon/mkregtable.c 				fclose(file);
file              259 drivers/gpu/drm/radeon/mkregtable.c 	fclose(file);
file              144 drivers/gpu/drm/radeon/radeon_drv.c int radeon_mmap(struct file *filp, struct vm_area_struct *vma);
file              550 drivers/gpu/drm/radeon/radeon_drv.c long radeon_drm_ioctl(struct file *filp,
file              569 drivers/gpu/drm/radeon/radeon_drv.c static long radeon_kms_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              118 drivers/gpu/drm/radeon/radeon_drv.h long radeon_drm_ioctl(struct file *filp,
file              181 drivers/gpu/drm/radeon/radeon_ttm.c static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)
file              903 drivers/gpu/drm/radeon/radeon_ttm.c int radeon_mmap(struct file *filp, struct vm_area_struct *vma)
file              953 drivers/gpu/drm/radeon/radeon_ttm.c static int radeon_ttm_vram_open(struct inode *inode, struct file *filep)
file              961 drivers/gpu/drm/radeon/radeon_ttm.c static ssize_t radeon_ttm_vram_read(struct file *f, char __user *buf,
file             1005 drivers/gpu/drm/radeon/radeon_ttm.c static int radeon_ttm_gtt_open(struct inode *inode, struct file *filep)
file             1013 drivers/gpu/drm/radeon/radeon_ttm.c static ssize_t radeon_ttm_gtt_read(struct file *f, char __user *buf,
file              285 drivers/gpu/drm/rcar-du/rcar_du_kms.c int rcar_du_dumb_create(struct drm_file *file, struct drm_device *dev,
file              303 drivers/gpu/drm/rcar-du/rcar_du_kms.c 	return drm_gem_cma_dumb_create_internal(file, dev, args);
file               33 drivers/gpu/drm/rcar-du/rcar_du_kms.h int rcar_du_dumb_create(struct drm_file *file, struct drm_device *dev,
file              271 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int rockchip_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file               38 drivers/gpu/drm/rockchip/rockchip_drm_gem.h int rockchip_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file               79 drivers/gpu/drm/sis/sis_drv.c static int sis_driver_open(struct drm_device *dev, struct drm_file *file)
file               88 drivers/gpu/drm/sis/sis_drv.c 	file->driver_priv = file_priv;
file               95 drivers/gpu/drm/sis/sis_drv.c static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file)
file               97 drivers/gpu/drm/sis/sis_drv.c 	struct sis_file_private *file_priv = file->driver_priv;
file               85 drivers/gpu/drm/sis/sis_mm.c static int sis_drm_alloc(struct drm_device *dev, struct drm_file *file,
file               92 drivers/gpu/drm/sis/sis_mm.c 	struct sis_file_private *file_priv = file->driver_priv;
file              315 drivers/gpu/drm/sis/sis_mm.c 				struct drm_file *file)
file              317 drivers/gpu/drm/sis/sis_mm.c 	struct sis_file_private *file_priv = file->driver_priv;
file              320 drivers/gpu/drm/sis/sis_mm.c 	if (!(dev->master && file->master->lock.hw_lock))
file              323 drivers/gpu/drm/sis/sis_mm.c 	drm_legacy_idlelock_take(&file->master->lock);
file              328 drivers/gpu/drm/sis/sis_mm.c 		drm_legacy_idlelock_release(&file->master->lock);
file              349 drivers/gpu/drm/sis/sis_mm.c 	drm_legacy_idlelock_release(&file->master->lock);
file               38 drivers/gpu/drm/stm/drv.c static int stm_gem_cma_dumb_create(struct drm_file *file,
file               51 drivers/gpu/drm/stm/drv.c 	return drm_gem_cma_dumb_create_internal(file, dev, args);
file              273 drivers/gpu/drm/tegra/drm.c host1x_bo_lookup(struct drm_file *file, u32 handle)
file              278 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, handle);
file              289 drivers/gpu/drm/tegra/drm.c 				       struct drm_file *file)
file              314 drivers/gpu/drm/tegra/drm.c 	dest->cmdbuf.bo = host1x_bo_lookup(file, cmdbuf);
file              318 drivers/gpu/drm/tegra/drm.c 	dest->target.bo = host1x_bo_lookup(file, target);
file              327 drivers/gpu/drm/tegra/drm.c 		     struct drm_file *file)
file              400 drivers/gpu/drm/tegra/drm.c 		bo = host1x_bo_lookup(file, cmdbuf.handle);
file              432 drivers/gpu/drm/tegra/drm.c 						  file);
file              507 drivers/gpu/drm/tegra/drm.c 			    struct drm_file *file)
file              512 drivers/gpu/drm/tegra/drm.c 	bo = tegra_bo_create_with_handle(file, drm, args->size, args->flags,
file              521 drivers/gpu/drm/tegra/drm.c 			  struct drm_file *file)
file              527 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, args->handle);
file              541 drivers/gpu/drm/tegra/drm.c 			     struct drm_file *file)
file              556 drivers/gpu/drm/tegra/drm.c 			     struct drm_file *file)
file              570 drivers/gpu/drm/tegra/drm.c 			     struct drm_file *file)
file              608 drivers/gpu/drm/tegra/drm.c 			      struct drm_file *file)
file              610 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file              641 drivers/gpu/drm/tegra/drm.c 			       struct drm_file *file)
file              643 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file              665 drivers/gpu/drm/tegra/drm.c 			    struct drm_file *file)
file              667 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file              695 drivers/gpu/drm/tegra/drm.c 			struct drm_file *file)
file              697 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file              710 drivers/gpu/drm/tegra/drm.c 	err = context->client->ops->submit(context, args, drm, file);
file              718 drivers/gpu/drm/tegra/drm.c 				 struct drm_file *file)
file              720 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file              756 drivers/gpu/drm/tegra/drm.c 				struct drm_file *file)
file              794 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, args->handle);
file              809 drivers/gpu/drm/tegra/drm.c 				struct drm_file *file)
file              816 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, args->handle);
file              849 drivers/gpu/drm/tegra/drm.c 			       struct drm_file *file)
file              858 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, args->handle);
file              874 drivers/gpu/drm/tegra/drm.c 			       struct drm_file *file)
file              880 drivers/gpu/drm/tegra/drm.c 	gem = drm_gem_object_lookup(file, args->handle);
file              950 drivers/gpu/drm/tegra/drm.c static void tegra_drm_postclose(struct drm_device *drm, struct drm_file *file)
file              952 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_file *fpriv = file->driver_priv;
file               77 drivers/gpu/drm/tegra/drm.h 		      struct drm_file *file);
file               82 drivers/gpu/drm/tegra/drm.h 		     struct drm_file *file);
file              177 drivers/gpu/drm/tegra/drm.h 					struct drm_file *file,
file              130 drivers/gpu/drm/tegra/fb.c 					struct drm_file *file,
file              145 drivers/gpu/drm/tegra/fb.c 		gem = drm_gem_object_lookup(file, cmd->handles[i]);
file              308 drivers/gpu/drm/tegra/gem.c struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
file              321 drivers/gpu/drm/tegra/gem.c 	err = drm_gem_handle_create(file, &bo->gem, handle);
file              407 drivers/gpu/drm/tegra/gem.c int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
file              417 drivers/gpu/drm/tegra/gem.c 	bo = tegra_bo_create_with_handle(file, drm, args->size, 0,
file              484 drivers/gpu/drm/tegra/gem.c int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma)
file              489 drivers/gpu/drm/tegra/gem.c 	err = drm_gem_mmap(file, vma);
file               58 drivers/gpu/drm/tegra/gem.h struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
file               64 drivers/gpu/drm/tegra/gem.h int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
file               70 drivers/gpu/drm/tegra/gem.h int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
file              427 drivers/gpu/drm/ttm/ttm_bo_vm.c int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma,
file              350 drivers/gpu/drm/ttm/ttm_tt.c 	struct file *swap_storage;
file              389 drivers/gpu/drm/ttm/ttm_tt.c int ttm_tt_swapout(struct ttm_tt *ttm, struct file *persistent_swap_storage)
file              392 drivers/gpu/drm/ttm/ttm_tt.c 	struct file *swap_storage;
file              118 drivers/gpu/drm/udl/udl_drv.h 		      struct drm_file *file,
file              143 drivers/gpu/drm/udl/udl_drv.h int udl_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file              278 drivers/gpu/drm/udl/udl_fb.c 				      struct drm_file *file,
file              497 drivers/gpu/drm/udl/udl_fb.c 		   struct drm_file *file,
file              505 drivers/gpu/drm/udl/udl_fb.c 	obj = drm_gem_object_lookup(file, mode_cmd->handles[0]);
file               33 drivers/gpu/drm/udl/udl_gem.c udl_gem_create(struct drm_file *file,
file               48 drivers/gpu/drm/udl/udl_gem.c 	ret = drm_gem_handle_create(file, &obj->base, &handle);
file               77 drivers/gpu/drm/udl/udl_gem.c int udl_dumb_create(struct drm_file *file,
file               83 drivers/gpu/drm/udl/udl_gem.c 	return udl_gem_create(file, dev,
file               87 drivers/gpu/drm/udl/udl_gem.c int udl_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file              201 drivers/gpu/drm/udl/udl_gem.c int udl_gem_mmap(struct drm_file *file, struct drm_device *dev,
file              210 drivers/gpu/drm/udl/udl_gem.c 	obj = drm_gem_object_lookup(file, handle);
file              136 drivers/gpu/drm/v3d/v3d_drv.c v3d_open(struct drm_device *dev, struct drm_file *file)
file              154 drivers/gpu/drm/v3d/v3d_drv.c 	file->driver_priv = v3d_priv;
file              160 drivers/gpu/drm/v3d/v3d_drv.c v3d_postclose(struct drm_device *dev, struct drm_file *file)
file              162 drivers/gpu/drm/v3d/v3d_drv.c 	struct v3d_file_priv *v3d_priv = file->driver_priv;
file              703 drivers/gpu/drm/vc4/vc4_bo.c int vc4_mmap(struct file *filp, struct vm_area_struct *vma)
file              118 drivers/gpu/drm/vc4/vc4_drv.c static int vc4_open(struct drm_device *dev, struct drm_file *file)
file              127 drivers/gpu/drm/vc4/vc4_drv.c 	file->driver_priv = vc4file;
file              131 drivers/gpu/drm/vc4/vc4_drv.c static void vc4_close(struct drm_device *dev, struct drm_file *file)
file              134 drivers/gpu/drm/vc4/vc4_drv.c 	struct vc4_file *vc4file = file->driver_priv;
file              731 drivers/gpu/drm/vc4/vc4_drv.h int vc4_mmap(struct file *filp, struct vm_area_struct *vma);
file              131 drivers/gpu/drm/vgem/vgem_drv.c static int vgem_open(struct drm_device *dev, struct drm_file *file)
file              140 drivers/gpu/drm/vgem/vgem_drv.c 	file->driver_priv = vfile;
file              151 drivers/gpu/drm/vgem/vgem_drv.c static void vgem_postclose(struct drm_device *dev, struct drm_file *file)
file              153 drivers/gpu/drm/vgem/vgem_drv.c 	struct vgem_file *vfile = file->driver_priv;
file              187 drivers/gpu/drm/vgem/vgem_drv.c 					      struct drm_file *file,
file              198 drivers/gpu/drm/vgem/vgem_drv.c 	ret = drm_gem_handle_create(file, &obj->base, handle);
file              207 drivers/gpu/drm/vgem/vgem_drv.c static int vgem_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              218 drivers/gpu/drm/vgem/vgem_drv.c 	gem_object = vgem_gem_create(dev, file, &args->handle, size);
file              232 drivers/gpu/drm/vgem/vgem_drv.c static int vgem_gem_dumb_map(struct drm_file *file, struct drm_device *dev,
file              238 drivers/gpu/drm/vgem/vgem_drv.c 	obj = drm_gem_object_lookup(file, handle);
file              263 drivers/gpu/drm/vgem/vgem_drv.c static int vgem_mmap(struct file *filp, struct vm_area_struct *vma)
file               53 drivers/gpu/drm/vgem/vgem_drv.h int vgem_fence_open(struct vgem_file *file);
file               56 drivers/gpu/drm/vgem/vgem_drv.h 			    struct drm_file *file);
file               59 drivers/gpu/drm/vgem/vgem_drv.h 			    struct drm_file *file);
file               60 drivers/gpu/drm/vgem/vgem_drv.h void vgem_fence_close(struct vgem_file *file);
file              127 drivers/gpu/drm/vgem/vgem_fence.c 			    struct drm_file *file)
file              130 drivers/gpu/drm/vgem/vgem_fence.c 	struct vgem_file *vfile = file->driver_priv;
file              142 drivers/gpu/drm/vgem/vgem_fence.c 	obj = drm_gem_object_lookup(file, arg->handle);
file              207 drivers/gpu/drm/vgem/vgem_fence.c 			    struct drm_file *file)
file              209 drivers/gpu/drm/vgem/vgem_fence.c 	struct vgem_file *vfile = file->driver_priv;
file               36 drivers/gpu/drm/via/via_drv.c static int via_driver_open(struct drm_device *dev, struct drm_file *file)
file               45 drivers/gpu/drm/via/via_drv.c 	file->driver_priv = file_priv;
file               52 drivers/gpu/drm/via/via_drv.c static void via_driver_postclose(struct drm_device *dev, struct drm_file *file)
file               54 drivers/gpu/drm/via/via_drv.c 	struct via_file_private *file_priv = file->driver_priv;
file              116 drivers/gpu/drm/via/via_mm.c 		  struct drm_file *file)
file              122 drivers/gpu/drm/via/via_mm.c 	struct via_file_private *file_priv = file->driver_priv;
file              211 drivers/gpu/drm/via/via_mm.c 				struct drm_file *file)
file              213 drivers/gpu/drm/via/via_mm.c 	struct via_file_private *file_priv = file->driver_priv;
file              216 drivers/gpu/drm/via/via_mm.c 	if (!(dev->master && file->master->lock.hw_lock))
file              219 drivers/gpu/drm/via/via_mm.c 	drm_legacy_idlelock_take(&file->master->lock);
file              224 drivers/gpu/drm/via/via_mm.c 		drm_legacy_idlelock_release(&file->master->lock);
file              239 drivers/gpu/drm/via/via_mm.c 	drm_legacy_idlelock_release(&file->master->lock);
file              227 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_driver_open(struct drm_device *dev, struct drm_file *file);
file              228 drivers/gpu/drm/virtio/virtgpu_drv.h void virtio_gpu_driver_postclose(struct drm_device *dev, struct drm_file *file);
file              234 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_gem_create(struct drm_file *file,
file              240 drivers/gpu/drm/virtio/virtgpu_drv.h 			       struct drm_file *file);
file              242 drivers/gpu/drm/virtio/virtgpu_drv.h 				 struct drm_file *file);
file              345 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_mmap(struct file *filp, struct vm_area_struct *vma);
file               55 drivers/gpu/drm/virtio/virtgpu_gem.c int virtio_gpu_gem_create(struct drm_file *file,
file               69 drivers/gpu/drm/virtio/virtgpu_gem.c 	ret = drm_gem_handle_create(file, &obj->gem_base, &handle);
file              135 drivers/gpu/drm/virtio/virtgpu_gem.c 			       struct drm_file *file)
file              138 drivers/gpu/drm/virtio/virtgpu_gem.c 	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
file              156 drivers/gpu/drm/virtio/virtgpu_gem.c 				 struct drm_file *file)
file              159 drivers/gpu/drm/virtio/virtgpu_gem.c 	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
file              221 drivers/gpu/drm/virtio/virtgpu_ioctl.c 		fd_install(out_fence_fd, sync_file->file);
file              358 drivers/gpu/drm/virtio/virtgpu_ioctl.c 					       struct drm_file *file)
file              361 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
file              374 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	gobj = drm_gem_object_lookup(file, args->bo_handle);
file              411 drivers/gpu/drm/virtio/virtgpu_ioctl.c 					     struct drm_file *file)
file              414 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
file              424 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	gobj = drm_gem_object_lookup(file, args->bo_handle);
file              466 drivers/gpu/drm/virtio/virtgpu_ioctl.c 			    struct drm_file *file)
file              474 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	gobj = drm_gem_object_lookup(file, args->handle);
file              489 drivers/gpu/drm/virtio/virtgpu_ioctl.c 				void *data, struct drm_file *file)
file              252 drivers/gpu/drm/virtio/virtgpu_kms.c int virtio_gpu_driver_open(struct drm_device *dev, struct drm_file *file)
file              276 drivers/gpu/drm/virtio/virtgpu_kms.c 	file->driver_priv = vfpriv;
file              280 drivers/gpu/drm/virtio/virtgpu_kms.c void virtio_gpu_driver_postclose(struct drm_device *dev, struct drm_file *file)
file              288 drivers/gpu/drm/virtio/virtgpu_kms.c 	vfpriv = file->driver_priv;
file              292 drivers/gpu/drm/virtio/virtgpu_kms.c 	file->driver_priv = NULL;
file               52 drivers/gpu/drm/virtio/virtgpu_ttm.c int virtio_gpu_mmap(struct file *filp, struct vm_area_struct *vma)
file              154 drivers/gpu/drm/virtio/virtgpu_ttm.c 				    struct file *filp)
file              126 drivers/gpu/drm/vkms/vkms_drv.h int vkms_dumb_create(struct drm_file *file, struct drm_device *dev,
file               99 drivers/gpu/drm/vkms/vkms_gem.c 					      struct drm_file *file,
file              106 drivers/gpu/drm/vkms/vkms_gem.c 	if (!file || !dev || !handle)
file              113 drivers/gpu/drm/vkms/vkms_gem.c 	ret = drm_gem_handle_create(file, &obj->gem, handle);
file              120 drivers/gpu/drm/vkms/vkms_gem.c int vkms_dumb_create(struct drm_file *file, struct drm_device *dev,
file              126 drivers/gpu/drm/vkms/vkms_gem.c 	if (!args || !dev || !file)
file              135 drivers/gpu/drm/vkms/vkms_gem.c 	gem_obj = vkms_gem_create(dev, file, &args->handle, size);
file              548 drivers/gpu/drm/vmwgfx/ttm_object.c 		ttm_round_pot(sizeof(struct file));
file              584 drivers/gpu/drm/vmwgfx/ttm_object.c 	return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L;
file             1041 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static long vmw_generic_ioctl(struct file *filp, unsigned int cmd,
file             1043 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c 			      long (*ioctl_func)(struct file *, unsigned int,
file             1084 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static long vmw_unlocked_ioctl(struct file *filp, unsigned int cmd,
file             1091 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static long vmw_compat_ioctl(struct file *filp, unsigned int cmd,
file              869 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern __poll_t vmw_fops_poll(struct file *filp,
file              871 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern ssize_t vmw_fops_read(struct file *filp, char __user *buffer,
file              913 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern int vmw_mmap(struct file *filp, struct vm_area_struct *vma);
file             3455 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			fput(sync_file->file);
file             3811 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			fd_install(out_fence_fd, sync_file->file);
file              418 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c __poll_t vmw_fops_poll(struct file *filp, struct poll_table_struct *wait)
file              440 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c ssize_t vmw_fops_read(struct file *filp, char __user *buffer,
file              789 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c static int vmw_verify_access(struct ttm_buffer_object *bo, struct file *filp)
file               30 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c int vmw_mmap(struct file *filp, struct vm_area_struct *vma)
file              260 drivers/gpu/drm/xen/xen_drm_front_gem.c int xen_drm_front_gem_mmap(struct file *filp, struct vm_area_struct *vma)
file               17 drivers/gpu/drm/xen/xen_drm_front_gem.h struct file;
file               35 drivers/gpu/drm/xen/xen_drm_front_gem.h int xen_drm_front_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file              137 drivers/gpu/host1x/debug.c static int host1x_debug_open_all(struct inode *inode, struct file *file)
file              139 drivers/gpu/host1x/debug.c 	return single_open(file, host1x_debug_show_all, inode->i_private);
file              149 drivers/gpu/host1x/debug.c static int host1x_debug_open(struct inode *inode, struct file *file)
file              151 drivers/gpu/host1x/debug.c 	return single_open(file, host1x_debug_show, inode->i_private);
file              667 drivers/gpu/vga/vga_switcheroo.c static int vga_switcheroo_debugfs_open(struct inode *inode, struct file *file)
file              669 drivers/gpu/vga/vga_switcheroo.c 	return single_open(file, vga_switcheroo_show, NULL);
file              775 drivers/gpu/vga/vga_switcheroo.c vga_switcheroo_debugfs_write(struct file *filp, const char __user *ubuf,
file             1003 drivers/gpu/vga/vgaarb.c static ssize_t vga_arb_read(struct file *file, char __user *buf,
file             1006 drivers/gpu/vga/vgaarb.c 	struct vga_arb_private *priv = file->private_data;
file             1070 drivers/gpu/vga/vgaarb.c static ssize_t vga_arb_write(struct file *file, const char __user *buf,
file             1073 drivers/gpu/vga/vgaarb.c 	struct vga_arb_private *priv = file->private_data;
file             1318 drivers/gpu/vga/vgaarb.c static __poll_t vga_arb_fpoll(struct file *file, poll_table *wait)
file             1322 drivers/gpu/vga/vgaarb.c 	poll_wait(file, &vga_wait_queue, wait);
file             1326 drivers/gpu/vga/vgaarb.c static int vga_arb_open(struct inode *inode, struct file *file)
file             1337 drivers/gpu/vga/vgaarb.c 	file->private_data = priv;
file             1353 drivers/gpu/vga/vgaarb.c static int vga_arb_release(struct inode *inode, struct file *file)
file             1355 drivers/gpu/vga/vgaarb.c 	struct vga_arb_private *priv = file->private_data;
file             1117 drivers/greybus/es2.c static ssize_t apb_log_read(struct file *f, char __user *buf,
file             1171 drivers/greybus/es2.c static ssize_t apb_log_enable_read(struct file *f, char __user *buf,
file             1182 drivers/greybus/es2.c static ssize_t apb_log_enable_write(struct file *f, const char __user *buf,
file              675 drivers/greybus/svc.c static ssize_t pwr_debugfs_voltage_read(struct file *file, char __user *buf,
file              679 drivers/greybus/svc.c 		file_inode(file)->i_private;
file              699 drivers/greybus/svc.c static ssize_t pwr_debugfs_current_read(struct file *file, char __user *buf,
file              703 drivers/greybus/svc.c 		file_inode(file)->i_private;
file              723 drivers/greybus/svc.c static ssize_t pwr_debugfs_power_read(struct file *file, char __user *buf,
file              727 drivers/greybus/svc.c 		file_inode(file)->i_private;
file             1872 drivers/hid/hid-core.c read_report_descriptor(struct file *filp, struct kobject *kobj,
file             1063 drivers/hid/hid-debug.c static int hid_debug_events_open(struct inode *inode, struct file *file)
file             1080 drivers/hid/hid-debug.c 	file->private_data = list;
file             1091 drivers/hid/hid-debug.c static ssize_t hid_debug_events_read(struct file *file, char __user *buffer,
file             1094 drivers/hid/hid-debug.c 	struct hid_debug_list *list = file->private_data;
file             1104 drivers/hid/hid-debug.c 			if (file->f_flags & O_NONBLOCK) {
file             1151 drivers/hid/hid-debug.c static __poll_t hid_debug_events_poll(struct file *file, poll_table *wait)
file             1153 drivers/hid/hid-debug.c 	struct hid_debug_list *list = file->private_data;
file             1155 drivers/hid/hid-debug.c 	poll_wait(file, &list->hdev->debug_wait, wait);
file             1163 drivers/hid/hid-debug.c static int hid_debug_events_release(struct inode *inode, struct file *file)
file             1165 drivers/hid/hid-debug.c 	struct hid_debug_list *list = file->private_data;
file               32 drivers/hid/hid-picolcd_debugfs.c static int picolcd_debug_reset_open(struct inode *inode, struct file *f)
file               37 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_reset_write(struct file *f, const char __user *user_buf,
file               72 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_eeprom_read(struct file *f, char __user *u,
file              111 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_eeprom_write(struct file *f, const char __user *u,
file              215 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_flash_read(struct file *f, char __user *u,
file              298 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_flash_write(struct file *f, const char __user *u,
file              187 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_write(struct file *fp,
file              206 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_read(struct file *fp,
file              228 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_write_button(struct file *fp,
file              238 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_read_info(struct file *fp,
file              130 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
file              153 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
file               40 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
file               43 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
file               48 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \
file               57 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \
file              117 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj,
file              139 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj,
file              160 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
file              169 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
file              266 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_read_settings(struct file *fp, struct kobject *kobj,
file              290 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_write_settings(struct file *fp, struct kobject *kobj,
file              327 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_read_profilex(struct file *fp,
file              347 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_write_profilex(struct file *fp,
file               83 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj,
file              108 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj,
file              132 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \
file              141 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \
file              187 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_profilex_settings(struct file *fp,
file              205 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_profilex_buttons(struct file *fp,
file              126 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj,
file              151 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj,
file              175 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \
file              184 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \
file              217 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_profilex_settings(struct file *fp,
file              235 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_profilex_buttons(struct file *fp,
file               26 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj,
file               48 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj,
file               68 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \
file               77 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \
file               86 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj,
file              111 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj,
file              134 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \
file              143 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \
file              185 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_profilex_settings(struct file *fp,
file              203 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_profilex_buttons(struct file *fp,
file              240 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write_settings(struct file *fp,
file               73 drivers/hid/hid-roccat.c static ssize_t roccat_read(struct file *file, char __user *buffer,
file               76 drivers/hid/hid-roccat.c 	struct roccat_reader *reader = file->private_data;
file               91 drivers/hid/hid-roccat.c 			if (file->f_flags & O_NONBLOCK) {
file              137 drivers/hid/hid-roccat.c static __poll_t roccat_poll(struct file *file, poll_table *wait)
file              139 drivers/hid/hid-roccat.c 	struct roccat_reader *reader = file->private_data;
file              140 drivers/hid/hid-roccat.c 	poll_wait(file, &reader->device->wait, wait);
file              148 drivers/hid/hid-roccat.c static int roccat_open(struct inode *inode, struct file *file)
file              192 drivers/hid/hid-roccat.c 	file->private_data = reader;
file              203 drivers/hid/hid-roccat.c static int roccat_release(struct inode *inode, struct file *file)
file              206 drivers/hid/hid-roccat.c 	struct roccat_reader *reader = file->private_data;
file              376 drivers/hid/hid-roccat.c static long roccat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              378 drivers/hid/hid-roccat.c 	struct inode *inode = file_inode(file);
file              635 drivers/hid/hid-sensor-custom.c static ssize_t hid_sensor_custom_read(struct file *file, char __user *buf,
file              642 drivers/hid/hid-sensor-custom.c 	sensor_inst = container_of(file->private_data,
file              650 drivers/hid/hid-sensor-custom.c 			if (file->f_flags & O_NONBLOCK)
file              668 drivers/hid/hid-sensor-custom.c static int hid_sensor_custom_release(struct inode *inode, struct file *file)
file              672 drivers/hid/hid-sensor-custom.c 	sensor_inst = container_of(file->private_data,
file              680 drivers/hid/hid-sensor-custom.c static int hid_sensor_custom_open(struct inode *inode, struct file *file)
file              684 drivers/hid/hid-sensor-custom.c 	sensor_inst = container_of(file->private_data,
file              690 drivers/hid/hid-sensor-custom.c 	return stream_open(inode, file);
file              693 drivers/hid/hid-sensor-custom.c static __poll_t hid_sensor_custom_poll(struct file *file,
file              699 drivers/hid/hid-sensor-custom.c 	sensor_inst = container_of(file->private_data,
file              702 drivers/hid/hid-sensor-custom.c 	poll_wait(file, &sensor_inst->wait, wait);
file               23 drivers/hid/hid-wiimote-debug.c static ssize_t wiidebug_eeprom_read(struct file *f, char __user *u, size_t s,
file              119 drivers/hid/hid-wiimote-debug.c static int wiidebug_drm_open(struct inode *i, struct file *f)
file              124 drivers/hid/hid-wiimote-debug.c static ssize_t wiidebug_drm_write(struct file *f, const char __user *u,
file               39 drivers/hid/hidraw.c static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
file               41 drivers/hid/hidraw.c 	struct hidraw_list *list = file->private_data;
file               61 drivers/hid/hidraw.c 				if (file->f_flags & O_NONBLOCK) {
file              103 drivers/hid/hidraw.c static ssize_t hidraw_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type)
file              105 drivers/hid/hidraw.c 	unsigned int minor = iminor(file_inode(file));
file              160 drivers/hid/hidraw.c static ssize_t hidraw_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
file              164 drivers/hid/hidraw.c 	ret = hidraw_send_report(file, buffer, count, HID_OUTPUT_REPORT);
file              177 drivers/hid/hidraw.c static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type)
file              179 drivers/hid/hidraw.c 	unsigned int minor = iminor(file_inode(file));
file              249 drivers/hid/hidraw.c static __poll_t hidraw_poll(struct file *file, poll_table *wait)
file              251 drivers/hid/hidraw.c 	struct hidraw_list *list = file->private_data;
file              254 drivers/hid/hidraw.c 	poll_wait(file, &list->hidraw->wait, wait);
file              262 drivers/hid/hidraw.c static int hidraw_open(struct inode *inode, struct file *file)
file              302 drivers/hid/hidraw.c 	file->private_data = list;
file              312 drivers/hid/hidraw.c static int hidraw_fasync(int fd, struct file *file, int on)
file              314 drivers/hid/hidraw.c 	struct hidraw_list *list = file->private_data;
file              316 drivers/hid/hidraw.c 	return fasync_helper(fd, file, on, &list->fasync);
file              344 drivers/hid/hidraw.c static int hidraw_release(struct inode * inode, struct file * file)
file              347 drivers/hid/hidraw.c 	struct hidraw_list *list = file->private_data;
file              363 drivers/hid/hidraw.c static long hidraw_ioctl(struct file *file, unsigned int cmd,
file              366 drivers/hid/hidraw.c 	struct inode *inode = file_inode(file);
file              422 drivers/hid/hidraw.c 					ret = hidraw_send_report(file, user_arg, len, HID_FEATURE_REPORT);
file              427 drivers/hid/hidraw.c 					ret = hidraw_get_report(file, user_arg, len, HID_FEATURE_REPORT);
file              615 drivers/hid/uhid.c static int uhid_char_open(struct inode *inode, struct file *file)
file              631 drivers/hid/uhid.c 	file->private_data = uhid;
file              632 drivers/hid/uhid.c 	stream_open(inode, file);
file              637 drivers/hid/uhid.c static int uhid_char_release(struct inode *inode, struct file *file)
file              639 drivers/hid/uhid.c 	struct uhid_device *uhid = file->private_data;
file              652 drivers/hid/uhid.c static ssize_t uhid_char_read(struct file *file, char __user *buffer,
file              655 drivers/hid/uhid.c 	struct uhid_device *uhid = file->private_data;
file              665 drivers/hid/uhid.c 	if (file->f_flags & O_NONBLOCK) {
file              700 drivers/hid/uhid.c static ssize_t uhid_char_write(struct file *file, const char __user *buffer,
file              703 drivers/hid/uhid.c 	struct uhid_device *uhid = file->private_data;
file              729 drivers/hid/uhid.c 		if (file->f_cred != current_cred() || uaccess_kernel()) {
file              766 drivers/hid/uhid.c static __poll_t uhid_char_poll(struct file *file, poll_table *wait)
file              768 drivers/hid/uhid.c 	struct uhid_device *uhid = file->private_data;
file              771 drivers/hid/uhid.c 	poll_wait(file, &uhid->waitq, wait);
file              205 drivers/hid/usbhid/hiddev.c static int hiddev_fasync(int fd, struct file *file, int on)
file              207 drivers/hid/usbhid/hiddev.c 	struct hiddev_list *list = file->private_data;
file              209 drivers/hid/usbhid/hiddev.c 	return fasync_helper(fd, file, on, &list->fasync);
file              216 drivers/hid/usbhid/hiddev.c static int hiddev_release(struct inode * inode, struct file * file)
file              218 drivers/hid/usbhid/hiddev.c 	struct hiddev_list *list = file->private_data;
file              244 drivers/hid/usbhid/hiddev.c static int __hiddev_open(struct hiddev *hiddev, struct file *file)
file              272 drivers/hid/usbhid/hiddev.c 	file->private_data = list;
file              287 drivers/hid/usbhid/hiddev.c static int hiddev_open(struct inode *inode, struct file *file)
file              302 drivers/hid/usbhid/hiddev.c 	res = hiddev->exist ? __hiddev_open(hiddev, file) : -ENODEV;
file              311 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_write(struct file * file, const char __user * buffer, size_t count, loff_t *ppos)
file              319 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos)
file              322 drivers/hid/usbhid/hiddev.c 	struct hiddev_list *list = file->private_data;
file              350 drivers/hid/usbhid/hiddev.c 				if (file->f_flags & O_NONBLOCK) {
file              412 drivers/hid/usbhid/hiddev.c static __poll_t hiddev_poll(struct file *file, poll_table *wait)
file              414 drivers/hid/usbhid/hiddev.c 	struct hiddev_list *list = file->private_data;
file              416 drivers/hid/usbhid/hiddev.c 	poll_wait(file, &list->hiddev->wait, wait);
file              590 drivers/hid/usbhid/hiddev.c static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              592 drivers/hid/usbhid/hiddev.c 	struct hiddev_list *list = file->private_data;
file              845 drivers/hid/usbhid/hiddev.c static long hiddev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              847 drivers/hid/usbhid/hiddev.c 	return hiddev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             1104 drivers/hsi/clients/cmt_speech.c static int cs_char_fasync(int fd, struct file *file, int on)
file             1106 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file             1108 drivers/hsi/clients/cmt_speech.c 	if (fasync_helper(fd, file, on, &csdata->async_queue) < 0)
file             1114 drivers/hsi/clients/cmt_speech.c static __poll_t cs_char_poll(struct file *file, poll_table *wait)
file             1116 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file             1119 drivers/hsi/clients/cmt_speech.c 	poll_wait(file, &cs_char_data.wait, wait);
file             1130 drivers/hsi/clients/cmt_speech.c static ssize_t cs_char_read(struct file *file, char __user *buf, size_t count,
file             1133 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file             1156 drivers/hsi/clients/cmt_speech.c 		if (file->f_flags & O_NONBLOCK) {
file             1177 drivers/hsi/clients/cmt_speech.c static ssize_t cs_char_write(struct file *file, const char __user *buf,
file             1180 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file             1200 drivers/hsi/clients/cmt_speech.c static long cs_char_ioctl(struct file *file, unsigned int cmd,
file             1203 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file             1260 drivers/hsi/clients/cmt_speech.c static int cs_char_mmap(struct file *file, struct vm_area_struct *vma)
file             1270 drivers/hsi/clients/cmt_speech.c 	vma->vm_private_data = file->private_data;
file             1275 drivers/hsi/clients/cmt_speech.c static int cs_char_open(struct inode *unused, struct file *file)
file             1306 drivers/hsi/clients/cmt_speech.c 	file->private_data = &cs_char_data;
file             1335 drivers/hsi/clients/cmt_speech.c static int cs_char_release(struct inode *unused, struct file *file)
file             1337 drivers/hsi/clients/cmt_speech.c 	struct cs_char *csdata = file->private_data;
file              412 drivers/hsi/clients/hsi_char.c static ssize_t hsc_read(struct file *file, char __user *buf, size_t len,
file              415 drivers/hsi/clients/hsi_char.c 	struct hsc_channel *channel = file->private_data;
file              471 drivers/hsi/clients/hsi_char.c static ssize_t hsc_write(struct file *file, const char __user *buf, size_t len,
file              474 drivers/hsi/clients/hsi_char.c 	struct hsc_channel *channel = file->private_data;
file              525 drivers/hsi/clients/hsi_char.c static long hsc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              527 drivers/hsi/clients/hsi_char.c 	struct hsc_channel *channel = file->private_data;
file              589 drivers/hsi/clients/hsi_char.c static int hsc_open(struct inode *inode, struct file *file)
file              623 drivers/hsi/clients/hsi_char.c 	file->private_data = channel;
file              633 drivers/hsi/clients/hsi_char.c static int hsc_release(struct inode *inode __maybe_unused, struct file *file)
file              635 drivers/hsi/clients/hsi_char.c 	struct hsc_channel *channel = file->private_data;
file              639 drivers/hsi/clients/hsi_char.c 	file->private_data = NULL;
file               27 drivers/hv/hv_utils_transport.c static ssize_t hvt_op_read(struct file *file, char __user *buf,
file               33 drivers/hv/hv_utils_transport.c 	hvt = container_of(file->f_op, struct hvutil_transport, fops);
file               74 drivers/hv/hv_utils_transport.c static ssize_t hvt_op_write(struct file *file, const char __user *buf,
file               81 drivers/hv/hv_utils_transport.c 	hvt = container_of(file->f_op, struct hvutil_transport, fops);
file               97 drivers/hv/hv_utils_transport.c static __poll_t hvt_op_poll(struct file *file, poll_table *wait)
file              101 drivers/hv/hv_utils_transport.c 	hvt = container_of(file->f_op, struct hvutil_transport, fops);
file              103 drivers/hv/hv_utils_transport.c 	poll_wait(file, &hvt->outmsg_q, wait);
file              114 drivers/hv/hv_utils_transport.c static int hvt_op_open(struct inode *inode, struct file *file)
file              120 drivers/hv/hv_utils_transport.c 	hvt = container_of(file->f_op, struct hvutil_transport, fops);
file              159 drivers/hv/hv_utils_transport.c static int hvt_op_release(struct inode *inode, struct file *file)
file              164 drivers/hv/hv_utils_transport.c 	hvt = container_of(file->f_op, struct hvutil_transport, fops);
file              719 drivers/hwmon/asus_atk0110.c static int atk_debugfs_ggrp_open(struct inode *inode, struct file *file)
file              762 drivers/hwmon/asus_atk0110.c 	file->private_data = buf;
file              764 drivers/hwmon/asus_atk0110.c 	return nonseekable_open(inode, file);
file              767 drivers/hwmon/asus_atk0110.c static ssize_t atk_debugfs_ggrp_read(struct file *file, char __user *buf,
file              770 drivers/hwmon/asus_atk0110.c 	char *str = file->private_data;
file              776 drivers/hwmon/asus_atk0110.c static int atk_debugfs_ggrp_release(struct inode *inode, struct file *file)
file              778 drivers/hwmon/asus_atk0110.c 	kfree(file->private_data);
file              427 drivers/hwmon/dell-smm-hwmon.c i8k_ioctl_unlocked(struct file *fp, unsigned int cmd, unsigned long arg)
file              522 drivers/hwmon/dell-smm-hwmon.c static long i8k_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
file              577 drivers/hwmon/dell-smm-hwmon.c static int i8k_open_fs(struct inode *inode, struct file *file)
file              579 drivers/hwmon/dell-smm-hwmon.c 	return single_open(file, i8k_proc_show, NULL);
file              795 drivers/hwmon/fschmd.c static int watchdog_open(struct inode *inode, struct file *filp)
file              830 drivers/hwmon/fschmd.c static int watchdog_release(struct inode *inode, struct file *filp)
file              852 drivers/hwmon/fschmd.c static ssize_t watchdog_write(struct file *filp, const char __user *buf,
file              880 drivers/hwmon/fschmd.c static long watchdog_ioctl(struct file *filp, unsigned int cmd,
file              134 drivers/hwmon/pmbus/ibm-cffps.c static ssize_t ibm_cffps_debugfs_op(struct file *file, char __user *buf,
file              139 drivers/hwmon/pmbus/ibm-cffps.c 	int *idxp = file->private_data;
file              392 drivers/hwmon/pmbus/ucd9000.c static ssize_t ucd9000_debugfs_read_mfr_status(struct file *file,
file              396 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = file->private_data;
file             1289 drivers/hwmon/w83793.c static int watchdog_open(struct inode *inode, struct file *filp)
file             1334 drivers/hwmon/w83793.c static int watchdog_close(struct inode *inode, struct file *filp)
file             1357 drivers/hwmon/w83793.c static ssize_t watchdog_write(struct file *filp, const char __user *buf,
file             1385 drivers/hwmon/w83793.c static long watchdog_ioctl(struct file *filp, unsigned int cmd,
file              472 drivers/hwtracing/coresight/coresight-cpu-debug.c static ssize_t debug_func_knob_write(struct file *f,
file              506 drivers/hwtracing/coresight/coresight-cpu-debug.c static ssize_t debug_func_knob_read(struct file *f,
file              599 drivers/hwtracing/coresight/coresight-etb10.c static int etb_open(struct inode *inode, struct file *file)
file              601 drivers/hwtracing/coresight/coresight-etb10.c 	struct etb_drvdata *drvdata = container_of(file->private_data,
file              611 drivers/hwtracing/coresight/coresight-etb10.c static ssize_t etb_read(struct file *file, char __user *data,
file              615 drivers/hwtracing/coresight/coresight-etb10.c 	struct etb_drvdata *drvdata = container_of(file->private_data,
file              638 drivers/hwtracing/coresight/coresight-etb10.c static int etb_release(struct inode *inode, struct file *file)
file              640 drivers/hwtracing/coresight/coresight-etb10.c 	struct etb_drvdata *drvdata = container_of(file->private_data,
file              145 drivers/hwtracing/coresight/coresight-tmc.c static int tmc_open(struct inode *inode, struct file *file)
file              148 drivers/hwtracing/coresight/coresight-tmc.c 	struct tmc_drvdata *drvdata = container_of(file->private_data,
file              155 drivers/hwtracing/coresight/coresight-tmc.c 	nonseekable_open(inode, file);
file              175 drivers/hwtracing/coresight/coresight-tmc.c static ssize_t tmc_read(struct file *file, char __user *data, size_t len,
file              180 drivers/hwtracing/coresight/coresight-tmc.c 	struct tmc_drvdata *drvdata = container_of(file->private_data,
file              198 drivers/hwtracing/coresight/coresight-tmc.c static int tmc_release(struct inode *inode, struct file *file)
file              201 drivers/hwtracing/coresight/coresight-tmc.c 	struct tmc_drvdata *drvdata = container_of(file->private_data,
file              788 drivers/hwtracing/intel_th/core.c static int intel_th_output_open(struct inode *inode, struct file *file)
file              804 drivers/hwtracing/intel_th/core.c 	replace_fops(file, fops);
file              806 drivers/hwtracing/intel_th/core.c 	file->private_data = to_intel_th_device(dev);
file              808 drivers/hwtracing/intel_th/core.c 	if (file->f_op->open) {
file              809 drivers/hwtracing/intel_th/core.c 		err = file->f_op->open(inode, file);
file             1430 drivers/hwtracing/intel_th/msu.c static int intel_th_msc_open(struct inode *inode, struct file *file)
file             1432 drivers/hwtracing/intel_th/msu.c 	struct intel_th_device *thdev = file->private_data;
file             1443 drivers/hwtracing/intel_th/msu.c 	file->private_data = iter;
file             1445 drivers/hwtracing/intel_th/msu.c 	return nonseekable_open(inode, file);
file             1448 drivers/hwtracing/intel_th/msu.c static int intel_th_msc_release(struct inode *inode, struct file *file)
file             1450 drivers/hwtracing/intel_th/msu.c 	struct msc_iter *iter = file->private_data;
file             1494 drivers/hwtracing/intel_th/msu.c static ssize_t intel_th_msc_read(struct file *file, char __user *buf,
file             1497 drivers/hwtracing/intel_th/msu.c 	struct msc_iter *iter = file->private_data;
file             1602 drivers/hwtracing/intel_th/msu.c static int intel_th_msc_mmap(struct file *file, struct vm_area_struct *vma)
file              485 drivers/hwtracing/stm/core.c static int stm_char_open(struct inode *inode, struct file *file)
file              507 drivers/hwtracing/stm/core.c 	file->private_data = stmf;
file              509 drivers/hwtracing/stm/core.c 	return nonseekable_open(inode, file);
file              520 drivers/hwtracing/stm/core.c static int stm_char_release(struct inode *inode, struct file *file)
file              522 drivers/hwtracing/stm/core.c 	struct stm_file *stmf = file->private_data;
file              618 drivers/hwtracing/stm/core.c static ssize_t stm_char_write(struct file *file, const char __user *buf,
file              621 drivers/hwtracing/stm/core.c 	struct stm_file *stmf = file->private_data;
file              691 drivers/hwtracing/stm/core.c static int stm_char_mmap(struct file *file, struct vm_area_struct *vma)
file              693 drivers/hwtracing/stm/core.c 	struct stm_file *stmf = file->private_data;
file              798 drivers/hwtracing/stm/core.c stm_char_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              800 drivers/hwtracing/stm/core.c 	struct stm_file *stmf = file->private_data;
file              837 drivers/hwtracing/stm/core.c stm_char_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              839 drivers/hwtracing/stm/core.c 	return stm_char_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              133 drivers/i2c/i2c-dev.c static ssize_t i2cdev_read(struct file *file, char __user *buf, size_t count,
file              139 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
file              149 drivers/i2c/i2c-dev.c 		iminor(file_inode(file)), count);
file              158 drivers/i2c/i2c-dev.c static ssize_t i2cdev_write(struct file *file, const char __user *buf,
file              163 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
file              173 drivers/i2c/i2c-dev.c 		iminor(file_inode(file)), count);
file              392 drivers/i2c/i2c-dev.c static long i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              394 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
file              514 drivers/i2c/i2c-dev.c static long compat_i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              516 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
file              570 drivers/i2c/i2c-dev.c 		return i2cdev_ioctl(file, cmd, arg);
file              577 drivers/i2c/i2c-dev.c static int i2cdev_open(struct inode *inode, struct file *file)
file              602 drivers/i2c/i2c-dev.c 	file->private_data = client;
file              607 drivers/i2c/i2c-dev.c static int i2cdev_release(struct inode *inode, struct file *file)
file              609 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
file              613 drivers/i2c/i2c-dev.c 	file->private_data = NULL;
file               93 drivers/i2c/i2c-slave-eeprom.c static ssize_t i2c_slave_eeprom_bin_read(struct file *filp, struct kobject *kobj,
file              108 drivers/i2c/i2c-slave-eeprom.c static ssize_t i2c_slave_eeprom_bin_write(struct file *filp, struct kobject *kobj,
file              275 drivers/ide/ide-proc.c static int ide_settings_proc_open(struct inode *inode, struct file *file)
file              277 drivers/ide/ide-proc.c 	return single_open(file, ide_settings_proc_show, PDE_DATA(inode));
file              282 drivers/ide/ide-proc.c static ssize_t ide_settings_proc_write(struct file *file, const char __user *buffer,
file              285 drivers/ide/ide-proc.c 	ide_drive_t	*drive = PDE_DATA(file_inode(file));
file              453 drivers/ide/ide-proc.c static int ide_media_proc_open(struct inode *inode, struct file *file)
file              455 drivers/ide/ide-proc.c 	return single_open(file, ide_media_proc_show, PDE_DATA(inode));
file             1129 drivers/ide/ide-tape.c static ssize_t idetape_chrdev_read(struct file *file, char __user *buf,
file             1132 drivers/ide/ide-tape.c 	struct ide_tape_obj *tape = file->private_data;
file             1184 drivers/ide/ide-tape.c static ssize_t idetape_chrdev_write(struct file *file, const char __user *buf,
file             1187 drivers/ide/ide-tape.c 	struct ide_tape_obj *tape = file->private_data;
file             1370 drivers/ide/ide-tape.c static long do_idetape_chrdev_ioctl(struct file *file,
file             1373 drivers/ide/ide-tape.c 	struct ide_tape_obj *tape = file->private_data;
file             1425 drivers/ide/ide-tape.c static long idetape_chrdev_ioctl(struct file *file,
file             1430 drivers/ide/ide-tape.c 	ret = do_idetape_chrdev_ioctl(file, cmd, arg);
file             1464 drivers/ide/ide-tape.c static int idetape_chrdev_open(struct inode *inode, struct file *filp)
file             1566 drivers/ide/ide-tape.c static int idetape_chrdev_release(struct inode *inode, struct file *filp)
file               72 drivers/iio/gyro/adis16136.c static ssize_t adis16136_show_serial(struct file *file,
file               75 drivers/iio/gyro/adis16136.c 	struct adis16136 *adis16136 = file->private_data;
file               43 drivers/iio/iio_core.h __poll_t iio_buffer_poll(struct file *filp,
file               45 drivers/iio/iio_core.h ssize_t iio_buffer_read_first_n_outer(struct file *filp, char __user *buf,
file              210 drivers/iio/imu/adis16400.c static ssize_t adis16400_show_serial_number(struct file *file,
file              213 drivers/iio/imu/adis16400.c 	struct adis16400_state *st = file->private_data;
file              174 drivers/iio/imu/adis16480.c static ssize_t adis16480_show_firmware_revision(struct file *file,
file              177 drivers/iio/imu/adis16480.c 	struct adis16480 *adis16480 = file->private_data;
file              199 drivers/iio/imu/adis16480.c static ssize_t adis16480_show_firmware_date(struct file *file,
file              202 drivers/iio/imu/adis16480.c 	struct adis16480 *adis16480 = file->private_data;
file              102 drivers/iio/industrialio-buffer.c ssize_t iio_buffer_read_first_n_outer(struct file *filp, char __user *buf,
file              168 drivers/iio/industrialio-buffer.c __poll_t iio_buffer_poll(struct file *filp,
file              299 drivers/iio/industrialio-core.c static ssize_t iio_debugfs_read_reg(struct file *file, char __user *userbuf,
file              302 drivers/iio/industrialio-core.c 	struct iio_dev *indio_dev = file->private_data;
file              321 drivers/iio/industrialio-core.c static ssize_t iio_debugfs_write_reg(struct file *file,
file              324 drivers/iio/industrialio-core.c 	struct iio_dev *indio_dev = file->private_data;
file             1551 drivers/iio/industrialio-core.c static int iio_chrdev_open(struct inode *inode, struct file *filp)
file             1573 drivers/iio/industrialio-core.c static int iio_chrdev_release(struct inode *inode, struct file *filp)
file             1585 drivers/iio/industrialio-core.c static long iio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               95 drivers/iio/industrialio-event.c static __poll_t iio_event_poll(struct file *filep,
file              113 drivers/iio/industrialio-event.c static ssize_t iio_event_chrdev_read(struct file *filep,
file              165 drivers/iio/industrialio-event.c static int iio_event_chrdev_release(struct inode *inode, struct file *filep)
file              346 drivers/infiniband/core/rdma_core.c 	struct file *f;
file              597 drivers/infiniband/core/rdma_core.c 	struct file *filp;
file              687 drivers/infiniband/core/rdma_core.c 	struct file *filp = uobj->object;
file              770 drivers/infiniband/core/rdma_core.c void uverbs_close_fd(struct file *f)
file               74 drivers/infiniband/core/rdma_core.h void uverbs_close_fd(struct file *f);
file               78 drivers/infiniband/core/ucma.c 	struct file		*filp;
file               92 drivers/infiniband/core/ucma.c 	struct ucma_file	*file;
file              134 drivers/infiniband/core/ucma.c 						      struct ucma_file *file)
file              141 drivers/infiniband/core/ucma.c 	else if (ctx->file != file || !ctx->cm_id)
file              146 drivers/infiniband/core/ucma.c static struct ucma_context *ucma_get_ctx(struct ucma_file *file, int id)
file              151 drivers/infiniband/core/ucma.c 	ctx = _ucma_find_context(id, file);
file              172 drivers/infiniband/core/ucma.c static struct ucma_context *ucma_get_ctx_dev(struct ucma_file *file, int id)
file              174 drivers/infiniband/core/ucma.c 	struct ucma_context *ctx = ucma_get_ctx(file, id);
file              207 drivers/infiniband/core/ucma.c static struct ucma_context *ucma_alloc_ctx(struct ucma_file *file)
file              219 drivers/infiniband/core/ucma.c 	ctx->file = file;
file              225 drivers/infiniband/core/ucma.c 	list_add_tail(&ctx->list, &file->ctx_list);
file              322 drivers/infiniband/core/ucma.c 		queue_work(ctx->file->close_wq, &ctx->close_work);
file              326 drivers/infiniband/core/ucma.c 	list_for_each_entry(con_req_eve, &ctx->file->event_list, list) {
file              331 drivers/infiniband/core/ucma.c 			queue_work(ctx->file->close_wq, &con_req_eve->close_work);
file              351 drivers/infiniband/core/ucma.c 	mutex_lock(&ctx->file->mut);
file              386 drivers/infiniband/core/ucma.c 	list_add_tail(&uevent->list, &ctx->file->event_list);
file              387 drivers/infiniband/core/ucma.c 	wake_up_interruptible(&ctx->file->poll_wait);
file              391 drivers/infiniband/core/ucma.c 	mutex_unlock(&ctx->file->mut);
file              395 drivers/infiniband/core/ucma.c static ssize_t ucma_get_event(struct ucma_file *file, const char __user *inbuf,
file              413 drivers/infiniband/core/ucma.c 	mutex_lock(&file->mut);
file              414 drivers/infiniband/core/ucma.c 	while (list_empty(&file->event_list)) {
file              415 drivers/infiniband/core/ucma.c 		mutex_unlock(&file->mut);
file              417 drivers/infiniband/core/ucma.c 		if (file->filp->f_flags & O_NONBLOCK)
file              420 drivers/infiniband/core/ucma.c 		if (wait_event_interruptible(file->poll_wait,
file              421 drivers/infiniband/core/ucma.c 					     !list_empty(&file->event_list)))
file              424 drivers/infiniband/core/ucma.c 		mutex_lock(&file->mut);
file              427 drivers/infiniband/core/ucma.c 	uevent = list_entry(file->event_list.next, struct ucma_event, list);
file              430 drivers/infiniband/core/ucma.c 		ctx = ucma_alloc_ctx(file);
file              454 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file              476 drivers/infiniband/core/ucma.c static ssize_t ucma_create_id(struct ucma_file *file, const char __user *inbuf,
file              496 drivers/infiniband/core/ucma.c 	mutex_lock(&file->mut);
file              497 drivers/infiniband/core/ucma.c 	ctx = ucma_alloc_ctx(file);
file              498 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file              524 drivers/infiniband/core/ucma.c 	mutex_lock(&file->mut);
file              526 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file              535 drivers/infiniband/core/ucma.c 	mutex_lock(&ctx->file->mut);
file              541 drivers/infiniband/core/ucma.c 	mutex_unlock(&ctx->file->mut);
file              548 drivers/infiniband/core/ucma.c 	list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) {
file              578 drivers/infiniband/core/ucma.c 	mutex_lock(&ctx->file->mut);
file              579 drivers/infiniband/core/ucma.c 	list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) {
file              584 drivers/infiniband/core/ucma.c 	mutex_unlock(&ctx->file->mut);
file              599 drivers/infiniband/core/ucma.c static ssize_t ucma_destroy_id(struct ucma_file *file, const char __user *inbuf,
file              614 drivers/infiniband/core/ucma.c 	ctx = _ucma_find_context(cmd.id, file);
file              622 drivers/infiniband/core/ucma.c 	mutex_lock(&ctx->file->mut);
file              624 drivers/infiniband/core/ucma.c 	mutex_unlock(&ctx->file->mut);
file              626 drivers/infiniband/core/ucma.c 	flush_workqueue(ctx->file->close_wq);
file              647 drivers/infiniband/core/ucma.c static ssize_t ucma_bind_ip(struct ucma_file *file, const char __user *inbuf,
file              660 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file              672 drivers/infiniband/core/ucma.c static ssize_t ucma_bind(struct ucma_file *file, const char __user *inbuf,
file              686 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file              697 drivers/infiniband/core/ucma.c static ssize_t ucma_resolve_ip(struct ucma_file *file,
file              712 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file              724 drivers/infiniband/core/ucma.c static ssize_t ucma_resolve_addr(struct ucma_file *file,
file              740 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file              752 drivers/infiniband/core/ucma.c static ssize_t ucma_resolve_route(struct ucma_file *file,
file              763 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file              838 drivers/infiniband/core/ucma.c static ssize_t ucma_query_route(struct ucma_file *file,
file              854 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file             1016 drivers/infiniband/core/ucma.c static ssize_t ucma_query(struct ucma_file *file,
file             1029 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file             1070 drivers/infiniband/core/ucma.c static ssize_t ucma_connect(struct ucma_file *file, const char __user *inbuf,
file             1084 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file             1096 drivers/infiniband/core/ucma.c static ssize_t ucma_listen(struct ucma_file *file, const char __user *inbuf,
file             1106 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file             1119 drivers/infiniband/core/ucma.c static ssize_t ucma_accept(struct ucma_file *file, const char __user *inbuf,
file             1130 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file             1136 drivers/infiniband/core/ucma.c 		mutex_lock(&file->mut);
file             1142 drivers/infiniband/core/ucma.c 		mutex_unlock(&file->mut);
file             1152 drivers/infiniband/core/ucma.c static ssize_t ucma_reject(struct ucma_file *file, const char __user *inbuf,
file             1162 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file             1173 drivers/infiniband/core/ucma.c static ssize_t ucma_disconnect(struct ucma_file *file, const char __user *inbuf,
file             1183 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file             1194 drivers/infiniband/core/ucma.c static ssize_t ucma_init_qp_attr(struct ucma_file *file,
file             1213 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd.id);
file             1361 drivers/infiniband/core/ucma.c static ssize_t ucma_set_option(struct ucma_file *file, const char __user *inbuf,
file             1375 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file             1395 drivers/infiniband/core/ucma.c static ssize_t ucma_notify(struct ucma_file *file, const char __user *inbuf,
file             1405 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(file, cmd.id);
file             1418 drivers/infiniband/core/ucma.c static ssize_t ucma_process_join(struct ucma_file *file,
file             1442 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx_dev(file, cmd->id);
file             1446 drivers/infiniband/core/ucma.c 	mutex_lock(&file->mut);
file             1471 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file             1483 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file             1488 drivers/infiniband/core/ucma.c static ssize_t ucma_join_ip_multicast(struct ucma_file *file,
file             1508 drivers/infiniband/core/ucma.c 	return ucma_process_join(file, &join_cmd, out_len);
file             1511 drivers/infiniband/core/ucma.c static ssize_t ucma_join_multicast(struct ucma_file *file,
file             1523 drivers/infiniband/core/ucma.c 	return ucma_process_join(file, &cmd, out_len);
file             1526 drivers/infiniband/core/ucma.c static ssize_t ucma_leave_multicast(struct ucma_file *file,
file             1545 drivers/infiniband/core/ucma.c 	else if (mc->ctx->file != file)
file             1562 drivers/infiniband/core/ucma.c 	mutex_lock(&mc->ctx->file->mut);
file             1565 drivers/infiniband/core/ucma.c 	mutex_unlock(&mc->ctx->file->mut);
file             1601 drivers/infiniband/core/ucma.c static void ucma_move_events(struct ucma_context *ctx, struct ucma_file *file)
file             1605 drivers/infiniband/core/ucma.c 	list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list)
file             1607 drivers/infiniband/core/ucma.c 			list_move_tail(&uevent->list, &file->event_list);
file             1626 drivers/infiniband/core/ucma.c 	if (!f.file)
file             1628 drivers/infiniband/core/ucma.c 	if (f.file->f_op != &ucma_fops) {
file             1634 drivers/infiniband/core/ucma.c 	ctx = ucma_get_ctx(f.file->private_data, cmd.id);
file             1640 drivers/infiniband/core/ucma.c 	cur_file = ctx->file;
file             1655 drivers/infiniband/core/ucma.c 	ctx->file = new_file;
file             1672 drivers/infiniband/core/ucma.c static ssize_t (*ucma_cmd_table[])(struct ucma_file *file,
file             1700 drivers/infiniband/core/ucma.c static ssize_t ucma_write(struct file *filp, const char __user *buf,
file             1703 drivers/infiniband/core/ucma.c 	struct ucma_file *file = filp->private_data;
file             1729 drivers/infiniband/core/ucma.c 	ret = ucma_cmd_table[hdr.cmd](file, buf + sizeof(hdr), hdr.in, hdr.out);
file             1736 drivers/infiniband/core/ucma.c static __poll_t ucma_poll(struct file *filp, struct poll_table_struct *wait)
file             1738 drivers/infiniband/core/ucma.c 	struct ucma_file *file = filp->private_data;
file             1741 drivers/infiniband/core/ucma.c 	poll_wait(filp, &file->poll_wait, wait);
file             1743 drivers/infiniband/core/ucma.c 	if (!list_empty(&file->event_list))
file             1757 drivers/infiniband/core/ucma.c static int ucma_open(struct inode *inode, struct file *filp)
file             1759 drivers/infiniband/core/ucma.c 	struct ucma_file *file;
file             1761 drivers/infiniband/core/ucma.c 	file = kmalloc(sizeof *file, GFP_KERNEL);
file             1762 drivers/infiniband/core/ucma.c 	if (!file)
file             1765 drivers/infiniband/core/ucma.c 	file->close_wq = alloc_ordered_workqueue("ucma_close_id",
file             1767 drivers/infiniband/core/ucma.c 	if (!file->close_wq) {
file             1768 drivers/infiniband/core/ucma.c 		kfree(file);
file             1772 drivers/infiniband/core/ucma.c 	INIT_LIST_HEAD(&file->event_list);
file             1773 drivers/infiniband/core/ucma.c 	INIT_LIST_HEAD(&file->ctx_list);
file             1774 drivers/infiniband/core/ucma.c 	init_waitqueue_head(&file->poll_wait);
file             1775 drivers/infiniband/core/ucma.c 	mutex_init(&file->mut);
file             1777 drivers/infiniband/core/ucma.c 	filp->private_data = file;
file             1778 drivers/infiniband/core/ucma.c 	file->filp = filp;
file             1783 drivers/infiniband/core/ucma.c static int ucma_close(struct inode *inode, struct file *filp)
file             1785 drivers/infiniband/core/ucma.c 	struct ucma_file *file = filp->private_data;
file             1788 drivers/infiniband/core/ucma.c 	mutex_lock(&file->mut);
file             1789 drivers/infiniband/core/ucma.c 	list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) {
file             1791 drivers/infiniband/core/ucma.c 		mutex_unlock(&file->mut);
file             1794 drivers/infiniband/core/ucma.c 		flush_workqueue(file->close_wq);
file             1813 drivers/infiniband/core/ucma.c 		mutex_lock(&file->mut);
file             1815 drivers/infiniband/core/ucma.c 	mutex_unlock(&file->mut);
file             1816 drivers/infiniband/core/ucma.c 	destroy_workqueue(file->close_wq);
file             1817 drivers/infiniband/core/ucma.c 	kfree(file);
file              166 drivers/infiniband/core/user_mad.c static int hdr_size(struct ib_umad_file *file)
file              168 drivers/infiniband/core/user_mad.c 	return file->use_pkey_index ? sizeof (struct ib_user_mad_hdr) :
file              173 drivers/infiniband/core/user_mad.c static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id)
file              175 drivers/infiniband/core/user_mad.c 	return file->agents_dead ? NULL : file->agent[id];
file              178 drivers/infiniband/core/user_mad.c static int queue_packet(struct ib_umad_file *file,
file              184 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              189 drivers/infiniband/core/user_mad.c 		if (agent == __get_agent(file, packet->mad.hdr.id)) {
file              190 drivers/infiniband/core/user_mad.c 			list_add_tail(&packet->list, &file->recv_list);
file              191 drivers/infiniband/core/user_mad.c 			wake_up_interruptible(&file->recv_wait);
file              196 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              201 drivers/infiniband/core/user_mad.c static void dequeue_send(struct ib_umad_file *file,
file              204 drivers/infiniband/core/user_mad.c 	spin_lock_irq(&file->send_lock);
file              206 drivers/infiniband/core/user_mad.c 	spin_unlock_irq(&file->send_lock);
file              212 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = agent->context;
file              215 drivers/infiniband/core/user_mad.c 	dequeue_send(file, packet);
file              222 drivers/infiniband/core/user_mad.c 		if (!queue_packet(file, agent, packet))
file              232 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = agent->context;
file              246 drivers/infiniband/core/user_mad.c 	packet->mad.hdr.length	   = hdr_size(file) + mad_recv_wc->mad_len;
file              282 drivers/infiniband/core/user_mad.c 	if (queue_packet(file, agent, packet))
file              292 drivers/infiniband/core/user_mad.c static ssize_t copy_recv_mad(struct ib_umad_file *file, char __user *buf,
file              304 drivers/infiniband/core/user_mad.c 	     count < hdr_size(file) + packet->length) ||
file              306 drivers/infiniband/core/user_mad.c 	     count < hdr_size(file) + seg_size))
file              309 drivers/infiniband/core/user_mad.c 	if (copy_to_user(buf, &packet->mad, hdr_size(file)))
file              312 drivers/infiniband/core/user_mad.c 	buf += hdr_size(file);
file              322 drivers/infiniband/core/user_mad.c 		if (count < hdr_size(file) + packet->length) {
file              343 drivers/infiniband/core/user_mad.c 	trace_ib_umad_read_recv(file, &packet->mad.hdr, &recv_buf->mad->mad_hdr);
file              345 drivers/infiniband/core/user_mad.c 	return hdr_size(file) + packet->length;
file              348 drivers/infiniband/core/user_mad.c static ssize_t copy_send_mad(struct ib_umad_file *file, char __user *buf,
file              351 drivers/infiniband/core/user_mad.c 	ssize_t size = hdr_size(file) + packet->length;
file              356 drivers/infiniband/core/user_mad.c 	if (copy_to_user(buf, &packet->mad, hdr_size(file)))
file              359 drivers/infiniband/core/user_mad.c 	buf += hdr_size(file);
file              364 drivers/infiniband/core/user_mad.c 	trace_ib_umad_read_send(file, &packet->mad.hdr,
file              370 drivers/infiniband/core/user_mad.c static ssize_t ib_umad_read(struct file *filp, char __user *buf,
file              373 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = filp->private_data;
file              377 drivers/infiniband/core/user_mad.c 	if (count < hdr_size(file))
file              380 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              382 drivers/infiniband/core/user_mad.c 	while (list_empty(&file->recv_list)) {
file              383 drivers/infiniband/core/user_mad.c 		mutex_unlock(&file->mutex);
file              388 drivers/infiniband/core/user_mad.c 		if (wait_event_interruptible(file->recv_wait,
file              389 drivers/infiniband/core/user_mad.c 					     !list_empty(&file->recv_list)))
file              392 drivers/infiniband/core/user_mad.c 		mutex_lock(&file->mutex);
file              395 drivers/infiniband/core/user_mad.c 	packet = list_entry(file->recv_list.next, struct ib_umad_packet, list);
file              398 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              401 drivers/infiniband/core/user_mad.c 		ret = copy_recv_mad(file, buf, packet, count);
file              403 drivers/infiniband/core/user_mad.c 		ret = copy_send_mad(file, buf, packet, count);
file              407 drivers/infiniband/core/user_mad.c 		mutex_lock(&file->mutex);
file              408 drivers/infiniband/core/user_mad.c 		list_add(&packet->list, &file->recv_list);
file              409 drivers/infiniband/core/user_mad.c 		mutex_unlock(&file->mutex);
file              450 drivers/infiniband/core/user_mad.c static int is_duplicate(struct ib_umad_file *file,
file              457 drivers/infiniband/core/user_mad.c 	list_for_each_entry(sent_packet, &file->send_list, list) {
file              483 drivers/infiniband/core/user_mad.c static ssize_t ib_umad_write(struct file *filp, const char __user *buf,
file              486 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = filp->private_data;
file              496 drivers/infiniband/core/user_mad.c 	if (count < hdr_size(file) + IB_MGMT_RMPP_HDR)
file              503 drivers/infiniband/core/user_mad.c 	if (copy_from_user(&packet->mad, buf, hdr_size(file))) {
file              513 drivers/infiniband/core/user_mad.c 	buf += hdr_size(file);
file              520 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              522 drivers/infiniband/core/user_mad.c 	trace_ib_umad_write(file, &packet->mad.hdr,
file              525 drivers/infiniband/core/user_mad.c 	agent = __get_agent(file, packet->mad.hdr.id);
file              533 drivers/infiniband/core/user_mad.c 					 file->port->port_num);
file              537 drivers/infiniband/core/user_mad.c 	rdma_ah_set_port_num(&ah_attr, file->port->port_num);
file              567 drivers/infiniband/core/user_mad.c 	data_len = count - hdr_size(file) - hdr_len;
file              614 drivers/infiniband/core/user_mad.c 		spin_lock_irq(&file->send_lock);
file              615 drivers/infiniband/core/user_mad.c 		list_add_tail(&packet->list, &file->send_list);
file              616 drivers/infiniband/core/user_mad.c 		spin_unlock_irq(&file->send_lock);
file              618 drivers/infiniband/core/user_mad.c 		spin_lock_irq(&file->send_lock);
file              619 drivers/infiniband/core/user_mad.c 		ret = is_duplicate(file, packet);
file              621 drivers/infiniband/core/user_mad.c 			list_add_tail(&packet->list, &file->send_list);
file              622 drivers/infiniband/core/user_mad.c 		spin_unlock_irq(&file->send_lock);
file              633 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              637 drivers/infiniband/core/user_mad.c 	dequeue_send(file, packet);
file              643 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              649 drivers/infiniband/core/user_mad.c static __poll_t ib_umad_poll(struct file *filp, struct poll_table_struct *wait)
file              651 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = filp->private_data;
file              656 drivers/infiniband/core/user_mad.c 	poll_wait(filp, &file->recv_wait, wait);
file              658 drivers/infiniband/core/user_mad.c 	if (!list_empty(&file->recv_list))
file              664 drivers/infiniband/core/user_mad.c static int ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg,
file              673 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->port->file_mutex);
file              674 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              676 drivers/infiniband/core/user_mad.c 	if (!file->port->ib_dev) {
file              677 drivers/infiniband/core/user_mad.c 		dev_notice(&file->port->dev,
file              689 drivers/infiniband/core/user_mad.c 		dev_notice(&file->port->dev,
file              697 drivers/infiniband/core/user_mad.c 		if (!__get_agent(file, agent_id))
file              700 drivers/infiniband/core/user_mad.c 	dev_notice(&file->port->dev,
file              725 drivers/infiniband/core/user_mad.c 	agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num,
file              729 drivers/infiniband/core/user_mad.c 				      send_handler, recv_handler, file, 0);
file              742 drivers/infiniband/core/user_mad.c 	if (!file->already_used) {
file              743 drivers/infiniband/core/user_mad.c 		file->already_used = 1;
file              744 drivers/infiniband/core/user_mad.c 		if (!file->use_pkey_index) {
file              745 drivers/infiniband/core/user_mad.c 			dev_warn(&file->port->dev,
file              748 drivers/infiniband/core/user_mad.c 			dev_warn(&file->port->dev,
file              753 drivers/infiniband/core/user_mad.c 	file->agent[agent_id] = agent;
file              757 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              762 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->port->file_mutex);
file              767 drivers/infiniband/core/user_mad.c static int ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg)
file              775 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->port->file_mutex);
file              776 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              778 drivers/infiniband/core/user_mad.c 	if (!file->port->ib_dev) {
file              779 drivers/infiniband/core/user_mad.c 		dev_notice(&file->port->dev,
file              791 drivers/infiniband/core/user_mad.c 		dev_notice(&file->port->dev,
file              799 drivers/infiniband/core/user_mad.c 		dev_notice(&file->port->dev,
file              813 drivers/infiniband/core/user_mad.c 		if (!__get_agent(file, agent_id))
file              816 drivers/infiniband/core/user_mad.c 	dev_notice(&file->port->dev,
file              828 drivers/infiniband/core/user_mad.c 			dev_notice(&file->port->dev,
file              841 drivers/infiniband/core/user_mad.c 	agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num,
file              845 drivers/infiniband/core/user_mad.c 				      send_handler, recv_handler, file,
file              860 drivers/infiniband/core/user_mad.c 	if (!file->already_used) {
file              861 drivers/infiniband/core/user_mad.c 		file->already_used = 1;
file              862 drivers/infiniband/core/user_mad.c 		file->use_pkey_index = 1;
file              865 drivers/infiniband/core/user_mad.c 	file->agent[agent_id] = agent;
file              869 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              874 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->port->file_mutex);
file              880 drivers/infiniband/core/user_mad.c static int ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg)
file              891 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->port->file_mutex);
file              892 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              895 drivers/infiniband/core/user_mad.c 	if (!__get_agent(file, id)) {
file              900 drivers/infiniband/core/user_mad.c 	agent = file->agent[id];
file              901 drivers/infiniband/core/user_mad.c 	file->agent[id] = NULL;
file              904 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              909 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->port->file_mutex);
file              914 drivers/infiniband/core/user_mad.c static long ib_umad_enable_pkey(struct ib_umad_file *file)
file              918 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file              919 drivers/infiniband/core/user_mad.c 	if (file->already_used)
file              922 drivers/infiniband/core/user_mad.c 		file->use_pkey_index = 1;
file              923 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file              928 drivers/infiniband/core/user_mad.c static long ib_umad_ioctl(struct file *filp, unsigned int cmd,
file              946 drivers/infiniband/core/user_mad.c static long ib_umad_compat_ioctl(struct file *filp, unsigned int cmd,
file              973 drivers/infiniband/core/user_mad.c static int ib_umad_open(struct inode *inode, struct file *filp)
file              976 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file;
file              993 drivers/infiniband/core/user_mad.c 	file = kzalloc(sizeof(*file), GFP_KERNEL);
file              994 drivers/infiniband/core/user_mad.c 	if (!file) {
file              999 drivers/infiniband/core/user_mad.c 	mutex_init(&file->mutex);
file             1000 drivers/infiniband/core/user_mad.c 	spin_lock_init(&file->send_lock);
file             1001 drivers/infiniband/core/user_mad.c 	INIT_LIST_HEAD(&file->recv_list);
file             1002 drivers/infiniband/core/user_mad.c 	INIT_LIST_HEAD(&file->send_list);
file             1003 drivers/infiniband/core/user_mad.c 	init_waitqueue_head(&file->recv_wait);
file             1005 drivers/infiniband/core/user_mad.c 	file->port = port;
file             1006 drivers/infiniband/core/user_mad.c 	filp->private_data = file;
file             1008 drivers/infiniband/core/user_mad.c 	list_add_tail(&file->port_list, &port->file_list);
file             1016 drivers/infiniband/core/user_mad.c static int ib_umad_close(struct inode *inode, struct file *filp)
file             1018 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file = filp->private_data;
file             1023 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->port->file_mutex);
file             1024 drivers/infiniband/core/user_mad.c 	mutex_lock(&file->mutex);
file             1026 drivers/infiniband/core/user_mad.c 	already_dead = file->agents_dead;
file             1027 drivers/infiniband/core/user_mad.c 	file->agents_dead = 1;
file             1029 drivers/infiniband/core/user_mad.c 	list_for_each_entry_safe(packet, tmp, &file->recv_list, list) {
file             1035 drivers/infiniband/core/user_mad.c 	list_del(&file->port_list);
file             1037 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->mutex);
file             1041 drivers/infiniband/core/user_mad.c 			if (file->agent[i])
file             1042 drivers/infiniband/core/user_mad.c 				ib_unregister_mad_agent(file->agent[i]);
file             1044 drivers/infiniband/core/user_mad.c 	mutex_unlock(&file->port->file_mutex);
file             1045 drivers/infiniband/core/user_mad.c 	mutex_destroy(&file->mutex);
file             1046 drivers/infiniband/core/user_mad.c 	kfree(file);
file             1064 drivers/infiniband/core/user_mad.c static int ib_umad_sm_open(struct inode *inode, struct file *filp)
file             1107 drivers/infiniband/core/user_mad.c static int ib_umad_sm_close(struct inode *inode, struct file *filp)
file             1323 drivers/infiniband/core/user_mad.c 	struct ib_umad_file *file;
file             1336 drivers/infiniband/core/user_mad.c 	list_for_each_entry(file, &port->file_list, port_list) {
file             1337 drivers/infiniband/core/user_mad.c 		mutex_lock(&file->mutex);
file             1338 drivers/infiniband/core/user_mad.c 		file->agents_dead = 1;
file             1339 drivers/infiniband/core/user_mad.c 		mutex_unlock(&file->mutex);
file             1342 drivers/infiniband/core/user_mad.c 			if (file->agent[id])
file             1343 drivers/infiniband/core/user_mad.c 				ib_unregister_mad_agent(file->agent[id]);
file              222 drivers/infiniband/core/uverbs.h struct file *ib_uverbs_alloc_async_event_file(struct ib_uverbs_file *uverbs_file,
file              227 drivers/infiniband/core/uverbs.h void ib_uverbs_release_ucq(struct ib_uverbs_file *file,
file              230 drivers/infiniband/core/uverbs.h void ib_uverbs_release_uevent(struct ib_uverbs_file *file,
file              249 drivers/infiniband/core/uverbs.h long ib_uverbs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file              208 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_file *file = attrs->ufile;
file              212 drivers/infiniband/core/uverbs_cmd.c 	struct file			 *filp;
file              221 drivers/infiniband/core/uverbs_cmd.c 	mutex_lock(&file->ucontext_lock);
file              222 drivers/infiniband/core/uverbs_cmd.c 	ib_dev = srcu_dereference(file->device->ib_dev,
file              223 drivers/infiniband/core/uverbs_cmd.c 				  &file->device->disassociate_srcu);
file              229 drivers/infiniband/core/uverbs_cmd.c 	if (file->ucontext) {
file              250 drivers/infiniband/core/uverbs_cmd.c 	ucontext->ufile = file;
file              260 drivers/infiniband/core/uverbs_cmd.c 	filp = ib_uverbs_alloc_async_event_file(file, ib_dev);
file              266 drivers/infiniband/core/uverbs_cmd.c 	resp.num_comp_vectors = file->device->num_comp_vectors;
file              284 drivers/infiniband/core/uverbs_cmd.c 	smp_store_release(&file->ucontext, ucontext);
file              286 drivers/infiniband/core/uverbs_cmd.c 	mutex_unlock(&file->ucontext_lock);
file              291 drivers/infiniband/core/uverbs_cmd.c 	ib_uverbs_free_async_event_file(file);
file              304 drivers/infiniband/core/uverbs_cmd.c 	mutex_unlock(&file->ucontext_lock);
file              578 drivers/infiniband/core/uverbs_cmd.c 		if (!f.file) {
file              583 drivers/infiniband/core/uverbs_cmd.c 		inode = file_inode(f.file);
file              638 drivers/infiniband/core/uverbs_cmd.c 	if (f.file)
file              659 drivers/infiniband/core/uverbs_cmd.c 	if (f.file)
file              620 drivers/infiniband/core/uverbs_ioctl.c long ib_uverbs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              622 drivers/infiniband/core/uverbs_ioctl.c 	struct ib_uverbs_file *file = filp->private_data;
file              643 drivers/infiniband/core/uverbs_ioctl.c 	srcu_key = srcu_read_lock(&file->device->disassociate_srcu);
file              644 drivers/infiniband/core/uverbs_ioctl.c 	err = ib_uverbs_cmd_verbs(file, &hdr, user_hdr->attrs);
file              645 drivers/infiniband/core/uverbs_ioctl.c 	srcu_read_unlock(&file->device->disassociate_srcu, srcu_key);
file              130 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_async_event_file *file =
file              133 drivers/infiniband/core/uverbs_main.c 	kfree(file);
file              136 drivers/infiniband/core/uverbs_main.c void ib_uverbs_release_ucq(struct ib_uverbs_file *file,
file              153 drivers/infiniband/core/uverbs_main.c 	spin_lock_irq(&file->async_file->ev_queue.lock);
file              158 drivers/infiniband/core/uverbs_main.c 	spin_unlock_irq(&file->async_file->ev_queue.lock);
file              161 drivers/infiniband/core/uverbs_main.c void ib_uverbs_release_uevent(struct ib_uverbs_file *file,
file              166 drivers/infiniband/core/uverbs_main.c 	spin_lock_irq(&file->async_file->ev_queue.lock);
file              171 drivers/infiniband/core/uverbs_main.c 	spin_unlock_irq(&file->async_file->ev_queue.lock);
file              193 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file =
file              198 drivers/infiniband/core/uverbs_main.c 	release_ufile_idr_uobject(file);
file              200 drivers/infiniband/core/uverbs_main.c 	srcu_key = srcu_read_lock(&file->device->disassociate_srcu);
file              201 drivers/infiniband/core/uverbs_main.c 	ib_dev = srcu_dereference(file->device->ib_dev,
file              202 drivers/infiniband/core/uverbs_main.c 				  &file->device->disassociate_srcu);
file              205 drivers/infiniband/core/uverbs_main.c 	srcu_read_unlock(&file->device->disassociate_srcu, srcu_key);
file              207 drivers/infiniband/core/uverbs_main.c 	if (atomic_dec_and_test(&file->device->refcount))
file              208 drivers/infiniband/core/uverbs_main.c 		ib_uverbs_comp_dev(file->device);
file              210 drivers/infiniband/core/uverbs_main.c 	if (file->async_file)
file              211 drivers/infiniband/core/uverbs_main.c 		kref_put(&file->async_file->ref,
file              213 drivers/infiniband/core/uverbs_main.c 	put_device(&file->device->dev);
file              215 drivers/infiniband/core/uverbs_main.c 	if (file->disassociate_page)
file              216 drivers/infiniband/core/uverbs_main.c 		__free_pages(file->disassociate_page, 0);
file              217 drivers/infiniband/core/uverbs_main.c 	mutex_destroy(&file->umap_lock);
file              218 drivers/infiniband/core/uverbs_main.c 	mutex_destroy(&file->ucontext_lock);
file              219 drivers/infiniband/core/uverbs_main.c 	kfree(file);
file              223 drivers/infiniband/core/uverbs_main.c 				    struct file *filp, char __user *buf,
file              279 drivers/infiniband/core/uverbs_main.c static ssize_t ib_uverbs_async_event_read(struct file *filp, char __user *buf,
file              282 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_async_event_file *file = filp->private_data;
file              284 drivers/infiniband/core/uverbs_main.c 	return ib_uverbs_event_read(&file->ev_queue, filp, buf, count, pos,
file              288 drivers/infiniband/core/uverbs_main.c static ssize_t ib_uverbs_comp_event_read(struct file *filp, char __user *buf,
file              300 drivers/infiniband/core/uverbs_main.c 					 struct file *filp,
file              317 drivers/infiniband/core/uverbs_main.c static __poll_t ib_uverbs_async_event_poll(struct file *filp,
file              320 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_async_event_file *file = filp->private_data;
file              322 drivers/infiniband/core/uverbs_main.c 	return ib_uverbs_event_poll(&file->ev_queue, filp, wait);
file              325 drivers/infiniband/core/uverbs_main.c static __poll_t ib_uverbs_comp_event_poll(struct file *filp,
file              334 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_async_event_fasync(int fd, struct file *filp, int on)
file              336 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_async_event_file *file = filp->private_data;
file              338 drivers/infiniband/core/uverbs_main.c 	return fasync_helper(fd, filp, on, &file->ev_queue.async_queue);
file              341 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_comp_event_fasync(int fd, struct file *filp, int on)
file              349 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_async_event_close(struct inode *inode, struct file *filp)
file              351 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_async_event_file *file = filp->private_data;
file              352 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *uverbs_file = file->uverbs_file;
file              357 drivers/infiniband/core/uverbs_main.c 	spin_lock_irq(&file->ev_queue.lock);
file              358 drivers/infiniband/core/uverbs_main.c 	closed_already = file->ev_queue.is_closed;
file              359 drivers/infiniband/core/uverbs_main.c 	file->ev_queue.is_closed = 1;
file              360 drivers/infiniband/core/uverbs_main.c 	list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) {
file              365 drivers/infiniband/core/uverbs_main.c 	spin_unlock_irq(&file->ev_queue.lock);
file              367 drivers/infiniband/core/uverbs_main.c 		list_del(&file->list);
file              373 drivers/infiniband/core/uverbs_main.c 	kref_put(&file->ref, ib_uverbs_release_async_event_file);
file              378 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_comp_event_close(struct inode *inode, struct file *filp)
file              381 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_completion_event_file *file = container_of(
file              385 drivers/infiniband/core/uverbs_main.c 	spin_lock_irq(&file->ev_queue.lock);
file              386 drivers/infiniband/core/uverbs_main.c 	list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) {
file              391 drivers/infiniband/core/uverbs_main.c 	file->ev_queue.is_closed = 1;
file              392 drivers/infiniband/core/uverbs_main.c 	spin_unlock_irq(&file->ev_queue.lock);
file              452 drivers/infiniband/core/uverbs_main.c static void ib_uverbs_async_handler(struct ib_uverbs_file *file,
file              460 drivers/infiniband/core/uverbs_main.c 	spin_lock_irqsave(&file->async_file->ev_queue.lock, flags);
file              461 drivers/infiniband/core/uverbs_main.c 	if (file->async_file->ev_queue.is_closed) {
file              462 drivers/infiniband/core/uverbs_main.c 		spin_unlock_irqrestore(&file->async_file->ev_queue.lock, flags);
file              468 drivers/infiniband/core/uverbs_main.c 		spin_unlock_irqrestore(&file->async_file->ev_queue.lock, flags);
file              477 drivers/infiniband/core/uverbs_main.c 	list_add_tail(&entry->list, &file->async_file->ev_queue.event_list);
file              480 drivers/infiniband/core/uverbs_main.c 	spin_unlock_irqrestore(&file->async_file->ev_queue.lock, flags);
file              482 drivers/infiniband/core/uverbs_main.c 	wake_up_interruptible(&file->async_file->ev_queue.poll_wait);
file              483 drivers/infiniband/core/uverbs_main.c 	kill_fasync(&file->async_file->ev_queue.async_queue, SIGIO, POLL_IN);
file              537 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file =
file              540 drivers/infiniband/core/uverbs_main.c 	ib_uverbs_async_handler(file, event->element.port_num, event->event,
file              544 drivers/infiniband/core/uverbs_main.c void ib_uverbs_free_async_event_file(struct ib_uverbs_file *file)
file              546 drivers/infiniband/core/uverbs_main.c 	kref_put(&file->async_file->ref, ib_uverbs_release_async_event_file);
file              547 drivers/infiniband/core/uverbs_main.c 	file->async_file = NULL;
file              559 drivers/infiniband/core/uverbs_main.c struct file *ib_uverbs_alloc_async_event_file(struct ib_uverbs_file *uverbs_file,
file              563 drivers/infiniband/core/uverbs_main.c 	struct file *filp;
file              659 drivers/infiniband/core/uverbs_main.c static ssize_t ib_uverbs_write(struct file *filp, const char __user *buf,
file              662 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file = filp->private_data;
file              664 drivers/infiniband/core/uverbs_main.c 	struct uverbs_api *uapi = file->device->uapi;
file              698 drivers/infiniband/core/uverbs_main.c 	srcu_key = srcu_read_lock(&file->device->disassociate_srcu);
file              703 drivers/infiniband/core/uverbs_main.c 	bundle.ufile = file;
file              769 drivers/infiniband/core/uverbs_main.c 	srcu_read_unlock(&file->device->disassociate_srcu, srcu_key);
file              773 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_mmap(struct file *filp, struct vm_area_struct *vma)
file              775 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file = filp->private_data;
file              780 drivers/infiniband/core/uverbs_main.c 	srcu_key = srcu_read_lock(&file->device->disassociate_srcu);
file              781 drivers/infiniband/core/uverbs_main.c 	ucontext = ib_uverbs_get_ucontext_file(file);
file              789 drivers/infiniband/core/uverbs_main.c 	srcu_read_unlock(&file->device->disassociate_srcu, srcu_key);
file             1037 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_open(struct inode *inode, struct file *filp)
file             1040 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file;
file             1077 drivers/infiniband/core/uverbs_main.c 	file = kzalloc(sizeof(*file), GFP_KERNEL);
file             1078 drivers/infiniband/core/uverbs_main.c 	if (!file) {
file             1086 drivers/infiniband/core/uverbs_main.c 	file->device	 = dev;
file             1087 drivers/infiniband/core/uverbs_main.c 	kref_init(&file->ref);
file             1088 drivers/infiniband/core/uverbs_main.c 	mutex_init(&file->ucontext_lock);
file             1090 drivers/infiniband/core/uverbs_main.c 	spin_lock_init(&file->uobjects_lock);
file             1091 drivers/infiniband/core/uverbs_main.c 	INIT_LIST_HEAD(&file->uobjects);
file             1092 drivers/infiniband/core/uverbs_main.c 	init_rwsem(&file->hw_destroy_rwsem);
file             1093 drivers/infiniband/core/uverbs_main.c 	mutex_init(&file->umap_lock);
file             1094 drivers/infiniband/core/uverbs_main.c 	INIT_LIST_HEAD(&file->umaps);
file             1096 drivers/infiniband/core/uverbs_main.c 	filp->private_data = file;
file             1097 drivers/infiniband/core/uverbs_main.c 	list_add_tail(&file->list, &dev->uverbs_file_list);
file             1101 drivers/infiniband/core/uverbs_main.c 	setup_ufile_idr_uobject(file);
file             1118 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_close(struct inode *inode, struct file *filp)
file             1120 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file = filp->private_data;
file             1122 drivers/infiniband/core/uverbs_main.c 	uverbs_destroy_ufile_hw(file, RDMA_REMOVE_CLOSE);
file             1124 drivers/infiniband/core/uverbs_main.c 	mutex_lock(&file->device->lists_mutex);
file             1125 drivers/infiniband/core/uverbs_main.c 	list_del_init(&file->list);
file             1126 drivers/infiniband/core/uverbs_main.c 	mutex_unlock(&file->device->lists_mutex);
file             1128 drivers/infiniband/core/uverbs_main.c 	kref_put(&file->ref, ib_uverbs_release_file);
file             1330 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_file *file;
file             1342 drivers/infiniband/core/uverbs_main.c 		file = list_first_entry(&uverbs_dev->uverbs_file_list,
file             1344 drivers/infiniband/core/uverbs_main.c 		list_del_init(&file->list);
file             1345 drivers/infiniband/core/uverbs_main.c 		kref_get(&file->ref);
file             1354 drivers/infiniband/core/uverbs_main.c 		ib_uverbs_event_handler(&file->event_handler, &event);
file             1355 drivers/infiniband/core/uverbs_main.c 		uverbs_destroy_ufile_hw(file, RDMA_REMOVE_DRIVER_REMOVE);
file             1356 drivers/infiniband/core/uverbs_main.c 		kref_put(&file->ref, ib_uverbs_release_file);
file               84 drivers/infiniband/hw/cxgb4/device.c static ssize_t debugfs_read(struct file *file, char __user *buf, size_t count,
file               87 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *d = file->private_data;
file              173 drivers/infiniband/hw/cxgb4/device.c static int wr_log_open(struct inode *inode, struct file *file)
file              175 drivers/infiniband/hw/cxgb4/device.c 	return single_open(file, wr_log_show, inode->i_private);
file              178 drivers/infiniband/hw/cxgb4/device.c static ssize_t wr_log_clear(struct file *file, const char __user *buf,
file              181 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_dev *dev = ((struct seq_file *)file->private_data)->private;
file              314 drivers/infiniband/hw/cxgb4/device.c static int qp_release(struct inode *inode, struct file *file)
file              316 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *qpd = file->private_data;
file              326 drivers/infiniband/hw/cxgb4/device.c static int qp_open(struct inode *inode, struct file *file)
file              360 drivers/infiniband/hw/cxgb4/device.c 	file->private_data = qpd;
file              407 drivers/infiniband/hw/cxgb4/device.c static int stag_release(struct inode *inode, struct file *file)
file              409 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *stagd = file->private_data;
file              419 drivers/infiniband/hw/cxgb4/device.c static int stag_open(struct inode *inode, struct file *file)
file              451 drivers/infiniband/hw/cxgb4/device.c 	file->private_data = stagd;
file              513 drivers/infiniband/hw/cxgb4/device.c static int stats_open(struct inode *inode, struct file *file)
file              515 drivers/infiniband/hw/cxgb4/device.c 	return single_open(file, stats_show, inode->i_private);
file              518 drivers/infiniband/hw/cxgb4/device.c static ssize_t stats_clear(struct file *file, const char __user *buf,
file              521 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_dev *dev = ((struct seq_file *)file->private_data)->private;
file              657 drivers/infiniband/hw/cxgb4/device.c static int ep_release(struct inode *inode, struct file *file)
file              659 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *epd = file->private_data;
file              669 drivers/infiniband/hw/cxgb4/device.c static int ep_open(struct inode *inode, struct file *file)
file              713 drivers/infiniband/hw/cxgb4/device.c 	file->private_data = epd;
file               68 drivers/infiniband/hw/hfi1/debugfs.c ssize_t hfi1_seq_read(struct file *file, char __user *buf, size_t size,
file               71 drivers/infiniband/hw/hfi1/debugfs.c 	struct dentry *d = file->f_path.dentry;
file               77 drivers/infiniband/hw/hfi1/debugfs.c 	r = seq_read(file, buf, size, ppos);
file               82 drivers/infiniband/hw/hfi1/debugfs.c loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence)
file               84 drivers/infiniband/hw/hfi1/debugfs.c 	struct dentry *d = file->f_path.dentry;
file               90 drivers/infiniband/hw/hfi1/debugfs.c 	r = seq_lseek(file, offset, whence);
file               95 drivers/infiniband/hw/hfi1/debugfs.c #define private2dd(file) (file_inode(file)->i_private)
file               96 drivers/infiniband/hw/hfi1/debugfs.c #define private2ppd(file) (file_inode(file)->i_private)
file              459 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t dev_counters_read(struct file *file, char __user *buf,
file              467 drivers/infiniband/hw/hfi1/debugfs.c 	dd = private2dd(file);
file              474 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t dev_names_read(struct file *file, char __user *buf,
file              482 drivers/infiniband/hw/hfi1/debugfs.c 	dd = private2dd(file);
file              499 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t portnames_read(struct file *file, char __user *buf,
file              507 drivers/infiniband/hw/hfi1/debugfs.c 	dd = private2dd(file);
file              514 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t portcntrs_debugfs_read(struct file *file, char __user *buf,
file              522 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              542 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t asic_flags_read(struct file *file, char __user *buf,
file              554 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              591 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t asic_flags_write(struct file *file, const char __user *buf,
file              602 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              637 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t dc8051_memory_read(struct file *file, char __user *buf,
file              640 drivers/infiniband/hw/hfi1/debugfs.c 	struct hfi1_pportdata *ppd = private2ppd(file);
file              677 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t debugfs_lcb_read(struct file *file, char __user *buf,
file              680 drivers/infiniband/hw/hfi1/debugfs.c 	struct hfi1_pportdata *ppd = private2ppd(file);
file              711 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t debugfs_lcb_write(struct file *file, const char __user *buf,
file              714 drivers/infiniband/hw/hfi1/debugfs.c 	struct hfi1_pportdata *ppd = private2ppd(file);
file              747 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t qsfp_debugfs_dump(struct file *file, char __user *buf,
file              754 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              767 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t __i2c_debugfs_write(struct file *file, const char __user *buf,
file              777 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              807 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t i2c1_debugfs_write(struct file *file, const char __user *buf,
file              810 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_write(file, buf, count, ppos, 0);
file              814 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t i2c2_debugfs_write(struct file *file, const char __user *buf,
file              817 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_write(file, buf, count, ppos, 1);
file              821 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t __i2c_debugfs_read(struct file *file, char __user *buf,
file              831 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              867 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t i2c1_debugfs_read(struct file *file, char __user *buf,
file              870 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_read(file, buf, count, ppos, 0);
file              874 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t i2c2_debugfs_read(struct file *file, char __user *buf,
file              877 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_read(file, buf, count, ppos, 1);
file              881 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t __qsfp_debugfs_write(struct file *file, const char __user *buf,
file              892 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              914 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t qsfp1_debugfs_write(struct file *file, const char __user *buf,
file              917 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_write(file, buf, count, ppos, 0);
file              921 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t qsfp2_debugfs_write(struct file *file, const char __user *buf,
file              924 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_write(file, buf, count, ppos, 1);
file              928 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t __qsfp_debugfs_read(struct file *file, char __user *buf,
file              941 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(file);
file              972 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t qsfp1_debugfs_read(struct file *file, char __user *buf,
file              975 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_read(file, buf, count, ppos, 0);
file              979 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t qsfp2_debugfs_read(struct file *file, char __user *buf,
file              982 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_read(file, buf, count, ppos, 1);
file              985 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_open(struct inode *in, struct file *fp, u32 target)
file              999 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_open(struct inode *in, struct file *fp)
file             1004 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_open(struct inode *in, struct file *fp)
file             1009 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_release(struct inode *in, struct file *fp, u32 target)
file             1021 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_release(struct inode *in, struct file *fp)
file             1026 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_release(struct inode *in, struct file *fp)
file             1031 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_open(struct inode *in, struct file *fp, u32 target)
file             1048 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_open(struct inode *in, struct file *fp)
file             1053 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_open(struct inode *in, struct file *fp)
file             1058 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_release(struct inode *in, struct file *fp, u32 target)
file             1070 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_release(struct inode *in, struct file *fp)
file             1075 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_release(struct inode *in, struct file *fp)
file             1103 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t exprom_wp_debugfs_read(struct file *file, char __user *buf,
file             1109 drivers/infiniband/hw/hfi1/debugfs.c static ssize_t exprom_wp_debugfs_write(struct file *file,
file             1113 drivers/infiniband/hw/hfi1/debugfs.c 	struct hfi1_pportdata *ppd = private2ppd(file);
file             1132 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_open(struct inode *in, struct file *fp)
file             1140 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_release(struct inode *in, struct file *fp)
file               61 drivers/infiniband/hw/hfi1/debugfs.h static int _##name##_open(struct inode *inode, struct file *s) \
file               83 drivers/infiniband/hw/hfi1/debugfs.h ssize_t hfi1_seq_read(struct file *file, char __user *buf, size_t size,
file               85 drivers/infiniband/hw/hfi1/debugfs.h loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence);
file              125 drivers/infiniband/hw/hfi1/fault.c static int fault_opcodes_open(struct inode *inode, struct file *file)
file              127 drivers/infiniband/hw/hfi1/fault.c 	file->private_data = inode->i_private;
file              128 drivers/infiniband/hw/hfi1/fault.c 	return nonseekable_open(inode, file);
file              131 drivers/infiniband/hw/hfi1/fault.c static ssize_t fault_opcodes_write(struct file *file, const char __user *buf,
file              138 drivers/infiniband/hw/hfi1/fault.c 	struct fault *fault = file->private_data;
file              149 drivers/infiniband/hw/hfi1/fault.c 	ret = debugfs_file_get(file->f_path.dentry);
file              199 drivers/infiniband/hw/hfi1/fault.c 	debugfs_file_put(file->f_path.dentry);
file              205 drivers/infiniband/hw/hfi1/fault.c static ssize_t fault_opcodes_read(struct file *file, char __user *buf,
file              212 drivers/infiniband/hw/hfi1/fault.c 	struct fault *fault = file->private_data;
file              218 drivers/infiniband/hw/hfi1/fault.c 	ret = debugfs_file_get(file->f_path.dentry);
file              234 drivers/infiniband/hw/hfi1/fault.c 	debugfs_file_put(file->f_path.dentry);
file               74 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_open(struct inode *inode, struct file *fp);
file               75 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_close(struct inode *inode, struct file *fp);
file               77 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t hfi1_poll(struct file *fp, struct poll_table_struct *pt);
file               78 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma);
file              105 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_urgent(struct file *fp, struct poll_table_struct *pt);
file              106 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_next(struct file *fp, struct poll_table_struct *pt);
file              114 drivers/infiniband/hw/hfi1/file_ops.c static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
file              186 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_open(struct inode *inode, struct file *fp)
file              223 drivers/infiniband/hw/hfi1/file_ops.c static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
file              350 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma)
file              619 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t hfi1_poll(struct file *fp, struct poll_table_struct *pt)
file              637 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_close(struct inode *inode, struct file *fp)
file             1444 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_urgent(struct file *fp,
file             1467 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_next(struct file *fp,
file               60 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj,
file              109 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj,
file              329 drivers/infiniband/hw/mlx5/cong.c static ssize_t set_param(struct file *filp, const char __user *buf,
file              353 drivers/infiniband/hw/mlx5/cong.c static ssize_t get_param(struct file *filp, char __user *buf, size_t count,
file               75 drivers/infiniband/hw/mlx5/devx.c 	struct file *filp; /* Upon hot unplug we need a direct access to */
file             2445 drivers/infiniband/hw/mlx5/devx.c static ssize_t devx_async_cmd_event_read(struct file *filp, char __user *buf,
file             2499 drivers/infiniband/hw/mlx5/devx.c static int devx_async_cmd_event_close(struct inode *inode, struct file *filp)
file             2516 drivers/infiniband/hw/mlx5/devx.c static __poll_t devx_async_cmd_event_poll(struct file *filp,
file             2543 drivers/infiniband/hw/mlx5/devx.c static ssize_t devx_async_event_read(struct file *filp, char __user *buf,
file             2625 drivers/infiniband/hw/mlx5/devx.c static __poll_t devx_async_event_poll(struct file *filp,
file             2643 drivers/infiniband/hw/mlx5/devx.c static int devx_async_event_close(struct inode *inode, struct file *filp)
file             5725 drivers/infiniband/hw/mlx5/main.c static ssize_t delay_drop_timeout_read(struct file *filp, char __user *buf,
file             5736 drivers/infiniband/hw/mlx5/main.c static ssize_t delay_drop_timeout_write(struct file *filp, const char __user *buf,
file              230 drivers/infiniband/hw/mlx5/mr.c static ssize_t size_write(struct file *filp, const char __user *buf,
file              267 drivers/infiniband/hw/mlx5/mr.c static ssize_t size_read(struct file *filp, char __user *buf, size_t count,
file              288 drivers/infiniband/hw/mlx5/mr.c static ssize_t limit_write(struct file *filp, const char __user *buf,
file              321 drivers/infiniband/hw/mlx5/mr.c static ssize_t limit_read(struct file *filp, char __user *buf, size_t count,
file              634 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static ssize_t ocrdma_dbgfs_ops_write(struct file *filp,
file              689 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static ssize_t ocrdma_dbgfs_ops_read(struct file *filp, char __user *buffer,
file               50 drivers/infiniband/hw/qib/qib_debugfs.c static int _##name##_open(struct inode *inode, struct file *s) \
file              131 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp);
file              132 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp);
file              133 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_read(struct file *fp, char __user *data,
file              135 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_write(struct file *fp, const char __user *data,
file              151 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diagpkt_write(struct file *fp, const char __user *data,
file              508 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp)
file              547 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diagpkt_write(struct file *fp,
file              676 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp)
file              759 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_read(struct file *fp, char __user *data,
file              833 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_write(struct file *fp, const char __user *data,
file               57 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_open(struct inode *, struct file *);
file               58 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_close(struct inode *, struct file *);
file               59 drivers/infiniband/hw/qib/qib_file_ops.c static ssize_t qib_write(struct file *, const char __user *, size_t, loff_t *);
file               61 drivers/infiniband/hw/qib/qib_file_ops.c static __poll_t qib_poll(struct file *, struct poll_table_struct *);
file               62 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_mmapf(struct file *, struct vm_area_struct *);
file               98 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_get_base_info(struct file *fp, void __user *ubase,
file              284 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_tid_update(struct qib_ctxtdata *rcd, struct file *fp,
file              975 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_mmapf(struct file *fp, struct vm_area_struct *vma)
file             1082 drivers/infiniband/hw/qib/qib_file_ops.c 				    struct file *fp,
file             1104 drivers/infiniband/hw/qib/qib_file_ops.c 				  struct file *fp,
file             1124 drivers/infiniband/hw/qib/qib_file_ops.c static __poll_t qib_poll(struct file *fp, struct poll_table_struct *pt)
file             1142 drivers/infiniband/hw/qib/qib_file_ops.c static void assign_ctxt_affinity(struct file *fp, struct qib_devdata *dd)
file             1285 drivers/infiniband/hw/qib/qib_file_ops.c 		      struct file *fp, const struct qib_user_info *uinfo)
file             1354 drivers/infiniband/hw/qib/qib_file_ops.c static int choose_port_ctxt(struct file *fp, struct qib_devdata *dd, u32 port,
file             1391 drivers/infiniband/hw/qib/qib_file_ops.c static int find_free_ctxt(int unit, struct file *fp,
file             1405 drivers/infiniband/hw/qib/qib_file_ops.c static int get_a_ctxt(struct file *fp, const struct qib_user_info *uinfo,
file             1475 drivers/infiniband/hw/qib/qib_file_ops.c static int find_shared_ctxt(struct file *fp,
file             1519 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_open(struct inode *in, struct file *fp)
file             1562 drivers/infiniband/hw/qib/qib_file_ops.c static int do_qib_user_sdma_queue_create(struct file *fp)
file             1584 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_assign_ctxt(struct file *fp, const struct qib_user_info *uinfo)
file             1649 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_do_user_init(struct file *fp,
file             1790 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_close(struct inode *in, struct file *fp)
file             1878 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo)
file             2033 drivers/infiniband/hw/qib/qib_file_ops.c static ssize_t qib_write(struct file *fp, const char __user *data,
file               49 drivers/infiniband/hw/qib/qib_fs.c #define private2dd(file) (file_inode(file)->i_private)
file              105 drivers/infiniband/hw/qib/qib_fs.c static ssize_t driver_stats_read(struct file *file, char __user *buf,
file              133 drivers/infiniband/hw/qib/qib_fs.c static ssize_t driver_names_read(struct file *file, char __user *buf,
file              146 drivers/infiniband/hw/qib/qib_fs.c static ssize_t dev_counters_read(struct file *file, char __user *buf,
file              151 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              158 drivers/infiniband/hw/qib/qib_fs.c static ssize_t dev_names_read(struct file *file, char __user *buf,
file              163 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              180 drivers/infiniband/hw/qib/qib_fs.c static ssize_t portnames_read(struct file *file, char __user *buf,
file              185 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              192 drivers/infiniband/hw/qib/qib_fs.c static ssize_t portcntrs_1_read(struct file *file, char __user *buf,
file              197 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              204 drivers/infiniband/hw/qib/qib_fs.c static ssize_t portcntrs_2_read(struct file *file, char __user *buf,
file              209 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              224 drivers/infiniband/hw/qib/qib_fs.c static ssize_t qsfp_1_read(struct file *file, char __user *buf,
file              227 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              245 drivers/infiniband/hw/qib/qib_fs.c static ssize_t qsfp_2_read(struct file *file, char __user *buf,
file              248 drivers/infiniband/hw/qib/qib_fs.c 	struct qib_devdata *dd = private2dd(file);
file              271 drivers/infiniband/hw/qib/qib_fs.c static ssize_t flash_read(struct file *file, char __user *buf,
file              300 drivers/infiniband/hw/qib/qib_fs.c 	dd = private2dd(file);
file              322 drivers/infiniband/hw/qib/qib_fs.c static ssize_t flash_write(struct file *file, const char __user *buf,
file              339 drivers/infiniband/hw/qib/qib_fs.c 	dd = private2dd(file);
file              211 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj,
file              261 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj,
file               46 drivers/infiniband/hw/usnic/usnic_debugfs.c static ssize_t usnic_debugfs_buildinfo_read(struct file *f, char __user *data,
file               69 drivers/infiniband/hw/usnic/usnic_debugfs.c static ssize_t flowinfo_read(struct file *f, char __user *data,
file               58 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void *ipoib_mcg_seq_start(struct seq_file *file, loff_t *pos)
file               63 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	iter = ipoib_mcast_iter_init(file->private);
file               77 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void *ipoib_mcg_seq_next(struct seq_file *file, void *iter_ptr,
file               92 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void ipoib_mcg_seq_stop(struct seq_file *file, void *iter_ptr)
file               97 drivers/infiniband/ulp/ipoib/ipoib_fs.c static int ipoib_mcg_seq_show(struct seq_file *file, void *iter_ptr)
file              113 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	seq_printf(file,
file              134 drivers/infiniband/ulp/ipoib/ipoib_fs.c static int ipoib_mcg_open(struct inode *inode, struct file *file)
file              139 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	ret = seq_open(file, &ipoib_mcg_seq_ops);
file              143 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	seq = file->private_data;
file              157 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void *ipoib_path_seq_start(struct seq_file *file, loff_t *pos)
file              162 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	iter = ipoib_path_iter_init(file->private);
file              176 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void *ipoib_path_seq_next(struct seq_file *file, void *iter_ptr,
file              191 drivers/infiniband/ulp/ipoib/ipoib_fs.c static void ipoib_path_seq_stop(struct seq_file *file, void *iter_ptr)
file              196 drivers/infiniband/ulp/ipoib/ipoib_fs.c static int ipoib_path_seq_show(struct seq_file *file, void *iter_ptr)
file              210 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	seq_printf(file,
file              218 drivers/infiniband/ulp/ipoib/ipoib_fs.c 		seq_printf(file,
file              227 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	seq_putc(file, '\n');
file              239 drivers/infiniband/ulp/ipoib/ipoib_fs.c static int ipoib_path_open(struct inode *inode, struct file *file)
file              244 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	ret = seq_open(file, &ipoib_path_seq_ops);
file              248 drivers/infiniband/ulp/ipoib/ipoib_fs.c 	seq = file->private_data;
file              322 drivers/input/evdev.c static int evdev_fasync(int fd, struct file *file, int on)
file              324 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file              326 drivers/input/evdev.c 	return fasync_helper(fd, file, on, &client->fasync);
file              435 drivers/input/evdev.c static int evdev_release(struct inode *inode, struct file *file)
file              437 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file              444 drivers/input/evdev.c 		input_flush_device(&evdev->handle, file);
file              470 drivers/input/evdev.c static int evdev_open(struct inode *inode, struct file *file)
file              490 drivers/input/evdev.c 	file->private_data = client;
file              491 drivers/input/evdev.c 	stream_open(inode, file);
file              501 drivers/input/evdev.c static ssize_t evdev_write(struct file *file, const char __user *buffer,
file              504 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file              557 drivers/input/evdev.c static ssize_t evdev_read(struct file *file, char __user *buffer,
file              560 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file              574 drivers/input/evdev.c 		    (file->f_flags & O_NONBLOCK))
file              596 drivers/input/evdev.c 		if (!(file->f_flags & O_NONBLOCK)) {
file              609 drivers/input/evdev.c static __poll_t evdev_poll(struct file *file, poll_table *wait)
file              611 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file              615 drivers/input/evdev.c 	poll_wait(file, &evdev->wait, wait);
file              943 drivers/input/evdev.c 			struct file *file)
file              947 drivers/input/evdev.c 	input_flush_device(&evdev->handle, file);
file             1028 drivers/input/evdev.c static long evdev_do_ioctl(struct file *file, unsigned int cmd,
file             1031 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file             1076 drivers/input/evdev.c 		return input_ff_erase(dev, (int)(unsigned long) p, file);
file             1095 drivers/input/evdev.c 			return evdev_revoke(evdev, client, file);
file             1182 drivers/input/evdev.c 		error = input_ff_upload(dev, &effect, file);
file             1255 drivers/input/evdev.c static long evdev_ioctl_handler(struct file *file, unsigned int cmd,
file             1258 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
file             1271 drivers/input/evdev.c 	retval = evdev_do_ioctl(file, cmd, p, compat_mode);
file             1278 drivers/input/evdev.c static long evdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1280 drivers/input/evdev.c 	return evdev_ioctl_handler(file, cmd, (void __user *)arg, 0);
file             1284 drivers/input/evdev.c static long evdev_ioctl_compat(struct file *file,
file             1287 drivers/input/evdev.c 	return evdev_ioctl_handler(file, cmd, compat_ptr(arg), 1);
file               25 drivers/input/ff-core.c 				struct file *file)
file               31 drivers/input/ff-core.c 	if (file && ff->effect_owners[effect_id] != file)
file               93 drivers/input/ff-core.c 		    struct file *file)
file              141 drivers/input/ff-core.c 		ret = check_effect_access(ff, id, file);
file              159 drivers/input/ff-core.c 	ff->effect_owners[id] = file;
file              173 drivers/input/ff-core.c 			struct file *file)
file              178 drivers/input/ff-core.c 	error = check_effect_access(ff, effect_id, file);
file              191 drivers/input/ff-core.c 			ff->effect_owners[effect_id] = file;
file              211 drivers/input/ff-core.c int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file)
file              220 drivers/input/ff-core.c 	ret = erase_effect(dev, effect_id, file);
file              236 drivers/input/ff-core.c int input_ff_flush(struct input_dev *dev, struct file *file)
file              246 drivers/input/ff-core.c 		erase_effect(dev, i, file);
file              322 drivers/input/ff-core.c 				max_effects * sizeof(struct file *);
file              646 drivers/input/input.c int input_flush_device(struct input_handle *handle, struct file *file)
file              656 drivers/input/input.c 		retval = dev->flush(dev, file);
file             1086 drivers/input/input.c static __poll_t input_proc_devices_poll(struct file *file, poll_table *wait)
file             1088 drivers/input/input.c 	poll_wait(file, &input_devices_poll_wait, wait);
file             1089 drivers/input/input.c 	if (file->f_version != input_devices_state) {
file             1090 drivers/input/input.c 		file->f_version = input_devices_state;
file             1215 drivers/input/input.c static int input_proc_devices_open(struct inode *inode, struct file *file)
file             1217 drivers/input/input.c 	return seq_open(file, &input_devices_seq_ops);
file             1279 drivers/input/input.c static int input_proc_handlers_open(struct inode *inode, struct file *file)
file             1281 drivers/input/input.c 	return seq_open(file, &input_handlers_seq_ops);
file              154 drivers/input/joydev.c static int joydev_fasync(int fd, struct file *file, int on)
file              156 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              158 drivers/input/joydev.c 	return fasync_helper(fd, file, on, &client->fasync);
file              245 drivers/input/joydev.c static int joydev_release(struct inode *inode, struct file *file)
file              247 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              258 drivers/input/joydev.c static int joydev_open(struct inode *inode, struct file *file)
file              277 drivers/input/joydev.c 	file->private_data = client;
file              278 drivers/input/joydev.c 	stream_open(inode, file);
file              384 drivers/input/joydev.c static ssize_t joydev_read(struct file *file, char __user *buf,
file              387 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              402 drivers/input/joydev.c 	if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK))
file              435 drivers/input/joydev.c static __poll_t joydev_poll(struct file *file, poll_table *wait)
file              437 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              440 drivers/input/joydev.c 	poll_wait(file, &joydev->wait, wait);
file              593 drivers/input/joydev.c static long joydev_compat_ioctl(struct file *file,
file              596 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              660 drivers/input/joydev.c static long joydev_ioctl(struct file *file,
file              663 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
file              957 drivers/input/keyboard/applespi.c static int applespi_tp_dim_open(struct inode *inode, struct file *file)
file              961 drivers/input/keyboard/applespi.c 	file->private_data = applespi;
file              970 drivers/input/keyboard/applespi.c 	return nonseekable_open(inode, file);
file              973 drivers/input/keyboard/applespi.c static ssize_t applespi_tp_dim_read(struct file *file, char __user *buf,
file              976 drivers/input/keyboard/applespi.c 	struct applespi_data *applespi = file->private_data;
file               67 drivers/input/misc/hp_sdc_rtc.c static ssize_t hp_sdc_rtc_read(struct file *file, char __user *buf,
file               70 drivers/input/misc/hp_sdc_rtc.c static long hp_sdc_rtc_unlocked_ioctl(struct file *file,
file               73 drivers/input/misc/hp_sdc_rtc.c static unsigned int hp_sdc_rtc_poll(struct file *file, poll_table *wait);
file               75 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_open(struct inode *inode, struct file *file);
file               76 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on);
file              400 drivers/input/misc/hp_sdc_rtc.c static ssize_t hp_sdc_rtc_read(struct file *file, char __user *buf,
file              411 drivers/input/misc/hp_sdc_rtc.c static __poll_t hp_sdc_rtc_poll(struct file *file, poll_table *wait)
file              421 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_open(struct inode *inode, struct file *file)
file              426 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on)
file              510 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_ioctl(struct file *file, 
file              657 drivers/input/misc/hp_sdc_rtc.c static long hp_sdc_rtc_unlocked_ioctl(struct file *file,
file              663 drivers/input/misc/hp_sdc_rtc.c 	ret = hp_sdc_rtc_ioctl(file, cmd, arg);
file              273 drivers/input/misc/uinput.c static int uinput_dev_flush(struct input_dev *dev, struct file *file)
file              282 drivers/input/misc/uinput.c 	return file ? input_ff_flush(dev, file) : 0;
file              377 drivers/input/misc/uinput.c static int uinput_open(struct inode *inode, struct file *file)
file              391 drivers/input/misc/uinput.c 	file->private_data = newdev;
file              392 drivers/input/misc/uinput.c 	stream_open(inode, file);
file              599 drivers/input/misc/uinput.c static ssize_t uinput_write(struct file *file, const char __user *buffer,
file              602 drivers/input/misc/uinput.c 	struct uinput_device *udev = file->private_data;
file              657 drivers/input/misc/uinput.c static ssize_t uinput_read(struct file *file, char __user *buffer,
file              660 drivers/input/misc/uinput.c 	struct uinput_device *udev = file->private_data;
file              674 drivers/input/misc/uinput.c 			 (file->f_flags & O_NONBLOCK))
file              684 drivers/input/misc/uinput.c 		if (!(file->f_flags & O_NONBLOCK))
file              693 drivers/input/misc/uinput.c static __poll_t uinput_poll(struct file *file, poll_table *wait)
file              695 drivers/input/misc/uinput.c 	struct uinput_device *udev = file->private_data;
file              697 drivers/input/misc/uinput.c 	poll_wait(file, &udev->waitq, wait);
file              705 drivers/input/misc/uinput.c static int uinput_release(struct inode *inode, struct file *file)
file              707 drivers/input/misc/uinput.c 	struct uinput_device *udev = file->private_data;
file              838 drivers/input/misc/uinput.c static long uinput_ioctl_handler(struct file *file, unsigned int cmd,
file              842 drivers/input/misc/uinput.c 	struct uinput_device	*udev = file->private_data;
file             1038 drivers/input/misc/uinput.c static long uinput_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1040 drivers/input/misc/uinput.c 	return uinput_ioctl_handler(file, cmd, arg, (void __user *)arg);
file             1056 drivers/input/misc/uinput.c static long uinput_compat_ioctl(struct file *file,
file             1071 drivers/input/misc/uinput.c 	return uinput_ioctl_handler(file, cmd, arg, compat_ptr(arg));
file              404 drivers/input/mousedev.c static int mousedev_fasync(int fd, struct file *file, int on)
file              406 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
file              408 drivers/input/mousedev.c 	return fasync_helper(fd, file, on, &client->fasync);
file              520 drivers/input/mousedev.c static int mousedev_release(struct inode *inode, struct file *file)
file              522 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
file              533 drivers/input/mousedev.c static int mousedev_open(struct inode *inode, struct file *file)
file              560 drivers/input/mousedev.c 	file->private_data = client;
file              561 drivers/input/mousedev.c 	stream_open(inode, file);
file              674 drivers/input/mousedev.c static ssize_t mousedev_write(struct file *file, const char __user *buffer,
file              677 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
file              716 drivers/input/mousedev.c static ssize_t mousedev_read(struct file *file, char __user *buffer,
file              719 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
file              725 drivers/input/mousedev.c 	    (file->f_flags & O_NONBLOCK))
file              758 drivers/input/mousedev.c static __poll_t mousedev_poll(struct file *file, poll_table *wait)
file              760 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
file              764 drivers/input/mousedev.c 	poll_wait(file, &mousedev->wait, wait);
file              369 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_querycap(struct file *file, void *priv,
file              372 drivers/input/rmi4/rmi_f54.c 	struct f54_data *f54 = video_drvdata(file);
file              382 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_enum_input(struct file *file, void *priv,
file              385 drivers/input/rmi4/rmi_f54.c 	struct f54_data *f54 = video_drvdata(file);
file              428 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              430 drivers/input/rmi4/rmi_f54.c 	return rmi_f54_set_input(video_drvdata(file), i);
file              433 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_g_input(struct file *file, void *priv,
file              436 drivers/input/rmi4/rmi_f54.c 	struct f54_data *f54 = video_drvdata(file);
file              443 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_fmt(struct file *file, void *priv,
file              446 drivers/input/rmi4/rmi_f54.c 	struct f54_data *f54 = video_drvdata(file);
file              453 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_enum_fmt(struct file *file, void *priv,
file              456 drivers/input/rmi4/rmi_f54.c 	struct f54_data *f54 = video_drvdata(file);
file              469 drivers/input/rmi4/rmi_f54.c static int rmi_f54_vidioc_g_parm(struct file *file, void *fh,
file               55 drivers/input/serio/serio_raw.c static int serio_raw_fasync(int fd, struct file *file, int on)
file               57 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
file               59 drivers/input/serio/serio_raw.c 	return fasync_helper(fd, file, on, &client->fasync);
file               74 drivers/input/serio/serio_raw.c static int serio_raw_open(struct inode *inode, struct file *file)
file              102 drivers/input/serio/serio_raw.c 	file->private_data = client;
file              124 drivers/input/serio/serio_raw.c static int serio_raw_release(struct inode *inode, struct file *file)
file              126 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
file              157 drivers/input/serio/serio_raw.c static ssize_t serio_raw_read(struct file *file, char __user *buffer,
file              160 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
file              171 drivers/input/serio/serio_raw.c 		    (file->f_flags & O_NONBLOCK))
file              186 drivers/input/serio/serio_raw.c 		if (!(file->f_flags & O_NONBLOCK)) {
file              198 drivers/input/serio/serio_raw.c static ssize_t serio_raw_write(struct file *file, const char __user *buffer,
file              201 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
file              239 drivers/input/serio/serio_raw.c static __poll_t serio_raw_poll(struct file *file, poll_table *wait)
file              241 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
file              245 drivers/input/serio/serio_raw.c 	poll_wait(file, &serio_raw->wait, wait);
file              159 drivers/input/serio/serport.c static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, unsigned char __user * buf, size_t nr)
file              207 drivers/input/serio/serport.c static int serport_ldisc_ioctl(struct tty_struct *tty, struct file *file,
file              226 drivers/input/serio/serport.c 				       struct file *file,
file               76 drivers/input/serio/userio.c static int userio_char_open(struct inode *inode, struct file *file)
file               97 drivers/input/serio/userio.c 	file->private_data = userio;
file              102 drivers/input/serio/userio.c static int userio_char_release(struct inode *inode, struct file *file)
file              104 drivers/input/serio/userio.c 	struct userio_device *userio = file->private_data;
file              121 drivers/input/serio/userio.c static ssize_t userio_char_read(struct file *file, char __user *user_buffer,
file              124 drivers/input/serio/userio.c 	struct userio_device *userio = file->private_data;
file              156 drivers/input/serio/userio.c 		if (file->f_flags & O_NONBLOCK)
file              179 drivers/input/serio/userio.c static ssize_t userio_char_write(struct file *file, const char __user *buffer,
file              182 drivers/input/serio/userio.c 	struct userio_device *userio = file->private_data;
file              251 drivers/input/serio/userio.c static __poll_t userio_char_poll(struct file *file, poll_table *wait)
file              253 drivers/input/serio/userio.c 	struct userio_device *userio = file->private_data;
file              255 drivers/input/serio/userio.c 	poll_wait(file, &userio->waitq, wait);
file             2403 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_querycap(struct file *file, void *priv,
file             2406 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = video_drvdata(file);
file             2415 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_enum_input(struct file *file, void *priv,
file             2460 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             2462 drivers/input/touchscreen/atmel_mxt_ts.c 	return mxt_set_input(video_drvdata(file), i);
file             2465 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             2467 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = video_drvdata(file);
file             2474 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             2476 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = video_drvdata(file);
file             2484 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_enum_fmt(struct file *file, void *priv,
file             2506 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_vidioc_g_parm(struct file *file, void *fh,
file              679 drivers/input/touchscreen/edt-ft5x06.c static ssize_t edt_ft5x06_debugfs_raw_data_read(struct file *file,
file              682 drivers/input/touchscreen/edt-ft5x06.c 	struct edt_ft5x06_ts_data *tsdata = file->private_data;
file              924 drivers/input/touchscreen/sur40.c static int sur40_vidioc_querycap(struct file *file, void *priv,
file              927 drivers/input/touchscreen/sur40.c 	struct sur40_state *sur40 = video_drvdata(file);
file              935 drivers/input/touchscreen/sur40.c static int sur40_vidioc_enum_input(struct file *file, void *priv,
file              947 drivers/input/touchscreen/sur40.c static int sur40_vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              952 drivers/input/touchscreen/sur40.c static int sur40_vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              958 drivers/input/touchscreen/sur40.c static int sur40_vidioc_try_fmt(struct file *file, void *priv,
file              974 drivers/input/touchscreen/sur40.c static int sur40_vidioc_s_fmt(struct file *file, void *priv,
file              977 drivers/input/touchscreen/sur40.c 	struct sur40_state *sur40 = video_drvdata(file);
file              993 drivers/input/touchscreen/sur40.c static int sur40_vidioc_g_fmt(struct file *file, void *priv,
file              996 drivers/input/touchscreen/sur40.c 	struct sur40_state *sur40 = video_drvdata(file);
file             1027 drivers/input/touchscreen/sur40.c static int sur40_ioctl_parm(struct file *file, void *priv,
file             1040 drivers/input/touchscreen/sur40.c static int sur40_vidioc_enum_fmt(struct file *file, void *priv,
file             1051 drivers/input/touchscreen/sur40.c static int sur40_vidioc_enum_framesizes(struct file *file, void *priv,
file             1054 drivers/input/touchscreen/sur40.c 	struct sur40_state *sur40 = video_drvdata(file);
file             1066 drivers/input/touchscreen/sur40.c static int sur40_vidioc_enum_frameintervals(struct file *file, void *priv,
file             1069 drivers/input/touchscreen/sur40.c 	struct sur40_state *sur40 = video_drvdata(file);
file               83 drivers/iommu/omap-iommu-debug.c static ssize_t debug_read_regs(struct file *file, char __user *userbuf,
file               86 drivers/iommu/omap-iommu-debug.c 	struct omap_iommu *obj = file->private_data;
file               86 drivers/ipack/devices/ipoctal.c static int ipoctal_open(struct tty_struct *tty, struct file *file)
file               97 drivers/ipack/devices/ipoctal.c 	err = tty_port_open(&channel->tty_port, tty, file);
file              122 drivers/ipack/devices/ipoctal.c static void ipoctal_close(struct tty_struct *tty, struct file *filp)
file              647 drivers/isdn/capi/capi.c capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              649 drivers/isdn/capi/capi.c 	struct capidev *cdev = file->private_data;
file              659 drivers/isdn/capi/capi.c 		if (file->f_flags & O_NONBLOCK)
file              682 drivers/isdn/capi/capi.c capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
file              684 drivers/isdn/capi/capi.c 	struct capidev *cdev = file->private_data;
file              737 drivers/isdn/capi/capi.c capi_poll(struct file *file, poll_table *wait)
file              739 drivers/isdn/capi/capi.c 	struct capidev *cdev = file->private_data;
file              745 drivers/isdn/capi/capi.c 	poll_wait(file, &(cdev->recvwait), wait);
file              753 drivers/isdn/capi/capi.c capi_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              755 drivers/isdn/capi/capi.c 	struct capidev *cdev = file->private_data;
file              942 drivers/isdn/capi/capi.c capi_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              947 drivers/isdn/capi/capi.c 	ret = capi_ioctl(file, cmd, arg);
file              953 drivers/isdn/capi/capi.c static int capi_open(struct inode *inode, struct file *file)
file              965 drivers/isdn/capi/capi.c 	file->private_data = cdev;
file              971 drivers/isdn/capi/capi.c 	return stream_open(inode, file);
file              974 drivers/isdn/capi/capi.c static int capi_release(struct inode *inode, struct file *file)
file              976 drivers/isdn/capi/capi.c 	struct capidev *cdev = file->private_data;
file             1026 drivers/isdn/capi/capi.c static int capinc_tty_open(struct tty_struct *tty, struct file *filp)
file             1039 drivers/isdn/capi/capi.c static void capinc_tty_close(struct tty_struct *tty, struct file *filp)
file               44 drivers/isdn/mISDN/timerdev.c mISDN_open(struct inode *ino, struct file *filep)
file               64 drivers/isdn/mISDN/timerdev.c mISDN_close(struct inode *ino, struct file *filep)
file               93 drivers/isdn/mISDN/timerdev.c mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off)
file              136 drivers/isdn/mISDN/timerdev.c mISDN_poll(struct file *filep, poll_table *wait)
file              217 drivers/isdn/mISDN/timerdev.c mISDN_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file              362 drivers/leds/leds-tca6507.c 	u8 file[TCA6507_REG_CNT];
file              367 drivers/leds/leds-tca6507.c 	memcpy(file, tca->reg_file, TCA6507_REG_CNT);
file              373 drivers/leds/leds-tca6507.c 			i2c_smbus_write_byte_data(cl, r, file[r]);
file               52 drivers/leds/uleds.c static int uleds_open(struct inode *inode, struct file *file)
file               67 drivers/leds/uleds.c 	file->private_data = udev;
file               68 drivers/leds/uleds.c 	stream_open(inode, file);
file               73 drivers/leds/uleds.c static ssize_t uleds_write(struct file *file, const char __user *buffer,
file               76 drivers/leds/uleds.c 	struct uleds_device *udev = file->private_data;
file              131 drivers/leds/uleds.c static ssize_t uleds_read(struct file *file, char __user *buffer, size_t count,
file              134 drivers/leds/uleds.c 	struct uleds_device *udev = file->private_data;
file              147 drivers/leds/uleds.c 		} else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) {
file              161 drivers/leds/uleds.c 		if (!(file->f_flags & O_NONBLOCK))
file              170 drivers/leds/uleds.c static __poll_t uleds_poll(struct file *file, poll_table *wait)
file              172 drivers/leds/uleds.c 	struct uleds_device *udev = file->private_data;
file              174 drivers/leds/uleds.c 	poll_wait(file, &udev->waitq, wait);
file              182 drivers/leds/uleds.c static int uleds_release(struct inode *inode, struct file *file)
file              184 drivers/leds/uleds.c 	struct uleds_device *udev = file->private_data;
file             1258 drivers/lightnvm/core.c static long nvm_ioctl_info(struct file *file, void __user *arg)
file             1296 drivers/lightnvm/core.c static long nvm_ioctl_get_devices(struct file *file, void __user *arg)
file             1338 drivers/lightnvm/core.c static long nvm_ioctl_dev_create(struct file *file, void __user *arg)
file             1371 drivers/lightnvm/core.c static long nvm_ioctl_dev_remove(struct file *file, void __user *arg)
file             1389 drivers/lightnvm/core.c static long nvm_ioctl_dev_init(struct file *file, void __user *arg)
file             1405 drivers/lightnvm/core.c static long nvm_ioctl_dev_factory(struct file *file, void __user *arg)
file             1420 drivers/lightnvm/core.c static long nvm_ctl_ioctl(struct file *file, uint cmd, unsigned long arg)
file             1429 drivers/lightnvm/core.c 		return nvm_ioctl_info(file, argp);
file             1431 drivers/lightnvm/core.c 		return nvm_ioctl_get_devices(file, argp);
file             1433 drivers/lightnvm/core.c 		return nvm_ioctl_dev_create(file, argp);
file             1435 drivers/lightnvm/core.c 		return nvm_ioctl_dev_remove(file, argp);
file             1437 drivers/lightnvm/core.c 		return nvm_ioctl_dev_init(file, argp);
file             1439 drivers/lightnvm/core.c 		return nvm_ioctl_dev_factory(file, argp);
file              665 drivers/macintosh/adb.c static int adb_open(struct inode *inode, struct file *file)
file              680 drivers/macintosh/adb.c 	file->private_data = state;
file              692 drivers/macintosh/adb.c static int adb_release(struct inode *inode, struct file *file)
file              694 drivers/macintosh/adb.c 	struct adbdev_state *state = file->private_data;
file              699 drivers/macintosh/adb.c 		file->private_data = NULL;
file              714 drivers/macintosh/adb.c static ssize_t adb_read(struct file *file, char __user *buf,
file              718 drivers/macintosh/adb.c 	struct adbdev_state *state = file->private_data;
file              742 drivers/macintosh/adb.c 		if (file->f_flags & O_NONBLOCK) {
file              772 drivers/macintosh/adb.c static ssize_t adb_write(struct file *file, const char __user *buf,
file              776 drivers/macintosh/adb.c 	struct adbdev_state *state = file->private_data;
file               57 drivers/macintosh/ans-lcd.c anslcd_write( struct file * file, const char __user * buf, 
file               83 drivers/macintosh/ans-lcd.c anslcd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              132 drivers/macintosh/ans-lcd.c anslcd_open( struct inode * inode, struct file * file )
file             1083 drivers/macintosh/smu.c static int smu_open(struct inode *inode, struct file *file)
file             1099 drivers/macintosh/smu.c 	file->private_data = pp;
file             1114 drivers/macintosh/smu.c static ssize_t smu_write(struct file *file, const char __user *buf,
file             1117 drivers/macintosh/smu.c 	struct smu_private *pp = file->private_data;
file             1172 drivers/macintosh/smu.c static ssize_t smu_read_command(struct file *file, struct smu_private *pp,
file             1186 drivers/macintosh/smu.c 		if (file->f_flags & O_NONBLOCK) {
file             1228 drivers/macintosh/smu.c static ssize_t smu_read_events(struct file *file, struct smu_private *pp,
file             1237 drivers/macintosh/smu.c static ssize_t smu_read(struct file *file, char __user *buf,
file             1240 drivers/macintosh/smu.c 	struct smu_private *pp = file->private_data;
file             1243 drivers/macintosh/smu.c 		return smu_read_command(file, pp, buf, count);
file             1245 drivers/macintosh/smu.c 		return smu_read_events(file, pp, buf, count);
file             1250 drivers/macintosh/smu.c static __poll_t smu_fpoll(struct file *file, poll_table *wait)
file             1252 drivers/macintosh/smu.c 	struct smu_private *pp = file->private_data;
file             1260 drivers/macintosh/smu.c 		poll_wait(file, &pp->wait, wait);
file             1273 drivers/macintosh/smu.c static int smu_release(struct inode *inode, struct file *file)
file             1275 drivers/macintosh/smu.c 	struct smu_private *pp = file->private_data;
file             1282 drivers/macintosh/smu.c 	file->private_data = NULL;
file              928 drivers/macintosh/via-pmu.c static int pmu_options_proc_open(struct inode *inode, struct file *file)
file              930 drivers/macintosh/via-pmu.c 	return single_open(file, pmu_options_proc_show, NULL);
file              933 drivers/macintosh/via-pmu.c static ssize_t pmu_options_proc_write(struct file *file,
file             2157 drivers/macintosh/via-pmu.c pmu_open(struct inode *inode, struct file *file)
file             2175 drivers/macintosh/via-pmu.c 	file->private_data = pp;
file             2181 drivers/macintosh/via-pmu.c pmu_read(struct file *file, char __user *buf,
file             2184 drivers/macintosh/via-pmu.c 	struct pmu_private *pp = file->private_data;
file             2216 drivers/macintosh/via-pmu.c 		if (file->f_flags & O_NONBLOCK)
file             2233 drivers/macintosh/via-pmu.c pmu_write(struct file *file, const char __user *buf,
file             2240 drivers/macintosh/via-pmu.c pmu_fpoll(struct file *filp, poll_table *wait)
file             2257 drivers/macintosh/via-pmu.c pmu_release(struct inode *inode, struct file *file)
file             2259 drivers/macintosh/via-pmu.c 	struct pmu_private *pp = file->private_data;
file             2263 drivers/macintosh/via-pmu.c 		file->private_data = NULL;
file             2365 drivers/macintosh/via-pmu.c static int pmu_ioctl(struct file *filp,
file             2430 drivers/macintosh/via-pmu.c static long pmu_unlocked_ioctl(struct file *filp,
file             2450 drivers/macintosh/via-pmu.c static long compat_pmu_ioctl (struct file *filp, u_int cmd, u_long arg)
file              930 drivers/mailbox/bcm-flexrm-mailbox.c 					   struct seq_file *file)
file              936 drivers/mailbox/bcm-flexrm-mailbox.c 	seq_printf(file, "%-5s %-9s %-18s %-10s %-18s %-10s\n",
file              947 drivers/mailbox/bcm-flexrm-mailbox.c 		seq_printf(file,
file              958 drivers/mailbox/bcm-flexrm-mailbox.c 					  struct seq_file *file)
file              964 drivers/mailbox/bcm-flexrm-mailbox.c 	seq_printf(file, "%-5s %-10s %-10s %-10s %-11s %-11s\n",
file              975 drivers/mailbox/bcm-flexrm-mailbox.c 		seq_printf(file, "%-5d 0x%08x 0x%08x 0x%08x %-11d %-11d\n",
file             1164 drivers/mailbox/bcm-flexrm-mailbox.c static int flexrm_debugfs_conf_show(struct seq_file *file, void *offset)
file             1166 drivers/mailbox/bcm-flexrm-mailbox.c 	struct flexrm_mbox *mbox = dev_get_drvdata(file->private);
file             1169 drivers/mailbox/bcm-flexrm-mailbox.c 	flexrm_write_config_in_seqfile(mbox, file);
file             1174 drivers/mailbox/bcm-flexrm-mailbox.c static int flexrm_debugfs_stats_show(struct seq_file *file, void *offset)
file             1176 drivers/mailbox/bcm-flexrm-mailbox.c 	struct flexrm_mbox *mbox = dev_get_drvdata(file->private);
file             1179 drivers/mailbox/bcm-flexrm-mailbox.c 	flexrm_write_stats_in_seqfile(mbox, file);
file              424 drivers/mailbox/bcm-pdc-mailbox.c static ssize_t pdc_debugfs_read(struct file *filp, char __user *ubuf,
file               46 drivers/mailbox/mailbox-test.c static ssize_t mbox_test_signal_write(struct file *filp,
file               86 drivers/mailbox/mailbox-test.c static int mbox_test_message_fasync(int fd, struct file *filp, int on)
file               93 drivers/mailbox/mailbox-test.c static ssize_t mbox_test_message_write(struct file *filp,
file              162 drivers/mailbox/mailbox-test.c static ssize_t mbox_test_message_read(struct file *filp, char __user *userbuf,
file              235 drivers/mailbox/mailbox-test.c mbox_test_message_poll(struct file *filp, struct poll_table_struct *wait)
file              198 drivers/md/bcache/closure.c static int debug_seq_open(struct inode *inode, struct file *file)
file              200 drivers/md/bcache/closure.c 	return single_open(file, debug_seq_show, NULL);
file              171 drivers/md/bcache/debug.c static ssize_t bch_dump_read(struct file *file, char __user *buf,
file              174 drivers/md/bcache/debug.c 	struct dump_iterator *i = file->private_data;
file              206 drivers/md/bcache/debug.c static int bch_dump_open(struct inode *inode, struct file *file)
file              215 drivers/md/bcache/debug.c 	file->private_data = i;
file              223 drivers/md/bcache/debug.c static int bch_dump_release(struct inode *inode, struct file *file)
file              225 drivers/md/bcache/debug.c 	kfree(file->private_data);
file               51 drivers/md/bcache/sysfs.h #define sysfs_printf(file, fmt, ...)					\
file               53 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file)					\
file               57 drivers/md/bcache/sysfs.h #define sysfs_print(file, var)						\
file               59 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file)					\
file               63 drivers/md/bcache/sysfs.h #define sysfs_hprint(file, val)						\
file               65 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file) {					\
file               76 drivers/md/bcache/sysfs.h #define sysfs_strtoul(file, var)					\
file               78 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file)					\
file               82 drivers/md/bcache/sysfs.h #define sysfs_strtoul_bool(file, var)					\
file               84 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file) {					\
file               92 drivers/md/bcache/sysfs.h #define sysfs_strtoul_clamp(file, var, min, max)			\
file               94 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file) {					\
file              122 drivers/md/bcache/sysfs.h #define sysfs_hatoi(file, var)						\
file              124 drivers/md/bcache/sysfs.h 	if (attr == &sysfs_ ## file)					\
file              467 drivers/md/dm-ioctl.c typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size);
file              469 drivers/md/dm-ioctl.c static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              506 drivers/md/dm-ioctl.c static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              657 drivers/md/dm-ioctl.c static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              662 drivers/md/dm-ioctl.c static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              771 drivers/md/dm-ioctl.c static int dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              863 drivers/md/dm-ioctl.c static int dev_remove(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              928 drivers/md/dm-ioctl.c static int dev_rename(struct file *filp, struct dm_ioctl *param, size_t param_size)
file              958 drivers/md/dm-ioctl.c static int dev_set_geometry(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1107 drivers/md/dm-ioctl.c static int dev_suspend(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1119 drivers/md/dm-ioctl.c static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1210 drivers/md/dm-ioctl.c static int dev_wait(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1251 drivers/md/dm-ioctl.c static int dev_arm_poll(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1329 drivers/md/dm-ioctl.c static int table_load(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1417 drivers/md/dm-ioctl.c static int table_clear(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1491 drivers/md/dm-ioctl.c static int table_deps(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1517 drivers/md/dm-ioctl.c static int table_status(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1572 drivers/md/dm-ioctl.c static int target_message(struct file *filp, struct dm_ioctl *param, size_t param_size)
file             1841 drivers/md/dm-ioctl.c static int ctl_ioctl(struct file *file, uint command, struct dm_ioctl __user *user)
file             1895 drivers/md/dm-ioctl.c 	r = fn(file, param, input_param_size);
file             1915 drivers/md/dm-ioctl.c static long dm_ctl_ioctl(struct file *file, uint command, ulong u)
file             1917 drivers/md/dm-ioctl.c 	return (long)ctl_ioctl(file, command, (struct dm_ioctl __user *)u);
file             1921 drivers/md/dm-ioctl.c static long dm_compat_ctl_ioctl(struct file *file, uint command, ulong u)
file             1923 drivers/md/dm-ioctl.c 	return (long)dm_ctl_ioctl(file, command, (ulong) compat_ptr(u));
file             1929 drivers/md/dm-ioctl.c static int dm_open(struct inode *inode, struct file *filp)
file             1947 drivers/md/dm-ioctl.c static int dm_release(struct inode *inode, struct file *filp)
file             1953 drivers/md/dm-ioctl.c static __poll_t dm_poll(struct file *filp, poll_table *wait)
file              292 drivers/md/md-bitmap.c 	if (bitmap->storage.file == NULL) {
file              359 drivers/md/md-bitmap.c static int read_page(struct file *file, unsigned long index,
file              365 drivers/md/md-bitmap.c 	struct inode *inode = file_inode(file);
file              431 drivers/md/md-bitmap.c 	if (bitmap->storage.file)
file              593 drivers/md/md-bitmap.c 	if (!bitmap->storage.file && !bitmap->mddev->bitmap_info.offset) {
file              623 drivers/md/md-bitmap.c 	if (bitmap->storage.file) {
file              624 drivers/md/md-bitmap.c 		loff_t isize = i_size_read(bitmap->storage.file->f_mapping->host);
file              627 drivers/md/md-bitmap.c 		err = read_page(bitmap->storage.file, 0,
file              838 drivers/md/md-bitmap.c 	struct file *file;
file              840 drivers/md/md-bitmap.c 	file = store->file;
file              854 drivers/md/md-bitmap.c 	if (file) {
file              855 drivers/md/md-bitmap.c 		struct inode *inode = file_inode(file);
file              857 drivers/md/md-bitmap.c 		fput(file);
file              873 drivers/md/md-bitmap.c 		if (bitmap->storage.file) {
file              876 drivers/md/md-bitmap.c 				ptr = file_path(bitmap->storage.file,
file             1064 drivers/md/md-bitmap.c 	struct file *file;
file             1072 drivers/md/md-bitmap.c 	file = store->file;
file             1074 drivers/md/md-bitmap.c 	if (!file && !bitmap->mddev->bitmap_info.offset) {
file             1093 drivers/md/md-bitmap.c 	if (file && i_size_read(file->f_mapping->host) < store->bytes) {
file             1096 drivers/md/md-bitmap.c 			(unsigned long) i_size_read(file->f_mapping->host),
file             1121 drivers/md/md-bitmap.c 			if (file)
file             1122 drivers/md/md-bitmap.c 				ret = read_page(file, index, bitmap,
file             1192 drivers/md/md-bitmap.c 	if (bitmap->storage.file)
file             1816 drivers/md/md-bitmap.c 	struct file *file = mddev->bitmap_info.file;
file             1822 drivers/md/md-bitmap.c 	BUG_ON(file && mddev->bitmap_info.offset);
file             1851 drivers/md/md-bitmap.c 	bitmap->storage.file = file;
file             1852 drivers/md/md-bitmap.c 	if (file) {
file             1853 drivers/md/md-bitmap.c 		get_file(file);
file             1858 drivers/md/md-bitmap.c 		vfs_fsync(file, 1);
file             2045 drivers/md/md-bitmap.c 	if (bitmap->storage.file) {
file             2047 drivers/md/md-bitmap.c 		seq_file_path(seq, bitmap->storage.file, " \t\n");
file             2076 drivers/md/md-bitmap.c 	if (bitmap->storage.file && !init) {
file             2113 drivers/md/md-bitmap.c 	if (bitmap->mddev->bitmap_info.offset || bitmap->mddev->bitmap_info.file)
file             2135 drivers/md/md-bitmap.c 	store.file = bitmap->storage.file;
file             2136 drivers/md/md-bitmap.c 	bitmap->storage.file = NULL;
file             2261 drivers/md/md-bitmap.c 	if (mddev->bitmap_info.file)
file             2290 drivers/md/md-bitmap.c 	if (mddev->bitmap || mddev->bitmap_info.file ||
file             2303 drivers/md/md-bitmap.c 		if (mddev->bitmap_info.file) {
file             2304 drivers/md/md-bitmap.c 			struct file *f = mddev->bitmap_info.file;
file             2305 drivers/md/md-bitmap.c 			mddev->bitmap_info.file = NULL;
file             2535 drivers/md/md-bitmap.c 	    mddev->bitmap_info.file ||
file              201 drivers/md/md-bitmap.h 		struct file *file;		/* backing disk file */
file             1092 drivers/md/md.c 	if (!mddev->bitmap_info.file && !mddev->bitmap_info.offset)
file             1281 drivers/md/md.c 		    mddev->bitmap_info.file == NULL) {
file             1410 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.file == NULL)
file             1766 drivers/md/md.c 		    mddev->bitmap_info.file == NULL) {
file             1942 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.file == NULL) {
file             2131 drivers/md/md.c 	if (bitmap && !rdev->mddev->bitmap_info.file &&
file             5756 drivers/md/md.c 	    (mddev->bitmap_info.file || mddev->bitmap_info.offset)) {
file             6213 drivers/md/md.c 		if (mddev->bitmap_info.file) {
file             6214 drivers/md/md.c 			struct file *f = mddev->bitmap_info.file;
file             6216 drivers/md/md.c 			mddev->bitmap_info.file = NULL;
file             6424 drivers/md/md.c 	mdu_bitmap_file_t *file = NULL; /* too big for stack allocation */
file             6428 drivers/md/md.c 	file = kzalloc(sizeof(*file), GFP_NOIO);
file             6429 drivers/md/md.c 	if (!file)
file             6435 drivers/md/md.c 	if (mddev->bitmap_info.file) {
file             6436 drivers/md/md.c 		ptr = file_path(mddev->bitmap_info.file, file->pathname,
file             6437 drivers/md/md.c 				sizeof(file->pathname));
file             6441 drivers/md/md.c 			memmove(file->pathname, ptr,
file             6442 drivers/md/md.c 				sizeof(file->pathname)-(ptr-file->pathname));
file             6447 drivers/md/md.c 	    copy_to_user(arg, file, sizeof(*file)))
file             6450 drivers/md/md.c 	kfree(file);
file             6827 drivers/md/md.c 		struct file *f;
file             6829 drivers/md/md.c 		if (mddev->bitmap || mddev->bitmap_info.file)
file             6857 drivers/md/md.c 		mddev->bitmap_info.file = f;
file             6885 drivers/md/md.c 		struct file *f = mddev->bitmap_info.file;
file             6888 drivers/md/md.c 			mddev->bitmap_info.file = NULL;
file             7185 drivers/md/md.c 			if (mddev->bitmap->storage.file) {
file             8106 drivers/md/md.c static int md_seq_open(struct inode *inode, struct file *file)
file             8111 drivers/md/md.c 	error = seq_open(file, &md_seq_ops);
file             8115 drivers/md/md.c 	seq = file->private_data;
file             8121 drivers/md/md.c static __poll_t mdstat_poll(struct file *filp, poll_table *wait)
file              446 drivers/md/md.h 		struct file		*file; /* the bitmap file */
file             1351 drivers/md/raid5-ppl.c 	if (mddev->bitmap_info.file || mddev->bitmap_info.offset) {
file             7190 drivers/md/raid5.c 	    (mddev->bitmap_info.offset || mddev->bitmap_info.file)) {
file             2147 drivers/media/cec/cec-adap.c int cec_adap_status(struct seq_file *file, void *priv)
file             2149 drivers/media/cec/cec-adap.c 	struct cec_adapter *adap = dev_get_drvdata(file->private);
file             2153 drivers/media/cec/cec-adap.c 	seq_printf(file, "configured: %d\n", adap->is_configured);
file             2154 drivers/media/cec/cec-adap.c 	seq_printf(file, "configuring: %d\n", adap->is_configuring);
file             2155 drivers/media/cec/cec-adap.c 	seq_printf(file, "phys_addr: %x.%x.%x.%x\n",
file             2157 drivers/media/cec/cec-adap.c 	seq_printf(file, "number of LAs: %d\n", adap->log_addrs.num_log_addrs);
file             2158 drivers/media/cec/cec-adap.c 	seq_printf(file, "LA mask: 0x%04x\n", adap->log_addrs.log_addr_mask);
file             2160 drivers/media/cec/cec-adap.c 		seq_printf(file, "has CEC follower%s\n",
file             2163 drivers/media/cec/cec-adap.c 		seq_puts(file, "has CEC initiator\n");
file             2165 drivers/media/cec/cec-adap.c 		seq_printf(file, "file handles in Monitor All mode: %u\n",
file             2168 drivers/media/cec/cec-adap.c 		seq_printf(file, "transmit timeouts: %u\n",
file             2174 drivers/media/cec/cec-adap.c 		seq_printf(file, "transmitting message: %*ph (reply: %02x, timeout: %ums)\n",
file             2177 drivers/media/cec/cec-adap.c 	seq_printf(file, "pending transmits: %u\n", adap->transmit_queue_sz);
file             2179 drivers/media/cec/cec-adap.c 		seq_printf(file, "queued tx message: %*ph (reply: %02x, timeout: %ums)\n",
file             2184 drivers/media/cec/cec-adap.c 		seq_printf(file, "message waiting for reply: %*ph (reply: %02x, timeout: %ums)\n",
file             2189 drivers/media/cec/cec-adap.c 	call_void_op(adap, adap_status, file);
file               25 drivers/media/cec/cec-api.c static inline struct cec_devnode *cec_devnode_data(struct file *filp)
file               34 drivers/media/cec/cec-api.c static __poll_t cec_poll(struct file *filp,
file              483 drivers/media/cec/cec-api.c static long cec_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              529 drivers/media/cec/cec-api.c static int cec_open(struct inode *inode, struct file *filp)
file              608 drivers/media/cec/cec-api.c static int cec_release(struct inode *inode, struct file *filp)
file              205 drivers/media/cec/cec-core.c static ssize_t cec_error_inj_write(struct file *file,
file              208 drivers/media/cec/cec-core.c 	struct seq_file *sf = file->private_data;
file              239 drivers/media/cec/cec-core.c static int cec_error_inj_open(struct inode *inode, struct file *file)
file              241 drivers/media/cec/cec-core.c 	return single_open(file, cec_error_inj_show, inode->i_private);
file             1199 drivers/media/cec/cec-pin.c 				       struct seq_file *file)
file             1203 drivers/media/cec/cec-pin.c 	seq_printf(file, "state: %s\n", states[pin->state].name);
file             1204 drivers/media/cec/cec-pin.c 	seq_printf(file, "tx_bit: %d\n", pin->tx_bit);
file             1205 drivers/media/cec/cec-pin.c 	seq_printf(file, "rx_bit: %d\n", pin->rx_bit);
file             1206 drivers/media/cec/cec-pin.c 	seq_printf(file, "cec pin: %d\n", pin->ops->read(adap));
file             1207 drivers/media/cec/cec-pin.c 	seq_printf(file, "cec pin events dropped: %u\n",
file             1209 drivers/media/cec/cec-pin.c 	seq_printf(file, "irq failed: %d\n", pin->enable_irq_failed);
file             1211 drivers/media/cec/cec-pin.c 		seq_printf(file, "timer overruns > 100ms: %u of %u\n",
file             1213 drivers/media/cec/cec-pin.c 		seq_printf(file, "timer overruns > 300ms: %u of %u\n",
file             1215 drivers/media/cec/cec-pin.c 		seq_printf(file, "max timer overrun: %u usecs\n",
file             1217 drivers/media/cec/cec-pin.c 		seq_printf(file, "avg timer overrun: %u usecs\n",
file             1221 drivers/media/cec/cec-pin.c 		seq_printf(file,
file             1227 drivers/media/cec/cec-pin.c 		seq_printf(file,
file             1233 drivers/media/cec/cec-pin.c 		seq_printf(file, "rx start bit too long: %u\n",
file             1236 drivers/media/cec/cec-pin.c 		seq_printf(file,
file             1242 drivers/media/cec/cec-pin.c 		seq_printf(file, "rx data bit too long: %u\n",
file             1244 drivers/media/cec/cec-pin.c 	seq_printf(file, "rx initiated low drive: %u\n", pin->rx_low_drive_cnt);
file             1245 drivers/media/cec/cec-pin.c 	seq_printf(file, "tx detected low drive: %u\n", pin->tx_low_drive_cnt);
file             1260 drivers/media/cec/cec-pin.c 		pin->ops->status(adap, file);
file               38 drivers/media/cec/cec-priv.h int cec_adap_status(struct seq_file *file, void *priv);
file              196 drivers/media/common/saa7146/saa7146_fops.c static int fops_open(struct file *file)
file              198 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              199 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_dev *dev = video_drvdata(file);
file              203 drivers/media/common/saa7146/saa7146_fops.c 	DEB_EE("file:%p, dev:%s\n", file, video_device_node_name(vdev));
file              227 drivers/media/common/saa7146/saa7146_fops.c 	file->private_data = &fh->fh;
file              233 drivers/media/common/saa7146/saa7146_fops.c 			result = saa7146_vbi_uops.open(dev,file);
file              235 drivers/media/common/saa7146/saa7146_fops.c 			dev->ext_vv_data->vbi_fops.open(file);
file              238 drivers/media/common/saa7146/saa7146_fops.c 		result = saa7146_video_uops.open(dev,file);
file              255 drivers/media/common/saa7146/saa7146_fops.c 		file->private_data = NULL;
file              261 drivers/media/common/saa7146/saa7146_fops.c static int fops_release(struct file *file)
file              263 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              264 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_fh  *fh  = file->private_data;
file              267 drivers/media/common/saa7146/saa7146_fops.c 	DEB_EE("file:%p\n", file);
file              273 drivers/media/common/saa7146/saa7146_fops.c 			saa7146_vbi_uops.release(dev,file);
file              275 drivers/media/common/saa7146/saa7146_fops.c 			dev->ext_vv_data->vbi_fops.release(file);
file              277 drivers/media/common/saa7146/saa7146_fops.c 		saa7146_video_uops.release(dev,file);
file              283 drivers/media/common/saa7146/saa7146_fops.c 	file->private_data = NULL;
file              291 drivers/media/common/saa7146/saa7146_fops.c static int fops_mmap(struct file *file, struct vm_area_struct * vma)
file              293 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              294 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_fh *fh = file->private_data;
file              301 drivers/media/common/saa7146/saa7146_fops.c 		       file, vma);
file              307 drivers/media/common/saa7146/saa7146_fops.c 		       file, vma);
file              324 drivers/media/common/saa7146/saa7146_fops.c static __poll_t __fops_poll(struct file *file, struct poll_table_struct *wait)
file              326 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              327 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_fh *fh = file->private_data;
file              330 drivers/media/common/saa7146/saa7146_fops.c 	__poll_t res = v4l2_ctrl_poll(file, wait);
file              332 drivers/media/common/saa7146/saa7146_fops.c 	DEB_EE("file:%p, poll:%p\n", file, wait);
file              338 drivers/media/common/saa7146/saa7146_fops.c 			return res | videobuf_poll_stream(file, &fh->vbi_q, wait);
file              353 drivers/media/common/saa7146/saa7146_fops.c 	poll_wait(file, &buf->done, wait);
file              363 drivers/media/common/saa7146/saa7146_fops.c static __poll_t fops_poll(struct file *file, struct poll_table_struct *wait)
file              365 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              369 drivers/media/common/saa7146/saa7146_fops.c 	res = __fops_poll(file, wait);
file              374 drivers/media/common/saa7146/saa7146_fops.c static ssize_t fops_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
file              376 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              377 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_fh *fh = file->private_data;
file              386 drivers/media/common/saa7146/saa7146_fops.c 		return saa7146_video_uops.read(file,data,count,ppos);
file              395 drivers/media/common/saa7146/saa7146_fops.c 			ret = saa7146_vbi_uops.read(file, data, count, ppos);
file              405 drivers/media/common/saa7146/saa7146_fops.c static ssize_t fops_write(struct file *file, const char __user *data, size_t count, loff_t *ppos)
file              407 drivers/media/common/saa7146/saa7146_fops.c 	struct video_device *vdev = video_devdata(file);
file              408 drivers/media/common/saa7146/saa7146_fops.c 	struct saa7146_fh *fh = file->private_data;
file              418 drivers/media/common/saa7146/saa7146_fops.c 			ret = fh->dev->ext_vv_data->vbi_fops.write(file, data, count, ppos);
file              221 drivers/media/common/saa7146/saa7146_vbi.c 	struct file *file = q->priv_data;
file              222 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              291 drivers/media/common/saa7146/saa7146_vbi.c 	struct file *file = q->priv_data;
file              292 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              303 drivers/media/common/saa7146/saa7146_vbi.c 	struct file *file = q->priv_data;
file              304 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh   = file->private_data;
file              321 drivers/media/common/saa7146/saa7146_vbi.c static void vbi_stop(struct saa7146_fh *fh, struct file *file)
file              355 drivers/media/common/saa7146/saa7146_vbi.c 	struct file *file = vv->vbi_read_timeout_file;
file              356 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              361 drivers/media/common/saa7146/saa7146_vbi.c 	vbi_stop(fh, file);
file              376 drivers/media/common/saa7146/saa7146_vbi.c static int vbi_open(struct saa7146_dev *dev, struct file *file)
file              378 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              403 drivers/media/common/saa7146/saa7146_vbi.c 			    file, &dev->v4l2_lock);
file              406 drivers/media/common/saa7146/saa7146_vbi.c 	vv->vbi_read_timeout_file = file;
file              425 drivers/media/common/saa7146/saa7146_vbi.c static void vbi_close(struct saa7146_dev *dev, struct file *file)
file              427 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              432 drivers/media/common/saa7146/saa7146_vbi.c 		vbi_stop(fh, file);
file              456 drivers/media/common/saa7146/saa7146_vbi.c static ssize_t vbi_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
file              458 drivers/media/common/saa7146/saa7146_vbi.c 	struct saa7146_fh *fh = file->private_data;
file              479 drivers/media/common/saa7146/saa7146_vbi.c 				   file->f_flags & O_NONBLOCK);
file               94 drivers/media/common/saa7146/saa7146_video.c static int vidioc_try_fmt_vid_overlay(struct file *file, void *fh, struct v4l2_format *f);
file              378 drivers/media/common/saa7146/saa7146_video.c static int video_end(struct saa7146_fh *fh, struct file *file)
file              439 drivers/media/common/saa7146/saa7146_video.c static int vidioc_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              453 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb)
file              464 drivers/media/common/saa7146/saa7146_video.c static int vidioc_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb)
file              504 drivers/media/common/saa7146/saa7146_video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              570 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_parm(struct file *file, void *fh,
file              584 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f)
file              593 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_fmt_vid_overlay(struct file *file, void *fh, struct v4l2_format *f)
file              602 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f)
file              611 drivers/media/common/saa7146/saa7146_video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f)
file              677 drivers/media/common/saa7146/saa7146_video.c static int vidioc_try_fmt_vid_overlay(struct file *file, void *fh, struct v4l2_format *f)
file              736 drivers/media/common/saa7146/saa7146_video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *__fh, struct v4l2_format *f)
file              748 drivers/media/common/saa7146/saa7146_video.c 	err = vidioc_try_fmt_vid_cap(file, fh, f);
file              757 drivers/media/common/saa7146/saa7146_video.c static int vidioc_s_fmt_vid_overlay(struct file *file, void *__fh, struct v4l2_format *f)
file              765 drivers/media/common/saa7146/saa7146_video.c 	err = vidioc_try_fmt_vid_overlay(file, fh, f);
file              788 drivers/media/common/saa7146/saa7146_video.c static int vidioc_g_std(struct file *file, void *fh, v4l2_std_id *norm)
file              815 drivers/media/common/saa7146/saa7146_video.c static int vidioc_s_std(struct file *file, void *fh, v4l2_std_id id)
file              862 drivers/media/common/saa7146/saa7146_video.c static int vidioc_overlay(struct file *file, void *fh, unsigned int on)
file              874 drivers/media/common/saa7146/saa7146_video.c static int vidioc_reqbufs(struct file *file, void *__fh, struct v4l2_requestbuffers *b)
file              885 drivers/media/common/saa7146/saa7146_video.c static int vidioc_querybuf(struct file *file, void *__fh, struct v4l2_buffer *buf)
file              896 drivers/media/common/saa7146/saa7146_video.c static int vidioc_qbuf(struct file *file, void *__fh, struct v4l2_buffer *buf)
file              907 drivers/media/common/saa7146/saa7146_video.c static int vidioc_dqbuf(struct file *file, void *__fh, struct v4l2_buffer *buf)
file              912 drivers/media/common/saa7146/saa7146_video.c 		return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK);
file              914 drivers/media/common/saa7146/saa7146_video.c 		return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK);
file              918 drivers/media/common/saa7146/saa7146_video.c static int vidioc_streamon(struct file *file, void *__fh, enum v4l2_buf_type type)
file              935 drivers/media/common/saa7146/saa7146_video.c static int vidioc_streamoff(struct file *file, void *__fh, enum v4l2_buf_type type)
file              964 drivers/media/common/saa7146/saa7146_video.c 		video_end(fh, file);
file              966 drivers/media/common/saa7146/saa7146_video.c 		err = video_end(fh, file);
file             1041 drivers/media/common/saa7146/saa7146_video.c 	struct file *file = q->priv_data;
file             1042 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1122 drivers/media/common/saa7146/saa7146_video.c 	struct file *file = q->priv_data;
file             1123 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1143 drivers/media/common/saa7146/saa7146_video.c 	struct file *file = q->priv_data;
file             1144 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1155 drivers/media/common/saa7146/saa7146_video.c 	struct file *file = q->priv_data;
file             1156 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1193 drivers/media/common/saa7146/saa7146_video.c static int video_open(struct saa7146_dev *dev, struct file *file)
file             1195 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1202 drivers/media/common/saa7146/saa7146_video.c 			    file, &dev->v4l2_lock);
file             1208 drivers/media/common/saa7146/saa7146_video.c static void video_close(struct saa7146_dev *dev, struct file *file)
file             1210 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1215 drivers/media/common/saa7146/saa7146_video.c 		video_end(fh, file);
file             1241 drivers/media/common/saa7146/saa7146_video.c static ssize_t video_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
file             1243 drivers/media/common/saa7146/saa7146_video.c 	struct saa7146_fh *fh = file->private_data;
file             1266 drivers/media/common/saa7146/saa7146_video.c 				file->f_flags & O_NONBLOCK);
file             1268 drivers/media/common/saa7146/saa7146_video.c 		video_end(fh, file);
file             1270 drivers/media/common/saa7146/saa7146_video.c 		ret = video_end(fh, file);
file              321 drivers/media/common/siano/smsdvb-debugfs.c static int smsdvb_stats_open(struct inode *inode, struct file *file)
file              333 drivers/media/common/siano/smsdvb-debugfs.c 	file->private_data = debug_data;
file              362 drivers/media/common/siano/smsdvb-debugfs.c static __poll_t smsdvb_stats_poll(struct file *file, poll_table *wait)
file              364 drivers/media/common/siano/smsdvb-debugfs.c 	struct smsdvb_debugfs *debug_data = file->private_data;
file              369 drivers/media/common/siano/smsdvb-debugfs.c 	poll_wait(file, &debug_data->stats_queue, wait);
file              377 drivers/media/common/siano/smsdvb-debugfs.c static ssize_t smsdvb_stats_read(struct file *file, char __user *user_buf,
file              381 drivers/media/common/siano/smsdvb-debugfs.c 	struct smsdvb_debugfs *debug_data = file->private_data;
file              385 drivers/media/common/siano/smsdvb-debugfs.c 	if (file->f_flags & O_NONBLOCK) {
file              420 drivers/media/common/siano/smsdvb-debugfs.c static int smsdvb_stats_release(struct inode *inode, struct file *file)
file              422 drivers/media/common/siano/smsdvb-debugfs.c 	struct smsdvb_debugfs *debug_data = file->private_data;
file              430 drivers/media/common/siano/smsdvb-debugfs.c 	file->private_data = NULL;
file             2310 drivers/media/common/videobuf2/videobuf2-core.c __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file,
file             2322 drivers/media/common/videobuf2/videobuf2-core.c 	poll_wait(file, &q->done_wq, wait);
file              872 drivers/media/common/videobuf2/videobuf2-v4l2.c __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait)
file              874 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vfd = video_devdata(file);
file              877 drivers/media/common/videobuf2/videobuf2-v4l2.c 	res = vb2_core_poll(q, file, wait);
file              880 drivers/media/common/videobuf2/videobuf2-v4l2.c 		struct v4l2_fh *fh = file->private_data;
file              882 drivers/media/common/videobuf2/videobuf2-v4l2.c 		poll_wait(file, &fh->wait, wait);
file              900 drivers/media/common/videobuf2/videobuf2-v4l2.c static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file)
file              902 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return vdev->queue->owner && vdev->queue->owner != file->private_data;
file              907 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_reqbufs(struct file *file, void *priv,
file              910 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              916 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file              922 drivers/media/common/videobuf2/videobuf2-v4l2.c 		vdev->queue->owner = p->count ? file->private_data : NULL;
file              927 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_create_bufs(struct file *file, void *priv,
file              930 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              944 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file              949 drivers/media/common/videobuf2/videobuf2-v4l2.c 		vdev->queue->owner = file->private_data;
file              954 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_prepare_buf(struct file *file, void *priv,
file              957 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              959 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file              965 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              967 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              974 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              976 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              978 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file              984 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              986 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              988 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file              990 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK);
file              994 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
file              996 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              998 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file             1004 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
file             1006 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1008 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file             1014 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_ioctl_expbuf(struct file *file, void *priv, struct v4l2_exportbuffer *p)
file             1016 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1018 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file             1026 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma)
file             1028 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1034 drivers/media/common/videobuf2/videobuf2-v4l2.c int _vb2_fop_release(struct file *file, struct mutex *lock)
file             1036 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1040 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (file->private_data == vdev->queue->owner) {
file             1046 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return v4l2_fh_release(file);
file             1050 drivers/media/common/videobuf2/videobuf2-v4l2.c int vb2_fop_release(struct file *file)
file             1052 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1055 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return _vb2_fop_release(file, lock);
file             1059 drivers/media/common/videobuf2/videobuf2-v4l2.c ssize_t vb2_fop_write(struct file *file, const char __user *buf,
file             1062 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1070 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file             1073 drivers/media/common/videobuf2/videobuf2-v4l2.c 		       file->f_flags & O_NONBLOCK);
file             1075 drivers/media/common/videobuf2/videobuf2-v4l2.c 		vdev->queue->owner = file->private_data;
file             1083 drivers/media/common/videobuf2/videobuf2-v4l2.c ssize_t vb2_fop_read(struct file *file, char __user *buf,
file             1086 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1094 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (vb2_queue_is_busy(vdev, file))
file             1097 drivers/media/common/videobuf2/videobuf2-v4l2.c 		       file->f_flags & O_NONBLOCK);
file             1099 drivers/media/common/videobuf2/videobuf2-v4l2.c 		vdev->queue->owner = file->private_data;
file             1107 drivers/media/common/videobuf2/videobuf2-v4l2.c __poll_t vb2_fop_poll(struct file *file, poll_table *wait)
file             1109 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file             1126 drivers/media/common/videobuf2/videobuf2-v4l2.c 	res = vb2_poll(vdev->queue, file, wait);
file             1130 drivers/media/common/videobuf2/videobuf2-v4l2.c 		q->owner = file->private_data;
file             1138 drivers/media/common/videobuf2/videobuf2-v4l2.c unsigned long vb2_fop_get_unmapped_area(struct file *file, unsigned long addr,
file             1141 drivers/media/common/videobuf2/videobuf2-v4l2.c 	struct video_device *vdev = video_devdata(file);
file              126 drivers/media/dvb-core/dmxdev.c static int dvb_dvr_open(struct inode *inode, struct file *file)
file              128 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file              155 drivers/media/dvb-core/dmxdev.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY)
file              157 drivers/media/dvb-core/dmxdev.c 	else if ((file->f_flags & O_ACCMODE) == O_RDWR) {
file              184 drivers/media/dvb-core/dmxdev.c 				     file->f_flags & O_NONBLOCK);
file              188 drivers/media/dvb-core/dmxdev.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
file              210 drivers/media/dvb-core/dmxdev.c static int dvb_dvr_release(struct inode *inode, struct file *file)
file              212 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file              217 drivers/media/dvb-core/dmxdev.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
file              223 drivers/media/dvb-core/dmxdev.c 	if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||
file              252 drivers/media/dvb-core/dmxdev.c static ssize_t dvb_dvr_write(struct file *file, const char __user *buf,
file              255 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file              261 drivers/media/dvb-core/dmxdev.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY)
file              275 drivers/media/dvb-core/dmxdev.c static ssize_t dvb_dvr_read(struct file *file, char __user *buf, size_t count,
file              278 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file              285 drivers/media/dvb-core/dmxdev.c 				      file->f_flags & O_NONBLOCK,
file              790 drivers/media/dvb-core/dmxdev.c static int dvb_demux_open(struct inode *inode, struct file *file)
file              792 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file              814 drivers/media/dvb-core/dmxdev.c 	file->private_data = dmxdevfilter;
file              824 drivers/media/dvb-core/dmxdev.c 		     file->f_flags & O_NONBLOCK);
file              973 drivers/media/dvb-core/dmxdev.c 				   struct file *file, char __user *buf,
file              984 drivers/media/dvb-core/dmxdev.c 						file->f_flags & O_NONBLOCK,
file             1005 drivers/media/dvb-core/dmxdev.c 					file->f_flags & O_NONBLOCK,
file             1014 drivers/media/dvb-core/dmxdev.c dvb_demux_read(struct file *file, char __user *buf, size_t count,
file             1017 drivers/media/dvb-core/dmxdev.c 	struct dmxdev_filter *dmxdevfilter = file->private_data;
file             1024 drivers/media/dvb-core/dmxdev.c 		ret = dvb_dmxdev_read_sec(dmxdevfilter, file, buf, count, ppos);
file             1027 drivers/media/dvb-core/dmxdev.c 					     file->f_flags & O_NONBLOCK,
file             1034 drivers/media/dvb-core/dmxdev.c static int dvb_demux_do_ioctl(struct file *file,
file             1037 drivers/media/dvb-core/dmxdev.c 	struct dmxdev_filter *dmxdevfilter = file->private_data;
file             1187 drivers/media/dvb-core/dmxdev.c static long dvb_demux_ioctl(struct file *file, unsigned int cmd,
file             1190 drivers/media/dvb-core/dmxdev.c 	return dvb_usercopy(file, cmd, arg, dvb_demux_do_ioctl);
file             1193 drivers/media/dvb-core/dmxdev.c static __poll_t dvb_demux_poll(struct file *file, poll_table *wait)
file             1195 drivers/media/dvb-core/dmxdev.c 	struct dmxdev_filter *dmxdevfilter = file->private_data;
file             1198 drivers/media/dvb-core/dmxdev.c 	poll_wait(file, &dmxdevfilter->buffer.queue, wait);
file             1203 drivers/media/dvb-core/dmxdev.c 		return dvb_vb2_poll(&dmxdevfilter->vb2_ctx, file, wait);
file             1220 drivers/media/dvb-core/dmxdev.c static int dvb_demux_mmap(struct file *file, struct vm_area_struct *vma)
file             1222 drivers/media/dvb-core/dmxdev.c 	struct dmxdev_filter *dmxdevfilter = file->private_data;
file             1245 drivers/media/dvb-core/dmxdev.c static int dvb_demux_release(struct inode *inode, struct file *file)
file             1247 drivers/media/dvb-core/dmxdev.c 	struct dmxdev_filter *dmxdevfilter = file->private_data;
file             1288 drivers/media/dvb-core/dmxdev.c static int dvb_dvr_do_ioctl(struct file *file,
file             1291 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file             1335 drivers/media/dvb-core/dmxdev.c static long dvb_dvr_ioctl(struct file *file,
file             1338 drivers/media/dvb-core/dmxdev.c 	return dvb_usercopy(file, cmd, arg, dvb_dvr_do_ioctl);
file             1341 drivers/media/dvb-core/dmxdev.c static __poll_t dvb_dvr_poll(struct file *file, poll_table *wait)
file             1343 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file             1349 drivers/media/dvb-core/dmxdev.c 	poll_wait(file, &dmxdev->dvr_buffer.queue, wait);
file             1354 drivers/media/dvb-core/dmxdev.c 		return dvb_vb2_poll(&dmxdev->dvr_vb2_ctx, file, wait);
file             1356 drivers/media/dvb-core/dmxdev.c 	if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||
file             1370 drivers/media/dvb-core/dmxdev.c static int dvb_dvr_mmap(struct file *file, struct vm_area_struct *vma)
file             1372 drivers/media/dvb-core/dmxdev.c 	struct dvb_device *dvbdev = file->private_data;
file             1336 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_io_do_ioctl(struct file *file,
file             1339 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1419 drivers/media/dvb-core/dvb_ca_en50221.c static long dvb_ca_en50221_io_ioctl(struct file *file,
file             1422 drivers/media/dvb-core/dvb_ca_en50221.c 	return dvb_usercopy(file, cmd, arg, dvb_ca_en50221_io_do_ioctl);
file             1435 drivers/media/dvb-core/dvb_ca_en50221.c static ssize_t dvb_ca_en50221_io_write(struct file *file,
file             1439 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1591 drivers/media/dvb-core/dvb_ca_en50221.c static ssize_t dvb_ca_en50221_io_read(struct file *file, char __user *buf,
file             1594 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1621 drivers/media/dvb-core/dvb_ca_en50221.c 		if (file->f_flags & O_NONBLOCK)
file             1700 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_io_open(struct inode *inode, struct file *file)
file             1702 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1712 drivers/media/dvb-core/dvb_ca_en50221.c 	err = dvb_generic_open(inode, file);
file             1750 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_io_release(struct inode *inode, struct file *file)
file             1752 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1762 drivers/media/dvb-core/dvb_ca_en50221.c 	err = dvb_generic_release(inode, file);
file             1779 drivers/media/dvb-core/dvb_ca_en50221.c static __poll_t dvb_ca_en50221_io_poll(struct file *file, poll_table *wait)
file             1781 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_device *dvbdev = file->private_data;
file             1789 drivers/media/dvb-core/dvb_ca_en50221.c 	poll_wait(file, &ca->wait_queue, wait);
file             1335 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_handle_ioctl(struct file *file,
file             1341 drivers/media/dvb-core/dvb_frontend.c 				    struct file *file)
file             1808 drivers/media/dvb-core/dvb_frontend.c 				    struct file *file,
file             1870 drivers/media/dvb-core/dvb_frontend.c 		r = dvb_frontend_handle_ioctl(file, FE_SET_VOLTAGE,
file             1875 drivers/media/dvb-core/dvb_frontend.c 		r = dvb_frontend_handle_ioctl(file, FE_SET_TONE,
file             1987 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_do_ioctl(struct file *file, unsigned int cmd,
file             1990 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2017 drivers/media/dvb-core/dvb_frontend.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY
file             2025 drivers/media/dvb-core/dvb_frontend.c 	err = dvb_frontend_handle_ioctl(file, cmd, parg);
file             2031 drivers/media/dvb-core/dvb_frontend.c static long dvb_frontend_ioctl(struct file *file, unsigned int cmd,
file             2034 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2039 drivers/media/dvb-core/dvb_frontend.c 	return dvb_usercopy(file, cmd, arg, dvb_frontend_do_ioctl);
file             2067 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_handle_compat_ioctl(struct file *file, unsigned int cmd,
file             2070 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2096 drivers/media/dvb-core/dvb_frontend.c 			err = dtv_property_process_set(fe, file,
file             2141 drivers/media/dvb-core/dvb_frontend.c 			    fe, &getp, (struct dtv_property *)(tvp + i), file);
file             2159 drivers/media/dvb-core/dvb_frontend.c static long dvb_frontend_compat_ioctl(struct file *file, unsigned int cmd,
file             2162 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2171 drivers/media/dvb-core/dvb_frontend.c 		err = dvb_frontend_handle_compat_ioctl(file, cmd, arg);
file             2177 drivers/media/dvb-core/dvb_frontend.c 	return dvb_frontend_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             2317 drivers/media/dvb-core/dvb_frontend.c static int dvb_get_property(struct dvb_frontend *fe, struct file *file,
file             2356 drivers/media/dvb-core/dvb_frontend.c 					       tvp + i, file);
file             2389 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_handle_ioctl(struct file *file,
file             2392 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2422 drivers/media/dvb-core/dvb_frontend.c 			err = dtv_property_process_set(fe, file,
file             2435 drivers/media/dvb-core/dvb_frontend.c 		err = dvb_get_property(fe, file, parg);
file             2694 drivers/media/dvb-core/dvb_frontend.c 		err = dvb_frontend_get_event(fe, parg, file->f_flags);
file             2708 drivers/media/dvb-core/dvb_frontend.c static __poll_t dvb_frontend_poll(struct file *file, struct poll_table_struct *wait)
file             2710 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2716 drivers/media/dvb-core/dvb_frontend.c 	poll_wait(file, &fepriv->events.wait_queue, wait);
file             2724 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_open(struct inode *inode, struct file *file)
file             2726 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2788 drivers/media/dvb-core/dvb_frontend.c 	if ((ret = dvb_generic_open(inode, file)) < 0)
file             2791 drivers/media/dvb-core/dvb_frontend.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
file             2841 drivers/media/dvb-core/dvb_frontend.c 	dvb_generic_release(inode, file);
file             2851 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_release(struct inode *inode, struct file *file)
file             2853 drivers/media/dvb-core/dvb_frontend.c 	struct dvb_device *dvbdev = file->private_data;
file             2860 drivers/media/dvb-core/dvb_frontend.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
file             2865 drivers/media/dvb-core/dvb_frontend.c 	ret = dvb_generic_release(inode, file);
file             1422 drivers/media/dvb-core/dvb_net.c static int dvb_net_do_ioctl(struct file *file,
file             1425 drivers/media/dvb-core/dvb_net.c 	struct dvb_device *dvbdev = file->private_data;
file             1429 drivers/media/dvb-core/dvb_net.c 	if (((file->f_flags&O_ACCMODE)==O_RDONLY))
file             1548 drivers/media/dvb-core/dvb_net.c static long dvb_net_ioctl(struct file *file,
file             1551 drivers/media/dvb-core/dvb_net.c 	return dvb_usercopy(file, cmd, arg, dvb_net_do_ioctl);
file             1554 drivers/media/dvb-core/dvb_net.c static int dvb_net_close(struct inode *inode, struct file *file)
file             1556 drivers/media/dvb-core/dvb_net.c 	struct dvb_device *dvbdev = file->private_data;
file             1559 drivers/media/dvb-core/dvb_net.c 	dvb_generic_release(inode, file);
file              436 drivers/media/dvb-core/dvb_vb2.c __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
file              440 drivers/media/dvb-core/dvb_vb2.c 	return vb2_core_poll(&ctx->vb_q, file, wait);
file               95 drivers/media/dvb-core/dvbdev.c static int dvb_device_open(struct inode *inode, struct file *file)
file              110 drivers/media/dvb-core/dvbdev.c 		file->private_data = dvbdev;
file              111 drivers/media/dvb-core/dvbdev.c 		replace_fops(file, new_fops);
file              112 drivers/media/dvb-core/dvbdev.c 		if (file->f_op->open)
file              113 drivers/media/dvb-core/dvbdev.c 			err = file->f_op->open(inode, file);
file              134 drivers/media/dvb-core/dvbdev.c int dvb_generic_open(struct inode *inode, struct file *file)
file              136 drivers/media/dvb-core/dvbdev.c 	struct dvb_device *dvbdev = file->private_data;
file              144 drivers/media/dvb-core/dvbdev.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
file              160 drivers/media/dvb-core/dvbdev.c int dvb_generic_release(struct inode *inode, struct file *file)
file              162 drivers/media/dvb-core/dvbdev.c 	struct dvb_device *dvbdev = file->private_data;
file              167 drivers/media/dvb-core/dvbdev.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
file              179 drivers/media/dvb-core/dvbdev.c long dvb_generic_ioctl(struct file *file,
file              182 drivers/media/dvb-core/dvbdev.c 	struct dvb_device *dvbdev = file->private_data;
file              190 drivers/media/dvb-core/dvbdev.c 	return dvb_usercopy(file, cmd, arg, dvbdev->kernel_ioctl);
file              904 drivers/media/dvb-core/dvbdev.c int dvb_usercopy(struct file *file,
file              906 drivers/media/dvb-core/dvbdev.c 		     int (*func)(struct file *file,
file              943 drivers/media/dvb-core/dvbdev.c 	if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD)
file              418 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_querycap(struct file *file, void *fh,
file              421 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file              950 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_g_tuner(struct file *file, void *priv,
file              953 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file              982 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_s_tuner(struct file *file, void *priv,
file              985 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1004 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_enum_freq_bands(struct file *file, void *priv,
file             1007 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1035 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_g_frequency(struct file *file, void *priv,
file             1038 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1062 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_s_frequency(struct file *file, void *priv,
file             1065 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1106 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_enum_fmt_sdr_cap(struct file *file, void *priv,
file             1109 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1122 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_g_fmt_sdr_cap(struct file *file, void *priv,
file             1125 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1138 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_s_fmt_sdr_cap(struct file *file, void *priv,
file             1141 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file             1170 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_try_fmt_sdr_cap(struct file *file, void *priv,
file             1173 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct rtl2832_sdr_dev *dev = video_drvdata(file);
file              172 drivers/media/firewire/firedtv-ci.c static int fdtv_ca_ioctl(struct file *file, unsigned int cmd, void *arg)
file              174 drivers/media/firewire/firedtv-ci.c 	struct dvb_device *dvbdev = file->private_data;
file              206 drivers/media/firewire/firedtv-ci.c static __poll_t fdtv_ca_io_poll(struct file *file, poll_table *wait)
file              566 drivers/media/i2c/video-i2c.c static int video_i2c_querycap(struct file *file, void  *priv,
file              569 drivers/media/i2c/video-i2c.c 	struct video_i2c_data *data = video_drvdata(file);
file              581 drivers/media/i2c/video-i2c.c static int video_i2c_g_input(struct file *file, void *fh, unsigned int *inp)
file              588 drivers/media/i2c/video-i2c.c static int video_i2c_s_input(struct file *file, void *fh, unsigned int inp)
file              593 drivers/media/i2c/video-i2c.c static int video_i2c_enum_input(struct file *file, void *fh,
file              606 drivers/media/i2c/video-i2c.c static int video_i2c_enum_fmt_vid_cap(struct file *file, void *fh,
file              609 drivers/media/i2c/video-i2c.c 	struct video_i2c_data *data = video_drvdata(file);
file              621 drivers/media/i2c/video-i2c.c static int video_i2c_enum_framesizes(struct file *file, void *fh,
file              624 drivers/media/i2c/video-i2c.c 	const struct video_i2c_data *data = video_drvdata(file);
file              641 drivers/media/i2c/video-i2c.c static int video_i2c_enum_frameintervals(struct file *file, void *priv,
file              644 drivers/media/i2c/video-i2c.c 	const struct video_i2c_data *data = video_drvdata(file);
file              659 drivers/media/i2c/video-i2c.c static int video_i2c_try_fmt_vid_cap(struct file *file, void *fh,
file              662 drivers/media/i2c/video-i2c.c 	const struct video_i2c_data *data = video_drvdata(file);
file              678 drivers/media/i2c/video-i2c.c static int video_i2c_s_fmt_vid_cap(struct file *file, void *fh,
file              681 drivers/media/i2c/video-i2c.c 	struct video_i2c_data *data = video_drvdata(file);
file              686 drivers/media/i2c/video-i2c.c 	return video_i2c_try_fmt_vid_cap(file, fh, fmt);
file              689 drivers/media/i2c/video-i2c.c static int video_i2c_g_parm(struct file *filp, void *priv,
file              704 drivers/media/i2c/video-i2c.c static int video_i2c_s_parm(struct file *filp, void *priv,
file               48 drivers/media/mc/mc-device.c static int media_device_open(struct file *filp)
file               53 drivers/media/mc/mc-device.c static int media_device_close(struct file *filp)
file              437 drivers/media/mc/mc-device.c static long media_device_ioctl(struct file *filp, unsigned int cmd,
file              521 drivers/media/mc/mc-device.c static long media_device_compat_ioctl(struct file *filp, unsigned int cmd,
file               70 drivers/media/mc/mc-devnode.c static ssize_t media_read(struct file *filp, char __user *buf,
file               82 drivers/media/mc/mc-devnode.c static ssize_t media_write(struct file *filp, const char __user *buf,
file               94 drivers/media/mc/mc-devnode.c static __poll_t media_poll(struct file *filp,
file              107 drivers/media/mc/mc-devnode.c __media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg,
file              108 drivers/media/mc/mc-devnode.c 	      long (*ioctl_func)(struct file *filp, unsigned int cmd,
file              122 drivers/media/mc/mc-devnode.c static long media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              131 drivers/media/mc/mc-devnode.c static long media_compat_ioctl(struct file *filp, unsigned int cmd,
file              142 drivers/media/mc/mc-devnode.c static int media_open(struct inode *inode, struct file *filp)
file              180 drivers/media/mc/mc-devnode.c static int media_release(struct inode *inode, struct file *filp)
file               85 drivers/media/mc/mc-request.c static int media_request_close(struct inode *inode, struct file *filp)
file               93 drivers/media/mc/mc-request.c static __poll_t media_request_poll(struct file *filp,
file              221 drivers/media/mc/mc-request.c static long media_request_ioctl(struct file *filp, unsigned int cmd,
file              257 drivers/media/mc/mc-request.c 	if (!f.file)
file              260 drivers/media/mc/mc-request.c 	if (f.file->f_op != &request_fops)
file              262 drivers/media/mc/mc-request.c 	req = f.file->private_data;
file              291 drivers/media/mc/mc-request.c 	struct file *filp;
file             1693 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1709 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_std(struct file *file, void *priv, v4l2_std_id *id)
file             1718 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_querystd(struct file *file, void *f, v4l2_std_id *id)
file             1730 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_enum_input(struct file *file, void *priv,
file             1764 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_input(struct file *file, void *priv, unsigned int *i)
file             1774 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_input(struct file *file, void *priv, unsigned int i)
file             1786 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_tuner(struct file *file, void *priv,
file             1805 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_frequency(struct file *file, void *priv,
file             1842 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_frequency(struct file *file, void *priv,
file             1855 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_log_status(struct file *file, void *f)
file             1857 drivers/media/pci/bt8xx/bttv-driver.c 	struct video_device *vdev = video_devdata(file);
file             1867 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_register(struct file *file, void *f,
file             1881 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_register(struct file *file, void *f,
file             2267 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_fmt_vid_cap(struct file *file, void *priv,
file             2281 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_fmt_vid_overlay(struct file *file, void *priv,
file             2305 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_try_fmt_vid_cap(struct file *file, void *priv,
file             2363 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_try_fmt_vid_overlay(struct file *file, void *priv,
file             2374 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_fmt_vid_cap(struct file *file, void *priv,
file             2389 drivers/media/pci/bt8xx/bttv-driver.c 	retval = bttv_try_fmt_vid_cap(file, priv, f);
file             2421 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_fmt_vid_overlay(struct file *file, void *priv,
file             2435 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_querycap(struct file *file, void  *priv,
file             2489 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_enum_fmt_vid_cap(struct file *file, void  *priv,
file             2500 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_enum_fmt_vid_overlay(struct file *file, void  *priv,
file             2521 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_fbuf(struct file *file, void *f,
file             2535 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_overlay(struct file *file, void *f, unsigned int on)
file             2572 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_fbuf(struct file *file, void *f,
file             2642 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_reqbufs(struct file *file, void *priv,
file             2649 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_querybuf(struct file *file, void *priv,
file             2656 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_qbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             2668 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             2672 drivers/media/pci/bt8xx/bttv-driver.c 			file->f_flags & O_NONBLOCK);
file             2675 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_streamon(struct file *file, void *priv,
file             2688 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_streamoff(struct file *file, void *priv,
file             2704 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_parm(struct file *file, void *f,
file             2719 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_tuner(struct file *file, void *priv,
file             2742 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_pixelaspect(struct file *file, void *priv,
file             2756 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_g_selection(struct file *file, void *f, struct v4l2_selection *sel)
file             2787 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_s_selection(struct file *file, void *f, struct v4l2_selection *sel)
file             2868 drivers/media/pci/bt8xx/bttv-driver.c static ssize_t bttv_read(struct file *file, char __user *data,
file             2871 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             2887 drivers/media/pci/bt8xx/bttv-driver.c 					   file->f_flags & O_NONBLOCK);
file             2894 drivers/media/pci/bt8xx/bttv-driver.c 					      file->f_flags & O_NONBLOCK);
file             2902 drivers/media/pci/bt8xx/bttv-driver.c static __poll_t bttv_poll(struct file *file, poll_table *wait)
file             2904 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             2913 drivers/media/pci/bt8xx/bttv-driver.c 		poll_wait(file, &fh->fh.wait, wait);
file             2921 drivers/media/pci/bt8xx/bttv-driver.c 		return rc | videobuf_poll_stream(file, &fh->vbi, wait);
file             2951 drivers/media/pci/bt8xx/bttv-driver.c 	poll_wait(file, &buf->vb.done, wait);
file             2958 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_open(struct file *file)
file             2960 drivers/media/pci/bt8xx/bttv-driver.c 	struct video_device *vdev = video_devdata(file);
file             2961 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv *btv = video_drvdata(file);
file             2984 drivers/media/pci/bt8xx/bttv-driver.c 	file->private_data = fh;
file             3029 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_release(struct file *file)
file             3031 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             3061 drivers/media/pci/bt8xx/bttv-driver.c 	file->private_data = NULL;
file             3076 drivers/media/pci/bt8xx/bttv-driver.c bttv_mmap(struct file *file, struct vm_area_struct *vma)
file             3078 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             3151 drivers/media/pci/bt8xx/bttv-driver.c static int radio_open(struct file *file)
file             3153 drivers/media/pci/bt8xx/bttv-driver.c 	struct video_device *vdev = video_devdata(file);
file             3154 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv *btv = video_drvdata(file);
file             3165 drivers/media/pci/bt8xx/bttv-driver.c 	file->private_data = fh;
file             3177 drivers/media/pci/bt8xx/bttv-driver.c static int radio_release(struct file *file)
file             3179 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             3183 drivers/media/pci/bt8xx/bttv-driver.c 	file->private_data = NULL;
file             3197 drivers/media/pci/bt8xx/bttv-driver.c static int radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
file             3219 drivers/media/pci/bt8xx/bttv-driver.c static int radio_s_tuner(struct file *file, void *priv,
file             3233 drivers/media/pci/bt8xx/bttv-driver.c static int radio_s_hw_freq_seek(struct file *file, void *priv,
file             3240 drivers/media/pci/bt8xx/bttv-driver.c 		return snd_tea575x_s_hw_freq_seek(file, &btv->tea, a);
file             3245 drivers/media/pci/bt8xx/bttv-driver.c static int radio_enum_freq_bands(struct file *file, void *priv,
file             3257 drivers/media/pci/bt8xx/bttv-driver.c static ssize_t radio_read(struct file *file, char __user *data,
file             3260 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             3265 drivers/media/pci/bt8xx/bttv-driver.c 	cmd.nonblocking = file->f_flags & O_NONBLOCK;
file             3267 drivers/media/pci/bt8xx/bttv-driver.c 	cmd.instance = file;
file             3276 drivers/media/pci/bt8xx/bttv-driver.c static __poll_t radio_poll(struct file *file, poll_table *wait)
file             3278 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_fh *fh = file->private_data;
file             3287 drivers/media/pci/bt8xx/bttv-driver.c 		poll_wait(file, &fh->fh.wait, wait);
file             3289 drivers/media/pci/bt8xx/bttv-driver.c 	cmd.instance = file;
file              300 drivers/media/pci/bt8xx/bttv-vbi.c int bttv_try_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
file              318 drivers/media/pci/bt8xx/bttv-vbi.c int bttv_s_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
file              366 drivers/media/pci/bt8xx/bttv-vbi.c int bttv_g_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
file              268 drivers/media/pci/bt8xx/bttvp.h int bttv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
file              269 drivers/media/pci/bt8xx/bttvp.h int bttv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
file              270 drivers/media/pci/bt8xx/bttvp.h int bttv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
file              525 drivers/media/pci/bt8xx/dst_ca.c static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioctl_arg)
file              536 drivers/media/pci/bt8xx/dst_ca.c 	dvbdev = file->private_data;
file              611 drivers/media/pci/bt8xx/dst_ca.c static int dst_ca_open(struct inode *inode, struct file *file)
file              613 drivers/media/pci/bt8xx/dst_ca.c 	dprintk(verbose, DST_CA_DEBUG, 1, " Device opened [%p] ", file);
file              618 drivers/media/pci/bt8xx/dst_ca.c static int dst_ca_release(struct inode *inode, struct file *file)
file              625 drivers/media/pci/bt8xx/dst_ca.c static ssize_t dst_ca_read(struct file *file, char __user *buffer, size_t length, loff_t *offset)
file              632 drivers/media/pci/bt8xx/dst_ca.c static ssize_t dst_ca_write(struct file *file, const char __user *buffer, size_t length, loff_t *offset)
file              456 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_register(struct file *file, void *priv_fh,
file              459 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              465 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_register(struct file *file, void *priv_fh,
file              468 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              476 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_querycap(struct file *file, void *priv_fh,
file              479 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              571 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_log_status(struct file *file, void *priv_fh)
file              573 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              605 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_enum_dv_timings(struct file *file, void *priv_fh,
file              608 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              622 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_dv_timings(struct file *file, void *priv_fh,
file              625 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              650 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_dv_timings(struct file *file, void *priv_fh,
file              653 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              663 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_query_dv_timings(struct file *file, void *priv_fh,
file              666 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              676 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_dv_timings_cap(struct file *file, void *priv_fh,
file              679 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              686 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_enum_fmt_vid_cap(struct file *file, void *priv_fh,
file              706 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_fmt_vid_cap(struct file *file, void *priv_fh,
file              709 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              733 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_try_fmt_vid_cap(struct file *file, void *priv_fh,
file              736 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              792 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_fmt_vid_cap(struct file *file, void *priv_fh,
file              795 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              801 drivers/media/pci/cobalt/cobalt-v4l2.c 	if (cobalt_try_fmt_vid_cap(file, priv_fh, f))
file              826 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_try_fmt_vid_out(struct file *file, void *priv_fh,
file              867 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_fmt_vid_out(struct file *file, void *priv_fh,
file              870 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              887 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_enum_fmt_vid_out(struct file *file, void *priv_fh,
file              904 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_fmt_vid_out(struct file *file, void *priv_fh,
file              907 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              912 drivers/media/pci/cobalt/cobalt-v4l2.c 	if (cobalt_try_fmt_vid_out(file, priv_fh, f))
file              946 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_enum_input(struct file *file, void *priv_fh,
file              949 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              967 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_input(struct file *file, void *priv_fh, unsigned int *i)
file              969 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              975 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_input(struct file *file, void *priv_fh, unsigned int i)
file              977 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              994 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_enum_output(struct file *file, void *priv_fh,
file             1005 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_output(struct file *file, void *priv_fh, unsigned int *i)
file             1011 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_output(struct file *file, void *priv_fh, unsigned int i)
file             1016 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_edid(struct file *file, void *fh, struct v4l2_edid *edid)
file             1018 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file             1030 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_s_edid(struct file *file, void *fh, struct v4l2_edid *edid)
file             1032 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file             1054 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1056 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file             1069 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_pixelaspect(struct file *file, void *fh,
file             1072 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file             1088 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_g_selection(struct file *file, void *fh,
file             1091 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct cobalt_stream *s = video_drvdata(file);
file              427 drivers/media/pci/cx18/cx18-driver.h static inline struct cx18_open_id *file2id(struct file *file)
file              429 drivers/media/pci/cx18/cx18-driver.h 	return fh2id(file->private_data);
file              571 drivers/media/pci/cx18/cx18-fileops.c ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,
file              596 drivers/media/pci/cx18/cx18-fileops.c __poll_t cx18_v4l2_enc_poll(struct file *filp, poll_table *wait)
file              646 drivers/media/pci/cx18/cx18-fileops.c int cx18_v4l2_mmap(struct file *file, struct vm_area_struct *vma)
file              648 drivers/media/pci/cx18/cx18-fileops.c 	struct cx18_open_id *id = file->private_data;
file              738 drivers/media/pci/cx18/cx18-fileops.c int cx18_v4l2_close(struct file *filp)
file              780 drivers/media/pci/cx18/cx18-fileops.c static int cx18_serialized_open(struct cx18_stream *s, struct file *filp)
file              829 drivers/media/pci/cx18/cx18-fileops.c int cx18_v4l2_open(struct file *filp)
file               11 drivers/media/pci/cx18/cx18-fileops.h int cx18_v4l2_open(struct file *filp);
file               12 drivers/media/pci/cx18/cx18-fileops.h ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,
file               14 drivers/media/pci/cx18/cx18-fileops.h ssize_t cx18_v4l2_write(struct file *filp, const char __user *buf, size_t count,
file               16 drivers/media/pci/cx18/cx18-fileops.h int cx18_v4l2_close(struct file *filp);
file               17 drivers/media/pci/cx18/cx18-fileops.h __poll_t cx18_v4l2_enc_poll(struct file *filp, poll_table *wait);
file               22 drivers/media/pci/cx18/cx18-fileops.h int cx18_v4l2_mmap(struct file *file, struct vm_area_struct *vma);
file              134 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_fmt_vid_cap(struct file *file, void *fh,
file              158 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_fmt_vbi_cap(struct file *file, void *fh,
file              177 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_fmt_sliced_vbi_cap(struct file *file, void *fh,
file              202 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_try_fmt_vid_cap(struct file *file, void *fh,
file              226 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_try_fmt_vbi_cap(struct file *file, void *fh,
file              229 drivers/media/pci/cx18/cx18-ioctl.c 	return cx18_g_fmt_vbi_cap(file, fh, fmt);
file              232 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_try_fmt_sliced_vbi_cap(struct file *file, void *fh,
file              251 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_fmt_vid_cap(struct file *file, void *fh,
file              263 drivers/media/pci/cx18/cx18-ioctl.c 	ret = cx18_try_fmt_vid_cap(file, fh, fmt);
file              291 drivers/media/pci/cx18/cx18-ioctl.c 	return cx18_g_fmt_vid_cap(file, fh, fmt);
file              294 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_fmt_vbi_cap(struct file *file, void *fh,
file              321 drivers/media/pci/cx18/cx18-ioctl.c 	return cx18_g_fmt_vbi_cap(file, fh, fmt);
file              324 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_fmt_sliced_vbi_cap(struct file *file, void *fh,
file              332 drivers/media/pci/cx18/cx18-ioctl.c 	cx18_try_fmt_sliced_vbi_cap(file, fh, fmt);
file              356 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_register(struct file *file, void *fh,
file              370 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_register(struct file *file, void *fh,
file              384 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_querycap(struct file *file, void *fh,
file              398 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin)
file              405 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_audio(struct file *file, void *fh, struct v4l2_audio *vin)
file              413 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout)
file              424 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_enum_input(struct file *file, void *fh, struct v4l2_input *vin)
file              432 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_pixelaspect(struct file *file, void *fh,
file              445 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_selection(struct file *file, void *fh,
file              465 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_enum_fmt_vid_cap(struct file *file, void *fh,
file              486 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_input(struct file *file, void *fh, unsigned int *i)
file              494 drivers/media/pci/cx18/cx18-ioctl.c int cx18_s_input(struct file *file, void *fh, unsigned int inp)
file              531 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_frequency(struct file *file, void *fh,
file              543 drivers/media/pci/cx18/cx18-ioctl.c int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf)
file              558 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_std(struct file *file, void *fh, v4l2_std_id *std)
file              566 drivers/media/pci/cx18/cx18-ioctl.c int cx18_s_std(struct file *file, void *fh, v4l2_std_id std)
file              602 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file              614 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file              630 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_sliced_vbi_cap(struct file *file, void *fh,
file              751 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_g_enc_index(struct file *file, void *fh,
file              816 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_streamon(struct file *file, void *priv,
file              819 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              837 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_streamoff(struct file *file, void *priv,
file              840 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              855 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_reqbufs(struct file *file, void *priv,
file              858 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              869 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_querybuf(struct file *file, void *priv,
file              872 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              883 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_qbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file              885 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              896 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file              898 drivers/media/pci/cx18/cx18-ioctl.c 	struct cx18_open_id *id = file->private_data;
file              906 drivers/media/pci/cx18/cx18-ioctl.c 	return videobuf_dqbuf(cx18_vb_queue(id), b, file->f_flags & O_NONBLOCK);
file              909 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_encoder_cmd(struct file *file, void *fh,
file              968 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_try_encoder_cmd(struct file *file, void *fh,
file             1001 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_log_status(struct file *file, void *fh)
file             1044 drivers/media/pci/cx18/cx18-ioctl.c static long cx18_default(struct file *file, void *fh, bool valid_prio,
file               15 drivers/media/pci/cx18/cx18-ioctl.h int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
file               16 drivers/media/pci/cx18/cx18-ioctl.h int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
file               17 drivers/media/pci/cx18/cx18-ioctl.h int cx18_s_input(struct file *file, void *fh, unsigned int inp);
file             1221 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file             1223 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1229 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1231 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1247 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_enum_input(struct file *file, void *priv,
file             1250 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1255 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1257 drivers/media/pci/cx23885/cx23885-417.c 	return cx23885_get_input(file, priv, i);
file             1260 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1262 drivers/media/pci/cx23885/cx23885-417.c 	return cx23885_set_input(file, priv, i);
file             1265 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_g_tuner(struct file *file, void *priv,
file             1268 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1282 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_s_tuner(struct file *file, void *priv,
file             1285 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1296 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_g_frequency(struct file *file, void *priv,
file             1299 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1311 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_s_frequency(struct file *file, void *priv,
file             1314 drivers/media/pci/cx23885/cx23885-417.c 	return cx23885_set_frequency(file, priv, f);
file             1317 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_querycap(struct file *file, void  *priv,
file             1320 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1336 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1347 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file             1350 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1365 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file             1368 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1381 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1384 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1397 drivers/media/pci/cx23885/cx23885-417.c static int vidioc_log_status(struct file *file, void *priv)
file             1399 drivers/media/pci/cx23885/cx23885-417.c 	struct cx23885_dev *dev = video_drvdata(file);
file               14 drivers/media/pci/cx23885/cx23885-ioctl.c int cx23885_g_chip_info(struct file *file, void *fh,
file               17 drivers/media/pci/cx23885/cx23885-ioctl.c 	struct cx23885_dev *dev = video_drvdata(file);
file               50 drivers/media/pci/cx23885/cx23885-ioctl.c int cx23885_g_register(struct file *file, void *fh,
file               53 drivers/media/pci/cx23885/cx23885-ioctl.c 	struct cx23885_dev *dev = video_drvdata(file);
file               82 drivers/media/pci/cx23885/cx23885-ioctl.c int cx23885_s_register(struct file *file, void *fh,
file               85 drivers/media/pci/cx23885/cx23885-ioctl.c 	struct cx23885_dev *dev = video_drvdata(file);
file               13 drivers/media/pci/cx23885/cx23885-ioctl.h int cx23885_g_chip_info(struct file *file, void *fh,
file               17 drivers/media/pci/cx23885/cx23885-ioctl.h int cx23885_g_register(struct file *file, void *fh,
file               21 drivers/media/pci/cx23885/cx23885-ioctl.h int cx23885_s_register(struct file *file, void *fh,
file               36 drivers/media/pci/cx23885/cx23885-vbi.c int cx23885_vbi_fmt(struct file *file, void *priv,
file               39 drivers/media/pci/cx23885/cx23885-vbi.c 	struct cx23885_dev *dev = video_drvdata(file);
file              527 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              530 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              545 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              548 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              593 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              596 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              603 drivers/media/pci/cx23885/cx23885-video.c 	err = vidioc_try_fmt_vid_cap(file, priv, f);
file              626 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_querycap(struct file *file, void  *priv,
file              629 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              644 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              655 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_pixelaspect(struct file *file, void *priv,
file              658 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              670 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_selection(struct file *file, void *fh,
file              673 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              692 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              694 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              701 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms)
file              703 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              758 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_enum_input(struct file *file, void *priv,
file              761 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              766 drivers/media/pci/cx23885/cx23885-video.c int cx23885_get_input(struct file *file, void *priv, unsigned int *i)
file              768 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              775 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              777 drivers/media/pci/cx23885/cx23885-video.c 	return cx23885_get_input(file, priv, i);
file              780 drivers/media/pci/cx23885/cx23885-video.c int cx23885_set_input(struct file *file, void *priv, unsigned int i)
file              782 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              802 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              804 drivers/media/pci/cx23885/cx23885-video.c 	return cx23885_set_input(file, priv, i);
file              807 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_log_status(struct file *file, void *priv)
file              809 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              815 drivers/media/pci/cx23885/cx23885-video.c static int cx23885_query_audinput(struct file *file, void *priv,
file              838 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_enum_audinput(struct file *file, void *priv,
file              841 drivers/media/pci/cx23885/cx23885-video.c 	return cx23885_query_audinput(file, priv, i);
file              844 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_audinput(struct file *file, void *priv,
file              847 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              856 drivers/media/pci/cx23885/cx23885-video.c 	return cx23885_query_audinput(file, priv, i);
file              859 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_audinput(struct file *file, void *priv,
file              862 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              881 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_tuner(struct file *file, void *priv,
file              884 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              897 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file              900 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file              912 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file              915 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1019 drivers/media/pci/cx23885/cx23885-video.c int cx23885_set_frequency(struct file *file, void *priv,
file             1022 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dev *dev = video_drvdata(file);
file             1039 drivers/media/pci/cx23885/cx23885-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file             1042 drivers/media/pci/cx23885/cx23885-video.c 	return cx23885_set_frequency(file, priv, f);
file              580 drivers/media/pci/cx23885/cx23885.h int cx23885_set_input(struct file *file, void *priv, unsigned int i);
file              581 drivers/media/pci/cx23885/cx23885.h int cx23885_get_input(struct file *file, void *priv, unsigned int *i);
file              582 drivers/media/pci/cx23885/cx23885.h int cx23885_set_frequency(struct file *file, void *priv, const struct v4l2_frequency *f);
file              587 drivers/media/pci/cx23885/cx23885.h extern int cx23885_vbi_fmt(struct file *file, void *priv,
file              306 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              317 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              320 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              333 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              336 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              371 drivers/media/pci/cx25821/cx25821-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              374 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              379 drivers/media/pci/cx25821/cx25821-video.c 	err = cx25821_vidioc_try_fmt_vid_cap(file, priv, f);
file              407 drivers/media/pci/cx25821/cx25821-video.c static int vidioc_log_status(struct file *file, void *priv)
file              409 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              421 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_querycap(struct file *file, void *priv,
file              424 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              436 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorms)
file              438 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              444 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_s_std(struct file *file, void *priv,
file              447 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              462 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_enum_input(struct file *file, void *priv,
file              474 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              480 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              510 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_enum_output(struct file *file, void *priv,
file              522 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_g_output(struct file *file, void *priv, unsigned int *o)
file              528 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_s_output(struct file *file, void *priv, unsigned int o)
file              533 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              536 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              552 drivers/media/pci/cx25821/cx25821-video.c static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file              555 drivers/media/pci/cx25821/cx25821-video.c 	struct cx25821_channel *chan = video_drvdata(file);
file              558 drivers/media/pci/cx25821/cx25821-video.c 	err = cx25821_vidioc_try_fmt_vid_out(file, priv, f);
file              791 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_querycap(struct file *file, void  *priv,
file              794 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              799 drivers/media/pci/cx88/cx88-blackbird.c 	return cx88_querycap(file, core, cap);
file              802 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              812 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              815 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              828 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              831 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              868 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              871 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              879 drivers/media/pci/cx88/cx88-blackbird.c 	vidioc_try_fmt_vid_cap(file, priv, f);
file              890 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_s_frequency(struct file *file, void *priv,
file              893 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              913 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_log_status(struct file *file, void *priv)
file              915 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              925 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_enum_input(struct file *file, void *priv,
file              928 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              934 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_g_frequency(struct file *file, void *priv,
file              937 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              951 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              953 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              960 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              962 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              975 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_g_tuner(struct file *file, void *priv,
file              978 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file              998 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_s_tuner(struct file *file, void *priv,
file             1001 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file             1013 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm)
file             1015 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file             1022 drivers/media/pci/cx88/cx88-blackbird.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1024 drivers/media/pci/cx88/cx88-blackbird.c 	struct cx8802_dev *dev = video_drvdata(file);
file               23 drivers/media/pci/cx88/cx88-vbi.c int cx8800_vbi_fmt(struct file *file, void *priv,
file               26 drivers/media/pci/cx88/cx88-vbi.c 	struct cx8800_dev *dev = video_drvdata(file);
file              573 drivers/media/pci/cx88/cx88-video.c static int radio_open(struct file *file)
file              575 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              577 drivers/media/pci/cx88/cx88-video.c 	int ret = v4l2_fh_open(file);
file              706 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              709 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              724 drivers/media/pci/cx88/cx88-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              727 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              770 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              773 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              775 drivers/media/pci/cx88/cx88-video.c 	int err = vidioc_try_fmt_vid_cap(file, priv, f);
file              790 drivers/media/pci/cx88/cx88-video.c int cx88_querycap(struct file *file, struct cx88_core *core,
file              805 drivers/media/pci/cx88/cx88-video.c static int vidioc_querycap(struct file *file, void  *priv,
file              808 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              813 drivers/media/pci/cx88/cx88-video.c 	return cx88_querycap(file, core, cap);
file              816 drivers/media/pci/cx88/cx88-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              827 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm)
file              829 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              836 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms)
file              838 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              875 drivers/media/pci/cx88/cx88-video.c static int vidioc_enum_input(struct file *file, void *priv,
file              878 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              884 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              886 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              893 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              895 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              908 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_tuner(struct file *file, void *priv,
file              911 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              931 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file              934 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              946 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file              949 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              987 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file              990 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              997 drivers/media/pci/cx88/cx88-video.c static int vidioc_g_register(struct file *file, void *fh,
file             1000 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file             1009 drivers/media/pci/cx88/cx88-video.c static int vidioc_s_register(struct file *file, void *fh,
file             1012 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file             1024 drivers/media/pci/cx88/cx88-video.c static int radio_g_tuner(struct file *file, void *priv,
file             1027 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file             1039 drivers/media/pci/cx88/cx88-video.c static int radio_s_tuner(struct file *file, void *priv,
file             1042 drivers/media/pci/cx88/cx88-video.c 	struct cx8800_dev *dev = video_drvdata(file);
file              658 drivers/media/pci/cx88/cx88.h int cx8800_vbi_fmt(struct file *file, void *priv,
file              727 drivers/media/pci/cx88/cx88.h int cx88_querycap(struct file *file, struct cx88_core *core,
file              715 drivers/media/pci/ddbridge/ddbridge-core.c static ssize_t ts_write(struct file *file, const __user char *buf,
file              718 drivers/media/pci/ddbridge/ddbridge-core.c 	struct dvb_device *dvbdev = file->private_data;
file              728 drivers/media/pci/ddbridge/ddbridge-core.c 			if (file->f_flags & O_NONBLOCK)
file              744 drivers/media/pci/ddbridge/ddbridge-core.c static ssize_t ts_read(struct file *file, __user char *buf,
file              747 drivers/media/pci/ddbridge/ddbridge-core.c 	struct dvb_device *dvbdev = file->private_data;
file              758 drivers/media/pci/ddbridge/ddbridge-core.c 			if (file->f_flags & O_NONBLOCK)
file              774 drivers/media/pci/ddbridge/ddbridge-core.c static __poll_t ts_poll(struct file *file, poll_table *wait)
file              776 drivers/media/pci/ddbridge/ddbridge-core.c 	struct dvb_device *dvbdev = file->private_data;
file              782 drivers/media/pci/ddbridge/ddbridge-core.c 	poll_wait(file, &input->dma->wq, wait);
file              783 drivers/media/pci/ddbridge/ddbridge-core.c 	poll_wait(file, &output->dma->wq, wait);
file              791 drivers/media/pci/ddbridge/ddbridge-core.c static int ts_release(struct inode *inode, struct file *file)
file              793 drivers/media/pci/ddbridge/ddbridge-core.c 	struct dvb_device *dvbdev = file->private_data;
file              802 drivers/media/pci/ddbridge/ddbridge-core.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
file              806 drivers/media/pci/ddbridge/ddbridge-core.c 	} else if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
file              811 drivers/media/pci/ddbridge/ddbridge-core.c 	return dvb_generic_release(inode, file);
file              814 drivers/media/pci/ddbridge/ddbridge-core.c static int ts_open(struct inode *inode, struct file *file)
file              817 drivers/media/pci/ddbridge/ddbridge-core.c 	struct dvb_device *dvbdev = file->private_data;
file              826 drivers/media/pci/ddbridge/ddbridge-core.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
file              831 drivers/media/pci/ddbridge/ddbridge-core.c 	} else if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
file              838 drivers/media/pci/ddbridge/ddbridge-core.c 	err = dvb_generic_open(inode, file);
file              841 drivers/media/pci/ddbridge/ddbridge-core.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY)
file              843 drivers/media/pci/ddbridge/ddbridge-core.c 	else if ((file->f_flags & O_ACCMODE) == O_WRONLY)
file             2692 drivers/media/pci/ddbridge/ddbridge-core.c static int ddb_release(struct inode *inode, struct file *file)
file             2694 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb *dev = file->private_data;
file             2700 drivers/media/pci/ddbridge/ddbridge-core.c static int ddb_open(struct inode *inode, struct file *file)
file             2707 drivers/media/pci/ddbridge/ddbridge-core.c 	file->private_data = dev;
file             2711 drivers/media/pci/ddbridge/ddbridge-core.c static long ddb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2713 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb *dev = file->private_data;
file              292 drivers/media/pci/dt3155/dt3155.c static int dt3155_querycap(struct file *filp, void *p,
file              303 drivers/media/pci/dt3155/dt3155.c static int dt3155_enum_fmt_vid_cap(struct file *filp,
file              312 drivers/media/pci/dt3155/dt3155.c static int dt3155_fmt_vid_cap(struct file *filp, void *p, struct v4l2_format *f)
file              326 drivers/media/pci/dt3155/dt3155.c static int dt3155_g_std(struct file *filp, void *p, v4l2_std_id *norm)
file              334 drivers/media/pci/dt3155/dt3155.c static int dt3155_s_std(struct file *filp, void *p, v4l2_std_id norm)
file              355 drivers/media/pci/dt3155/dt3155.c static int dt3155_enum_input(struct file *filp, void *p,
file              371 drivers/media/pci/dt3155/dt3155.c static int dt3155_g_input(struct file *filp, void *p, unsigned int *i)
file              379 drivers/media/pci/dt3155/dt3155.c static int dt3155_s_input(struct file *filp, void *p, unsigned int i)
file             1062 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_v4l2_querycap(struct file *file, void *fh,
file             1065 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct cio2_device *cio2 = video_drvdata(file);
file             1075 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_v4l2_enum_fmt(struct file *file, void *fh,
file             1087 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_v4l2_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file             1089 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct cio2_queue *q = file_to_cio2_queue(file);
file             1096 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_v4l2_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file             1130 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_v4l2_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file             1132 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct cio2_queue *q = file_to_cio2_queue(file);
file             1134 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	cio2_v4l2_try_fmt(file, fh, f);
file             1141 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_enum_input(struct file *file, void *fh, struct v4l2_input *input)
file             1153 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_g_input(struct file *file, void *fh, unsigned int *input)
file             1161 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_s_input(struct file *file, void *fh, unsigned int input)
file              427 drivers/media/pci/intel/ipu3/ipu3-cio2.h static inline struct cio2_queue *file_to_cio2_queue(struct file *file)
file              429 drivers/media/pci/intel/ipu3/ipu3-cio2.h 	return container_of(video_devdata(file), struct cio2_queue, vdev);
file              493 drivers/media/pci/ivtv/ivtv-fileops.c ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_t * pos)
file              536 drivers/media/pci/ivtv/ivtv-fileops.c static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
file              708 drivers/media/pci/ivtv/ivtv-fileops.c ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
file              721 drivers/media/pci/ivtv/ivtv-fileops.c __poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table *wait)
file              755 drivers/media/pci/ivtv/ivtv-fileops.c __poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table *wait)
file              866 drivers/media/pci/ivtv/ivtv-fileops.c int ivtv_v4l2_close(struct file *filp)
file              931 drivers/media/pci/ivtv/ivtv-fileops.c static int ivtv_open(struct file *filp)
file             1034 drivers/media/pci/ivtv/ivtv-fileops.c int ivtv_v4l2_open(struct file *filp)
file               13 drivers/media/pci/ivtv/ivtv-fileops.h int ivtv_v4l2_open(struct file *filp);
file               14 drivers/media/pci/ivtv/ivtv-fileops.h ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count,
file               16 drivers/media/pci/ivtv/ivtv-fileops.h ssize_t ivtv_v4l2_write(struct file *filp, const char __user *buf, size_t count,
file               18 drivers/media/pci/ivtv/ivtv-fileops.h int ivtv_v4l2_close(struct file *filp);
file               19 drivers/media/pci/ivtv/ivtv-fileops.h __poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table * wait);
file               20 drivers/media/pci/ivtv/ivtv-fileops.h __poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table * wait);
file              314 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              336 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              359 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              377 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              400 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              440 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt)
file              462 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              464 drivers/media/pci/ivtv/ivtv-ioctl.c 	return ivtv_g_fmt_sliced_vbi_out(file, fh, fmt);
file              467 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              484 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_g_fmt_vid_cap(file, fh, fmt);
file              490 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              492 drivers/media/pci/ivtv/ivtv-ioctl.c 	return ivtv_g_fmt_vbi_cap(file, fh, fmt);
file              495 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              502 drivers/media/pci/ivtv/ivtv-ioctl.c 		return ivtv_g_fmt_sliced_vbi_cap(file, fh, fmt);
file              516 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              522 drivers/media/pci/ivtv/ivtv-ioctl.c 	int ret = ivtv_g_fmt_vid_out(file, fh, fmt);
file              550 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt)
file              561 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_g_fmt_vid_out_overlay(file, fh, fmt);
file              567 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              569 drivers/media/pci/ivtv/ivtv-ioctl.c 	return ivtv_g_fmt_sliced_vbi_out(file, fh, fmt);
file              572 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              579 drivers/media/pci/ivtv/ivtv-ioctl.c 	int ret = ivtv_try_fmt_vid_cap(file, fh, fmt);
file              600 drivers/media/pci/ivtv/ivtv-ioctl.c 	return ivtv_g_fmt_vid_cap(file, fh, fmt);
file              603 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              612 drivers/media/pci/ivtv/ivtv-ioctl.c 	return ivtv_g_fmt_vbi_cap(file, fh, fmt);
file              615 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              620 drivers/media/pci/ivtv/ivtv-ioctl.c 	int ret = ivtv_try_fmt_sliced_vbi_cap(file, fh, fmt);
file              634 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              639 drivers/media/pci/ivtv/ivtv-ioctl.c 	int ret = ivtv_try_fmt_vid_out(file, fh, fmt);
file              679 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt)
file              682 drivers/media/pci/ivtv/ivtv-ioctl.c 	int ret = ivtv_try_fmt_vid_out_overlay(file, fh, fmt);
file              716 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_register(struct file *file, void *fh, struct v4l2_dbg_register *reg)
file              724 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_register(struct file *file, void *fh, const struct v4l2_dbg_register *reg)
file              733 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap)
file              735 drivers/media/pci/ivtv/ivtv-ioctl.c 	struct ivtv_open_id *id = fh2id(file->private_data);
file              745 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin)
file              752 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_audio(struct file *file, void *fh, struct v4l2_audio *vin)
file              760 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout)
file              773 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vin)
file              781 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_audout(struct file *file, void *fh, struct v4l2_audioout *vin)
file              789 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout)
file              798 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enum_input(struct file *file, void *fh, struct v4l2_input *vin)
file              806 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout)
file              813 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_pixelaspect(struct file *file, void *fh,
file              831 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_selection(struct file *file, void *fh,
file              874 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_selection(struct file *file, void *fh,
file              920 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *fmt)
file              946 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_enum_fmt_vid_out(struct file *file, void *fh, struct v4l2_fmtdesc *fmt)
file              972 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_input(struct file *file, void *fh, unsigned int *i)
file              981 drivers/media/pci/ivtv/ivtv-ioctl.c int ivtv_s_input(struct file *file, void *fh, unsigned int inp)
file             1024 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_output(struct file *file, void *fh, unsigned int *i)
file             1036 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_output(struct file *file, void *fh, unsigned int outp)
file             1058 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf)
file             1072 drivers/media/pci/ivtv/ivtv-ioctl.c int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf)
file             1089 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_std(struct file *file, void *fh, v4l2_std_id *std)
file             1162 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_std(struct file *file, void *fh, v4l2_std_id std)
file             1190 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file             1203 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file             1219 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap)
file             1254 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_enc_index(struct file *file, void *fh, struct v4l2_enc_idx *idx)
file             1280 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc)
file             1332 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc)
file             1362 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb)
file             1449 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb)
file             1470 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_overlay(struct file *file, void *fh, unsigned int on)
file             1497 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_log_status(struct file *file, void *fh)
file             1589 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec)
file             1591 drivers/media/pci/ivtv/ivtv-ioctl.c 	struct ivtv_open_id *id = fh2id(file->private_data);
file             1598 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec)
file             1600 drivers/media/pci/ivtv/ivtv-ioctl.c 	struct ivtv_open_id *id = fh2id(file->private_data);
file             1630 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg)
file             1839 drivers/media/pci/ivtv/ivtv-ioctl.c static long ivtv_default(struct file *file, void *fh, bool valid_prio,
file             1890 drivers/media/pci/ivtv/ivtv-ioctl.c 		return ivtv_decoder_ioctls(file, cmd, (void *)arg);
file               20 drivers/media/pci/ivtv/ivtv-ioctl.h int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
file               21 drivers/media/pci/ivtv/ivtv-ioctl.h int ivtv_s_input(struct file *file, void *fh, unsigned int inp);
file              834 drivers/media/pci/meye/meye.c static int meye_open(struct file *file)
file              853 drivers/media/pci/meye/meye.c 	return v4l2_fh_open(file);
file              856 drivers/media/pci/meye/meye.c static int meye_release(struct file *file)
file              861 drivers/media/pci/meye/meye.c 	return v4l2_fh_release(file);
file              932 drivers/media/pci/meye/meye.c static int meyeioc_sync(struct file *file, void *fh, int *i)
file              946 drivers/media/pci/meye/meye.c 		if (file->f_flags & O_NONBLOCK) {
file             1010 drivers/media/pci/meye/meye.c static int vidioc_querycap(struct file *file, void *fh,
file             1019 drivers/media/pci/meye/meye.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file             1030 drivers/media/pci/meye/meye.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *i)
file             1036 drivers/media/pci/meye/meye.c static int vidioc_s_input(struct file *file, void *fh, unsigned int i)
file             1098 drivers/media/pci/meye/meye.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *fh,
file             1116 drivers/media/pci/meye/meye.c static int vidioc_try_fmt_vid_cap(struct file *file, void *fh,
file             1145 drivers/media/pci/meye/meye.c static int vidioc_g_fmt_vid_cap(struct file *file, void *fh,
file             1168 drivers/media/pci/meye/meye.c static int vidioc_s_fmt_vid_cap(struct file *file, void *fh,
file             1210 drivers/media/pci/meye/meye.c static int vidioc_reqbufs(struct file *file, void *fh,
file             1252 drivers/media/pci/meye/meye.c static int vidioc_querybuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file             1278 drivers/media/pci/meye/meye.c static int vidioc_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file             1300 drivers/media/pci/meye/meye.c static int vidioc_dqbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file             1309 drivers/media/pci/meye/meye.c 	if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) {
file             1346 drivers/media/pci/meye/meye.c static int vidioc_streamon(struct file *file, void *fh, enum v4l2_buf_type i)
file             1367 drivers/media/pci/meye/meye.c static int vidioc_streamoff(struct file *file, void *fh, enum v4l2_buf_type i)
file             1381 drivers/media/pci/meye/meye.c static long vidioc_default(struct file *file, void *fh, bool valid_prio,
file             1395 drivers/media/pci/meye/meye.c 		return meyeioc_sync(file, fh, (int *) arg);
file             1409 drivers/media/pci/meye/meye.c static __poll_t meye_poll(struct file *file, poll_table *wait)
file             1411 drivers/media/pci/meye/meye.c 	__poll_t res = v4l2_ctrl_poll(file, wait);
file             1414 drivers/media/pci/meye/meye.c 	poll_wait(file, &meye.proc_list, wait);
file             1438 drivers/media/pci/meye/meye.c static int meye_mmap(struct file *file, struct vm_area_struct *vma)
file               36 drivers/media/pci/ngene/ngene-dvb.c static ssize_t ts_write(struct file *file, const char __user *buf,
file               39 drivers/media/pci/ngene/ngene-dvb.c 	struct dvb_device *dvbdev = file->private_data;
file               53 drivers/media/pci/ngene/ngene-dvb.c static ssize_t ts_read(struct file *file, char __user *buf,
file               56 drivers/media/pci/ngene/ngene-dvb.c 	struct dvb_device *dvbdev = file->private_data;
file               77 drivers/media/pci/ngene/ngene-dvb.c static __poll_t ts_poll(struct file *file, poll_table *wait)
file               79 drivers/media/pci/ngene/ngene-dvb.c 	struct dvb_device *dvbdev = file->private_data;
file               86 drivers/media/pci/ngene/ngene-dvb.c 	poll_wait(file, &rbuf->queue, wait);
file               87 drivers/media/pci/ngene/ngene-dvb.c 	poll_wait(file, &wbuf->queue, wait);
file               88 drivers/media/pci/saa7134/saa7134-empress.c static int empress_enum_fmt_vid_cap(struct file *file, void  *priv,
file               98 drivers/media/pci/saa7134/saa7134-empress.c static int empress_g_fmt_vid_cap(struct file *file, void *priv,
file              101 drivers/media/pci/saa7134/saa7134-empress.c 	struct saa7134_dev *dev = video_drvdata(file);
file              117 drivers/media/pci/saa7134/saa7134-empress.c static int empress_s_fmt_vid_cap(struct file *file, void *priv,
file              120 drivers/media/pci/saa7134/saa7134-empress.c 	struct saa7134_dev *dev = video_drvdata(file);
file              136 drivers/media/pci/saa7134/saa7134-empress.c static int empress_try_fmt_vid_cap(struct file *file, void *priv,
file              139 drivers/media/pci/saa7134/saa7134-empress.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1127 drivers/media/pci/saa7134/saa7134-video.c static int video_open(struct file *file)
file             1129 drivers/media/pci/saa7134/saa7134-video.c 	struct video_device *vdev = video_devdata(file);
file             1130 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1131 drivers/media/pci/saa7134/saa7134-video.c 	int ret = v4l2_fh_open(file);
file             1150 drivers/media/pci/saa7134/saa7134-video.c static int video_release(struct file *file)
file             1152 drivers/media/pci/saa7134/saa7134-video.c 	struct video_device *vdev = video_devdata(file);
file             1153 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1154 drivers/media/pci/saa7134/saa7134-video.c 	struct v4l2_fh *fh = file->private_data;
file             1170 drivers/media/pci/saa7134/saa7134-video.c 		v4l2_fh_release(file);
file             1172 drivers/media/pci/saa7134/saa7134-video.c 		_vb2_fop_release(file, NULL);
file             1188 drivers/media/pci/saa7134/saa7134-video.c static ssize_t radio_read(struct file *file, char __user *data,
file             1191 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1195 drivers/media/pci/saa7134/saa7134-video.c 	cmd.nonblocking = file->f_flags & O_NONBLOCK;
file             1197 drivers/media/pci/saa7134/saa7134-video.c 	cmd.instance = file;
file             1207 drivers/media/pci/saa7134/saa7134-video.c static __poll_t radio_poll(struct file *file, poll_table *wait)
file             1209 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1211 drivers/media/pci/saa7134/saa7134-video.c 	__poll_t rc = v4l2_ctrl_poll(file, wait);
file             1213 drivers/media/pci/saa7134/saa7134-video.c 	cmd.instance = file;
file             1225 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_try_get_set_fmt_vbi_cap(struct file *file, void *priv,
file             1228 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1245 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_g_fmt_vid_cap(struct file *file, void *priv,
file             1248 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1265 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_g_fmt_vid_overlay(struct file *file, void *priv,
file             1268 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1295 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_try_fmt_vid_cap(struct file *file, void *priv,
file             1298 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1348 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_try_fmt_vid_overlay(struct file *file, void *priv,
file             1351 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1363 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_s_fmt_vid_cap(struct file *file, void *priv,
file             1366 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1369 drivers/media/pci/saa7134/saa7134-video.c 	err = saa7134_try_fmt_vid_cap(file, priv, f);
file             1380 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_s_fmt_vid_overlay(struct file *file, void *priv,
file             1383 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1414 drivers/media/pci/saa7134/saa7134-video.c int saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i)
file             1416 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1452 drivers/media/pci/saa7134/saa7134-video.c int saa7134_g_input(struct file *file, void *priv, unsigned int *i)
file             1454 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1461 drivers/media/pci/saa7134/saa7134-video.c int saa7134_s_input(struct file *file, void *priv, unsigned int i)
file             1463 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1474 drivers/media/pci/saa7134/saa7134-video.c int saa7134_querycap(struct file *file, void *priv,
file             1477 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1497 drivers/media/pci/saa7134/saa7134-video.c int saa7134_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1499 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1505 drivers/media/pci/saa7134/saa7134-video.c 	if (is_empress(file) && dev->overlay_owner) {
file             1544 drivers/media/pci/saa7134/saa7134-video.c 	if (!is_empress(file) && fh == dev->overlay_owner) {
file             1562 drivers/media/pci/saa7134/saa7134-video.c int saa7134_g_std(struct file *file, void *priv, v4l2_std_id *id)
file             1564 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1592 drivers/media/pci/saa7134/saa7134-video.c int saa7134_querystd(struct file *file, void *priv, v4l2_std_id *std)
file             1594 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1600 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_g_pixelaspect(struct file *file, void *priv,
file             1603 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1620 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_g_selection(struct file *file, void *f, struct v4l2_selection *sel)
file             1622 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1644 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_s_selection(struct file *file, void *f, struct v4l2_selection *sel)
file             1646 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1680 drivers/media/pci/saa7134/saa7134-video.c int saa7134_g_tuner(struct file *file, void *priv,
file             1683 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1713 drivers/media/pci/saa7134/saa7134-video.c int saa7134_s_tuner(struct file *file, void *priv,
file             1716 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1734 drivers/media/pci/saa7134/saa7134-video.c int saa7134_g_frequency(struct file *file, void *priv,
file             1737 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1748 drivers/media/pci/saa7134/saa7134-video.c int saa7134_s_frequency(struct file *file, void *priv,
file             1751 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1763 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1774 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_enum_fmt_vid_overlay(struct file *file, void  *priv,
file             1790 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_g_fbuf(struct file *file, void *f,
file             1793 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1801 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_s_fbuf(struct file *file, void *f,
file             1804 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1825 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_overlay(struct file *file, void *priv, unsigned int on)
file             1827 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1855 drivers/media/pci/saa7134/saa7134-video.c static int vidioc_g_register (struct file *file, void *priv,
file             1858 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1865 drivers/media/pci/saa7134/saa7134-video.c static int vidioc_s_register (struct file *file, void *priv,
file             1868 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1875 drivers/media/pci/saa7134/saa7134-video.c static int radio_g_tuner(struct file *file, void *priv,
file             1878 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file             1894 drivers/media/pci/saa7134/saa7134-video.c static int radio_s_tuner(struct file *file, void *priv,
file             1897 drivers/media/pci/saa7134/saa7134-video.c 	struct saa7134_dev *dev = video_drvdata(file);
file              734 drivers/media/pci/saa7134/saa7134.h static inline bool is_empress(struct file *file)
file              736 drivers/media/pci/saa7134/saa7134.h 	struct video_device *vdev = video_devdata(file);
file              810 drivers/media/pci/saa7134/saa7134.h int saa7134_s_std(struct file *file, void *priv, v4l2_std_id id);
file              811 drivers/media/pci/saa7134/saa7134.h int saa7134_g_std(struct file *file, void *priv, v4l2_std_id *id);
file              812 drivers/media/pci/saa7134/saa7134.h int saa7134_querystd(struct file *file, void *priv, v4l2_std_id *std);
file              813 drivers/media/pci/saa7134/saa7134.h int saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i);
file              814 drivers/media/pci/saa7134/saa7134.h int saa7134_g_input(struct file *file, void *priv, unsigned int *i);
file              815 drivers/media/pci/saa7134/saa7134.h int saa7134_s_input(struct file *file, void *priv, unsigned int i);
file              816 drivers/media/pci/saa7134/saa7134.h int saa7134_querycap(struct file *file, void  *priv,
file              818 drivers/media/pci/saa7134/saa7134.h int saa7134_g_tuner(struct file *file, void *priv,
file              820 drivers/media/pci/saa7134/saa7134.h int saa7134_s_tuner(struct file *file, void *priv,
file              822 drivers/media/pci/saa7134/saa7134.h int saa7134_g_frequency(struct file *file, void *priv,
file              824 drivers/media/pci/saa7134/saa7134.h int saa7134_s_frequency(struct file *file, void *priv,
file              203 drivers/media/pci/saa7146/hexium_gemini.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              216 drivers/media/pci/saa7146/hexium_gemini.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input)
file              227 drivers/media/pci/saa7146/hexium_gemini.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              314 drivers/media/pci/saa7146/hexium_orion.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              327 drivers/media/pci/saa7146/hexium_orion.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input)
file              338 drivers/media/pci/saa7146/hexium_orion.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              449 drivers/media/pci/saa7146/mxb.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              458 drivers/media/pci/saa7146/mxb.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *i)
file              468 drivers/media/pci/saa7146/mxb.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              530 drivers/media/pci/saa7146/mxb.c static int vidioc_g_tuner(struct file *file, void *fh, struct v4l2_tuner *t)
file              552 drivers/media/pci/saa7146/mxb.c static int vidioc_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *t)
file              567 drivers/media/pci/saa7146/mxb.c static int vidioc_querystd(struct file *file, void *fh, v4l2_std_id *norm)
file              574 drivers/media/pci/saa7146/mxb.c static int vidioc_g_frequency(struct file *file, void *fh, struct v4l2_frequency *f)
file              587 drivers/media/pci/saa7146/mxb.c static int vidioc_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *f)
file              620 drivers/media/pci/saa7146/mxb.c static int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *a)
file              628 drivers/media/pci/saa7146/mxb.c static int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *a)
file              638 drivers/media/pci/saa7146/mxb.c static int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *a)
file              657 drivers/media/pci/saa7146/mxb.c static int vidioc_g_register(struct file *file, void *fh, struct v4l2_dbg_register *reg)
file              668 drivers/media/pci/saa7146/mxb.c static int vidioc_s_register(struct file *file, void *fh, const struct v4l2_dbg_register *reg)
file              220 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file              222 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              233 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              235 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              240 drivers/media/pci/saa7164/saa7164-encoder.c int saa7164_enum_input(struct file *file, void *priv, struct v4l2_input *i)
file              278 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              280 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              302 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              304 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              309 drivers/media/pci/saa7164/saa7164-encoder.c int saa7164_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
file              311 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              328 drivers/media/pci/saa7164/saa7164-encoder.c int saa7164_s_tuner(struct file *file, void *priv,
file              347 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_g_frequency(struct file *file, void *priv,
file              350 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              400 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_s_frequency(struct file *file, void *priv,
file              403 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              483 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_querycap(struct file *file, void  *priv,
file              486 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              500 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              511 drivers/media/pci/saa7164/saa7164-encoder.c static int vidioc_fmt_vid_cap(struct file *file, void *priv,
file              514 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              708 drivers/media/pci/saa7164/saa7164-encoder.c static int fops_open(struct file *file)
file              714 drivers/media/pci/saa7164/saa7164-encoder.c 	port = (struct saa7164_port *)video_get_drvdata(video_devdata(file));
file              728 drivers/media/pci/saa7164/saa7164-encoder.c 	v4l2_fh_init(&fh->fh, video_devdata(file));
file              730 drivers/media/pci/saa7164/saa7164-encoder.c 	file->private_data = fh;
file              735 drivers/media/pci/saa7164/saa7164-encoder.c static int fops_release(struct file *file)
file              737 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              788 drivers/media/pci/saa7164/saa7164-encoder.c static ssize_t fops_read(struct file *file, char __user *buffer,
file              791 drivers/media/pci/saa7164/saa7164-encoder.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              826 drivers/media/pci/saa7164/saa7164-encoder.c 	if ((file->f_flags & O_NONBLOCK) == 0) {
file              878 drivers/media/pci/saa7164/saa7164-encoder.c 			if ((file->f_flags & O_NONBLOCK) == 0) {
file              894 drivers/media/pci/saa7164/saa7164-encoder.c static __poll_t fops_poll(struct file *file, poll_table *wait)
file              898 drivers/media/pci/saa7164/saa7164-encoder.c 		(struct saa7164_encoder_fh *)file->private_data;
file              900 drivers/media/pci/saa7164/saa7164-encoder.c 	__poll_t mask = v4l2_ctrl_poll(file, wait);
file              147 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file              149 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              154 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              156 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_encoder_fh *fh = file->private_data;
file              161 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              163 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              168 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              170 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              175 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_g_frequency(struct file *file, void *priv,
file              178 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              183 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_s_frequency(struct file *file, void *priv,
file              186 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              194 drivers/media/pci/saa7164/saa7164-vbi.c static int vidioc_querycap(struct file *file, void  *priv,
file              197 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              396 drivers/media/pci/saa7164/saa7164-vbi.c static int saa7164_vbi_fmt(struct file *file, void *priv,
file              413 drivers/media/pci/saa7164/saa7164-vbi.c static int fops_open(struct file *file)
file              419 drivers/media/pci/saa7164/saa7164-vbi.c 	port = (struct saa7164_port *)video_get_drvdata(video_devdata(file));
file              433 drivers/media/pci/saa7164/saa7164-vbi.c 	v4l2_fh_init(&fh->fh, video_devdata(file));
file              435 drivers/media/pci/saa7164/saa7164-vbi.c 	file->private_data = fh;
file              440 drivers/media/pci/saa7164/saa7164-vbi.c static int fops_release(struct file *file)
file              442 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              492 drivers/media/pci/saa7164/saa7164-vbi.c static ssize_t fops_read(struct file *file, char __user *buffer,
file              495 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = file->private_data;
file              530 drivers/media/pci/saa7164/saa7164-vbi.c 	if ((file->f_flags & O_NONBLOCK) == 0) {
file              582 drivers/media/pci/saa7164/saa7164-vbi.c 			if ((file->f_flags & O_NONBLOCK) == 0) {
file              600 drivers/media/pci/saa7164/saa7164-vbi.c static __poll_t fops_poll(struct file *file, poll_table *wait)
file              602 drivers/media/pci/saa7164/saa7164-vbi.c 	struct saa7164_vbi_fh *fh = (struct saa7164_vbi_fh *)file->private_data;
file              627 drivers/media/pci/saa7164/saa7164-vbi.c 	if ((file->f_flags & O_NONBLOCK) == 0) {
file              587 drivers/media/pci/saa7164/saa7164.h int saa7164_enum_input(struct file *file, void *priv, struct v4l2_input *i);
file              590 drivers/media/pci/saa7164/saa7164.h int saa7164_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t);
file              591 drivers/media/pci/saa7164/saa7164.h int saa7164_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t);
file              367 drivers/media/pci/solo6x10/solo6x10-core.c static ssize_t sdram_show(struct file *file, struct kobject *kobj,
file              763 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_querycap(struct file *file, void  *priv,
file              766 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              777 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_enum_input(struct file *file, void *priv,
file              780 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              797 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_set_input(struct file *file, void *priv,
file              806 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_get_input(struct file *file, void *priv,
file              814 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_enum_fmt_cap(struct file *file, void *priv,
file              817 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              847 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_try_fmt_cap(struct file *file, void *priv,
file              850 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              886 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_set_fmt_cap(struct file *file, void *priv,
file              889 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              897 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	ret = solo_enc_try_fmt_cap(file, priv, f);
file              923 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_get_fmt_cap(struct file *file, void *priv,
file              926 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              940 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_g_std(struct file *file, void *priv, v4l2_std_id *i)
file              942 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              952 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_s_std(struct file *file, void *priv, v4l2_std_id std)
file              954 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              959 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enum_framesizes(struct file *file, void *priv,
file              962 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file              986 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enum_frameintervals(struct file *file, void *priv,
file              989 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file             1016 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_g_parm(struct file *file, void *priv,
file             1019 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file             1042 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_s_parm(struct file *file, void *priv,
file             1045 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	struct solo_enc_dev *solo_enc = video_drvdata(file);
file             1054 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	return solo_g_parm(file, priv, sp);
file              372 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_querycap(struct file *file, void  *priv,
file              375 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              408 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_enum_input(struct file *file, void *priv,
file              411 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              432 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_set_input(struct file *file, void *priv, unsigned int index)
file              434 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              445 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_get_input(struct file *file, void *priv, unsigned int *index)
file              447 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              454 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_enum_fmt_cap(struct file *file, void *priv,
file              464 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_try_fmt_cap(struct file *file, void *priv,
file              467 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              483 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_set_fmt_cap(struct file *file, void *priv,
file              486 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              493 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	return solo_try_fmt_cap(file, priv, f);
file              496 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_get_fmt_cap(struct file *file, void *priv,
file              499 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              513 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_g_std(struct file *file, void *priv, v4l2_std_id *i)
file              515 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              545 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_s_std(struct file *file, void *priv, v4l2_std_id std)
file              547 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	struct solo_dev *solo_dev = video_drvdata(file);
file              401 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_querycap(struct file *file, void *priv,
file              404 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              427 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id std)
file              429 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              462 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              464 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              480 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              482 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              487 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_enum_input(struct file *file, void *priv,
file              512 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              514 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              537 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              539 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              556 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              583 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              586 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              641 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              644 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              648 drivers/media/pci/sta2x11/sta2x11_vip.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file              708 drivers/media/pci/sta2x11/sta2x11_vip.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              711 drivers/media/pci/sta2x11/sta2x11_vip.c 	struct sta2x11_vip *vip = video_drvdata(file);
file              678 drivers/media/pci/ttpci/av7110.c static int dvb_osd_ioctl(struct file *file,
file              681 drivers/media/pci/ttpci/av7110.c 	struct dvb_device *dvbdev = file->private_data;
file              925 drivers/media/pci/ttpci/av7110_av.c static __poll_t dvb_video_poll(struct file *file, poll_table *wait)
file              927 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file              933 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY)
file              934 drivers/media/pci/ttpci/av7110_av.c 		poll_wait(file, &av7110->avout.queue, wait);
file              936 drivers/media/pci/ttpci/av7110_av.c 	poll_wait(file, &av7110->video_events.wait_queue, wait);
file              941 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
file              954 drivers/media/pci/ttpci/av7110_av.c static ssize_t dvb_video_write(struct file *file, const char __user *buf,
file              957 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file              963 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY)
file              972 drivers/media/pci/ttpci/av7110_av.c 		return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1);
file              974 drivers/media/pci/ttpci/av7110_av.c 		return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1);
file              977 drivers/media/pci/ttpci/av7110_av.c static __poll_t dvb_audio_poll(struct file *file, poll_table *wait)
file              979 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file              985 drivers/media/pci/ttpci/av7110_av.c 	poll_wait(file, &av7110->aout.queue, wait);
file              996 drivers/media/pci/ttpci/av7110_av.c static ssize_t dvb_audio_write(struct file *file, const char __user *buf,
file              999 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1013 drivers/media/pci/ttpci/av7110_av.c 		return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0);
file             1015 drivers/media/pci/ttpci/av7110_av.c 		return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0);
file             1120 drivers/media/pci/ttpci/av7110_av.c static int dvb_video_ioctl(struct file *file,
file             1123 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1130 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
file             1210 drivers/media/pci/ttpci/av7110_av.c 		ret = dvb_compat_video_get_event(av7110, parg, file->f_flags);
file             1215 drivers/media/pci/ttpci/av7110_av.c 		ret = dvb_video_get_event(av7110, parg, file->f_flags);
file             1264 drivers/media/pci/ttpci/av7110_av.c 				  pic->size, file->f_flags & O_NONBLOCK);
file             1276 drivers/media/pci/ttpci/av7110_av.c 				  file->f_flags & O_NONBLOCK);
file             1351 drivers/media/pci/ttpci/av7110_av.c static int dvb_audio_ioctl(struct file *file,
file             1354 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1361 drivers/media/pci/ttpci/av7110_av.c 	if (((file->f_flags & O_ACCMODE) == O_RDONLY) &&
file             1501 drivers/media/pci/ttpci/av7110_av.c static int dvb_video_open(struct inode *inode, struct file *file)
file             1503 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1509 drivers/media/pci/ttpci/av7110_av.c 	if ((err = dvb_generic_open(inode, file)) < 0)
file             1512 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
file             1526 drivers/media/pci/ttpci/av7110_av.c static int dvb_video_release(struct inode *inode, struct file *file)
file             1528 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1533 drivers/media/pci/ttpci/av7110_av.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
file             1537 drivers/media/pci/ttpci/av7110_av.c 	return dvb_generic_release(inode, file);
file             1540 drivers/media/pci/ttpci/av7110_av.c static int dvb_audio_open(struct inode *inode, struct file *file)
file             1542 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1544 drivers/media/pci/ttpci/av7110_av.c 	int err = dvb_generic_open(inode, file);
file             1555 drivers/media/pci/ttpci/av7110_av.c static int dvb_audio_release(struct inode *inode, struct file *file)
file             1557 drivers/media/pci/ttpci/av7110_av.c 	struct dvb_device *dvbdev = file->private_data;
file             1563 drivers/media/pci/ttpci/av7110_av.c 	return dvb_generic_release(inode, file);
file              107 drivers/media/pci/ttpci/av7110_ca.c static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file,
file              133 drivers/media/pci/ttpci/av7110_ca.c static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file,
file              137 drivers/media/pci/ttpci/av7110_ca.c 	int non_blocking = file->f_flags & O_NONBLOCK;
file              172 drivers/media/pci/ttpci/av7110_ca.c static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file,
file              176 drivers/media/pci/ttpci/av7110_ca.c 	int non_blocking = file->f_flags & O_NONBLOCK;
file              198 drivers/media/pci/ttpci/av7110_ca.c static int dvb_ca_open(struct inode *inode, struct file *file)
file              200 drivers/media/pci/ttpci/av7110_ca.c 	struct dvb_device *dvbdev = file->private_data;
file              202 drivers/media/pci/ttpci/av7110_ca.c 	int err = dvb_generic_open(inode, file);
file              212 drivers/media/pci/ttpci/av7110_ca.c static __poll_t dvb_ca_poll (struct file *file, poll_table *wait)
file              214 drivers/media/pci/ttpci/av7110_ca.c 	struct dvb_device *dvbdev = file->private_data;
file              222 drivers/media/pci/ttpci/av7110_ca.c 	poll_wait(file, &rbuf->queue, wait);
file              223 drivers/media/pci/ttpci/av7110_ca.c 	poll_wait(file, &wbuf->queue, wait);
file              234 drivers/media/pci/ttpci/av7110_ca.c static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg)
file              236 drivers/media/pci/ttpci/av7110_ca.c 	struct dvb_device *dvbdev = file->private_data;
file              248 drivers/media/pci/ttpci/av7110_ca.c 		ret = ci_ll_reset(&av7110->ci_wbuffer, file, arg,
file              321 drivers/media/pci/ttpci/av7110_ca.c static ssize_t dvb_ca_write(struct file *file, const char __user *buf,
file              324 drivers/media/pci/ttpci/av7110_ca.c 	struct dvb_device *dvbdev = file->private_data;
file              328 drivers/media/pci/ttpci/av7110_ca.c 	return ci_ll_write(&av7110->ci_wbuffer, file, buf, count, ppos);
file              331 drivers/media/pci/ttpci/av7110_ca.c static ssize_t dvb_ca_read(struct file *file, char __user *buf,
file              334 drivers/media/pci/ttpci/av7110_ca.c 	struct dvb_device *dvbdev = file->private_data;
file              338 drivers/media/pci/ttpci/av7110_ca.c 	return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos);
file              311 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_tuner(struct file *file, void *fh, struct v4l2_tuner *t)
file              355 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *t)
file              399 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_frequency(struct file *file, void *fh, struct v4l2_frequency *f)
file              415 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *f)
file              445 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              465 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input)
file              475 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              492 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *a)
file              501 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *a)
file              515 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *a)
file              526 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_sliced_vbi_cap(struct file *file, void *fh,
file              542 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh,
file              560 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh,
file              589 drivers/media/pci/ttpci/av7110_v4l.c static int av7110_vbi_reset(struct file *file)
file              591 drivers/media/pci/ttpci/av7110_v4l.c 	struct saa7146_fh *fh = file->private_data;
file              604 drivers/media/pci/ttpci/av7110_v4l.c static ssize_t av7110_vbi_write(struct file *file, const char __user *data, size_t count, loff_t *ppos)
file              606 drivers/media/pci/ttpci/av7110_v4l.c 	struct saa7146_fh *fh = file->private_data;
file             1402 drivers/media/pci/ttpci/budget-av.c static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file             1411 drivers/media/pci/ttpci/budget-av.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *i)
file             1422 drivers/media/pci/ttpci/budget-av.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              530 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_fmt_vid_cap(struct file *file, void *priv,
file              533 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              555 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_enum_input(struct file *file, void *priv,
file              558 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              586 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_g_input(struct file *file, void *priv, unsigned int *i)
file              592 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_s_input(struct file *file, void *priv, unsigned int i)
file              599 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_querycap(struct file *file, void *priv,
file              602 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              611 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              613 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              625 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              627 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              633 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_s_std(struct file *file, void *priv, v4l2_std_id std)
file              635 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              644 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_enum_fmt_vid_cap(struct file *file, void *priv,
file              732 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_enum_framesizes(struct file *file, void *priv,
file              735 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              749 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_enum_frameintervals(struct file *file, void *priv,
file              752 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              759 drivers/media/pci/tw5864/tw5864-video.c 	ret = tw5864_enum_framesizes(file, priv, &fsize);
file              778 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_g_parm(struct file *file, void *priv,
file              781 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              795 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_s_parm(struct file *file, void *priv,
file              798 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              820 drivers/media/pci/tw5864/tw5864-video.c 	return tw5864_g_parm(file, priv, sp);
file              841 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_g_reg(struct file *file, void *fh,
file              844 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              863 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_s_reg(struct file *file, void *fh,
file              866 drivers/media/pci/tw5864/tw5864-video.c 	struct tw5864_input *input = video_drvdata(file);
file              571 drivers/media/pci/tw68/tw68-video.c static int tw68_g_fmt_vid_cap(struct file *file, void *priv,
file              574 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              588 drivers/media/pci/tw68/tw68-video.c static int tw68_try_fmt_vid_cap(struct file *file, void *priv,
file              591 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              643 drivers/media/pci/tw68/tw68-video.c static int tw68_s_fmt_vid_cap(struct file *file, void *priv,
file              646 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              649 drivers/media/pci/tw68/tw68-video.c 	err = tw68_try_fmt_vid_cap(file, priv, f);
file              660 drivers/media/pci/tw68/tw68-video.c static int tw68_enum_input(struct file *file, void *priv,
file              663 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              689 drivers/media/pci/tw68/tw68-video.c 	i->std = video_devdata(file)->tvnorms;
file              693 drivers/media/pci/tw68/tw68-video.c static int tw68_g_input(struct file *file, void *priv, unsigned int *i)
file              695 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              701 drivers/media/pci/tw68/tw68-video.c static int tw68_s_input(struct file *file, void *priv, unsigned int i)
file              703 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              712 drivers/media/pci/tw68/tw68-video.c static int tw68_querycap(struct file *file, void  *priv,
file              715 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              724 drivers/media/pci/tw68/tw68-video.c static int tw68_s_std(struct file *file, void *priv, v4l2_std_id id)
file              726 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              752 drivers/media/pci/tw68/tw68-video.c static int tw68_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              754 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              760 drivers/media/pci/tw68/tw68-video.c static int tw68_enum_fmt_vid_cap(struct file *file, void  *priv,
file              815 drivers/media/pci/tw68/tw68-video.c static int vidioc_log_status(struct file *file, void *priv)
file              817 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              820 drivers/media/pci/tw68/tw68-video.c 	return v4l2_ctrl_log_status(file, priv);
file              824 drivers/media/pci/tw68/tw68-video.c static int vidioc_g_register(struct file *file, void *priv,
file              827 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              836 drivers/media/pci/tw68/tw68-video.c static int vidioc_s_register(struct file *file, void *priv,
file              839 drivers/media/pci/tw68/tw68-video.c 	struct tw68_dev *dev = video_drvdata(file);
file              623 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_g_fmt_vid_cap(struct file *file, void *priv,
file              626 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              639 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_try_fmt_vid_cap(struct file *file, void *priv,
file              642 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              736 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_s_fmt_vid_cap(struct file *file, void *priv,
file              739 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              748 drivers/media/pci/tw686x/tw686x-video.c 	err = tw686x_try_fmt_vid_cap(file, priv, f);
file              758 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_querycap(struct file *file, void *priv,
file              761 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              805 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_s_std(struct file *file, void *priv, v4l2_std_id id)
file              807 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              825 drivers/media/pci/tw686x/tw686x-video.c 	tw686x_g_fmt_vid_cap(file, priv, &f);
file              826 drivers/media/pci/tw686x/tw686x-video.c 	tw686x_s_fmt_vid_cap(file, priv, &f);
file              836 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              838 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              894 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              896 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              902 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_enum_framesizes(struct file *file, void *priv,
file              905 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              919 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_enum_frameintervals(struct file *file, void *priv,
file              922 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              938 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_g_parm(struct file *file, void *priv,
file              941 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              954 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_s_parm(struct file *file, void *priv,
file              957 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file              969 drivers/media/pci/tw686x/tw686x-video.c 	return tw686x_g_parm(file, priv, sp);
file              972 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_enum_fmt_vid_cap(struct file *file, void *priv,
file              993 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_s_input(struct file *file, void *priv, unsigned int i)
file              995 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file             1011 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_g_input(struct file *file, void *priv, unsigned int *i)
file             1013 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file             1019 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_enum_input(struct file *file, void *priv,
file             1022 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_video_channel *vc = video_drvdata(file);
file             1176 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_release(struct file *file)
file             1178 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1185 drivers/media/platform/am437x/am437x-vpfe.c 	fh_singular = v4l2_fh_is_singular_file(file);
file             1188 drivers/media/platform/am437x/am437x-vpfe.c 	ret = _vb2_fop_release(file, NULL);
file             1207 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_open(struct file *file)
file             1209 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1214 drivers/media/platform/am437x/am437x-vpfe.c 	ret = v4l2_fh_open(file);
file             1220 drivers/media/platform/am437x/am437x-vpfe.c 	if (!v4l2_fh_is_singular_file(file))
file             1224 drivers/media/platform/am437x/am437x-vpfe.c 		v4l2_fh_release(file);
file             1392 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_querycap(struct file *file, void  *priv,
file             1395 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1488 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_g_fmt(struct file *file, void *priv,
file             1491 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1500 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_enum_fmt(struct file *file, void  *priv,
file             1503 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1535 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_try_fmt(struct file *file, void *priv,
file             1538 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1546 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_s_fmt(struct file *file, void *priv,
file             1549 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1590 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_enum_size(struct file *file, void  *priv,
file             1593 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1703 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_enum_input(struct file *file, void *priv,
file             1706 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1724 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_g_input(struct file *file, void *priv, unsigned int *index)
file             1726 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1795 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_s_input(struct file *file, void *priv, unsigned int index)
file             1797 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1805 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id)
file             1807 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1821 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id std_id)
file             1823 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             1855 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_g_std(struct file *file, void *priv, v4l2_std_id *std_id)
file             1857 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             2070 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_g_pixelaspect(struct file *file, void *priv,
file             2073 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             2087 drivers/media/platform/am437x/am437x-vpfe.c vpfe_g_selection(struct file *file, void *fh, struct v4l2_selection *s)
file             2089 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             2130 drivers/media/platform/am437x/am437x-vpfe.c vpfe_s_selection(struct file *file, void *fh, struct v4l2_selection *s)
file             2132 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file             2173 drivers/media/platform/am437x/am437x-vpfe.c static long vpfe_ioctl_default(struct file *file, void *priv,
file             2176 drivers/media/platform/am437x/am437x-vpfe.c 	struct vpfe_device *vpfe = video_drvdata(file);
file              983 drivers/media/platform/aspeed-video.c static int aspeed_video_querycap(struct file *file, void *fh,
file              994 drivers/media/platform/aspeed-video.c static int aspeed_video_enum_format(struct file *file, void *fh,
file             1005 drivers/media/platform/aspeed-video.c static int aspeed_video_get_format(struct file *file, void *fh,
file             1008 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1015 drivers/media/platform/aspeed-video.c static int aspeed_video_enum_input(struct file *file, void *fh,
file             1018 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1031 drivers/media/platform/aspeed-video.c static int aspeed_video_get_input(struct file *file, void *fh, unsigned int *i)
file             1038 drivers/media/platform/aspeed-video.c static int aspeed_video_set_input(struct file *file, void *fh, unsigned int i)
file             1046 drivers/media/platform/aspeed-video.c static int aspeed_video_get_parm(struct file *file, void *fh,
file             1049 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1062 drivers/media/platform/aspeed-video.c static int aspeed_video_set_parm(struct file *file, void *fh,
file             1066 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1090 drivers/media/platform/aspeed-video.c static int aspeed_video_enum_framesizes(struct file *file, void *fh,
file             1093 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1108 drivers/media/platform/aspeed-video.c static int aspeed_video_enum_frameintervals(struct file *file, void *fh,
file             1111 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1134 drivers/media/platform/aspeed-video.c static int aspeed_video_set_dv_timings(struct file *file, void *fh,
file             1137 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1159 drivers/media/platform/aspeed-video.c static int aspeed_video_get_dv_timings(struct file *file, void *fh,
file             1162 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1170 drivers/media/platform/aspeed-video.c static int aspeed_video_query_dv_timings(struct file *file, void *fh,
file             1174 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1181 drivers/media/platform/aspeed-video.c 	if (file->f_flags & O_NONBLOCK) {
file             1198 drivers/media/platform/aspeed-video.c static int aspeed_video_enum_dv_timings(struct file *file, void *fh,
file             1205 drivers/media/platform/aspeed-video.c static int aspeed_video_dv_timings_cap(struct file *file, void *fh,
file             1349 drivers/media/platform/aspeed-video.c static int aspeed_video_open(struct file *file)
file             1352 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1356 drivers/media/platform/aspeed-video.c 	rc = v4l2_fh_open(file);
file             1362 drivers/media/platform/aspeed-video.c 	if (v4l2_fh_is_singular_file(file))
file             1370 drivers/media/platform/aspeed-video.c static int aspeed_video_release(struct file *file)
file             1373 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
file             1377 drivers/media/platform/aspeed-video.c 	if (v4l2_fh_is_singular_file(file))
file             1380 drivers/media/platform/aspeed-video.c 	rc = _vb2_fop_release(file, NULL);
file              910 drivers/media/platform/atmel/atmel-isc-base.c static int isc_querycap(struct file *file, void *priv,
file              913 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file              923 drivers/media/platform/atmel/atmel-isc-base.c static int isc_enum_fmt_vid_cap(struct file *file, void *priv,
file              953 drivers/media/platform/atmel/atmel-isc-base.c static int isc_g_fmt_vid_cap(struct file *file, void *priv,
file              956 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1351 drivers/media/platform/atmel/atmel-isc-base.c static int isc_s_fmt_vid_cap(struct file *file, void *priv,
file             1354 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1362 drivers/media/platform/atmel/atmel-isc-base.c static int isc_try_fmt_vid_cap(struct file *file, void *priv,
file             1365 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1370 drivers/media/platform/atmel/atmel-isc-base.c static int isc_enum_input(struct file *file, void *priv,
file             1383 drivers/media/platform/atmel/atmel-isc-base.c static int isc_g_input(struct file *file, void *priv, unsigned int *i)
file             1390 drivers/media/platform/atmel/atmel-isc-base.c static int isc_s_input(struct file *file, void *priv, unsigned int i)
file             1398 drivers/media/platform/atmel/atmel-isc-base.c static int isc_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1400 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1402 drivers/media/platform/atmel/atmel-isc-base.c 	return v4l2_g_parm_cap(video_devdata(file), isc->current_subdev->sd, a);
file             1405 drivers/media/platform/atmel/atmel-isc-base.c static int isc_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1407 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1409 drivers/media/platform/atmel/atmel-isc-base.c 	return v4l2_s_parm_cap(video_devdata(file), isc->current_subdev->sd, a);
file             1412 drivers/media/platform/atmel/atmel-isc-base.c static int isc_enum_framesizes(struct file *file, void *fh,
file             1415 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1448 drivers/media/platform/atmel/atmel-isc-base.c static int isc_enum_frameintervals(struct file *file, void *fh,
file             1451 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1515 drivers/media/platform/atmel/atmel-isc-base.c static int isc_open(struct file *file)
file             1517 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1524 drivers/media/platform/atmel/atmel-isc-base.c 	ret = v4l2_fh_open(file);
file             1528 drivers/media/platform/atmel/atmel-isc-base.c 	if (!v4l2_fh_is_singular_file(file))
file             1533 drivers/media/platform/atmel/atmel-isc-base.c 		v4l2_fh_release(file);
file             1540 drivers/media/platform/atmel/atmel-isc-base.c 		v4l2_fh_release(file);
file             1548 drivers/media/platform/atmel/atmel-isc-base.c static int isc_release(struct file *file)
file             1550 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_device *isc = video_drvdata(file);
file             1557 drivers/media/platform/atmel/atmel-isc-base.c 	fh_singular = v4l2_fh_is_singular_file(file);
file             1559 drivers/media/platform/atmel/atmel-isc-base.c 	ret = _vb2_fop_release(file, NULL);
file              531 drivers/media/platform/atmel/atmel-isi.c static int isi_g_fmt_vid_cap(struct file *file, void *priv,
file              534 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              621 drivers/media/platform/atmel/atmel-isi.c static int isi_s_fmt_vid_cap(struct file *file, void *priv,
file              624 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              632 drivers/media/platform/atmel/atmel-isi.c static int isi_try_fmt_vid_cap(struct file *file, void *priv,
file              635 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              640 drivers/media/platform/atmel/atmel-isi.c static int isi_enum_fmt_vid_cap(struct file *file, void  *priv,
file              643 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              652 drivers/media/platform/atmel/atmel-isi.c static int isi_querycap(struct file *file, void *priv,
file              661 drivers/media/platform/atmel/atmel-isi.c static int isi_enum_input(struct file *file, void *priv,
file              672 drivers/media/platform/atmel/atmel-isi.c static int isi_g_input(struct file *file, void *priv, unsigned int *i)
file              678 drivers/media/platform/atmel/atmel-isi.c static int isi_s_input(struct file *file, void *priv, unsigned int i)
file              685 drivers/media/platform/atmel/atmel-isi.c static int isi_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file              687 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              689 drivers/media/platform/atmel/atmel-isi.c 	return v4l2_g_parm_cap(video_devdata(file), isi->entity.subdev, a);
file              692 drivers/media/platform/atmel/atmel-isi.c static int isi_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file              694 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              696 drivers/media/platform/atmel/atmel-isi.c 	return v4l2_s_parm_cap(video_devdata(file), isi->entity.subdev, a);
file              699 drivers/media/platform/atmel/atmel-isi.c static int isi_enum_framesizes(struct file *file, void *fh,
file              702 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              728 drivers/media/platform/atmel/atmel-isi.c static int isi_enum_frameintervals(struct file *file, void *fh,
file              731 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              837 drivers/media/platform/atmel/atmel-isi.c static int isi_open(struct file *file)
file              839 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              846 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_fh_open(file);
file              850 drivers/media/platform/atmel/atmel-isi.c 	if (!v4l2_fh_is_singular_file(file))
file              862 drivers/media/platform/atmel/atmel-isi.c 		v4l2_fh_release(file);
file              868 drivers/media/platform/atmel/atmel-isi.c static int isi_release(struct file *file)
file              870 drivers/media/platform/atmel/atmel-isi.c 	struct atmel_isi *isi = video_drvdata(file);
file              877 drivers/media/platform/atmel/atmel-isi.c 	fh_singular = v4l2_fh_is_singular_file(file);
file              879 drivers/media/platform/atmel/atmel-isi.c 	ret = _vb2_fop_release(file, NULL);
file              124 drivers/media/platform/cec-gpio/cec-gpio.c static void cec_gpio_status(struct cec_adapter *adap, struct seq_file *file)
file              128 drivers/media/platform/cec-gpio/cec-gpio.c 	seq_printf(file, "mode: %s\n", cec->cec_is_low ? "low-drive" : "read");
file              129 drivers/media/platform/cec-gpio/cec-gpio.c 	seq_printf(file, "using irq: %d\n", cec->cec_irq);
file              131 drivers/media/platform/cec-gpio/cec-gpio.c 		seq_printf(file, "hpd: %s\n",
file              134 drivers/media/platform/cec-gpio/cec-gpio.c 		seq_printf(file, "5V: %s\n",
file              384 drivers/media/platform/coda/coda-common.c static int coda_querycap(struct file *file, void *priv,
file              396 drivers/media/platform/coda/coda-common.c static int coda_enum_fmt(struct file *file, void *priv,
file              399 drivers/media/platform/coda/coda-common.c 	struct video_device *vdev = video_devdata(file);
file              424 drivers/media/platform/coda/coda-common.c static int coda_g_fmt(struct file *file, void *priv,
file              581 drivers/media/platform/coda/coda-common.c static int coda_try_fmt_vid_cap(struct file *file, void *priv,
file              663 drivers/media/platform/coda/coda-common.c static int coda_try_fmt_vid_out(struct file *file, void *priv,
file              755 drivers/media/platform/coda/coda-common.c static int coda_s_fmt_vid_cap(struct file *file, void *priv,
file              764 drivers/media/platform/coda/coda-common.c 	ret = coda_try_fmt_vid_cap(file, priv, f);
file              798 drivers/media/platform/coda/coda-common.c static int coda_s_fmt_vid_out(struct file *file, void *priv,
file              807 drivers/media/platform/coda/coda-common.c 	ret = coda_try_fmt_vid_out(file, priv, f);
file              847 drivers/media/platform/coda/coda-common.c 	coda_g_fmt(file, priv, &f_cap);
file              851 drivers/media/platform/coda/coda-common.c 	return coda_s_fmt_vid_cap(file, priv, &f_cap);
file              854 drivers/media/platform/coda/coda-common.c static int coda_reqbufs(struct file *file, void *priv,
file              860 drivers/media/platform/coda/coda-common.c 	ret = v4l2_m2m_reqbufs(file, ctx->fh.m2m_ctx, rb);
file              874 drivers/media/platform/coda/coda-common.c static int coda_qbuf(struct file *file, void *priv,
file              883 drivers/media/platform/coda/coda-common.c 	return v4l2_m2m_qbuf(file, ctx->fh.m2m_ctx, buf);
file              886 drivers/media/platform/coda/coda-common.c static int coda_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              891 drivers/media/platform/coda/coda-common.c 	ret = v4l2_m2m_dqbuf(file, ctx->fh.m2m_ctx, buf);
file              913 drivers/media/platform/coda/coda-common.c static int coda_g_selection(struct file *file, void *fh,
file              957 drivers/media/platform/coda/coda-common.c static int coda_s_selection(struct file *file, void *fh,
file              994 drivers/media/platform/coda/coda-common.c 		return coda_g_selection(file, fh, s);
file             1001 drivers/media/platform/coda/coda-common.c static int coda_try_encoder_cmd(struct file *file, void *fh,
file             1009 drivers/media/platform/coda/coda-common.c 	return v4l2_m2m_ioctl_try_encoder_cmd(file, fh, ec);
file             1023 drivers/media/platform/coda/coda-common.c static int coda_encoder_cmd(struct file *file, void *fh,
file             1030 drivers/media/platform/coda/coda-common.c 	ret = coda_try_encoder_cmd(file, fh, ec);
file             1059 drivers/media/platform/coda/coda-common.c static int coda_try_decoder_cmd(struct file *file, void *fh,
file             1067 drivers/media/platform/coda/coda-common.c 	return v4l2_m2m_ioctl_try_decoder_cmd(file, fh, dc);
file             1070 drivers/media/platform/coda/coda-common.c static int coda_decoder_cmd(struct file *file, void *fh,
file             1081 drivers/media/platform/coda/coda-common.c 	ret = coda_try_decoder_cmd(file, fh, dc);
file             1154 drivers/media/platform/coda/coda-common.c static int coda_enum_framesizes(struct file *file, void *fh,
file             1190 drivers/media/platform/coda/coda-common.c static int coda_enum_frameintervals(struct file *file, void *fh,
file             1222 drivers/media/platform/coda/coda-common.c static int coda_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1305 drivers/media/platform/coda/coda-common.c static int coda_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             2399 drivers/media/platform/coda/coda-common.c static int coda_open(struct file *file)
file             2401 drivers/media/platform/coda/coda-common.c 	struct video_device *vdev = video_devdata(file);
file             2440 drivers/media/platform/coda/coda-common.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             2441 drivers/media/platform/coda/coda-common.c 	file->private_data = &ctx->fh;
file             2534 drivers/media/platform/coda/coda-common.c static int coda_release(struct file *file)
file             2536 drivers/media/platform/coda/coda-common.c 	struct coda_dev *dev = video_drvdata(file);
file             2537 drivers/media/platform/coda/coda-common.c 	struct coda_ctx *ctx = fh_to_ctx(file->private_data);
file              626 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_querycap(struct file *file, void  *priv,
file              629 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              641 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_s_selection(struct file *file, void *priv,
file              644 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              709 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_g_selection(struct file *file, void *priv,
file              712 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              748 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_g_pixelaspect(struct file *file, void *priv,
file              751 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              763 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_g_fmt(struct file *file, void *priv,
file              766 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              784 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_enum_fmt(struct file *file, void  *priv,
file              787 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              807 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_s_fmt(struct file *file, void *priv,
file              810 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              893 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_try_fmt(struct file *file, void *priv,
file              896 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              919 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_s_std(struct file *file, void *priv,
file              922 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              951 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_g_std(struct file *file, void *priv,
file              954 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file              974 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_enum_output(struct file *file, void *priv,
file              977 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1001 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_s_output(struct file *file, void *priv,
file             1004 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1030 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_g_output(struct file *file, void *priv,
file             1033 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1050 drivers/media/platform/davinci/vpbe_display.c vpbe_display_enum_dv_timings(struct file *file, void *priv,
file             1053 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1080 drivers/media/platform/davinci/vpbe_display.c vpbe_display_s_dv_timings(struct file *file, void *priv,
file             1083 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1113 drivers/media/platform/davinci/vpbe_display.c vpbe_display_g_dv_timings(struct file *file, void *priv,
file             1116 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1138 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_open(struct file *file)
file             1140 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1147 drivers/media/platform/davinci/vpbe_display.c 	err = v4l2_fh_open(file);
file             1154 drivers/media/platform/davinci/vpbe_display.c 	if (!v4l2_fh_is_singular_file(file))
file             1168 drivers/media/platform/davinci/vpbe_display.c 			v4l2_fh_release(file);
file             1184 drivers/media/platform/davinci/vpbe_display.c static int vpbe_display_release(struct file *file)
file             1186 drivers/media/platform/davinci/vpbe_display.c 	struct vpbe_layer *layer = video_drvdata(file);
file             1217 drivers/media/platform/davinci/vpbe_display.c 	_vb2_fop_release(file, NULL);
file              416 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_open(struct file *file)
file              418 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              419 drivers/media/platform/davinci/vpfe_capture.c 	struct video_device *vdev = video_devdata(file);
file              435 drivers/media/platform/davinci/vpfe_capture.c 	file->private_data = fh;
file              627 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_release(struct file *file)
file              629 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              630 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_fh *fh = file->private_data;
file              670 drivers/media/platform/davinci/vpfe_capture.c 	file->private_data = NULL;
file              680 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_mmap(struct file *file, struct vm_area_struct *vma)
file              683 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              693 drivers/media/platform/davinci/vpfe_capture.c static __poll_t vpfe_poll(struct file *file, poll_table *wait)
file              695 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              700 drivers/media/platform/davinci/vpfe_capture.c 		return videobuf_poll_stream(file,
file              843 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_querycap(struct file *file, void  *priv,
file              846 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              856 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_fmt_vid_cap(struct file *file, void *priv,
file              859 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              867 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_enum_fmt_vid_cap(struct file *file, void  *priv,
file              870 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              888 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_s_fmt_vid_cap(struct file *file, void *priv,
file              891 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              922 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_try_fmt_vid_cap(struct file *file, void *priv,
file              925 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              986 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_enum_input(struct file *file, void *priv,
file              989 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1007 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_input(struct file *file, void *priv, unsigned int *index)
file             1009 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1017 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_s_input(struct file *file, void *priv, unsigned int index)
file             1019 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1090 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id)
file             1092 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1109 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id std_id)
file             1111 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1143 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_std(struct file *file, void *priv, v4l2_std_id *std_id)
file             1145 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1257 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_reqbufs(struct file *file, void *priv,
file             1260 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1261 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_fh *fh = file->private_data;
file             1300 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_querybuf(struct file *file, void *priv,
file             1303 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1320 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_qbuf(struct file *file, void *priv,
file             1323 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1324 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_fh *fh = file->private_data;
file             1344 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_dqbuf(struct file *file, void *priv,
file             1347 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1356 drivers/media/platform/davinci/vpfe_capture.c 				      buf, file->f_flags & O_NONBLOCK);
file             1387 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_streamon(struct file *file, void *priv,
file             1390 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1391 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_fh *fh = file->private_data;
file             1471 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_streamoff(struct file *file, void *priv,
file             1474 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1475 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_fh *fh = file->private_data;
file             1516 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_pixelaspect(struct file *file, void *priv,
file             1519 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1533 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_selection(struct file *file, void *priv,
file             1536 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file             1558 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_s_selection(struct file *file, void *priv,
file             1561 drivers/media/platform/davinci/vpfe_capture.c 	struct vpfe_device *vpfe_dev = video_drvdata(file);
file              761 drivers/media/platform/davinci/vpif_capture.c static int vpif_querystd(struct file *file, void *priv, v4l2_std_id *std_id)
file              763 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              788 drivers/media/platform/davinci/vpif_capture.c static int vpif_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              791 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              816 drivers/media/platform/davinci/vpif_capture.c static int vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id)
file              819 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              864 drivers/media/platform/davinci/vpif_capture.c static int vpif_enum_input(struct file *file, void *priv,
file              869 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              889 drivers/media/platform/davinci/vpif_capture.c static int vpif_g_input(struct file *file, void *priv, unsigned int *index)
file              891 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              904 drivers/media/platform/davinci/vpif_capture.c static int vpif_s_input(struct file *file, void *priv, unsigned int index)
file              907 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              929 drivers/media/platform/davinci/vpif_capture.c static int vpif_enum_fmt_vid_cap(struct file *file, void  *priv,
file              932 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              954 drivers/media/platform/davinci/vpif_capture.c static int vpif_try_fmt_vid_cap(struct file *file, void *priv,
file              957 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file              991 drivers/media/platform/davinci/vpif_capture.c static int vpif_g_fmt_vid_cap(struct file *file, void *priv,
file              994 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1047 drivers/media/platform/davinci/vpif_capture.c static int vpif_s_fmt_vid_cap(struct file *file, void *priv,
file             1050 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1060 drivers/media/platform/davinci/vpif_capture.c 	ret = vpif_try_fmt_vid_cap(file, priv, fmt);
file             1075 drivers/media/platform/davinci/vpif_capture.c static int vpif_querycap(struct file *file, void  *priv,
file             1095 drivers/media/platform/davinci/vpif_capture.c vpif_enum_dv_timings(struct file *file, void *priv,
file             1099 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1129 drivers/media/platform/davinci/vpif_capture.c vpif_query_dv_timings(struct file *file, void *priv,
file             1133 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1160 drivers/media/platform/davinci/vpif_capture.c static int vpif_s_dv_timings(struct file *file, void *priv,
file             1164 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1259 drivers/media/platform/davinci/vpif_capture.c static int vpif_g_dv_timings(struct file *file, void *priv,
file             1263 drivers/media/platform/davinci/vpif_capture.c 	struct video_device *vdev = video_devdata(file);
file             1289 drivers/media/platform/davinci/vpif_capture.c static int vpif_log_status(struct file *filep, void *priv)
file              582 drivers/media/platform/davinci/vpif_display.c static int vpif_querycap(struct file *file, void  *priv,
file              595 drivers/media/platform/davinci/vpif_display.c static int vpif_enum_fmt_vid_out(struct file *file, void  *priv,
file              606 drivers/media/platform/davinci/vpif_display.c static int vpif_g_fmt_vid_out(struct file *file, void *priv,
file              609 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              623 drivers/media/platform/davinci/vpif_display.c static int vpif_try_fmt_vid_out(struct file *file, void *priv,
file              626 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              651 drivers/media/platform/davinci/vpif_display.c static int vpif_s_fmt_vid_out(struct file *file, void *priv,
file              654 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              663 drivers/media/platform/davinci/vpif_display.c 	ret = vpif_try_fmt_vid_out(file, priv, fmt);
file              675 drivers/media/platform/davinci/vpif_display.c static int vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id)
file              678 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              723 drivers/media/platform/davinci/vpif_display.c static int vpif_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              726 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              743 drivers/media/platform/davinci/vpif_display.c static int vpif_enum_output(struct file *file, void *fh,
file              748 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              838 drivers/media/platform/davinci/vpif_display.c static int vpif_s_output(struct file *file, void *priv, unsigned int i)
file              841 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              857 drivers/media/platform/davinci/vpif_display.c static int vpif_g_output(struct file *file, void *priv, unsigned int *i)
file              859 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              874 drivers/media/platform/davinci/vpif_display.c vpif_enum_dv_timings(struct file *file, void *priv,
file              878 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file              906 drivers/media/platform/davinci/vpif_display.c static int vpif_s_dv_timings(struct file *file, void *priv,
file              910 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file             1005 drivers/media/platform/davinci/vpif_display.c static int vpif_g_dv_timings(struct file *file, void *priv,
file             1009 drivers/media/platform/davinci/vpif_display.c 	struct video_device *vdev = video_devdata(file);
file             1038 drivers/media/platform/davinci/vpif_display.c static int vpif_log_status(struct file *filep, void *priv)
file              287 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_querycap(struct file *file, void *fh,
file              300 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_enum_fmt(struct file *file, void *priv,
file              306 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_g_fmt_mplane(struct file *file, void *fh,
file              314 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_try_fmt_mplane(struct file *file, void *fh,
file              322 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_s_fmt_mplane(struct file *file, void *fh,
file              331 drivers/media/platform/exynos-gsc/gsc-m2m.c 	ret = gsc_m2m_try_fmt_mplane(file, fh, f);
file              368 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_reqbufs(struct file *file, void *fh,
file              380 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs);
file              383 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_expbuf(struct file *file, void *fh,
file              387 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_expbuf(file, ctx->m2m_ctx, eb);
file              390 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_querybuf(struct file *file, void *fh,
file              394 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_querybuf(file, ctx->m2m_ctx, buf);
file              397 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_qbuf(struct file *file, void *fh,
file              401 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf);
file              404 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_dqbuf(struct file *file, void *fh,
file              408 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf);
file              411 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_streamon(struct file *file, void *fh,
file              424 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_streamon(file, ctx->m2m_ctx, type);
file              427 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_streamoff(struct file *file, void *fh,
file              431 drivers/media/platform/exynos-gsc/gsc-m2m.c 	return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type);
file              449 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_g_selection(struct file *file, void *fh,
file              486 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_s_selection(struct file *file, void *fh,
file              613 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_open(struct file *file)
file              615 drivers/media/platform/exynos-gsc/gsc-m2m.c 	struct gsc_dev *gsc = video_drvdata(file);
file              637 drivers/media/platform/exynos-gsc/gsc-m2m.c 	file->private_data = &ctx->fh;
file              676 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_release(struct file *file)
file              678 drivers/media/platform/exynos-gsc/gsc-m2m.c 	struct gsc_ctx *ctx = fh_to_ctx(file->private_data);
file              699 drivers/media/platform/exynos-gsc/gsc-m2m.c static __poll_t gsc_m2m_poll(struct file *file,
file              702 drivers/media/platform/exynos-gsc/gsc-m2m.c 	struct gsc_ctx *ctx = fh_to_ctx(file->private_data);
file              709 drivers/media/platform/exynos-gsc/gsc-m2m.c 	ret = v4l2_m2m_poll(file, ctx->m2m_ctx, wait);
file              715 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_mmap(struct file *file, struct vm_area_struct *vma)
file              717 drivers/media/platform/exynos-gsc/gsc-m2m.c 	struct gsc_ctx *ctx = fh_to_ctx(file->private_data);
file              724 drivers/media/platform/exynos-gsc/gsc-m2m.c 	ret = v4l2_m2m_mmap(file, ctx->m2m_ctx, vma);
file              465 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_capture_open(struct file *file)
file              467 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file              484 drivers/media/platform/exynos4-is/fimc-capture.c 	ret = v4l2_fh_open(file);
file              490 drivers/media/platform/exynos4-is/fimc-capture.c 	if (v4l2_fh_is_singular_file(file)) {
file              517 drivers/media/platform/exynos4-is/fimc-capture.c 			v4l2_fh_release(file);
file              525 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_capture_release(struct file *file)
file              527 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file              529 drivers/media/platform/exynos4-is/fimc-capture.c 	bool close = v4l2_fh_is_singular_file(file);
file              541 drivers/media/platform/exynos4-is/fimc-capture.c 	ret = _vb2_fop_release(file, NULL);
file              723 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_querycap(struct file *file, void *priv,
file              726 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file              732 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_enum_fmt(struct file *file, void *priv,
file              899 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_g_fmt_mplane(struct file *file, void *fh,
file              902 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file              994 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_try_fmt_mplane(struct file *file, void *fh,
file              997 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1059 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_s_fmt_mplane(struct file *file, void *priv,
file             1062 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1067 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_enum_input(struct file *file, void *priv,
file             1070 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1088 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_s_input(struct file *file, void *priv, unsigned int i)
file             1093 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_g_input(struct file *file, void *priv, unsigned int *i)
file             1184 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_streamon(struct file *file, void *priv,
file             1187 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1224 drivers/media/platform/exynos4-is/fimc-capture.c 	ret = vb2_ioctl_streamon(file, priv, type);
file             1235 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_streamoff(struct file *file, void *priv,
file             1238 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1242 drivers/media/platform/exynos4-is/fimc-capture.c 	ret = vb2_ioctl_streamoff(file, priv, type);
file             1251 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_reqbufs(struct file *file, void *priv,
file             1254 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1257 drivers/media/platform/exynos4-is/fimc-capture.c 	ret = vb2_ioctl_reqbufs(file, priv, reqbufs);
file             1265 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_g_selection(struct file *file, void *fh,
file             1268 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file             1315 drivers/media/platform/exynos4-is/fimc-capture.c static int fimc_cap_s_selection(struct file *file, void *fh,
file             1318 drivers/media/platform/exynos4-is/fimc-capture.c 	struct fimc_dev *fimc = video_drvdata(file);
file              616 drivers/media/platform/exynos4-is/fimc-core.h int fimc_vidioc_enum_fmt_mplane(struct file *file, void *priv,
file              264 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_open(struct file *file)
file              266 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              274 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = v4l2_fh_open(file);
file              282 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (v4l2_fh_is_singular_file(file)) {
file              296 drivers/media/platform/exynos4-is/fimc-isp-video.c 	v4l2_fh_release(file);
file              302 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_release(struct file *file)
file              304 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              311 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (v4l2_fh_is_singular_file(file) && ivc->streaming) {
file              316 drivers/media/platform/exynos4-is/fimc-isp-video.c 	_vb2_fop_release(file, NULL);
file              318 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (v4l2_fh_is_singular_file(file)) {
file              344 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_querycap(struct file *file, void *priv,
file              347 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              353 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_enum_fmt(struct file *file, void *priv,
file              370 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_g_fmt_mplane(struct file *file, void *fh,
file              373 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              404 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_try_fmt_mplane(struct file *file, void *fh,
file              407 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              413 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_s_fmt_mplane(struct file *file, void *priv,
file              416 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              485 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_streamon(struct file *file, void *priv,
file              488 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              501 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = vb2_ioctl_streamon(file, priv, type);
file              512 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_streamoff(struct file *file, void *priv,
file              515 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              519 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = vb2_ioctl_streamoff(file, priv, type);
file              528 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_reqbufs(struct file *file, void *priv,
file              531 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
file              534 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = vb2_ioctl_reqbufs(file, priv, rb);
file              540 drivers/media/platform/exynos4-is/fimc-isp-video.c 		vb2_ioctl_reqbufs(file, priv, rb);
file              458 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_open(struct file *file)
file              460 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              475 drivers/media/platform/exynos4-is/fimc-lite.c 	ret = v4l2_fh_open(file);
file              479 drivers/media/platform/exynos4-is/fimc-lite.c 	if (!v4l2_fh_is_singular_file(file) ||
file              498 drivers/media/platform/exynos4-is/fimc-lite.c 	v4l2_fh_release(file);
file              507 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_release(struct file *file)
file              509 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              514 drivers/media/platform/exynos4-is/fimc-lite.c 	if (v4l2_fh_is_singular_file(file) &&
file              529 drivers/media/platform/exynos4-is/fimc-lite.c 	_vb2_fop_release(file, NULL);
file              642 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_querycap(struct file *file, void *priv,
file              645 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              654 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_enum_fmt(struct file *file, void *priv,
file              668 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_g_fmt_mplane(struct file *file, void *fh,
file              671 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              733 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_try_fmt_mplane(struct file *file, void *fh,
file              736 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              740 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_s_fmt_mplane(struct file *file, void *priv,
file              744 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              811 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_streamon(struct file *file, void *priv,
file              814 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              831 drivers/media/platform/exynos4-is/fimc-lite.c 	ret = vb2_ioctl_streamon(file, priv, type);
file              842 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_streamoff(struct file *file, void *priv,
file              845 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              848 drivers/media/platform/exynos4-is/fimc-lite.c 	ret = vb2_ioctl_streamoff(file, priv, type);
file              857 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_reqbufs(struct file *file, void *priv,
file              860 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              864 drivers/media/platform/exynos4-is/fimc-lite.c 	ret = vb2_ioctl_reqbufs(file, priv, reqbufs);
file              884 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_g_selection(struct file *file, void *fh,
file              887 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              910 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_s_selection(struct file *file, void *fh,
file              913 drivers/media/platform/exynos4-is/fimc-lite.c 	struct fimc_lite *fimc = video_drvdata(file);
file              231 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_querycap(struct file *file, void *fh,
file              234 drivers/media/platform/exynos4-is/fimc-m2m.c 	struct fimc_dev *fimc = video_drvdata(file);
file              240 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_enum_fmt(struct file *file, void *priv,
file              254 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_g_fmt_mplane(struct file *file, void *fh,
file              313 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_try_fmt_mplane(struct file *file, void *fh,
file              341 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_s_fmt_mplane(struct file *file, void *fh,
file              380 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_g_selection(struct file *file, void *fh,
file              488 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_s_selection(struct file *file, void *fh,
file              606 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_open(struct file *file)
file              608 drivers/media/platform/exynos4-is/fimc-m2m.c 	struct fimc_dev *fimc = video_drvdata(file);
file              641 drivers/media/platform/exynos4-is/fimc-m2m.c 	file->private_data = &ctx->fh;
file              680 drivers/media/platform/exynos4-is/fimc-m2m.c static int fimc_m2m_release(struct file *file)
file              682 drivers/media/platform/exynos4-is/fimc-m2m.c 	struct fimc_ctx *ctx = fh_to_ctx(file->private_data);
file              560 drivers/media/platform/fsl-viu.c static int vidioc_querycap(struct file *file, void *priv,
file              569 drivers/media/platform/fsl-viu.c static int vidioc_enum_fmt(struct file *file, void  *priv,
file              581 drivers/media/platform/fsl-viu.c static int vidioc_g_fmt_cap(struct file *file, void *priv,
file              597 drivers/media/platform/fsl-viu.c static int vidioc_try_fmt_cap(struct file *file, void *priv,
file              631 drivers/media/platform/fsl-viu.c static int vidioc_s_fmt_cap(struct file *file, void *priv,
file              637 drivers/media/platform/fsl-viu.c 	ret = vidioc_try_fmt_cap(file, fh, f);
file              650 drivers/media/platform/fsl-viu.c static int vidioc_g_fmt_overlay(struct file *file, void *priv,
file              748 drivers/media/platform/fsl-viu.c static int vidioc_s_fmt_overlay(struct file *file, void *priv,
file              768 drivers/media/platform/fsl-viu.c static int vidioc_try_fmt_overlay(struct file *file, void *priv,
file              774 drivers/media/platform/fsl-viu.c static int vidioc_overlay(struct file *file, void *priv, unsigned int on)
file              796 drivers/media/platform/fsl-viu.c static int vidioc_g_fbuf(struct file *file, void *priv, struct v4l2_framebuffer *arg)
file              807 drivers/media/platform/fsl-viu.c static int vidioc_s_fbuf(struct file *file, void *priv, const struct v4l2_framebuffer *arg)
file              832 drivers/media/platform/fsl-viu.c static int vidioc_reqbufs(struct file *file, void *priv,
file              840 drivers/media/platform/fsl-viu.c static int vidioc_querybuf(struct file *file, void *priv,
file              848 drivers/media/platform/fsl-viu.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              855 drivers/media/platform/fsl-viu.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              860 drivers/media/platform/fsl-viu.c 				file->f_flags & O_NONBLOCK);
file              863 drivers/media/platform/fsl-viu.c static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
file              881 drivers/media/platform/fsl-viu.c static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
file              898 drivers/media/platform/fsl-viu.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *std_id)
file              906 drivers/media/platform/fsl-viu.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file              915 drivers/media/platform/fsl-viu.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *std_id)
file              924 drivers/media/platform/fsl-viu.c static int vidioc_enum_input(struct file *file, void *priv,
file              938 drivers/media/platform/fsl-viu.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              944 drivers/media/platform/fsl-viu.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1156 drivers/media/platform/fsl-viu.c static int viu_open(struct file *file)
file             1158 drivers/media/platform/fsl-viu.c 	struct video_device *vdev = video_devdata(file);
file             1192 drivers/media/platform/fsl-viu.c 	file->private_data = fh;
file             1230 drivers/media/platform/fsl-viu.c static ssize_t viu_read(struct file *file, char __user *data, size_t count,
file             1233 drivers/media/platform/fsl-viu.c 	struct viu_fh *fh = file->private_data;
file             1246 drivers/media/platform/fsl-viu.c 				ppos, 0, file->f_flags & O_NONBLOCK);
file             1253 drivers/media/platform/fsl-viu.c static __poll_t viu_poll(struct file *file, struct poll_table_struct *wait)
file             1255 drivers/media/platform/fsl-viu.c 	struct viu_fh *fh = file->private_data;
file             1259 drivers/media/platform/fsl-viu.c 	__poll_t res = v4l2_ctrl_poll(file, wait);
file             1268 drivers/media/platform/fsl-viu.c 	res |= videobuf_poll_stream(file, q, wait);
file             1273 drivers/media/platform/fsl-viu.c static int viu_release(struct file *file)
file             1275 drivers/media/platform/fsl-viu.c 	struct viu_fh *fh = file->private_data;
file             1277 drivers/media/platform/fsl-viu.c 	int minor = video_devdata(file)->minor;
file             1309 drivers/media/platform/fsl-viu.c static int viu_mmap(struct file *file, struct vm_area_struct *vma)
file             1311 drivers/media/platform/fsl-viu.c 	struct viu_fh *fh = file->private_data;
file              222 drivers/media/platform/imx-pxp.c static inline struct pxp_ctx *file2ctx(struct file *file)
file              224 drivers/media/platform/imx-pxp.c 	return container_of(file->private_data, struct pxp_ctx, fh);
file             1025 drivers/media/platform/imx-pxp.c static int pxp_querycap(struct file *file, void *priv,
file             1066 drivers/media/platform/imx-pxp.c static int pxp_enum_fmt_vid_cap(struct file *file, void *priv,
file             1072 drivers/media/platform/imx-pxp.c static int pxp_enum_fmt_vid_out(struct file *file, void *priv,
file             1103 drivers/media/platform/imx-pxp.c static int pxp_g_fmt_vid_out(struct file *file, void *priv,
file             1106 drivers/media/platform/imx-pxp.c 	return pxp_g_fmt(file2ctx(file), f);
file             1109 drivers/media/platform/imx-pxp.c static int pxp_g_fmt_vid_cap(struct file *file, void *priv,
file             1112 drivers/media/platform/imx-pxp.c 	return pxp_g_fmt(file2ctx(file), f);
file             1171 drivers/media/platform/imx-pxp.c static int pxp_try_fmt_vid_cap(struct file *file, void *priv,
file             1175 drivers/media/platform/imx-pxp.c 	struct pxp_ctx *ctx = file2ctx(file);
file             1199 drivers/media/platform/imx-pxp.c static int pxp_try_fmt_vid_out(struct file *file, void *priv,
file             1203 drivers/media/platform/imx-pxp.c 	struct pxp_ctx *ctx = file2ctx(file);
file             1254 drivers/media/platform/imx-pxp.c static int pxp_s_fmt_vid_cap(struct file *file, void *priv,
file             1257 drivers/media/platform/imx-pxp.c 	struct pxp_ctx *ctx = file2ctx(file);
file             1260 drivers/media/platform/imx-pxp.c 	ret = pxp_try_fmt_vid_cap(file, priv, f);
file             1264 drivers/media/platform/imx-pxp.c 	ret = pxp_s_fmt(file2ctx(file), f);
file             1274 drivers/media/platform/imx-pxp.c static int pxp_s_fmt_vid_out(struct file *file, void *priv,
file             1277 drivers/media/platform/imx-pxp.c 	struct pxp_ctx *ctx = file2ctx(file);
file             1280 drivers/media/platform/imx-pxp.c 	ret = pxp_try_fmt_vid_out(file, priv, f);
file             1284 drivers/media/platform/imx-pxp.c 	ret = pxp_s_fmt(file2ctx(file), f);
file             1505 drivers/media/platform/imx-pxp.c static int pxp_open(struct file *file)
file             1507 drivers/media/platform/imx-pxp.c 	struct pxp_dev *dev = video_drvdata(file);
file             1520 drivers/media/platform/imx-pxp.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             1521 drivers/media/platform/imx-pxp.c 	file->private_data = &ctx->fh;
file             1570 drivers/media/platform/imx-pxp.c static int pxp_release(struct file *file)
file             1572 drivers/media/platform/imx-pxp.c 	struct pxp_dev *dev = video_drvdata(file);
file             1573 drivers/media/platform/imx-pxp.c 	struct pxp_ctx *ctx = file2ctx(file);
file              431 drivers/media/platform/m2m-deinterlace.c static int vidioc_querycap(struct file *file, void *priv,
file              469 drivers/media/platform/m2m-deinterlace.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              475 drivers/media/platform/m2m-deinterlace.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              512 drivers/media/platform/m2m-deinterlace.c static int vidioc_g_fmt_vid_out(struct file *file, void *priv,
file              518 drivers/media/platform/m2m-deinterlace.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              539 drivers/media/platform/m2m-deinterlace.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              559 drivers/media/platform/m2m-deinterlace.c static int vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              628 drivers/media/platform/m2m-deinterlace.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              633 drivers/media/platform/m2m-deinterlace.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file              639 drivers/media/platform/m2m-deinterlace.c static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file              645 drivers/media/platform/m2m-deinterlace.c 	ret = vidioc_try_fmt_vid_out(file, priv, f);
file              656 drivers/media/platform/m2m-deinterlace.c static int vidioc_streamon(struct file *file, void *priv,
file              696 drivers/media/platform/m2m-deinterlace.c 	return v4l2_m2m_streamon(file, ctx->fh.m2m_ctx, type);
file              841 drivers/media/platform/m2m-deinterlace.c static int deinterlace_open(struct file *file)
file              843 drivers/media/platform/m2m-deinterlace.c 	struct deinterlace_dev *pcdev = video_drvdata(file);
file              850 drivers/media/platform/m2m-deinterlace.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              851 drivers/media/platform/m2m-deinterlace.c 	file->private_data = &ctx->fh;
file              878 drivers/media/platform/m2m-deinterlace.c static int deinterlace_release(struct file *file)
file              880 drivers/media/platform/m2m-deinterlace.c 	struct deinterlace_dev *pcdev = video_drvdata(file);
file              881 drivers/media/platform/m2m-deinterlace.c 	struct deinterlace_ctx *ctx = file->private_data;
file             1344 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_querycap(struct file *file, void *priv,
file             1347 drivers/media/platform/marvell-ccic/mcam-core.c 	struct mcam_camera *cam = video_drvdata(file);
file             1356 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_enum_fmt_vid_cap(struct file *filp,
file             1365 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_try_fmt_vid_cap(struct file *filp, void *priv,
file             1396 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_s_fmt_vid_cap(struct file *filp, void *priv,
file             1443 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_g_fmt_vid_cap(struct file *filp, void *priv,
file             1455 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_enum_input(struct file *filp, void *priv,
file             1466 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_g_input(struct file *filp, void *priv, unsigned int *i)
file             1472 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_s_input(struct file *filp, void *priv, unsigned int i)
file             1483 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_g_parm(struct file *filp, void *priv,
file             1494 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_s_parm(struct file *filp, void *priv,
file             1505 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_enum_framesizes(struct file *filp, void *priv,
file             1540 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_enum_frameintervals(struct file *filp, void *priv,
file             1566 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_g_register(struct file *file, void *priv,
file             1569 drivers/media/platform/marvell-ccic/mcam-core.c 	struct mcam_camera *cam = video_drvdata(file);
file             1578 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vidioc_s_register(struct file *file, void *priv,
file             1581 drivers/media/platform/marvell-ccic/mcam-core.c 	struct mcam_camera *cam = video_drvdata(file);
file             1623 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_v4l_open(struct file *filp)
file             1648 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_v4l_release(struct file *filp)
file               84 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_querycap(struct file *file, void *priv,
file               87 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct mtk_jpeg_dev *jpeg = video_drvdata(file);
file              118 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_enum_fmt_vid_cap(struct file *file, void *priv,
file              125 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_enum_fmt_vid_out(struct file *file, void *priv,
file              263 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_g_fmt_vid_mplane(struct file *file, void *priv,
file              314 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_try_fmt_vid_cap_mplane(struct file *file, void *priv,
file              335 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_try_fmt_vid_out_mplane(struct file *file, void *priv,
file              408 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_s_fmt_vid_out_mplane(struct file *file, void *priv,
file              413 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	ret = mtk_jpeg_try_fmt_vid_out_mplane(file, priv, f);
file              420 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_s_fmt_vid_cap_mplane(struct file *file, void *priv,
file              425 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	ret = mtk_jpeg_try_fmt_vid_cap_mplane(file, priv, f);
file              454 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_g_selection(struct file *file, void *priv,
file              483 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_s_selection(struct file *file, void *priv,
file              504 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              506 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct v4l2_fh *fh = file->private_data;
file              526 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	return v4l2_m2m_qbuf(file, fh->m2m_ctx, buf);
file              988 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_open(struct file *file)
file              990 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct mtk_jpeg_dev *jpeg = video_drvdata(file);
file              991 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct video_device *vfd = video_devdata(file);
file             1005 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	file->private_data = &ctx->fh;
file             1029 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_release(struct file *file)
file             1031 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct mtk_jpeg_dev *jpeg = video_drvdata(file);
file             1032 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(file->private_data);
file              602 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_querycap(struct file *file, void *fh,
file              628 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_enum_fmt_vid_cap(struct file *file, void *priv,
file              634 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_enum_fmt_vid_out(struct file *file, void *priv,
file              640 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_g_fmt_mplane(struct file *file, void *fh,
file              679 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_try_fmt_mplane(struct file *file, void *fh,
file              689 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_s_fmt_mplane(struct file *file, void *fh,
file              740 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_reqbufs(struct file *file, void *fh,
file              752 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs);
file              755 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_streamon(struct file *file, void *fh,
file              780 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	return v4l2_m2m_streamon(file, ctx->m2m_ctx, type);
file              801 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_g_selection(struct file *file, void *fh,
file              868 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_s_selection(struct file *file, void *fh,
file             1087 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_open(struct file *file)
file             1089 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	struct mtk_mdp_dev *mdp = video_drvdata(file);
file             1090 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	struct video_device *vfd = video_devdata(file);
file             1106 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	file->private_data = &ctx->fh;
file             1166 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_release(struct file *file)
file             1168 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data);
file              481 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_try_decoder_cmd(struct file *file, void *priv,
file              499 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_decoder_cmd(struct file *file, void *priv,
file              506 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c 	ret = vidioc_try_decoder_cmd(file, priv, cmd);
file              601 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_qbuf(struct file *file, void *priv,
file              612 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c 	return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf);
file              615 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_dqbuf(struct file *file, void *priv,
file              626 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c 	return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf);
file              629 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_querycap(struct file *file, void *priv,
file              723 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv,
file              737 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv,
file              757 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_g_selection(struct file *file, void *priv,
file              806 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_s_selection(struct file *file, void *priv,
file              828 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_s_fmt(struct file *file, void *priv,
file              895 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file              959 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_enum_fmt_vid_cap(struct file *file, void *priv,
file              965 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_enum_fmt_vid_out(struct file *file, void *priv,
file              971 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vidioc_vdec_g_fmt(struct file *file, void *priv,
file               96 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c static int fops_vcodec_open(struct file *file)
file               98 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 	struct mtk_vcodec_dev *dev = video_drvdata(file);
file              116 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              117 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 	file->private_data = &ctx->fh;
file              187 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c static int fops_vcodec_release(struct file *file)
file              189 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 	struct mtk_vcodec_dev *dev = video_drvdata(file);
file              190 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 	struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data);
file              182 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_enum_framesizes(struct file *file, void *fh,
file              202 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              208 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              214 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_querycap(struct file *file, void *priv,
file              224 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_s_parm(struct file *file, void *priv,
file              243 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_g_parm(struct file *file, void *priv,
file              416 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_s_fmt_cap(struct file *file, void *priv,
file              478 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_s_fmt_out(struct file *file, void *priv,
file              545 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_g_fmt(struct file *file, void *priv,
file              581 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv,
file              600 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv,
file              620 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_g_selection(struct file *file, void *priv,
file              654 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_s_selection(struct file *file, void *priv,
file              683 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_qbuf(struct file *file, void *priv,
file              694 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c 	return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf);
file              697 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vidioc_venc_dqbuf(struct file *file, void *priv,
file              708 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c 	return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf);
file              120 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c static int fops_vcodec_open(struct file *file)
file              122 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 	struct mtk_vcodec_dev *dev = video_drvdata(file);
file              136 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              137 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 	file->private_data = &ctx->fh;
file              204 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c static int fops_vcodec_release(struct file *file)
file              206 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 	struct mtk_vcodec_dev *dev = video_drvdata(file);
file              207 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 	struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data);
file              616 drivers/media/platform/mtk-vpu/mtk_vpu.c static ssize_t vpu_debug_read(struct file *file, char __user *user_buf,
file              623 drivers/media/platform/mtk-vpu/mtk_vpu.c 	struct device *dev = file->private_data;
file              378 drivers/media/platform/mx2_emmaprp.c static int vidioc_querycap(struct file *file, void *priv,
file              415 drivers/media/platform/mx2_emmaprp.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              421 drivers/media/platform/mx2_emmaprp.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              451 drivers/media/platform/mx2_emmaprp.c static int vidioc_g_fmt_vid_out(struct file *file, void *priv,
file              457 drivers/media/platform/mx2_emmaprp.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              497 drivers/media/platform/mx2_emmaprp.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              514 drivers/media/platform/mx2_emmaprp.c static int vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              569 drivers/media/platform/mx2_emmaprp.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              574 drivers/media/platform/mx2_emmaprp.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file              581 drivers/media/platform/mx2_emmaprp.c static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file              586 drivers/media/platform/mx2_emmaprp.c 	ret = vidioc_try_fmt_vid_out(file, priv, f);
file              720 drivers/media/platform/mx2_emmaprp.c static int emmaprp_open(struct file *file)
file              722 drivers/media/platform/mx2_emmaprp.c 	struct emmaprp_dev *pcdev = video_drvdata(file);
file              729 drivers/media/platform/mx2_emmaprp.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              730 drivers/media/platform/mx2_emmaprp.c 	file->private_data = &ctx->fh;
file              760 drivers/media/platform/mx2_emmaprp.c static int emmaprp_release(struct file *file)
file              762 drivers/media/platform/mx2_emmaprp.c 	struct emmaprp_dev *pcdev = video_drvdata(file);
file              763 drivers/media/platform/mx2_emmaprp.c 	struct emmaprp_ctx *ctx = file->private_data;
file              570 drivers/media/platform/omap/omap_vout.c static int vidioc_querycap(struct file *file, void *fh,
file              573 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              582 drivers/media/platform/omap/omap_vout.c static int vidioc_enum_fmt_vid_out(struct file *file, void *fh,
file              596 drivers/media/platform/omap/omap_vout.c static int vidioc_g_fmt_vid_out(struct file *file, void *fh,
file              599 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              606 drivers/media/platform/omap/omap_vout.c static int vidioc_try_fmt_vid_out(struct file *file, void *fh,
file              612 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              632 drivers/media/platform/omap/omap_vout.c static int vidioc_s_fmt_vid_out(struct file *file, void *fh,
file              639 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              698 drivers/media/platform/omap/omap_vout.c static int vidioc_try_fmt_vid_overlay(struct file *file, void *fh,
file              702 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              718 drivers/media/platform/omap/omap_vout.c static int vidioc_s_fmt_vid_overlay(struct file *file, void *fh,
file              724 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              765 drivers/media/platform/omap/omap_vout.c static int vidioc_g_fmt_vid_overlay(struct file *file, void *fh,
file              770 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              789 drivers/media/platform/omap/omap_vout.c static int vidioc_g_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              791 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file              815 drivers/media/platform/omap/omap_vout.c static int vidioc_s_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              818 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file             1115 drivers/media/platform/omap/omap_vout.c static int vidioc_s_fbuf(struct file *file, void *fh,
file             1121 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file             1187 drivers/media/platform/omap/omap_vout.c static int vidioc_g_fbuf(struct file *file, void *fh,
file             1192 drivers/media/platform/omap/omap_vout.c 	struct omap_vout_device *vout = video_drvdata(file);
file             1236 drivers/media/platform/omap/omap_vout.c static int vidioc_enum_output(struct file *file, void *priv_fh,
file             1246 drivers/media/platform/omap/omap_vout.c static int vidioc_g_output(struct file *file, void *priv_fh, unsigned int *i)
file             1252 drivers/media/platform/omap/omap_vout.c static int vidioc_s_output(struct file *file, void *priv_fh, unsigned int i)
file              650 drivers/media/platform/omap3isp/ispvideo.c isp_video_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              652 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              666 drivers/media/platform/omap3isp/ispvideo.c isp_video_get_format(struct file *file, void *fh, struct v4l2_format *format)
file              669 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              682 drivers/media/platform/omap3isp/ispvideo.c isp_video_set_format(struct file *file, void *fh, struct v4l2_format *format)
file              685 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              740 drivers/media/platform/omap3isp/ispvideo.c isp_video_try_format(struct file *file, void *fh, struct v4l2_format *format)
file              742 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              768 drivers/media/platform/omap3isp/ispvideo.c isp_video_get_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              770 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              825 drivers/media/platform/omap3isp/ispvideo.c isp_video_set_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              827 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              865 drivers/media/platform/omap3isp/ispvideo.c isp_video_get_param(struct file *file, void *fh, struct v4l2_streamparm *a)
file              868 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              883 drivers/media/platform/omap3isp/ispvideo.c isp_video_set_param(struct file *file, void *fh, struct v4l2_streamparm *a)
file              886 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              901 drivers/media/platform/omap3isp/ispvideo.c isp_video_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *rb)
file              904 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              915 drivers/media/platform/omap3isp/ispvideo.c isp_video_querybuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              918 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              929 drivers/media/platform/omap3isp/ispvideo.c isp_video_qbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              932 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              943 drivers/media/platform/omap3isp/ispvideo.c isp_video_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              946 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file              950 drivers/media/platform/omap3isp/ispvideo.c 	ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK);
file             1080 drivers/media/platform/omap3isp/ispvideo.c isp_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file             1083 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file             1187 drivers/media/platform/omap3isp/ispvideo.c isp_video_streamoff(struct file *file, void *fh, enum v4l2_buf_type type)
file             1190 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file             1242 drivers/media/platform/omap3isp/ispvideo.c isp_video_enum_input(struct file *file, void *fh, struct v4l2_input *input)
file             1254 drivers/media/platform/omap3isp/ispvideo.c isp_video_g_input(struct file *file, void *fh, unsigned int *input)
file             1262 drivers/media/platform/omap3isp/ispvideo.c isp_video_s_input(struct file *file, void *fh, unsigned int input)
file             1294 drivers/media/platform/omap3isp/ispvideo.c static int isp_video_open(struct file *file)
file             1296 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file             1341 drivers/media/platform/omap3isp/ispvideo.c 	file->private_data = &handle->vfh;
file             1353 drivers/media/platform/omap3isp/ispvideo.c static int isp_video_release(struct file *file)
file             1355 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file             1356 drivers/media/platform/omap3isp/ispvideo.c 	struct v4l2_fh *vfh = file->private_data;
file             1360 drivers/media/platform/omap3isp/ispvideo.c 	isp_video_streamoff(file, vfh, video->type);
file             1372 drivers/media/platform/omap3isp/ispvideo.c 	file->private_data = NULL;
file             1379 drivers/media/platform/omap3isp/ispvideo.c static __poll_t isp_video_poll(struct file *file, poll_table *wait)
file             1381 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video_fh *vfh = to_isp_video_fh(file->private_data);
file             1382 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
file             1386 drivers/media/platform/omap3isp/ispvideo.c 	ret = vb2_poll(&vfh->queue, file, wait);
file             1392 drivers/media/platform/omap3isp/ispvideo.c static int isp_video_mmap(struct file *file, struct vm_area_struct *vma)
file             1394 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video_fh *vfh = to_isp_video_fh(file->private_data);
file             1815 drivers/media/platform/pxa_camera.c static int pxac_vidioc_g_register(struct file *file, void *priv,
file             1818 drivers/media/platform/pxa_camera.c 	struct pxa_camera_dev *pcdev = video_drvdata(file);
file             1828 drivers/media/platform/pxa_camera.c static int pxac_vidioc_s_register(struct file *file, void *priv,
file             1831 drivers/media/platform/pxa_camera.c 	struct pxa_camera_dev *pcdev = video_drvdata(file);
file             1842 drivers/media/platform/pxa_camera.c static int pxac_vidioc_enum_fmt_vid_cap(struct file *filp, void  *priv,
file             1858 drivers/media/platform/pxa_camera.c static int pxac_vidioc_g_fmt_vid_cap(struct file *filp, void *priv,
file             1876 drivers/media/platform/pxa_camera.c static int pxac_vidioc_try_fmt_vid_cap(struct file *filp, void *priv,
file             1940 drivers/media/platform/pxa_camera.c static int pxac_vidioc_s_fmt_vid_cap(struct file *filp, void *priv,
file             1989 drivers/media/platform/pxa_camera.c static int pxac_vidioc_querycap(struct file *file, void *priv,
file             1998 drivers/media/platform/pxa_camera.c static int pxac_vidioc_enum_input(struct file *file, void *priv,
file             2010 drivers/media/platform/pxa_camera.c static int pxac_vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             2017 drivers/media/platform/pxa_camera.c static int pxac_vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             2041 drivers/media/platform/pxa_camera.c static int pxac_fops_camera_open(struct file *filp)
file             2062 drivers/media/platform/pxa_camera.c static int pxac_fops_camera_release(struct file *filp)
file              519 drivers/media/platform/qcom/camss/camss-video.c static int video_querycap(struct file *file, void *fh,
file              522 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              532 drivers/media/platform/qcom/camss/camss-video.c static int video_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              534 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              567 drivers/media/platform/qcom/camss/camss-video.c static int video_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              569 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              656 drivers/media/platform/qcom/camss/camss-video.c static int video_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              658 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              663 drivers/media/platform/qcom/camss/camss-video.c static int video_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              665 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              680 drivers/media/platform/qcom/camss/camss-video.c static int video_enum_input(struct file *file, void *fh,
file              692 drivers/media/platform/qcom/camss/camss-video.c static int video_g_input(struct file *file, void *fh, unsigned int *input)
file              699 drivers/media/platform/qcom/camss/camss-video.c static int video_s_input(struct file *file, void *fh, unsigned int input)
file              728 drivers/media/platform/qcom/camss/camss-video.c static int video_open(struct file *file)
file              730 drivers/media/platform/qcom/camss/camss-video.c 	struct video_device *vdev = video_devdata(file);
file              731 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
file              746 drivers/media/platform/qcom/camss/camss-video.c 	file->private_data = vfh;
file              760 drivers/media/platform/qcom/camss/camss-video.c 	v4l2_fh_release(file);
file              768 drivers/media/platform/qcom/camss/camss-video.c static int video_release(struct file *file)
file              770 drivers/media/platform/qcom/camss/camss-video.c 	struct video_device *vdev = video_devdata(file);
file              772 drivers/media/platform/qcom/camss/camss-video.c 	vb2_fop_release(file);
file              776 drivers/media/platform/qcom/camss/camss-video.c 	file->private_data = NULL;
file              352 drivers/media/platform/qcom/venus/core.h static inline struct venus_inst *to_inst(struct file *filp)
file              190 drivers/media/platform/qcom/venus/vdec.c static int vdec_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              192 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              233 drivers/media/platform/qcom/venus/vdec.c static int vdec_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              235 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              270 drivers/media/platform/qcom/venus/vdec.c static int vdec_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              272 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              329 drivers/media/platform/qcom/venus/vdec.c vdec_g_selection(struct file *file, void *fh, struct v4l2_selection *s)
file              331 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              371 drivers/media/platform/qcom/venus/vdec.c vdec_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              380 drivers/media/platform/qcom/venus/vdec.c static int vdec_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              382 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              397 drivers/media/platform/qcom/venus/vdec.c static int vdec_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file              399 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              431 drivers/media/platform/qcom/venus/vdec.c static int vdec_enum_framesizes(struct file *file, void *fh,
file              434 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              484 drivers/media/platform/qcom/venus/vdec.c vdec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd)
file              486 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              490 drivers/media/platform/qcom/venus/vdec.c 	ret = v4l2_m2m_ioctl_try_decoder_cmd(file, fh, cmd);
file             1314 drivers/media/platform/qcom/venus/vdec.c static int vdec_open(struct file *file)
file             1316 drivers/media/platform/qcom/venus/vdec.c 	struct venus_core *core = video_drvdata(file);
file             1373 drivers/media/platform/qcom/venus/vdec.c 	file->private_data = &inst->fh;
file             1390 drivers/media/platform/qcom/venus/vdec.c static int vdec_close(struct file *file)
file             1392 drivers/media/platform/qcom/venus/vdec.c 	struct venus_inst *inst = to_inst(file);
file              265 drivers/media/platform/qcom/venus/venc.c venc_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              274 drivers/media/platform/qcom/venus/venc.c static int venc_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              276 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              342 drivers/media/platform/qcom/venus/venc.c static int venc_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              344 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              351 drivers/media/platform/qcom/venus/venc.c static int venc_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              353 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              412 drivers/media/platform/qcom/venus/venc.c static int venc_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              415 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              445 drivers/media/platform/qcom/venus/venc.c venc_g_selection(struct file *file, void *fh, struct v4l2_selection *s)
file              447 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              473 drivers/media/platform/qcom/venus/venc.c venc_s_selection(struct file *file, void *fh, struct v4l2_selection *s)
file              475 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              494 drivers/media/platform/qcom/venus/venc.c static int venc_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file              496 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              529 drivers/media/platform/qcom/venus/venc.c static int venc_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file              531 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              543 drivers/media/platform/qcom/venus/venc.c static int venc_enum_framesizes(struct file *file, void *fh,
file              546 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              573 drivers/media/platform/qcom/venus/venc.c static int venc_enum_frameintervals(struct file *file, void *fh,
file              576 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file             1140 drivers/media/platform/qcom/venus/venc.c static int venc_open(struct file *file)
file             1142 drivers/media/platform/qcom/venus/venc.c 	struct venus_core *core = video_drvdata(file);
file             1196 drivers/media/platform/qcom/venus/venc.c 	file->private_data = &inst->fh;
file             1213 drivers/media/platform/qcom/venus/venc.c static int venc_close(struct file *file)
file             1215 drivers/media/platform/qcom/venus/venc.c 	struct venus_inst *inst = to_inst(file);
file              249 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_querycap(struct file *file, void *priv,
file              252 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              261 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_try_fmt_vid_cap(struct file *file, void *priv,
file              264 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              270 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_fmt_vid_cap(struct file *file, void *priv,
file              273 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              293 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_fmt_vid_cap(struct file *file, void *priv,
file              296 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              303 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_enum_fmt_vid_cap(struct file *file, void *priv,
file              314 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_selection(struct file *file, void *fh,
file              317 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              348 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_selection(struct file *file, void *fh,
file              351 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              420 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_pixelaspect(struct file *file, void *priv,
file              423 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              432 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_enum_input(struct file *file, void *priv,
file              435 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              461 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_input(struct file *file, void *priv, unsigned int *i)
file              467 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_input(struct file *file, void *priv, unsigned int i)
file              474 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_querystd(struct file *file, void *priv, v4l2_std_id *a)
file              476 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              482 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_std(struct file *file, void *priv, v4l2_std_id a)
file              484 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              497 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_std(struct file *file, void *priv, v4l2_std_id *a)
file              499 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              519 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_enum_dv_timings(struct file *file, void *priv_fh,
file              522 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              538 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_dv_timings(struct file *file, void *priv_fh,
file              541 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              553 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_dv_timings(struct file *file, void *priv_fh,
file              556 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              562 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_query_dv_timings(struct file *file, void *priv_fh,
file              565 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              571 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_dv_timings_cap(struct file *file, void *priv_fh,
file              574 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              590 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_g_edid(struct file *file, void *fh, struct v4l2_edid *edid)
file              592 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              608 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_s_edid(struct file *file, void *fh, struct v4l2_edid *edid)
file              610 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              692 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_mc_try_fmt_vid_cap(struct file *file, void *priv,
file              695 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              702 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_mc_s_fmt_vid_cap(struct file *file, void *priv,
file              705 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              723 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_mc_enum_input(struct file *file, void *priv,
file              778 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_open(struct file *file)
file              780 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              791 drivers/media/platform/rcar-vin/rcar-v4l2.c 	file->private_data = vin;
file              793 drivers/media/platform/rcar-vin/rcar-v4l2.c 	ret = v4l2_fh_open(file);
file              799 drivers/media/platform/rcar-vin/rcar-v4l2.c 	else if (v4l2_fh_is_singular_file(file))
file              815 drivers/media/platform/rcar-vin/rcar-v4l2.c 	else if (v4l2_fh_is_singular_file(file))
file              818 drivers/media/platform/rcar-vin/rcar-v4l2.c 	v4l2_fh_release(file);
file              827 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_release(struct file *file)
file              829 drivers/media/platform/rcar-vin/rcar-v4l2.c 	struct rvin_dev *vin = video_drvdata(file);
file              836 drivers/media/platform/rcar-vin/rcar-v4l2.c 	fh_singular = v4l2_fh_is_singular_file(file);
file              839 drivers/media/platform/rcar-vin/rcar-v4l2.c 	ret = _vb2_fop_release(file, NULL);
file              868 drivers/media/platform/rcar_drif.c static int rcar_drif_querycap(struct file *file, void *fh,
file              871 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file              899 drivers/media/platform/rcar_drif.c static int rcar_drif_enum_fmt_sdr_cap(struct file *file, void *priv,
file              910 drivers/media/platform/rcar_drif.c static int rcar_drif_g_fmt_sdr_cap(struct file *file, void *priv,
file              913 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file              922 drivers/media/platform/rcar_drif.c static int rcar_drif_s_fmt_sdr_cap(struct file *file, void *priv,
file              925 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file              963 drivers/media/platform/rcar_drif.c static int rcar_drif_try_fmt_sdr_cap(struct file *file, void *priv,
file              983 drivers/media/platform/rcar_drif.c static int rcar_drif_enum_freq_bands(struct file *file, void *priv,
file              986 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file              991 drivers/media/platform/rcar_drif.c static int rcar_drif_g_frequency(struct file *file, void *priv,
file              994 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file              999 drivers/media/platform/rcar_drif.c static int rcar_drif_s_frequency(struct file *file, void *priv,
file             1002 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file             1007 drivers/media/platform/rcar_drif.c static int rcar_drif_g_tuner(struct file *file, void *priv,
file             1010 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file             1015 drivers/media/platform/rcar_drif.c static int rcar_drif_s_tuner(struct file *file, void *priv,
file             1018 drivers/media/platform/rcar_drif.c 	struct rcar_drif_sdr *sdr = video_drvdata(file);
file             1361 drivers/media/platform/rcar_fdp1.c static int fdp1_vidioc_querycap(struct file *file, void *priv,
file             1395 drivers/media/platform/rcar_fdp1.c static int fdp1_enum_fmt_vid_cap(struct file *file, void *priv,
file             1401 drivers/media/platform/rcar_fdp1.c static int fdp1_enum_fmt_vid_out(struct file *file, void *priv,
file             1407 drivers/media/platform/rcar_fdp1.c static int fdp1_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1589 drivers/media/platform/rcar_fdp1.c static int fdp1_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1660 drivers/media/platform/rcar_fdp1.c static int fdp1_s_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             2079 drivers/media/platform/rcar_fdp1.c static int fdp1_open(struct file *file)
file             2081 drivers/media/platform/rcar_fdp1.c 	struct fdp1_dev *fdp1 = video_drvdata(file);
file             2096 drivers/media/platform/rcar_fdp1.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             2097 drivers/media/platform/rcar_fdp1.c 	file->private_data = &ctx->fh;
file             2159 drivers/media/platform/rcar_fdp1.c static int fdp1_release(struct file *file)
file             2161 drivers/media/platform/rcar_fdp1.c 	struct fdp1_dev *fdp1 = video_drvdata(file);
file             2162 drivers/media/platform/rcar_fdp1.c 	struct fdp1_ctx *ctx = fh_to_ctx(file->private_data);
file              661 drivers/media/platform/rcar_jpu.c static int jpu_querycap(struct file *file, void *priv,
file              721 drivers/media/platform/rcar_jpu.c static int jpu_enum_fmt_cap(struct file *file, void *priv,
file              730 drivers/media/platform/rcar_jpu.c static int jpu_enum_fmt_out(struct file *file, void *priv,
file              836 drivers/media/platform/rcar_jpu.c static int jpu_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              846 drivers/media/platform/rcar_jpu.c static int jpu_s_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              876 drivers/media/platform/rcar_jpu.c static int jpu_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              910 drivers/media/platform/rcar_jpu.c static int jpu_streamon(struct file *file, void *priv, enum v4l2_buf_type type)
file              943 drivers/media/platform/rcar_jpu.c 	return v4l2_m2m_streamon(file, ctx->fh.m2m_ctx, type);
file             1230 drivers/media/platform/rcar_jpu.c static int jpu_open(struct file *file)
file             1232 drivers/media/platform/rcar_jpu.c 	struct jpu *jpu = video_drvdata(file);
file             1233 drivers/media/platform/rcar_jpu.c 	struct video_device *vfd = video_devdata(file);
file             1243 drivers/media/platform/rcar_jpu.c 	file->private_data = &ctx->fh;
file             1295 drivers/media/platform/rcar_jpu.c static int jpu_release(struct file *file)
file             1297 drivers/media/platform/rcar_jpu.c 	struct jpu *jpu = video_drvdata(file);
file             1298 drivers/media/platform/rcar_jpu.c 	struct jpu_ctx *ctx = fh_to_ctx(file->private_data);
file             1091 drivers/media/platform/renesas-ceu.c static int ceu_open(struct file *file)
file             1093 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1096 drivers/media/platform/renesas-ceu.c 	ret = v4l2_fh_open(file);
file             1108 drivers/media/platform/renesas-ceu.c static int ceu_release(struct file *file)
file             1110 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1112 drivers/media/platform/renesas-ceu.c 	vb2_fop_release(file);
file             1133 drivers/media/platform/renesas-ceu.c static int ceu_querycap(struct file *file, void *priv,
file             1136 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1146 drivers/media/platform/renesas-ceu.c static int ceu_enum_fmt_vid_cap(struct file *file, void *priv,
file             1160 drivers/media/platform/renesas-ceu.c static int ceu_try_fmt_vid_cap(struct file *file, void *priv,
file             1163 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1168 drivers/media/platform/renesas-ceu.c static int ceu_s_fmt_vid_cap(struct file *file, void *priv,
file             1171 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1179 drivers/media/platform/renesas-ceu.c static int ceu_g_fmt_vid_cap(struct file *file, void *priv,
file             1182 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1189 drivers/media/platform/renesas-ceu.c static int ceu_enum_input(struct file *file, void *priv,
file             1192 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1208 drivers/media/platform/renesas-ceu.c static int ceu_g_input(struct file *file, void *priv, unsigned int *i)
file             1210 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1217 drivers/media/platform/renesas-ceu.c static int ceu_s_input(struct file *file, void *priv, unsigned int i)
file             1219 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1260 drivers/media/platform/renesas-ceu.c static int ceu_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1262 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1264 drivers/media/platform/renesas-ceu.c 	return v4l2_g_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a);
file             1267 drivers/media/platform/renesas-ceu.c static int ceu_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a)
file             1269 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1271 drivers/media/platform/renesas-ceu.c 	return v4l2_s_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a);
file             1274 drivers/media/platform/renesas-ceu.c static int ceu_enum_framesizes(struct file *file, void *fh,
file             1277 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file             1306 drivers/media/platform/renesas-ceu.c static int ceu_enum_frameintervals(struct file *file, void *fh,
file             1309 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
file              370 drivers/media/platform/rockchip/rga/rga.c static int rga_open(struct file *file)
file              372 drivers/media/platform/rockchip/rga/rga.c 	struct rockchip_rga *rga = video_drvdata(file);
file              395 drivers/media/platform/rockchip/rga/rga.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              396 drivers/media/platform/rockchip/rga/rga.c 	file->private_data = &ctx->fh;
file              410 drivers/media/platform/rockchip/rga/rga.c static int rga_release(struct file *file)
file              413 drivers/media/platform/rockchip/rga/rga.c 		container_of(file->private_data, struct rga_ctx, fh);
file              440 drivers/media/platform/rockchip/rga/rga.c vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap)
file              449 drivers/media/platform/rockchip/rga/rga.c static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f)
file              462 drivers/media/platform/rockchip/rga/rga.c static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              486 drivers/media/platform/rockchip/rga/rga.c static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              519 drivers/media/platform/rockchip/rga/rga.c static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              531 drivers/media/platform/rockchip/rga/rga.c 	ret = vidioc_try_fmt(file, prv, f);
file              561 drivers/media/platform/rockchip/rga/rga.c static int vidioc_g_selection(struct file *file, void *prv,
file              609 drivers/media/platform/rockchip/rga/rga.c static int vidioc_s_selection(struct file *file, void *prv,
file              534 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_open(struct file *file)
file              536 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              546 drivers/media/platform/s3c-camif/camif-capture.c 	ret = v4l2_fh_open(file);
file              560 drivers/media/platform/s3c-camif/camif-capture.c 	v4l2_fh_release(file);
file              566 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_close(struct file *file)
file              568 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              577 drivers/media/platform/s3c-camif/camif-capture.c 	if (vp->owner == file->private_data) {
file              586 drivers/media/platform/s3c-camif/camif-capture.c 	ret = v4l2_fh_release(file);
file              592 drivers/media/platform/s3c-camif/camif-capture.c static __poll_t s3c_camif_poll(struct file *file,
file              595 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              600 drivers/media/platform/s3c-camif/camif-capture.c 	if (vp->owner && vp->owner != file->private_data)
file              603 drivers/media/platform/s3c-camif/camif-capture.c 		ret = vb2_poll(&vp->vb_queue, file, wait);
file              609 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_mmap(struct file *file, struct vm_area_struct *vma)
file              611 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              614 drivers/media/platform/s3c-camif/camif-capture.c 	if (vp->owner && vp->owner != file->private_data)
file              635 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_querycap(struct file *file, void *priv,
file              638 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              647 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_enum_input(struct file *file, void *priv,
file              650 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              661 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_s_input(struct file *file, void *priv,
file              667 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_g_input(struct file *file, void *priv,
file              674 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_enum_fmt(struct file *file, void *priv,
file              677 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              688 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_g_fmt(struct file *file, void *priv,
file              691 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              759 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_try_fmt(struct file *file, void *priv,
file              762 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              766 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_vidioc_s_fmt(struct file *file, void *priv,
file              770 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              832 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_streamon(struct file *file, void *priv,
file              835 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              864 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_streamoff(struct file *file, void *priv,
file              867 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              885 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_reqbufs(struct file *file, void *priv,
file              888 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              919 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_querybuf(struct file *file, void *priv,
file              922 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              926 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_qbuf(struct file *file, void *priv,
file              929 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              939 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_dqbuf(struct file *file, void *priv,
file              942 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              949 drivers/media/platform/s3c-camif/camif-capture.c 	return vb2_dqbuf(&vp->vb_queue, buf, file->f_flags & O_NONBLOCK);
file              952 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_create_bufs(struct file *file, void *priv,
file              955 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              970 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_prepare_buf(struct file *file, void *priv,
file              973 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              977 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_g_selection(struct file *file, void *priv,
file              980 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file             1014 drivers/media/platform/s3c-camif/camif-capture.c static int s3c_camif_s_selection(struct file *file, void *priv,
file             1017 drivers/media/platform/s3c-camif/camif-capture.c 	struct camif_vp *vp = video_drvdata(file);
file              233 drivers/media/platform/s5p-g2d/g2d.c static int g2d_open(struct file *file)
file              235 drivers/media/platform/s5p-g2d/g2d.c 	struct g2d_dev *dev = video_drvdata(file);
file              258 drivers/media/platform/s5p-g2d/g2d.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              259 drivers/media/platform/s5p-g2d/g2d.c 	file->private_data = &ctx->fh;
file              274 drivers/media/platform/s5p-g2d/g2d.c static int g2d_release(struct file *file)
file              276 drivers/media/platform/s5p-g2d/g2d.c 	struct g2d_dev *dev = video_drvdata(file);
file              277 drivers/media/platform/s5p-g2d/g2d.c 	struct g2d_ctx *ctx = fh2ctx(file->private_data);
file              288 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_querycap(struct file *file, void *priv,
file              297 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f)
file              305 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              327 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              357 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f)
file              368 drivers/media/platform/s5p-g2d/g2d.c 	ret = vidioc_try_fmt(file, prv, f);
file              397 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_g_selection(struct file *file, void *prv,
file              447 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_try_selection(struct file *file, void *prv,
file              475 drivers/media/platform/s5p-g2d/g2d.c static int vidioc_s_selection(struct file *file, void *prv,
file              482 drivers/media/platform/s5p-g2d/g2d.c 	ret = vidioc_try_selection(file, prv, s);
file              944 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_open(struct file *file)
file              946 drivers/media/platform/s5p-jpeg/jpeg-core.c 	struct s5p_jpeg *jpeg = video_drvdata(file);
file              947 drivers/media/platform/s5p-jpeg/jpeg-core.c 	struct video_device *vfd = video_devdata(file);
file              964 drivers/media/platform/s5p-jpeg/jpeg-core.c 	file->private_data = &ctx->fh;
file             1008 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_release(struct file *file)
file             1010 drivers/media/platform/s5p-jpeg/jpeg-core.c 	struct s5p_jpeg *jpeg = video_drvdata(file);
file             1011 drivers/media/platform/s5p-jpeg/jpeg-core.c 	struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data);
file             1244 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_querycap(struct file *file, void *priv,
file             1294 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_enum_fmt_vid_cap(struct file *file, void *priv,
file             1307 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_enum_fmt_vid_out(struct file *file, void *priv,
file             1331 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1473 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_try_fmt_vid_cap(struct file *file, void *priv,
file             1532 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_try_fmt_vid_out(struct file *file, void *priv,
file             1673 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_s_fmt_vid_cap(struct file *file, void *priv,
file             1678 drivers/media/platform/s5p-jpeg/jpeg-core.c 	ret = s5p_jpeg_try_fmt_vid_cap(file, priv, f);
file             1685 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_s_fmt_vid_out(struct file *file, void *priv,
file             1690 drivers/media/platform/s5p-jpeg/jpeg-core.c 	ret = s5p_jpeg_try_fmt_vid_out(file, priv, f);
file             1801 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_g_selection(struct file *file, void *priv,
file             1838 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_s_selection(struct file *file, void *fh,
file             1841 drivers/media/platform/s5p-jpeg/jpeg-core.c 	struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data);
file              751 drivers/media/platform/s5p-mfc/s5p_mfc.c static int s5p_mfc_open(struct file *file)
file              753 drivers/media/platform/s5p-mfc/s5p_mfc.c 	struct video_device *vdev = video_devdata(file);
file              754 drivers/media/platform/s5p-mfc/s5p_mfc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              771 drivers/media/platform/s5p-mfc/s5p_mfc.c 	file->private_data = &ctx->fh;
file              935 drivers/media/platform/s5p-mfc/s5p_mfc.c static int s5p_mfc_release(struct file *file)
file              937 drivers/media/platform/s5p-mfc/s5p_mfc.c 	struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data);
file              991 drivers/media/platform/s5p-mfc/s5p_mfc.c static __poll_t s5p_mfc_poll(struct file *file,
file              994 drivers/media/platform/s5p-mfc/s5p_mfc.c 	struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data);
file             1015 drivers/media/platform/s5p-mfc/s5p_mfc.c 	poll_wait(file, &ctx->fh.wait, wait);
file             1016 drivers/media/platform/s5p-mfc/s5p_mfc.c 	poll_wait(file, &src_q->done_wq, wait);
file             1017 drivers/media/platform/s5p-mfc/s5p_mfc.c 	poll_wait(file, &dst_q->done_wq, wait);
file             1043 drivers/media/platform/s5p-mfc/s5p_mfc.c static int s5p_mfc_mmap(struct file *file, struct vm_area_struct *vma)
file             1045 drivers/media/platform/s5p-mfc/s5p_mfc.c 	struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data);
file              251 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_querycap(struct file *file, void *priv,
file              254 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              264 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_enum_fmt(struct file *file, struct v4l2_fmtdesc *f,
file              267 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              288 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *pirv,
file              291 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	return vidioc_enum_fmt(file, f, false);
file              294 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              297 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	return vidioc_enum_fmt(file, f, true);
file              301 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              356 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              358 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              392 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_s_fmt(struct file *file, void *priv, struct v4l2_format *f)
file              394 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              401 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	ret = vidioc_try_fmt(file, priv, f);
file              547 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_reqbufs(struct file *file, void *priv,
file              550 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file              569 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_querybuf(struct file *file, void *priv,
file              598 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              614 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              629 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 		return vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK);
file              631 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 		ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK);
file              645 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_expbuf(struct file *file, void *priv,
file              658 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_streamon(struct file *file, void *priv,
file              674 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_streamoff(struct file *file, void *priv,
file              749 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_g_selection(struct file *file, void *priv,
file              804 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int vidioc_decoder_cmd(struct file *file, void *priv,
file             1299 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_querycap(struct file *file, void *priv,
file             1302 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file             1311 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_enum_fmt(struct file *file, struct v4l2_fmtdesc *f,
file             1314 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file             1334 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *pirv,
file             1337 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	return vidioc_enum_fmt(file, f, false);
file             1340 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file             1343 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	return vidioc_enum_fmt(file, f, true);
file             1346 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1382 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1384 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file             1421 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_s_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1423 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file             1428 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	ret = vidioc_try_fmt(file, priv, f);
file             1473 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_reqbufs(struct file *file, void *priv,
file             1476 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	struct s5p_mfc_dev *dev = video_drvdata(file);
file             1553 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_querybuf(struct file *file, void *priv,
file             1588 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file             1609 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file             1622 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		ret = vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK);
file             1624 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK);
file             1636 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_expbuf(struct file *file, void *priv,
file             1649 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_streamon(struct file *file, void *priv,
file             1662 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_streamoff(struct file *file, void *priv,
file             2234 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_s_parm(struct file *file, void *priv,
file             2251 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_g_parm(struct file *file, void *priv,
file             2268 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int vidioc_encoder_cmd(struct file *file, void *priv,
file              345 drivers/media/platform/sh_veu.c static int sh_veu_querycap(struct file *file, void *priv,
file              363 drivers/media/platform/sh_veu.c static int sh_veu_enum_fmt_vid_cap(struct file *file, void *priv,
file              369 drivers/media/platform/sh_veu.c static int sh_veu_enum_fmt_vid_out(struct file *file, void *priv,
file              410 drivers/media/platform/sh_veu.c static int sh_veu_g_fmt_vid_out(struct file *file, void *priv,
file              416 drivers/media/platform/sh_veu.c static int sh_veu_g_fmt_vid_cap(struct file *file, void *priv,
file              485 drivers/media/platform/sh_veu.c static int sh_veu_try_fmt_vid_cap(struct file *file, void *priv,
file              495 drivers/media/platform/sh_veu.c static int sh_veu_try_fmt_vid_out(struct file *file, void *priv,
file              579 drivers/media/platform/sh_veu.c static int sh_veu_s_fmt_vid_cap(struct file *file, void *priv,
file              582 drivers/media/platform/sh_veu.c 	int ret = sh_veu_try_fmt_vid_cap(file, priv, f);
file              589 drivers/media/platform/sh_veu.c static int sh_veu_s_fmt_vid_out(struct file *file, void *priv,
file              592 drivers/media/platform/sh_veu.c 	int ret = sh_veu_try_fmt_vid_out(file, priv, f);
file              599 drivers/media/platform/sh_veu.c static int sh_veu_reqbufs(struct file *file, void *priv,
file              612 drivers/media/platform/sh_veu.c 	return v4l2_m2m_reqbufs(file, veu->m2m_ctx, reqbufs);
file              615 drivers/media/platform/sh_veu.c static int sh_veu_querybuf(struct file *file, void *priv,
file              623 drivers/media/platform/sh_veu.c 	return v4l2_m2m_querybuf(file, veu_file->veu_dev->m2m_ctx, buf);
file              626 drivers/media/platform/sh_veu.c static int sh_veu_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              634 drivers/media/platform/sh_veu.c 	return v4l2_m2m_qbuf(file, veu_file->veu_dev->m2m_ctx, buf);
file              637 drivers/media/platform/sh_veu.c static int sh_veu_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              645 drivers/media/platform/sh_veu.c 	return v4l2_m2m_dqbuf(file, veu_file->veu_dev->m2m_ctx, buf);
file              798 drivers/media/platform/sh_veu.c static int sh_veu_streamon(struct file *file, void *priv,
file              814 drivers/media/platform/sh_veu.c 	return v4l2_m2m_streamon(file, veu_file->veu_dev->m2m_ctx, type);
file              817 drivers/media/platform/sh_veu.c static int sh_veu_streamoff(struct file *file, void *priv,
file              825 drivers/media/platform/sh_veu.c 	return v4l2_m2m_streamoff(file, veu_file->veu_dev->m2m_ctx, type);
file              956 drivers/media/platform/sh_veu.c static int sh_veu_open(struct file *file)
file              958 drivers/media/platform/sh_veu.c 	struct sh_veu_dev *veu = video_drvdata(file);
file              965 drivers/media/platform/sh_veu.c 	v4l2_fh_init(&veu_file->fh, video_devdata(file));
file              969 drivers/media/platform/sh_veu.c 	file->private_data = veu_file;
file              979 drivers/media/platform/sh_veu.c static int sh_veu_release(struct file *file)
file              981 drivers/media/platform/sh_veu.c 	struct sh_veu_dev *veu = video_drvdata(file);
file              982 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
file             1010 drivers/media/platform/sh_veu.c static __poll_t sh_veu_poll(struct file *file,
file             1013 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
file             1015 drivers/media/platform/sh_veu.c 	return v4l2_m2m_poll(file, veu_file->veu_dev->m2m_ctx, wait);
file             1018 drivers/media/platform/sh_veu.c static int sh_veu_mmap(struct file *file, struct vm_area_struct *vma)
file             1020 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
file             1022 drivers/media/platform/sh_veu.c 	return v4l2_m2m_mmap(file, veu_file->veu_dev->m2m_ctx, vma);
file              368 drivers/media/platform/sh_vou.c static int sh_vou_querycap(struct file *file, void  *priv,
file              371 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              382 drivers/media/platform/sh_vou.c static int sh_vou_enum_fmt_vid_out(struct file *file, void  *priv,
file              385 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              397 drivers/media/platform/sh_vou.c static int sh_vou_g_fmt_vid_out(struct file *file, void *priv,
file              400 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              651 drivers/media/platform/sh_vou.c static int sh_vou_try_fmt_vid_out(struct file *file, void *priv,
file              654 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              764 drivers/media/platform/sh_vou.c static int sh_vou_s_fmt_vid_out(struct file *file, void *priv,
file              767 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              768 drivers/media/platform/sh_vou.c 	int ret = sh_vou_try_fmt_vid_out(file, priv, fmt);
file              775 drivers/media/platform/sh_vou.c static int sh_vou_enum_output(struct file *file, void *fh,
file              778 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              788 drivers/media/platform/sh_vou.c static int sh_vou_g_output(struct file *file, void *fh, unsigned int *i)
file              794 drivers/media/platform/sh_vou.c static int sh_vou_s_output(struct file *file, void *fh, unsigned int i)
file              815 drivers/media/platform/sh_vou.c static int sh_vou_s_std(struct file *file, void *priv, v4l2_std_id std_id)
file              817 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              857 drivers/media/platform/sh_vou.c static int sh_vou_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              859 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              868 drivers/media/platform/sh_vou.c static int sh_vou_log_status(struct file *file, void *priv)
file              870 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              895 drivers/media/platform/sh_vou.c static int sh_vou_g_selection(struct file *file, void *fh,
file              898 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file              923 drivers/media/platform/sh_vou.c static int sh_vou_s_selection(struct file *file, void *fh,
file              927 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file             1122 drivers/media/platform/sh_vou.c static int sh_vou_open(struct file *file)
file             1124 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file             1130 drivers/media/platform/sh_vou.c 	err = v4l2_fh_open(file);
file             1133 drivers/media/platform/sh_vou.c 	if (v4l2_fh_is_singular_file(file) &&
file             1140 drivers/media/platform/sh_vou.c 			v4l2_fh_release(file);
file             1150 drivers/media/platform/sh_vou.c static int sh_vou_release(struct file *file)
file             1152 drivers/media/platform/sh_vou.c 	struct sh_vou_device *vou_dev = video_drvdata(file);
file             1156 drivers/media/platform/sh_vou.c 	is_last = v4l2_fh_is_singular_file(file);
file             1157 drivers/media/platform/sh_vou.c 	_vb2_fop_release(file, NULL);
file              575 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_open(struct file *file)
file              577 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	struct bdisp_dev *bdisp = video_drvdata(file);
file              608 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	file->private_data = &ctx->fh;
file              647 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_release(struct file *file)
file              649 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	struct bdisp_ctx *ctx = fh_to_ctx(file->private_data);
file              684 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_querycap(struct file *file, void *fh,
file              697 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              717 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              741 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              791 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              800 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	ret = bdisp_try_fmt(file, fh, f);
file              843 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_g_selection(struct file *file, void *fh,
file              921 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_s_selection(struct file *file, void *fh,
file             1000 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file             1016 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	return v4l2_m2m_streamon(file, ctx->fh.m2m_ctx, type);
file              229 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	struct dentry		*file;
file              245 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	file = debugfs_create_regset32("registers", S_IRUGO, root,
file              247 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	if (!file) {
file              382 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_querycap(struct file *file, void *priv,
file              385 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              396 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_enum_fmt_stream(struct file *file, void *priv,
file              399 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              410 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_enum_fmt_frame(struct file *file, void *priv,
file              413 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              424 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_g_fmt_stream(struct file *file, void *fh,
file              427 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              453 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_g_fmt_frame(struct file *file, void *fh, struct v4l2_format *f)
file              455 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              491 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_try_fmt_stream(struct file *file, void *priv,
file              494 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              545 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_try_fmt_frame(struct file *file, void *priv,
file              548 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              605 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_s_fmt_stream(struct file *file, void *fh,
file              608 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              614 drivers/media/platform/sti/delta/delta-v4l2.c 	ret = delta_try_fmt_stream(file, fh, f);
file              642 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_s_fmt_frame(struct file *file, void *fh, struct v4l2_format *f)
file              644 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              667 drivers/media/platform/sti/delta/delta-v4l2.c 		ret = delta_try_fmt_frame(file, fh, f);
file              721 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_g_selection(struct file *file, void *fh,
file              790 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_try_decoder_cmd(struct file *file, void *fh,
file              866 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_decoder_cmd(struct file *file, void *fh,
file              872 drivers/media/platform/sti/delta/delta-v4l2.c 	ret = delta_try_decoder_cmd(file, fh, cmd);
file             1625 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_open(struct file *file)
file             1627 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_dev *delta = video_drvdata(file);
file             1640 drivers/media/platform/sti/delta/delta-v4l2.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             1641 drivers/media/platform/sti/delta/delta-v4l2.c 	file->private_data = &ctx->fh;
file             1698 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_release(struct file *file)
file             1700 drivers/media/platform/sti/delta/delta-v4l2.c 	struct delta_ctx *ctx = to_ctx(file->private_data);
file              254 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_querycap(struct file *file, void *priv,
file              257 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              268 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_enum_fmt_stream(struct file *file, void *priv,
file              271 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              282 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_enum_fmt_frame(struct file *file, void *priv,
file              285 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              296 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_g_fmt_stream(struct file *file, void *fh, struct v4l2_format *f)
file              298 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              315 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_g_fmt_frame(struct file *file, void *fh, struct v4l2_format *f)
file              317 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              335 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_try_fmt_stream(struct file *file, void *priv,
file              338 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              399 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_try_fmt_frame(struct file *file, void *priv,
file              402 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              450 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_s_fmt_stream(struct file *file, void *fh, struct v4l2_format *f)
file              452 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              457 drivers/media/platform/sti/hva/hva-v4l2.c 	ret = hva_try_fmt_stream(file, fh, f);
file              480 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_s_fmt_frame(struct file *file, void *fh, struct v4l2_format *f)
file              482 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              488 drivers/media/platform/sti/hva/hva-v4l2.c 	ret = hva_try_fmt_frame(file, fh, f);
file              518 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_g_parm(struct file *file, void *fh, struct v4l2_streamparm *sp)
file              520 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              534 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_s_parm(struct file *file, void *fh, struct v4l2_streamparm *sp)
file              536 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              544 drivers/media/platform/sti/hva/hva-v4l2.c 		return hva_g_parm(file, fh, sp);
file              554 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
file              556 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              584 drivers/media/platform/sti/hva/hva-v4l2.c 	return v4l2_m2m_qbuf(file, ctx->fh.m2m_ctx, buf);
file             1163 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_open(struct file *file)
file             1165 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_dev *hva = video_drvdata(file);
file             1178 drivers/media/platform/sti/hva/hva-v4l2.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             1179 drivers/media/platform/sti/hva/hva-v4l2.c 	file->private_data = &ctx->fh;
file             1231 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_release(struct file *file)
file             1233 drivers/media/platform/sti/hva/hva-v4l2.c 	struct hva_ctx *ctx = fh_to_ctx(file->private_data);
file              912 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_g_fmt_vid_cap(struct file *file, void *priv,
file              915 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1099 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_s_fmt_vid_cap(struct file *file, void *priv,
file             1102 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1110 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_try_fmt_vid_cap(struct file *file, void *priv,
file             1113 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1118 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1121 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1239 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_g_selection(struct file *file, void *fh,
file             1242 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1269 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_s_selection(struct file *file, void *priv,
file             1272 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1320 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_querycap(struct file *file, void *priv,
file             1330 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_enum_input(struct file *file, void *priv,
file             1341 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_g_input(struct file *file, void *priv, unsigned int *i)
file             1347 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_s_input(struct file *file, void *priv, unsigned int i)
file             1354 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_enum_framesizes(struct file *file, void *fh,
file             1357 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1383 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_g_parm(struct file *file, void *priv,
file             1386 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1388 drivers/media/platform/stm32/stm32-dcmi.c 	return v4l2_g_parm_cap(video_devdata(file), dcmi->entity.source, p);
file             1391 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_s_parm(struct file *file, void *priv,
file             1394 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1396 drivers/media/platform/stm32/stm32-dcmi.c 	return v4l2_s_parm_cap(video_devdata(file), dcmi->entity.source, p);
file             1399 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_enum_frameintervals(struct file *file, void *fh,
file             1402 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1435 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_open(struct file *file)
file             1437 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1444 drivers/media/platform/stm32/stm32-dcmi.c 	ret = v4l2_fh_open(file);
file             1448 drivers/media/platform/stm32/stm32-dcmi.c 	if (!v4l2_fh_is_singular_file(file))
file             1460 drivers/media/platform/stm32/stm32-dcmi.c 		v4l2_fh_release(file);
file             1466 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_release(struct file *file)
file             1468 drivers/media/platform/stm32/stm32-dcmi.c 	struct stm32_dcmi *dcmi = video_drvdata(file);
file             1475 drivers/media/platform/stm32/stm32-dcmi.c 	fh_singular = v4l2_fh_is_singular_file(file);
file             1477 drivers/media/platform/stm32/stm32-dcmi.c 	ret = _vb2_fop_release(file, NULL);
file               53 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_querycap(struct file *file, void *priv,
file               56 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file               66 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_enum_input(struct file *file, void *priv,
file               78 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_g_input(struct file *file, void *fh,
file               86 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_s_input(struct file *file, void *fh,
file              139 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_try_fmt_vid_cap(struct file *file, void *priv,
file              142 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file              149 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_s_fmt_vid_cap(struct file *file, void *priv,
file              152 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file              160 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_g_fmt_vid_cap(struct file *file, void *priv,
file              163 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file              170 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_enum_fmt_vid_cap(struct file *file, void *priv,
file              204 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_open(struct file *file)
file              206 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file              221 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	ret = v4l2_fh_open(file);
file              239 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_release(struct file *file)
file              241 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = video_drvdata(file);
file              245 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	v4l2_fh_release(file);
file              314 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_querycap(struct file *file, void *priv,
file              317 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              327 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              340 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              343 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              390 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              393 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              401 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              404 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              409 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_enum_input(struct file *file, void *fh,
file              421 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *i)
file              428 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int vidioc_s_input(struct file *file, void *fh, unsigned int i)
file              465 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int sun6i_video_open(struct file *file)
file              467 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              473 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = v4l2_fh_open(file);
file              482 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (!v4l2_fh_is_singular_file(file))
file              493 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	v4l2_fh_release(file);
file              499 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int sun6i_video_close(struct file *file)
file              501 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
file              506 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	last_fh = v4l2_fh_is_singular_file(file);
file              508 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	_vb2_fop_release(file, NULL);
file              904 drivers/media/platform/ti-vpe/cal.c static int cal_querycap(struct file *file, void *priv,
file              907 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file              917 drivers/media/platform/ti-vpe/cal.c static int cal_enum_fmt_vid_cap(struct file *file, void  *priv,
file              920 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1000 drivers/media/platform/ti-vpe/cal.c static int cal_g_fmt_vid_cap(struct file *file, void *priv,
file             1003 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1010 drivers/media/platform/ti-vpe/cal.c static int cal_try_fmt_vid_cap(struct file *file, void *priv,
file             1013 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1069 drivers/media/platform/ti-vpe/cal.c static int cal_s_fmt_vid_cap(struct file *file, void *priv,
file             1072 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1083 drivers/media/platform/ti-vpe/cal.c 	ret = cal_try_fmt_vid_cap(file, priv, f);
file             1114 drivers/media/platform/ti-vpe/cal.c static int cal_enum_framesizes(struct file *file, void *fh,
file             1117 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1149 drivers/media/platform/ti-vpe/cal.c static int cal_enum_input(struct file *file, void *priv,
file             1160 drivers/media/platform/ti-vpe/cal.c static int cal_g_input(struct file *file, void *priv, unsigned int *i)
file             1162 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1168 drivers/media/platform/ti-vpe/cal.c static int cal_s_input(struct file *file, void *priv, unsigned int i)
file             1170 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file             1180 drivers/media/platform/ti-vpe/cal.c static int cal_enum_frameintervals(struct file *file, void *priv,
file             1183 drivers/media/platform/ti-vpe/cal.c 	struct cal_ctx *ctx = video_drvdata(file);
file              911 drivers/media/platform/ti-vpe/vpe.c static struct vpe_ctx *file2ctx(struct file *file)
file              913 drivers/media/platform/ti-vpe/vpe.c 	return container_of(file->private_data, struct vpe_ctx, fh);
file             1491 drivers/media/platform/ti-vpe/vpe.c static int vpe_querycap(struct file *file, void *priv,
file             1524 drivers/media/platform/ti-vpe/vpe.c static int vpe_enum_fmt(struct file *file, void *priv,
file             1533 drivers/media/platform/ti-vpe/vpe.c static int vpe_g_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1536 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file             1698 drivers/media/platform/ti-vpe/vpe.c static int vpe_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1700 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file             1770 drivers/media/platform/ti-vpe/vpe.c static int vpe_s_fmt(struct file *file, void *priv, struct v4l2_format *f)
file             1773 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file             1775 drivers/media/platform/ti-vpe/vpe.c 	ret = vpe_try_fmt(file, priv, f);
file             1855 drivers/media/platform/ti-vpe/vpe.c static int vpe_g_selection(struct file *file, void *fh,
file             1858 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file             1916 drivers/media/platform/ti-vpe/vpe.c static int vpe_s_selection(struct file *file, void *fh,
file             1919 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file             2241 drivers/media/platform/ti-vpe/vpe.c static int vpe_open(struct file *file)
file             2243 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_dev *dev = video_drvdata(file);
file             2281 drivers/media/platform/ti-vpe/vpe.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             2282 drivers/media/platform/ti-vpe/vpe.c 	file->private_data = &ctx->fh;
file             2364 drivers/media/platform/ti-vpe/vpe.c static int vpe_release(struct file *file)
file             2366 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_dev *dev = video_drvdata(file);
file             2367 drivers/media/platform/ti-vpe/vpe.c 	struct vpe_ctx *ctx = file2ctx(file);
file              687 drivers/media/platform/via-camera.c static int viacam_open(struct file *filp)
file              715 drivers/media/platform/via-camera.c static int viacam_release(struct file *filp)
file              752 drivers/media/platform/via-camera.c static int viacam_enum_input(struct file *filp, void *priv,
file              763 drivers/media/platform/via-camera.c static int viacam_g_input(struct file *filp, void *priv, unsigned int *i)
file              769 drivers/media/platform/via-camera.c static int viacam_s_input(struct file *filp, void *priv, unsigned int i)
file              792 drivers/media/platform/via-camera.c static int viacam_enum_fmt_vid_cap(struct file *filp, void *priv,
file              863 drivers/media/platform/via-camera.c static int viacam_try_fmt_vid_cap(struct file *filp, void *priv,
file              873 drivers/media/platform/via-camera.c static int viacam_g_fmt_vid_cap(struct file *filp, void *priv,
file              882 drivers/media/platform/via-camera.c static int viacam_s_fmt_vid_cap(struct file *filp, void *priv,
file              915 drivers/media/platform/via-camera.c static int viacam_querycap(struct file *filp, void *priv,
file              926 drivers/media/platform/via-camera.c static int viacam_g_parm(struct file *filp, void *priv,
file              934 drivers/media/platform/via-camera.c static int viacam_s_parm(struct file *filp, void *priv,
file              942 drivers/media/platform/via-camera.c static int viacam_enum_framesizes(struct file *filp, void *priv,
file              963 drivers/media/platform/via-camera.c static int viacam_enum_frameintervals(struct file *filp, void *priv,
file              148 drivers/media/platform/vicodec/vicodec-core.c static inline struct vicodec_ctx *file2ctx(struct file *file)
file              150 drivers/media/platform/vicodec/vicodec-core.c 	return container_of(file->private_data, struct vicodec_ctx, fh);
file              704 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_querycap(struct file *file, void *priv,
file              752 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              755 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file              760 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              763 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file              829 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_g_fmt_vid_out(struct file *file, void *priv,
file              832 drivers/media/platform/vicodec/vicodec-core.c 	return vidioc_g_fmt(file2ctx(file), f);
file              835 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              838 drivers/media/platform/vicodec/vicodec-core.c 	return vidioc_g_fmt(file2ctx(file), f);
file              904 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              907 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file              941 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              944 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1057 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1062 drivers/media/platform/vicodec/vicodec-core.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file             1066 drivers/media/platform/vicodec/vicodec-core.c 	return vidioc_s_fmt(file2ctx(file), f);
file             1069 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file             1072 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1084 drivers/media/platform/vicodec/vicodec-core.c 	ret = vidioc_try_fmt_vid_out(file, priv, f);
file             1114 drivers/media/platform/vicodec/vicodec-core.c 	ret = vidioc_s_fmt(file2ctx(file), f);
file             1146 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_g_selection(struct file *file, void *priv,
file             1149 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1195 drivers/media/platform/vicodec/vicodec-core.c static int vidioc_s_selection(struct file *file, void *priv,
file             1198 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1257 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_encoder_cmd(struct file *file, void *fh,
file             1260 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1263 drivers/media/platform/vicodec/vicodec-core.c 	ret = v4l2_m2m_ioctl_try_encoder_cmd(file, fh, ec);
file             1285 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_decoder_cmd(struct file *file, void *fh,
file             1288 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file             1291 drivers/media/platform/vicodec/vicodec-core.c 	ret = v4l2_m2m_ioctl_try_decoder_cmd(file, fh, dc);
file             1313 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_enum_framesizes(struct file *file, void *fh,
file             1883 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_open(struct file *file)
file             1886 drivers/media/platform/vicodec/vicodec-core.c 	struct video_device *vfd = video_devdata(file);
file             1887 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_dev *dev = video_drvdata(file);
file             1907 drivers/media/platform/vicodec/vicodec-core.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             1908 drivers/media/platform/vicodec/vicodec-core.c 	file->private_data = &ctx->fh;
file             1994 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_release(struct file *file)
file             1996 drivers/media/platform/vicodec/vicodec-core.c 	struct video_device *vfd = video_devdata(file);
file             1997 drivers/media/platform/vicodec/vicodec-core.c 	struct vicodec_ctx *ctx = file2ctx(file);
file              236 drivers/media/platform/vim2m.c static inline struct vim2m_ctx *file2ctx(struct file *file)
file              238 drivers/media/platform/vim2m.c 	return container_of(file->private_data, struct vim2m_ctx, fh);
file              659 drivers/media/platform/vim2m.c static int vidioc_querycap(struct file *file, void *priv,
file              700 drivers/media/platform/vim2m.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              706 drivers/media/platform/vim2m.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              712 drivers/media/platform/vim2m.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file              760 drivers/media/platform/vim2m.c static int vidioc_g_fmt_vid_out(struct file *file, void *priv,
file              763 drivers/media/platform/vim2m.c 	return vidioc_g_fmt(file2ctx(file), f);
file              766 drivers/media/platform/vim2m.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              769 drivers/media/platform/vim2m.c 	return vidioc_g_fmt(file2ctx(file), f);
file              799 drivers/media/platform/vim2m.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              803 drivers/media/platform/vim2m.c 	struct vim2m_ctx *ctx = file2ctx(file);
file              824 drivers/media/platform/vim2m.c static int vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              828 drivers/media/platform/vim2m.c 	struct vim2m_ctx *ctx = file2ctx(file);
file              883 drivers/media/platform/vim2m.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              888 drivers/media/platform/vim2m.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file              892 drivers/media/platform/vim2m.c 	return vidioc_s_fmt(file2ctx(file), f);
file              895 drivers/media/platform/vim2m.c static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file              898 drivers/media/platform/vim2m.c 	struct vim2m_ctx *ctx = file2ctx(file);
file              901 drivers/media/platform/vim2m.c 	ret = vidioc_try_fmt_vid_out(file, priv, f);
file              905 drivers/media/platform/vim2m.c 	ret = vidioc_s_fmt(file2ctx(file), f);
file             1181 drivers/media/platform/vim2m.c static int vim2m_open(struct file *file)
file             1183 drivers/media/platform/vim2m.c 	struct vim2m_dev *dev = video_drvdata(file);
file             1196 drivers/media/platform/vim2m.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file             1197 drivers/media/platform/vim2m.c 	file->private_data = &ctx->fh;
file             1252 drivers/media/platform/vim2m.c static int vim2m_release(struct file *file)
file             1254 drivers/media/platform/vim2m.c 	struct vim2m_dev *dev = video_drvdata(file);
file             1255 drivers/media/platform/vim2m.c 	struct vim2m_ctx *ctx = file2ctx(file);
file               60 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_querycap(struct file *file, void *priv,
file               80 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_g_fmt_vid_cap(struct file *file, void *priv,
file               83 drivers/media/platform/vimc/vimc-capture.c 	struct vimc_cap_device *vcap = video_drvdata(file);
file               90 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_try_fmt_vid_cap(struct file *file, void *priv,
file              119 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_s_fmt_vid_cap(struct file *file, void *priv,
file              122 drivers/media/platform/vimc/vimc-capture.c 	struct vimc_cap_device *vcap = video_drvdata(file);
file              129 drivers/media/platform/vimc/vimc-capture.c 	ret = vimc_cap_try_fmt_vid_cap(file, priv, f);
file              152 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_enum_fmt_vid_cap(struct file *file, void *priv,
file              165 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_enum_framesizes(struct file *file, void *fh,
file              195 drivers/media/platform/vivid/vivid-core.c static int vidioc_querycap(struct file *file, void  *priv,
file              198 drivers/media/platform/vivid/vivid-core.c 	struct vivid_dev *dev = video_drvdata(file);
file              212 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a)
file              214 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              217 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_rx_s_hw_freq_seek(file, fh, a);
file              221 drivers/media/platform/vivid/vivid-core.c static int vidioc_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band)
file              223 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              226 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_rx_enum_freq_bands(file, fh, band);
file              228 drivers/media/platform/vivid/vivid-core.c 		return vivid_sdr_enum_freq_bands(file, fh, band);
file              232 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file              234 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              237 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_rx_g_tuner(file, fh, vt);
file              239 drivers/media/platform/vivid/vivid-core.c 		return vivid_sdr_g_tuner(file, fh, vt);
file              240 drivers/media/platform/vivid/vivid-core.c 	return vivid_video_g_tuner(file, fh, vt);
file              243 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file              245 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              248 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_rx_s_tuner(file, fh, vt);
file              250 drivers/media/platform/vivid/vivid-core.c 		return vivid_sdr_s_tuner(file, fh, vt);
file              251 drivers/media/platform/vivid/vivid-core.c 	return vivid_video_s_tuner(file, fh, vt);
file              254 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf)
file              256 drivers/media/platform/vivid/vivid-core.c 	struct vivid_dev *dev = video_drvdata(file);
file              257 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              260 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_g_frequency(file,
file              264 drivers/media/platform/vivid/vivid-core.c 		return vivid_sdr_g_frequency(file, fh, vf);
file              265 drivers/media/platform/vivid/vivid-core.c 	return vivid_video_g_frequency(file, fh, vf);
file              268 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf)
file              270 drivers/media/platform/vivid/vivid-core.c 	struct vivid_dev *dev = video_drvdata(file);
file              271 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              274 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_s_frequency(file,
file              278 drivers/media/platform/vivid/vivid-core.c 		return vivid_sdr_s_frequency(file, fh, vf);
file              279 drivers/media/platform/vivid/vivid-core.c 	return vivid_video_s_frequency(file, fh, vf);
file              282 drivers/media/platform/vivid/vivid-core.c static int vidioc_overlay(struct file *file, void *fh, unsigned i)
file              284 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              287 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_overlay(file, fh, i);
file              288 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_overlay(file, fh, i);
file              291 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *a)
file              293 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              296 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_g_fbuf(file, fh, a);
file              297 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_g_fbuf(file, fh, a);
file              300 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *a)
file              302 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              305 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_s_fbuf(file, fh, a);
file              306 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_s_fbuf(file, fh, a);
file              309 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_std(struct file *file, void *fh, v4l2_std_id id)
file              311 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              314 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_s_std(file, fh, id);
file              315 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_s_std(file, fh, id);
file              318 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_dv_timings(struct file *file, void *fh, struct v4l2_dv_timings *timings)
file              320 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              323 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_s_dv_timings(file, fh, timings);
file              324 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_s_dv_timings(file, fh, timings);
file              327 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_pixelaspect(struct file *file, void *fh,
file              330 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              333 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_g_pixelaspect(file, fh, type, f);
file              334 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_g_pixelaspect(file, fh, type, f);
file              337 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_selection(struct file *file, void *fh,
file              340 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              343 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_g_selection(file, fh, sel);
file              344 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_g_selection(file, fh, sel);
file              347 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_selection(struct file *file, void *fh,
file              350 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              353 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_s_selection(file, fh, sel);
file              354 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_s_selection(file, fh, sel);
file              357 drivers/media/platform/vivid/vivid-core.c static int vidioc_g_parm(struct file *file, void *fh,
file              360 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              363 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_g_parm(file, fh, parm);
file              364 drivers/media/platform/vivid/vivid-core.c 	return vivid_vid_out_g_parm(file, fh, parm);
file              367 drivers/media/platform/vivid/vivid-core.c static int vidioc_s_parm(struct file *file, void *fh,
file              370 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              373 drivers/media/platform/vivid/vivid-core.c 		return vivid_vid_cap_s_parm(file, fh, parm);
file              377 drivers/media/platform/vivid/vivid-core.c static int vidioc_log_status(struct file *file, void *fh)
file              379 drivers/media/platform/vivid/vivid-core.c 	struct vivid_dev *dev = video_drvdata(file);
file              380 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              382 drivers/media/platform/vivid/vivid-core.c 	v4l2_ctrl_log_status(file, fh);
file              388 drivers/media/platform/vivid/vivid-core.c static ssize_t vivid_radio_read(struct file *file, char __user *buf,
file              391 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              395 drivers/media/platform/vivid/vivid-core.c 	return vivid_radio_rx_read(file, buf, size, offset);
file              398 drivers/media/platform/vivid/vivid-core.c static ssize_t vivid_radio_write(struct file *file, const char __user *buf,
file              401 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              405 drivers/media/platform/vivid/vivid-core.c 	return vivid_radio_tx_write(file, buf, size, offset);
file              408 drivers/media/platform/vivid/vivid-core.c static __poll_t vivid_radio_poll(struct file *file, struct poll_table_struct *wait)
file              410 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              413 drivers/media/platform/vivid/vivid-core.c 		return vivid_radio_rx_poll(file, wait);
file              414 drivers/media/platform/vivid/vivid-core.c 	return vivid_radio_tx_poll(file, wait);
file              441 drivers/media/platform/vivid/vivid-core.c static int vivid_fop_release(struct file *file)
file              443 drivers/media/platform/vivid/vivid-core.c 	struct vivid_dev *dev = video_drvdata(file);
file              444 drivers/media/platform/vivid/vivid-core.c 	struct video_device *vdev = video_devdata(file);
file              447 drivers/media/platform/vivid/vivid-core.c 	if (!no_error_inj && v4l2_fh_is_singular_file(file) &&
file              464 drivers/media/platform/vivid/vivid-core.c 	if (file->private_data == dev->overlay_cap_owner)
file              466 drivers/media/platform/vivid/vivid-core.c 	if (file->private_data == dev->radio_rx_rds_owner) {
file              470 drivers/media/platform/vivid/vivid-core.c 	if (file->private_data == dev->radio_tx_rds_owner) {
file              475 drivers/media/platform/vivid/vivid-core.c 		return vb2_fop_release(file);
file              476 drivers/media/platform/vivid/vivid-core.c 	return v4l2_fh_release(file);
file              141 drivers/media/platform/vivid/vivid-radio-common.c int vivid_radio_g_frequency(struct file *file, const unsigned *pfreq, struct v4l2_frequency *vf)
file              149 drivers/media/platform/vivid/vivid-radio-common.c int vivid_radio_s_frequency(struct file *file, unsigned *pfreq, const struct v4l2_frequency *vf)
file              151 drivers/media/platform/vivid/vivid-radio-common.c 	struct vivid_dev *dev = video_drvdata(file);
file               23 drivers/media/platform/vivid/vivid-radio-common.h int vivid_radio_g_frequency(struct file *file, const unsigned *freq, struct v4l2_frequency *vf);
file               24 drivers/media/platform/vivid/vivid-radio-common.h int vivid_radio_s_frequency(struct file *file, unsigned *freq, const struct v4l2_frequency *vf);
file               25 drivers/media/platform/vivid/vivid-radio-rx.c ssize_t vivid_radio_rx_read(struct file *file, char __user *buf,
file               28 drivers/media/platform/vivid/vivid-radio-rx.c 	struct vivid_dev *dev = video_drvdata(file);
file               45 drivers/media/platform/vivid/vivid-radio-rx.c 	    file->private_data != dev->radio_rx_rds_owner) {
file               51 drivers/media/platform/vivid/vivid-radio-rx.c 		dev->radio_rx_rds_owner = file->private_data;
file               78 drivers/media/platform/vivid/vivid-radio-rx.c 		if (file->f_flags & O_NONBLOCK)
file              131 drivers/media/platform/vivid/vivid-radio-rx.c __poll_t vivid_radio_rx_poll(struct file *file, struct poll_table_struct *wait)
file              133 drivers/media/platform/vivid/vivid-radio-rx.c 	return EPOLLIN | EPOLLRDNORM | v4l2_ctrl_poll(file, wait);
file              136 drivers/media/platform/vivid/vivid-radio-rx.c int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band)
file              148 drivers/media/platform/vivid/vivid-radio-rx.c int vivid_radio_rx_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a)
file              150 drivers/media/platform/vivid/vivid-radio-rx.c 	struct vivid_dev *dev = video_drvdata(file);
file              166 drivers/media/platform/vivid/vivid-radio-rx.c 	if (file->f_flags & O_NONBLOCK)
file              217 drivers/media/platform/vivid/vivid-radio-rx.c int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file              219 drivers/media/platform/vivid/vivid-radio-rx.c 	struct vivid_dev *dev = video_drvdata(file);
file              270 drivers/media/platform/vivid/vivid-radio-rx.c int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file              272 drivers/media/platform/vivid/vivid-radio-rx.c 	struct vivid_dev *dev = video_drvdata(file);
file               11 drivers/media/platform/vivid/vivid-radio-rx.h ssize_t vivid_radio_rx_read(struct file *, char __user *, size_t, loff_t *);
file               12 drivers/media/platform/vivid/vivid-radio-rx.h __poll_t vivid_radio_rx_poll(struct file *file, struct poll_table_struct *wait);
file               14 drivers/media/platform/vivid/vivid-radio-rx.h int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
file               15 drivers/media/platform/vivid/vivid-radio-rx.h int vivid_radio_rx_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a);
file               16 drivers/media/platform/vivid/vivid-radio-rx.h int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
file               17 drivers/media/platform/vivid/vivid-radio-rx.h int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
file               23 drivers/media/platform/vivid/vivid-radio-tx.c ssize_t vivid_radio_tx_write(struct file *file, const char __user *buf,
file               26 drivers/media/platform/vivid/vivid-radio-tx.c 	struct vivid_dev *dev = video_drvdata(file);
file               42 drivers/media/platform/vivid/vivid-radio-tx.c 	    file->private_data != dev->radio_tx_rds_owner) {
file               46 drivers/media/platform/vivid/vivid-radio-tx.c 	dev->radio_tx_rds_owner = file->private_data;
file               63 drivers/media/platform/vivid/vivid-radio-tx.c 		if (file->f_flags & O_NONBLOCK)
file               94 drivers/media/platform/vivid/vivid-radio-tx.c __poll_t vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait)
file               96 drivers/media/platform/vivid/vivid-radio-tx.c 	return EPOLLOUT | EPOLLWRNORM | v4l2_ctrl_poll(file, wait);
file               99 drivers/media/platform/vivid/vivid-radio-tx.c int vidioc_g_modulator(struct file *file, void *fh, struct v4l2_modulator *a)
file              101 drivers/media/platform/vivid/vivid-radio-tx.c 	struct vivid_dev *dev = video_drvdata(file);
file              118 drivers/media/platform/vivid/vivid-radio-tx.c int vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a)
file              120 drivers/media/platform/vivid/vivid-radio-tx.c 	struct vivid_dev *dev = video_drvdata(file);
file               11 drivers/media/platform/vivid/vivid-radio-tx.h ssize_t vivid_radio_tx_write(struct file *, const char __user *, size_t, loff_t *);
file               12 drivers/media/platform/vivid/vivid-radio-tx.h __poll_t vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait);
file               14 drivers/media/platform/vivid/vivid-radio-tx.h int vidioc_g_modulator(struct file *file, void *fh, struct v4l2_modulator *a);
file               15 drivers/media/platform/vivid/vivid-radio-tx.h int vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a);
file              332 drivers/media/platform/vivid/vivid-sdr-cap.c int vivid_sdr_enum_freq_bands(struct file *file, void *fh,
file              351 drivers/media/platform/vivid/vivid-sdr-cap.c int vivid_sdr_g_frequency(struct file *file, void *fh,
file              354 drivers/media/platform/vivid/vivid-sdr-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              370 drivers/media/platform/vivid/vivid-sdr-cap.c int vivid_sdr_s_frequency(struct file *file, void *fh,
file              373 drivers/media/platform/vivid/vivid-sdr-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              411 drivers/media/platform/vivid/vivid-sdr-cap.c int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file              435 drivers/media/platform/vivid/vivid-sdr-cap.c int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file              442 drivers/media/platform/vivid/vivid-sdr-cap.c int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              450 drivers/media/platform/vivid/vivid-sdr-cap.c int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f)
file              452 drivers/media/platform/vivid/vivid-sdr-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              460 drivers/media/platform/vivid/vivid-sdr-cap.c int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f)
file              462 drivers/media/platform/vivid/vivid-sdr-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              485 drivers/media/platform/vivid/vivid-sdr-cap.c int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f)
file               11 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
file               12 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
file               13 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
file               14 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
file               15 drivers/media/platform/vivid/vivid-sdr-cap.h int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
file               16 drivers/media/platform/vivid/vivid-sdr-cap.h int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f);
file               17 drivers/media/platform/vivid/vivid-sdr-cap.h int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
file               18 drivers/media/platform/vivid/vivid-sdr-cap.h int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
file               19 drivers/media/platform/vivid/vivid-sdr-cap.h int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
file              237 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
file              240 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              250 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_s_fmt_vbi_cap(struct file *file, void *priv,
file              253 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              254 drivers/media/platform/vivid/vivid-vbi-cap.c 	int ret = vidioc_g_fmt_vbi_cap(file, priv, f);
file              289 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              291 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              301 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              303 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              317 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt)
file              319 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              321 drivers/media/platform/vivid/vivid-vbi-cap.c 	int ret = vidioc_try_fmt_sliced_vbi_cap(file, fh, fmt);
file              333 drivers/media/platform/vivid/vivid-vbi-cap.c int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap)
file              335 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              336 drivers/media/platform/vivid/vivid-vbi-cap.c 	struct video_device *vdev = video_devdata(file);
file               15 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
file               17 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_s_fmt_vbi_cap(struct file *file, void *priv,
file               19 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
file               20 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
file               21 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
file               22 drivers/media/platform/vivid/vivid-vbi-cap.h int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap);
file              136 drivers/media/platform/vivid/vivid-vbi-out.c int vidioc_g_fmt_vbi_out(struct file *file, void *priv,
file              139 drivers/media/platform/vivid/vivid-vbi-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              159 drivers/media/platform/vivid/vivid-vbi-out.c int vidioc_s_fmt_vbi_out(struct file *file, void *priv,
file              162 drivers/media/platform/vivid/vivid-vbi-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              163 drivers/media/platform/vivid/vivid-vbi-out.c 	int ret = vidioc_g_fmt_vbi_out(file, priv, f);
file              174 drivers/media/platform/vivid/vivid-vbi-out.c int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              176 drivers/media/platform/vivid/vivid-vbi-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              186 drivers/media/platform/vivid/vivid-vbi-out.c int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)
file              188 drivers/media/platform/vivid/vivid-vbi-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              202 drivers/media/platform/vivid/vivid-vbi-out.c int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh,
file              205 drivers/media/platform/vivid/vivid-vbi-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              207 drivers/media/platform/vivid/vivid-vbi-out.c 	int ret = vidioc_try_fmt_sliced_vbi_out(file, fh, fmt);
file               12 drivers/media/platform/vivid/vivid-vbi-out.h int vidioc_g_fmt_vbi_out(struct file *file, void *priv,
file               14 drivers/media/platform/vivid/vivid-vbi-out.h int vidioc_s_fmt_vbi_out(struct file *file, void *priv,
file               16 drivers/media/platform/vivid/vivid-vbi-out.h int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
file               17 drivers/media/platform/vivid/vivid-vbi-out.h int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
file               18 drivers/media/platform/vivid/vivid-vbi-out.h int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
file              523 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_g_fmt_vid_cap(struct file *file, void *priv,
file              526 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              552 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_try_fmt_vid_cap(struct file *file, void *priv,
file              557 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              647 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_s_fmt_vid_cap(struct file *file, void *priv,
file              651 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              655 drivers/media/platform/vivid/vivid-vid-cap.c 	int ret = vivid_try_fmt_vid_cap(file, priv, f);
file              775 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv,
file              778 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              782 drivers/media/platform/vivid/vivid-vid-cap.c 	return vivid_g_fmt_vid_cap(file, priv, f);
file              785 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv,
file              788 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              792 drivers/media/platform/vivid/vivid-vid-cap.c 	return vivid_try_fmt_vid_cap(file, priv, f);
file              795 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv,
file              798 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              802 drivers/media/platform/vivid/vivid-vid-cap.c 	return vivid_s_fmt_vid_cap(file, priv, f);
file              805 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              808 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              812 drivers/media/platform/vivid/vivid-vid-cap.c 	return fmt_sp2mp_func(file, priv, f, vivid_g_fmt_vid_cap);
file              815 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              818 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              822 drivers/media/platform/vivid/vivid-vid-cap.c 	return fmt_sp2mp_func(file, priv, f, vivid_try_fmt_vid_cap);
file              825 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              828 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              832 drivers/media/platform/vivid/vivid-vid-cap.c 	return fmt_sp2mp_func(file, priv, f, vivid_s_fmt_vid_cap);
file              835 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_g_selection(struct file *file, void *priv,
file              838 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file              881 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_s_selection(struct file *file, void *fh, struct v4l2_selection *s)
file              883 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1017 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_g_pixelaspect(struct file *file, void *priv,
file             1020 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1040 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_enum_fmt_vid_overlay(struct file *file, void  *priv,
file             1043 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1058 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_g_fmt_vid_overlay(struct file *file, void *priv,
file             1061 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1092 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_try_fmt_vid_overlay(struct file *file, void *priv,
file             1095 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1150 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_fmt_vid_overlay(struct file *file, void *priv,
file             1153 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1156 drivers/media/platform/vivid/vivid-vid-cap.c 	int ret = vidioc_try_fmt_vid_overlay(file, priv, f);
file             1186 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_overlay(struct file *file, void *fh, unsigned i)
file             1188 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1207 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_g_fbuf(struct file *file, void *fh,
file             1210 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1225 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_s_fbuf(struct file *file, void *fh,
file             1228 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1270 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_enum_input(struct file *file, void *priv,
file             1273 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1339 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_g_input(struct file *file, void *priv, unsigned *i)
file             1341 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1347 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_input(struct file *file, void *priv, unsigned i)
file             1349 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1430 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin)
file             1438 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin)
file             1440 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1448 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *vin)
file             1450 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1460 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_video_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf)
file             1462 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1470 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_video_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf)
file             1472 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1482 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_video_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt)
file             1484 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1494 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_video_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt)
file             1496 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1585 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id)
file             1587 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1612 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1614 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1687 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_s_dv_timings(struct file *file, void *_fh,
file             1690 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1710 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_query_dv_timings(struct file *file, void *_fh,
file             1713 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1743 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_s_edid(struct file *file, void *_fh,
file             1746 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1800 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_enum_framesizes(struct file *file, void *fh,
file             1803 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1829 drivers/media/platform/vivid/vivid-vid-cap.c int vidioc_enum_frameintervals(struct file *file, void *priv,
file             1832 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1865 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_g_parm(struct file *file, void *priv,
file             1868 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1881 drivers/media/platform/vivid/vivid-vid-cap.c int vivid_vid_cap_s_parm(struct file *file, void *priv,
file             1884 drivers/media/platform/vivid/vivid-vid-cap.c 	struct vivid_dev *dev = video_drvdata(file);
file             1894 drivers/media/platform/vivid/vivid-vid-cap.c 		return vivid_vid_cap_g_parm(file, priv, parm);
file               20 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               21 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               22 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               23 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               24 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               25 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               26 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               27 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               28 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
file               29 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
file               30 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_s_selection(struct file *file, void *fh, struct v4l2_selection *s);
file               31 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f);
file               32 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enum_fmt_vid_overlay(struct file *file, void  *priv, struct v4l2_fmtdesc *f);
file               33 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_g_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               34 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_try_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               35 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               36 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_overlay(struct file *file, void *fh, unsigned i);
file               37 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *a);
file               38 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *a);
file               39 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp);
file               40 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_g_input(struct file *file, void *priv, unsigned *i);
file               41 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_input(struct file *file, void *priv, unsigned i);
file               42 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin);
file               43 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin);
file               44 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *vin);
file               45 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_video_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
file               46 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_video_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
file               47 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_video_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
file               48 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_video_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
file               49 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id);
file               50 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_s_std(struct file *file, void *priv, v4l2_std_id id);
file               51 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_s_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings);
file               52 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_query_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings);
file               53 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_s_edid(struct file *file, void *_fh, struct v4l2_edid *edid);
file               54 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize);
file               55 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enum_frameintervals(struct file *file, void *priv, struct v4l2_frmivalenum *fival);
file               56 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_g_parm(struct file *file, void *priv, struct v4l2_streamparm *parm);
file               57 drivers/media/platform/vivid/vivid-vid-cap.h int vivid_vid_cap_s_parm(struct file *file, void *priv, struct v4l2_streamparm *parm);
file              833 drivers/media/platform/vivid/vivid-vid-common.c int fmt_sp2mp_func(struct file *file, void *priv,
file              845 drivers/media/platform/vivid/vivid-vid-common.c 	ret = func(file, priv, &fmt);
file              910 drivers/media/platform/vivid/vivid-vid-common.c int vivid_enum_fmt_vid(struct file *file, void  *priv,
file              913 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              926 drivers/media/platform/vivid/vivid-vid-common.c int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              928 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              929 drivers/media/platform/vivid/vivid-vid-common.c 	struct video_device *vdev = video_devdata(file);
file              943 drivers/media/platform/vivid/vivid-vid-common.c int vidioc_g_dv_timings(struct file *file, void *_fh,
file              946 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              947 drivers/media/platform/vivid/vivid-vid-common.c 	struct video_device *vdev = video_devdata(file);
file              961 drivers/media/platform/vivid/vivid-vid-common.c int vidioc_enum_dv_timings(struct file *file, void *_fh,
file              964 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              965 drivers/media/platform/vivid/vivid-vid-common.c 	struct video_device *vdev = video_devdata(file);
file              978 drivers/media/platform/vivid/vivid-vid-common.c int vidioc_dv_timings_cap(struct file *file, void *_fh,
file              981 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              982 drivers/media/platform/vivid/vivid-vid-common.c 	struct video_device *vdev = video_devdata(file);
file              995 drivers/media/platform/vivid/vivid-vid-common.c int vidioc_g_edid(struct file *file, void *_fh,
file              998 drivers/media/platform/vivid/vivid-vid-common.c 	struct vivid_dev *dev = video_drvdata(file);
file              999 drivers/media/platform/vivid/vivid-vid-common.c 	struct video_device *vdev = video_devdata(file);
file               11 drivers/media/platform/vivid/vivid-vid-common.h typedef int (*fmtfunc)(struct file *file, void *priv, struct v4l2_format *f);
file               18 drivers/media/platform/vivid/vivid-vid-common.h int fmt_sp2mp_func(struct file *file, void *priv,
file               30 drivers/media/platform/vivid/vivid-vid-common.h int vivid_enum_fmt_vid(struct file *file, void  *priv, struct v4l2_fmtdesc *f);
file               31 drivers/media/platform/vivid/vivid-vid-common.h int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id);
file               32 drivers/media/platform/vivid/vivid-vid-common.h int vidioc_g_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings);
file               33 drivers/media/platform/vivid/vivid-vid-common.h int vidioc_enum_dv_timings(struct file *file, void *_fh, struct v4l2_enum_dv_timings *timings);
file               34 drivers/media/platform/vivid/vivid-vid-common.h int vidioc_dv_timings_cap(struct file *file, void *_fh, struct v4l2_dv_timings_cap *cap);
file               35 drivers/media/platform/vivid/vivid-vid-common.h int vidioc_g_edid(struct file *file, void *_fh, struct v4l2_edid *edid);
file              317 drivers/media/platform/vivid/vivid-vid-out.c int vivid_g_fmt_vid_out(struct file *file, void *priv,
file              320 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              349 drivers/media/platform/vivid/vivid-vid-out.c int vivid_try_fmt_vid_out(struct file *file, void *priv,
file              352 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              447 drivers/media/platform/vivid/vivid-vid-out.c int vivid_s_fmt_vid_out(struct file *file, void *priv,
file              451 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              455 drivers/media/platform/vivid/vivid-vid-out.c 	int ret = vivid_try_fmt_vid_out(file, priv, f);
file              575 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv,
file              578 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              582 drivers/media/platform/vivid/vivid-vid-out.c 	return vivid_g_fmt_vid_out(file, priv, f);
file              585 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv,
file              588 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              592 drivers/media/platform/vivid/vivid-vid-out.c 	return vivid_try_fmt_vid_out(file, priv, f);
file              595 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv,
file              598 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              602 drivers/media/platform/vivid/vivid-vid-out.c 	return vivid_s_fmt_vid_out(file, priv, f);
file              605 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_g_fmt_vid_out(struct file *file, void *priv,
file              608 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              612 drivers/media/platform/vivid/vivid-vid-out.c 	return fmt_sp2mp_func(file, priv, f, vivid_g_fmt_vid_out);
file              615 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_try_fmt_vid_out(struct file *file, void *priv,
file              618 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              622 drivers/media/platform/vivid/vivid-vid-out.c 	return fmt_sp2mp_func(file, priv, f, vivid_try_fmt_vid_out);
file              625 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_s_fmt_vid_out(struct file *file, void *priv,
file              628 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              632 drivers/media/platform/vivid/vivid-vid-out.c 	return fmt_sp2mp_func(file, priv, f, vivid_s_fmt_vid_out);
file              635 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_g_selection(struct file *file, void *priv,
file              638 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              679 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_s_selection(struct file *file, void *fh, struct v4l2_selection *s)
file              681 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              810 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_g_pixelaspect(struct file *file, void *priv,
file              813 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              833 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_g_fmt_vid_out_overlay(struct file *file, void *priv,
file              836 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              868 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_try_fmt_vid_out_overlay(struct file *file, void *priv,
file              871 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              926 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_s_fmt_vid_out_overlay(struct file *file, void *priv,
file              929 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              932 drivers/media/platform/vivid/vivid-vid-out.c 	int ret = vidioc_try_fmt_vid_out_overlay(file, priv, f);
file              963 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_overlay(struct file *file, void *fh, unsigned i)
file              965 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file              976 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_g_fbuf(struct file *file, void *fh,
file              979 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1005 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_s_fbuf(struct file *file, void *fh,
file             1008 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1037 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_enum_output(struct file *file, void *priv,
file             1040 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1064 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_g_output(struct file *file, void *priv, unsigned *o)
file             1066 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1072 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_s_output(struct file *file, void *priv, unsigned o)
file             1074 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1103 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout)
file             1111 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout)
file             1113 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1121 drivers/media/platform/vivid/vivid-vid-out.c int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout)
file             1123 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1133 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1135 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1159 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_s_dv_timings(struct file *file, void *_fh,
file             1162 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file             1178 drivers/media/platform/vivid/vivid-vid-out.c int vivid_vid_out_g_parm(struct file *file, void *priv,
file             1181 drivers/media/platform/vivid/vivid-vid-out.c 	struct vivid_dev *dev = video_drvdata(file);
file               15 drivers/media/platform/vivid/vivid-vid-out.h int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               16 drivers/media/platform/vivid/vivid-vid-out.h int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               17 drivers/media/platform/vivid/vivid-vid-out.h int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               18 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               19 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               20 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
file               21 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               22 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               23 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
file               24 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
file               25 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_s_selection(struct file *file, void *fh, struct v4l2_selection *s);
file               26 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f);
file               27 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_enum_fmt_vid_out_overlay(struct file *file, void  *priv, struct v4l2_fmtdesc *f);
file               28 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_g_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               29 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_try_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               30 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_s_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f);
file               31 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_overlay(struct file *file, void *fh, unsigned i);
file               32 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *a);
file               33 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *a);
file               34 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_enum_output(struct file *file, void *priv, struct v4l2_output *out);
file               35 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_g_output(struct file *file, void *priv, unsigned *i);
file               36 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_s_output(struct file *file, void *priv, unsigned i);
file               37 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout);
file               38 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout);
file               39 drivers/media/platform/vivid/vivid-vid-out.h int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout);
file               40 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_s_std(struct file *file, void *priv, v4l2_std_id id);
file               41 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_s_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings);
file               42 drivers/media/platform/vivid/vivid-vid-out.h int vivid_vid_out_g_parm(struct file *file, void *priv, struct v4l2_streamparm *parm);
file              419 drivers/media/platform/vsp1/vsp1_histo.c static int histo_v4l2_querycap(struct file *file, void *fh,
file              422 drivers/media/platform/vsp1/vsp1_histo.c 	struct v4l2_fh *vfh = file->private_data;
file              438 drivers/media/platform/vsp1/vsp1_histo.c static int histo_v4l2_enum_format(struct file *file, void *fh,
file              441 drivers/media/platform/vsp1/vsp1_histo.c 	struct v4l2_fh *vfh = file->private_data;
file              452 drivers/media/platform/vsp1/vsp1_histo.c static int histo_v4l2_get_format(struct file *file, void *fh,
file              455 drivers/media/platform/vsp1/vsp1_histo.c 	struct v4l2_fh *vfh = file->private_data;
file              950 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              952 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file              969 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_get_format(struct file *file, void *fh, struct v4l2_format *format)
file              971 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file              985 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_try_format(struct file *file, void *fh, struct v4l2_format *format)
file              987 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file              997 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_set_format(struct file *file, void *fh, struct v4l2_format *format)
file              999 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file             1027 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file             1029 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file             1035 drivers/media/platform/vsp1/vsp1_video.c 	if (video->queue.owner && video->queue.owner != file->private_data)
file             1104 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_open(struct file *file)
file             1106 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = video_drvdata(file);
file             1117 drivers/media/platform/vsp1/vsp1_video.c 	file->private_data = vfh;
file             1129 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_release(struct file *file)
file             1131 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = video_drvdata(file);
file             1132 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_fh *vfh = file->private_data;
file             1143 drivers/media/platform/vsp1/vsp1_video.c 	v4l2_fh_release(file);
file             1145 drivers/media/platform/vsp1/vsp1_video.c 	file->private_data = NULL;
file              489 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              491 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_fh *vfh = file->private_data;
file              511 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_enum_format(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              513 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_fh *vfh = file->private_data;
file              525 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_get_format(struct file *file, void *fh, struct v4l2_format *format)
file              527 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_fh *vfh = file->private_data;
file              587 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_try_format(struct file *file, void *fh, struct v4l2_format *format)
file              589 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_fh *vfh = file->private_data;
file              597 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_set_format(struct file *file, void *fh, struct v4l2_format *format)
file              599 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_fh *vfh = file->private_data;
file              163 drivers/media/radio/dsbr100.c static int vidioc_querycap(struct file *file, void *priv,
file              166 drivers/media/radio/dsbr100.c 	struct dsbr100_device *radio = video_drvdata(file);
file              174 drivers/media/radio/dsbr100.c static int vidioc_g_tuner(struct file *file, void *priv,
file              177 drivers/media/radio/dsbr100.c 	struct dsbr100_device *radio = video_drvdata(file);
file              195 drivers/media/radio/dsbr100.c static int vidioc_s_tuner(struct file *file, void *priv,
file              201 drivers/media/radio/dsbr100.c static int vidioc_s_frequency(struct file *file, void *priv,
file              204 drivers/media/radio/dsbr100.c 	struct dsbr100_device *radio = video_drvdata(file);
file              213 drivers/media/radio/dsbr100.c static int vidioc_g_frequency(struct file *file, void *priv,
file              216 drivers/media/radio/dsbr100.c 	struct dsbr100_device *radio = video_drvdata(file);
file              326 drivers/media/radio/radio-cadet.c static ssize_t cadet_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
file              328 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              337 drivers/media/radio/radio-cadet.c 	if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK))
file              354 drivers/media/radio/radio-cadet.c static int vidioc_querycap(struct file *file, void *priv,
file              363 drivers/media/radio/radio-cadet.c static int vidioc_g_tuner(struct file *file, void *priv,
file              366 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              393 drivers/media/radio/radio-cadet.c static int vidioc_s_tuner(struct file *file, void *priv,
file              399 drivers/media/radio/radio-cadet.c static int vidioc_enum_freq_bands(struct file *file, void *priv,
file              410 drivers/media/radio/radio-cadet.c static int vidioc_g_frequency(struct file *file, void *priv,
file              413 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              423 drivers/media/radio/radio-cadet.c static int vidioc_s_frequency(struct file *file, void *priv,
file              426 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              452 drivers/media/radio/radio-cadet.c static int cadet_open(struct file *file)
file              454 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              458 drivers/media/radio/radio-cadet.c 	err = v4l2_fh_open(file);
file              461 drivers/media/radio/radio-cadet.c 	if (v4l2_fh_is_singular_file(file))
file              468 drivers/media/radio/radio-cadet.c static int cadet_release(struct file *file)
file              470 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              473 drivers/media/radio/radio-cadet.c 	if (v4l2_fh_is_singular_file(file) && dev->rdsstat) {
file              477 drivers/media/radio/radio-cadet.c 	v4l2_fh_release(file);
file              482 drivers/media/radio/radio-cadet.c static __poll_t cadet_poll(struct file *file, struct poll_table_struct *wait)
file              484 drivers/media/radio/radio-cadet.c 	struct cadet *dev = video_drvdata(file);
file              486 drivers/media/radio/radio-cadet.c 	__poll_t res = v4l2_ctrl_poll(file, wait);
file              488 drivers/media/radio/radio-cadet.c 	poll_wait(file, &dev->read_queue, wait);
file               32 drivers/media/radio/radio-isa.c static int radio_isa_querycap(struct file *file, void  *priv,
file               35 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file               43 drivers/media/radio/radio-isa.c static int radio_isa_g_tuner(struct file *file, void *priv,
file               46 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file               73 drivers/media/radio/radio-isa.c static int radio_isa_s_tuner(struct file *file, void *priv,
file               76 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file               88 drivers/media/radio/radio-isa.c static int radio_isa_s_frequency(struct file *file, void *priv,
file               91 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file              104 drivers/media/radio/radio-isa.c static int radio_isa_g_frequency(struct file *file, void *priv,
file              107 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file              129 drivers/media/radio/radio-isa.c static int radio_isa_log_status(struct file *file, void *priv)
file              131 drivers/media/radio/radio-isa.c 	struct radio_isa_card *isa = video_drvdata(file);
file              163 drivers/media/radio/radio-keene.c static int vidioc_querycap(struct file *file, void *priv,
file              166 drivers/media/radio/radio-keene.c 	struct keene_device *radio = video_drvdata(file);
file              174 drivers/media/radio/radio-keene.c static int vidioc_g_modulator(struct file *file, void *priv,
file              177 drivers/media/radio/radio-keene.c 	struct keene_device *radio = video_drvdata(file);
file              190 drivers/media/radio/radio-keene.c static int vidioc_s_modulator(struct file *file, void *priv,
file              193 drivers/media/radio/radio-keene.c 	struct keene_device *radio = video_drvdata(file);
file              202 drivers/media/radio/radio-keene.c static int vidioc_s_frequency(struct file *file, void *priv,
file              205 drivers/media/radio/radio-keene.c 	struct keene_device *radio = video_drvdata(file);
file              214 drivers/media/radio/radio-keene.c static int vidioc_g_frequency(struct file *file, void *priv,
file              217 drivers/media/radio/radio-keene.c 	struct keene_device *radio = video_drvdata(file);
file              186 drivers/media/radio/radio-ma901.c static int vidioc_querycap(struct file *file, void *priv,
file              189 drivers/media/radio/radio-ma901.c 	struct ma901radio_device *radio = video_drvdata(file);
file              198 drivers/media/radio/radio-ma901.c static int vidioc_g_tuner(struct file *file, void *priv,
file              201 drivers/media/radio/radio-ma901.c 	struct ma901radio_device *radio = video_drvdata(file);
file              226 drivers/media/radio/radio-ma901.c static int vidioc_s_tuner(struct file *file, void *priv,
file              229 drivers/media/radio/radio-ma901.c 	struct ma901radio_device *radio = video_drvdata(file);
file              244 drivers/media/radio/radio-ma901.c static int vidioc_s_frequency(struct file *file, void *priv,
file              247 drivers/media/radio/radio-ma901.c 	struct ma901radio_device *radio = video_drvdata(file);
file              257 drivers/media/radio/radio-ma901.c static int vidioc_g_frequency(struct file *file, void *priv,
file              260 drivers/media/radio/radio-ma901.c 	struct ma901radio_device *radio = video_drvdata(file);
file              199 drivers/media/radio/radio-miropcm20.c static int vidioc_querycap(struct file *file, void *priv,
file              202 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              224 drivers/media/radio/radio-miropcm20.c static int vidioc_g_tuner(struct file *file, void *priv,
file              227 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              253 drivers/media/radio/radio-miropcm20.c static int vidioc_s_tuner(struct file *file, void *priv,
file              256 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              269 drivers/media/radio/radio-miropcm20.c static int vidioc_g_frequency(struct file *file, void *priv,
file              272 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              283 drivers/media/radio/radio-miropcm20.c static int vidioc_s_frequency(struct file *file, void *priv,
file              286 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              380 drivers/media/radio/radio-miropcm20.c static int pcm20_open(struct file *file)
file              382 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              383 drivers/media/radio/radio-miropcm20.c 	int res = v4l2_fh_open(file);
file              385 drivers/media/radio/radio-miropcm20.c 	if (!res && v4l2_fh_is_singular_file(file) &&
file              391 drivers/media/radio/radio-miropcm20.c 			v4l2_fh_release(file);
file              398 drivers/media/radio/radio-miropcm20.c static int pcm20_release(struct file *file)
file              400 drivers/media/radio/radio-miropcm20.c 	struct pcm20 *dev = video_drvdata(file);
file              402 drivers/media/radio/radio-miropcm20.c 	if (v4l2_fh_is_singular_file(file) && !IS_ERR_OR_NULL(dev->kthread)) {
file              406 drivers/media/radio/radio-miropcm20.c 	return v4l2_fh_release(file);
file              255 drivers/media/radio/radio-mr800.c static int vidioc_querycap(struct file *file, void *priv,
file              258 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              267 drivers/media/radio/radio-mr800.c static int vidioc_g_tuner(struct file *file, void *priv,
file              270 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              295 drivers/media/radio/radio-mr800.c static int vidioc_s_tuner(struct file *file, void *priv,
file              298 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              313 drivers/media/radio/radio-mr800.c static int vidioc_s_frequency(struct file *file, void *priv,
file              316 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              324 drivers/media/radio/radio-mr800.c static int vidioc_g_frequency(struct file *file, void *priv,
file              327 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              337 drivers/media/radio/radio-mr800.c static int vidioc_s_hw_freq_seek(struct file *file, void *priv,
file              343 drivers/media/radio/radio-mr800.c 	struct amradio_device *radio = video_drvdata(file);
file              350 drivers/media/radio/radio-mr800.c 	if (file->f_flags & O_NONBLOCK)
file              179 drivers/media/radio/radio-raremono.c static int vidioc_querycap(struct file *file, void *priv,
file              182 drivers/media/radio/radio-raremono.c 	struct raremono_device *radio = video_drvdata(file);
file              190 drivers/media/radio/radio-raremono.c static int vidioc_enum_freq_bands(struct file *file, void *priv,
file              204 drivers/media/radio/radio-raremono.c static int vidioc_g_tuner(struct file *file, void *priv,
file              207 drivers/media/radio/radio-raremono.c 	struct raremono_device *radio = video_drvdata(file);
file              233 drivers/media/radio/radio-raremono.c static int vidioc_s_tuner(struct file *file, void *priv,
file              239 drivers/media/radio/radio-raremono.c static int vidioc_s_frequency(struct file *file, void *priv,
file              242 drivers/media/radio/radio-raremono.c 	struct raremono_device *radio = video_drvdata(file);
file              260 drivers/media/radio/radio-raremono.c static int vidioc_g_frequency(struct file *file, void *priv,
file              263 drivers/media/radio/radio-raremono.c 	struct raremono_device *radio = video_drvdata(file);
file              130 drivers/media/radio/radio-sf16fmi.c static int vidioc_querycap(struct file *file, void  *priv,
file              139 drivers/media/radio/radio-sf16fmi.c static int vidioc_g_tuner(struct file *file, void *priv,
file              142 drivers/media/radio/radio-sf16fmi.c 	struct fmi *fmi = video_drvdata(file);
file              158 drivers/media/radio/radio-sf16fmi.c static int vidioc_s_tuner(struct file *file, void *priv,
file              164 drivers/media/radio/radio-sf16fmi.c static int vidioc_s_frequency(struct file *file, void *priv,
file              167 drivers/media/radio/radio-sf16fmi.c 	struct fmi *fmi = video_drvdata(file);
file              178 drivers/media/radio/radio-sf16fmi.c static int vidioc_g_frequency(struct file *file, void *priv,
file              181 drivers/media/radio/radio-sf16fmi.c 	struct fmi *fmi = video_drvdata(file);
file              329 drivers/media/radio/radio-si476x.c static int si476x_radio_querycap(struct file *file, void *priv,
file              332 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              342 drivers/media/radio/radio-si476x.c static int si476x_radio_enum_freq_bands(struct file *file, void *priv,
file              346 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              379 drivers/media/radio/radio-si476x.c static int si476x_radio_g_tuner(struct file *file, void *priv,
file              384 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              456 drivers/media/radio/radio-si476x.c static int si476x_radio_s_tuner(struct file *file, void *priv,
file              459 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              648 drivers/media/radio/radio-si476x.c static int si476x_radio_g_frequency(struct file *file, void *priv,
file              652 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              683 drivers/media/radio/radio-si476x.c static int si476x_radio_s_frequency(struct file *file, void *priv,
file              689 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              735 drivers/media/radio/radio-si476x.c static int si476x_radio_s_hw_freq_seek(struct file *file, void *priv,
file              741 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file              743 drivers/media/radio/radio-si476x.c 	if (file->f_flags & O_NONBLOCK)
file             1002 drivers/media/radio/radio-si476x.c static int si476x_radio_g_register(struct file *file, void *fh,
file             1007 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1018 drivers/media/radio/radio-si476x.c static int si476x_radio_s_register(struct file *file, void *fh,
file             1023 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1035 drivers/media/radio/radio-si476x.c static int si476x_radio_fops_open(struct file *file)
file             1037 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1040 drivers/media/radio/radio-si476x.c 	err = v4l2_fh_open(file);
file             1044 drivers/media/radio/radio-si476x.c 	if (v4l2_fh_is_singular_file(file)) {
file             1073 drivers/media/radio/radio-si476x.c 	v4l2_fh_release(file);
file             1078 drivers/media/radio/radio-si476x.c static int si476x_radio_fops_release(struct file *file)
file             1081 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1083 drivers/media/radio/radio-si476x.c 	if (v4l2_fh_is_singular_file(file) &&
file             1088 drivers/media/radio/radio-si476x.c 	err = v4l2_fh_release(file);
file             1093 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_fops_read(struct file *file, char __user *buf,
file             1100 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1104 drivers/media/radio/radio-si476x.c 		if (file->f_flags & O_NONBLOCK)
file             1132 drivers/media/radio/radio-si476x.c static __poll_t si476x_radio_fops_poll(struct file *file,
file             1135 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = video_drvdata(file);
file             1137 drivers/media/radio/radio-si476x.c 	__poll_t err = v4l2_ctrl_poll(file, pts);
file             1141 drivers/media/radio/radio-si476x.c 			poll_wait(file, &radio->core->rds_read_queue, pts);
file             1191 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_read_acf_blob(struct file *file,
file             1196 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = file->private_data;
file             1219 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_read_rds_blckcnt_blob(struct file *file,
file             1224 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = file->private_data;
file             1248 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_read_agc_blob(struct file *file,
file             1253 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = file->private_data;
file             1276 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_read_rsq_blob(struct file *file,
file             1281 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = file->private_data;
file             1311 drivers/media/radio/radio-si476x.c static ssize_t si476x_radio_read_rsq_primary_blob(struct file *file,
file             1316 drivers/media/radio/radio-si476x.c 	struct si476x_radio *radio = file->private_data;
file              275 drivers/media/radio/radio-tea5764.c static int vidioc_querycap(struct file *file, void  *priv,
file              278 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = video_drvdata(file);
file              288 drivers/media/radio/radio-tea5764.c static int vidioc_g_tuner(struct file *file, void *priv,
file              291 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = video_drvdata(file);
file              314 drivers/media/radio/radio-tea5764.c static int vidioc_s_tuner(struct file *file, void *priv,
file              317 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = video_drvdata(file);
file              326 drivers/media/radio/radio-tea5764.c static int vidioc_s_frequency(struct file *file, void *priv,
file              329 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = video_drvdata(file);
file              350 drivers/media/radio/radio-tea5764.c static int vidioc_g_frequency(struct file *file, void *priv,
file              353 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = video_drvdata(file);
file              254 drivers/media/radio/radio-tea5777.c static int vidioc_querycap(struct file *file, void  *priv,
file              257 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              266 drivers/media/radio/radio-tea5777.c static int vidioc_enum_freq_bands(struct file *file, void *priv,
file              269 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              279 drivers/media/radio/radio-tea5777.c static int vidioc_g_tuner(struct file *file, void *priv,
file              282 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              321 drivers/media/radio/radio-tea5777.c static int vidioc_s_tuner(struct file *file, void *priv,
file              324 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              340 drivers/media/radio/radio-tea5777.c static int vidioc_g_frequency(struct file *file, void *priv,
file              343 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              352 drivers/media/radio/radio-tea5777.c static int vidioc_s_frequency(struct file *file, void *priv,
file              355 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              369 drivers/media/radio/radio-tea5777.c static int vidioc_s_hw_freq_seek(struct file *file, void *fh,
file              372 drivers/media/radio/radio-tea5777.c 	struct radio_tea5777 *tea = video_drvdata(file);
file              382 drivers/media/radio/radio-tea5777.c 	if (file->f_flags & O_NONBLOCK)
file               31 drivers/media/radio/radio-timb.c static int timbradio_vidioc_querycap(struct file *file, void  *priv,
file               40 drivers/media/radio/radio-timb.c static int timbradio_vidioc_g_tuner(struct file *file, void *priv,
file               43 drivers/media/radio/radio-timb.c 	struct timbradio *tr = video_drvdata(file);
file               47 drivers/media/radio/radio-timb.c static int timbradio_vidioc_s_tuner(struct file *file, void *priv,
file               50 drivers/media/radio/radio-timb.c 	struct timbradio *tr = video_drvdata(file);
file               54 drivers/media/radio/radio-timb.c static int timbradio_vidioc_s_frequency(struct file *file, void *priv,
file               57 drivers/media/radio/radio-timb.c 	struct timbradio *tr = video_drvdata(file);
file               61 drivers/media/radio/radio-timb.c static int timbradio_vidioc_g_frequency(struct file *file, void *priv,
file               64 drivers/media/radio/radio-timb.c 	struct timbradio *tr = video_drvdata(file);
file               78 drivers/media/radio/radio-wl1273.c 	struct file *owner;
file             1028 drivers/media/radio/radio-wl1273.c static ssize_t wl1273_fm_fops_write(struct file *file, const char __user *buf,
file             1031 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1052 drivers/media/radio/radio-wl1273.c 	if (radio->owner && radio->owner != file) {
file             1056 drivers/media/radio/radio-wl1273.c 	radio->owner = file;
file             1084 drivers/media/radio/radio-wl1273.c static __poll_t wl1273_fm_fops_poll(struct file *file,
file             1087 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1090 drivers/media/radio/radio-wl1273.c 	if (radio->owner && radio->owner != file)
file             1093 drivers/media/radio/radio-wl1273.c 	radio->owner = file;
file             1096 drivers/media/radio/radio-wl1273.c 		poll_wait(file, &radio->read_queue, pts);
file             1108 drivers/media/radio/radio-wl1273.c static int wl1273_fm_fops_open(struct file *file)
file             1110 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1140 drivers/media/radio/radio-wl1273.c static int wl1273_fm_fops_release(struct file *file)
file             1142 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1168 drivers/media/radio/radio-wl1273.c 	if (file == radio->owner)
file             1174 drivers/media/radio/radio-wl1273.c static ssize_t wl1273_fm_fops_read(struct file *file, char __user *buf,
file             1178 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1200 drivers/media/radio/radio-wl1273.c 	if (radio->owner && radio->owner != file) {
file             1204 drivers/media/radio/radio-wl1273.c 	radio->owner = file;
file             1218 drivers/media/radio/radio-wl1273.c 		if (file->f_flags & O_NONBLOCK) {
file             1273 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_querycap(struct file *file, void *priv,
file             1276 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1289 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_g_input(struct file *file, void *priv,
file             1292 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1301 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_input(struct file *file, void *priv,
file             1304 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1464 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_g_audio(struct file *file, void *priv,
file             1467 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1480 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_audio(struct file *file, void *priv,
file             1483 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1496 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_g_tuner(struct file *file, void *priv,
file             1499 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1560 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_tuner(struct file *file, void *priv,
file             1563 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1622 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_g_frequency(struct file *file, void *priv,
file             1625 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1641 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_frequency(struct file *file, void *priv,
file             1644 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1683 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_hw_freq_seek(struct file *file, void *priv,
file             1686 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1695 drivers/media/radio/radio-wl1273.c 	if (file->f_flags & O_NONBLOCK)
file             1719 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_s_modulator(struct file *file, void *priv,
file             1722 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1757 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_g_modulator(struct file *file, void *priv,
file             1760 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file             1799 drivers/media/radio/radio-wl1273.c static int wl1273_fm_vidioc_log_status(struct file *file, void *priv)
file             1801 drivers/media/radio/radio-wl1273.c 	struct wl1273_device *radio = video_get_drvdata(video_devdata(file));
file              459 drivers/media/radio/si470x/radio-si470x-common.c static ssize_t si470x_fops_read(struct file *file, char __user *buf,
file              462 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              472 drivers/media/radio/si470x/radio-si470x-common.c 		if (file->f_flags & O_NONBLOCK) {
file              515 drivers/media/radio/si470x/radio-si470x-common.c static __poll_t si470x_fops_poll(struct file *file,
file              518 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              520 drivers/media/radio/si470x/radio-si470x-common.c 	__poll_t retval = v4l2_ctrl_poll(file, pts);
file              527 drivers/media/radio/si470x/radio-si470x-common.c 		poll_wait(file, &radio->read_queue, pts);
file              537 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_fops_open(struct file *file)
file              539 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              541 drivers/media/radio/si470x/radio-si470x-common.c 	return radio->fops_open(file);
file              548 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_fops_release(struct file *file)
file              550 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              552 drivers/media/radio/si470x/radio-si470x-common.c 	return radio->fops_release(file);
file              600 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_g_tuner(struct file *file, void *priv,
file              603 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              660 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_s_tuner(struct file *file, void *priv,
file              663 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              686 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_g_frequency(struct file *file, void *priv,
file              689 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              702 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_s_frequency(struct file *file, void *priv,
file              705 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              725 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_s_hw_freq_seek(struct file *file, void *priv,
file              728 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              733 drivers/media/radio/si470x/radio-si470x-common.c 	if (file->f_flags & O_NONBLOCK)
file              742 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_enum_freq_bands(struct file *file, void *priv,
file              758 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_vidioc_querycap(struct file *file, void *priv,
file              761 drivers/media/radio/si470x/radio-si470x-common.c 	struct si470x_device *radio = video_drvdata(file);
file              763 drivers/media/radio/si470x/radio-si470x-common.c 	return radio->vidioc_querycap(file, priv, capability);
file              169 drivers/media/radio/si470x/radio-si470x-i2c.c static int si470x_fops_open(struct file *file)
file              171 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct si470x_device *radio = video_drvdata(file);
file              172 drivers/media/radio/si470x/radio-si470x-i2c.c 	int retval = v4l2_fh_open(file);
file              177 drivers/media/radio/si470x/radio-si470x-i2c.c 	if (v4l2_fh_is_singular_file(file)) {
file              193 drivers/media/radio/si470x/radio-si470x-i2c.c 		v4l2_fh_release(file);
file              201 drivers/media/radio/si470x/radio-si470x-i2c.c static int si470x_fops_release(struct file *file)
file              203 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct si470x_device *radio = video_drvdata(file);
file              205 drivers/media/radio/si470x/radio-si470x-i2c.c 	if (v4l2_fh_is_singular_file(file))
file              209 drivers/media/radio/si470x/radio-si470x-i2c.c 	return v4l2_fh_release(file);
file              221 drivers/media/radio/si470x/radio-si470x-i2c.c static int si470x_vidioc_querycap(struct file *file, void *priv,
file              476 drivers/media/radio/si470x/radio-si470x-usb.c static int si470x_fops_open(struct file *file)
file              478 drivers/media/radio/si470x/radio-si470x-usb.c 	return v4l2_fh_open(file);
file              481 drivers/media/radio/si470x/radio-si470x-usb.c static int si470x_fops_release(struct file *file)
file              483 drivers/media/radio/si470x/radio-si470x-usb.c 	return v4l2_fh_release(file);
file              508 drivers/media/radio/si470x/radio-si470x-usb.c static int si470x_vidioc_querycap(struct file *file, void *priv,
file              511 drivers/media/radio/si470x/radio-si470x-usb.c 	struct si470x_device *radio = video_drvdata(file);
file              159 drivers/media/radio/si470x/radio-si470x.h 	int (*fops_open)(struct file *file);
file              160 drivers/media/radio/si470x/radio-si470x.h 	int (*fops_release)(struct file *file);
file              161 drivers/media/radio/si470x/radio-si470x.h 	int (*vidioc_querycap)(struct file *file, void *priv,
file               58 drivers/media/radio/si4713/radio-platform-si4713.c static int radio_si4713_querycap(struct file *file, void *priv,
file               73 drivers/media/radio/si4713/radio-platform-si4713.c static inline struct v4l2_device *get_v4l2_dev(struct file *file)
file               75 drivers/media/radio/si4713/radio-platform-si4713.c 	return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev;
file               78 drivers/media/radio/si4713/radio-platform-si4713.c static int radio_si4713_g_modulator(struct file *file, void *p,
file               81 drivers/media/radio/si4713/radio-platform-si4713.c 	return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner,
file               85 drivers/media/radio/si4713/radio-platform-si4713.c static int radio_si4713_s_modulator(struct file *file, void *p,
file               88 drivers/media/radio/si4713/radio-platform-si4713.c 	return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner,
file               92 drivers/media/radio/si4713/radio-platform-si4713.c static int radio_si4713_g_frequency(struct file *file, void *p,
file               95 drivers/media/radio/si4713/radio-platform-si4713.c 	return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner,
file               99 drivers/media/radio/si4713/radio-platform-si4713.c static int radio_si4713_s_frequency(struct file *file, void *p,
file              102 drivers/media/radio/si4713/radio-platform-si4713.c 	return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner,
file              106 drivers/media/radio/si4713/radio-platform-si4713.c static long radio_si4713_default(struct file *file, void *p,
file              109 drivers/media/radio/si4713/radio-platform-si4713.c 	return v4l2_device_call_until_err(get_v4l2_dev(file), 0, core,
file               65 drivers/media/radio/si4713/radio-usb-si4713.c static int vidioc_querycap(struct file *file, void *priv,
file               68 drivers/media/radio/si4713/radio-usb-si4713.c 	struct si4713_usb_device *radio = video_drvdata(file);
file               76 drivers/media/radio/si4713/radio-usb-si4713.c static int vidioc_g_modulator(struct file *file, void *priv,
file               79 drivers/media/radio/si4713/radio-usb-si4713.c 	struct si4713_usb_device *radio = video_drvdata(file);
file               84 drivers/media/radio/si4713/radio-usb-si4713.c static int vidioc_s_modulator(struct file *file, void *priv,
file               87 drivers/media/radio/si4713/radio-usb-si4713.c 	struct si4713_usb_device *radio = video_drvdata(file);
file               92 drivers/media/radio/si4713/radio-usb-si4713.c static int vidioc_s_frequency(struct file *file, void *priv,
file               95 drivers/media/radio/si4713/radio-usb-si4713.c 	struct si4713_usb_device *radio = video_drvdata(file);
file              100 drivers/media/radio/si4713/radio-usb-si4713.c static int vidioc_g_frequency(struct file *file, void *priv,
file              103 drivers/media/radio/si4713/radio-usb-si4713.c 	struct si4713_usb_device *radio = video_drvdata(file);
file              220 drivers/media/radio/tea575x.c static int vidioc_querycap(struct file *file, void  *priv,
file              223 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              265 drivers/media/radio/tea575x.c static int vidioc_enum_freq_bands(struct file *file, void *priv,
file              268 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              297 drivers/media/radio/tea575x.c static int vidioc_g_tuner(struct file *file, void *priv,
file              300 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              305 drivers/media/radio/tea575x.c static int vidioc_s_tuner(struct file *file, void *priv,
file              308 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              323 drivers/media/radio/tea575x.c static int vidioc_g_frequency(struct file *file, void *priv,
file              326 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              335 drivers/media/radio/tea575x.c static int vidioc_s_frequency(struct file *file, void *priv,
file              338 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              356 drivers/media/radio/tea575x.c int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea,
file              367 drivers/media/radio/tea575x.c 	if (file->f_flags & O_NONBLOCK)
file              443 drivers/media/radio/tea575x.c static int vidioc_s_hw_freq_seek(struct file *file, void *fh,
file              446 drivers/media/radio/tea575x.c 	struct snd_tea575x *tea = video_drvdata(file);
file              448 drivers/media/radio/tea575x.c 	return snd_tea575x_s_hw_freq_seek(file, tea, a);
file             1045 drivers/media/radio/wl128x/fmdrv_common.c int fmc_is_rds_data_available(struct fmdev *fmdev, struct file *file,
file             1048 drivers/media/radio/wl128x/fmdrv_common.c 	poll_wait(file, &fmdev->rx.rds.read_queue, pts);
file             1056 drivers/media/radio/wl128x/fmdrv_common.c int fmc_transfer_rds_from_internal_buff(struct fmdev *fmdev, struct file *file,
file             1065 drivers/media/radio/wl128x/fmdrv_common.c 		if (file->f_flags & O_NONBLOCK)
file              364 drivers/media/radio/wl128x/fmdrv_common.h int fmc_is_rds_data_available(struct fmdev *, struct file *,
file              366 drivers/media/radio/wl128x/fmdrv_common.h int fmc_transfer_rds_from_internal_buff(struct fmdev *, struct file *,
file               32 drivers/media/radio/wl128x/fmdrv_v4l2.c static ssize_t fm_v4l2_fops_read(struct file *file, char __user * buf,
file               39 drivers/media/radio/wl128x/fmdrv_v4l2.c 	fmdev = video_drvdata(file);
file               65 drivers/media/radio/wl128x/fmdrv_v4l2.c 	ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count);
file               72 drivers/media/radio/wl128x/fmdrv_v4l2.c static ssize_t fm_v4l2_fops_write(struct file *file, const char __user * buf,
file               86 drivers/media/radio/wl128x/fmdrv_v4l2.c 	fmdev = video_drvdata(file);
file               96 drivers/media/radio/wl128x/fmdrv_v4l2.c static __poll_t fm_v4l2_fops_poll(struct file *file, struct poll_table_struct *pts)
file              101 drivers/media/radio/wl128x/fmdrv_v4l2.c 	fmdev = video_drvdata(file);
file              103 drivers/media/radio/wl128x/fmdrv_v4l2.c 	ret = fmc_is_rds_data_available(fmdev, file, pts);
file              115 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_fops_open(struct file *file)
file              126 drivers/media/radio/wl128x/fmdrv_v4l2.c 	fmdev = video_drvdata(file);
file              150 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_fops_release(struct file *file)
file              155 drivers/media/radio/wl128x/fmdrv_v4l2.c 	fmdev = video_drvdata(file);
file              181 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_querycap(struct file *file, void *priv,
file              232 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_g_audio(struct file *file, void *priv,
file              242 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_s_audio(struct file *file, void *priv,
file              252 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_g_tuner(struct file *file, void *priv,
file              255 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              315 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_s_tuner(struct file *file, void *priv,
file              318 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              353 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_g_freq(struct file *file, void *priv,
file              356 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              372 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_s_freq(struct file *file, void *priv,
file              375 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              385 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv,
file              388 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              391 drivers/media/radio/wl128x/fmdrv_v4l2.c 	if (file->f_flags & O_NONBLOCK)
file              410 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv,
file              413 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file              433 drivers/media/radio/wl128x/fmdrv_v4l2.c static int fm_v4l2_vidioc_s_modulator(struct file *file, void *priv,
file              436 drivers/media/radio/wl128x/fmdrv_v4l2.c 	struct fmdev *fmdev = video_drvdata(file);
file               64 drivers/media/rc/imon.c static int display_open(struct inode *inode, struct file *file);
file               65 drivers/media/rc/imon.c static int display_close(struct inode *inode, struct file *file);
file               68 drivers/media/rc/imon.c static ssize_t vfd_write(struct file *file, const char __user *buf,
file               72 drivers/media/rc/imon.c static ssize_t lcd_write(struct file *file, const char __user *buf,
file              467 drivers/media/rc/imon.c static int display_open(struct inode *inode, struct file *file)
file              502 drivers/media/rc/imon.c 		file->private_data = ictx;
file              517 drivers/media/rc/imon.c static int display_close(struct inode *inode, struct file *file)
file              522 drivers/media/rc/imon.c 	ictx = file->private_data;
file              905 drivers/media/rc/imon.c static ssize_t vfd_write(struct file *file, const char __user *buf,
file              916 drivers/media/rc/imon.c 	ictx = file->private_data;
file              992 drivers/media/rc/imon.c static ssize_t lcd_write(struct file *file, const char __user *buf,
file              998 drivers/media/rc/imon.c 	ictx = file->private_data;
file              136 drivers/media/rc/lirc_dev.c static int ir_lirc_open(struct inode *inode, struct file *file)
file              183 drivers/media/rc/lirc_dev.c 	file->private_data = fh;
file              188 drivers/media/rc/lirc_dev.c 	stream_open(inode, file);
file              204 drivers/media/rc/lirc_dev.c static int ir_lirc_close(struct inode *inode, struct file *file)
file              206 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              226 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_transmit_ir(struct file *file, const char __user *buf,
file              229 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              373 drivers/media/rc/lirc_dev.c static long ir_lirc_ioctl(struct file *file, unsigned int cmd,
file              376 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              601 drivers/media/rc/lirc_dev.c static __poll_t ir_lirc_poll(struct file *file, struct poll_table_struct *wait)
file              603 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              607 drivers/media/rc/lirc_dev.c 	poll_wait(file, &fh->wait_poll, wait);
file              624 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read_mode2(struct file *file, char __user *buffer,
file              627 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              637 drivers/media/rc/lirc_dev.c 			if (file->f_flags & O_NONBLOCK)
file              662 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read_scancode(struct file *file, char __user *buffer,
file              665 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              676 drivers/media/rc/lirc_dev.c 			if (file->f_flags & O_NONBLOCK)
file              701 drivers/media/rc/lirc_dev.c static ssize_t ir_lirc_read(struct file *file, char __user *buffer,
file              704 drivers/media/rc/lirc_dev.c 	struct lirc_fh *fh = file->private_data;
file              714 drivers/media/rc/lirc_dev.c 		return ir_lirc_read_mode2(file, buffer, length);
file              716 drivers/media/rc/lirc_dev.c 		return ir_lirc_read_scancode(file, buffer, length);
file              847 drivers/media/rc/lirc_dev.c 	if (!f.file)
file              850 drivers/media/rc/lirc_dev.c 	if (f.file->f_op != &lirc_fops) {
file              855 drivers/media/rc/lirc_dev.c 	fh = f.file->private_data;
file              606 drivers/media/usb/airspy/airspy.c static int airspy_querycap(struct file *file, void *fh,
file              609 drivers/media/usb/airspy/airspy.c 	struct airspy *s = video_drvdata(file);
file              617 drivers/media/usb/airspy/airspy.c static int airspy_enum_fmt_sdr_cap(struct file *file, void *priv,
file              628 drivers/media/usb/airspy/airspy.c static int airspy_g_fmt_sdr_cap(struct file *file, void *priv,
file              631 drivers/media/usb/airspy/airspy.c 	struct airspy *s = video_drvdata(file);
file              640 drivers/media/usb/airspy/airspy.c static int airspy_s_fmt_sdr_cap(struct file *file, void *priv,
file              643 drivers/media/usb/airspy/airspy.c 	struct airspy *s = video_drvdata(file);
file              668 drivers/media/usb/airspy/airspy.c static int airspy_try_fmt_sdr_cap(struct file *file, void *priv,
file              687 drivers/media/usb/airspy/airspy.c static int airspy_s_tuner(struct file *file, void *priv,
file              702 drivers/media/usb/airspy/airspy.c static int airspy_g_tuner(struct file *file, void *priv, struct v4l2_tuner *v)
file              727 drivers/media/usb/airspy/airspy.c static int airspy_g_frequency(struct file *file, void *priv,
file              730 drivers/media/usb/airspy/airspy.c 	struct airspy *s = video_drvdata(file);
file              750 drivers/media/usb/airspy/airspy.c static int airspy_s_frequency(struct file *file, void *priv,
file              753 drivers/media/usb/airspy/airspy.c 	struct airspy *s = video_drvdata(file);
file              780 drivers/media/usb/airspy/airspy.c static int airspy_enum_freq_bands(struct file *file, void *priv,
file               24 drivers/media/usb/as102/as102_usb_drv.c static int as102_open(struct inode *inode, struct file *file);
file               25 drivers/media/usb/as102/as102_usb_drv.c static int as102_release(struct inode *inode, struct file *file);
file              416 drivers/media/usb/as102/as102_usb_drv.c static int as102_open(struct inode *inode, struct file *file)
file              442 drivers/media/usb/as102/as102_usb_drv.c 	file->private_data = dev;
file              451 drivers/media/usb/as102/as102_usb_drv.c static int as102_release(struct inode *inode, struct file *file)
file              455 drivers/media/usb/as102/as102_usb_drv.c 	dev = file->private_data;
file             1001 drivers/media/usb/au0828/au0828-video.c static int au0828_v4l2_open(struct file *filp)
file             1033 drivers/media/usb/au0828/au0828-video.c static int au0828_v4l2_close(struct file *filp)
file             1181 drivers/media/usb/au0828/au0828-video.c static int vidioc_querycap(struct file *file, void  *priv,
file             1184 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1201 drivers/media/usb/au0828/au0828-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1214 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file             1217 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1232 drivers/media/usb/au0828/au0828-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file             1235 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1243 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1246 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1267 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
file             1269 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1299 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file             1301 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1310 drivers/media/usb/au0828/au0828-video.c static int vidioc_enum_input(struct file *file, void *priv,
file             1313 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1351 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1353 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1418 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int index)
file             1420 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1421 drivers/media/usb/au0828/au0828-video.c 	struct video_device *vfd = video_devdata(file);
file             1444 drivers/media/usb/au0828/au0828-video.c static int vidioc_enumaudio(struct file *file, void *priv, struct v4l2_audio *a)
file             1460 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_audio(struct file *file, void *priv, struct v4l2_audio *a)
file             1462 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1477 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_audio(struct file *file, void *priv, const struct v4l2_audio *a)
file             1479 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1489 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
file             1491 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1492 drivers/media/usb/au0828/au0828-video.c 	struct video_device *vfd = video_devdata(file);
file             1514 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file             1517 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1537 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file             1540 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1550 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file             1553 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1580 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
file             1583 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1603 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_pixelaspect(struct file *file, void *priv,
file             1606 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1620 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_selection(struct file *file, void *priv,
file             1623 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1643 drivers/media/usb/au0828/au0828-video.c static int vidioc_g_register(struct file *file, void *priv,
file             1646 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1656 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_register(struct file *file, void *priv,
file             1659 drivers/media/usb/au0828/au0828-video.c 	struct au0828_dev *dev = video_drvdata(file);
file             1668 drivers/media/usb/au0828/au0828-video.c static int vidioc_log_status(struct file *file, void *fh)
file             1670 drivers/media/usb/au0828/au0828-video.c 	struct video_device *vdev = video_devdata(file);
file             1674 drivers/media/usb/au0828/au0828-video.c 	v4l2_ctrl_log_status(file, fh);
file              439 drivers/media/usb/cpia2/cpia2.h 			struct file *filp, poll_table *wait);
file             2364 drivers/media/usb/cpia2/cpia2_core.c __poll_t cpia2_poll(struct camera_data *cam, struct file *filp,
file               71 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_open(struct file *file)
file               73 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file               78 drivers/media/usb/cpia2/cpia2_v4l.c 	retval = v4l2_fh_open(file);
file               82 drivers/media/usb/cpia2/cpia2_v4l.c 	if (v4l2_fh_is_singular_file(file)) {
file               84 drivers/media/usb/cpia2/cpia2_v4l.c 			v4l2_fh_release(file);
file               91 drivers/media/usb/cpia2/cpia2_v4l.c 			v4l2_fh_release(file);
file              111 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_close(struct file *file)
file              113 drivers/media/usb/cpia2/cpia2_v4l.c 	struct video_device *dev = video_devdata(file);
file              117 drivers/media/usb/cpia2/cpia2_v4l.c 	if (video_is_registered(&cam->vdev) && v4l2_fh_is_singular_file(file)) {
file              127 drivers/media/usb/cpia2/cpia2_v4l.c 	if (cam->stream_fh == file->private_data) {
file              132 drivers/media/usb/cpia2/cpia2_v4l.c 	return v4l2_fh_release(file);
file              140 drivers/media/usb/cpia2/cpia2_v4l.c static ssize_t cpia2_v4l_read(struct file *file, char __user *buf, size_t count,
file              143 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              144 drivers/media/usb/cpia2/cpia2_v4l.c 	int noblock = file->f_flags&O_NONBLOCK;
file              163 drivers/media/usb/cpia2/cpia2_v4l.c static __poll_t cpia2_v4l_poll(struct file *filp, struct poll_table_struct *wait)
file              209 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_querycap(struct file *file, void *fh, struct v4l2_capability *vc)
file              211 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              264 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              273 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_g_input(struct file *file, void *fh, unsigned int *i)
file              279 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_s_input(struct file *file, void *fh, unsigned int i)
file              292 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_enum_fmt_vid_cap(struct file *file, void *fh,
file              313 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_try_fmt_vid_cap(struct file *file, void *fh,
file              316 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              374 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_s_fmt_vid_cap(struct file *file, void *_fh,
file              377 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              380 drivers/media/usb/cpia2/cpia2_v4l.c 	err = cpia2_try_fmt_vid_cap(file, _fh, f);
file              424 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_g_fmt_vid_cap(struct file *file, void *fh,
file              427 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              449 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_g_selection(struct file *file, void *fh,
file              452 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              485 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_g_parm(struct file *file, void *fh, struct v4l2_streamparm *p)
file              487 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              504 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_s_parm(struct file *file, void *fh, struct v4l2_streamparm *p)
file              506 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              513 drivers/media/usb/cpia2/cpia2_v4l.c 	ret = cpia2_g_parm(file, fh, p);
file              550 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_enum_framesizes(struct file *file, void *fh,
file              566 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_enum_frameintervals(struct file *file, void *fh,
file              569 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              660 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_g_jpegcomp(struct file *file, void *fh, struct v4l2_jpegcompression *parms)
file              662 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              701 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_s_jpegcomp(struct file *file, void *fh,
file              704 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              751 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *req)
file              753 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              774 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_querybuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file              776 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              824 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file              826 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              875 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_dqbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file              877 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              886 drivers/media/usb/cpia2/cpia2_v4l.c 	if(frame < 0 && file->f_flags&O_NONBLOCK)
file              924 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file              926 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              942 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_streamoff(struct file *file, void *fh, enum v4l2_buf_type type)
file              944 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              964 drivers/media/usb/cpia2/cpia2_v4l.c static int cpia2_mmap(struct file *file, struct vm_area_struct *area)
file              966 drivers/media/usb/cpia2/cpia2_v4l.c 	struct camera_data *cam = video_drvdata(file);
file              974 drivers/media/usb/cpia2/cpia2_v4l.c 		cam->stream_fh = file->private_data;
file             1495 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_g_pixelaspect(struct file *file, void *priv,
file             1511 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_g_selection(struct file *file, void *priv,
file             1534 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_g_std(struct file *file, void *fh0, v4l2_std_id *norm)
file             1536 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1543 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file             1545 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1575 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_s_ctrl(struct file *file, void *priv,
file             1578 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1590 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1601 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file             1604 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1621 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file             1624 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1639 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_reqbufs(struct file *file, void *priv,
file             1642 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1647 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_querybuf(struct file *file, void *priv,
file             1650 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1655 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_qbuf(struct file *file, void *priv,
file             1658 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1663 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             1667 drivers/media/usb/cx231xx/cx231xx-417.c 	return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK);
file             1671 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_streamon(struct file *file, void *priv,
file             1674 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1695 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
file             1697 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1702 drivers/media/usb/cx231xx/cx231xx-417.c static int vidioc_log_status(struct file *file, void *priv)
file             1708 drivers/media/usb/cx231xx/cx231xx-417.c 	return v4l2_ctrl_log_status(file, priv);
file             1711 drivers/media/usb/cx231xx/cx231xx-417.c static int mpeg_open(struct file *file)
file             1713 drivers/media/usb/cx231xx/cx231xx-417.c 	struct video_device *vdev = video_devdata(file);
file             1714 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx *dev = video_drvdata(file);
file             1729 drivers/media/usb/cx231xx/cx231xx-417.c 	file->private_data = fh;
file             1759 drivers/media/usb/cx231xx/cx231xx-417.c static int mpeg_release(struct file *file)
file             1761 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh  *fh  = file->private_data;
file             1806 drivers/media/usb/cx231xx/cx231xx-417.c static ssize_t mpeg_read(struct file *file, char __user *data,
file             1809 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh *fh = file->private_data;
file             1822 drivers/media/usb/cx231xx/cx231xx-417.c 				    file->f_flags & O_NONBLOCK);
file             1825 drivers/media/usb/cx231xx/cx231xx-417.c static __poll_t mpeg_poll(struct file *file,
file             1829 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh *fh = file->private_data;
file             1836 drivers/media/usb/cx231xx/cx231xx-417.c 		poll_wait(file, &fh->fh.wait, wait);
file             1842 drivers/media/usb/cx231xx/cx231xx-417.c 	res |= videobuf_poll_stream(file, &fh->vidq, wait);
file             1847 drivers/media/usb/cx231xx/cx231xx-417.c static int mpeg_mmap(struct file *file, struct vm_area_struct *vma)
file             1849 drivers/media/usb/cx231xx/cx231xx-417.c 	struct cx231xx_fh *fh = file->private_data;
file              931 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              960 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              993 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1008 drivers/media/usb/cx231xx/cx231xx-video.c 	vidioc_try_fmt_vid_cap(file, priv, f);
file             1037 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file             1046 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
file             1141 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_enum_input(struct file *file, void *priv,
file             1182 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_g_input(struct file *file, void *priv, unsigned int *i)
file             1192 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_s_input(struct file *file, void *priv, unsigned int i)
file             1221 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
file             1245 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t)
file             1263 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_g_frequency(struct file *file, void *priv,
file             1277 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_s_frequency(struct file *file, void *priv,
file             1337 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_g_chip_info(struct file *file, void *fh,
file             1365 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_g_register(struct file *file, void *priv,
file             1424 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_s_register(struct file *file, void *priv,
file             1472 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_g_pixelaspect(struct file *file, void *priv,
file             1488 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_g_selection(struct file *file, void *priv,
file             1511 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_streamon(struct file *file, void *priv,
file             1532 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_streamoff(struct file *file, void *priv,
file             1554 drivers/media/usb/cx231xx/cx231xx-video.c int cx231xx_querycap(struct file *file, void *priv,
file             1574 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file             1587 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
file             1610 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_try_fmt_vbi_cap(struct file *file, void *priv,
file             1634 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_s_fmt_vbi_cap(struct file *file, void *priv,
file             1645 drivers/media/usb/cx231xx/cx231xx-video.c 	return vidioc_try_fmt_vbi_cap(file, priv, f);
file             1648 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_reqbufs(struct file *file, void *priv,
file             1662 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_querybuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             1675 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             1688 drivers/media/usb/cx231xx/cx231xx-video.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b)
file             1698 drivers/media/usb/cx231xx/cx231xx-video.c 	return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK);
file             1705 drivers/media/usb/cx231xx/cx231xx-video.c static int radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
file             1718 drivers/media/usb/cx231xx/cx231xx-video.c static int radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t)
file             1734 drivers/media/usb/cx231xx/cx231xx-video.c static int cx231xx_v4l2_open(struct file *filp)
file             1872 drivers/media/usb/cx231xx/cx231xx-video.c static int cx231xx_close(struct file *filp)
file             1955 drivers/media/usb/cx231xx/cx231xx-video.c static int cx231xx_v4l2_close(struct file *filp)
file             1972 drivers/media/usb/cx231xx/cx231xx-video.c cx231xx_v4l2_read(struct file *filp, char __user *buf, size_t count,
file             2004 drivers/media/usb/cx231xx/cx231xx-video.c static __poll_t cx231xx_v4l2_poll(struct file *filp, poll_table *wait)
file             2042 drivers/media/usb/cx231xx/cx231xx-video.c static int cx231xx_v4l2_mmap(struct file *filp, struct vm_area_struct *vma)
file              940 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_querycap(struct file *file, void *priv,
file              942 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t);
file              943 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t);
file              944 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_g_frequency(struct file *file, void *priv,
file              946 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_s_frequency(struct file *file, void *priv,
file              948 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_enum_input(struct file *file, void *priv,
file              950 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_g_input(struct file *file, void *priv, unsigned int *i);
file              951 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_s_input(struct file *file, void *priv, unsigned int i);
file              952 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_g_chip_info(struct file *file, void *fh, struct v4l2_dbg_chip_info *chip);
file              953 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_g_register(struct file *file, void *priv,
file              955 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_s_register(struct file *file, void *priv,
file              967 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_v_querycap(struct file *file, void *fh,
file              970 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file              982 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_v_enum_fmt_vid_cap(struct file *file, void *fh,
file              993 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_g_fmt_vid_cap(struct file *file, void *fh,
file              996 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1011 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_try_s_fmt_vid_cap(struct file *file,
file             1015 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1056 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_try_fmt_vid_cap(struct file *file, void *fh,
file             1059 drivers/media/usb/dvb-usb/cxusb-analog.c 	return cxusb_medion_try_s_fmt_vid_cap(file, f, false);
file             1062 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_s_fmt_vid_cap(struct file *file, void *fh,
file             1065 drivers/media/usb/dvb-usb/cxusb-analog.c 	return cxusb_medion_try_s_fmt_vid_cap(file, f, true);
file             1087 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_enum_input(struct file *file, void *fh,
file             1090 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1118 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_g_input(struct file *file, void *fh,
file             1121 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1187 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_s_input(struct file *file, void *fh,
file             1190 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1215 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_g_tuner(struct file *file, void *fh,
file             1218 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1220 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct video_device *vdev = video_devdata(file);
file             1272 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_s_tuner(struct file *file, void *fh,
file             1275 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1277 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct video_device *vdev = video_devdata(file);
file             1303 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_g_frequency(struct file *file, void *fh,
file             1306 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1315 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_s_frequency(struct file *file, void *fh,
file             1318 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1320 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct video_device *vdev = video_devdata(file);
file             1346 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_g_std(struct file *file, void *fh,
file             1349 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1360 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_s_std(struct file *file, void *fh,
file             1363 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1369 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_querystd(struct file *file, void *fh,
file             1372 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1401 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_medion_log_status(struct file *file, void *fh)
file             1403 drivers/media/usb/dvb-usb/cxusb-analog.c 	struct dvb_usb_device *dvbdev = video_drvdata(file);
file             1531 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_videoradio_open(struct file *f)
file             1559 drivers/media/usb/dvb-usb/cxusb-analog.c static int cxusb_videoradio_release(struct file *f)
file             1422 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file             1425 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev = video_drvdata(file);
file             1455 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file             1458 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev   = video_drvdata(file);
file             1540 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1543 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1549 drivers/media/usb/em28xx/em28xx-video.c 	vidioc_try_fmt_vid_cap(file, priv, f);
file             1555 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file             1557 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1564 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm)
file             1566 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1573 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
file             1575 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx      *dev  = video_drvdata(file);
file             1590 drivers/media/usb/em28xx/em28xx-video.c 	vidioc_try_fmt_vid_cap(file, priv, &f);
file             1604 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_parm(struct file *file, void *priv,
file             1608 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx      *dev  = video_drvdata(file);
file             1631 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_parm(struct file *file, void *priv,
file             1634 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1658 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_enum_input(struct file *file, void *priv,
file             1661 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1692 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1694 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1701 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1703 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1769 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *a)
file             1771 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1779 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_audio(struct file *file, void *priv, struct v4l2_audio *a)
file             1781 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1792 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_audio(struct file *file, void *priv,
file             1795 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1832 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_tuner(struct file *file, void *priv,
file             1835 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1846 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file             1849 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1858 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file             1861 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev = video_drvdata(file);
file             1871 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file             1875 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx             *dev  = video_drvdata(file);
file             1889 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_chip_info(struct file *file, void *priv,
file             1892 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1916 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_register(struct file *file, void *priv,
file             1919 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1957 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_s_register(struct file *file, void *priv,
file             1960 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             1976 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_querycap(struct file *file, void  *priv,
file             1979 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev  = video_drvdata(file);
file             2000 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file             2011 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file             2014 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev = video_drvdata(file);
file             2055 drivers/media/usb/em28xx/em28xx-video.c static int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
file             2058 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx         *dev  = video_drvdata(file);
file             2088 drivers/media/usb/em28xx/em28xx-video.c static int radio_g_tuner(struct file *file, void *priv,
file             2091 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             2103 drivers/media/usb/em28xx/em28xx-video.c static int radio_s_tuner(struct file *file, void *priv,
file             2106 drivers/media/usb/em28xx/em28xx-video.c 	struct em28xx *dev = video_drvdata(file);
file             2135 drivers/media/usb/em28xx/em28xx-video.c static int em28xx_v4l2_open(struct file *filp)
file             2290 drivers/media/usb/em28xx/em28xx-video.c static int em28xx_v4l2_close(struct file *filp)
file              274 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_querycap(struct file *file, void  *priv,
file              277 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              285 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              307 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              310 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              324 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              327 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              332 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              335 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              463 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_parm(struct file *filp, void *priv,
file              482 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_parm(struct file *filp, void *priv,
file              512 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_enum_framesizes(struct file *filp, void *priv,
file              531 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_enum_frameintervals(struct file *filp, void *priv,
file              559 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              561 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              582 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id std)
file              584 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              594 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              596 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              601 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_enum_input(struct file *file, void *priv,
file              604 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              625 drivers/media/usb/go7007/go7007-v4l2.c 		inp->std = video_devdata(file)->tvnorms;
file              633 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *input)
file              635 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              642 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *a)
file              644 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              654 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *a)
file              656 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              665 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_audio(struct file *file, void *fh,
file              668 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              694 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_input(struct file *file, void *priv, unsigned int input)
file              696 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              709 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_tuner(struct file *file, void *priv,
file              712 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              721 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_tuner(struct file *file, void *priv,
file              724 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              732 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_frequency(struct file *file, void *priv,
file              735 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              743 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_frequency(struct file *file, void *priv,
file              746 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              754 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_log_status(struct file *file, void *priv)
file              756 drivers/media/usb/go7007/go7007-v4l2.c 	struct go7007 *go = video_drvdata(file);
file              758 drivers/media/usb/go7007/go7007-v4l2.c 	v4l2_ctrl_log_status(file, priv);
file              968 drivers/media/usb/gspca/gspca.c static int vidioc_g_chip_info(struct file *file, void *priv,
file              971 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file              979 drivers/media/usb/gspca/gspca.c static int vidioc_g_register(struct file *file, void *priv,
file              982 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file              988 drivers/media/usb/gspca/gspca.c static int vidioc_s_register(struct file *file, void *priv,
file              991 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file              998 drivers/media/usb/gspca/gspca.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file             1001 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1030 drivers/media/usb/gspca/gspca.c static int vidioc_g_fmt_vid_cap(struct file *file, void *_priv,
file             1033 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1076 drivers/media/usb/gspca/gspca.c static int vidioc_try_fmt_vid_cap(struct file *file, void *_priv,
file             1079 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1089 drivers/media/usb/gspca/gspca.c static int vidioc_s_fmt_vid_cap(struct file *file, void *_priv,
file             1092 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1114 drivers/media/usb/gspca/gspca.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file             1117 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1143 drivers/media/usb/gspca/gspca.c static int vidioc_enum_frameintervals(struct file *filp, void *priv,
file             1187 drivers/media/usb/gspca/gspca.c static int vidioc_querycap(struct file *file, void  *priv,
file             1190 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1208 drivers/media/usb/gspca/gspca.c static int vidioc_enum_input(struct file *file, void *priv,
file             1211 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1222 drivers/media/usb/gspca/gspca.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1228 drivers/media/usb/gspca/gspca.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1235 drivers/media/usb/gspca/gspca.c static int vidioc_g_jpegcomp(struct file *file, void *priv,
file             1238 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1244 drivers/media/usb/gspca/gspca.c static int vidioc_s_jpegcomp(struct file *file, void *priv,
file             1247 drivers/media/usb/gspca/gspca.c 	struct gspca_dev *gspca_dev = video_drvdata(file);
file             1253 drivers/media/usb/gspca/gspca.c static int vidioc_g_parm(struct file *filp, void *priv,
file             1269 drivers/media/usb/gspca/gspca.c static int vidioc_s_parm(struct file *filp, void *priv,
file              894 drivers/media/usb/hackrf/hackrf.c static int hackrf_querycap(struct file *file, void *fh,
file              897 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file              913 drivers/media/usb/hackrf/hackrf.c static int hackrf_s_fmt_sdr(struct file *file, void *priv,
file              916 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file              917 drivers/media/usb/hackrf/hackrf.c 	struct video_device *vdev = video_devdata(file);
file              950 drivers/media/usb/hackrf/hackrf.c static int hackrf_g_fmt_sdr(struct file *file, void *priv,
file              953 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file              965 drivers/media/usb/hackrf/hackrf.c static int hackrf_try_fmt_sdr(struct file *file, void *priv,
file              968 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file              988 drivers/media/usb/hackrf/hackrf.c static int hackrf_enum_fmt_sdr(struct file *file, void *priv,
file              991 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1003 drivers/media/usb/hackrf/hackrf.c static int hackrf_s_tuner(struct file *file, void *priv,
file             1006 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1021 drivers/media/usb/hackrf/hackrf.c static int hackrf_g_tuner(struct file *file, void *priv, struct v4l2_tuner *v)
file             1023 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1049 drivers/media/usb/hackrf/hackrf.c static int hackrf_s_modulator(struct file *file, void *fh,
file             1052 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1059 drivers/media/usb/hackrf/hackrf.c static int hackrf_g_modulator(struct file *file, void *fh,
file             1062 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1088 drivers/media/usb/hackrf/hackrf.c static int hackrf_s_frequency(struct file *file, void *priv,
file             1091 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1093 drivers/media/usb/hackrf/hackrf.c 	struct video_device *vdev = video_devdata(file);
file             1135 drivers/media/usb/hackrf/hackrf.c static int hackrf_g_frequency(struct file *file, void *priv,
file             1138 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file             1140 drivers/media/usb/hackrf/hackrf.c 	struct video_device *vdev = video_devdata(file);
file             1168 drivers/media/usb/hackrf/hackrf.c static int hackrf_enum_freq_bands(struct file *file, void *priv,
file             1171 drivers/media/usb/hackrf/hackrf.c 	struct hackrf_dev *dev = video_drvdata(file);
file              376 drivers/media/usb/hdpvr/hdpvr-video.c static int hdpvr_open(struct file *file)
file              383 drivers/media/usb/hdpvr/hdpvr-video.c 	v4l2_fh_init(&fh->fh, video_devdata(file));
file              385 drivers/media/usb/hdpvr/hdpvr-video.c 	file->private_data = fh;
file              389 drivers/media/usb/hdpvr/hdpvr-video.c static int hdpvr_release(struct file *file)
file              391 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              394 drivers/media/usb/hdpvr/hdpvr-video.c 	if (file->private_data == dev->owner) {
file              400 drivers/media/usb/hdpvr/hdpvr-video.c 	return v4l2_fh_release(file);
file              407 drivers/media/usb/hdpvr/hdpvr-video.c static ssize_t hdpvr_read(struct file *file, char __user *buffer, size_t count,
file              410 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              430 drivers/media/usb/hdpvr/hdpvr-video.c 		dev->owner = file->private_data;
file              436 drivers/media/usb/hdpvr/hdpvr-video.c 	if (!(file->f_flags & O_NONBLOCK)) {
file              450 drivers/media/usb/hdpvr/hdpvr-video.c 			if (file->f_flags & O_NONBLOCK) {
file              527 drivers/media/usb/hdpvr/hdpvr-video.c static __poll_t hdpvr_poll(struct file *filp, poll_table *wait)
file              579 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_querycap(struct file *file, void  *priv,
file              582 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              590 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_s_std(struct file *file, void *_fh,
file              593 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              610 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_g_std(struct file *file, void *_fh,
file              613 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              622 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_querystd(struct file *file, void *_fh, v4l2_std_id *a)
file              624 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              641 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_s_dv_timings(struct file *file, void *_fh,
file              644 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              664 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_g_dv_timings(struct file *file, void *_fh,
file              667 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              677 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_query_dv_timings(struct file *file, void *_fh,
file              680 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              719 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_enum_dv_timings(struct file *file, void *_fh,
file              722 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              735 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_dv_timings_cap(struct file *file, void *_fh,
file              738 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              762 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_enum_input(struct file *file, void *_fh, struct v4l2_input *i)
file              782 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_s_input(struct file *file, void *_fh,
file              785 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              816 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_g_input(struct file *file, void *private_data,
file              819 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              832 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_enumaudio(struct file *file, void *priv,
file              848 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_s_audio(struct file *file, void *private_data,
file              851 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              867 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_g_audio(struct file *file, void *private_data,
file              870 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file              984 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *private_data,
file              995 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *_fh,
file              998 drivers/media/usb/hdpvr/hdpvr-video.c 	struct hdpvr_device *dev = video_drvdata(file);
file             1041 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_encoder_cmd(struct file *filp, void *priv,
file             1086 drivers/media/usb/hdpvr/hdpvr-video.c static int vidioc_try_encoder_cmd(struct file *filp, void *priv,
file              584 drivers/media/usb/msi2500/msi2500.c static int msi2500_querycap(struct file *file, void *fh,
file              587 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              890 drivers/media/usb/msi2500/msi2500.c static int msi2500_enum_fmt_sdr_cap(struct file *file, void *priv,
file              893 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              905 drivers/media/usb/msi2500/msi2500.c static int msi2500_g_fmt_sdr_cap(struct file *file, void *priv,
file              908 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              920 drivers/media/usb/msi2500/msi2500.c static int msi2500_s_fmt_sdr_cap(struct file *file, void *priv,
file              923 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              951 drivers/media/usb/msi2500/msi2500.c static int msi2500_try_fmt_sdr_cap(struct file *file, void *priv,
file              954 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              974 drivers/media/usb/msi2500/msi2500.c static int msi2500_s_tuner(struct file *file, void *priv,
file              977 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file              992 drivers/media/usb/msi2500/msi2500.c static int msi2500_g_tuner(struct file *file, void *priv, struct v4l2_tuner *v)
file              994 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file             1015 drivers/media/usb/msi2500/msi2500.c static int msi2500_g_frequency(struct file *file, void *priv,
file             1018 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file             1036 drivers/media/usb/msi2500/msi2500.c static int msi2500_s_frequency(struct file *file, void *priv,
file             1039 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file             1060 drivers/media/usb/msi2500/msi2500.c static int msi2500_enum_freq_bands(struct file *file, void *priv,
file             1063 drivers/media/usb/msi2500/msi2500.c 	struct msi2500_dev *dev = video_drvdata(file);
file               43 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct file *file;
file              109 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_querycap(struct file *file, void *priv, struct v4l2_capability *cap)
file              111 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              124 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              126 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              137 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_std(struct file *file, void *priv, v4l2_std_id std)
file              139 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              149 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              151 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              162 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_enum_input(struct file *file, void *priv, struct v4l2_input *vi)
file              164 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              210 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_input(struct file *file, void *priv, unsigned int *i)
file              212 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              232 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_input(struct file *file, void *priv, unsigned int inp)
file              234 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              247 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_enumaudio(struct file *file, void *priv, struct v4l2_audio *vin)
file              271 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_audio(struct file *file, void *priv, struct v4l2_audio *vin)
file              280 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_audio(struct file *file, void *priv, const struct v4l2_audio *vout)
file              287 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_tuner(struct file *file, void *priv, struct v4l2_tuner *vt)
file              289 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              299 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *vt)
file              301 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              315 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *vf)
file              317 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              350 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_frequency(struct file *file, void *priv, struct v4l2_frequency *vf)
file              352 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              382 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *fd)
file              392 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf)
file              394 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              412 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf)
file              414 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              450 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf)
file              452 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              455 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	int ret = pvr2_try_fmt_vid_cap(file, fh, vf);
file              467 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
file              469 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              486 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
file              488 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              500 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_queryctrl(struct file *file, void *priv,
file              503 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              559 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_querymenu(struct file *file, void *priv, struct v4l2_querymenu *vm)
file              561 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              574 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_ctrl(struct file *file, void *priv, struct v4l2_control *vc)
file              576 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              587 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_ctrl(struct file *file, void *priv, struct v4l2_control *vc)
file              589 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              599 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_ext_ctrls(struct file *file, void *priv,
file              602 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              634 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_ext_ctrls(struct file *file, void *priv,
file              637 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              663 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_try_ext_ctrls(struct file *file, void *priv,
file              666 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              685 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_pixelaspect(struct file *file, void *priv,
file              688 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              701 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_g_selection(struct file *file, void *priv,
file              704 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              752 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_s_selection(struct file *file, void *priv,
file              755 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              785 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_log_status(struct file *file, void *priv)
file              787 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file              911 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_v4l2_release(struct file *file)
file              913 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fhp = file->private_data;
file              930 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	file->private_data = NULL;
file              950 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static int pvr2_v4l2_open(struct file *file)
file              960 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip = container_of(video_devdata(file),struct pvr2_v4l2_dev,devbase);
file             1030 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->file = file;
file             1031 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	file->private_data = fhp;
file             1081 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static ssize_t pvr2_v4l2_read(struct file *file,
file             1084 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file             1131 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		if (file->f_flags & O_NONBLOCK) break;
file             1143 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static __poll_t pvr2_v4l2_poll(struct file *file, poll_table *wait)
file             1146 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fh = file->private_data;
file             1159 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	poll_wait(file,&fh->wait_data,wait);
file              449 drivers/media/usb/pwc/pwc-v4l.c static int pwc_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f)
file              451 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              479 drivers/media/usb/pwc/pwc-v4l.c static int pwc_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              481 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              489 drivers/media/usb/pwc/pwc-v4l.c static int pwc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
file              499 drivers/media/usb/pwc/pwc-v4l.c static int pwc_g_input(struct file *file, void *fh, unsigned int *i)
file              505 drivers/media/usb/pwc/pwc-v4l.c static int pwc_s_input(struct file *file, void *fh, unsigned int i)
file              867 drivers/media/usb/pwc/pwc-v4l.c static int pwc_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              869 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              886 drivers/media/usb/pwc/pwc-v4l.c static int pwc_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f)
file              888 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              899 drivers/media/usb/pwc/pwc-v4l.c static int pwc_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f)
file              901 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              906 drivers/media/usb/pwc/pwc-v4l.c static int pwc_enum_framesizes(struct file *file, void *fh,
file              909 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              931 drivers/media/usb/pwc/pwc-v4l.c static int pwc_enum_frameintervals(struct file *file, void *fh,
file              934 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              961 drivers/media/usb/pwc/pwc-v4l.c static int pwc_g_parm(struct file *file, void *fh,
file              964 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file              980 drivers/media/usb/pwc/pwc-v4l.c static int pwc_s_parm(struct file *file, void *fh,
file              983 drivers/media/usb/pwc/pwc-v4l.c 	struct pwc_device *pdev = video_drvdata(file);
file             1006 drivers/media/usb/pwc/pwc-v4l.c 	pwc_g_parm(file, fh, parm);
file              711 drivers/media/usb/s2255/s2255drv.c static int vidioc_querycap(struct file *file, void *priv,
file              714 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file              723 drivers/media/usb/s2255/s2255drv.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              737 drivers/media/usb/s2255/s2255drv.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              740 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file              757 drivers/media/usb/s2255/s2255drv.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              762 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file              810 drivers/media/usb/s2255/s2255drv.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              813 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file              819 drivers/media/usb/s2255/s2255drv.c 	ret = vidioc_try_fmt_vid_cap(file, vc, f);
file             1096 drivers/media/usb/s2255/s2255drv.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id i)
file             1098 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1137 drivers/media/usb/s2255/s2255drv.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *i)
file             1139 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1152 drivers/media/usb/s2255/s2255drv.c static int vidioc_enum_input(struct file *file, void *priv,
file             1155 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1186 drivers/media/usb/s2255/s2255drv.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1191 drivers/media/usb/s2255/s2255drv.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1237 drivers/media/usb/s2255/s2255drv.c static int vidioc_g_jpegcomp(struct file *file, void *priv,
file             1240 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1248 drivers/media/usb/s2255/s2255drv.c static int vidioc_s_jpegcomp(struct file *file, void *priv,
file             1251 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1260 drivers/media/usb/s2255/s2255drv.c static int vidioc_g_parm(struct file *file, void *priv,
file             1264 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1297 drivers/media/usb/s2255/s2255drv.c static int vidioc_s_parm(struct file *file, void *priv,
file             1300 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1351 drivers/media/usb/s2255/s2255drv.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file             1354 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1369 drivers/media/usb/s2255/s2255drv.c static int vidioc_enum_frameintervals(struct file *file, void *priv,
file             1372 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1404 drivers/media/usb/s2255/s2255drv.c static int s2255_open(struct file *file)
file             1406 drivers/media/usb/s2255/s2255drv.c 	struct s2255_vc *vc = video_drvdata(file);
file             1411 drivers/media/usb/s2255/s2255drv.c 	rc = v4l2_fh_open(file);
file              331 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_querycap(struct file *file,
file              334 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              342 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              352 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              355 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              471 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              474 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              479 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              482 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              500 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *norm)
file              502 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              507 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file              509 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              515 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
file              517 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              547 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_enum_input(struct file *file, void *priv,
file              550 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              566 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              568 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              573 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              575 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              588 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_g_register(struct file *file, void *priv,
file              591 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              603 drivers/media/usb/stk1160/stk1160-v4l.c static int vidioc_s_register(struct file *file, void *priv,
file              606 drivers/media/usb/stk1160/stk1160-v4l.c 	struct stk1160 *dev = video_drvdata(file);
file              154 drivers/media/usb/stk1160/stk1160.h 	struct file *fh_owner;	/* filehandle ownership */
file              611 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_open(struct file *fp)
file              633 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_release(struct file *fp)
file              651 drivers/media/usb/stkwebcam/stk-webcam.c static ssize_t stk_read(struct file *fp, char __user *buf,
file              713 drivers/media/usb/stkwebcam/stk-webcam.c static ssize_t v4l_stk_read(struct file *fp, char __user *buf,
file              726 drivers/media/usb/stkwebcam/stk-webcam.c static __poll_t v4l_stk_poll(struct file *fp, poll_table *wait)
file              760 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_mmap(struct file *fp, struct vm_area_struct *vma)
file              792 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_querycap(struct file *filp,
file              803 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_enum_input(struct file *filp,
file              815 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_g_input(struct file *filp, void *priv, unsigned int *i)
file              821 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_s_input(struct file *filp, void *priv, unsigned int i)
file              853 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_enum_fmt_vid_cap(struct file *filp,
file              890 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_g_fmt_vid_cap(struct file *filp,
file              918 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_try_fmt_vid_cap(struct file *filp,
file              961 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_try_fmt_vid_cap(struct file *filp,
file             1003 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_s_fmt_vid_cap(struct file *filp,
file             1031 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_reqbufs(struct file *filp,
file             1064 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_querybuf(struct file *filp,
file             1077 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_qbuf(struct file *filp,
file             1101 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_dqbuf(struct file *filp,
file             1134 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_streamon(struct file *filp,
file             1146 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_streamoff(struct file *filp,
file             1165 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_g_parm(struct file *filp,
file             1175 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_vidioc_enum_framesizes(struct file *filp,
file               82 drivers/media/usb/stkwebcam/stk-webcam.h 	struct file *owner;
file              850 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_querycap(struct file *file, void  *priv,
file              869 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              879 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              907 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              944 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              949 drivers/media/usb/tm6000/tm6000-video.c 	int ret = vidioc_try_fmt_vid_cap(file, fh, f);
file              966 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_reqbufs(struct file *file, void *priv,
file              974 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_querybuf(struct file *file, void *priv,
file              982 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              989 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p)
file              994 drivers/media/usb/tm6000/tm6000-video.c 				file->f_flags & O_NONBLOCK);
file              997 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
file             1012 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
file             1029 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id norm)
file             1049 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file             1065 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_enum_input(struct file *file, void *priv,
file             1093 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file             1103 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file             1116 drivers/media/usb/tm6000/tm6000-video.c 	rc = vidioc_s_std(file, priv, dev->norm);
file             1172 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_tuner(struct file *file, void *priv,
file             1196 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file             1218 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file             1236 drivers/media/usb/tm6000/tm6000-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file             1253 drivers/media/usb/tm6000/tm6000-video.c static int radio_g_tuner(struct file *file, void *priv,
file             1256 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh *fh = file->private_data;
file             1274 drivers/media/usb/tm6000/tm6000-video.c static int radio_s_tuner(struct file *file, void *priv,
file             1277 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh *fh = file->private_data;
file             1290 drivers/media/usb/tm6000/tm6000-video.c static int __tm6000_open(struct file *file)
file             1292 drivers/media/usb/tm6000/tm6000-video.c 	struct video_device *vdev = video_devdata(file);
file             1293 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_core *dev = video_drvdata(file);
file             1331 drivers/media/usb/tm6000/tm6000-video.c 	file->private_data = fh;
file             1380 drivers/media/usb/tm6000/tm6000-video.c static int tm6000_open(struct file *file)
file             1382 drivers/media/usb/tm6000/tm6000-video.c 	struct video_device *vdev = video_devdata(file);
file             1386 drivers/media/usb/tm6000/tm6000-video.c 	res = __tm6000_open(file);
file             1392 drivers/media/usb/tm6000/tm6000-video.c tm6000_read(struct file *file, char __user *data, size_t count, loff_t *pos)
file             1394 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh *fh = file->private_data;
file             1406 drivers/media/usb/tm6000/tm6000-video.c 					file->f_flags & O_NONBLOCK);
file             1414 drivers/media/usb/tm6000/tm6000-video.c __tm6000_poll(struct file *file, struct poll_table_struct *wait)
file             1417 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh        *fh = file->private_data;
file             1424 drivers/media/usb/tm6000/tm6000-video.c 		poll_wait(file, &fh->fh.wait, wait);
file             1436 drivers/media/usb/tm6000/tm6000-video.c 		poll_wait(file, &buf->vb.done, wait);
file             1442 drivers/media/usb/tm6000/tm6000-video.c 		return res | videobuf_poll_stream(file, &fh->vb_vidq, wait);
file             1447 drivers/media/usb/tm6000/tm6000-video.c static __poll_t tm6000_poll(struct file *file, struct poll_table_struct *wait)
file             1449 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh *fh = file->private_data;
file             1454 drivers/media/usb/tm6000/tm6000-video.c 	res = __tm6000_poll(file, wait);
file             1459 drivers/media/usb/tm6000/tm6000-video.c static int tm6000_release(struct file *file)
file             1461 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh         *fh = file->private_data;
file             1463 drivers/media/usb/tm6000/tm6000-video.c 	struct video_device    *vdev = video_devdata(file);
file             1502 drivers/media/usb/tm6000/tm6000-video.c static int tm6000_mmap(struct file *file, struct vm_area_struct * vma)
file             1504 drivers/media/usb/tm6000/tm6000-video.c 	struct tm6000_fh *fh = file->private_data;
file              350 drivers/media/usb/tm6000/tm6000.h int tm6000_v4l2_mmap(struct file *filp, struct vm_area_struct *vma);
file              352 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_streamon(struct file *file, void *priv,
file              354 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_streamoff(struct file *file, void *priv,
file              356 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_reqbufs(struct file *file, void *priv,
file              358 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_querybuf(struct file *file, void *priv,
file              360 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *b);
file              361 drivers/media/usb/tm6000/tm6000.h int tm6000_vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b);
file              362 drivers/media/usb/tm6000/tm6000.h ssize_t tm6000_v4l2_read(struct file *filp, char __user * buf, size_t count,
file              364 drivers/media/usb/tm6000/tm6000.h unsigned int tm6000_v4l2_poll(struct file *file,
file              967 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int stc_open(struct inode *inode, struct file *file)
file              969 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 	struct ttusb *ttusb = file->private_data;
file              981 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static ssize_t stc_read(struct file *file, char *buf, size_t count,
file              987 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int stc_release(struct inode *inode, struct file *file)
file              598 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_querycap(struct file *file, void *priv,
file              601 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *dev = video_drvdata(file);
file              609 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_enum_input(struct file *file, void *priv,
file              612 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *dev = video_drvdata(file);
file              630 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_enum_fmt_vid_cap(struct file *file, void  *priv,
file              640 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_fmt_vid_cap(struct file *file, void *priv,
file              643 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = video_drvdata(file);
file              656 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file              658 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = video_drvdata(file);
file              663 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_s_std(struct file *file, void *priv, v4l2_std_id norm)
file              666 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = video_drvdata(file);
file              674 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_g_input(struct file *file, void *priv, unsigned int *i)
file              676 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = video_drvdata(file);
file              681 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_s_input(struct file *file, void *priv, unsigned int i)
file              683 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = video_drvdata(file);
file              307 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_v4l2_open(struct file *file)
file              309 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              324 drivers/media/usb/usbvision/usbvision-video.c 		err_code = v4l2_fh_open(file);
file              381 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_v4l2_close(struct file *file)
file              383 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              409 drivers/media/usb/usbvision/usbvision-video.c 	return v4l2_fh_release(file);
file              420 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_register(struct file *file, void *priv,
file              423 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              439 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_register(struct file *file, void *priv,
file              442 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              457 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_querycap(struct file *file, void  *priv,
file              460 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              479 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_enum_input(struct file *file, void *priv,
file              482 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              531 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *input)
file              533 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              539 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int input)
file              541 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              554 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
file              556 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              567 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
file              569 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              575 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_tuner(struct file *file, void *priv,
file              578 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              593 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_tuner(struct file *file, void *priv,
file              596 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              607 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_frequency(struct file *file, void *priv,
file              610 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              623 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_frequency(struct file *file, void *priv,
file              626 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              643 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_reqbufs(struct file *file,
file              646 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              671 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_querybuf(struct file *file,
file              674 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              704 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *vb)
file              706 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              736 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *vb)
file              738 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              775 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
file              777 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              785 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_streamoff(struct file *file,
file              788 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              803 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void  *priv,
file              812 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              815 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              828 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              831 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              857 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              860 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              863 drivers/media/usb/usbvision/usbvision-video.c 	ret = vidioc_try_fmt_vid_cap(file, priv, vf);
file              884 drivers/media/usb/usbvision/usbvision-video.c static ssize_t usbvision_read(struct file *file, char __user *buf,
file              887 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              888 drivers/media/usb/usbvision/usbvision-video.c 	int noblock = file->f_flags & O_NONBLOCK;
file              989 drivers/media/usb/usbvision/usbvision-video.c static ssize_t usbvision_v4l2_read(struct file *file, char __user *buf,
file              992 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file              997 drivers/media/usb/usbvision/usbvision-video.c 	res = usbvision_read(file, buf, count, ppos);
file             1002 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_mmap(struct file *file, struct vm_area_struct *vma)
file             1008 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file             1048 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_v4l2_mmap(struct file *file, struct vm_area_struct *vma)
file             1050 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file             1055 drivers/media/usb/usbvision/usbvision-video.c 	res = usbvision_mmap(file, vma);
file             1064 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_radio_open(struct file *file)
file             1066 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file             1078 drivers/media/usb/usbvision/usbvision-video.c 	err_code = v4l2_fh_open(file);
file             1107 drivers/media/usb/usbvision/usbvision-video.c static int usbvision_radio_close(struct file *file)
file             1109 drivers/media/usb/usbvision/usbvision-video.c 	struct usb_usbvision *usbvision = video_drvdata(file);
file             1129 drivers/media/usb/usbvision/usbvision-video.c 		v4l2_fh_release(file);
file             1135 drivers/media/usb/usbvision/usbvision-video.c 	return v4l2_fh_release(file);
file               27 drivers/media/usb/uvc/uvc_debugfs.c static int uvc_debugfs_stats_open(struct inode *inode, struct file *file)
file               38 drivers/media/usb/uvc/uvc_debugfs.c 	file->private_data = buf;
file               42 drivers/media/usb/uvc/uvc_debugfs.c static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf,
file               45 drivers/media/usb/uvc/uvc_debugfs.c 	struct uvc_debugfs_buffer *buf = file->private_data;
file               51 drivers/media/usb/uvc/uvc_debugfs.c static int uvc_debugfs_stats_release(struct inode *inode, struct file *file)
file               53 drivers/media/usb/uvc/uvc_debugfs.c 	kfree(file->private_data);
file               54 drivers/media/usb/uvc/uvc_debugfs.c 	file->private_data = NULL;
file               25 drivers/media/usb/uvc/uvc_metadata.c static int uvc_meta_v4l2_querycap(struct file *file, void *fh,
file               28 drivers/media/usb/uvc/uvc_metadata.c 	struct v4l2_fh *vfh = file->private_data;
file               41 drivers/media/usb/uvc/uvc_metadata.c static int uvc_meta_v4l2_get_format(struct file *file, void *fh,
file               44 drivers/media/usb/uvc/uvc_metadata.c 	struct v4l2_fh *vfh = file->private_data;
file               59 drivers/media/usb/uvc/uvc_metadata.c static int uvc_meta_v4l2_try_format(struct file *file, void *fh,
file               62 drivers/media/usb/uvc/uvc_metadata.c 	struct v4l2_fh *vfh = file->private_data;
file               80 drivers/media/usb/uvc/uvc_metadata.c static int uvc_meta_v4l2_set_format(struct file *file, void *fh,
file               83 drivers/media/usb/uvc/uvc_metadata.c 	struct v4l2_fh *vfh = file->private_data;
file               88 drivers/media/usb/uvc/uvc_metadata.c 	ret = uvc_meta_v4l2_try_format(file, fh, format);
file              109 drivers/media/usb/uvc/uvc_metadata.c static int uvc_meta_v4l2_enum_formats(struct file *file, void *fh,
file              112 drivers/media/usb/uvc/uvc_metadata.c 	struct v4l2_fh *vfh = file->private_data;
file              372 drivers/media/usb/uvc/uvc_queue.c __poll_t uvc_queue_poll(struct uvc_video_queue *queue, struct file *file,
file              378 drivers/media/usb/uvc/uvc_queue.c 	ret = vb2_poll(&queue->queue, file, wait);
file              508 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_v4l2_open(struct file *file)
file              515 drivers/media/usb/uvc/uvc_v4l2.c 	stream = video_drvdata(file);
file              547 drivers/media/usb/uvc/uvc_v4l2.c 	file->private_data = handle;
file              552 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_v4l2_release(struct file *file)
file              554 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file              568 drivers/media/usb/uvc/uvc_v4l2.c 	file->private_data = NULL;
file              579 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_querycap(struct file *file, void *fh,
file              582 drivers/media/usb/uvc/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              583 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file              620 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_enum_fmt_vid_cap(struct file *file, void *fh,
file              629 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_enum_fmt_vid_out(struct file *file, void *fh,
file              638 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_fmt_vid_cap(struct file *file, void *fh,
file              647 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_fmt_vid_out(struct file *file, void *fh,
file              656 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_fmt_vid_cap(struct file *file, void *fh,
file              670 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_fmt_vid_out(struct file *file, void *fh,
file              684 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_try_fmt_vid_cap(struct file *file, void *fh,
file              694 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_try_fmt_vid_out(struct file *file, void *fh,
file              704 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_reqbufs(struct file *file, void *fh,
file              727 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_querybuf(struct file *file, void *fh,
file              739 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file              751 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_expbuf(struct file *file, void *fh,
file              763 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_dqbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
file              772 drivers/media/usb/uvc/uvc_v4l2.c 				  file->f_flags & O_NONBLOCK);
file              775 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_create_bufs(struct file *file, void *fh,
file              789 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_streamon(struct file *file, void *fh,
file              806 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_streamoff(struct file *file, void *fh,
file              822 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_enum_input(struct file *file, void *fh,
file              863 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_input(struct file *file, void *fh, unsigned int *input)
file              886 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_input(struct file *file, void *fh, unsigned int input)
file              913 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_queryctrl(struct file *file, void *fh,
file              922 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_query_ext_ctrl(struct file *file, void *fh,
file              951 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_ctrl(struct file *file, void *fh,
file              975 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_ctrl(struct file *file, void *fh,
file             1005 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_ext_ctrls(struct file *file, void *fh,
file             1082 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_ext_ctrls(struct file *file, void *fh,
file             1090 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_try_ext_ctrls(struct file *file, void *fh,
file             1098 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_querymenu(struct file *file, void *fh,
file             1107 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_selection(struct file *file, void *fh,
file             1141 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_parm(struct file *file, void *fh,
file             1150 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_parm(struct file *file, void *fh,
file             1164 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_enum_framesizes(struct file *file, void *fh,
file             1204 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_enum_frameintervals(struct file *file, void *fh,
file             1276 drivers/media/usb/uvc/uvc_v4l2.c static long uvc_ioctl_default(struct file *file, void *fh, bool valid_prio,
file             1382 drivers/media/usb/uvc/uvc_v4l2.c static long uvc_v4l2_compat_ioctl32(struct file *file,
file             1385 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file             1427 drivers/media/usb/uvc/uvc_v4l2.c static ssize_t uvc_v4l2_read(struct file *file, char __user *data,
file             1434 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma)
file             1436 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file             1444 drivers/media/usb/uvc/uvc_v4l2.c static __poll_t uvc_v4l2_poll(struct file *file, poll_table *wait)
file             1446 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file             1451 drivers/media/usb/uvc/uvc_v4l2.c 	return uvc_queue_poll(&stream->queue, file, wait);
file             1455 drivers/media/usb/uvc/uvc_v4l2.c static unsigned long uvc_v4l2_get_unmapped_area(struct file *file,
file             1459 drivers/media/usb/uvc/uvc_v4l2.c 	struct uvc_fh *handle = file->private_data;
file              772 drivers/media/usb/uvc/uvcvideo.h __poll_t uvc_queue_poll(struct uvc_video_queue *queue, struct file *file,
file              436 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_streamon(struct file *file, void *priv,
file              439 drivers/media/usb/zr364xx/zr364xx.c static ssize_t zr364xx_read(struct file *file, char __user *buf, size_t count,
file              442 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              456 drivers/media/usb/zr364xx/zr364xx.c 	err = zr364xx_vidioc_streamon(file, file->private_data,
file              464 drivers/media/usb/zr364xx/zr364xx.c 					file->f_flags & O_NONBLOCK);
file              686 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_querycap(struct file *file, void *priv,
file              689 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              699 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_enum_input(struct file *file, void *priv,
file              709 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_g_input(struct file *file, void *priv,
file              716 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_s_input(struct file *file, void *priv,
file              744 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_enum_fmt_vid_cap(struct file *file,
file              763 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              766 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              794 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              799 drivers/media/usb/zr364xx/zr364xx.c 	if (!file)
file              801 drivers/media/usb/zr364xx/zr364xx.c 	cam = video_drvdata(file);
file              813 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              816 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              819 drivers/media/usb/zr364xx/zr364xx.c 	int ret = zr364xx_vidioc_try_fmt_vid_cap(file, cam, f);
file              907 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_reqbufs(struct file *file, void *priv,
file              910 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              917 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_querybuf(struct file *file,
file              922 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              927 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_qbuf(struct file *file,
file              932 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              940 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_dqbuf(struct file *file,
file              945 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file              949 drivers/media/usb/zr364xx/zr364xx.c 	rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK);
file             1122 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_streamon(struct file *file, void *priv,
file             1125 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file             1142 drivers/media/usb/zr364xx/zr364xx.c 		cam->owner = file->private_data;
file             1147 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_vidioc_streamoff(struct file *file, void *priv,
file             1150 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file             1163 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_open(struct file *file)
file             1165 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file             1173 drivers/media/usb/zr364xx/zr364xx.c 	err = v4l2_fh_open(file);
file             1215 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_close(struct file *file)
file             1222 drivers/media/usb/zr364xx/zr364xx.c 	cam = video_drvdata(file);
file             1227 drivers/media/usb/zr364xx/zr364xx.c 	if (file->private_data == cam->owner) {
file             1246 drivers/media/usb/zr364xx/zr364xx.c 	return v4l2_fh_release(file);
file             1250 drivers/media/usb/zr364xx/zr364xx.c static int zr364xx_mmap(struct file *file, struct vm_area_struct *vma)
file             1252 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file             1269 drivers/media/usb/zr364xx/zr364xx.c static __poll_t zr364xx_poll(struct file *file,
file             1272 drivers/media/usb/zr364xx/zr364xx.c 	struct zr364xx_camera *cam = video_drvdata(file);
file             1274 drivers/media/usb/zr364xx/zr364xx.c 	__poll_t res = v4l2_ctrl_poll(file, wait);
file             1278 drivers/media/usb/zr364xx/zr364xx.c 	return res | videobuf_poll_stream(file, q, wait);
file              112 drivers/media/v4l2-core/v4l2-compat-ioctl32.c static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              116 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (file->f_op->unlocked_ioctl)
file              117 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		ret = file->f_op->unlocked_ioctl(file, cmd, arg);
file              863 drivers/media/v4l2-core/v4l2-compat-ioctl32.c static inline bool ctrl_is_pointer(struct file *file, u32 id)
file              865 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	struct video_device *vdev = video_devdata(file);
file              872 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		fh = file->private_data;
file              888 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	return !ops->vidioc_query_ext_ctrl(file, fh, &qec) &&
file              906 drivers/media/v4l2-core/v4l2-compat-ioctl32.c static int get_v4l2_ext_controls32(struct file *file,
file              950 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		if (ctrl_is_pointer(file, id)) {
file              965 drivers/media/v4l2-core/v4l2-compat-ioctl32.c static int put_v4l2_ext_controls32(struct file *file,
file             1018 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		if (ctrl_is_pointer(file, id))
file             1178 drivers/media/v4l2-core/v4l2-compat-ioctl32.c static long do_video_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1334 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			err = get_v4l2_ext_controls32(file, new_p64, p32,
file             1357 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		err = native_ioctl(file, ncmd, (unsigned long)p32);
file             1359 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		err = native_ioctl(file, ncmd, (unsigned long)new_p64);
file             1378 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		if (put_v4l2_ext_controls32(file, new_p64, p32))
file             1457 drivers/media/v4l2-core/v4l2-compat-ioctl32.c long v4l2_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
file             1459 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	struct video_device *vdev = video_devdata(file);
file             1462 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (!file->f_op->unlocked_ioctl)
file             1466 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		ret = do_video_ioctl(file, cmd, arg);
file             1468 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		ret = vdev->fops->compat_ioctl32(file, cmd, arg);
file             4383 drivers/media/v4l2-core/v4l2-ctrls.c int v4l2_ctrl_log_status(struct file *file, void *fh)
file             4385 drivers/media/v4l2-core/v4l2-ctrls.c 	struct video_device *vfd = video_devdata(file);
file             4386 drivers/media/v4l2-core/v4l2-ctrls.c 	struct v4l2_fh *vfh = file->private_data;
file             4413 drivers/media/v4l2-core/v4l2-ctrls.c __poll_t v4l2_ctrl_poll(struct file *file, struct poll_table_struct *wait)
file             4415 drivers/media/v4l2-core/v4l2-ctrls.c 	struct v4l2_fh *fh = file->private_data;
file             4417 drivers/media/v4l2-core/v4l2-ctrls.c 	poll_wait(file, &fh->wait, wait);
file              234 drivers/media/v4l2-core/v4l2-dev.c struct video_device *video_devdata(struct file *file)
file              236 drivers/media/v4l2-core/v4l2-dev.c 	return video_devices[iminor(file_inode(file))];
file              304 drivers/media/v4l2-core/v4l2-dev.c static ssize_t v4l2_read(struct file *filp, char __user *buf,
file              321 drivers/media/v4l2-core/v4l2-dev.c static ssize_t v4l2_write(struct file *filp, const char __user *buf,
file              338 drivers/media/v4l2-core/v4l2-dev.c static __poll_t v4l2_poll(struct file *filp, struct poll_table_struct *poll)
file              353 drivers/media/v4l2-core/v4l2-dev.c static long v4l2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              370 drivers/media/v4l2-core/v4l2-dev.c static unsigned long v4l2_get_unmapped_area(struct file *filp,
file              389 drivers/media/v4l2-core/v4l2-dev.c static int v4l2_mmap(struct file *filp, struct vm_area_struct *vm)
file              405 drivers/media/v4l2-core/v4l2-dev.c static int v4l2_open(struct inode *inode, struct file *filp)
file              438 drivers/media/v4l2-core/v4l2-dev.c static int v4l2_release(struct inode *inode, struct file *filp)
file               55 drivers/media/v4l2-core/v4l2-fh.c int v4l2_fh_open(struct file *filp)
file               91 drivers/media/v4l2-core/v4l2-fh.c int v4l2_fh_release(struct file *filp)
file              933 drivers/media/v4l2-core/v4l2-ioctl.c static int check_fmt(struct file *file, enum v4l2_buf_type type)
file              935 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1048 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1051 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1058 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_querycap(file, fh, cap);
file             1079 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1081 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1087 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_input(file, fh, *(unsigned int *)arg);
file             1091 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1093 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_output(file, fh, *(unsigned int *)arg);
file             1097 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1102 drivers/media/v4l2-core/v4l2-ioctl.c 	vfd = video_devdata(file);
file             1108 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1114 drivers/media/v4l2-core/v4l2-ioctl.c 	vfd = video_devdata(file);
file             1117 drivers/media/v4l2-core/v4l2-ioctl.c 	vfh = file->private_data;
file             1122 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1124 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1136 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_enum_input(file, fh, p);
file             1140 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1142 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1154 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_enum_output(file, fh, p);
file             1402 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1404 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vdev = video_devdata(file);
file             1406 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1424 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_vid_cap(file, fh, arg);
file             1429 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_vid_overlay(file, fh, arg);
file             1441 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_vid_out(file, fh, arg);
file             1446 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_sdr_cap(file, fh, arg);
file             1451 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_sdr_out(file, fh, arg);
file             1456 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_meta_cap(file, fh, arg);
file             1461 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_enum_fmt_meta_out(file, fh, arg);
file             1485 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1488 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1489 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1523 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_g_fmt_vid_cap(file, fh, arg);
file             1530 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vid_cap_mplane(file, fh, arg);
file             1532 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vid_overlay(file, fh, arg);
file             1534 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vbi_cap(file, fh, arg);
file             1536 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_sliced_vbi_cap(file, fh, arg);
file             1541 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_g_fmt_vid_out(file, fh, arg);
file             1546 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vid_out_mplane(file, fh, arg);
file             1548 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vid_out_overlay(file, fh, arg);
file             1550 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_vbi_out(file, fh, arg);
file             1552 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_sliced_vbi_out(file, fh, arg);
file             1554 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_sdr_cap(file, fh, arg);
file             1556 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_sdr_out(file, fh, arg);
file             1558 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_meta_cap(file, fh, arg);
file             1560 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_fmt_meta_out(file, fh, arg);
file             1566 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1569 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1570 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1586 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_s_fmt_vid_cap(file, fh, arg);
file             1599 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vid_cap_mplane(file, fh, arg);
file             1604 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vid_overlay(file, fh, arg);
file             1609 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vbi_cap(file, fh, arg);
file             1614 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_sliced_vbi_cap(file, fh, arg);
file             1619 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_s_fmt_vid_out(file, fh, arg);
file             1630 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vid_out_mplane(file, fh, arg);
file             1635 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vid_out_overlay(file, fh, arg);
file             1640 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_vbi_out(file, fh, arg);
file             1645 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_sliced_vbi_out(file, fh, arg);
file             1650 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_sdr_cap(file, fh, arg);
file             1655 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_sdr_out(file, fh, arg);
file             1660 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_meta_cap(file, fh, arg);
file             1665 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_fmt_meta_out(file, fh, arg);
file             1671 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1674 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1675 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1688 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_try_fmt_vid_cap(file, fh, arg);
file             1701 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vid_cap_mplane(file, fh, arg);
file             1706 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vid_overlay(file, fh, arg);
file             1711 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vbi_cap(file, fh, arg);
file             1716 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_sliced_vbi_cap(file, fh, arg);
file             1721 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_try_fmt_vid_out(file, fh, arg);
file             1732 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vid_out_mplane(file, fh, arg);
file             1737 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vid_out_overlay(file, fh, arg);
file             1742 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_vbi_out(file, fh, arg);
file             1747 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_sliced_vbi_out(file, fh, arg);
file             1752 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_sdr_cap(file, fh, arg);
file             1757 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_sdr_out(file, fh, arg);
file             1762 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_meta_cap(file, fh, arg);
file             1767 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_try_fmt_meta_out(file, fh, arg);
file             1773 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1775 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_streamon(file, fh, *(unsigned int *)arg);
file             1779 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1781 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_streamoff(file, fh, *(unsigned int *)arg);
file             1785 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1787 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1793 drivers/media/v4l2-core/v4l2-ioctl.c 	err = ops->vidioc_g_tuner(file, fh, p);
file             1800 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1802 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1811 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_tuner(file, fh, p);
file             1815 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1817 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1824 drivers/media/v4l2-core/v4l2-ioctl.c 	err = ops->vidioc_g_modulator(file, fh, p);
file             1831 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1833 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1839 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_modulator(file, fh, p);
file             1843 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1845 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1853 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_g_frequency(file, fh, p);
file             1857 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1859 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1876 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_frequency(file, fh, p);
file             1880 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1882 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1889 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1891 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1903 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_std(file, fh, norm);
file             1907 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1909 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1925 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_querystd(file, fh, arg);
file             1929 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1931 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             1947 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_hw_freq_seek(file, fh, p);
file             1951 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1953 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_overlay(file, fh, *(unsigned int *)arg);
file             1957 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1960 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1967 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_reqbufs(file, fh, p);
file             1971 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1974 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1976 drivers/media/v4l2-core/v4l2-ioctl.c 	return ret ? ret : ops->vidioc_querybuf(file, fh, p);
file             1980 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1983 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1985 drivers/media/v4l2-core/v4l2-ioctl.c 	return ret ? ret : ops->vidioc_qbuf(file, fh, p);
file             1989 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             1992 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             1994 drivers/media/v4l2-core/v4l2-ioctl.c 	return ret ? ret : ops->vidioc_dqbuf(file, fh, p);
file             1998 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2001 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, create->format.type);
file             2010 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_create_bufs(file, fh, create);
file             2020 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2023 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, b->type);
file             2025 drivers/media/v4l2-core/v4l2-ioctl.c 	return ret ? ret : ops->vidioc_prepare_buf(file, fh, b);
file             2029 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2033 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             2038 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_parm(file, fh, p);
file             2043 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_g_std(file, fh, &std);
file             2050 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2053 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             2070 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_s_parm(file, fh, p);
file             2074 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2076 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2086 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_queryctrl(file, fh, p);
file             2091 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2093 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2103 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_query_ext_ctrl(file, fh, p);
file             2108 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2110 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2120 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_querymenu(file, fh, p);
file             2125 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2127 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2139 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_ctrl(file, fh, p);
file             2149 drivers/media/v4l2-core/v4l2-ioctl.c 		int ret = ops->vidioc_g_ext_ctrls(file, fh, &ctrls);
file             2159 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2161 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2173 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_ctrl(file, fh, p);
file             2183 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_ext_ctrls(file, fh, &ctrls);
file             2188 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2190 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2204 drivers/media/v4l2-core/v4l2-ioctl.c 	return check_ext_ctrls(p, 0) ? ops->vidioc_g_ext_ctrls(file, fh, p) :
file             2209 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2211 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2225 drivers/media/v4l2-core/v4l2-ioctl.c 	return check_ext_ctrls(p, 0) ? ops->vidioc_s_ext_ctrls(file, fh, p) :
file             2230 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2232 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2246 drivers/media/v4l2-core/v4l2-ioctl.c 	return check_ext_ctrls(p, 0) ? ops->vidioc_try_ext_ctrls(file, fh, p) :
file             2260 drivers/media/v4l2-core/v4l2-ioctl.c 			   struct file *file, void *fh, void *arg)
file             2270 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_g_selection(file, fh, p);
file             2276 drivers/media/v4l2-core/v4l2-ioctl.c 			   struct file *file, void *fh, void *arg)
file             2286 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_s_selection(file, fh, p);
file             2292 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2294 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2313 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = v4l_g_selection(ops, file, fh, &s);
file             2322 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2324 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2343 drivers/media/v4l2-core/v4l2-ioctl.c 	return v4l_s_selection(ops, file, fh, &s);
file             2347 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2349 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2371 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_g_pixelaspect(file, fh, s.type,
file             2393 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = v4l_g_selection(ops, file, fh, &s);
file             2404 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = v4l_g_selection(ops, file, fh, &s);
file             2413 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2415 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2421 drivers/media/v4l2-core/v4l2-ioctl.c 	ret = ops->vidioc_log_status(file, fh);
file             2429 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2433 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2449 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_g_register(file, fh, p);
file             2457 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2461 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2477 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_s_register(file, fh, p);
file             2485 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2488 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2501 drivers/media/v4l2-core/v4l2-ioctl.c 			return ops->vidioc_g_chip_info(file, fh, arg);
file             2528 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2530 drivers/media/v4l2-core/v4l2-ioctl.c 	return v4l2_event_dequeue(fh, arg, file->f_flags & O_NONBLOCK);
file             2534 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2540 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2546 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2549 drivers/media/v4l2-core/v4l2-ioctl.c 	int ret = check_fmt(file, p->type);
file             2557 drivers/media/v4l2-core/v4l2-ioctl.c 	return ops->vidioc_g_sliced_vbi_cap(file, fh, p);
file             2561 drivers/media/v4l2-core/v4l2-ioctl.c 				struct file *file, void *fh, void *arg)
file             2563 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2579 drivers/media/v4l2-core/v4l2-ioctl.c 		err = ops->vidioc_enum_freq_bands(file, fh, p);
file             2591 drivers/media/v4l2-core/v4l2-ioctl.c 		err = ops->vidioc_g_tuner(file, fh, &t);
file             2610 drivers/media/v4l2-core/v4l2-ioctl.c 		err = ops->vidioc_g_modulator(file, fh, &m);
file             2627 drivers/media/v4l2-core/v4l2-ioctl.c 	int (*func)(const struct v4l2_ioctl_ops *ops, struct file *file,
file             2649 drivers/media/v4l2-core/v4l2-ioctl.c 			struct file *file, void *fh, void *p)	\
file             2651 drivers/media/v4l2-core/v4l2-ioctl.c 		return ops->vidioc_ ## _vidioc(file, fh, p);	\
file             2841 drivers/media/v4l2-core/v4l2-ioctl.c static long __video_do_ioctl(struct file *file,
file             2844 drivers/media/v4l2-core/v4l2-ioctl.c 	struct video_device *vfd = video_devdata(file);
file             2851 drivers/media/v4l2-core/v4l2-ioctl.c 	void *fh = file->private_data;
file             2863 drivers/media/v4l2-core/v4l2-ioctl.c 		vfh = file->private_data;
file             2913 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = info->func(ops, file, fh, arg);
file             2917 drivers/media/v4l2-core/v4l2-ioctl.c 		ret = ops->vidioc_default(file, fh,
file             3015 drivers/media/v4l2-core/v4l2-ioctl.c video_usercopy(struct file *file, unsigned int cmd, unsigned long arg,
file             3095 drivers/media/v4l2-core/v4l2-ioctl.c 	err = func(file, cmd, parg);
file             3103 drivers/media/v4l2-core/v4l2-ioctl.c 			trace_v4l2_dqbuf(video_devdata(file)->minor, parg);
file             3105 drivers/media/v4l2-core/v4l2-ioctl.c 			trace_v4l2_qbuf(video_devdata(file)->minor, parg);
file             3136 drivers/media/v4l2-core/v4l2-ioctl.c long video_ioctl2(struct file *file,
file             3139 drivers/media/v4l2-core/v4l2-ioctl.c 	return video_usercopy(file, cmd, arg, __video_do_ioctl);
file              446 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              457 drivers/media/v4l2-core/v4l2-mem2mem.c 		vq->owner = reqbufs->count ? file->private_data : NULL;
file              463 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              488 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              491 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct video_device *vdev = video_devdata(file);
file              510 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              516 drivers/media/v4l2-core/v4l2-mem2mem.c 	return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK);
file              520 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              523 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct video_device *vdev = video_devdata(file);
file              531 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              541 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              551 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              566 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              606 drivers/media/v4l2-core/v4l2-mem2mem.c static __poll_t v4l2_m2m_poll_for_data(struct file *file,
file              618 drivers/media/v4l2-core/v4l2-mem2mem.c 	poll_wait(file, &src_q->done_wq, wait);
file              619 drivers/media/v4l2-core/v4l2-mem2mem.c 	poll_wait(file, &dst_q->done_wq, wait);
file              666 drivers/media/v4l2-core/v4l2-mem2mem.c __poll_t v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              669 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct video_device *vfd = video_devdata(file);
file              674 drivers/media/v4l2-core/v4l2-mem2mem.c 		rc = v4l2_m2m_poll_for_data(file, m2m_ctx, wait);
file              677 drivers/media/v4l2-core/v4l2-mem2mem.c 		struct v4l2_fh *fh = file->private_data;
file              679 drivers/media/v4l2-core/v4l2-mem2mem.c 		poll_wait(file, &fh->wait, wait);
file              688 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file             1047 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv,
file             1050 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1052 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_reqbufs(file, fh->m2m_ctx, rb);
file             1056 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_create_bufs(struct file *file, void *priv,
file             1059 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1061 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_create_bufs(file, fh->m2m_ctx, create);
file             1065 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_querybuf(struct file *file, void *priv,
file             1068 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1070 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_querybuf(file, fh->m2m_ctx, buf);
file             1074 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_qbuf(struct file *file, void *priv,
file             1077 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1079 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_qbuf(file, fh->m2m_ctx, buf);
file             1083 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_dqbuf(struct file *file, void *priv,
file             1086 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1088 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_dqbuf(file, fh->m2m_ctx, buf);
file             1092 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *priv,
file             1095 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1097 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_prepare_buf(file, fh->m2m_ctx, buf);
file             1101 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_expbuf(struct file *file, void *priv,
file             1104 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1106 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_expbuf(file, fh->m2m_ctx, eb);
file             1110 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_streamon(struct file *file, void *priv,
file             1113 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1115 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_streamon(file, fh->m2m_ctx, type);
file             1119 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_streamoff(struct file *file, void *priv,
file             1122 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1124 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_streamoff(file, fh->m2m_ctx, type);
file             1128 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_try_encoder_cmd(struct file *file, void *fh,
file             1139 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_ioctl_try_decoder_cmd(struct file *file, void *fh,
file             1162 drivers/media/v4l2-core/v4l2-mem2mem.c int v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma)
file             1164 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1166 drivers/media/v4l2-core/v4l2-mem2mem.c 	return v4l2_m2m_mmap(file, fh->m2m_ctx, vma);
file             1170 drivers/media/v4l2-core/v4l2-mem2mem.c __poll_t v4l2_m2m_fop_poll(struct file *file, poll_table *wait)
file             1172 drivers/media/v4l2-core/v4l2-mem2mem.c 	struct v4l2_fh *fh = file->private_data;
file             1179 drivers/media/v4l2-core/v4l2-mem2mem.c 	ret = v4l2_m2m_poll(file, m2m_ctx, wait);
file               45 drivers/media/v4l2-core/v4l2-subdev.c static int subdev_open(struct file *file)
file               47 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file               64 drivers/media/v4l2-core/v4l2-subdev.c 	file->private_data = &subdev_fh->vfh;
file               96 drivers/media/v4l2-core/v4l2-subdev.c static int subdev_close(struct file *file)
file               98 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file              100 drivers/media/v4l2-core/v4l2-subdev.c 	struct v4l2_fh *vfh = file->private_data;
file              110 drivers/media/v4l2-core/v4l2-subdev.c 	file->private_data = NULL;
file              327 drivers/media/v4l2-core/v4l2-subdev.c static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg)
file              329 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file              331 drivers/media/v4l2-core/v4l2-subdev.c 	struct v4l2_fh *vfh = file->private_data;
file              393 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK);
file              614 drivers/media/v4l2-core/v4l2-subdev.c static long subdev_do_ioctl_lock(struct file *file, unsigned int cmd, void *arg)
file              616 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file              623 drivers/media/v4l2-core/v4l2-subdev.c 		ret = subdev_do_ioctl(file, cmd, arg);
file              629 drivers/media/v4l2-core/v4l2-subdev.c static long subdev_ioctl(struct file *file, unsigned int cmd,
file              632 drivers/media/v4l2-core/v4l2-subdev.c 	return video_usercopy(file, cmd, arg, subdev_do_ioctl_lock);
file              636 drivers/media/v4l2-core/v4l2-subdev.c static long subdev_compat_ioctl32(struct file *file, unsigned int cmd,
file              639 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file              646 drivers/media/v4l2-core/v4l2-subdev.c static __poll_t subdev_poll(struct file *file, poll_table *wait)
file              648 drivers/media/v4l2-core/v4l2-subdev.c 	struct video_device *vdev = video_devdata(file);
file              650 drivers/media/v4l2-core/v4l2-subdev.c 	struct v4l2_fh *fh = file->private_data;
file              655 drivers/media/v4l2-core/v4l2-subdev.c 	poll_wait(file, &fh->wait, wait);
file             1118 drivers/media/v4l2-core/videobuf-core.c __poll_t videobuf_poll_stream(struct file *file,
file             1146 drivers/media/v4l2-core/videobuf-core.c 		poll_wait(file, &buf->done, wait);
file              134 drivers/memory/emif.c static int emif_regdump_open(struct inode *inode, struct file *file)
file              136 drivers/memory/emif.c 	return single_open(file, emif_regdump_show, inode->i_private);
file              153 drivers/memory/emif.c static int emif_mr4_open(struct inode *inode, struct file *file)
file              155 drivers/memory/emif.c 	return single_open(file, emif_mr4_show, inode->i_private);
file             1042 drivers/memory/tegra/tegra124-emc.c 					  struct file *file)
file             1044 drivers/memory/tegra/tegra124-emc.c 	return single_open(file, emc_debug_supported_rates_show,
file             1057 drivers/memory/tegra/tegra124-emc.c 	struct dentry *root, *file;
file             1072 drivers/memory/tegra/tegra124-emc.c 	file = debugfs_create_file("rate", S_IRUGO | S_IWUSR, root, clk,
file             1074 drivers/memory/tegra/tegra124-emc.c 	if (!file)
file             1077 drivers/memory/tegra/tegra124-emc.c 	file = debugfs_create_file("supported_rates", S_IRUGO, root, emc,
file             1079 drivers/memory/tegra/tegra124-emc.c 	if (!file)
file              121 drivers/message/fusion/mptctl.c static long compat_mpctl_ioctl(struct file *f, unsigned cmd, unsigned long arg);
file              600 drivers/message/fusion/mptctl.c mptctl_fasync(int fd, struct file *filep, int mode)
file              621 drivers/message/fusion/mptctl.c __mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              627 drivers/message/fusion/mptctl.c 	int nonblock = (file->f_flags & O_NONBLOCK);
file              699 drivers/message/fusion/mptctl.c mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              703 drivers/message/fusion/mptctl.c 	ret = __mptctl_ioctl(file, cmd, arg);
file             2712 drivers/message/fusion/mptctl.c compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd,
file             2752 drivers/message/fusion/mptctl.c compat_mpt_command(struct file *filp, unsigned int cmd,
file             2805 drivers/message/fusion/mptctl.c static long compat_mpctl_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
file              251 drivers/mfd/aat2870-core.c static ssize_t aat2870_reg_read_file(struct file *file, char __user *user_buf,
file              254 drivers/mfd/aat2870-core.c 	struct aat2870_data *aat2870 = file->private_data;
file              271 drivers/mfd/aat2870-core.c static ssize_t aat2870_reg_write_file(struct file *file,
file              275 drivers/mfd/aat2870-core.c 	struct aat2870_data *aat2870 = file->private_data;
file              469 drivers/mfd/ab3100-core.c static int ab3100_registers_open(struct inode *inode, struct file *file)
file              471 drivers/mfd/ab3100-core.c 	return single_open(file, ab3100_registers_print, inode->i_private);
file              487 drivers/mfd/ab3100-core.c static ssize_t ab3100_get_set_reg(struct file *file,
file              491 drivers/mfd/ab3100-core.c 	struct ab3100_get_set_reg_priv *priv = file->private_data;
file              113 drivers/mfd/ab3100-otp.c static int ab3100_otp_open(struct inode *inode, struct file *file)
file              115 drivers/mfd/ab3100-otp.c 	return single_open(file, ab3100_show_otp, inode->i_private);
file             1365 drivers/mfd/ab8500-debugfs.c static int ab8500_all_banks_open(struct inode *inode, struct file *file)
file             1370 drivers/mfd/ab8500-debugfs.c 	err = single_open(file, ab8500_print_all_banks, inode->i_private);
file             1373 drivers/mfd/ab8500-debugfs.c 		s = (struct seq_file *)file->private_data;
file             1377 drivers/mfd/ab8500-debugfs.c 			single_release(inode, file);
file             1398 drivers/mfd/ab8500-debugfs.c static int ab8500_bank_open(struct inode *inode, struct file *file)
file             1400 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_bank_print, inode->i_private);
file             1403 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_bank_write(struct file *file,
file             1407 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             1431 drivers/mfd/ab8500-debugfs.c static int ab8500_address_open(struct inode *inode, struct file *file)
file             1433 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_address_print, inode->i_private);
file             1436 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_address_write(struct file *file,
file             1440 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             1475 drivers/mfd/ab8500-debugfs.c static int ab8500_val_open(struct inode *inode, struct file *file)
file             1477 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_val_print, inode->i_private);
file             1480 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_val_write(struct file *file,
file             1484 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             1580 drivers/mfd/ab8500-debugfs.c static int ab8500_hwreg_open(struct inode *inode, struct file *file)
file             1582 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_hwreg_print, inode->i_private);
file             2097 drivers/mfd/ab8500-debugfs.c static int ab8500_gpadc_avg_sample_open(struct inode *inode, struct file *file)
file             2099 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_gpadc_avg_sample_print,
file             2103 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_gpadc_avg_sample_write(struct file *file,
file             2107 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2144 drivers/mfd/ab8500-debugfs.c static int ab8500_gpadc_trig_edge_open(struct inode *inode, struct file *file)
file             2146 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_gpadc_trig_edge_print,
file             2150 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_gpadc_trig_edge_write(struct file *file,
file             2154 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2191 drivers/mfd/ab8500-debugfs.c static int ab8500_gpadc_trig_timer_open(struct inode *inode, struct file *file)
file             2193 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_gpadc_trig_timer_print,
file             2197 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_gpadc_trig_timer_write(struct file *file,
file             2201 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2236 drivers/mfd/ab8500-debugfs.c static int ab8500_gpadc_conv_type_open(struct inode *inode, struct file *file)
file             2238 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_gpadc_conv_type_print,
file             2242 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_gpadc_conv_type_write(struct file *file,
file             2246 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2430 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_hwreg_write(struct file *file,
file             2433 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2459 drivers/mfd/ab8500-debugfs.c 					     struct file *file)
file             2461 drivers/mfd/ab8500-debugfs.c 	return single_open(file, ab8500_subscribe_unsubscribe_print,
file             2487 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_subscribe_write(struct file *file,
file             2491 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file             2549 drivers/mfd/ab8500-debugfs.c static ssize_t ab8500_unsubscribe_write(struct file *file,
file             2553 drivers/mfd/ab8500-debugfs.c 	struct device *dev = ((struct seq_file *)(file->private_data))->private;
file               64 drivers/mfd/tps65010.c 	struct dentry		*file;
file              286 drivers/mfd/tps65010.c static int dbg_tps_open(struct inode *inode, struct file *file)
file              288 drivers/mfd/tps65010.c 	return single_open(file, dbg_show, inode->i_private);
file              519 drivers/mfd/tps65010.c 	debugfs_remove(tps->file);
file              620 drivers/mfd/tps65010.c 	tps->file = debugfs_create_file(DRIVER_NAME, S_IRUGO, NULL,
file              716 drivers/misc/c2port/core.c static ssize_t c2port_read_flash_data(struct file *filp, struct kobject *kobj,
file              831 drivers/misc/c2port/core.c static ssize_t c2port_write_flash_data(struct file *filp, struct kobject *kobj,
file               56 drivers/misc/cxl/api.c static struct file *cxl_getfile(const char *name,
file               60 drivers/misc/cxl/api.c 	struct file *file;
file               72 drivers/misc/cxl/api.c 		file = ERR_PTR(rc);
file               78 drivers/misc/cxl/api.c 		file = ERR_CAST(inode);
file               82 drivers/misc/cxl/api.c 	file = alloc_file_pseudo(inode, cxl_vfs_mount, name,
file               84 drivers/misc/cxl/api.c 	if (IS_ERR(file))
file               87 drivers/misc/cxl/api.c 	file->private_data = priv;
file               89 drivers/misc/cxl/api.c 	return file;
file               97 drivers/misc/cxl/api.c 	return file;
file              352 drivers/misc/cxl/api.c int cxl_fd_open(struct inode *inode, struct file *file)
file              354 drivers/misc/cxl/api.c 	return afu_open(inode, file);
file              357 drivers/misc/cxl/api.c int cxl_fd_release(struct inode *inode, struct file *file)
file              359 drivers/misc/cxl/api.c 	return afu_release(inode, file);
file              362 drivers/misc/cxl/api.c long cxl_fd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              364 drivers/misc/cxl/api.c 	return afu_ioctl(file, cmd, arg);
file              367 drivers/misc/cxl/api.c int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm)
file              369 drivers/misc/cxl/api.c 	return afu_mmap(file, vm);
file              372 drivers/misc/cxl/api.c __poll_t cxl_fd_poll(struct file *file, struct poll_table_struct *poll)
file              374 drivers/misc/cxl/api.c 	return afu_poll(file, poll);
file              377 drivers/misc/cxl/api.c ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
file              380 drivers/misc/cxl/api.c 	return afu_read(file, buf, count, off);
file              387 drivers/misc/cxl/api.c struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops,
file              390 drivers/misc/cxl/api.c 	struct file *file;
file              421 drivers/misc/cxl/api.c 	file = cxl_getfile(name, fops, ctx, flags);
file              423 drivers/misc/cxl/api.c 	if (IS_ERR(file))
file              426 drivers/misc/cxl/api.c 	cxl_context_set_mapping(ctx, file->f_mapping);
file              428 drivers/misc/cxl/api.c 	return file;
file              436 drivers/misc/cxl/api.c struct cxl_context *cxl_fops_get_context(struct file *file)
file              438 drivers/misc/cxl/api.c 	return file->private_data;
file             1040 drivers/misc/cxl/cxl.h int afu_open(struct inode *inode, struct file *file);
file             1041 drivers/misc/cxl/cxl.h int afu_release(struct inode *inode, struct file *file);
file             1042 drivers/misc/cxl/cxl.h long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             1043 drivers/misc/cxl/cxl.h int afu_mmap(struct file *file, struct vm_area_struct *vm);
file             1044 drivers/misc/cxl/cxl.h __poll_t afu_poll(struct file *file, struct poll_table_struct *poll);
file             1045 drivers/misc/cxl/cxl.h ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off);
file               43 drivers/misc/cxl/file.c static int __afu_open(struct inode *inode, struct file *file, bool master)
file               94 drivers/misc/cxl/file.c 	file->private_data = ctx;
file              107 drivers/misc/cxl/file.c int afu_open(struct inode *inode, struct file *file)
file              109 drivers/misc/cxl/file.c 	return __afu_open(inode, file, false);
file              112 drivers/misc/cxl/file.c static int afu_master_open(struct inode *inode, struct file *file)
file              114 drivers/misc/cxl/file.c 	return __afu_open(inode, file, true);
file              117 drivers/misc/cxl/file.c int afu_release(struct inode *inode, struct file *file)
file              119 drivers/misc/cxl/file.c 	struct cxl_context *ctx = file->private_data;
file              310 drivers/misc/cxl/file.c long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              312 drivers/misc/cxl/file.c 	struct cxl_context *ctx = file->private_data;
file              333 drivers/misc/cxl/file.c static long afu_compat_ioctl(struct file *file, unsigned int cmd,
file              336 drivers/misc/cxl/file.c 	return afu_ioctl(file, cmd, arg);
file              339 drivers/misc/cxl/file.c int afu_mmap(struct file *file, struct vm_area_struct *vm)
file              341 drivers/misc/cxl/file.c 	struct cxl_context *ctx = file->private_data;
file              364 drivers/misc/cxl/file.c __poll_t afu_poll(struct file *file, struct poll_table_struct *poll)
file              366 drivers/misc/cxl/file.c 	struct cxl_context *ctx = file->private_data;
file              371 drivers/misc/cxl/file.c 	poll_wait(file, &ctx->wq, poll);
file              424 drivers/misc/cxl/file.c ssize_t afu_read(struct file *file, char __user *buf, size_t count,
file              427 drivers/misc/cxl/file.c 	struct cxl_context *ctx = file->private_data;
file              452 drivers/misc/cxl/file.c 		if (file->f_flags & O_NONBLOCK) {
file              391 drivers/misc/cxl/flash.c static int device_open(struct inode *inode, struct file *file)
file              410 drivers/misc/cxl/flash.c 	file->private_data = adapter;
file              458 drivers/misc/cxl/flash.c static long device_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              460 drivers/misc/cxl/flash.c 	struct cxl *adapter = file->private_data;
file              476 drivers/misc/cxl/flash.c static long device_compat_ioctl(struct file *file, unsigned int cmd,
file              479 drivers/misc/cxl/flash.c 	return device_ioctl(file, cmd, arg);
file              482 drivers/misc/cxl/flash.c static int device_close(struct inode *inode, struct file *file)
file              484 drivers/misc/cxl/flash.c 	struct cxl *adapter = file->private_data;
file              446 drivers/misc/cxl/sysfs.c static ssize_t afu_eb_read(struct file *filp, struct kobject *kobj,
file              540 drivers/misc/cxl/sysfs.c static ssize_t afu_read_config(struct file *filp, struct kobject *kobj,
file              155 drivers/misc/ds1682.c static ssize_t ds1682_eeprom_read(struct file *filp, struct kobject *kobj,
file              173 drivers/misc/ds1682.c static ssize_t ds1682_eeprom_write(struct file *filp, struct kobject *kobj,
file               92 drivers/misc/eeprom/ee1004.c static ssize_t ee1004_read(struct file *filp, struct kobject *kobj,
file               75 drivers/misc/eeprom/eeprom.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
file              880 drivers/misc/eeprom/idt_89hpesx.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
file              904 drivers/misc/eeprom/idt_89hpesx.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
file              934 drivers/misc/eeprom/idt_89hpesx.c static ssize_t idt_dbgfs_csr_write(struct file *filep, const char __user *ubuf,
file             1028 drivers/misc/eeprom/idt_89hpesx.c static ssize_t idt_dbgfs_csr_read(struct file *filep, char __user *ubuf,
file              106 drivers/misc/eeprom/max6875.c static ssize_t max6875_read(struct file *filp, struct kobject *kobj,
file             1033 drivers/misc/fastrpc.c 	args[2].ptr = (u64) init.file;
file             1128 drivers/misc/fastrpc.c static int fastrpc_device_release(struct inode *inode, struct file *file)
file             1130 drivers/misc/fastrpc.c 	struct fastrpc_user *fl = (struct fastrpc_user *)file->private_data;
file             1160 drivers/misc/fastrpc.c 	file->private_data = NULL;
file             1165 drivers/misc/fastrpc.c static int fastrpc_device_open(struct inode *inode, struct file *filp)
file             1288 drivers/misc/fastrpc.c static long fastrpc_device_ioctl(struct file *file, unsigned int cmd,
file             1291 drivers/misc/fastrpc.c 	struct fastrpc_user *fl = (struct fastrpc_user *)file->private_data;
file              400 drivers/misc/genwqe/card_base.h 	struct file *filp;
file              296 drivers/misc/genwqe/card_dev.c static int genwqe_open(struct inode *inode, struct file *filp)
file              337 drivers/misc/genwqe/card_dev.c static int genwqe_fasync(int fd, struct file *filp, int mode)
file              354 drivers/misc/genwqe/card_dev.c static int genwqe_release(struct inode *inode, struct file *filp)
file              429 drivers/misc/genwqe/card_dev.c static int genwqe_mmap(struct file *filp, struct vm_area_struct *vma)
file              510 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
file              645 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
file              987 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
file             1005 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
file             1041 drivers/misc/genwqe/card_dev.c static long genwqe_ioctl(struct file *filp, unsigned int cmd,
file             1230 drivers/misc/genwqe/card_dev.c static long genwqe_compat_ioctl(struct file *filp, unsigned int cmd,
file              460 drivers/misc/habanalabs/debugfs.c static ssize_t mmu_write(struct file *file, const char __user *buf,
file              463 drivers/misc/habanalabs/debugfs.c 	struct seq_file *s = file->private_data;
file              601 drivers/misc/habanalabs/debugfs.c static ssize_t hl_data_read32(struct file *f, char __user *buf,
file              631 drivers/misc/habanalabs/debugfs.c static ssize_t hl_data_write32(struct file *f, const char __user *buf,
file              660 drivers/misc/habanalabs/debugfs.c static ssize_t hl_get_power_state(struct file *f, char __user *buf,
file              684 drivers/misc/habanalabs/debugfs.c static ssize_t hl_set_power_state(struct file *f, const char __user *buf,
file              712 drivers/misc/habanalabs/debugfs.c static ssize_t hl_i2c_data_read(struct file *f, char __user *buf,
file              740 drivers/misc/habanalabs/debugfs.c static ssize_t hl_i2c_data_write(struct file *f, const char __user *buf,
file              764 drivers/misc/habanalabs/debugfs.c static ssize_t hl_led0_write(struct file *f, const char __user *buf,
file              783 drivers/misc/habanalabs/debugfs.c static ssize_t hl_led1_write(struct file *f, const char __user *buf,
file              802 drivers/misc/habanalabs/debugfs.c static ssize_t hl_led2_write(struct file *f, const char __user *buf,
file              821 drivers/misc/habanalabs/debugfs.c static ssize_t hl_device_read(struct file *f, char __user *buf,
file              829 drivers/misc/habanalabs/debugfs.c static ssize_t hl_device_write(struct file *f, const char __user *buf,
file              910 drivers/misc/habanalabs/debugfs.c static int hl_debugfs_open(struct inode *inode, struct file *file)
file              914 drivers/misc/habanalabs/debugfs.c 	return single_open(file, node->info_ent->show, node);
file              917 drivers/misc/habanalabs/debugfs.c static ssize_t hl_debugfs_write(struct file *file, const char __user *buf,
file              920 drivers/misc/habanalabs/debugfs.c 	struct hl_debugfs_entry *node = file->f_inode->i_private;
file              923 drivers/misc/habanalabs/debugfs.c 		return node->info_ent->write(file, buf, count, f_pos);
file               84 drivers/misc/habanalabs/device.c static int hl_device_release(struct inode *inode, struct file *filp)
file               98 drivers/misc/habanalabs/device.c static int hl_device_release_ctrl(struct inode *inode, struct file *filp)
file              125 drivers/misc/habanalabs/device.c static int hl_mmap(struct file *filp, struct vm_area_struct *vma)
file              927 drivers/misc/habanalabs/habanalabs.h 	struct file		*filp;
file              953 drivers/misc/habanalabs/habanalabs.h 	ssize_t		(*write)(struct file *file, const char __user *buf,
file             1424 drivers/misc/habanalabs/habanalabs.h int hl_device_open(struct inode *inode, struct file *filp);
file             1425 drivers/misc/habanalabs/habanalabs.h int hl_device_open_ctrl(struct inode *inode, struct file *filp);
file             1665 drivers/misc/habanalabs/habanalabs.h long hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
file             1666 drivers/misc/habanalabs/habanalabs.h long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg);
file               82 drivers/misc/habanalabs/habanalabs_drv.c int hl_device_open(struct inode *inode, struct file *filp)
file              173 drivers/misc/habanalabs/habanalabs_drv.c int hl_device_open_ctrl(struct inode *inode, struct file *filp)
file              351 drivers/misc/habanalabs/habanalabs_ioctl.c static long _hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg,
file              424 drivers/misc/habanalabs/habanalabs_ioctl.c long hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file              442 drivers/misc/habanalabs/habanalabs_ioctl.c long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg)
file              316 drivers/misc/habanalabs/sysfs.c static ssize_t eeprom_read_handler(struct file *filp, struct kobject *kobj,
file              439 drivers/misc/hpilo.c static ssize_t ilo_read(struct file *fp, char __user *buf,
file              489 drivers/misc/hpilo.c static ssize_t ilo_write(struct file *fp, const char __user *buf,
file              521 drivers/misc/hpilo.c static __poll_t ilo_poll(struct file *fp, poll_table *wait)
file              536 drivers/misc/hpilo.c static int ilo_close(struct inode *ip, struct file *fp)
file              567 drivers/misc/hpilo.c static int ilo_open(struct inode *ip, struct file *fp)
file              231 drivers/misc/ibmasm/ibmasmfs.c static int command_file_open(struct inode *inode, struct file *file)
file              244 drivers/misc/ibmasm/ibmasmfs.c 	file->private_data = command_data;
file              248 drivers/misc/ibmasm/ibmasmfs.c static int command_file_close(struct inode *inode, struct file *file)
file              250 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_command_data *command_data = file->private_data;
file              259 drivers/misc/ibmasm/ibmasmfs.c static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              261 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_command_data *command_data = file->private_data;
file              296 drivers/misc/ibmasm/ibmasmfs.c static ssize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset)
file              298 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_command_data *command_data = file->private_data;
file              337 drivers/misc/ibmasm/ibmasmfs.c static int event_file_open(struct inode *inode, struct file *file)
file              355 drivers/misc/ibmasm/ibmasmfs.c 	file->private_data = event_data;
file              359 drivers/misc/ibmasm/ibmasmfs.c static int event_file_close(struct inode *inode, struct file *file)
file              361 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_event_data *event_data = file->private_data;
file              368 drivers/misc/ibmasm/ibmasmfs.c static ssize_t event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              370 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_event_data *event_data = file->private_data;
file              411 drivers/misc/ibmasm/ibmasmfs.c static ssize_t event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
file              413 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_event_data *event_data = file->private_data;
file              426 drivers/misc/ibmasm/ibmasmfs.c static int r_heartbeat_file_open(struct inode *inode, struct file *file)
file              440 drivers/misc/ibmasm/ibmasmfs.c 	file->private_data = rhbeat;
file              444 drivers/misc/ibmasm/ibmasmfs.c static int r_heartbeat_file_close(struct inode *inode, struct file *file)
file              446 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_heartbeat_data *rhbeat = file->private_data;
file              452 drivers/misc/ibmasm/ibmasmfs.c static ssize_t r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              454 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_heartbeat_data *rhbeat = file->private_data;
file              480 drivers/misc/ibmasm/ibmasmfs.c static ssize_t r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
file              482 drivers/misc/ibmasm/ibmasmfs.c 	struct ibmasmfs_heartbeat_data *rhbeat = file->private_data;
file              497 drivers/misc/ibmasm/ibmasmfs.c static int remote_settings_file_close(struct inode *inode, struct file *file)
file              502 drivers/misc/ibmasm/ibmasmfs.c static ssize_t remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              504 drivers/misc/ibmasm/ibmasmfs.c 	void __iomem *address = (void __iomem *)file->private_data;
file              515 drivers/misc/ibmasm/ibmasmfs.c static ssize_t remote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset)
file              517 drivers/misc/ibmasm/ibmasmfs.c 	void __iomem *address = (void __iomem *)file->private_data;
file              825 drivers/misc/ibmvmc.c static int ibmvmc_open(struct inode *inode, struct file *file)
file              830 drivers/misc/ibmvmc.c 		 (unsigned long)inode, (unsigned long)file,
file              837 drivers/misc/ibmvmc.c 	session->file = file;
file              838 drivers/misc/ibmvmc.c 	file->private_data = session;
file              853 drivers/misc/ibmvmc.c static int ibmvmc_close(struct inode *inode, struct file *file)
file              861 drivers/misc/ibmvmc.c 		 (unsigned long)file, ibmvmc.state);
file              863 drivers/misc/ibmvmc.c 	session = file->private_data;
file              903 drivers/misc/ibmvmc.c static ssize_t ibmvmc_read(struct file *file, char *buf, size_t nbytes,
file              916 drivers/misc/ibmvmc.c 		 (unsigned long)file, (unsigned long)buf,
file              928 drivers/misc/ibmvmc.c 	session = file->private_data;
file              960 drivers/misc/ibmvmc.c 		if (file->f_flags & O_NONBLOCK) {
file             1005 drivers/misc/ibmvmc.c static unsigned int ibmvmc_poll(struct file *file, poll_table *wait)
file             1011 drivers/misc/ibmvmc.c 	session = file->private_data;
file             1019 drivers/misc/ibmvmc.c 	poll_wait(file, &ibmvmc_read_wait, wait);
file             1039 drivers/misc/ibmvmc.c static ssize_t ibmvmc_write(struct file *file, const char *buffer,
file             1053 drivers/misc/ibmvmc.c 	session = file->private_data;
file             1125 drivers/misc/ibmvmc.c 	file->f_path.dentry->d_inode->i_mtime = current_time(file_inode(file));
file             1126 drivers/misc/ibmvmc.c 	mark_inode_dirty(file->f_path.dentry->d_inode);
file             1129 drivers/misc/ibmvmc.c 		(unsigned long)file, (unsigned long)count);
file             1358 drivers/misc/ibmvmc.c static long ibmvmc_ioctl(struct file *file,
file             1361 drivers/misc/ibmvmc.c 	struct ibmvmc_file_session *session = file->private_data;
file             1364 drivers/misc/ibmvmc.c 		 (unsigned long)file, cmd, arg,
file              198 drivers/misc/ibmvmc.h 	struct file *file;
file              563 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_misc_open(struct inode *inode, struct file *file)
file              565 drivers/misc/lis3lv02d/lis3lv02d.c 	struct lis3lv02d *lis3 = container_of(file->private_data,
file              578 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_misc_release(struct inode *inode, struct file *file)
file              580 drivers/misc/lis3lv02d/lis3lv02d.c 	struct lis3lv02d *lis3 = container_of(file->private_data,
file              589 drivers/misc/lis3lv02d/lis3lv02d.c static ssize_t lis3lv02d_misc_read(struct file *file, char __user *buf,
file              592 drivers/misc/lis3lv02d/lis3lv02d.c 	struct lis3lv02d *lis3 = container_of(file->private_data,
file              610 drivers/misc/lis3lv02d/lis3lv02d.c 		if (file->f_flags & O_NONBLOCK) {
file              641 drivers/misc/lis3lv02d/lis3lv02d.c static __poll_t lis3lv02d_misc_poll(struct file *file, poll_table *wait)
file              643 drivers/misc/lis3lv02d/lis3lv02d.c 	struct lis3lv02d *lis3 = container_of(file->private_data,
file              646 drivers/misc/lis3lv02d/lis3lv02d.c 	poll_wait(file, &lis3->misc_wait, wait);
file              652 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_misc_fasync(int fd, struct file *file, int on)
file              654 drivers/misc/lis3lv02d/lis3lv02d.c 	struct lis3lv02d *lis3 = container_of(file->private_data,
file              657 drivers/misc/lis3lv02d/lis3lv02d.c 	return fasync_helper(fd, file, on, &lis3->async_queue);
file               32 drivers/misc/lkdtm/core.c static int lkdtm_debugfs_open(struct inode *inode, struct file *file);
file               33 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf,
file               35 drivers/misc/lkdtm/core.c static ssize_t direct_entry(struct file *f, const char __user *user_buf,
file               40 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_entry(struct file *f,
file              286 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_entry(struct file *f,
file              326 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf,
file              350 drivers/misc/lkdtm/core.c static int lkdtm_debugfs_open(struct inode *inode, struct file *file)
file              356 drivers/misc/lkdtm/core.c static ssize_t direct_entry(struct file *f, const char __user *user_buf,
file              368 drivers/misc/mei/client.c 					const struct file *fp)
file              427 drivers/misc/mei/client.c static void mei_io_list_free_fp(struct list_head *head, const struct file *fp)
file              448 drivers/misc/mei/client.c 				  const struct file *fp)
file              483 drivers/misc/mei/client.c 					    const struct file *fp)
file              508 drivers/misc/mei/client.c struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp)
file              527 drivers/misc/mei/client.c int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp)
file             1066 drivers/misc/mei/client.c 		   const struct file *fp)
file             1311 drivers/misc/mei/client.c 			  const struct file *fp, u8 request)
file             1463 drivers/misc/mei/client.c int mei_cl_read_start(struct mei_cl *cl, size_t length, const struct file *fp)
file               89 drivers/misc/mei/client.h 				 const struct file *fp);
file               92 drivers/misc/mei/client.h 				  const struct file *fp);
file               95 drivers/misc/mei/client.h 					    const struct file *fp);
file               96 drivers/misc/mei/client.h int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp);
file              191 drivers/misc/mei/client.h 		   const struct file *file);
file              194 drivers/misc/mei/client.h int mei_cl_read_start(struct mei_cl *cl, size_t length, const struct file *fp);
file              206 drivers/misc/mei/client.h 			  const struct file *file, u8 request);
file              115 drivers/misc/mei/debugfs.c static ssize_t mei_dbgfs_write_allow_fa(struct file *file,
file              122 drivers/misc/mei/debugfs.c 	dev = container_of(file->private_data,
file              125 drivers/misc/mei/debugfs.c 	ret = debugfs_write_file_bool(file, user_buf, count, ppos);
file               45 drivers/misc/mei/main.c static int mei_open(struct inode *inode, struct file *file)
file               71 drivers/misc/mei/main.c 	cl->fp = file;
file               72 drivers/misc/mei/main.c 	file->private_data = cl;
file               76 drivers/misc/mei/main.c 	return nonseekable_open(inode, file);
file               91 drivers/misc/mei/main.c static int mei_release(struct inode *inode, struct file *file)
file               93 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              106 drivers/misc/mei/main.c 	mei_cl_flush_queues(cl, file);
file              111 drivers/misc/mei/main.c 	file->private_data = NULL;
file              130 drivers/misc/mei/main.c static ssize_t mei_read(struct file *file, char __user *ubuf,
file              133 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              136 drivers/misc/mei/main.c 	bool nonblock = !!(file->f_flags & O_NONBLOCK);
file              161 drivers/misc/mei/main.c 	cb = mei_cl_read_cb(cl, file);
file              168 drivers/misc/mei/main.c 	rets = mei_cl_read_start(cl, length, file);
file              194 drivers/misc/mei/main.c 	cb = mei_cl_read_cb(cl, file);
file              250 drivers/misc/mei/main.c static ssize_t mei_write(struct file *file, const char __user *ubuf,
file              253 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              292 drivers/misc/mei/main.c 		if (file->f_flags & O_NONBLOCK) {
file              312 drivers/misc/mei/main.c 	cb = mei_cl_alloc_cb(cl, length, MEI_FOP_WRITE, file);
file              342 drivers/misc/mei/main.c static int mei_ioctl_connect_client(struct file *file,
file              351 drivers/misc/mei/main.c 	cl = file->private_data;
file              394 drivers/misc/mei/main.c 	rets = mei_cl_connect(cl, me_cl, file);
file              410 drivers/misc/mei/main.c static int mei_ioctl_client_notify_request(const struct file *file, u32 request)
file              412 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              418 drivers/misc/mei/main.c 	return mei_cl_notify_request(cl, file, (u8)request);
file              429 drivers/misc/mei/main.c static int mei_ioctl_client_notify_get(const struct file *file, u32 *notify_get)
file              431 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              433 drivers/misc/mei/main.c 	bool block = (file->f_flags & O_NONBLOCK) == 0;
file              453 drivers/misc/mei/main.c static long mei_ioctl(struct file *file, unsigned int cmd, unsigned long data)
file              456 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              485 drivers/misc/mei/main.c 		rets = mei_ioctl_connect_client(file, &connect_data);
file              507 drivers/misc/mei/main.c 		rets = mei_ioctl_client_notify_request(file, notify_req);
file              512 drivers/misc/mei/main.c 		rets = mei_ioctl_client_notify_get(file, &notify_get);
file              545 drivers/misc/mei/main.c static long mei_compat_ioctl(struct file *file,
file              548 drivers/misc/mei/main.c 	return mei_ioctl(file, cmd, (unsigned long)compat_ptr(data));
file              561 drivers/misc/mei/main.c static __poll_t mei_poll(struct file *file, poll_table *wait)
file              564 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              585 drivers/misc/mei/main.c 		poll_wait(file, &cl->ev_wait, wait);
file              591 drivers/misc/mei/main.c 		poll_wait(file, &cl->rx_wait, wait);
file              596 drivers/misc/mei/main.c 			mei_cl_read_start(cl, mei_cl_mtu(cl), file);
file              600 drivers/misc/mei/main.c 		poll_wait(file, &cl->tx_wait, wait);
file              641 drivers/misc/mei/main.c static int mei_fsync(struct file *fp, loff_t start, loff_t end, int datasync)
file              692 drivers/misc/mei/main.c static int mei_fasync(int fd, struct file *file, int band)
file              695 drivers/misc/mei/main.c 	struct mei_cl *cl = file->private_data;
file              700 drivers/misc/mei/main.c 	return fasync_helper(fd, file, band, &cl->ev_async);
file              188 drivers/misc/mei/mei_dev.h 	const struct file *fp;
file              233 drivers/misc/mei/mei_dev.h 	const struct file *fp;
file             1289 drivers/misc/mic/scif/scif_api.c static inline void _scif_poll_wait(struct file *f, wait_queue_head_t *wq,
file             1305 drivers/misc/mic/scif/scif_api.c __scif_pollfd(struct file *f, poll_table *wait, struct scif_endpt *ep)
file              127 drivers/misc/mic/scif/scif_epd.h 	struct file *anon;
file              196 drivers/misc/mic/scif/scif_epd.h __poll_t __scif_pollfd(struct file *f, poll_table *wait,
file               11 drivers/misc/mic/scif/scif_fd.c static int scif_fdopen(struct inode *inode, struct file *f)
file               21 drivers/misc/mic/scif/scif_fd.c static int scif_fdclose(struct inode *inode, struct file *f)
file               28 drivers/misc/mic/scif/scif_fd.c static int scif_fdmmap(struct file *f, struct vm_area_struct *vma)
file               35 drivers/misc/mic/scif/scif_fd.c static __poll_t scif_fdpoll(struct file *f, poll_table *wait)
file               42 drivers/misc/mic/scif/scif_fd.c static int scif_fdflush(struct file *f, fl_owner_t id)
file               72 drivers/misc/mic/scif/scif_fd.c static long scif_fdioctl(struct file *f, unsigned int cmd, unsigned long arg)
file              871 drivers/misc/mic/vop/vop_vringh.c static int vop_open(struct inode *inode, struct file *f)
file              888 drivers/misc/mic/vop/vop_vringh.c static int vop_release(struct inode *inode, struct file *f)
file              918 drivers/misc/mic/vop/vop_vringh.c static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
file             1015 drivers/misc/mic/vop/vop_vringh.c static __poll_t vop_poll(struct file *f, poll_table *wait)
file             1075 drivers/misc/mic/vop/vop_vringh.c static int vop_mmap(struct file *f, struct vm_area_struct *vma)
file               50 drivers/misc/ocxl/file.c static int afu_open(struct inode *inode, struct file *file)
file               68 drivers/misc/ocxl/file.c 	file->private_data = ctx;
file              201 drivers/misc/ocxl/file.c static long afu_ioctl(struct file *file, unsigned int cmd,
file              204 drivers/misc/ocxl/file.c 	struct ocxl_context *ctx = file->private_data;
file              287 drivers/misc/ocxl/file.c static long afu_compat_ioctl(struct file *file, unsigned int cmd,
file              290 drivers/misc/ocxl/file.c 	return afu_ioctl(file, cmd, args);
file              293 drivers/misc/ocxl/file.c static int afu_mmap(struct file *file, struct vm_area_struct *vma)
file              295 drivers/misc/ocxl/file.c 	struct ocxl_context *ctx = file->private_data;
file              324 drivers/misc/ocxl/file.c static unsigned int afu_poll(struct file *file, struct poll_table_struct *wait)
file              326 drivers/misc/ocxl/file.c 	struct ocxl_context *ctx = file->private_data;
file              332 drivers/misc/ocxl/file.c 	poll_wait(file, &ctx->events_wq, wait);
file              395 drivers/misc/ocxl/file.c static ssize_t afu_read(struct file *file, char __user *buf, size_t count,
file              398 drivers/misc/ocxl/file.c 	struct ocxl_context *ctx = file->private_data;
file              424 drivers/misc/ocxl/file.c 		if (file->f_flags & O_NONBLOCK) {
file              457 drivers/misc/ocxl/file.c static int afu_release(struct inode *inode, struct file *file)
file              459 drivers/misc/ocxl/file.c 	struct ocxl_context *ctx = file->private_data;
file               61 drivers/misc/ocxl/sysfs.c static ssize_t global_mmio_read(struct file *filp, struct kobject *kobj,
file               92 drivers/misc/ocxl/sysfs.c static int global_mmio_mmap(struct file *filp, struct kobject *kobj,
file              482 drivers/misc/pch_phub.c static ssize_t pch_phub_bin_read(struct file *filp, struct kobject *kobj,
file              552 drivers/misc/pch_phub.c static ssize_t pch_phub_bin_write(struct file *filp, struct kobject *kobj,
file              584 drivers/misc/pci_endpoint_test.c static long pci_endpoint_test_ioctl(struct file *file, unsigned int cmd,
file              589 drivers/misc/pci_endpoint_test.c 	struct pci_endpoint_test *test = to_endpoint_test(file->private_data);
file               85 drivers/misc/phantom.c static long phantom_ioctl(struct file *file, unsigned int cmd,
file               88 drivers/misc/phantom.c 	struct phantom_device *dev = file->private_data;
file              197 drivers/misc/phantom.c static long phantom_compat_ioctl(struct file *filp, unsigned int cmd,
file              210 drivers/misc/phantom.c static int phantom_open(struct inode *inode, struct file *file)
file              216 drivers/misc/phantom.c 	nonseekable_open(inode, file);
file              231 drivers/misc/phantom.c 	file->private_data = dev;
file              240 drivers/misc/phantom.c static int phantom_release(struct inode *inode, struct file *file)
file              242 drivers/misc/phantom.c 	struct phantom_device *dev = file->private_data;
file              255 drivers/misc/phantom.c static __poll_t phantom_poll(struct file *file, poll_table *wait)
file              257 drivers/misc/phantom.c 	struct phantom_device *dev = file->private_data;
file              261 drivers/misc/phantom.c 	poll_wait(file, &dev->wait, wait);
file              413 drivers/misc/pti.c static int pti_tty_driver_open(struct tty_struct *tty, struct file *filp)
file              436 drivers/misc/pti.c static void pti_tty_driver_close(struct tty_struct *tty, struct file *filp)
file              546 drivers/misc/pti.c static int pti_char_open(struct inode *inode, struct file *filp)
file              574 drivers/misc/pti.c static int pti_char_release(struct inode *inode, struct file *filp)
file              601 drivers/misc/pti.c static ssize_t pti_char_write(struct file *filp, const char __user *data,
file               94 drivers/misc/sgi-gru/grufile.c static int gru_file_mmap(struct file *file, struct vm_area_struct *vma)
file              113 drivers/misc/sgi-gru/grufile.c 		file, vma->vm_start, vma, vma->vm_private_data);
file              183 drivers/misc/sgi-gru/grufile.c static long gru_file_unlocked_ioctl(struct file *file, unsigned int req,
file              188 drivers/misc/sgi-gru/grufile.c 	gru_dbg(grudev, "file %p, req 0x%x, 0x%lx\n", file, req, arg);
file              107 drivers/misc/sgi-gru/gruprocfs.c static ssize_t statistics_write(struct file *file, const char __user *userbuf,
file              133 drivers/misc/sgi-gru/gruprocfs.c static ssize_t mcs_statistics_write(struct file *file,
file              147 drivers/misc/sgi-gru/gruprocfs.c static ssize_t options_write(struct file *file, const char __user *userbuf,
file              159 drivers/misc/sgi-gru/gruprocfs.c static int cch_seq_show(struct seq_file *file, void *data)
file              168 drivers/misc/sgi-gru/gruprocfs.c 		seq_printf(file, "#%5s%5s%6s%7s%9s%6s%8s%8s\n", "gid", "bid",
file              175 drivers/misc/sgi-gru/gruprocfs.c 			seq_printf(file, " %5d%5d%6d%7d%9d%6d%8d%8s\n",
file              188 drivers/misc/sgi-gru/gruprocfs.c static int gru_seq_show(struct seq_file *file, void *data)
file              194 drivers/misc/sgi-gru/gruprocfs.c 		seq_printf(file, "#%5s%5s%7s%6s%6s%8s%6s%6s\n", "gid", "nid",
file              196 drivers/misc/sgi-gru/gruprocfs.c 		seq_printf(file, "#%5s%5s%7s%6s%6s%8s%6s%6s\n", "", "", "busy",
file              203 drivers/misc/sgi-gru/gruprocfs.c 		seq_printf(file, " %5d%5d%7ld%6ld%6ld%8ld%6ld%6ld\n",
file              212 drivers/misc/sgi-gru/gruprocfs.c static void seq_stop(struct seq_file *file, void *data)
file              216 drivers/misc/sgi-gru/gruprocfs.c static void *seq_start(struct seq_file *file, loff_t *gid)
file              223 drivers/misc/sgi-gru/gruprocfs.c static void *seq_next(struct seq_file *file, void *data, loff_t *gid)
file              245 drivers/misc/sgi-gru/gruprocfs.c static int statistics_open(struct inode *inode, struct file *file)
file              247 drivers/misc/sgi-gru/gruprocfs.c 	return single_open(file, statistics_show, NULL);
file              250 drivers/misc/sgi-gru/gruprocfs.c static int mcs_statistics_open(struct inode *inode, struct file *file)
file              252 drivers/misc/sgi-gru/gruprocfs.c 	return single_open(file, mcs_statistics_show, NULL);
file              255 drivers/misc/sgi-gru/gruprocfs.c static int options_open(struct inode *inode, struct file *file)
file              257 drivers/misc/sgi-gru/gruprocfs.c 	return single_open(file, options_show, NULL);
file               25 drivers/misc/sram.c static ssize_t sram_read(struct file *filp, struct kobject *kobj,
file               40 drivers/misc/sram.c static ssize_t sram_write(struct file *filp, struct kobject *kobj,
file              114 drivers/misc/vmw_vmci/vmci_host.c static int vmci_host_open(struct inode *inode, struct file *filp)
file              133 drivers/misc/vmw_vmci/vmci_host.c static int vmci_host_close(struct inode *inode, struct file *filp)
file              160 drivers/misc/vmw_vmci/vmci_host.c static __poll_t vmci_host_poll(struct file *filp, poll_table *wait)
file              902 drivers/misc/vmw_vmci/vmci_host.c static long vmci_host_unlocked_ioctl(struct file *filp,
file              858 drivers/misc/xilinx_sdfec.c static int xsdfec_dev_open(struct inode *iptr, struct file *fptr)
file              863 drivers/misc/xilinx_sdfec.c static int xsdfec_dev_release(struct inode *iptr, struct file *fptr)
file              944 drivers/misc/xilinx_sdfec.c static long xsdfec_dev_ioctl(struct file *fptr, unsigned int cmd,
file             1021 drivers/misc/xilinx_sdfec.c static long xsdfec_dev_compat_ioctl(struct file *file, unsigned int cmd,
file             1024 drivers/misc/xilinx_sdfec.c 	return xsdfec_dev_ioctl(file, cmd, (unsigned long)compat_ptr(data));
file             1028 drivers/misc/xilinx_sdfec.c static __poll_t xsdfec_poll(struct file *file, poll_table *wait)
file             1033 drivers/misc/xilinx_sdfec.c 	xsdfec = container_of(file->private_data, struct xsdfec_dev, miscdev);
file             1038 drivers/misc/xilinx_sdfec.c 	poll_wait(file, &xsdfec->waitq, wait);
file             2428 drivers/mmc/core/block.c static long mmc_rpmb_ioctl(struct file *filp, unsigned int cmd,
file             2454 drivers/mmc/core/block.c static long mmc_rpmb_ioctl_compat(struct file *filp, unsigned int cmd,
file             2461 drivers/mmc/core/block.c static int mmc_rpmb_chrdev_open(struct inode *inode, struct file *filp)
file             2473 drivers/mmc/core/block.c static int mmc_rpmb_chrdev_release(struct inode *inode, struct file *filp)
file             2735 drivers/mmc/core/block.c static int mmc_ext_csd_open(struct inode *inode, struct file *filp)
file             2785 drivers/mmc/core/block.c static ssize_t mmc_ext_csd_read(struct file *filp, char __user *ubuf,
file             2794 drivers/mmc/core/block.c static int mmc_ext_csd_release(struct inode *inode, struct file *file)
file             2796 drivers/mmc/core/block.c 	kfree(file->private_data);
file              130 drivers/mmc/core/mmc_test.c 	struct dentry *file;
file             3067 drivers/mmc/core/mmc_test.c static int mtf_test_open(struct inode *inode, struct file *file)
file             3069 drivers/mmc/core/mmc_test.c 	return single_open(file, mtf_test_show, inode->i_private);
file             3072 drivers/mmc/core/mmc_test.c static ssize_t mtf_test_write(struct file *file, const char __user *buf,
file             3075 drivers/mmc/core/mmc_test.c 	struct seq_file *sf = (struct seq_file *)file->private_data;
file             3155 drivers/mmc/core/mmc_test.c 		debugfs_remove(df->file);
file             3166 drivers/mmc/core/mmc_test.c 	struct dentry *file = NULL;
file             3174 drivers/mmc/core/mmc_test.c 		debugfs_remove(file);
file             3179 drivers/mmc/core/mmc_test.c 	df->file = file;
file              759 drivers/mmc/core/sdio_uart.c static int sdio_uart_open(struct tty_struct *tty, struct file *filp)
file              765 drivers/mmc/core/sdio_uart.c static void sdio_uart_close(struct tty_struct *tty, struct file * filp)
file               41 drivers/mtd/mtdchar.c static loff_t mtdchar_lseek(struct file *file, loff_t offset, int orig)
file               43 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file               44 drivers/mtd/mtdchar.c 	return fixed_size_llseek(file, offset, orig, mfi->mtd->size);
file               47 drivers/mtd/mtdchar.c static int mtdchar_open(struct inode *inode, struct file *file)
file               58 drivers/mtd/mtdchar.c 	if ((file->f_mode & FMODE_WRITE) && (minor & 1))
file               75 drivers/mtd/mtdchar.c 	if ((file->f_mode & FMODE_WRITE) && !(mtd->flags & MTD_WRITEABLE)) {
file               86 drivers/mtd/mtdchar.c 	file->private_data = mfi;
file               99 drivers/mtd/mtdchar.c static int mtdchar_close(struct inode *inode, struct file *file)
file              101 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              107 drivers/mtd/mtdchar.c 	if ((file->f_mode & FMODE_WRITE))
file              111 drivers/mtd/mtdchar.c 	file->private_data = NULL;
file              135 drivers/mtd/mtdchar.c static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count,
file              138 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              225 drivers/mtd/mtdchar.c static ssize_t mtdchar_write(struct file *file, const char __user *buf, size_t count,
file              228 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              348 drivers/mtd/mtdchar.c static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd,
file              352 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              357 drivers/mtd/mtdchar.c 	if (!(file->f_mode & FMODE_WRITE))
file              392 drivers/mtd/mtdchar.c static int mtdchar_readoob(struct file *file, struct mtd_info *mtd,
file              396 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              634 drivers/mtd/mtdchar.c static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg)
file              636 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file              691 drivers/mtd/mtdchar.c 		if(!(file->f_mode & FMODE_WRITE))
file              735 drivers/mtd/mtdchar.c 			ret = mtdchar_writeoob(file, mtd, buf.start, buf.length,
file              749 drivers/mtd/mtdchar.c 			ret = mtdchar_readoob(file, mtd, buf.start, buf.length,
file              762 drivers/mtd/mtdchar.c 			ret = mtdchar_writeoob(file, mtd, buf.start, buf.length,
file              776 drivers/mtd/mtdchar.c 			ret = mtdchar_readoob(file, mtd, buf.start, buf.length,
file              869 drivers/mtd/mtdchar.c 		file->f_pos = 0;
file              964 drivers/mtd/mtdchar.c 		file->f_pos = 0;
file              994 drivers/mtd/mtdchar.c static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg)
file              999 drivers/mtd/mtdchar.c 	ret = mtdchar_ioctl(file, cmd, arg);
file             1016 drivers/mtd/mtdchar.c static long mtdchar_compat_ioctl(struct file *file, unsigned int cmd,
file             1019 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file             1035 drivers/mtd/mtdchar.c 			ret = mtdchar_writeoob(file, mtd, buf.start,
file             1050 drivers/mtd/mtdchar.c 			ret = mtdchar_readoob(file, mtd, buf.start,
file             1079 drivers/mtd/mtdchar.c 		ret = mtdchar_ioctl(file, cmd, (unsigned long)argp);
file             1095 drivers/mtd/mtdchar.c static unsigned long mtdchar_get_unmapped_area(struct file *file,
file             1101 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file             1120 drivers/mtd/mtdchar.c static unsigned mtdchar_mmap_capabilities(struct file *file)
file             1122 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file             1131 drivers/mtd/mtdchar.c static int mtdchar_mmap(struct file *file, struct vm_area_struct *vma)
file             1134 drivers/mtd/mtdchar.c 	struct mtd_file_info *mfi = file->private_data;
file             1144 drivers/mtd/mtdchar.c 		if (file->f_flags & O_DSYNC || map->phys >= __pa(high_memory))
file              347 drivers/mtd/mtdcore.c static int mtd_partid_debugfs_open(struct inode *inode, struct file *file)
file              349 drivers/mtd/mtdcore.c 	return single_open(file, mtd_partid_show, inode->i_private);
file              368 drivers/mtd/mtdcore.c static int mtd_partname_debugfs_open(struct inode *inode, struct file *file)
file              370 drivers/mtd/mtdcore.c 	return single_open(file, mtd_partname_show, inode->i_private);
file              351 drivers/mtd/nand/raw/nandsim.c 	struct file *cfile; /* Open file */
file              529 drivers/mtd/nand/raw/nandsim.c 	struct file *cfile;
file             1299 drivers/mtd/nand/raw/nandsim.c static int get_pages(struct nandsim *ns, struct file *file, size_t count, loff_t pos)
file             1303 drivers/mtd/nand/raw/nandsim.c 	struct address_space *mapping = file->f_mapping;
file             1329 drivers/mtd/nand/raw/nandsim.c static ssize_t read_file(struct nandsim *ns, struct file *file, void *buf, size_t count, loff_t pos)
file             1335 drivers/mtd/nand/raw/nandsim.c 	err = get_pages(ns, file, count, pos);
file             1339 drivers/mtd/nand/raw/nandsim.c 	tx = kernel_read(file, buf, count, &pos);
file             1345 drivers/mtd/nand/raw/nandsim.c static ssize_t write_file(struct nandsim *ns, struct file *file, void *buf, size_t count, loff_t pos)
file             1351 drivers/mtd/nand/raw/nandsim.c 	err = get_pages(ns, file, count, pos);
file             1355 drivers/mtd/nand/raw/nandsim.c 	tx = kernel_write(file, buf, count, &pos);
file               92 drivers/mtd/ubi/cdev.c static int vol_cdev_open(struct inode *inode, struct file *file)
file              101 drivers/mtd/ubi/cdev.c 	if (file->f_mode & FMODE_WRITE)
file              113 drivers/mtd/ubi/cdev.c 	file->private_data = desc;
file              117 drivers/mtd/ubi/cdev.c static int vol_cdev_release(struct inode *inode, struct file *file)
file              119 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              143 drivers/mtd/ubi/cdev.c static loff_t vol_cdev_llseek(struct file *file, loff_t offset, int origin)
file              145 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              154 drivers/mtd/ubi/cdev.c 	return fixed_size_llseek(file, offset, origin, vol->used_bytes);
file              157 drivers/mtd/ubi/cdev.c static int vol_cdev_fsync(struct file *file, loff_t start, loff_t end,
file              160 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              162 drivers/mtd/ubi/cdev.c 	struct inode *inode = file_inode(file);
file              171 drivers/mtd/ubi/cdev.c static ssize_t vol_cdev_read(struct file *file, __user char *buf, size_t count,
file              174 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              248 drivers/mtd/ubi/cdev.c static ssize_t vol_cdev_direct_write(struct file *file, const char __user *buf,
file              251 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              323 drivers/mtd/ubi/cdev.c static ssize_t vol_cdev_write(struct file *file, const char __user *buf,
file              327 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              332 drivers/mtd/ubi/cdev.c 		return vol_cdev_direct_write(file, buf, count, offp);
file              378 drivers/mtd/ubi/cdev.c static long vol_cdev_ioctl(struct file *file, unsigned int cmd,
file              382 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
file              831 drivers/mtd/ubi/cdev.c static long ubi_cdev_ioctl(struct file *file, unsigned int cmd,
file              842 drivers/mtd/ubi/cdev.c 	ubi = ubi_get_by_major(imajor(file->f_mapping->host));
file             1003 drivers/mtd/ubi/cdev.c static long ctrl_cdev_ioctl(struct file *file, unsigned int cmd,
file             1082 drivers/mtd/ubi/cdev.c static long vol_cdev_compat_ioctl(struct file *file, unsigned int cmd,
file             1087 drivers/mtd/ubi/cdev.c 	return vol_cdev_ioctl(file, cmd, translated_arg);
file             1090 drivers/mtd/ubi/cdev.c static long ubi_cdev_compat_ioctl(struct file *file, unsigned int cmd,
file             1095 drivers/mtd/ubi/cdev.c 	return ubi_cdev_ioctl(file, cmd, translated_arg);
file             1098 drivers/mtd/ubi/cdev.c static long ctrl_cdev_compat_ioctl(struct file *file, unsigned int cmd,
file             1103 drivers/mtd/ubi/cdev.c 	return ctrl_cdev_ioctl(file, cmd, translated_arg);
file              247 drivers/mtd/ubi/debug.c static ssize_t dfs_file_read(struct file *file, char __user *user_buf,
file              250 drivers/mtd/ubi/debug.c 	unsigned long ubi_num = (unsigned long)file->private_data;
file              251 drivers/mtd/ubi/debug.c 	struct dentry *dent = file->f_path.dentry;
file              310 drivers/mtd/ubi/debug.c static ssize_t dfs_file_write(struct file *file, const char __user *user_buf,
file              313 drivers/mtd/ubi/debug.c 	unsigned long ubi_num = (unsigned long)file->private_data;
file              314 drivers/mtd/ubi/debug.c 	struct dentry *dent = file->f_path.dentry;
file              459 drivers/mtd/ubi/debug.c static int eraseblk_count_open(struct inode *inode, struct file *f)
file              477 drivers/mtd/ubi/debug.c static int eraseblk_count_release(struct inode *inode, struct file *f)
file               13 drivers/net/bonding/bond_procfs.c 	struct bonding *bond = PDE_DATA(file_inode(seq->file));
file               32 drivers/net/bonding/bond_procfs.c 	struct bonding *bond = PDE_DATA(file_inode(seq->file));
file               59 drivers/net/bonding/bond_procfs.c 	struct bonding *bond = PDE_DATA(file_inode(seq->file));
file              172 drivers/net/bonding/bond_procfs.c 	struct bonding *bond = PDE_DATA(file_inode(seq->file));
file              131 drivers/net/caif/caif_spi.c static ssize_t dbgfs_state(struct file *file, char __user *user_buf,
file              137 drivers/net/caif/caif_spi.c 	struct cfspi *cfspi = file->private_data;
file              203 drivers/net/caif/caif_spi.c static ssize_t dbgfs_frame(struct file *file, char __user *user_buf,
file              211 drivers/net/caif/caif_spi.c 	cfspi = file->private_data;
file              674 drivers/net/can/slcan.c static int slcan_ioctl(struct tty_struct *tty, struct file *file,
file              695 drivers/net/can/slcan.c 		return tty_mode_ioctl(tty, file, cmd, arg);
file               85 drivers/net/can/softing/softing.h int softing_load_fw(const char *file, struct softing *card,
file               89 drivers/net/can/softing/softing.h int softing_load_app_fw(const char *file, struct softing *card);
file              133 drivers/net/can/softing/softing_fw.c int softing_load_fw(const char *file, struct softing *card,
file              145 drivers/net/can/softing/softing_fw.c 	ret = request_firmware(&fw, file, &card->pdev->dev);
file              150 drivers/net/can/softing/softing_fw.c 		card->pdat->name, file, (unsigned int)fw->size,
file              214 drivers/net/can/softing/softing_fw.c 		dev_info(&card->pdev->dev, "firmware %s failed\n", file);
file              218 drivers/net/can/softing/softing_fw.c int softing_load_app_fw(const char *file, struct softing *card)
file              228 drivers/net/can/softing/softing_fw.c 	ret = request_firmware(&fw, file, &card->pdev->dev);
file              231 drivers/net/can/softing/softing_fw.c 			file, ret);
file              235 drivers/net/can/softing/softing_fw.c 		file, (unsigned long)fw->size);
file              312 drivers/net/can/softing/softing_fw.c 		dev_info(&card->pdev->dev, "firmware %s failed\n", file);
file               19 drivers/net/dsa/realtek-smi-core.h struct file;
file             1045 drivers/net/ethernet/alacritech/slicoss.c 	const char *file;
file             1052 drivers/net/ethernet/alacritech/slicoss.c 	file = (sdev->model == SLIC_MODEL_OASIS) ?  SLIC_RCV_FIRMWARE_OASIS :
file             1054 drivers/net/ethernet/alacritech/slicoss.c 	err = request_firmware(&fw, file, &sdev->pdev->dev);
file             1057 drivers/net/ethernet/alacritech/slicoss.c 			"failed to load receive sequencer firmware %s\n", file);
file             1116 drivers/net/ethernet/alacritech/slicoss.c 	const char *file;
file             1127 drivers/net/ethernet/alacritech/slicoss.c 	file = (sdev->model == SLIC_MODEL_OASIS) ?  SLIC_FIRMWARE_OASIS :
file             1129 drivers/net/ethernet/alacritech/slicoss.c 	err = request_firmware(&fw, file, &sdev->pdev->dev);
file             1131 drivers/net/ethernet/alacritech/slicoss.c 		dev_err(&sdev->pdev->dev, "failed to load firmware %s\n", file);
file              174 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer,
file              182 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_addr_write(struct file *filp,
file              192 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer,
file              203 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgmac_reg_value_write(struct file *filp,
file              234 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer,
file              242 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer,
file              251 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer,
file              259 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer,
file              268 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_value_read(struct file *filp, char __user *buffer,
file              280 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xpcs_reg_value_write(struct file *filp,
file              319 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_addr_read(struct file *filp, char __user *buffer,
file              327 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_addr_write(struct file *filp,
file              337 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_value_read(struct file *filp, char __user *buffer,
file              348 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xprop_reg_value_write(struct file *filp,
file              379 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_addr_read(struct file *filp, char __user *buffer,
file              387 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_addr_write(struct file *filp,
file              397 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_value_read(struct file *filp, char __user *buffer,
file              408 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xi2c_reg_value_write(struct file *filp,
file               20 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c static ssize_t debugfs_dim_read(struct file *filep,
file               41 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_open_fwtrc(struct inode *inode, struct file *file)
file               75 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = fw_debug;
file               81 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_open_fwsave(struct inode *inode, struct file *file)
file              115 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = fw_debug;
file              121 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_open_reg(struct inode *inode, struct file *file)
file              131 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = reg_debug;
file              182 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_open_drvinfo(struct inode *inode, struct file *file)
file              214 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = drv_info;
file              221 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_lseek(struct file *file, loff_t offset, int orig)
file              223 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *debug = file->private_data;
file              228 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	return fixed_size_llseek(file, offset, orig, debug->buffer_len);
file              232 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_read(struct file *file, char __user *buf,
file              235 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *debug = file->private_data;
file              278 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_read_regrd(struct file *file, char __user *buf,
file              281 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *regrd_debug = file->private_data;
file              301 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_write_regrd(struct file *file, const char __user *buf,
file              304 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *regrd_debug = file->private_data;
file              362 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_write_regwr(struct file *file, const char __user *buf,
file              365 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *debug = file->private_data;
file              405 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_release(struct inode *inode, struct file *file)
file              407 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *debug = file->private_data;
file              412 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = NULL;
file              418 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bnad_debugfs_buffer_release(struct inode *inode, struct file *file)
file              420 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	struct bnad_debug_info *debug = file->private_data;
file              427 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	file->private_data = NULL;
file              495 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 	const struct bnad_debugfs_entry *file;
file              524 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 			file = &bnad_debugfs_files[i];
file              526 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 					debugfs_create_file(file->name,
file              527 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 							file->mode,
file              530 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 							file->fops);
file              534 drivers/net/ethernet/brocade/bna/bnad_debugfs.c 					    file->name);
file               95 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c struct seq_tab *seq_open_tab(struct file *f, unsigned int rows,
file              196 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int cim_la_open(struct inode *inode, struct file *file)
file              209 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		p = seq_open_tab(file, (adap->params.cim_la_size / 10) + 1,
file              214 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		p = seq_open_tab(file, adap->params.cim_la_size / 8,
file              224 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		seq_release_private(inode, file);
file              256 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int cim_pif_la_open(struct inode *inode, struct file *file)
file              261 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, 2 * CIM_PIFLA_SIZE, 6 * sizeof(u32), 1,
file              302 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int cim_ma_la_open(struct inode *inode, struct file *file)
file              307 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, 2 * CIM_MALA_SIZE, 5 * sizeof(u32), 1,
file              391 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int cim_ibq_open(struct inode *inode, struct file *file)
file              398 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, CIM_IBQ_SIZE, 4 * sizeof(u32), 0, cimq_show);
file              404 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		seq_release_private(inode, file);
file              418 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int cim_obq_open(struct inode *inode, struct file *file)
file              425 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, 6 * CIM_OBQ_SIZE, 4 * sizeof(u32), 0, cimq_show);
file              431 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		seq_release_private(inode, file);
file              638 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int tp_la_open(struct inode *inode, struct file *file)
file              645 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		p = seq_open_tab(file, TPLA_SIZE / 2, 2 * sizeof(u64), 0,
file              649 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		p = seq_open_tab(file, TPLA_SIZE / 2, 2 * sizeof(u64), 0,
file              653 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		p = seq_open_tab(file, TPLA_SIZE, sizeof(u64), 0, tp_la_show);
file              662 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t tp_la_write(struct file *file, const char __user *buf,
file              669 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	struct adapter *adap = file_inode(file)->i_private;
file              707 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int ulprx_la_open(struct inode *inode, struct file *file)
file              712 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, ULPRX_LA_SIZE, 8 * sizeof(u32), 1,
file              796 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int pm_stats_open(struct inode *inode, struct file *file)
file              798 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return single_open(file, pm_stats_show, inode->i_private);
file              801 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t pm_stats_clear(struct file *file, const char __user *buf,
file              804 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	struct adapter *adap = file_inode(file)->i_private;
file             1080 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int devlog_open(struct inode *inode, struct file *file)
file             1097 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	dinfo = __seq_open_private(file, &devlog_seq_ops,
file             1112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		seq_release_private(inode, file);
file             1221 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int mboxlog_open(struct inode *inode, struct file *file)
file             1223 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	int res = seq_open(file, &mboxlog_seq_ops);
file             1226 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		struct seq_file *seq = file->private_data;
file             1272 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int mbox_open(struct inode *inode, struct file *file)
file             1274 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return single_open(file, mbox_show, inode->i_private);
file             1277 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t mbox_write(struct file *file, const char __user *buf,
file             1300 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	ino = file_inode(file);
file             1379 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int mps_trc_open(struct inode *inode, struct file *file)
file             1381 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return single_open(file, mps_trc_show, inode->i_private);
file             1410 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t mps_trc_write(struct file *file, const char __user *buf,
file             1422 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	ino = file_inode(file);
file             1618 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t flash_read(struct file *file, char __user *buf, size_t count,
file             1622 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	loff_t avail = file_inode(file)->i_size;
file             1623 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	struct adapter *adap = file->private_data;
file             1925 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int mps_tcam_open(struct inode *inode, struct file *file)
file             1927 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	int res = seq_open(file, &mps_tcam_seq_ops);
file             1930 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		struct seq_file *seq = file->private_data;
file             1996 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int rss_open(struct inode *inode, struct file *file)
file             2003 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, nentries / 8, 8 * sizeof(u16), 0, rss_show);
file             2009 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		seq_release_private(inode, file);
file             2199 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int rss_key_open(struct inode *inode, struct file *file)
file             2201 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return single_open(file, rss_key_show, inode->i_private);
file             2204 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t rss_key_write(struct file *file, const char __user *buf,
file             2210 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	struct adapter *adap = file_inode(file)->i_private;
file             2293 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int rss_pf_config_open(struct inode *inode, struct file *file)
file             2301 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, 8, sizeof(*pfconf), 1, rss_pf_config_show);
file             2361 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int rss_vf_config_open(struct inode *inode, struct file *file)
file             2368 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = seq_open_tab(file, vfcount, sizeof(*vfconf), 1, rss_vf_config_show);
file             2557 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int dcb_info_open(struct inode *inode, struct file *file)
file             2559 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	int res = seq_open(file, &dcb_info_seq_ops);
file             2562 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		struct seq_file *seq = file->private_data;
file             3043 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static int sge_qinfo_open(struct inode *inode, struct file *file)
file             3045 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	int res = seq_open(file, &sge_qinfo_seq_ops);
file             3048 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		struct seq_file *seq = file->private_data;
file             3063 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c int mem_open(struct inode *inode, struct file *file)
file             3068 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	file->private_data = inode->i_private;
file             3070 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	mem = (uintptr_t)file->private_data & 0x7;
file             3071 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	adap = file->private_data - mem;
file             3078 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t mem_read(struct file *file, char __user *buf, size_t count,
file             3082 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	loff_t avail = file_inode(file)->i_size;
file             3083 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	unsigned int mem = (uintptr_t)file->private_data & 0x7;
file             3084 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	struct adapter *adap = file->private_data - mem;
file             3209 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t blocked_fl_read(struct file *filp, char __user *ubuf,
file             3230 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t blocked_fl_write(struct file *filp, const char __user *ubuf,
file               60 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h struct seq_tab *seq_open_tab(struct file *f, unsigned int rows,
file               68 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h int mem_open(struct inode *inode, struct file *file);
file              739 drivers/net/ethernet/chelsio/cxgb4/l2t.c static int l2t_seq_open(struct inode *inode, struct file *file)
file              741 drivers/net/ethernet/chelsio/cxgb4/l2t.c 	int rc = seq_open(file, &l2t_seq_ops);
file              745 drivers/net/ethernet/chelsio/cxgb4/l2t.c 		struct seq_file *seq = file->private_data;
file             2028 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int mboxlog_open(struct inode *inode, struct file *file)
file             2030 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	int res = seq_open(file, &mboxlog_seq_ops);
file             2033 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		struct seq_file *seq = file->private_data;
file             2182 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int sge_qinfo_open(struct inode *inode, struct file *file)
file             2184 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	int res = seq_open(file, &sge_qinfo_seq_ops);
file             2187 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		struct seq_file *seq = file->private_data;
file             2328 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int sge_qstats_open(struct inode *inode, struct file *file)
file             2330 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	int res = seq_open(file, &sge_qstats_seq_ops);
file             2333 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		struct seq_file *seq = file->private_data;
file             2426 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int interfaces_open(struct inode *inode, struct file *file)
file             2428 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	int res = seq_open(file, &interfaces_seq_ops);
file             2431 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		struct seq_file *seq = file->private_data;
file               14 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_cpu_show(struct seq_file *file, void *offset)
file               16 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private;
file               21 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "Per-CPU stats for %s\n", priv->net_dev->name);
file               22 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "%s%16s%16s%16s%16s%16s%16s%16s%16s%16s\n",
file               29 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 		seq_printf(file, "%3d%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu\n",
file               45 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_cpu_open(struct inode *inode, struct file *file)
file               50 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	err = single_open(file, dpaa2_dbg_cpu_show, priv);
file               76 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_fqs_show(struct seq_file *file, void *offset)
file               78 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private;
file               83 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "FQ stats for %s:\n", priv->net_dev->name);
file               84 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "%s%16s%16s%16s%16s\n",
file               93 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 		seq_printf(file, "%5d%16d%16s%16llu%16u\n",
file              104 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_fqs_open(struct inode *inode, struct file *file)
file              109 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	err = single_open(file, dpaa2_dbg_fqs_show, priv);
file              123 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_ch_show(struct seq_file *file, void *offset)
file              125 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private;
file              129 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "Channel stats for %s:\n", priv->net_dev->name);
file              130 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	seq_printf(file, "%s%16s%16s%16s%16s\n",
file              135 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 		seq_printf(file, "%4d%16d%16llu%16llu%16d\n",
file              146 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static int dpaa2_dbg_ch_open(struct inode *inode, struct file *file)
file              151 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	err = single_open(file, dpaa2_dbg_ch_show, priv);
file              284 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static ssize_t hns3_dbg_cmd_read(struct file *filp, char __user *buffer,
file              313 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static ssize_t hns3_dbg_cmd_write(struct file *filp, const char __user *buffer,
file              113 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c static int fm10k_dbg_desc_open(struct inode *inode, struct file *filep)
file               63 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_command_read(struct file *filp, char __user *buffer,
file              699 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_command_write(struct file *filp,
file             1572 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_netdev_ops_read(struct file *filp, char __user *buffer,
file             1612 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static ssize_t i40e_dbg_netdev_ops_write(struct file *filp,
file               13 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer,
file               48 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer,
file               62 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_reg_ops_write(struct file *filp,
file              131 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer,
file              145 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static ssize_t ixgbe_dbg_netdev_ops_write(struct file *filp,
file             1083 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t dbg_write(struct file *filp, const char __user *buf,
file             1272 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t data_write(struct file *filp, const char __user *buf,
file             1296 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t data_read(struct file *filp, char __user *buf, size_t count,
file             1316 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t outlen_read(struct file *filp, char __user *buf, size_t count,
file             1331 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t outlen_write(struct file *filp, const char __user *buf,
file              124 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c static ssize_t average_read(struct file *filp, char __user *buf, size_t count,
file              141 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c static ssize_t average_write(struct file *filp, const char __user *buf,
file              371 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c static ssize_t dbg_read(struct file *filp, char __user *buf, size_t count,
file               11 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c static int nfp_rx_q_show(struct seq_file *file, void *data)
file               13 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	struct nfp_net_r_vector *r_vec = file->private;
file               35 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	seq_printf(file, "RX[%02d,%02d]: cnt=%u dma=%pad host=%p   H_RD=%u H_WR=%u FL_RD=%u FL_WR=%u\n",
file               42 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 		seq_printf(file, "%04d: 0x%08x 0x%08x", i,
file               47 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_printf(file, " frag=%p", frag);
file               50 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_printf(file, " dma_addr=%pad",
file               54 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " H_RD ");
file               56 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " H_WR ");
file               58 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " FL_RD");
file               60 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " FL_WR");
file               62 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 		seq_putc(file, '\n');
file               70 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c static int nfp_tx_q_show(struct seq_file *file, void *data);
file               73 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c static int nfp_tx_q_show(struct seq_file *file, void *data)
file               75 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	struct nfp_net_r_vector *r_vec = file->private;
file               84 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	if (debugfs_real_fops(file->file) == &nfp_tx_q_fops)
file               99 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	seq_printf(file, "TX[%02d,%02d%s]: cnt=%u dma=%pad host=%p   H_RD=%u H_WR=%u D_RD=%u D_WR=%u\n",
file              107 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 		seq_printf(file, "%04d: 0x%08x 0x%08x 0x%08x 0x%08x", i,
file              115 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 				seq_printf(file, " skb->head=%p skb->data=%p",
file              118 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_printf(file, " frag=%p",
file              123 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_printf(file, " dma_addr=%pad",
file              127 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " H_RD");
file              129 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " H_WR");
file              131 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " D_RD");
file              133 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 			seq_puts(file, " D_WR");
file              135 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 		seq_putc(file, '\n');
file              142 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c static int nfp_xdp_q_show(struct seq_file *file, void *data)
file              144 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	return nfp_tx_q_show(file, data);
file             2850 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_crb(struct file *filp, struct kobject *kobj,
file             2878 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_write_crb(struct file *filp, struct kobject *kobj,
file             2919 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_mem(struct file *filp, struct kobject *kobj,
file             2940 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static ssize_t netxen_sysfs_write_mem(struct file *filp, struct kobject *kobj,
file             2977 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_dimm(struct file *filp, struct kobject *kobj,
file              268 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj,
file              285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj,
file              314 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj,
file              336 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj,
file              399 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_pm_config(struct file *filp,
file              449 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_pm_config(struct file *filp,
file              542 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_esw_config(struct file *file,
file              626 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_esw_config(struct file *file,
file              678 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_npar_config(struct file *file,
file              725 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_npar_config(struct file *file,
file              772 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_get_port_stats(struct file *file,
file              807 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_get_esw_stats(struct file *file,
file              842 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_clear_esw_stats(struct file *file,
file              871 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_clear_port_stats(struct file *file,
file              901 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_pci_config(struct file *file,
file              941 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_83xx_sysfs_flash_read_handler(struct file *filp,
file             1118 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_83xx_sysfs_flash_write_handler(struct file *filp,
file              688 drivers/net/hamradio/6pack.c static int sixpack_ioctl(struct tty_struct *tty, struct file *file,
file              742 drivers/net/hamradio/6pack.c 		err = tty_mode_ioctl(tty, file, cmd, arg);
file              806 drivers/net/hamradio/mkiss.c static int mkiss_ioctl(struct tty_struct *tty, struct file *file,
file             1127 drivers/net/ieee802154/adf7242.c static int adf7242_stats_show(struct seq_file *file, void *offset)
file             1129 drivers/net/ieee802154/adf7242.c 	struct adf7242_local *lp = spi_get_drvdata(file->private);
file             1135 drivers/net/ieee802154/adf7242.c 	seq_printf(file, "IRQ1 = %X:\n%s%s%s%s%s%s%s%s\n", irq1,
file             1145 drivers/net/ieee802154/adf7242.c 	seq_printf(file, "STATUS = %X:\n%s\n%s\n%s\n%s\n%s%s%s%s%s\n", stat,
file             1156 drivers/net/ieee802154/adf7242.c 	seq_printf(file, "RSSI = %d\n", lp->rssi);
file             1612 drivers/net/ieee802154/at86rf230.c static int at86rf230_stats_show(struct seq_file *file, void *offset)
file             1614 drivers/net/ieee802154/at86rf230.c 	struct at86rf230_local *lp = file->private;
file             1616 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "SUCCESS:\t\t%8llu\n", lp->trac.success);
file             1617 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "SUCCESS_DATA_PENDING:\t%8llu\n",
file             1619 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "SUCCESS_WAIT_FOR_ACK:\t%8llu\n",
file             1621 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "CHANNEL_ACCESS_FAILURE:\t%8llu\n",
file             1623 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "NO_ACK:\t\t\t%8llu\n", lp->trac.no_ack);
file             1624 drivers/net/ieee802154/at86rf230.c 	seq_printf(file, "INVALID:\t\t%8llu\n", lp->trac.invalid);
file             2411 drivers/net/ieee802154/ca8210.c static int ca8210_test_int_open(struct inode *inodp, struct file *filp)
file             2486 drivers/net/ieee802154/ca8210.c 	struct file        *filp,
file             2561 drivers/net/ieee802154/ca8210.c 	struct file  *filp,
file             2624 drivers/net/ieee802154/ca8210.c 	struct file *filp,
file             2650 drivers/net/ieee802154/ca8210.c 	struct file *filp,
file               51 drivers/net/netdevsim/bpf.c static int nsim_bpf_string_show(struct seq_file *file, void *data)
file               53 drivers/net/netdevsim/bpf.c 	const char **str = file->private;
file               56 drivers/net/netdevsim/bpf.c 		seq_printf(file, "%s\n", *str);
file               41 drivers/net/netdevsim/dev.c static ssize_t nsim_dev_take_snapshot_write(struct file *file,
file               45 drivers/net/netdevsim/dev.c 	struct nsim_dev *nsim_dev = file->private_data;
file               12 drivers/net/netdevsim/ipsec.c static ssize_t nsim_dbg_netdev_ops_read(struct file *filp,
file              297 drivers/net/phy/spi_ks8995.c static ssize_t ks8995_registers_read(struct file *filp, struct kobject *kobj,
file              309 drivers/net/phy/spi_ks8995.c static ssize_t ks8995_registers_write(struct file *filp, struct kobject *kobj,
file              261 drivers/net/ppp/ppp_async.c ppp_asynctty_read(struct tty_struct *tty, struct file *file,
file              272 drivers/net/ppp/ppp_async.c ppp_asynctty_write(struct tty_struct *tty, struct file *file,
file              284 drivers/net/ppp/ppp_async.c ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file,
file              313 drivers/net/ppp/ppp_async.c 		err = n_tty_ioctl_helper(tty, file, cmd, arg);
file              325 drivers/net/ppp/ppp_async.c 		err = tty_mode_ioctl(tty, file, cmd, arg);
file              334 drivers/net/ppp/ppp_async.c ppp_asynctty_poll(struct tty_struct *tty, struct file *file, poll_table *wait)
file               90 drivers/net/ppp/ppp_generic.c #define PF_TO_X(pf, X)		container_of(pf, X, file)
file              114 drivers/net/ppp/ppp_generic.c 	struct ppp_file	file;		/* stuff for read/write/poll 0 */
file              115 drivers/net/ppp/ppp_generic.c 	struct file	*owner;		/* file that owns this unit 48 */
file              169 drivers/net/ppp/ppp_generic.c 	struct ppp_file	file;		/* stuff for read/write/poll */
file              187 drivers/net/ppp/ppp_generic.c 	struct file *file;
file              255 drivers/net/ppp/ppp_generic.c 			struct file *file, unsigned int cmd, unsigned long arg);
file              278 drivers/net/ppp/ppp_generic.c static int ppp_create_interface(struct net *net, struct file *file, int *unit);
file              384 drivers/net/ppp/ppp_generic.c static int ppp_open(struct inode *inode, struct file *file)
file              389 drivers/net/ppp/ppp_generic.c 	if (!ns_capable(file->f_cred->user_ns, CAP_NET_ADMIN))
file              394 drivers/net/ppp/ppp_generic.c static int ppp_release(struct inode *unused, struct file *file)
file              396 drivers/net/ppp/ppp_generic.c 	struct ppp_file *pf = file->private_data;
file              400 drivers/net/ppp/ppp_generic.c 		file->private_data = NULL;
file              404 drivers/net/ppp/ppp_generic.c 			if (file == ppp->owner)
file              422 drivers/net/ppp/ppp_generic.c static ssize_t ppp_read(struct file *file, char __user *buf,
file              425 drivers/net/ppp/ppp_generic.c 	struct ppp_file *pf = file->private_data;
file              462 drivers/net/ppp/ppp_generic.c 		if (file->f_flags & O_NONBLOCK)
file              492 drivers/net/ppp/ppp_generic.c static ssize_t ppp_write(struct file *file, const char __user *buf,
file              495 drivers/net/ppp/ppp_generic.c 	struct ppp_file *pf = file->private_data;
file              529 drivers/net/ppp/ppp_generic.c static __poll_t ppp_poll(struct file *file, poll_table *wait)
file              531 drivers/net/ppp/ppp_generic.c 	struct ppp_file *pf = file->private_data;
file              536 drivers/net/ppp/ppp_generic.c 	poll_wait(file, &pf->rwait, wait);
file              581 drivers/net/ppp/ppp_generic.c static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              595 drivers/net/ppp/ppp_generic.c 	pf = file->private_data;
file              598 drivers/net/ppp/ppp_generic.c 					   pf, file, cmd, arg);
file              686 drivers/net/ppp/ppp_generic.c 		if (put_user(ppp->file.index, p))
file              831 drivers/net/ppp/ppp_generic.c 			struct file *file, unsigned int cmd, unsigned long arg)
file              844 drivers/net/ppp/ppp_generic.c 		err = ppp_create_interface(net, file, &unit);
file              863 drivers/net/ppp/ppp_generic.c 			refcount_inc(&ppp->file.refcnt);
file              864 drivers/net/ppp/ppp_generic.c 			file->private_data = &ppp->file;
file              878 drivers/net/ppp/ppp_generic.c 			refcount_inc(&chan->file.refcnt);
file              879 drivers/net/ppp/ppp_generic.c 			file->private_data = &chan->file;
file              982 drivers/net/ppp/ppp_generic.c 	ppp->file.index = ret;
file              985 drivers/net/ppp/ppp_generic.c 		snprintf(ppp->dev->name, IFNAMSIZ, "ppp%i", ppp->file.index);
file              999 drivers/net/ppp/ppp_generic.c 	unit_put(&pn->units_idr, ppp->file.index);
file             1017 drivers/net/ppp/ppp_generic.c 	ppp->owner = conf->file;
file             1019 drivers/net/ppp/ppp_generic.c 	init_ppp_file(&ppp->file, INTERFACE);
file             1020 drivers/net/ppp/ppp_generic.c 	ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */
file             1049 drivers/net/ppp/ppp_generic.c 	conf->file->private_data = &ppp->file;
file             1084 drivers/net/ppp/ppp_generic.c 	struct file *file;
file             1087 drivers/net/ppp/ppp_generic.c 	file = fget(nla_get_s32(data[IFLA_PPP_DEV_FD]));
file             1088 drivers/net/ppp/ppp_generic.c 	if (!file)
file             1101 drivers/net/ppp/ppp_generic.c 	if (file->f_op != &ppp_device_fops || file->private_data) {
file             1106 drivers/net/ppp/ppp_generic.c 	conf.file = file;
file             1121 drivers/net/ppp/ppp_generic.c 	fput(file);
file             1332 drivers/net/ppp/ppp_generic.c 	refcount_inc(&ppp->file.refcnt);
file             1347 drivers/net/ppp/ppp_generic.c 	unit_put(&pn->units_idr, ppp->file.index);
file             1352 drivers/net/ppp/ppp_generic.c 	ppp->file.dead = 1;
file             1353 drivers/net/ppp/ppp_generic.c 	wake_up_interruptible(&ppp->file.rwait);
file             1361 drivers/net/ppp/ppp_generic.c 	if (refcount_dec_and_test(&ppp->file.refcnt))
file             1406 drivers/net/ppp/ppp_generic.c 			skb_queue_tail(&ppp->file.xq, skb);
file             1408 drivers/net/ppp/ppp_generic.c 		       (skb = skb_dequeue(&ppp->file.xq)))
file             1412 drivers/net/ppp/ppp_generic.c 		if (!ppp->xmit_pending && !skb_peek(&ppp->file.xq))
file             1599 drivers/net/ppp/ppp_generic.c 		if (ppp->file.rq.qlen > PPP_MAX_RQLEN)
file             1601 drivers/net/ppp/ppp_generic.c 		skb_queue_tail(&ppp->file.rq, skb);
file             1602 drivers/net/ppp/ppp_generic.c 		wake_up_interruptible(&ppp->file.rwait);
file             1710 drivers/net/ppp/ppp_generic.c 			if (skb_queue_empty(&pch->file.xq) ||
file             1877 drivers/net/ppp/ppp_generic.c 		if (!skb_queue_empty(&pch->file.xq) ||
file             1879 drivers/net/ppp/ppp_generic.c 			skb_queue_tail(&pch->file.xq, frag);
file             1909 drivers/net/ppp/ppp_generic.c 		while (!skb_queue_empty(&pch->file.xq)) {
file             1910 drivers/net/ppp/ppp_generic.c 			skb = skb_dequeue(&pch->file.xq);
file             1913 drivers/net/ppp/ppp_generic.c 				skb_queue_head(&pch->file.xq, skb);
file             1919 drivers/net/ppp/ppp_generic.c 		skb_queue_purge(&pch->file.xq);
file             1923 drivers/net/ppp/ppp_generic.c 	if (skb_queue_empty(&pch->file.xq)) {
file             2028 drivers/net/ppp/ppp_generic.c 		skb_queue_tail(&pch->file.rq, skb);
file             2030 drivers/net/ppp/ppp_generic.c 		while (pch->file.rq.qlen > PPP_MAX_RQLEN &&
file             2031 drivers/net/ppp/ppp_generic.c 		       (skb = skb_dequeue(&pch->file.rq)))
file             2033 drivers/net/ppp/ppp_generic.c 		wake_up_interruptible(&pch->file.rwait);
file             2181 drivers/net/ppp/ppp_generic.c 		skb_queue_tail(&ppp->file.rq, skb);
file             2183 drivers/net/ppp/ppp_generic.c 		while (ppp->file.rq.qlen > PPP_MAX_RQLEN &&
file             2184 drivers/net/ppp/ppp_generic.c 		       (skb = skb_dequeue(&ppp->file.rq)))
file             2187 drivers/net/ppp/ppp_generic.c 		wake_up_interruptible(&ppp->file.rwait);
file             2615 drivers/net/ppp/ppp_generic.c 	init_ppp_file(&pch->file, CHANNEL);
file             2616 drivers/net/ppp/ppp_generic.c 	pch->file.hdrlen = chan->hdrlen;
file             2625 drivers/net/ppp/ppp_generic.c 	pch->file.index = ++pn->last_channel_index;
file             2641 drivers/net/ppp/ppp_generic.c 		return pch->file.index;
file             2656 drivers/net/ppp/ppp_generic.c 			unit = pch->ppp->file.index;
file             2711 drivers/net/ppp/ppp_generic.c 	pch->file.dead = 1;
file             2712 drivers/net/ppp/ppp_generic.c 	wake_up_interruptible(&pch->file.rwait);
file             2713 drivers/net/ppp/ppp_generic.c 	if (refcount_dec_and_test(&pch->file.refcnt))
file             2862 drivers/net/ppp/ppp_generic.c 					ppp->file.index, 0, ppp->mru, ppp->debug)) {
file             2871 drivers/net/ppp/ppp_generic.c 					ppp->file.index, 0, ppp->debug))
file             3036 drivers/net/ppp/ppp_generic.c static int ppp_create_interface(struct net *net, struct file *file, int *unit)
file             3039 drivers/net/ppp/ppp_generic.c 		.file = file,
file             3061 drivers/net/ppp/ppp_generic.c 	*unit = ppp->file.index;
file             3096 drivers/net/ppp/ppp_generic.c 	if (!ppp->file.dead || ppp->n_channels) {
file             3100 drivers/net/ppp/ppp_generic.c 			   ppp, ppp->file.dead, ppp->n_channels);
file             3109 drivers/net/ppp/ppp_generic.c 	skb_queue_purge(&ppp->file.xq);
file             3110 drivers/net/ppp/ppp_generic.c 	skb_queue_purge(&ppp->file.rq);
file             3156 drivers/net/ppp/ppp_generic.c 		if (pch->file.index == unit) {
file             3163 drivers/net/ppp/ppp_generic.c 		if (pch->file.index == unit)
file             3202 drivers/net/ppp/ppp_generic.c 	if (pch->file.hdrlen > ppp->file.hdrlen)
file             3203 drivers/net/ppp/ppp_generic.c 		ppp->file.hdrlen = pch->file.hdrlen;
file             3204 drivers/net/ppp/ppp_generic.c 	hdrlen = pch->file.hdrlen + 2;	/* for protocol bytes */
file             3210 drivers/net/ppp/ppp_generic.c 	refcount_inc(&ppp->file.refcnt);
file             3239 drivers/net/ppp/ppp_generic.c 			wake_up_interruptible(&ppp->file.rwait);
file             3241 drivers/net/ppp/ppp_generic.c 		if (refcount_dec_and_test(&ppp->file.refcnt))
file             3258 drivers/net/ppp/ppp_generic.c 	if (!pch->file.dead) {
file             3263 drivers/net/ppp/ppp_generic.c 	skb_queue_purge(&pch->file.xq);
file             3264 drivers/net/ppp/ppp_generic.c 	skb_queue_purge(&pch->file.rq);
file              259 drivers/net/ppp/ppp_synctty.c ppp_sync_read(struct tty_struct *tty, struct file *file,
file              270 drivers/net/ppp/ppp_synctty.c ppp_sync_write(struct tty_struct *tty, struct file *file,
file              277 drivers/net/ppp/ppp_synctty.c ppp_synctty_ioctl(struct tty_struct *tty, struct file *file,
file              306 drivers/net/ppp/ppp_synctty.c 		err = n_tty_ioctl_helper(tty, file, cmd, arg);
file              317 drivers/net/ppp/ppp_synctty.c 		err = tty_mode_ioctl(tty, file, cmd, arg);
file              327 drivers/net/ppp/ppp_synctty.c ppp_sync_poll(struct tty_struct *tty, struct file *file, poll_table *wait)
file             1078 drivers/net/slip/slip.c static int slip_ioctl(struct tty_struct *tty, struct file *file,
file             1179 drivers/net/slip/slip.c 		return tty_mode_ioctl(tty, file, cmd, arg);
file              144 drivers/net/tap.c static int tap_enable_queue(struct tap_dev *tap, struct file *file,
file              165 drivers/net/tap.c static int tap_set_queue(struct tap_dev *tap, struct file *file,
file              175 drivers/net/tap.c 	q->file = file;
file              178 drivers/net/tap.c 	file->private_data = q;
file              501 drivers/net/tap.c static int tap_open(struct inode *inode, struct file *file)
file              526 drivers/net/tap.c 	q->sock.file = file;
file              544 drivers/net/tap.c 	err = tap_set_queue(tap, file, q);
file              565 drivers/net/tap.c static int tap_release(struct inode *inode, struct file *file)
file              567 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file              572 drivers/net/tap.c static __poll_t tap_poll(struct file *file, poll_table *wait)
file              574 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file              581 drivers/net/tap.c 	poll_wait(file, &q->sock.wq.wait, wait);
file              760 drivers/net/tap.c 	struct file *file = iocb->ki_filp;
file              761 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file              763 drivers/net/tap.c 	return tap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK);
file              876 drivers/net/tap.c 	struct file *file = iocb->ki_filp;
file              877 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file              880 drivers/net/tap.c 	ret = tap_do_read(q, to, file->f_flags & O_NONBLOCK, NULL);
file              904 drivers/net/tap.c static int tap_ioctl_set_queue(struct file *file, unsigned int flags)
file              906 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file              915 drivers/net/tap.c 		ret = tap_enable_queue(tap, file, q);
file              976 drivers/net/tap.c static long tap_ioctl(struct file *file, unsigned int cmd,
file              979 drivers/net/tap.c 	struct tap_queue *q = file->private_data;
file             1025 drivers/net/tap.c 		ret = tap_ioctl_set_queue(file, u);
file             1127 drivers/net/tap.c static long tap_compat_ioctl(struct file *file, unsigned int cmd,
file             1130 drivers/net/tap.c 	return tap_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             1266 drivers/net/tap.c struct socket *tap_get_socket(struct file *file)
file             1269 drivers/net/tap.c 	if (file->f_op != &tap_fops)
file             1271 drivers/net/tap.c 	q = file->private_data;
file             1278 drivers/net/tap.c struct ptr_ring *tap_get_ptr_ring(struct file *file)
file             1282 drivers/net/tap.c 	if (file->f_op != &tap_fops)
file             1284 drivers/net/tap.c 	q = file->private_data;
file              789 drivers/net/tun.c static int tun_attach(struct tun_struct *tun, struct file *file,
file              793 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             1426 drivers/net/tun.c static __poll_t tun_chr_poll(struct file *file, poll_table *wait)
file             1428 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             1440 drivers/net/tun.c 	poll_wait(file, sk_sleep(sk), wait);
file             2027 drivers/net/tun.c 	struct file *file = iocb->ki_filp;
file             2028 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             2036 drivers/net/tun.c 			      file->f_flags & O_NONBLOCK, false);
file             2253 drivers/net/tun.c 	struct file *file = iocb->ki_filp;
file             2254 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             2260 drivers/net/tun.c 	ret = tun_do_read(tun, tfile, to, file->f_flags & O_NONBLOCK, NULL);
file             2706 drivers/net/tun.c static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
file             2709 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             2746 drivers/net/tun.c 		err = tun_attach(tun, file, ifr->ifr_flags & IFF_NOFILTER,
file             2846 drivers/net/tun.c 		err = tun_attach(tun, file, false, ifr->ifr_flags & IFF_NAPI,
file             2982 drivers/net/tun.c static int tun_set_queue(struct file *file, struct ifreq *ifr)
file             2984 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             2999 drivers/net/tun.c 		ret = tun_attach(tun, file, false, tun->flags & IFF_NAPI,
file             3038 drivers/net/tun.c static long __tun_chr_ioctl(struct file *file, unsigned int cmd,
file             3041 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             3070 drivers/net/tun.c 		return tun_set_queue(file, &ifr);
file             3088 drivers/net/tun.c 		ret = tun_set_iff(net, file, &ifr);
file             3365 drivers/net/tun.c static long tun_chr_ioctl(struct file *file,
file             3368 drivers/net/tun.c 	return __tun_chr_ioctl(file, cmd, arg, sizeof (struct ifreq));
file             3372 drivers/net/tun.c static long tun_chr_compat_ioctl(struct file *file,
file             3396 drivers/net/tun.c 	return __tun_chr_ioctl(file, cmd, arg, sizeof(struct compat_ifreq));
file             3400 drivers/net/tun.c static int tun_chr_fasync(int fd, struct file *file, int on)
file             3402 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             3405 drivers/net/tun.c 	if ((ret = fasync_helper(fd, file, on, &tfile->fasync)) < 0)
file             3409 drivers/net/tun.c 		__f_setown(file, task_pid(current), PIDTYPE_TGID, 0);
file             3418 drivers/net/tun.c static int tun_chr_open(struct inode *inode, struct file * file)
file             3441 drivers/net/tun.c 	tfile->socket.file = file;
file             3449 drivers/net/tun.c 	file->private_data = tfile;
file             3457 drivers/net/tun.c static int tun_chr_close(struct inode *inode, struct file *file)
file             3459 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             3467 drivers/net/tun.c static void tun_chr_show_fdinfo(struct seq_file *m, struct file *file)
file             3469 drivers/net/tun.c 	struct tun_file *tfile = file->private_data;
file             3721 drivers/net/tun.c struct socket *tun_get_socket(struct file *file)
file             3724 drivers/net/tun.c 	if (file->f_op != &tun_fops)
file             3726 drivers/net/tun.c 	tfile = file->private_data;
file             3733 drivers/net/tun.c struct ptr_ring *tun_get_tx_ring(struct file *file)
file             3737 drivers/net/tun.c 	if (file->f_op != &tun_fops)
file             3739 drivers/net/tun.c 	tfile = file->private_data;
file             1237 drivers/net/usb/hso.c static int hso_serial_open(struct tty_struct *tty, struct file *filp)
file             1292 drivers/net/usb/hso.c static void hso_serial_close(struct tty_struct *tty, struct file *filp)
file              282 drivers/net/wan/cosa.c static ssize_t cosa_read(struct file *file,
file              284 drivers/net/wan/cosa.c static ssize_t cosa_write(struct file *file,
file              286 drivers/net/wan/cosa.c static unsigned int cosa_poll(struct file *file, poll_table *poll);
file              287 drivers/net/wan/cosa.c static int cosa_open(struct inode *inode, struct file *file);
file              288 drivers/net/wan/cosa.c static int cosa_release(struct inode *inode, struct file *file);
file              289 drivers/net/wan/cosa.c static long cosa_chardev_ioctl(struct file *file, unsigned int cmd,
file              292 drivers/net/wan/cosa.c static int cosa_fasync(struct inode *inode, struct file *file, int on);
file              769 drivers/net/wan/cosa.c static ssize_t cosa_read(struct file *file,
file              774 drivers/net/wan/cosa.c 	struct channel_data *chan = file->private_data;
file              844 drivers/net/wan/cosa.c static ssize_t cosa_write(struct file *file,
file              848 drivers/net/wan/cosa.c 	struct channel_data *chan = file->private_data;
file              914 drivers/net/wan/cosa.c static __poll_t cosa_poll(struct file *file, poll_table *poll)
file              920 drivers/net/wan/cosa.c static int cosa_open(struct inode *inode, struct file *file)
file              929 drivers/net/wan/cosa.c 	if ((n=iminor(file_inode(file))>>CARD_MINOR_BITS)
file              936 drivers/net/wan/cosa.c 	if ((n=iminor(file_inode(file))
file              943 drivers/net/wan/cosa.c 	file->private_data = chan;
file              964 drivers/net/wan/cosa.c static int cosa_release(struct inode *inode, struct file *file)
file              966 drivers/net/wan/cosa.c 	struct channel_data *channel = file->private_data;
file              982 drivers/net/wan/cosa.c static int cosa_fasync(struct inode *inode, struct file *file, int on)
file              986 drivers/net/wan/cosa.c 	return fasync_helper(inode, file, on, &fasync[port]);
file             1185 drivers/net/wan/cosa.c static long cosa_chardev_ioctl(struct file *file, unsigned int cmd,
file             1188 drivers/net/wan/cosa.c 	struct channel_data *channel = file->private_data;
file              686 drivers/net/wan/x25_asy.c static int x25_asy_ioctl(struct tty_struct *tty, struct file *file,
file              704 drivers/net/wan/x25_asy.c 		return tty_mode_ioctl(tty, file, cmd, arg);
file               41 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_rx_stats_read(struct file *filp, char __user *buffer,
file               65 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_rx_stats_write(struct file *filp, const char __user *buffer,
file               95 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_tx_stats_read(struct file *filp, char __user *buffer,
file              118 drivers/net/wimax/i2400m/debugfs.c ssize_t i2400m_tx_stats_write(struct file *filp, const char __user *buffer,
file              783 drivers/net/wireless/ath/ath10k/core.c 						   const char *file)
file              789 drivers/net/wireless/ath/ath10k/core.c 	if (file == NULL)
file              795 drivers/net/wireless/ath/ath10k/core.c 	snprintf(filename, sizeof(filename), "%s/%s", dir, file);
file             1658 drivers/net/wireless/ath/ath10k/core.c 				    const struct firmware *file)
file             1662 drivers/net/wireless/ath/ath10k/core.c 	if (!file)
file             1665 drivers/net/wireless/ath/ath10k/core.c 	if (IS_ERR(file))
file             1666 drivers/net/wireless/ath/ath10k/core.c 		return PTR_ERR(file);
file             1668 drivers/net/wireless/ath/ath10k/core.c 	ret = ath10k_download_board_data(ar, file->data, file->size);
file              149 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_wmi_services(struct file *file,
file              153 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              392 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_fw_stats_open(struct inode *inode, struct file *file)
file              423 drivers/net/wireless/ath/ath10k/debug.c 	file->private_data = buf;
file              436 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_fw_stats_release(struct inode *inode, struct file *file)
file              438 drivers/net/wireless/ath/ath10k/debug.c 	vfree(file->private_data);
file              443 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf,
file              446 drivers/net/wireless/ath/ath10k/debug.c 	const char *buf = file->private_data;
file              460 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_debug_fw_reset_stats_read(struct file *file,
file              464 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              520 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_simulate_fw_crash(struct file *file,
file              541 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_simulate_fw_crash(struct file *file,
file              545 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              613 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf,
file              616 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              632 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_reg_addr_read(struct file *file,
file              636 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              650 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_reg_addr_write(struct file *file,
file              654 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              680 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_reg_value_read(struct file *file,
file              684 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              711 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_reg_value_write(struct file *file,
file              715 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              751 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_mem_value_read(struct file *file,
file              755 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              803 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_mem_value_write(struct file *file,
file              807 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              903 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_htt_stats_mask(struct file *file,
file              907 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              916 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_htt_stats_mask(struct file *file,
file              920 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              956 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_htt_max_amsdu_ampdu(struct file *file,
file              960 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              976 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_htt_max_amsdu_ampdu(struct file *file,
file              980 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1018 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_fw_dbglog(struct file *file,
file             1022 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1032 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_fw_dbglog(struct file *file,
file             1036 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1280 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_debug_cal_data_open(struct inode *inode, struct file *file)
file             1291 drivers/net/wireless/ath/ath10k/debug.c 	file->private_data = ar;
file             1297 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_debug_cal_data_read(struct file *file,
file             1301 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1314 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_ani_enable(struct file *file,
file             1318 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1348 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf,
file             1351 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1375 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_nf_cal_period(struct file *file,
file             1379 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1388 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_nf_cal_period(struct file *file,
file             1392 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1625 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_tpc_stats_open(struct inode *inode, struct file *file)
file             1652 drivers/net/wireless/ath/ath10k/debug.c 	file->private_data = buf;
file             1665 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_tpc_stats_release(struct inode *inode, struct file *file)
file             1667 drivers/net/wireless/ath/ath10k/debug.c 	vfree(file->private_data);
file             1672 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf,
file             1675 drivers/net/wireless/ath/ath10k/debug.c 	const char *buf = file->private_data;
file             1758 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_simulate_radar(struct file *file,
file             1762 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1793 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf,
file             1798 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1847 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_pktlog_filter(struct file *file,
file             1851 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1894 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_pktlog_filter(struct file *file, char __user *ubuf,
file             1898 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1915 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_quiet_period(struct file *file,
file             1919 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1938 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_quiet_period(struct file *file, char __user *ubuf,
file             1942 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             1959 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_btcoex(struct file *file,
file             1963 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2019 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_btcoex(struct file *file, char __user *ubuf,
file             2023 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2040 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_enable_extd_tx_stats(struct file *file,
file             2044 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2072 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_enable_extd_tx_stats(struct file *file,
file             2078 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2095 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_peer_stats(struct file *file,
file             2099 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2142 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_peer_stats(struct file *file, char __user *ubuf,
file             2147 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2164 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_debug_fw_checksums_read(struct file *file,
file             2168 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2219 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_sta_tid_stats_mask_read(struct file *file,
file             2223 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2231 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_sta_tid_stats_mask_write(struct file *file,
file             2235 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2284 drivers/net/wireless/ath/ath10k/debug.c static int ath10k_tpc_stats_final_open(struct inode *inode, struct file *file)
file             2311 drivers/net/wireless/ath/ath10k/debug.c 	file->private_data = buf;
file             2325 drivers/net/wireless/ath/ath10k/debug.c 					  struct file *file)
file             2327 drivers/net/wireless/ath/ath10k/debug.c 	vfree(file->private_data);
file             2332 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_tpc_stats_final_read(struct file *file,
file             2336 drivers/net/wireless/ath/ath10k/debug.c 	const char *buf = file->private_data;
file             2350 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_warm_hw_reset(struct file *file,
file             2354 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2407 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_ps_state_enable(struct file *file,
file             2411 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2451 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_ps_state_enable(struct file *file,
file             2455 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file             2475 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_write_reset_htt_stats(struct file *file,
file             2479 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k *ar = file->private_data;
file              175 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_read_aggr_mode(struct file *file,
file              179 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              194 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_write_aggr_mode(struct file *file,
file              198 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              237 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_write_addba(struct file *file,
file              241 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              288 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_write_addba_resp(struct file *file,
file              292 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              338 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_write_delba(struct file *file,
file              342 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              389 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_read_peer_debug_trigger(struct file *file,
file              394 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              409 drivers/net/wireless/ath/ath10k/debugfs_sta.c ath10k_dbg_sta_write_peer_debug_trigger(struct file *file,
file              413 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              452 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_read_peer_ps_state(struct file *file,
file              456 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              562 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_read_tid_stats(struct file *file,
file              566 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              645 drivers/net/wireless/ath/ath10k/debugfs_sta.c static ssize_t ath10k_dbg_sta_dump_tx_stats(struct file *file,
file              649 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
file              273 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf,
file              276 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              301 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t write_file_spec_scan_ctl(struct file *file,
file              305 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              364 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t read_file_spectral_count(struct file *file,
file              368 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              381 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t write_file_spectral_count(struct file *file,
file              385 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              416 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t read_file_spectral_bins(struct file *file,
file              420 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              437 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t write_file_spectral_bins(struct file *file,
file              441 drivers/net/wireless/ath/ath10k/spectral.c 	struct ath10k *ar = file->private_data;
file              171 drivers/net/wireless/ath/ath5k/debug.c static int open_file_registers(struct inode *inode, struct file *file)
file              175 drivers/net/wireless/ath/ath5k/debug.c 	res = seq_open(file, &register_seq_ops);
file              177 drivers/net/wireless/ath/ath5k/debug.c 		s = file->private_data;
file              194 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_beacon(struct file *file, char __user *user_buf,
file              197 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              242 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_beacon(struct file *file,
file              246 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              275 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_reset(struct file *file,
file              279 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              315 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf,
file              318 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              343 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_debug(struct file *file,
file              347 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              377 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_antenna(struct file *file, char __user *user_buf,
file              380 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              448 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_antenna(struct file *file,
file              452 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              490 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_misc(struct file *file, char __user *user_buf,
file              493 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              545 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf,
file              548 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              621 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_frameerrors(struct file *file,
file              625 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              663 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_ani(struct file *file, char __user *user_buf,
file              666 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              771 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_ani(struct file *file,
file              775 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              828 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_queue(struct file *file, char __user *user_buf,
file              831 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              869 drivers/net/wireless/ath/ath5k/debug.c static ssize_t write_file_queue(struct file *file,
file              873 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_hw *ah = file->private_data;
file              905 drivers/net/wireless/ath/ath5k/debug.c static int open_file_eeprom(struct inode *inode, struct file *file)
file              959 drivers/net/wireless/ath/ath5k/debug.c 	file->private_data = (void *)ep;
file              970 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_eeprom(struct file *file, char __user *user_buf,
file              973 drivers/net/wireless/ath/ath5k/debug.c 	struct eeprom_private *ep = file->private_data;
file              978 drivers/net/wireless/ath/ath5k/debug.c static int release_file_eeprom(struct inode *inode, struct file *file)
file              980 drivers/net/wireless/ath/ath5k/debug.c 	struct eeprom_private *ep = file->private_data;
file              300 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t read_file_war_stats(struct file *file, char __user *user_buf,
file              303 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              376 drivers/net/wireless/ath/ath6kl/debug.c static int ath6kl_fwlog_open(struct inode *inode, struct file *file)
file              385 drivers/net/wireless/ath/ath6kl/debug.c 	file->private_data = inode->i_private;
file              389 drivers/net/wireless/ath/ath6kl/debug.c static int ath6kl_fwlog_release(struct inode *inode, struct file *file)
file              398 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf,
file              401 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              449 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_block_read(struct file *file,
file              454 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              525 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf,
file              528 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              537 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_mask_write(struct file *file,
file              541 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              565 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t read_file_tgt_stats(struct file *file, char __user *user_buf,
file              568 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              703 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t read_file_credit_dist_stats(struct file *file,
file              707 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              781 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_endpoint_stats_read(struct file *file,
file              785 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              836 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_endpoint_stats_write(struct file *file,
file              840 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              892 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regread_read(struct file *file, char __user *user_buf,
file              895 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              909 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regread_write(struct file *file,
file              913 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file              938 drivers/net/wireless/ath/ath6kl/debug.c static int ath6kl_regdump_open(struct inode *inode, struct file *file)
file              994 drivers/net/wireless/ath/ath6kl/debug.c 	file->private_data = buf;
file             1003 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regdump_read(struct file *file, char __user *user_buf,
file             1006 drivers/net/wireless/ath/ath6kl/debug.c 	u8 *buf = file->private_data;
file             1010 drivers/net/wireless/ath/ath6kl/debug.c static int ath6kl_regdump_release(struct inode *inode, struct file *file)
file             1012 drivers/net/wireless/ath/ath6kl/debug.c 	vfree(file->private_data);
file             1024 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_lrssi_roam_write(struct file *file,
file             1028 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1041 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_lrssi_roam_read(struct file *file,
file             1045 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1062 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regwrite_read(struct file *file,
file             1066 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1076 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regwrite_write(struct file *file,
file             1080 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1157 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_roam_table_read(struct file *file, char __user *user_buf,
file             1160 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1228 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_force_roam_write(struct file *file,
file             1232 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1260 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_roam_mode_write(struct file *file,
file             1264 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1305 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_keepalive_read(struct file *file, char __user *user_buf,
file             1308 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1317 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_keepalive_write(struct file *file,
file             1321 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1349 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_disconnect_timeout_read(struct file *file,
file             1353 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1362 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_disconnect_timeout_write(struct file *file,
file             1366 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1389 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_create_qos_write(struct file *file,
file             1393 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1567 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_delete_qos_write(struct file *file,
file             1571 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1614 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_bgscan_int_write(struct file *file,
file             1618 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1654 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_listen_int_write(struct file *file,
file             1658 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1686 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_listen_int_read(struct file *file,
file             1690 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file             1712 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_power_params_write(struct file *file,
file             1716 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl *ar = file->private_data;
file               19 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf,
file               22 drivers/net/wireless/ath/ath9k/common-debug.c 	struct ath_hw *ah = file->private_data;
file               55 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf,
file               58 drivers/net/wireless/ath/ath9k/common-debug.c 	struct ath_hw *ah = file->private_data;
file              123 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_recv(struct file *file, char __user *user_buf,
file              133 drivers/net/wireless/ath/ath9k/common-debug.c 	struct ath_rx_stats *rxstats = file->private_data;
file              187 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_phy_err(struct file *file, char __user *user_buf,
file              194 drivers/net/wireless/ath/ath9k/common-debug.c 	struct ath_rx_stats *rxstats = file->private_data;
file              689 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf,
file              692 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              789 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t write_file_spec_scan_ctl(struct file *file,
file              793 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              840 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spectral_short_repeat(struct file *file,
file              844 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              852 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t write_file_spectral_short_repeat(struct file *file,
file              856 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              888 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spectral_count(struct file *file,
file              892 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              900 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t write_file_spectral_count(struct file *file,
file              904 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              936 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spectral_period(struct file *file,
file              940 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              948 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t write_file_spectral_period(struct file *file,
file              952 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              984 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spectral_fft_period(struct file *file,
file              988 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file              996 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t write_file_spectral_fft_period(struct file *file,
file             1000 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct ath_spec_scan_priv *spec_priv = file->private_data;
file               71 drivers/net/wireless/ath/ath9k/debug.c static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf,
file               74 drivers/net/wireless/ath/ath9k/debug.c 	u8 *buf = file->private_data;
file               78 drivers/net/wireless/ath/ath9k/debug.c static int ath9k_debugfs_release_buf(struct inode *inode, struct file *file)
file               80 drivers/net/wireless/ath/ath9k/debug.c 	vfree(file->private_data);
file               86 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf,
file               89 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file               98 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_debug(struct file *file, const char __user *user_buf,
file              101 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              132 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_ani(struct file *file, char __user *user_buf,
file              135 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              187 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_ani(struct file *file,
file              191 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              230 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_bt_ant_diversity(struct file *file,
file              234 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              243 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_bt_ant_diversity(struct file *file,
file              247 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              299 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_antenna_diversity(struct file *file,
file              303 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              404 drivers/net/wireless/ath/ath9k/debug.c static int read_file_dma(struct seq_file *file, void *data)
file              406 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              420 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "Raw DMA Debug values:\n");
file              424 drivers/net/wireless/ath/ath9k/debug.c 			seq_puts(file, "\n");
file              427 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, "%d: %08x ", i, val[i]);
file              430 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "\n\n");
file              431 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "Num QCU: chain_st fsp_ok fsp_st DCU: chain_st\n");
file              444 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, "%2d          %2x      %1x     %2x           %2x\n",
file              451 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "\n");
file              453 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "qcu_stitch state:   %2x    qcu_fetch state:        %2x\n",
file              455 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "qcu_complete state: %2x    dcu_complete state:     %2x\n",
file              457 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "dcu_arb state:      %2x    dcu_fp state:           %2x\n",
file              459 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "chan_idle_dur:     %3d    chan_idle_dur_valid:     %1d\n",
file              461 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "txfifo_valid_0:      %1d    txfifo_valid_1:          %1d\n",
file              463 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "txfifo_dcu_num_0:   %2d    txfifo_dcu_num_1:       %2d\n",
file              466 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "pcu observe: 0x%x\n", REG_READ_D(ah, AR_OBS_BUS_1));
file              467 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "AR_CR: 0x%x\n", REG_READ_D(ah, AR_CR));
file              527 drivers/net/wireless/ath/ath9k/debug.c static int read_file_interrupt(struct seq_file *file, void *data)
file              529 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              534 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, "%21s: %10u\n", a,		\
file              566 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "SYNC_CAUSE stats:\n");
file              591 drivers/net/wireless/ath/ath9k/debug.c static int read_file_xmit(struct seq_file *file, void *data)
file              593 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              596 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "%30s %10s%10s%10s\n\n", "BE", "BK", "VI", "VO");
file              624 drivers/net/wireless/ath/ath9k/debug.c 			struct seq_file *file)
file              628 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "%s: %d ", "qnum", txq->axq_qnum);
file              629 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "%s: %2d ", "qdepth", txq->axq_depth);
file              630 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "%s: %2d ", "ampdu-depth", txq->axq_ampdu_depth);
file              631 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "%s: %3d\n", "pending", txq->pending_frames);
file              636 drivers/net/wireless/ath/ath9k/debug.c static int read_file_queues(struct seq_file *file, void *data)
file              638 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              648 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, "(%s):  ", qname[i]);
file              649 drivers/net/wireless/ath/ath9k/debug.c 		print_queue(sc, txq, file);
file              652 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "(CAB): ");
file              653 drivers/net/wireless/ath/ath9k/debug.c 	print_queue(sc, sc->beacon.cabq, file);
file              658 drivers/net/wireless/ath/ath9k/debug.c static int read_file_misc(struct seq_file *file, void *data)
file              660 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              668 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "BSSID: %pM\n", common->curbssid);
file              669 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "BSSID-MASK: %pM\n", common->bssidmask);
file              670 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "OPMODE: %s\n",
file              677 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "RXFILTER: 0x%x", rxfilter);
file              680 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " UCAST");
file              682 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " MCAST");
file              684 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " BCAST");
file              686 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " CONTROL");
file              688 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " BEACON");
file              690 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " PROM");
file              692 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " PROBEREQ");
file              694 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " PHYERR");
file              696 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " MYBEACON");
file              698 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " COMP_BAR");
file              700 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " PSPOLL");
file              702 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " PHYRADAR");
file              704 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " MCAST_BCAST_ALL");
file              706 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " CONTROL_WRAPPER");
file              708 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "\n");
file              712 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "INTERRUPT-MASK: 0x%x", reg);
file              715 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " SWBA");
file              717 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " BMISS");
file              719 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " CST");
file              721 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " RX");
file              723 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " RXHP");
file              725 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " RXLP");
file              727 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, " BB_WATCHDOG");
file              729 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "\n");
file              737 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file,
file              742 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, " ADHOC: %i OCB: %i TOTAL: %hi BEACON-VIF: %hi\n",
file              750 drivers/net/wireless/ath/ath9k/debug.c static int read_file_reset(struct seq_file *file, void *data)
file              752 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              775 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, "%17s: %2d\n", reset_cause[i],
file              824 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_regidx(struct file *file, char __user *user_buf,
file              827 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              835 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_regidx(struct file *file, const char __user *user_buf,
file              838 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              863 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_regval(struct file *file, char __user *user_buf,
file              866 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              879 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_regval(struct file *file, const char __user *user_buf,
file              882 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              912 drivers/net/wireless/ath/ath9k/debug.c static int open_file_regdump(struct inode *inode, struct file *file)
file              951 drivers/net/wireless/ath/ath9k/debug.c 	file->private_data = buf;
file              964 drivers/net/wireless/ath/ath9k/debug.c static int read_file_dump_nfcal(struct seq_file *file, void *data)
file              966 drivers/net/wireless/ath/ath9k/debug.c 	struct ieee80211_hw *hw = dev_get_drvdata(file->private);
file              976 drivers/net/wireless/ath/ath9k/debug.c 	seq_printf(file, "Channel Noise Floor : %d\n", ah->noise);
file              977 drivers/net/wireless/ath/ath9k/debug.c 	seq_puts(file, "Chain | privNF | # Readings | NF Readings\n");
file              984 drivers/net/wireless/ath/ath9k/debug.c 		seq_printf(file, " %d\t %d\t %d\t\t", i, h[i].privNF, nread);
file              986 drivers/net/wireless/ath/ath9k/debug.c 			seq_printf(file, " %d", h[i].nfCalBuffer[j]);
file              987 drivers/net/wireless/ath/ath9k/debug.c 		seq_puts(file, "\n");
file              994 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_btcoex(struct file *file, char __user *user_buf,
file              997 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1029 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_ackto(struct file *file, char __user *user_buf,
file             1032 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1053 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_wow(struct file *file, char __user *user_buf,
file             1056 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1077 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_wow(struct file *file, const char __user *user_buf,
file             1080 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1114 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_tpc(struct file *file, char __user *user_buf,
file             1117 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1139 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_tpc(struct file *file, const char __user *user_buf,
file             1142 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1181 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_nf_override(struct file *file,
file             1185 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file             1198 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_nf_override(struct file *file,
file             1202 drivers/net/wireless/ath/ath9k/debug.c 	struct ath_softc *sc = file->private_data;
file              199 drivers/net/wireless/ath/ath9k/debug.h 		seq_printf(file, "%s%13u%11u%10u%10u\n", str,		\
file               23 drivers/net/wireless/ath/ath9k/debug_sta.c static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf,
file               26 drivers/net/wireless/ath/ath9k/debug_sta.c 	struct ath_node *an = file->private_data;
file              168 drivers/net/wireless/ath/ath9k/debug_sta.c static ssize_t read_file_node_recv(struct file *file, char __user *user_buf,
file              171 drivers/net/wireless/ath/ath9k/debug_sta.c 	struct ath_node *an = file->private_data;
file               34 drivers/net/wireless/ath/ath9k/dfs_debug.c static ssize_t read_file_dfs(struct file *file, char __user *user_buf,
file               37 drivers/net/wireless/ath/ath9k/dfs_debug.c 	struct ath_softc *sc = file->private_data;
file               97 drivers/net/wireless/ath/ath9k/dfs_debug.c static ssize_t write_file_dfs(struct file *file, const char __user *user_buf,
file              100 drivers/net/wireless/ath/ath9k/dfs_debug.c 	struct ath_softc *sc = file->private_data;
file              119 drivers/net/wireless/ath/ath9k/dfs_debug.c static ssize_t write_file_simulate_radar(struct file *file,
file              123 drivers/net/wireless/ath/ath9k/dfs_debug.c 	struct ath_softc *sc = file->private_data;
file               19 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf,
file               22 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file               77 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf,
file               80 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              147 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf,
file              150 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              193 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
file              196 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              251 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_skb_rx(struct file *file, char __user *user_buf,
file              254 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              289 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_slot(struct file *file, char __user *user_buf,
file              292 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              313 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_queue(struct file *file, char __user *user_buf,
file              316 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              360 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf,
file              363 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              372 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t write_file_debug(struct file *file, const char __user *user_buf,
file              375 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	struct ath9k_htc_priv *priv = file->private_data;
file              159 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t read_file_tx99(struct file *file, char __user *user_buf,
file              162 drivers/net/wireless/ath/ath9k/tx99.c 	struct ath_softc *sc = file->private_data;
file              170 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t write_file_tx99(struct file *file, const char __user *user_buf,
file              173 drivers/net/wireless/ath/ath9k/tx99.c 	struct ath_softc *sc = file->private_data;
file              227 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t read_file_tx99_power(struct file *file,
file              231 drivers/net/wireless/ath/ath9k/tx99.c 	struct ath_softc *sc = file->private_data;
file              242 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t write_file_tx99_power(struct file *file,
file              246 drivers/net/wireless/ath/ath9k/tx99.c 	struct ath_softc *sc = file->private_data;
file               62 drivers/net/wireless/ath/carl9170/debug.c static ssize_t carl9170_debugfs_read(struct file *file, char __user *userbuf,
file               74 drivers/net/wireless/ath/carl9170/debug.c 	ar = file->private_data;
file               78 drivers/net/wireless/ath/carl9170/debug.c 	dfops = container_of(debugfs_real_fops(file),
file              113 drivers/net/wireless/ath/carl9170/debug.c static ssize_t carl9170_debugfs_write(struct file *file,
file              127 drivers/net/wireless/ath/carl9170/debug.c 	ar = file->private_data;
file              131 drivers/net/wireless/ath/carl9170/debug.c 	dfops = container_of(debugfs_real_fops(file),
file               27 drivers/net/wireless/ath/wcn36xx/debug.c static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf,
file               30 drivers/net/wireless/ath/wcn36xx/debug.c 	struct wcn36xx *wcn = file->private_data;
file               51 drivers/net/wireless/ath/wcn36xx/debug.c static ssize_t write_file_bool_bmps(struct file *file,
file               55 drivers/net/wireless/ath/wcn36xx/debug.c 	struct wcn36xx *wcn = file->private_data;
file               98 drivers/net/wireless/ath/wcn36xx/debug.c static ssize_t write_file_dump(struct file *file,
file              102 drivers/net/wireless/ath/wcn36xx/debug.c 	struct wcn36xx *wcn = file->private_data;
file              625 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_ioblob(struct file *file, char __user *user_buf,
file              629 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil_blob_wrapper *wil_blob = file->private_data;
file              704 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_rxon(struct file *file, const char __user *buf,
file              707 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file              745 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_rbufcap(struct file *file,
file              749 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file              788 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_back(struct file *file, const char __user *buf,
file              791 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file              861 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_back(struct file *file, char __user *user_buf,
file              885 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_pmccfg(struct file *file, const char __user *buf,
file              888 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file              935 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_pmccfg(struct file *file, char __user *user_buf,
file              938 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file              963 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_pmcring_seq_open(struct inode *inode, struct file *file)
file              965 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_pmcring_read, inode->i_private);
file              977 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_txmgmt(struct file *file, const char __user *buf,
file              980 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             1015 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_wmi(struct file *file, const char __user *buf,
file             1018 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             1513 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_recovery(struct file *file, char __user *user_buf,
file             1516 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             1531 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_recovery(struct file *file,
file             1535 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             1789 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_tx_latency_seq_open(struct inode *inode, struct file *file)
file             1791 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_tx_latency_debugfs_show,
file             1795 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_tx_latency_write(struct file *file, const char __user *buf,
file             1798 drivers/net/wireless/ath/wil6210/debugfs.c 	struct seq_file *s = file->private_data;
file             1953 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_link_stats_seq_open(struct inode *inode, struct file *file)
file             1955 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_link_stats_debugfs_show, inode->i_private);
file             1958 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_link_stats_write(struct file *file, const char __user *buf,
file             1961 drivers/net/wireless/ath/wil6210/debugfs.c 	struct seq_file *s = file->private_data;
file             2030 drivers/net/wireless/ath/wil6210/debugfs.c wil_link_stats_global_seq_open(struct inode *inode, struct file *file)
file             2032 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_link_stats_global_debugfs_show,
file             2037 drivers/net/wireless/ath/wil6210/debugfs.c wil_link_stats_global_write(struct file *file, const char __user *buf,
file             2040 drivers/net/wireless/ath/wil6210/debugfs.c 	struct seq_file *s = file->private_data;
file             2069 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_led_cfg(struct file *file, char __user *user_buf,
file             2085 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_file_led_cfg(struct file *file,
file             2089 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             2119 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_led_blink_time(struct file *file,
file             2153 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_led_blink_time(struct file *file, char __user *user_buf,
file             2192 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_fw_capabilities_seq_open(struct inode *inode, struct file *file)
file             2194 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_fw_capabilities_debugfs_show,
file             2218 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_fw_version_seq_open(struct inode *inode, struct file *file)
file             2220 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_fw_version_debugfs_show,
file             2232 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_write_suspend_stats(struct file *file,
file             2236 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             2243 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_suspend_stats(struct file *file,
file             2247 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wil6210_priv *wil = file->private_data;
file             2292 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_compressed_rx_status_write(struct file *file,
file             2296 drivers/net/wireless/ath/wil6210/debugfs.c 	struct seq_file *s = file->private_data;
file             2331 drivers/net/wireless/ath/wil6210/debugfs.c wil_compressed_rx_status_seq_open(struct inode *inode, struct file *file)
file             2333 drivers/net/wireless/ath/wil6210/debugfs.c 	return single_open(file, wil_compressed_rx_status_show,
file              329 drivers/net/wireless/ath/wil6210/pmc.c ssize_t wil_pmc_read(struct file *filp, char __user *buf, size_t count,
file              385 drivers/net/wireless/ath/wil6210/pmc.c loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence)
file               26 drivers/net/wireless/ath/wil6210/pmc.h ssize_t wil_pmc_read(struct file *, char __user *, size_t, loff_t *);
file               27 drivers/net/wireless/ath/wil6210/pmc.h loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
file              490 drivers/net/wireless/broadcom/b43/debugfs.c static ssize_t b43_debugfs_read(struct file *file, char __user *userbuf,
file              504 drivers/net/wireless/broadcom/b43/debugfs.c 	dev = file->private_data;
file              514 drivers/net/wireless/broadcom/b43/debugfs.c 	dfops = container_of(debugfs_real_fops(file),
file              553 drivers/net/wireless/broadcom/b43/debugfs.c static ssize_t b43_debugfs_write(struct file *file,
file              566 drivers/net/wireless/broadcom/b43/debugfs.c 	dev = file->private_data;
file              576 drivers/net/wireless/broadcom/b43/debugfs.c 	dfops = container_of(debugfs_real_fops(file),
file              187 drivers/net/wireless/broadcom/b43legacy/debugfs.c static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf,
file              201 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	dev = file->private_data;
file              211 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	dfops = container_of(debugfs_real_fops(file),
file              255 drivers/net/wireless/broadcom/b43legacy/debugfs.c static ssize_t b43legacy_debugfs_write(struct file *file,
file              268 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	dev = file->private_data;
file              278 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	dfops = container_of(debugfs_real_fops(file),
file             1089 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c static ssize_t bus_reset_write(struct file *file, const char __user *user_buf,
file             1092 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	struct brcmf_pub *drvr = file->private_data;
file             3043 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	char file[80] = "?";
file             3057 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 					  sh->assert_file_addr, (u8 *)file, 80);
file             3070 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		   file, sh->assert_line, expr);
file              174 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c static int brcms_debugfs_entry_open(struct inode *inode, struct file *f)
file             4415 drivers/net/wireless/cisco/airo.c static ssize_t proc_read( struct file *file,
file             4420 drivers/net/wireless/cisco/airo.c static ssize_t proc_write( struct file *file,
file             4424 drivers/net/wireless/cisco/airo.c static int proc_close( struct inode *inode, struct file *file );
file             4426 drivers/net/wireless/cisco/airo.c static int proc_stats_open( struct inode *inode, struct file *file );
file             4427 drivers/net/wireless/cisco/airo.c static int proc_statsdelta_open( struct inode *inode, struct file *file );
file             4428 drivers/net/wireless/cisco/airo.c static int proc_status_open( struct inode *inode, struct file *file );
file             4429 drivers/net/wireless/cisco/airo.c static int proc_SSID_open( struct inode *inode, struct file *file );
file             4430 drivers/net/wireless/cisco/airo.c static int proc_APList_open( struct inode *inode, struct file *file );
file             4431 drivers/net/wireless/cisco/airo.c static int proc_BSSList_open( struct inode *inode, struct file *file );
file             4432 drivers/net/wireless/cisco/airo.c static int proc_config_open( struct inode *inode, struct file *file );
file             4433 drivers/net/wireless/cisco/airo.c static int proc_wepkey_open( struct inode *inode, struct file *file );
file             4513 drivers/net/wireless/cisco/airo.c 	void (*on_close) (struct inode *, struct file *);
file             4609 drivers/net/wireless/cisco/airo.c static ssize_t proc_read( struct file *file,
file             4614 drivers/net/wireless/cisco/airo.c 	struct proc_data *priv = file->private_data;
file             4627 drivers/net/wireless/cisco/airo.c static ssize_t proc_write( struct file *file,
file             4633 drivers/net/wireless/cisco/airo.c 	struct proc_data *priv = file->private_data;
file             4646 drivers/net/wireless/cisco/airo.c static int proc_status_open(struct inode *inode, struct file *file)
file             4656 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             4658 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             4660 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             4713 drivers/net/wireless/cisco/airo.c static int proc_stats_rid_open(struct inode*, struct file*, u16);
file             4715 drivers/net/wireless/cisco/airo.c 				 struct file *file ) {
file             4716 drivers/net/wireless/cisco/airo.c 	if (file->f_mode&FMODE_WRITE) {
file             4717 drivers/net/wireless/cisco/airo.c 		return proc_stats_rid_open(inode, file, RID_STATSDELTACLEAR);
file             4719 drivers/net/wireless/cisco/airo.c 	return proc_stats_rid_open(inode, file, RID_STATSDELTA);
file             4722 drivers/net/wireless/cisco/airo.c static int proc_stats_open( struct inode *inode, struct file *file ) {
file             4723 drivers/net/wireless/cisco/airo.c 	return proc_stats_rid_open(inode, file, RID_STATS);
file             4727 drivers/net/wireless/cisco/airo.c 				struct file *file,
file             4738 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             4740 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             4742 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             4790 drivers/net/wireless/cisco/airo.c static void proc_config_on_close(struct inode *inode, struct file *file)
file             4792 drivers/net/wireless/cisco/airo.c 	struct proc_data *data = file->private_data;
file             5001 drivers/net/wireless/cisco/airo.c static int proc_config_open(struct inode *inode, struct file *file)
file             5009 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             5011 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5013 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5018 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5091 drivers/net/wireless/cisco/airo.c static void proc_SSID_on_close(struct inode *inode, struct file *file)
file             5093 drivers/net/wireless/cisco/airo.c 	struct proc_data *data = file->private_data;
file             5127 drivers/net/wireless/cisco/airo.c static void proc_APList_on_close( struct inode *inode, struct file *file ) {
file             5128 drivers/net/wireless/cisco/airo.c 	struct proc_data *data = file->private_data;
file             5249 drivers/net/wireless/cisco/airo.c static void proc_wepkey_on_close( struct inode *inode, struct file *file ) {
file             5260 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5299 drivers/net/wireless/cisco/airo.c static int proc_wepkey_open( struct inode *inode, struct file *file )
file             5310 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             5313 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5315 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5322 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5347 drivers/net/wireless/cisco/airo.c static int proc_SSID_open(struct inode *inode, struct file *file)
file             5356 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             5358 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5360 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5368 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5391 drivers/net/wireless/cisco/airo.c static int proc_APList_open( struct inode *inode, struct file *file ) {
file             5399 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             5401 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5403 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5410 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5429 drivers/net/wireless/cisco/airo.c static int proc_BSSList_open( struct inode *inode, struct file *file ) {
file             5439 drivers/net/wireless/cisco/airo.c 	if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
file             5441 drivers/net/wireless/cisco/airo.c 	data = file->private_data;
file             5443 drivers/net/wireless/cisco/airo.c 		kfree (file->private_data);
file             5451 drivers/net/wireless/cisco/airo.c 	if (file->f_mode & FMODE_WRITE) {
file             5452 drivers/net/wireless/cisco/airo.c 		if (!(file->f_mode & FMODE_READ)) {
file             5458 drivers/net/wireless/cisco/airo.c 				kfree(file->private_data);
file             5465 drivers/net/wireless/cisco/airo.c 				kfree(file->private_data);
file             5499 drivers/net/wireless/cisco/airo.c static int proc_close( struct inode *inode, struct file *file )
file             5501 drivers/net/wireless/cisco/airo.c 	struct proc_data *data = file->private_data;
file             5504 drivers/net/wireless/cisco/airo.c 		data->on_close(inode, file);
file              219 drivers/net/wireless/intel/ipw2x00/libipw_module.c static int debug_level_proc_open(struct inode *inode, struct file *file)
file              221 drivers/net/wireless/intel/ipw2x00/libipw_module.c 	return single_open(file, debug_level_proc_show, NULL);
file              224 drivers/net/wireless/intel/ipw2x00/libipw_module.c static ssize_t debug_level_proc_write(struct file *file,
file               34 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf,
file               37 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	struct il_priv *il = file->private_data;
file              299 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf,
file              302 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	struct il_priv *il = file->private_data;
file              389 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_general_stats_read(struct file *file, char __user *user_buf,
file              392 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	struct il_priv *il = file->private_data;
file              804 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_sta_dbgfs_stats_table_read(struct file *file, char __user *user_buf,
file              811 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	struct il3945_rs_sta *lq_sta = file->private_data;
file               41 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf,
file               44 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	struct il_priv *il = file->private_data;
file              453 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf,
file              456 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	struct il_priv *il = file->private_data;
file              619 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_general_stats_read(struct file *file, char __user *user_buf,
file              622 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	struct il_priv *il = file->private_data;
file             2530 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_scale_table_write(struct file *file,
file             2534 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct il_lq_sta *lq_sta = file->private_data;
file             2567 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_scale_table_read(struct file *file, char __user *user_buf,
file             2576 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct il_lq_sta *lq_sta = file->private_data;
file             2675 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_stats_table_read(struct file *file, char __user *user_buf,
file             2683 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct il_lq_sta *lq_sta = file->private_data;
file             2720 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_rate_scale_data_read(struct file *file,
file             2726 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct il_lq_sta *lq_sta = file->private_data;
file             1521 drivers/net/wireless/intel/iwlegacy/common.h 	ssize_t(*rx_stats_read) (struct file *file, char __user *user_buf,
file             1523 drivers/net/wireless/intel/iwlegacy/common.h 	ssize_t(*tx_stats_read) (struct file *file, char __user *user_buf,
file             1525 drivers/net/wireless/intel/iwlegacy/common.h 	ssize_t(*general_stats_read) (struct file *file,
file              123 drivers/net/wireless/intel/iwlegacy/debug.c static ssize_t il_dbgfs_##name##_read(struct file *file,               \
file              128 drivers/net/wireless/intel/iwlegacy/debug.c static ssize_t il_dbgfs_##name##_write(struct file *file,              \
file              200 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count,
file              204 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              240 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_clear_traffic_stats_write(struct file *file,
file              244 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              261 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count,
file              265 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              305 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count,
file              313 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              364 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sram_write(struct file *file, const char __user *user_buf,
file              367 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              389 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count,
file              392 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              453 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count,
file              457 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              497 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count,
file              500 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              576 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count,
file              580 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              637 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count,
file              641 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              716 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf,
file              719 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              737 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count,
file              740 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              762 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf,
file              765 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              788 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf,
file              791 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              812 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count,
file              816 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              859 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count,
file              863 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              888 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf,
file              891 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              893 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->rx_stats_read(file, user_buf, count, ppos);
file              897 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf,
file              900 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              902 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->tx_stats_read(file, user_buf, count, ppos);
file              906 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf,
file              909 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file              911 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->general_stats_read(file, user_buf, count, ppos);
file              915 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf,
file              919 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1014 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf,
file             1018 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1085 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf,
file             1088 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1109 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_clear_ucode_stats_write(struct file *file,
file             1113 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1134 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf,
file             1138 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1147 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf,
file             1151 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1161 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count,
file             1164 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1183 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf,
file             1187 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1200 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf,
file             1203 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1225 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_force_reset_read(struct file *file, char __user *user_buf,
file             1229 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1256 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf,
file             1261 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file             1269 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf,
file             1273 drivers/net/wireless/intel/iwlegacy/debug.c 	struct il_priv *il = file->private_data;
file               55 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_sram_read(struct file *file,
file               68 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              145 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_sram_write(struct file *file,
file              149 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              173 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_wowlan_sram_read(struct file *file,
file              177 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              187 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf,
file              190 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              243 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_nvm_read(struct file *file,
file              249 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              282 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf,
file              285 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              347 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_status_read(struct file *file,
file              351 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              381 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rx_handlers_read(struct file *file,
file              385 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              410 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rx_handlers_write(struct file *file,
file              414 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              433 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_qos_read(struct file *file, char __user *user_buf,
file              436 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              460 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_thermal_throttling_read(struct file *file,
file              464 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              492 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_disable_ht40_write(struct file *file,
file              496 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              515 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_disable_ht40_read(struct file *file,
file              519 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              530 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_temperature_read(struct file *file,
file              534 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              544 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_sleep_level_override_write(struct file *file,
file              548 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              586 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_sleep_level_override_read(struct file *file,
file              590 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              604 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_current_sleep_command_read(struct file *file,
file              608 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file              670 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_rx_stats_read(struct file *file,
file              674 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1103 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_tx_stats_read(struct file *file,
file             1107 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1300 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_general_stats_read(struct file *file,
file             1304 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1420 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_bt_stats_read(struct file *file,
file             1424 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = (struct iwl_priv *)file->private_data;
file             1508 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_reply_tx_error_read(struct file *file,
file             1512 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = (struct iwl_priv *)file->private_data;
file             1650 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_sensitivity_read(struct file *file,
file             1654 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1729 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_chain_noise_read(struct file *file,
file             1733 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1785 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_power_save_status_read(struct file *file,
file             1789 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1808 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_clear_ucode_statistics_write(struct file *file,
file             1812 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1832 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_tracing_read(struct file *file,
file             1836 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1853 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_ucode_tracing_write(struct file *file,
file             1857 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1883 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rxon_flags_read(struct file *file,
file             1887 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1896 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rxon_filter_flags_read(struct file *file,
file             1900 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1909 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_missed_beacon_read(struct file *file,
file             1913 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1924 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_missed_beacon_write(struct file *file,
file             1928 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1950 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_plcp_delta_read(struct file *file,
file             1954 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1965 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_plcp_delta_write(struct file *file,
file             1969 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             1989 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rf_reset_read(struct file *file,
file             1993 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2014 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_rf_reset_write(struct file *file,
file             2018 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2025 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_txfifo_flush_write(struct file *file,
file             2029 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2049 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_bt_traffic_read(struct file *file,
file             2053 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = (struct iwl_priv *)file->private_data;
file             2094 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_protection_mode_read(struct file *file,
file             2098 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = (struct iwl_priv *)file->private_data;
file             2115 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_protection_mode_write(struct file *file,
file             2119 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2156 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_echo_test_write(struct file *file,
file             2160 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2174 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_log_event_read(struct file *file,
file             2178 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2189 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_log_event_write(struct file *file,
file             2193 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2215 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_calib_disabled_read(struct file *file,
file             2219 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2243 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_calib_disabled_write(struct file *file,
file             2247 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             2264 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_fw_restart_write(struct file *file,
file             2268 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct iwl_priv *priv = file->private_data;
file             3071 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static ssize_t rs_sta_dbgfs_scale_table_write(struct file *file,
file             3074 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3097 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static ssize_t rs_sta_dbgfs_scale_table_read(struct file *file,
file             3106 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3185 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file,
file             3193 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3229 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static ssize_t rs_sta_dbgfs_rate_scale_data_read(struct file *file,
file             3232 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file               76 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 				    struct file *file)			\
file               86 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	file->private_data = data;					\
file               92 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c static ssize_t _iwl_dbgfs_##name##_read(struct file *file,		\
file               96 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	struct dbgfs_##name##_data *data = file->private_data;		\
file              111 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c static int _iwl_dbgfs_release(struct inode *inode, struct file *file)
file              113 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	kfree(file->private_data);
file              129 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c static ssize_t _iwl_dbgfs_##name##_write(struct file *file,		\
file              134 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 		((struct dbgfs_##name##_data *)file->private_data)->arg;\
file             2066 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static int iwl_mvm_d3_test_open(struct inode *inode, struct file *file)
file             2074 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 	file->private_data = inode->i_private;
file             2098 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static ssize_t iwl_mvm_d3_test_read(struct file *file, char __user *user_buf,
file             2101 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 	struct iwl_mvm *mvm = file->private_data;
file             2131 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static int iwl_mvm_d3_test_release(struct inode *inode, struct file *file)
file              190 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_tx_pwr_lmt_read(struct file *file,
file              194 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              205 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_pm_params_read(struct file *file,
file              209 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              221 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_mac_params_read(struct file *file,
file              225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              447 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_bf_params_read(struct file *file,
file              451 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              503 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_os_device_timediff_read(struct file *file,
file              507 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              579 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_low_latency_read(struct file *file,
file              583 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              607 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_uapsd_misbehaving_read(struct file *file,
file              611 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              673 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_rx_phyinfo_read(struct file *file,
file              677 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file              727 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_quota_min_read(struct file *file,
file              731 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct ieee80211_vif *vif = file->private_data;
file               75 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_ctdp_budget_read(struct file *file,
file               79 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              197 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_sram_read(struct file *file, char __user *user_buf,
file              200 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              263 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_set_nic_temperature_read(struct file *file,
file              267 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              330 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_nic_temp_read(struct file *file,
file              334 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              355 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_sar_geo_profile_read(struct file *file,
file              359 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              397 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf,
file              400 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              426 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_rs_data_read(struct file *file, char __user *user_buf,
file              429 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct ieee80211_sta *sta = file->private_data;
file              493 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_amsdu_len_read(struct file *file,
file              497 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct ieee80211_sta *sta = file->private_data;
file              510 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_disable_power_off_read(struct file *file,
file              514 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              614 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf,
file              617 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              658 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf,
file              661 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              734 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_fw_ver_read(struct file *file, char __user *user_buf,
file              737 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file              769 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_fw_rx_stats_read(struct file *file,
file              773 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1024 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_drv_rx_stats_read(struct file *file,
file             1028 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1068 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_scan_ant_rxchain_read(struct file *file,
file             1072 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1328 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_fw_dbg_conf_read(struct file *file,
file             1332 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1386 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bcast_filters_read(struct file *file,
file             1390 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1493 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bcast_filters_macs_read(struct file *file,
file             1497 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1591 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_prph_reg_read(struct file *file,
file             1595 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1724 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_he_sniffer_params_read(struct file *file, char __user *user_buf,
file             1727 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1741 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_uapsd_noagg_bssids_read(struct file *file, char __user *user_buf,
file             1744 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1843 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_mem_read(struct file *file, char __user *user_buf,
file             1846 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file             1899 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_mem_write(struct file *file,
file             1903 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm *mvm = file->private_data;
file               69 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h static ssize_t _iwl_dbgfs_##name##_write(struct file *file,		\
file               73 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h 	argtype *arg = file->private_data;				\
file             3772 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t rs_sta_dbgfs_scale_table_write(struct file *file,
file             3775 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3797 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t rs_sta_dbgfs_scale_table_read(struct file *file,
file             3806 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3902 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file,
file             3911 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             3950 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t rs_sta_dbgfs_drv_tx_stats_read(struct file *file,
file             3988 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             4023 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t rs_sta_dbgfs_drv_tx_stats_write(struct file *file,
file             4027 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             4040 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static ssize_t iwl_dbgfs_ss_force_read(struct file *file,
file             4044 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_lq_sta *lq_sta = file->private_data;
file             2545 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_tx_queue_read(struct file *file,
file             2549 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2585 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_rx_queue_read(struct file *file,
file             2589 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2636 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_interrupt_read(struct file *file,
file             2640 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2694 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_interrupt_write(struct file *file,
file             2698 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2713 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_csr_write(struct file *file,
file             2717 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2724 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_fh_reg_read(struct file *file,
file             2728 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2742 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_rfkill_read(struct file *file,
file             2746 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2759 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_rfkill_write(struct file *file,
file             2763 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file             2782 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				       struct file *file)
file             2797 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	return simple_open(inode, file);
file             2801 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 					  struct file *file)
file             2829 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static ssize_t iwl_dbgfs_monitor_data_read(struct file *file,
file             2833 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct iwl_trans *trans = file->private_data;
file               72 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              323 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              355 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              362 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              368 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              557 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              564 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              570 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct ap_data *ap = PDE_DATA(file_inode(m->file));
file              224 drivers/net/wireless/intersil/hostap/hostap_download.c static int prism2_download_aux_dump_proc_open(struct inode *inode, struct file *file)
file              226 drivers/net/wireless/intersil/hostap/hostap_download.c 	int ret = seq_open_private(file, &prism2_download_aux_dump_proc_seqops,
file              229 drivers/net/wireless/intersil/hostap/hostap_download.c 		struct seq_file *m = file->private_data;
file              100 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              107 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              113 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              126 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              153 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              160 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              166 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              196 drivers/net/wireless/intersil/hostap/hostap_proc.c static ssize_t prism2_pda_proc_read(struct file *file, char __user *buf,
file              199 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(file));
file              220 drivers/net/wireless/intersil/hostap/hostap_proc.c static ssize_t prism2_aux_dump_proc_no_read(struct file *file, char __user *buf,
file              272 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              322 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              333 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file              343 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local_info_t *local = PDE_DATA(file_inode(m->file));
file               25 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t write_file_dummy(struct file *file, const char __user *buf,
file               33 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_dev_info(struct file *file, char __user *userbuf,
file               36 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file               55 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_sleepparams_write(struct file *file,
file               59 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file               92 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf,
file               95 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              120 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_host_sleep_write(struct file *file,
file              124 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              162 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf,
file              165 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              218 drivers/net/wireless/marvell/libertas/debugfs.c 				  struct file *file, char __user *userbuf,
file              223 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              270 drivers/net/wireless/marvell/libertas/debugfs.c 				   struct file *file,
file              276 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              338 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowrssi_read(struct file *file, char __user *userbuf,
file              342 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              346 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowrssi_write(struct file *file, const char __user *userbuf,
file              350 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              354 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowsnr_read(struct file *file, char __user *userbuf,
file              358 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              362 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowsnr_write(struct file *file, const char __user *userbuf,
file              366 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              370 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_failcount_read(struct file *file, char __user *userbuf,
file              374 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              378 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_failcount_write(struct file *file, const char __user *userbuf,
file              382 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              386 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highrssi_read(struct file *file, char __user *userbuf,
file              390 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              394 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highrssi_write(struct file *file, const char __user *userbuf,
file              398 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              402 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highsnr_read(struct file *file, char __user *userbuf,
file              406 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              410 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highsnr_write(struct file *file, const char __user *userbuf,
file              414 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              417 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_bcnmiss_read(struct file *file, char __user *userbuf,
file              421 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
file              425 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_bcnmiss_write(struct file *file, const char __user *userbuf,
file              429 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
file              433 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdmac_read(struct file *file, char __user *userbuf,
file              436 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              457 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdmac_write(struct file *file,
file              461 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              473 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_wrmac_write(struct file *file,
file              478 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              503 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdbbp_read(struct file *file, char __user *userbuf,
file              506 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              528 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdbbp_write(struct file *file,
file              532 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              545 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_wrbbp_write(struct file *file,
file              550 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              575 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdrf_read(struct file *file, char __user *userbuf,
file              578 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              600 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdrf_write(struct file *file,
file              604 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              616 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_wrrf_write(struct file *file,
file              621 drivers/net/wireless/marvell/libertas/debugfs.c 	struct lbs_private *priv = file->private_data;
file              806 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf,
file              822 drivers/net/wireless/marvell/libertas/debugfs.c 	d = file->private_data;
file              853 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_debugfs_write(struct file *f, const char __user *buf,
file               74 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_info_read(struct file *file, char __user *ubuf,
file               78 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *) file->private_data;
file              178 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_getlog_read(struct file *file, char __user *ubuf,
file              182 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *) file->private_data;
file              254 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_histogram_read(struct file *file, char __user *ubuf,
file              258 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *)file->private_data;
file              328 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_histogram_write(struct file *file, const char __user *ubuf,
file              331 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              388 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_debug_read(struct file *file, char __user *ubuf,
file              392 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *) file->private_data;
file              424 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_regrdwr_write(struct file *file,
file              459 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_regrdwr_read(struct file *file, char __user *ubuf,
file              463 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *) file->private_data;
file              513 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_debug_mask_read(struct file *file, char __user *ubuf,
file              517 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *)file->private_data;
file              539 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_debug_mask_write(struct file *file, const char __user *ubuf,
file              544 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              567 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_verext_write(struct file *file, const char __user *ubuf,
file              572 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              594 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_verext_read(struct file *file, char __user *ubuf,
file              598 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *)file->private_data;
file              614 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count,
file              621 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              661 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_memrw_read(struct file *file, char __user *ubuf,
file              664 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              690 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_rdeeprom_write(struct file *file,
file              724 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_rdeeprom_read(struct file *file, char __user *ubuf,
file              728 drivers/net/wireless/marvell/mwifiex/debugfs.c 		(struct mwifiex_private *) file->private_data;
file              767 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_hscfg_write(struct file *file, const char __user *ubuf,
file              770 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              826 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_hscfg_read(struct file *file, char __user *ubuf,
file              829 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = (void *)file->private_data;
file              851 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf,
file              854 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = file->private_data;
file              873 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf,
file              877 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = file->private_data;
file              901 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_reset_write(struct file *file,
file              904 drivers/net/wireless/marvell/mwifiex/debugfs.c 	struct mwifiex_private *priv = file->private_data;
file               49 drivers/net/wireless/mediatek/mt76/debugfs.c void mt76_seq_puts_array(struct seq_file *file, const char *str,
file               54 drivers/net/wireless/mediatek/mt76/debugfs.c 	seq_printf(file, "%10s:", str);
file               56 drivers/net/wireless/mediatek/mt76/debugfs.c 		seq_printf(file, " %2d", val[i]);
file               57 drivers/net/wireless/mediatek/mt76/debugfs.c 	seq_puts(file, "\n");
file              629 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_seq_puts_array(struct seq_file *file, const char *str,
file               10 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c mt76x02_ampdu_stat_read(struct seq_file *file, void *data)
file               12 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	struct mt76x02_dev *dev = file->private;
file               16 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "Length: ");
file               18 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 			seq_printf(file, "%8d | ", i * 8 + j + 1);
file               19 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "\n");
file               20 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "Count:  ");
file               22 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 			seq_printf(file, "%8d | ", dev->aggr_stats[i * 8 + j]);
file               23 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "\n");
file               24 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "--------");
file               26 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 			seq_puts(file, "-----------");
file               27 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_puts(file, "\n");
file               34 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c mt76x02_ampdu_stat_open(struct inode *inode, struct file *f)
file               39 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c static int read_txpower(struct seq_file *file, void *data)
file               41 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	struct mt76x02_dev *dev = dev_get_drvdata(file->private);
file               43 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "Target power: %d\n", dev->target_power);
file               45 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	mt76_seq_puts_array(file, "Delta", dev->target_power_delta,
file               58 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c mt76x02_dfs_stat_read(struct seq_file *file, void *data)
file               60 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	struct mt76x02_dev *dev = file->private;
file               64 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "allocated sequences:\t%d\n",
file               66 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "used sequences:\t\t%d\n",
file               68 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_puts(file, "\n");
file               71 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_printf(file, "engine: %d\n", i);
file               72 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_printf(file, "  hw pattern detected:\t%d\n",
file               74 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_printf(file, "  hw pulse discarded:\t%d\n",
file               76 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 		seq_printf(file, "  sw pattern detected:\t%d\n",
file               84 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c mt76x02_dfs_stat_open(struct inode *inode, struct file *f)
file               96 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c static int read_agc(struct seq_file *file, void *data)
file               98 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	struct mt76x02_dev *dev = dev_get_drvdata(file->private);
file              100 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "avg_rssi: %d\n", dev->cal.avg_rssi_all);
file              101 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "low_gain: %d\n", dev->cal.low_gain);
file              102 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "false_cca: %d\n", dev->cal.false_cca);
file              103 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust);
file               33 drivers/net/wireless/mediatek/mt7601u/debugfs.c mt7601u_ampdu_stat_read(struct seq_file *file, void *data)
file               35 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	struct mt7601u_dev *dev = file->private;
file               39 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off])
file               62 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_puts(file, "Aggregations stats:\n");
file               65 drivers/net/wireless/mediatek/mt7601u/debugfs.c 			seq_printf(file, "%08llx ",
file               67 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		seq_putc(file, '\n');
file               70 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "recent average AMPDU len: %d\n",
file               77 drivers/net/wireless/mediatek/mt7601u/debugfs.c mt7601u_ampdu_stat_open(struct inode *inode, struct file *f)
file               90 drivers/net/wireless/mediatek/mt7601u/debugfs.c mt7601u_eeprom_param_read(struct seq_file *file, void *data)
file               92 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	struct mt7601u_dev *dev = file->private;
file               97 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "RF freq offset: %hhx\n", dev->ee->rf_freq_off);
file               98 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "RSSI offset: %hhx %hhx\n",
file              100 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "Reference temp: %hhx\n", dev->ee->ref_temp);
file              101 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain);
file              102 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "Reg channels: %hhu-%hhu\n", dev->ee->reg.start,
file              105 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_puts(file, "Per rate power:\n");
file              107 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n",
file              110 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n",
file              113 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n",
file              116 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_puts(file, "Per channel power:\n");
file              118 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		seq_printf(file, "\t tx_power  ch%u:%02hhx ch%u:%02hhx\n",
file              125 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_puts(file, "TSSI:\n");
file              126 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "\t slope:%02hhx\n", td->slope);
file              127 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "\t offset=%02hhx %02hhx %02hhx\n",
file              129 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "\t delta_off:%08x\n", td->tx0_delta_offset);
file              135 drivers/net/wireless/mediatek/mt7601u/debugfs.c mt7601u_eeprom_param_open(struct inode *inode, struct file *f)
file              192 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static int rt2x00debug_file_open(struct inode *inode, struct file *file)
file              196 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	file->private_data = inode->i_private;
file              204 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static int rt2x00debug_file_release(struct inode *inode, struct file *file)
file              206 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;
file              213 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static int rt2x00debug_open_queue_dump(struct inode *inode, struct file *file)
file              218 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	retval = rt2x00debug_file_open(inode, file);
file              223 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 		rt2x00debug_file_release(inode, file);
file              230 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static int rt2x00debug_release_queue_dump(struct inode *inode, struct file *file)
file              238 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	return rt2x00debug_file_release(inode, file);
file              241 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_queue_dump(struct file *file,
file              246 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;
file              251 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	if (file->f_flags & O_NONBLOCK)
file              275 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static __poll_t rt2x00debug_poll_queue_dump(struct file *file,
file              278 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;
file              280 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	poll_wait(file, &intf->frame_dump_waitqueue, wait);
file              297 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_queue_stats(struct file *file,
file              302 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;
file              356 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_crypto_stats(struct file *file,
file              361 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;
file              410 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_##__name(struct file *file,	\
file              415 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;	\
file              442 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_write_##__name(struct file *file,	\
file              447 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf = file->private_data;	\
file              501 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_dev_flags(struct file *file,
file              506 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf =	file->private_data;
file              526 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_read_cap_flags(struct file *file,
file              531 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf =	file->private_data;
file              551 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c static ssize_t rt2x00debug_write_restart_hw(struct file *file,
file              556 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct rt2x00debug_intf *intf =	file->private_data;
file             2705 drivers/net/wireless/ray_cs.c static ssize_t ray_cs_essid_proc_write(struct file *file,
file             2726 drivers/net/wireless/ray_cs.c static ssize_t int_proc_write(struct file *file, const char __user *buffer,
file             2750 drivers/net/wireless/ray_cs.c 	*(int *)PDE_DATA(file_inode(file)) = nr;
file               68 drivers/net/wireless/realtek/rtlwifi/debug.c 	ssize_t (*cb_write)(struct file *filp, const char __user *buffer,
file               82 drivers/net/wireless/realtek/rtlwifi/debug.c static int dl_debug_open_common(struct inode *inode, struct file *file)
file               84 drivers/net/wireless/realtek/rtlwifi/debug.c 	return single_open(file, rtl_debug_get_common, inode->i_private);
file              285 drivers/net/wireless/realtek/rtlwifi/debug.c static ssize_t rtl_debugfs_set_write_reg(struct file *filp,
file              334 drivers/net/wireless/realtek/rtlwifi/debug.c static ssize_t rtl_debugfs_set_write_h2c(struct file *filp,
file              380 drivers/net/wireless/realtek/rtlwifi/debug.c static ssize_t rtl_debugfs_set_write_rfreg(struct file *filp,
file              421 drivers/net/wireless/realtek/rtlwifi/debug.c static int rtl_debugfs_close(struct inode *inode, struct file *filp)
file              426 drivers/net/wireless/realtek/rtlwifi/debug.c static ssize_t rtl_debugfs_common_write(struct file *filp,
file               18 drivers/net/wireless/realtek/rtw88/debug.c 	ssize_t (*cb_write)(struct file *filp, const char __user *buffer,
file               46 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_common_write(struct file *filp,
file               55 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_single_write(struct file *filp,
file               65 drivers/net/wireless/realtek/rtw88/debug.c static int rtw_debugfs_single_open_rw(struct inode *inode, struct file *filp)
file               70 drivers/net/wireless/realtek/rtw88/debug.c static int rtw_debugfs_close(struct inode *inode, struct file *filp)
file              162 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_read_reg(struct file *filp,
file              252 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_rsvd_page(struct file *filp,
file              278 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_single_input(struct file *filp,
file              303 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_write_reg(struct file *filp,
file              346 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_rf_write(struct file *filp,
file              373 drivers/net/wireless/realtek/rtw88/debug.c static ssize_t rtw_debugfs_set_rf_read(struct file *filp,
file               70 drivers/net/wireless/rsi/rsi_91x_debugfs.c 			       struct file *file)
file               72 drivers/net/wireless/rsi/rsi_91x_debugfs.c 	return single_open(file, rsi_sdio_stats_read, inode->i_private);
file              104 drivers/net/wireless/rsi/rsi_91x_debugfs.c 				 struct file *file)
file              106 drivers/net/wireless/rsi/rsi_91x_debugfs.c 	return single_open(file, rsi_version_read, inode->i_private);
file              189 drivers/net/wireless/rsi/rsi_91x_debugfs.c 			  struct file *file)
file              191 drivers/net/wireless/rsi/rsi_91x_debugfs.c 	return single_open(file, rsi_stats_read, inode->i_private);
file              218 drivers/net/wireless/rsi/rsi_91x_debugfs.c 			  struct file *file)
file              220 drivers/net/wireless/rsi/rsi_91x_debugfs.c 	return single_open(file, rsi_debug_zone_read, inode->i_private);
file              233 drivers/net/wireless/rsi/rsi_91x_debugfs.c static ssize_t rsi_debug_zone_write(struct file *filp,
file              335 drivers/net/wireless/st/cw1200/debug.c static ssize_t cw1200_wsm_dumps(struct file *file,
file              338 drivers/net/wireless/st/cw1200/debug.c 	struct cw1200_common *priv = file->private_data;
file               23 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf,	\
file               26 drivers/net/wireless/ti/wl1251/debugfs.c 	struct wl1251 *wl = file->private_data;				\
file               51 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t sub## _ ##name## _read(struct file *file,		\
file               55 drivers/net/wireless/ti/wl1251/debugfs.c 	struct wl1251 *wl = file->private_data;				\
file              197 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf,
file              200 drivers/net/wireless/ti/wl1251/debugfs.c 	struct wl1251 *wl = file->private_data;
file              217 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
file              220 drivers/net/wireless/ti/wl1251/debugfs.c 	struct wl1251 *wl = file->private_data;
file              178 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t conf_read(struct file *file, char __user *user_buf,
file              181 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              220 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t clear_fw_stats_write(struct file *file,
file              224 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              248 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t radar_detection_write(struct file *file,
file              252 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              290 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t dynamic_fw_traces_write(struct file *file,
file              294 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              326 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t dynamic_fw_traces_read(struct file *file,
file              330 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              343 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t radar_debug_mode_write(struct file *file,
file              347 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file              390 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t radar_debug_mode_read(struct file *file,
file              394 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1392 drivers/net/wireless/ti/wl18xx/main.c 				 const char *file)
file             1398 drivers/net/wireless/ti/wl18xx/main.c 	ret = request_firmware(&fw, file, dev);
file             1401 drivers/net/wireless/ti/wl18xx/main.c 			     file, ret);
file             1407 drivers/net/wireless/ti/wl18xx/main.c 			     file, WL18XX_CONF_SIZE, fw->size);
file               80 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf,
file               83 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              135 drivers/net/wireless/ti/wlcore/debugfs.c 	static ssize_t param##_read(struct file *file,			\
file              139 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;				\
file              145 drivers/net/wireless/ti/wlcore/debugfs.c 	static ssize_t param##_write(struct file *file,			\
file              149 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;				\
file              187 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t gpio_power_read(struct file *file, char __user *user_buf,
file              190 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              201 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t gpio_power_write(struct file *file,
file              205 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              233 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t start_recovery_write(struct file *file,
file              237 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              252 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf,
file              255 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              262 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dynamic_ps_timeout_write(struct file *file,
file              266 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              319 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t forced_ps_read(struct file *file, char __user *user_buf,
file              322 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              329 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t forced_ps_write(struct file *file,
file              333 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              391 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t split_scan_timeout_read(struct file *file, char __user *user_buf,
file              394 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              401 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t split_scan_timeout_write(struct file *file,
file              405 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              433 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t driver_state_read(struct file *file, char __user *user_buf,
file              436 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              532 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t vifs_state_read(struct file *file, char __user *user_buf,
file              535 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              642 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dtim_interval_read(struct file *file, char __user *user_buf,
file              645 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              657 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dtim_interval_write(struct file *file,
file              661 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              702 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t suspend_dtim_interval_read(struct file *file,
file              706 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              718 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t suspend_dtim_interval_write(struct file *file,
file              722 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              758 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t beacon_interval_read(struct file *file, char __user *user_buf,
file              761 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              773 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t beacon_interval_write(struct file *file,
file              777 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              816 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t rx_streaming_interval_write(struct file *file,
file              820 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              858 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t rx_streaming_interval_read(struct file *file,
file              862 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              874 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t rx_streaming_always_write(struct file *file,
file              878 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              916 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t rx_streaming_always_read(struct file *file,
file              920 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              932 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t beacon_filtering_write(struct file *file,
file              936 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              972 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t fw_stats_raw_read(struct file *file,
file              976 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file              991 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t sleep_auth_read(struct file *file, char __user *user_buf,
file              994 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1001 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t sleep_auth_write(struct file *file,
file             1005 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1056 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dev_mem_read(struct file *file,
file             1060 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1139 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dev_mem_write(struct file *file, const char __user *user_buf,
file             1142 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1213 drivers/net/wireless/ti/wlcore/debugfs.c static loff_t dev_mem_seek(struct file *file, loff_t offset, int orig)
file             1219 drivers/net/wireless/ti/wlcore/debugfs.c 	return no_seek_end_llseek(file, offset, orig);
file             1229 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t fw_logger_read(struct file *file, char __user *user_buf,
file             1232 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file             1239 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t fw_logger_write(struct file *file,
file             1243 drivers/net/wireless/ti/wlcore/debugfs.c 	struct wl1271 *wl = file->private_data;
file               26 drivers/net/wireless/ti/wlcore/debugfs.h static ssize_t name## _read(struct file *file, char __user *userbuf,	\
file               29 drivers/net/wireless/ti/wlcore/debugfs.h 	struct wl1271 *wl = file->private_data;				\
file               54 drivers/net/wireless/ti/wlcore/debugfs.h static ssize_t sub## _ ##name## _read(struct file *file,		\
file               58 drivers/net/wireless/ti/wlcore/debugfs.h 	struct wl1271 *wl = file->private_data;				\
file               74 drivers/net/wireless/ti/wlcore/debugfs.h static ssize_t sub## _ ##name## _read(struct file *file,		\
file               78 drivers/net/wireless/ti/wlcore/debugfs.h 	struct wl1271 *wl = file->private_data;				\
file               99 drivers/net/wireless/ti/wlcore/sysfs.c static ssize_t wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj,
file              106 drivers/net/xen-netback/xenbus.c xenvif_write_io_ring(struct file *filp, const char __user *buf, size_t count,
file              140 drivers/net/xen-netback/xenbus.c static int xenvif_io_ring_open(struct inode *inode, struct file *filp)
file              711 drivers/ntb/hw/amd/ntb_hw_amd.c static ssize_t ndev_debugfs_read(struct file *filp, char __user *ubuf,
file             2315 drivers/ntb/hw/idt/ntb_hw_idt.c static ssize_t idt_dbgfs_info_read(struct file *filp, char __user *ubuf,
file             2334 drivers/ntb/hw/idt/ntb_hw_idt.c static ssize_t idt_dbgfs_info_read(struct file *filp, char __user *ubuf,
file              490 drivers/ntb/hw/intel/ntb_hw_gen1.c static ssize_t ndev_ntb_debugfs_read(struct file *filp, char __user *ubuf,
file              756 drivers/ntb/hw/intel/ntb_hw_gen1.c static ssize_t ndev_debugfs_read(struct file *filp, char __user *ubuf,
file              255 drivers/ntb/hw/intel/ntb_hw_gen3.c ssize_t ndev_ntb3_debugfs_read(struct file *filp, char __user *ubuf,
file              104 drivers/ntb/hw/intel/ntb_hw_gen3.h ssize_t ndev_ntb3_debugfs_read(struct file *filp, char __user *ubuf,
file              465 drivers/ntb/ntb_transport.c static ssize_t debugfs_read(struct file *filp, char __user *ubuf, size_t count,
file             1150 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf,
file             1230 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_run(struct file *filep, char __user *ubuf,
file             1252 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_write_run(struct file *filep, const char __user *ubuf,
file             1281 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_tcnt(struct file *filep, char __user *ubuf,
file             1293 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_write_tcnt(struct file *filep,
file              410 drivers/ntb/test/ntb_tool.c static ssize_t tool_port_read(struct file *filep, char __user *ubuf,
file              426 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf,
file              467 drivers/ntb/test/ntb_tool.c static ssize_t tool_link_write(struct file *filep, const char __user *ubuf,
file              493 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_link_read(struct file *filep, char __user *ubuf,
file              514 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_link_event_write(struct file *filep,
file              546 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_read(struct file *filep, char __user *ubuf,
file              558 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_write(struct file *filep, const char __user *ubuf,
file              642 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_trans_read(struct file *filep, char __user *ubuf,
file              704 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_trans_write(struct file *filep, const char __user *ubuf,
file              729 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_read(struct file *filep, char __user *ubuf,
file              767 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_write(struct file *filep, const char __user *ubuf,
file              870 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_trans_read(struct file *filep, char __user *ubuf,
file              927 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_trans_write(struct file *filep,
file             1028 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_read(struct file *filep, char __user *ubuf,
file             1036 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_write(struct file *filep, const char __user *ubuf,
file             1049 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_valid_mask_read(struct file *filep, char __user *ubuf,
file             1061 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_mask_read(struct file *filep, char __user *ubuf,
file             1069 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_mask_write(struct file *filep, const char __user *ubuf,
file             1082 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_read(struct file *filep, char __user *ubuf,
file             1090 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_write(struct file *filep, const char __user *ubuf,
file             1103 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_mask_read(struct file *filep, char __user *ubuf,
file             1112 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_mask_write(struct file *filep,
file             1127 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_event_write(struct file *filep,
file             1154 drivers/ntb/test/ntb_tool.c static ssize_t tool_spad_read(struct file *filep, char __user *ubuf,
file             1170 drivers/ntb/test/ntb_tool.c static ssize_t tool_spad_write(struct file *filep, const char __user *ubuf,
file             1195 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_spad_read(struct file *filep, char __user *ubuf,
file             1211 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_spad_write(struct file *filep, const char __user *ubuf,
file             1277 drivers/ntb/test/ntb_tool.c static ssize_t tool_inmsg_read(struct file *filep, char __user *ubuf,
file             1297 drivers/ntb/test/ntb_tool.c static ssize_t tool_outmsg_write(struct file *filep,
file             1318 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_sts_read(struct file *filep, char __user *ubuf,
file             1326 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_sts_write(struct file *filep, const char __user *ubuf,
file             1339 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_inbits_read(struct file *filep, char __user *ubuf,
file             1351 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_outbits_read(struct file *filep, char __user *ubuf,
file             1363 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_mask_write(struct file *filep, const char __user *ubuf,
file             1377 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_event_write(struct file *filep,
file             1164 drivers/nvdimm/bus.c static long nd_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
file             1169 drivers/nvdimm/bus.c 	long id = (long) file->private_data;
file             1173 drivers/nvdimm/bus.c 	ro = ((file->f_flags & O_ACCMODE) == O_RDONLY);
file             1180 drivers/nvdimm/bus.c 					file->private_data, match_dimm);
file             1210 drivers/nvdimm/bus.c static long bus_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1212 drivers/nvdimm/bus.c 	return nd_ioctl(file, cmd, arg, BUS_IOCTL);
file             1215 drivers/nvdimm/bus.c static long dimm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1217 drivers/nvdimm/bus.c 	return nd_ioctl(file, cmd, arg, DIMM_IOCTL);
file             1220 drivers/nvdimm/bus.c static int nd_open(struct inode *inode, struct file *file)
file             1224 drivers/nvdimm/bus.c 	file->private_data = (void *) minor;
file             2917 drivers/nvme/host/core.c static int nvme_dev_open(struct inode *inode, struct file *file)
file             2929 drivers/nvme/host/core.c 	file->private_data = ctrl;
file             2966 drivers/nvme/host/core.c static long nvme_dev_ioctl(struct file *file, unsigned int cmd,
file             2969 drivers/nvme/host/core.c 	struct nvme_ctrl *ctrl = file->private_data;
file             1065 drivers/nvme/host/fabrics.c static ssize_t nvmf_dev_write(struct file *file, const char __user *ubuf,
file             1068 drivers/nvme/host/fabrics.c 	struct seq_file *seq_file = file->private_data;
file             1120 drivers/nvme/host/fabrics.c static int nvmf_dev_open(struct inode *inode, struct file *file)
file             1126 drivers/nvme/host/fabrics.c 	file->private_data = NULL;
file             1127 drivers/nvme/host/fabrics.c 	return single_open(file, nvmf_dev_show, NULL);
file             1130 drivers/nvme/host/fabrics.c static int nvmf_dev_release(struct inode *inode, struct file *file)
file             1132 drivers/nvme/host/fabrics.c 	struct seq_file *seq_file = file->private_data;
file             1137 drivers/nvme/host/fabrics.c 	return single_release(inode, file);
file              585 drivers/nvme/target/admin-cmd.c 	if (req->ns->file)
file              851 drivers/nvme/target/core.c 	if (req->ns->file)
file               18 drivers/nvme/target/io-cmd-file.c 	if (ns->file) {
file               25 drivers/nvme/target/io-cmd-file.c 		fput(ns->file);
file               26 drivers/nvme/target/io-cmd-file.c 		ns->file = NULL;
file               39 drivers/nvme/target/io-cmd-file.c 	ns->file = filp_open(ns->device_path, flags, 0);
file               40 drivers/nvme/target/io-cmd-file.c 	if (IS_ERR(ns->file)) {
file               42 drivers/nvme/target/io-cmd-file.c 				ns->device_path, PTR_ERR(ns->file));
file               43 drivers/nvme/target/io-cmd-file.c 		return PTR_ERR(ns->file);
file               46 drivers/nvme/target/io-cmd-file.c 	ret = vfs_getattr(&ns->file->f_path,
file               57 drivers/nvme/target/io-cmd-file.c 			file_inode(ns->file)->i_blkbits, 12);
file              101 drivers/nvme/target/io-cmd-file.c 		call_iter = req->ns->file->f_op->write_iter;
file              104 drivers/nvme/target/io-cmd-file.c 		call_iter = req->ns->file->f_op->read_iter;
file              111 drivers/nvme/target/io-cmd-file.c 	iocb->ki_filp = req->ns->file;
file              112 drivers/nvme/target/io-cmd-file.c 	iocb->ki_flags = ki_flags | iocb_flags(req->ns->file);
file              264 drivers/nvme/target/io-cmd-file.c 	return errno_to_nvme_status(req, vfs_fsync(req->ns->file, 1));
file              304 drivers/nvme/target/io-cmd-file.c 		ret = vfs_fallocate(req->ns->file, mode, offset, len);
file              356 drivers/nvme/target/io-cmd-file.c 	ret = vfs_fallocate(req->ns->file, mode, offset, len);
file               56 drivers/nvme/target/nvmet.h 	struct file		*file;
file               33 drivers/nvmem/nvmem-sysfs.c static ssize_t bin_attr_nvmem_read(struct file *filp, struct kobject *kobj,
file               70 drivers/nvmem/nvmem-sysfs.c static ssize_t bin_attr_nvmem_write(struct file *filp, struct kobject *kobj,
file             1269 drivers/of/fdt.c static ssize_t of_fdt_raw_read(struct file *filp, struct kobject *kobj,
file               31 drivers/of/kobj.c static ssize_t of_node_property_read(struct file *filp, struct kobject *kobj,
file              230 drivers/oprofile/buffer_sync.c 	struct file *exe_file;
file              112 drivers/oprofile/event_buffer.c static int event_buffer_open(struct inode *inode, struct file *file)
file              127 drivers/oprofile/event_buffer.c 	file->private_data = dcookie_register();
file              128 drivers/oprofile/event_buffer.c 	if (!file->private_data)
file              138 drivers/oprofile/event_buffer.c 	return nonseekable_open(inode, file);
file              141 drivers/oprofile/event_buffer.c 	dcookie_unregister(file->private_data);
file              148 drivers/oprofile/event_buffer.c static int event_buffer_release(struct inode *inode, struct file *file)
file              152 drivers/oprofile/event_buffer.c 	dcookie_unregister(file->private_data);
file              160 drivers/oprofile/event_buffer.c static ssize_t event_buffer_read(struct file *file, char __user *buf,
file               30 drivers/oprofile/oprofile_files.c static ssize_t timeout_read(struct file *file, char __user *buf,
file               38 drivers/oprofile/oprofile_files.c static ssize_t timeout_write(struct file *file, char const __user *buf,
file               68 drivers/oprofile/oprofile_files.c static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file               75 drivers/oprofile/oprofile_files.c static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
file              105 drivers/oprofile/oprofile_files.c static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              117 drivers/oprofile/oprofile_files.c static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              129 drivers/oprofile/oprofile_files.c static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              135 drivers/oprofile/oprofile_files.c static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
file              166 drivers/oprofile/oprofile_files.c static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
file               94 drivers/oprofile/oprofilefs.c static ssize_t ulong_read_file(struct file *file, char __user *buf, size_t count, loff_t *offset)
file               96 drivers/oprofile/oprofilefs.c 	unsigned long *val = file->private_data;
file              101 drivers/oprofile/oprofilefs.c static ssize_t ulong_write_file(struct file *file, char const __user *buf, size_t count, loff_t *offset)
file              113 drivers/oprofile/oprofilefs.c 	retval = oprofile_set_ulong(file->private_data, value);
file              181 drivers/oprofile/oprofilefs.c static ssize_t atomic_read_file(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              183 drivers/oprofile/oprofilefs.c 	atomic_t *val = file->private_data;
file               20 drivers/parisc/eisa_eeprom.c static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin)
file               22 drivers/parisc/eisa_eeprom.c 	return fixed_size_llseek(file, offset, origin, HPEE_MAX_LENGTH);
file               25 drivers/parisc/eisa_eeprom.c static ssize_t eisa_eeprom_read(struct file * file,
file               52 drivers/parisc/eisa_eeprom.c static int eisa_eeprom_open(struct inode *inode, struct file *file)
file               54 drivers/parisc/eisa_eeprom.c 	if (file->f_mode & FMODE_WRITE)
file               60 drivers/parisc/eisa_eeprom.c static int eisa_eeprom_release(struct inode *inode, struct file *file)
file              169 drivers/parisc/led.c static int led_proc_open(struct inode *inode, struct file *file)
file              171 drivers/parisc/led.c 	return single_open(file, led_proc_show, PDE_DATA(inode));
file              175 drivers/parisc/led.c static ssize_t led_proc_write(struct file *file, const char __user *buf,
file              178 drivers/parisc/led.c 	void *data = PDE_DATA(file_inode(file));
file             2713 drivers/pci/controller/pci-tegra.c static int tegra_pcie_ports_open(struct inode *inode, struct file *file)
file             2719 drivers/pci/controller/pci-tegra.c 	err = seq_open(file, &tegra_pcie_ports_seq_ops);
file             2723 drivers/pci/controller/pci-tegra.c 	s = file->private_data;
file             2745 drivers/pci/controller/pci-tegra.c 	struct dentry *file;
file             2751 drivers/pci/controller/pci-tegra.c 	file = debugfs_create_file("ports", S_IFREG | S_IRUGO, pcie->debugfs,
file             2753 drivers/pci/controller/pci-tegra.c 	if (!file)
file               86 drivers/pci/hotplug/acpiphp_ibm.c static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj,
file              355 drivers/pci/hotplug/acpiphp_ibm.c static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj,
file              131 drivers/pci/hotplug/cpqphp_sysfs.c static int open(struct inode *inode, struct file *file)
file              147 drivers/pci/hotplug/cpqphp_sysfs.c 	file->private_data = dbg;
file              154 drivers/pci/hotplug/cpqphp_sysfs.c static loff_t lseek(struct file *file, loff_t off, int whence)
file              156 drivers/pci/hotplug/cpqphp_sysfs.c 	struct ctrl_dbg *dbg = file->private_data;
file              157 drivers/pci/hotplug/cpqphp_sysfs.c 	return fixed_size_llseek(file, off, whence, dbg->size);
file              160 drivers/pci/hotplug/cpqphp_sysfs.c static ssize_t read(struct file *file, char __user *buf,
file              163 drivers/pci/hotplug/cpqphp_sysfs.c 	struct ctrl_dbg *dbg = file->private_data;
file              167 drivers/pci/hotplug/cpqphp_sysfs.c static int release(struct inode *inode, struct file *file)
file              169 drivers/pci/hotplug/cpqphp_sysfs.c 	struct ctrl_dbg *dbg = file->private_data;
file              676 drivers/pci/pci-sysfs.c static ssize_t pci_read_config(struct file *filp, struct kobject *kobj,
file              752 drivers/pci/pci-sysfs.c static ssize_t pci_write_config(struct file *filp, struct kobject *kobj,
file              831 drivers/pci/pci-sysfs.c static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj,
file              856 drivers/pci/pci-sysfs.c static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj,
file              880 drivers/pci/pci-sysfs.c static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj,
file              900 drivers/pci/pci-sysfs.c static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj,
file             1043 drivers/pci/pci-sysfs.c static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj,
file             1050 drivers/pci/pci-sysfs.c static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj,
file             1057 drivers/pci/pci-sysfs.c static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj,
file             1096 drivers/pci/pci-sysfs.c static ssize_t pci_read_resource_io(struct file *filp, struct kobject *kobj,
file             1103 drivers/pci/pci-sysfs.c static ssize_t pci_write_resource_io(struct file *filp, struct kobject *kobj,
file             1232 drivers/pci/pci-sysfs.c static ssize_t pci_write_rom(struct file *filp, struct kobject *kobj,
file             1258 drivers/pci/pci-sysfs.c static ssize_t pci_read_rom(struct file *filp, struct kobject *kobj,
file              485 drivers/pci/pcie/aer_inject.c static ssize_t aer_inject_write(struct file *filp, const char __user *ubuf,
file               22 drivers/pci/proc.c static loff_t proc_bus_pci_lseek(struct file *file, loff_t off, int whence)
file               24 drivers/pci/proc.c 	struct pci_dev *dev = PDE_DATA(file_inode(file));
file               25 drivers/pci/proc.c 	return fixed_size_llseek(file, off, whence, dev->cfg_size);
file               28 drivers/pci/proc.c static ssize_t proc_bus_pci_read(struct file *file, char __user *buf,
file               31 drivers/pci/proc.c 	struct pci_dev *dev = PDE_DATA(file_inode(file));
file              112 drivers/pci/proc.c static ssize_t proc_bus_pci_write(struct file *file, const char __user *buf,
file              115 drivers/pci/proc.c 	struct inode *ino = file_inode(file);
file              195 drivers/pci/proc.c static long proc_bus_pci_ioctl(struct file *file, unsigned int cmd,
file              198 drivers/pci/proc.c 	struct pci_dev *dev = PDE_DATA(file_inode(file));
file              200 drivers/pci/proc.c 	struct pci_filp_private *fpriv = file->private_data;
file              244 drivers/pci/proc.c static int proc_bus_pci_mmap(struct file *file, struct vm_area_struct *vma)
file              246 drivers/pci/proc.c 	struct pci_dev *dev = PDE_DATA(file_inode(file));
file              247 drivers/pci/proc.c 	struct pci_filp_private *fpriv = file->private_data;
file              285 drivers/pci/proc.c static int proc_bus_pci_open(struct inode *inode, struct file *file)
file              295 drivers/pci/proc.c 	file->private_data = fpriv;
file              300 drivers/pci/proc.c static int proc_bus_pci_release(struct inode *inode, struct file *file)
file              302 drivers/pci/proc.c 	kfree(file->private_data);
file              303 drivers/pci/proc.c 	file->private_data = NULL;
file              385 drivers/pci/switch/switchtec.c static int switchtec_dev_open(struct inode *inode, struct file *filp)
file              404 drivers/pci/switch/switchtec.c static int switchtec_dev_release(struct inode *inode, struct file *filp)
file              426 drivers/pci/switch/switchtec.c static ssize_t switchtec_dev_write(struct file *filp, const char __user *data,
file              472 drivers/pci/switch/switchtec.c static ssize_t switchtec_dev_read(struct file *filp, char __user *data,
file              542 drivers/pci/switch/switchtec.c static __poll_t switchtec_dev_poll(struct file *filp, poll_table *wait)
file              975 drivers/pci/switch/switchtec.c static long switchtec_dev_ioctl(struct file *filp, unsigned int cmd,
file              400 drivers/pci/vpd.c static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj,
file              416 drivers/pci/vpd.c static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj,
file             1541 drivers/pcmcia/cistpl.c static ssize_t pccard_show_cis(struct file *filp, struct kobject *kobj,
file             1572 drivers/pcmcia/cistpl.c static ssize_t pccard_store_cis(struct file *filp, struct kobject *kobj,
file              161 drivers/platform/chrome/cros_ec_chardev.c static int cros_ec_chardev_open(struct inode *inode, struct file *filp)
file              189 drivers/platform/chrome/cros_ec_chardev.c static __poll_t cros_ec_chardev_poll(struct file *filp, poll_table *wait)
file              201 drivers/platform/chrome/cros_ec_chardev.c static ssize_t cros_ec_chardev_read(struct file *filp, char __user *buffer,
file              254 drivers/platform/chrome/cros_ec_chardev.c static int cros_ec_chardev_release(struct inode *inode, struct file *filp)
file              342 drivers/platform/chrome/cros_ec_chardev.c static long cros_ec_chardev_ioctl(struct file *filp, unsigned int cmd,
file              121 drivers/platform/chrome/cros_ec_debugfs.c static int cros_ec_console_log_open(struct inode *inode, struct file *file)
file              123 drivers/platform/chrome/cros_ec_debugfs.c 	file->private_data = inode->i_private;
file              125 drivers/platform/chrome/cros_ec_debugfs.c 	return stream_open(inode, file);
file              128 drivers/platform/chrome/cros_ec_debugfs.c static ssize_t cros_ec_console_log_read(struct file *file, char __user *buf,
file              131 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_debugfs *debug_info = file->private_data;
file              138 drivers/platform/chrome/cros_ec_debugfs.c 		if (file->f_flags & O_NONBLOCK) {
file              171 drivers/platform/chrome/cros_ec_debugfs.c static __poll_t cros_ec_console_log_poll(struct file *file,
file              174 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_debugfs *debug_info = file->private_data;
file              177 drivers/platform/chrome/cros_ec_debugfs.c 	poll_wait(file, &debug_info->log_wq, wait);
file              189 drivers/platform/chrome/cros_ec_debugfs.c static int cros_ec_console_log_release(struct inode *inode, struct file *file)
file              194 drivers/platform/chrome/cros_ec_debugfs.c static ssize_t cros_ec_pdinfo_read(struct file *file,
file              200 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_debugfs *debug_info = file->private_data;
file              246 drivers/platform/chrome/cros_ec_debugfs.c static ssize_t cros_ec_uptime_read(struct file *file, char __user *user_buf,
file              249 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_debugfs *debug_info = file->private_data;
file               17 drivers/platform/chrome/cros_ec_vbc.c static ssize_t vboot_context_read(struct file *filp, struct kobject *kobj,
file               57 drivers/platform/chrome/cros_ec_vbc.c static ssize_t vboot_context_write(struct file *filp, struct kobject *kobj,
file               95 drivers/platform/chrome/wilco_ec/debugfs.c static ssize_t raw_write(struct file *file, const char __user *user_buf,
file              135 drivers/platform/chrome/wilco_ec/debugfs.c static ssize_t raw_read(struct file *file, char __user *user_buf, size_t count,
file              305 drivers/platform/chrome/wilco_ec/event.c static int event_open(struct inode *inode, struct file *filp)
file              324 drivers/platform/chrome/wilco_ec/event.c static __poll_t event_poll(struct file *filp, poll_table *wait)
file              353 drivers/platform/chrome/wilco_ec/event.c static ssize_t event_read(struct file *filp, char __user *buf, size_t count,
file              392 drivers/platform/chrome/wilco_ec/event.c static int event_release(struct inode *inode, struct file *filp)
file              239 drivers/platform/chrome/wilco_ec/telemetry.c static int telem_open(struct inode *inode, struct file *filp)
file              265 drivers/platform/chrome/wilco_ec/telemetry.c static ssize_t telem_write(struct file *filp, const char __user *buf,
file              299 drivers/platform/chrome/wilco_ec/telemetry.c static ssize_t telem_read(struct file *filp, char __user *buf, size_t count,
file              317 drivers/platform/chrome/wilco_ec/telemetry.c static int telem_release(struct inode *inode, struct file *filp)
file              403 drivers/platform/goldfish/goldfish_pipe.c static ssize_t goldfish_pipe_read_write(struct file *filp,
file              486 drivers/platform/goldfish/goldfish_pipe.c static ssize_t goldfish_pipe_read(struct file *filp, char __user *buffer,
file              493 drivers/platform/goldfish/goldfish_pipe.c static ssize_t goldfish_pipe_write(struct file *filp,
file              504 drivers/platform/goldfish/goldfish_pipe.c static __poll_t goldfish_pipe_poll(struct file *filp, poll_table *wait)
file              691 drivers/platform/goldfish/goldfish_pipe.c static struct goldfish_pipe_dev *to_goldfish_pipe_dev(struct file *file)
file              693 drivers/platform/goldfish/goldfish_pipe.c 	struct miscdevice *miscdev = file->private_data;
file              709 drivers/platform/goldfish/goldfish_pipe.c static int goldfish_pipe_open(struct inode *inode, struct file *file)
file              711 drivers/platform/goldfish/goldfish_pipe.c 	struct goldfish_pipe_dev *dev = to_goldfish_pipe_dev(file);
file              760 drivers/platform/goldfish/goldfish_pipe.c 	file->private_data = pipe;
file              774 drivers/platform/goldfish/goldfish_pipe.c static int goldfish_pipe_release(struct inode *inode, struct file *filp)
file              262 drivers/platform/olpc/olpc-ec.c static ssize_t ec_dbgfs_cmd_write(struct file *file, const char __user *buf,
file              307 drivers/platform/olpc/olpc-ec.c static ssize_t ec_dbgfs_cmd_read(struct file *file, char __user *buf,
file             2360 drivers/platform/x86/asus-wmi.c static int asus_wmi_debugfs_open(struct inode *inode, struct file *file)
file             2364 drivers/platform/x86/asus-wmi.c 	return single_open(file, node->show, node->asus);
file              150 drivers/platform/x86/dcdbas.c static ssize_t smi_data_read(struct file *filp, struct kobject *kobj,
file              163 drivers/platform/x86/dcdbas.c static ssize_t smi_data_write(struct file *filp, struct kobject *kobj,
file               77 drivers/platform/x86/dell-smo8800.c static ssize_t smo8800_misc_read(struct file *file, char __user *buf,
file               80 drivers/platform/x86/dell-smo8800.c 	struct smo8800_device *smo8800 = container_of(file->private_data,
file              110 drivers/platform/x86/dell-smo8800.c static int smo8800_misc_open(struct inode *inode, struct file *file)
file              112 drivers/platform/x86/dell-smo8800.c 	struct smo8800_device *smo8800 = container_of(file->private_data,
file              122 drivers/platform/x86/dell-smo8800.c static int smo8800_misc_release(struct inode *inode, struct file *file)
file              124 drivers/platform/x86/dell-smo8800.c 	struct smo8800_device *smo8800 = container_of(file->private_data,
file              503 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj,
file              557 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj,
file              567 drivers/platform/x86/dell_rbu.c static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj,
file              628 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj,
file              641 drivers/platform/x86/dell_rbu.c static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj,
file              564 drivers/platform/x86/intel_pmc_core.c static ssize_t pmc_core_ltr_ignore_write(struct file *file, const char __user
file              599 drivers/platform/x86/intel_pmc_core.c static int pmc_core_ltr_ignore_open(struct inode *inode, struct file *file)
file              601 drivers/platform/x86/intel_pmc_core.c 	return single_open(file, pmc_core_ltr_ignore_show, inode->i_private);
file               74 drivers/platform/x86/intel_scu_ipcutil.c static long scu_ipc_ioctl(struct file *fp, unsigned int cmd,
file              491 drivers/platform/x86/intel_speed_select_if/isst_if_common.c static long isst_if_def_ioctl(struct file *file, unsigned int cmd,
file              537 drivers/platform/x86/intel_speed_select_if/isst_if_common.c static int isst_if_open(struct inode *inode, struct file *file)
file              569 drivers/platform/x86/intel_speed_select_if/isst_if_common.c static int isst_if_relase(struct inode *inode, struct file *f)
file              682 drivers/platform/x86/intel_telemetry_debugfs.c static ssize_t telem_pss_trc_verb_write(struct file *file,
file              701 drivers/platform/x86/intel_telemetry_debugfs.c static int telem_pss_trc_verb_open(struct inode *inode, struct file *file)
file              703 drivers/platform/x86/intel_telemetry_debugfs.c 	return single_open(file, telem_pss_trc_verb_show, inode->i_private);
file              729 drivers/platform/x86/intel_telemetry_debugfs.c static ssize_t telem_ioss_trc_verb_write(struct file *file,
file              748 drivers/platform/x86/intel_telemetry_debugfs.c static int telem_ioss_trc_verb_open(struct inode *inode, struct file *file)
file              750 drivers/platform/x86/intel_telemetry_debugfs.c 	return single_open(file, telem_ioss_trc_verb_show, inode->i_private);
file             4056 drivers/platform/x86/sony-laptop.c static int sonypi_misc_fasync(int fd, struct file *filp, int on)
file             4061 drivers/platform/x86/sony-laptop.c static int sonypi_misc_release(struct inode *inode, struct file *file)
file             4067 drivers/platform/x86/sony-laptop.c static int sonypi_misc_open(struct inode *inode, struct file *file)
file             4082 drivers/platform/x86/sony-laptop.c static ssize_t sonypi_misc_read(struct file *file, char __user *buf,
file             4089 drivers/platform/x86/sony-laptop.c 	    (file->f_flags & O_NONBLOCK))
file             4106 drivers/platform/x86/sony-laptop.c 		struct inode *inode = file_inode(file);
file             4113 drivers/platform/x86/sony-laptop.c static __poll_t sonypi_misc_poll(struct file *file, poll_table *wait)
file             4115 drivers/platform/x86/sony-laptop.c 	poll_wait(file, &sonypi_compat.fifo_proc_list, wait);
file             4132 drivers/platform/x86/sony-laptop.c static long sonypi_misc_ioctl(struct file *fp, unsigned int cmd,
file              872 drivers/platform/x86/thinkpad_acpi.c static int dispatch_proc_open(struct inode *inode, struct file *file)
file              874 drivers/platform/x86/thinkpad_acpi.c 	return single_open(file, dispatch_proc_show, PDE_DATA(inode));
file              877 drivers/platform/x86/thinkpad_acpi.c static ssize_t dispatch_proc_write(struct file *file,
file              881 drivers/platform/x86/thinkpad_acpi.c 	struct ibm_struct *ibm = PDE_DATA(file_inode(file));
file             1375 drivers/platform/x86/toshiba_acpi.c static int lcd_proc_open(struct inode *inode, struct file *file)
file             1377 drivers/platform/x86/toshiba_acpi.c 	return single_open(file, lcd_proc_show, PDE_DATA(inode));
file             1410 drivers/platform/x86/toshiba_acpi.c static ssize_t lcd_proc_write(struct file *file, const char __user *buf,
file             1413 drivers/platform/x86/toshiba_acpi.c 	struct toshiba_acpi_dev *dev = PDE_DATA(file_inode(file));
file             1477 drivers/platform/x86/toshiba_acpi.c static int video_proc_open(struct inode *inode, struct file *file)
file             1479 drivers/platform/x86/toshiba_acpi.c 	return single_open(file, video_proc_show, PDE_DATA(inode));
file             1482 drivers/platform/x86/toshiba_acpi.c static ssize_t video_proc_write(struct file *file, const char __user *buf,
file             1485 drivers/platform/x86/toshiba_acpi.c 	struct toshiba_acpi_dev *dev = PDE_DATA(file_inode(file));
file             1590 drivers/platform/x86/toshiba_acpi.c static int fan_proc_open(struct inode *inode, struct file *file)
file             1592 drivers/platform/x86/toshiba_acpi.c 	return single_open(file, fan_proc_show, PDE_DATA(inode));
file             1595 drivers/platform/x86/toshiba_acpi.c static ssize_t fan_proc_write(struct file *file, const char __user *buf,
file             1598 drivers/platform/x86/toshiba_acpi.c 	struct toshiba_acpi_dev *dev = PDE_DATA(file_inode(file));
file             1639 drivers/platform/x86/toshiba_acpi.c static int keys_proc_open(struct inode *inode, struct file *file)
file             1641 drivers/platform/x86/toshiba_acpi.c 	return single_open(file, keys_proc_show, PDE_DATA(inode));
file             1644 drivers/platform/x86/toshiba_acpi.c static ssize_t keys_proc_write(struct file *file, const char __user *buf,
file             1647 drivers/platform/x86/toshiba_acpi.c 	struct toshiba_acpi_dev *dev = PDE_DATA(file_inode(file));
file             2525 drivers/platform/x86/toshiba_acpi.c static long toshiba_acpi_ioctl(struct file *fp, unsigned int cmd,
file               29 drivers/platform/x86/wmi-bmof.c read_bmof(struct file *filp, struct kobject *kobj,
file              809 drivers/platform/x86/wmi.c static int wmi_char_open(struct inode *inode, struct file *filp)
file              830 drivers/platform/x86/wmi.c static ssize_t wmi_char_read(struct file *filp, char __user *buffer,
file              840 drivers/platform/x86/wmi.c static long wmi_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               17 drivers/pnp/isapnp/proc.c static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence)
file               19 drivers/pnp/isapnp/proc.c 	return fixed_size_llseek(file, off, whence, 256);
file               22 drivers/pnp/isapnp/proc.c static ssize_t isapnp_proc_bus_read(struct file *file, char __user * buf,
file               25 drivers/pnp/isapnp/proc.c 	struct pnp_dev *dev = PDE_DATA(file_inode(file));
file              174 drivers/pnp/pnpbios/proc.c static int pnpbios_proc_open(struct inode *inode, struct file *file)
file              176 drivers/pnp/pnpbios/proc.c 	return single_open(file, pnpbios_proc_show, PDE_DATA(inode));
file              179 drivers/pnp/pnpbios/proc.c static ssize_t pnpbios_proc_write(struct file *file, const char __user *buf,
file              182 drivers/pnp/pnpbios/proc.c 	void *data = PDE_DATA(file_inode(file));
file              175 drivers/power/supply/da9030_battery.c static int debug_open(struct inode *inode, struct file *file)
file              177 drivers/power/supply/da9030_battery.c 	return single_open(file, bat_debug_show, inode->i_private);
file              197 drivers/power/supply/ds2760_battery.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
file              622 drivers/power/supply/ds2780_battery.c static ssize_t ds2780_read_param_eeprom_bin(struct file *filp,
file              635 drivers/power/supply/ds2780_battery.c static ssize_t ds2780_write_param_eeprom_bin(struct file *filp,
file              667 drivers/power/supply/ds2780_battery.c static ssize_t ds2780_read_user_eeprom_bin(struct file *filp,
file              680 drivers/power/supply/ds2780_battery.c static ssize_t ds2780_write_user_eeprom_bin(struct file *filp,
file              624 drivers/power/supply/ds2781_battery.c static ssize_t ds2781_read_param_eeprom_bin(struct file *filp,
file              637 drivers/power/supply/ds2781_battery.c static ssize_t ds2781_write_param_eeprom_bin(struct file *filp,
file              669 drivers/power/supply/ds2781_battery.c static ssize_t ds2781_read_user_eeprom_bin(struct file *filp,
file              683 drivers/power/supply/ds2781_battery.c static ssize_t ds2781_write_user_eeprom_bin(struct file *filp,
file              529 drivers/power/supply/olpc_battery.c static ssize_t olpc_bat_eeprom_read(struct file *filp, struct kobject *kobj,
file               38 drivers/pps/pps.c static __poll_t pps_cdev_poll(struct file *file, poll_table *wait)
file               40 drivers/pps/pps.c 	struct pps_device *pps = file->private_data;
file               42 drivers/pps/pps.c 	poll_wait(file, &pps->queue, wait);
file               47 drivers/pps/pps.c static int pps_cdev_fasync(int fd, struct file *file, int on)
file               49 drivers/pps/pps.c 	struct pps_device *pps = file->private_data;
file               50 drivers/pps/pps.c 	return fasync_helper(fd, file, on, &pps->async_queue);
file               90 drivers/pps/pps.c static long pps_cdev_ioctl(struct file *file,
file               93 drivers/pps/pps.c 	struct pps_device *pps = file->private_data;
file              249 drivers/pps/pps.c static long pps_cdev_compat_ioctl(struct file *file,
file              252 drivers/pps/pps.c 	struct pps_device *pps = file->private_data;
file              293 drivers/pps/pps.c 	return pps_cdev_ioctl(file, cmd, arg);
file              299 drivers/pps/pps.c static int pps_cdev_open(struct inode *inode, struct file *file)
file              303 drivers/pps/pps.c 	file->private_data = pps;
file              308 drivers/pps/pps.c static int pps_cdev_release(struct inode *inode, struct file *file)
file              388 drivers/ptp/ptp_chardev.c __poll_t ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait)
file               81 drivers/ptp/ptp_private.h 	      struct file *fp, poll_table *wait);
file             1209 drivers/pwm/core.c static int pwm_seq_open(struct inode *inode, struct file *file)
file             1211 drivers/pwm/core.c 	return seq_open(file, &pwm_seq_ops);
file              109 drivers/rapidio/devices/rio_mport_cdev.c 	struct file	*filp;
file              131 drivers/rapidio/devices/rio_mport_cdev.c 	struct file *filp;
file              359 drivers/rapidio/devices/rio_mport_cdev.c rio_mport_create_outbound_mapping(struct mport_dev *md, struct file *filp,
file              393 drivers/rapidio/devices/rio_mport_cdev.c rio_mport_get_outbound_mapping(struct mport_dev *md, struct file *filp,
file              425 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_obw_map(struct file *filp, void __user *arg)
file              459 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_obw_free(struct file *filp, void __user *arg)
file              537 drivers/rapidio/devices/rio_mport_cdev.c 	struct file *filp;
file              808 drivers/rapidio/devices/rio_mport_cdev.c rio_dma_transfer(struct file *filp, u32 transfer_mode,
file              963 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_transfer_ioctl(struct file *filp, void __user *arg)
file             1009 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg)
file             1087 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_create_dma_mapping(struct mport_dev *md, struct file *filp,
file             1116 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_alloc_dma(struct file *filp, void __user *arg)
file             1143 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_free_dma(struct file *filp, void __user *arg)
file             1174 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_transfer_ioctl(struct file *filp, void *arg)
file             1179 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg)
file             1184 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_alloc_dma(struct file *filp, void __user *arg)
file             1189 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_free_dma(struct file *filp, void __user *arg)
file             1200 drivers/rapidio/devices/rio_mport_cdev.c rio_mport_create_inbound_mapping(struct mport_dev *md, struct file *filp,
file             1250 drivers/rapidio/devices/rio_mport_cdev.c rio_mport_get_inbound_mapping(struct mport_dev *md, struct file *filp,
file             1284 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_map_inbound(struct file *filp, void __user *arg)
file             1326 drivers/rapidio/devices/rio_mport_cdev.c static int rio_mport_inbound_free(struct file *filp, void __user *arg)
file             1873 drivers/rapidio/devices/rio_mport_cdev.c static int mport_cdev_open(struct inode *inode, struct file *filp)
file             1934 drivers/rapidio/devices/rio_mport_cdev.c static int mport_cdev_fasync(int fd, struct file *filp, int mode)
file             1942 drivers/rapidio/devices/rio_mport_cdev.c static void mport_cdev_release_dma(struct file *filp)
file             2006 drivers/rapidio/devices/rio_mport_cdev.c static int mport_cdev_release(struct inode *inode, struct file *filp)
file             2062 drivers/rapidio/devices/rio_mport_cdev.c static long mport_cdev_ioctl(struct file *filp,
file             2192 drivers/rapidio/devices/rio_mport_cdev.c static int mport_cdev_mmap(struct file *filp, struct vm_area_struct *vma)
file             2251 drivers/rapidio/devices/rio_mport_cdev.c static __poll_t mport_cdev_poll(struct file *filp, poll_table *wait)
file             2262 drivers/rapidio/devices/rio_mport_cdev.c static ssize_t mport_read(struct file *filp, char __user *buf, size_t count,
file             2295 drivers/rapidio/devices/rio_mport_cdev.c static ssize_t mport_write(struct file *filp, const char __user *buf,
file              116 drivers/rapidio/rio-sysfs.c rio_read_config(struct file *filp, struct kobject *kobj,
file              187 drivers/rapidio/rio-sysfs.c rio_write_config(struct file *filp, struct kobject *kobj,
file              179 drivers/rapidio/rio_cm.c 	struct file		*filp;
file             1480 drivers/rapidio/rio_cm.c static int riocm_cdev_open(struct inode *inode, struct file *filp)
file             1494 drivers/rapidio/rio_cm.c static int riocm_cdev_release(struct inode *inode, struct file *filp)
file             1656 drivers/rapidio/rio_cm.c static int cm_chan_create(struct file *filp, void __user *arg)
file             1682 drivers/rapidio/rio_cm.c static int cm_chan_close(struct file *filp, void __user *arg)
file             1746 drivers/rapidio/rio_cm.c static int cm_chan_accept(struct file *filp, void __user *arg)
file             1897 drivers/rapidio/rio_cm.c riocm_cdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              470 drivers/ras/cec.c static int array_open(struct inode *inode, struct file *filp)
file               21 drivers/ras/debugfs.c static int trace_open(struct inode *inode, struct file *file)
file               24 drivers/ras/debugfs.c 	return single_open(file, trace_show, NULL);
file               27 drivers/ras/debugfs.c static int trace_release(struct inode *inode, struct file *file)
file               30 drivers/ras/debugfs.c 	return single_release(inode, file);
file             1523 drivers/regulator/core.c static ssize_t constraint_flags_read_file(struct file *file,
file             1527 drivers/regulator/core.c 	const struct regulator *regulator = file->private_data;
file               39 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf,
file               68 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_name_read(struct file *filp, char __user *userbuf,
file               88 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf,
file              122 drivers/remoteproc/remoteproc_debugfs.c rproc_recovery_write(struct file *filp, const char __user *user_buf,
file              165 drivers/remoteproc/remoteproc_debugfs.c rproc_crash_write(struct file *filp, const char __user *user_buf,
file              272 drivers/remoteproc/remoteproc_debugfs.c static int rproc_rsc_table_open(struct inode *inode, struct file *file)
file              274 drivers/remoteproc/remoteproc_debugfs.c 	return single_open(file, rproc_rsc_table_show, inode->i_private);
file              302 drivers/remoteproc/remoteproc_debugfs.c static int rproc_carveouts_open(struct inode *inode, struct file *file)
file              304 drivers/remoteproc/remoteproc_debugfs.c 	return single_open(file, rproc_carveouts_show, inode->i_private);
file              978 drivers/rpmsg/qcom_smd.c 				  struct file *filp, poll_table *wait)
file              123 drivers/rpmsg/rpmsg_char.c static int rpmsg_eptdev_open(struct inode *inode, struct file *filp)
file              145 drivers/rpmsg/rpmsg_char.c static int rpmsg_eptdev_release(struct inode *inode, struct file *filp)
file              172 drivers/rpmsg/rpmsg_char.c 	struct file *filp = iocb->ki_filp;
file              220 drivers/rpmsg/rpmsg_char.c 	struct file *filp = iocb->ki_filp;
file              258 drivers/rpmsg/rpmsg_char.c static __poll_t rpmsg_eptdev_poll(struct file *filp, poll_table *wait)
file              276 drivers/rpmsg/rpmsg_char.c static long rpmsg_eptdev_ioctl(struct file *fp, unsigned int cmd,
file              410 drivers/rpmsg/rpmsg_char.c static int rpmsg_ctrldev_open(struct inode *inode, struct file *filp)
file              420 drivers/rpmsg/rpmsg_char.c static int rpmsg_ctrldev_release(struct inode *inode, struct file *filp)
file              429 drivers/rpmsg/rpmsg_char.c static long rpmsg_ctrldev_ioctl(struct file *fp, unsigned int cmd,
file              243 drivers/rpmsg/rpmsg_core.c __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
file               67 drivers/rpmsg/rpmsg_internal.h 	__poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
file               22 drivers/rtc/dev.c static int rtc_dev_open(struct inode *inode, struct file *file)
file               30 drivers/rtc/dev.c 	file->private_data = rtc;
file              141 drivers/rtc/dev.c rtc_dev_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              143 drivers/rtc/dev.c 	struct rtc_device *rtc = file->private_data;
file              165 drivers/rtc/dev.c 		if (file->f_flags & O_NONBLOCK) {
file              190 drivers/rtc/dev.c static __poll_t rtc_dev_poll(struct file *file, poll_table *wait)
file              192 drivers/rtc/dev.c 	struct rtc_device *rtc = file->private_data;
file              195 drivers/rtc/dev.c 	poll_wait(file, &rtc->irq_queue, wait);
file              202 drivers/rtc/dev.c static long rtc_dev_ioctl(struct file *file,
file              206 drivers/rtc/dev.c 	struct rtc_device *rtc = file->private_data;
file              402 drivers/rtc/dev.c static int rtc_dev_fasync(int fd, struct file *file, int on)
file              404 drivers/rtc/dev.c 	struct rtc_device *rtc = file->private_data;
file              406 drivers/rtc/dev.c 	return fasync_helper(fd, file, on, &rtc->async_queue);
file              409 drivers/rtc/dev.c static int rtc_dev_release(struct inode *inode, struct file *file)
file              411 drivers/rtc/dev.c 	struct rtc_device *rtc = file->private_data;
file              423 drivers/rtc/dev.c 	rtc_dev_ioctl(file, RTC_UIE_OFF, 0);
file               22 drivers/rtc/nvmem.c rtc_nvram_read(struct file *filp, struct kobject *kobj,
file               32 drivers/rtc/nvmem.c rtc_nvram_write(struct file *filp, struct kobject *kobj,
file              455 drivers/rtc/rtc-ds1374.c static int ds1374_wdt_open(struct inode *inode, struct file *file)
file              470 drivers/rtc/rtc-ds1374.c 		return stream_open(inode, file);
file              478 drivers/rtc/rtc-ds1374.c static int ds1374_wdt_release(struct inode *inode, struct file *file)
file              489 drivers/rtc/rtc-ds1374.c static ssize_t ds1374_wdt_write(struct file *file, const char __user *data,
file              499 drivers/rtc/rtc-ds1374.c static ssize_t ds1374_wdt_read(struct file *file, char __user *data,
file              508 drivers/rtc/rtc-ds1374.c static long ds1374_wdt_ioctl(struct file *file, unsigned int cmd,
file              563 drivers/rtc/rtc-ds1374.c static long ds1374_wdt_unlocked_ioctl(struct file *file, unsigned int cmd,
file              570 drivers/rtc/rtc-ds1374.c 	ret = ds1374_wdt_ioctl(file, cmd, arg);
file              690 drivers/rtc/rtc-m41t80.c static ssize_t wdt_write(struct file *file, const char __user *buf,
file              700 drivers/rtc/rtc-m41t80.c static ssize_t wdt_read(struct file *file, char __user *buf,
file              717 drivers/rtc/rtc-m41t80.c static int wdt_ioctl(struct file *file, unsigned int cmd,
file              770 drivers/rtc/rtc-m41t80.c static long wdt_unlocked_ioctl(struct file *file, unsigned int cmd,
file              776 drivers/rtc/rtc-m41t80.c 	ret = wdt_ioctl(file, cmd, arg);
file              788 drivers/rtc/rtc-m41t80.c static int wdt_open(struct inode *inode, struct file *file)
file              801 drivers/rtc/rtc-m41t80.c 		return stream_open(inode, file);
file              812 drivers/rtc/rtc-m41t80.c static int wdt_release(struct inode *inode, struct file *file)
file              966 drivers/s390/block/dasd.c static ssize_t dasd_stats_write(struct file *file,
file              972 drivers/s390/block/dasd.c 	struct seq_file *m = (struct seq_file *)file->private_data;
file             1083 drivers/s390/block/dasd.c static int dasd_stats_open(struct inode *inode, struct file *file)
file             1086 drivers/s390/block/dasd.c 	return single_open(file, dasd_stats_show, profile);
file              547 drivers/s390/block/dasd_eer.c static int dasd_eer_open(struct inode *inp, struct file *filp)
file              585 drivers/s390/block/dasd_eer.c static int dasd_eer_close(struct inode *inp, struct file *filp)
file              601 drivers/s390/block/dasd_eer.c static ssize_t dasd_eer_read(struct file *filp, char __user *buf,
file              665 drivers/s390/block/dasd_eer.c static __poll_t dasd_eer_poll(struct file *filp, poll_table *ptable)
file              254 drivers/s390/block/dasd_proc.c static int dasd_stats_proc_open(struct inode *inode, struct file *file)
file              256 drivers/s390/block/dasd_proc.c 	return single_open(file, dasd_stats_proc_show, NULL);
file              259 drivers/s390/block/dasd_proc.c static ssize_t dasd_stats_proc_write(struct file *file,
file              978 drivers/s390/char/con3215.c static int tty3215_open(struct tty_struct *tty, struct file * filp)
file             1002 drivers/s390/char/con3215.c static void tty3215_close(struct tty_struct *tty, struct file * filp)
file              243 drivers/s390/char/fs3270.c fs3270_read(struct file *filp, char __user *data, size_t count, loff_t *off)
file              288 drivers/s390/char/fs3270.c fs3270_write(struct file *filp, const char __user *data, size_t count, loff_t *off)
file              326 drivers/s390/char/fs3270.c fs3270_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              430 drivers/s390/char/fs3270.c fs3270_open(struct inode *inode, struct file *filp)
file              501 drivers/s390/char/fs3270.c fs3270_close(struct inode *inode, struct file *filp)
file               56 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_open(struct inode *inode, struct file *fp);
file               57 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_release(struct inode *inode, struct file *fp);
file               58 drivers/s390/char/hmcdrv_dev.c static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence);
file               59 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
file               61 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
file              114 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_open(struct inode *inode, struct file *fp)
file              147 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_release(struct inode *inode, struct file *fp)
file              160 drivers/s390/char/hmcdrv_dev.c static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence)
file              221 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
file              246 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
file              278 drivers/s390/char/monreader.c static int mon_open(struct inode *inode, struct file *filp)
file              335 drivers/s390/char/monreader.c static int mon_close(struct inode *inode, struct file *filp)
file              366 drivers/s390/char/monreader.c static ssize_t mon_read(struct file *filp, char __user *data,
file              432 drivers/s390/char/monreader.c static __poll_t mon_poll(struct file *filp, struct poll_table_struct *p)
file              191 drivers/s390/char/monwriter.c static int monwrite_open(struct inode *inode, struct file *filp)
file              206 drivers/s390/char/monwriter.c static int monwrite_close(struct inode *inode, struct file *filp)
file              225 drivers/s390/char/monwriter.c static ssize_t monwrite_write(struct file *filp, const char __user *data,
file              131 drivers/s390/char/sclp_config.c static ssize_t sysfs_ofb_data_write(struct file *filp, struct kobject *kobj,
file               93 drivers/s390/char/sclp_ctl.c static long sclp_ctl_ioctl(struct file *filp, unsigned int cmd,
file              454 drivers/s390/char/sclp_sd.c static ssize_t data_read(struct file *file, struct kobject *kobj,
file               64 drivers/s390/char/sclp_tty.c sclp_tty_open(struct tty_struct *tty, struct file *filp)
file               74 drivers/s390/char/sclp_tty.c sclp_tty_close(struct tty_struct *tty, struct file *filp)
file              559 drivers/s390/char/sclp_vt220.c sclp_vt220_open(struct tty_struct *tty, struct file *filp)
file              576 drivers/s390/char/sclp_vt220.c sclp_vt220_close(struct tty_struct *tty, struct file *filp)
file               35 drivers/s390/char/tape_char.c static ssize_t tapechar_read(struct file *, char __user *, size_t, loff_t *);
file               36 drivers/s390/char/tape_char.c static ssize_t tapechar_write(struct file *, const char __user *, size_t, loff_t *);
file               37 drivers/s390/char/tape_char.c static int tapechar_open(struct inode *,struct file *);
file               38 drivers/s390/char/tape_char.c static int tapechar_release(struct inode *,struct file *);
file               39 drivers/s390/char/tape_char.c static long tapechar_ioctl(struct file *, unsigned int, unsigned long);
file               41 drivers/s390/char/tape_char.c static long tapechar_compat_ioctl(struct file *, unsigned int, unsigned long);
file              129 drivers/s390/char/tape_char.c tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos)
file              187 drivers/s390/char/tape_char.c tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos)
file              271 drivers/s390/char/tape_char.c tapechar_open (struct inode *inode, struct file *filp)
file              305 drivers/s390/char/tape_char.c tapechar_release(struct inode *inode, struct file *filp)
file              439 drivers/s390/char/tape_char.c tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data)
file              455 drivers/s390/char/tape_char.c tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data)
file             1036 drivers/s390/char/tty3270.c tty3270_open(struct tty_struct *tty, struct file *filp)
file             1051 drivers/s390/char/tty3270.c tty3270_close(struct tty_struct *tty, struct file * filp)
file              101 drivers/s390/char/vmcp.c static int vmcp_open(struct inode *inode, struct file *file)
file              116 drivers/s390/char/vmcp.c 	file->private_data = session;
file              117 drivers/s390/char/vmcp.c 	return nonseekable_open(inode, file);
file              120 drivers/s390/char/vmcp.c static int vmcp_release(struct inode *inode, struct file *file)
file              124 drivers/s390/char/vmcp.c 	session = file->private_data;
file              125 drivers/s390/char/vmcp.c 	file->private_data = NULL;
file              132 drivers/s390/char/vmcp.c vmcp_read(struct file *file, char __user *buff, size_t count, loff_t *ppos)
file              138 drivers/s390/char/vmcp.c 	session = file->private_data;
file              155 drivers/s390/char/vmcp.c vmcp_write(struct file *file, const char __user *buff, size_t count,
file              166 drivers/s390/char/vmcp.c 	session = file->private_data;
file              200 drivers/s390/char/vmcp.c static long vmcp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              206 drivers/s390/char/vmcp.c 	session = file->private_data;
file               89 drivers/s390/char/vmlogrdr.c static int vmlogrdr_open(struct inode *, struct file *);
file               90 drivers/s390/char/vmlogrdr.c static int vmlogrdr_release(struct inode *, struct file *);
file               91 drivers/s390/char/vmlogrdr.c static ssize_t vmlogrdr_read (struct file *filp, char __user *data,
file              309 drivers/s390/char/vmlogrdr.c static int vmlogrdr_open (struct inode *inode, struct file *filp)
file              387 drivers/s390/char/vmlogrdr.c static int vmlogrdr_release (struct inode *inode, struct file *filp)
file              476 drivers/s390/char/vmlogrdr.c static ssize_t vmlogrdr_read(struct file *filp, char __user *data,
file              442 drivers/s390/char/vmur.c static ssize_t ur_write(struct file *file, const char __user *udata,
file              445 drivers/s390/char/vmur.c 	struct urfile *urf = file->private_data;
file              510 drivers/s390/char/vmur.c static ssize_t diag14_read(struct file *file, char __user *ubuf, size_t count,
file              519 drivers/s390/char/vmur.c 	urd = ((struct urfile *) file->private_data)->urd;
file              520 drivers/s390/char/vmur.c 	reclen = ((struct urfile *) file->private_data)->file_reclen;
file              560 drivers/s390/char/vmur.c static ssize_t ur_read(struct file *file, char __user *ubuf, size_t count,
file              571 drivers/s390/char/vmur.c 	urd = ((struct urfile *) file->private_data)->urd;
file              575 drivers/s390/char/vmur.c 	rc = diag14_read(file, ubuf, count, offs);
file              692 drivers/s390/char/vmur.c static int ur_open(struct inode *inode, struct file *file)
file              700 drivers/s390/char/vmur.c 	accmode = file->f_flags & O_ACCMODE;
file              708 drivers/s390/char/vmur.c 	devno = MINOR(file_inode(file)->i_rdev);
file              719 drivers/s390/char/vmur.c 		if (file->f_flags & O_NONBLOCK) {
file              756 drivers/s390/char/vmur.c 	file->private_data = urf;
file              771 drivers/s390/char/vmur.c static int ur_release(struct inode *inode, struct file *file)
file              773 drivers/s390/char/vmur.c 	struct urfile *urf = file->private_data;
file              785 drivers/s390/char/vmur.c static loff_t ur_llseek(struct file *file, loff_t offset, int whence)
file              787 drivers/s390/char/vmur.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY)
file              791 drivers/s390/char/vmur.c 	return no_seek_end_llseek(file, offset, whence);
file              142 drivers/s390/char/zcore.c static ssize_t zcore_memmap_read(struct file *filp, char __user *buf,
file              149 drivers/s390/char/zcore.c static int zcore_memmap_open(struct inode *inode, struct file *filp)
file              168 drivers/s390/char/zcore.c static int zcore_memmap_release(struct inode *inode, struct file *filp)
file              182 drivers/s390/char/zcore.c static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf,
file              192 drivers/s390/char/zcore.c static int zcore_reipl_open(struct inode *inode, struct file *filp)
file              197 drivers/s390/char/zcore.c static int zcore_reipl_release(struct inode *inode, struct file *filp)
file              210 drivers/s390/char/zcore.c static ssize_t zcore_hsa_read(struct file *filp, char __user *buf,
file              222 drivers/s390/char/zcore.c static ssize_t zcore_hsa_write(struct file *filp, const char __user *buf,
file              353 drivers/s390/cio/blacklist.c cio_ignore_write(struct file *file, const char __user *user_buf,
file              396 drivers/s390/cio/blacklist.c cio_ignore_proc_open(struct inode *inode, struct file *file)
file              398 drivers/s390/cio/blacklist.c 	return seq_open_private(file, &cio_ignore_proc_seq_ops,
file              130 drivers/s390/cio/chp.c static ssize_t chp_measurement_chars_read(struct file *filp,
file              178 drivers/s390/cio/chp.c static ssize_t chp_measurement_read(struct file *filp, struct kobject *kobj,
file              387 drivers/s390/cio/chp.c static ssize_t util_string_read(struct file *filp, struct kobject *kobj,
file              876 drivers/s390/cio/chsc_sch.c static long chsc_ioctl(struct file *filp, unsigned int cmd,
file              916 drivers/s390/cio/chsc_sch.c static int chsc_open(struct inode *inode, struct file *file)
file              922 drivers/s390/cio/chsc_sch.c 	return nonseekable_open(inode, file);
file              925 drivers/s390/cio/chsc_sch.c static int chsc_release(struct inode *inode, struct file *filp)
file             1363 drivers/s390/cio/css.c static ssize_t cio_settle_write(struct file *file, const char __user *buf,
file              241 drivers/s390/cio/qdio_debug.c static ssize_t qperf_seq_write(struct file *file, const char __user *ubuf,
file              244 drivers/s390/cio/qdio_debug.c 	struct seq_file *seq = file->private_data;
file              273 drivers/s390/cio/qdio_debug.c static int qperf_seq_open(struct inode *inode, struct file *filp)
file              752 drivers/s390/crypto/pkey_api.c static long pkey_unlocked_ioctl(struct file *filp, unsigned int cmd,
file             1194 drivers/s390/crypto/pkey_api.c static ssize_t protkey_aes_128_read(struct file *filp,
file             1204 drivers/s390/crypto/pkey_api.c static ssize_t protkey_aes_192_read(struct file *filp,
file             1214 drivers/s390/crypto/pkey_api.c static ssize_t protkey_aes_256_read(struct file *filp,
file             1224 drivers/s390/crypto/pkey_api.c static ssize_t protkey_aes_128_xts_read(struct file *filp,
file             1234 drivers/s390/crypto/pkey_api.c static ssize_t protkey_aes_256_xts_read(struct file *filp,
file             1298 drivers/s390/crypto/pkey_api.c static ssize_t ccadata_aes_128_read(struct file *filp,
file             1308 drivers/s390/crypto/pkey_api.c static ssize_t ccadata_aes_192_read(struct file *filp,
file             1318 drivers/s390/crypto/pkey_api.c static ssize_t ccadata_aes_256_read(struct file *filp,
file             1328 drivers/s390/crypto/pkey_api.c static ssize_t ccadata_aes_128_xts_read(struct file *filp,
file             1338 drivers/s390/crypto/pkey_api.c static ssize_t ccadata_aes_256_xts_read(struct file *filp,
file             1410 drivers/s390/crypto/pkey_api.c static ssize_t ccacipher_aes_128_read(struct file *filp,
file             1420 drivers/s390/crypto/pkey_api.c static ssize_t ccacipher_aes_192_read(struct file *filp,
file             1430 drivers/s390/crypto/pkey_api.c static ssize_t ccacipher_aes_256_read(struct file *filp,
file             1440 drivers/s390/crypto/pkey_api.c static ssize_t ccacipher_aes_128_xts_read(struct file *filp,
file             1450 drivers/s390/crypto/pkey_api.c static ssize_t ccacipher_aes_256_xts_read(struct file *filp,
file              469 drivers/s390/crypto/zcrypt_api.c static ssize_t zcrypt_read(struct file *filp, char __user *buf,
file              480 drivers/s390/crypto/zcrypt_api.c static ssize_t zcrypt_write(struct file *filp, const char __user *buf,
file              491 drivers/s390/crypto/zcrypt_api.c static int zcrypt_open(struct inode *inode, struct file *filp)
file              519 drivers/s390/crypto/zcrypt_api.c static int zcrypt_release(struct inode *inode, struct file *filp)
file             1291 drivers/s390/crypto/zcrypt_api.c static long zcrypt_unlocked_ioctl(struct file *filp, unsigned int cmd,
file             1502 drivers/s390/crypto/zcrypt_api.c static long trans_modexpo32(struct ap_perms *perms, struct file *filp,
file             1544 drivers/s390/crypto/zcrypt_api.c static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp,
file             1597 drivers/s390/crypto/zcrypt_api.c static long trans_xcRB32(struct ap_perms *perms, struct file *filp,
file             1643 drivers/s390/crypto/zcrypt_api.c static long zcrypt_compat_ioctl(struct file *filp, unsigned int cmd,
file               74 drivers/sbus/char/display7seg.c static int d7s_open(struct inode *inode, struct file *f)
file               82 drivers/sbus/char/display7seg.c static int d7s_release(struct inode *inode, struct file *f)
file              103 drivers/sbus/char/display7seg.c static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              110 drivers/sbus/char/display7seg.c 	if (D7S_MINOR != iminor(file_inode(file)))
file              539 drivers/sbus/char/envctrl.c envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              550 drivers/sbus/char/envctrl.c 	switch ((int)(long)file->private_data) {
file              656 drivers/sbus/char/envctrl.c envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              669 drivers/sbus/char/envctrl.c 		file->private_data = (void *)(long)cmd;
file              685 drivers/sbus/char/envctrl.c 		file->private_data = (void *)(long)cmd;
file              699 drivers/sbus/char/envctrl.c envctrl_open(struct inode *inode, struct file *file)
file              701 drivers/sbus/char/envctrl.c 	file->private_data = NULL;
file              709 drivers/sbus/char/envctrl.c envctrl_release(struct inode *inode, struct file *file)
file               37 drivers/sbus/char/flash.c flash_mmap(struct file *file, struct vm_area_struct *vma)
file               81 drivers/sbus/char/flash.c flash_llseek(struct file *file, long long offset, int origin)
file               86 drivers/sbus/char/flash.c 			file->f_pos = offset;
file               89 drivers/sbus/char/flash.c 			file->f_pos += offset;
file               90 drivers/sbus/char/flash.c 			if (file->f_pos > flash.read_size)
file               91 drivers/sbus/char/flash.c 				file->f_pos = flash.read_size;
file               94 drivers/sbus/char/flash.c 			file->f_pos = flash.read_size;
file              101 drivers/sbus/char/flash.c 	return file->f_pos;
file              105 drivers/sbus/char/flash.c flash_read(struct file * file, char __user * buf,
file              126 drivers/sbus/char/flash.c flash_open(struct inode *inode, struct file *file)
file              139 drivers/sbus/char/flash.c flash_release(struct inode *inode, struct file *file)
file              289 drivers/sbus/char/openprom.c static long openprom_sunos_ioctl(struct file * file,
file              293 drivers/sbus/char/openprom.c 	DATA *data = file->private_data;
file              527 drivers/sbus/char/openprom.c static int openprom_bsd_ioctl(struct file * file,
file              530 drivers/sbus/char/openprom.c 	DATA *data = file->private_data;
file              574 drivers/sbus/char/openprom.c static long openprom_ioctl(struct file * file,
file              577 drivers/sbus/char/openprom.c 	DATA *data = file->private_data;
file              582 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_READ) == 0)
file              584 drivers/sbus/char/openprom.c 		return openprom_sunos_ioctl(file, cmd, arg,
file              589 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_WRITE) == 0)
file              591 drivers/sbus/char/openprom.c 		return openprom_sunos_ioctl(file, cmd, arg,
file              598 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_READ) == 0)
file              600 drivers/sbus/char/openprom.c 		return openprom_sunos_ioctl(file, cmd, arg,
file              610 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_READ) == 0)
file              612 drivers/sbus/char/openprom.c 		return openprom_sunos_ioctl(file, cmd, arg, NULL);
file              619 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_READ) == 0)
file              621 drivers/sbus/char/openprom.c 		return openprom_bsd_ioctl(file,cmd,arg);
file              624 drivers/sbus/char/openprom.c 		if ((file->f_mode & FMODE_WRITE) == 0)
file              626 drivers/sbus/char/openprom.c 		return openprom_bsd_ioctl(file,cmd,arg);
file              633 drivers/sbus/char/openprom.c static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
file              658 drivers/sbus/char/openprom.c 		rval = openprom_ioctl(file, cmd, arg);
file              665 drivers/sbus/char/openprom.c static int openprom_open(struct inode * inode, struct file * file)
file              676 drivers/sbus/char/openprom.c 	file->private_data = (void *) data;
file              682 drivers/sbus/char/openprom.c static int openprom_release(struct inode * inode, struct file * file)
file              684 drivers/sbus/char/openprom.c 	kfree(file->private_data);
file              206 drivers/sbus/char/oradax.c static int dax_open(struct inode *inode, struct file *file);
file              207 drivers/sbus/char/oradax.c static ssize_t dax_read(struct file *filp, char __user *buf,
file              209 drivers/sbus/char/oradax.c static ssize_t dax_write(struct file *filp, const char __user *buf,
file              211 drivers/sbus/char/oradax.c static int dax_devmap(struct file *f, struct vm_area_struct *vma);
file              212 drivers/sbus/char/oradax.c static int dax_close(struct inode *i, struct file *f);
file              372 drivers/sbus/char/oradax.c static int dax_devmap(struct file *f, struct vm_area_struct *vma)
file              524 drivers/sbus/char/oradax.c static int dax_close(struct inode *ino, struct file *f)
file              547 drivers/sbus/char/oradax.c static ssize_t dax_read(struct file *f, char __user *buf,
file              564 drivers/sbus/char/oradax.c static ssize_t dax_write(struct file *f, const char __user *buf,
file              644 drivers/sbus/char/oradax.c static int dax_open(struct inode *inode, struct file *f)
file              201 drivers/sbus/char/uctrl.c uctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              211 drivers/sbus/char/uctrl.c uctrl_open(struct inode *inode, struct file *file)
file              125 drivers/scsi/3w-9xxx.c static long twa_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              126 drivers/scsi/3w-9xxx.c static int twa_chrdev_open(struct inode *inode, struct file *file);
file              637 drivers/scsi/3w-9xxx.c static long twa_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              639 drivers/scsi/3w-9xxx.c 	struct inode *inode = file_inode(file);
file              884 drivers/scsi/3w-9xxx.c static int twa_chrdev_open(struct inode *inode, struct file *file)
file               98 drivers/scsi/3w-sas.c static ssize_t twl_sysfs_aen_read(struct file *filp, struct kobject *kobj,
file              129 drivers/scsi/3w-sas.c static ssize_t twl_sysfs_compat_info(struct file *filp, struct kobject *kobj,
file              716 drivers/scsi/3w-sas.c static long twl_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              723 drivers/scsi/3w-sas.c 	struct inode *inode = file_inode(file);
file              832 drivers/scsi/3w-sas.c static int twl_chrdev_open(struct inode *inode, struct file *file)
file              873 drivers/scsi/3w-xxxx.c static long tw_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              881 drivers/scsi/3w-xxxx.c 	struct inode *inode = file_inode(file);
file             1032 drivers/scsi/3w-xxxx.c static int tw_chrdev_open(struct inode *inode, struct file *file)
file             1114 drivers/scsi/aacraid/linit.c static int aac_cfg_open(struct inode *inode, struct file *file)
file             1123 drivers/scsi/aacraid/linit.c 			file->private_data = aac;
file             1147 drivers/scsi/aacraid/linit.c static long aac_cfg_ioctl(struct file *file,
file             1150 drivers/scsi/aacraid/linit.c 	struct aac_dev *aac = (struct aac_dev *)file->private_data;
file             1207 drivers/scsi/aacraid/linit.c static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file             1211 drivers/scsi/aacraid/linit.c 	return aac_compat_do_ioctl(file->private_data, cmd, arg);
file              310 drivers/scsi/aic7xxx/aic79xx_core.c 		 ahd_mode dstmode, const char *file, int line)
file              316 drivers/scsi/aic7xxx/aic79xx_core.c 		       ahd_name(ahd), file, line);
file               63 drivers/scsi/arcmsr/arcmsr_attr.c static ssize_t arcmsr_sysfs_iop_message_read(struct file *filp,
file              110 drivers/scsi/arcmsr/arcmsr_attr.c static ssize_t arcmsr_sysfs_iop_message_write(struct file *filp,
file              158 drivers/scsi/arcmsr/arcmsr_attr.c static ssize_t arcmsr_sysfs_iop_message_clear(struct file *filp,
file               43 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_open_drvtrc(struct inode *inode, struct file *file)
file               56 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = debug;
file               62 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_open_fwtrc(struct inode *inode, struct file *file)
file               98 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = fw_debug;
file              104 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_open_fwsave(struct inode *inode, struct file *file)
file              140 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = fw_debug;
file              146 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_open_reg(struct inode *inode, struct file *file)
file              156 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = reg_debug;
file              163 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_lseek(struct file *file, loff_t offset, int orig)
file              165 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *debug = file->private_data;
file              166 drivers/scsi/bfa/bfad_debugfs.c 	return fixed_size_llseek(file, offset, orig,
file              171 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_read(struct file *file, char __user *buf,
file              174 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *debug = file->private_data;
file              214 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_read_regrd(struct file *file, char __user *buf,
file              217 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *regrd_debug = file->private_data;
file              238 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_write_regrd(struct file *file, const char __user *buf,
file              241 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *regrd_debug = file->private_data;
file              307 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_write_regwr(struct file *file, const char __user *buf,
file              310 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *debug = file->private_data;
file              354 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_release(struct inode *inode, struct file *file)
file              356 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *debug = file->private_data;
file              361 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = NULL;
file              367 drivers/scsi/bfa/bfad_debugfs.c bfad_debugfs_release_fwtrc(struct inode *inode, struct file *file)
file              369 drivers/scsi/bfa/bfad_debugfs.c 	struct bfad_debug_info *fw_debug = file->private_data;
file              377 drivers/scsi/bfa/bfad_debugfs.c 	file->private_data = NULL;
file              444 drivers/scsi/bfa/bfad_debugfs.c 	const struct bfad_debugfs_entry *file;
file              466 drivers/scsi/bfa/bfad_debugfs.c 			file = &bfad_debugfs_files[i];
file              468 drivers/scsi/bfa/bfad_debugfs.c 					debugfs_create_file(file->name,
file              469 drivers/scsi/bfa/bfad_debugfs.c 							file->mode,
file              472 drivers/scsi/bfa/bfad_debugfs.c 							file->fops);
file              577 drivers/scsi/ch.c ch_release(struct inode *inode, struct file *file)
file              579 drivers/scsi/ch.c 	scsi_changer *ch = file->private_data;
file              582 drivers/scsi/ch.c 	file->private_data = NULL;
file              588 drivers/scsi/ch.c ch_open(struct inode *inode, struct file *file)
file              605 drivers/scsi/ch.c 	file->private_data = ch;
file              618 drivers/scsi/ch.c static long ch_ioctl(struct file *file,
file              621 drivers/scsi/ch.c 	scsi_changer *ch = file->private_data;
file              626 drivers/scsi/ch.c 			file->f_flags & O_NDELAY);
file              871 drivers/scsi/ch.c static long ch_ioctl_compat(struct file * file,
file              874 drivers/scsi/ch.c 	scsi_changer *ch = file->private_data;
file              886 drivers/scsi/ch.c 		return ch_ioctl(file, cmd, arg);
file               64 drivers/scsi/csiostor/csio_init.c csio_mem_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file               67 drivers/scsi/csiostor/csio_init.c 	loff_t avail = file_inode(file)->i_size;
file               68 drivers/scsi/csiostor/csio_init.c 	unsigned int mem = (uintptr_t)file->private_data & 3;
file               69 drivers/scsi/csiostor/csio_init.c 	struct csio_hw *hw = file->private_data - mem;
file               40 drivers/scsi/cxlflash/backend.h 	struct file * (*get_fd)(void *ctx_cookie, struct file_operations *fops,
file               42 drivers/scsi/cxlflash/backend.h 	void * (*fops_get_context)(struct file *file);
file               44 drivers/scsi/cxlflash/backend.h 	int (*fd_mmap)(struct file *file, struct vm_area_struct *vm);
file               45 drivers/scsi/cxlflash/backend.h 	int (*fd_release)(struct inode *inode, struct file *file);
file              120 drivers/scsi/cxlflash/cxl_hw.c static struct file *cxlflash_get_fd(void *ctx_cookie,
file              126 drivers/scsi/cxlflash/cxl_hw.c static void *cxlflash_fops_get_context(struct file *file)
file              128 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_fops_get_context(file);
file              141 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_fd_mmap(struct file *file, struct vm_area_struct *vm)
file              143 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_fd_mmap(file, vm);
file              146 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_fd_release(struct inode *inode, struct file *file)
file              148 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_fd_release(inode, file);
file             3270 drivers/scsi/cxlflash/main.c static int cxlflash_chr_open(struct inode *inode, struct file *file)
file             3278 drivers/scsi/cxlflash/main.c 	file->private_data = cfg;
file             3496 drivers/scsi/cxlflash/main.c static long cxlflash_chr_ioctl(struct file *file, unsigned int cmd,
file             3501 drivers/scsi/cxlflash/main.c 	struct cxlflash_cfg *cfg = file->private_data;
file               68 drivers/scsi/cxlflash/ocxl_hw.c static struct file *ocxlflash_getfile(struct device *dev, const char *name,
file               72 drivers/scsi/cxlflash/ocxl_hw.c 	struct file *file;
file               98 drivers/scsi/cxlflash/ocxl_hw.c 	file = alloc_file_pseudo(inode, ocxlflash_vfs_mount, name,
file              100 drivers/scsi/cxlflash/ocxl_hw.c 	if (IS_ERR(file)) {
file              101 drivers/scsi/cxlflash/ocxl_hw.c 		rc = PTR_ERR(file);
file              107 drivers/scsi/cxlflash/ocxl_hw.c 	file->private_data = priv;
file              109 drivers/scsi/cxlflash/ocxl_hw.c 	return file;
file              117 drivers/scsi/cxlflash/ocxl_hw.c 	file = ERR_PTR(rc);
file              982 drivers/scsi/cxlflash/ocxl_hw.c static unsigned int afu_poll(struct file *file, struct poll_table_struct *poll)
file              984 drivers/scsi/cxlflash/ocxl_hw.c 	struct ocxlflash_context *ctx = file->private_data;
file              989 drivers/scsi/cxlflash/ocxl_hw.c 	poll_wait(file, &ctx->wq, poll);
file             1013 drivers/scsi/cxlflash/ocxl_hw.c static ssize_t afu_read(struct file *file, char __user *buf, size_t count,
file             1016 drivers/scsi/cxlflash/ocxl_hw.c 	struct ocxlflash_context *ctx = file->private_data;
file             1040 drivers/scsi/cxlflash/ocxl_hw.c 		if (file->f_flags & O_NONBLOCK) {
file             1106 drivers/scsi/cxlflash/ocxl_hw.c static int afu_release(struct inode *inode, struct file *file)
file             1108 drivers/scsi/cxlflash/ocxl_hw.c 	struct ocxlflash_context *ctx = file->private_data;
file             1162 drivers/scsi/cxlflash/ocxl_hw.c static int afu_mmap(struct file *file, struct vm_area_struct *vma)
file             1164 drivers/scsi/cxlflash/ocxl_hw.c 	struct ocxlflash_context *ctx = file->private_data;
file             1195 drivers/scsi/cxlflash/ocxl_hw.c static struct file *ocxlflash_get_fd(void *ctx_cookie,
file             1200 drivers/scsi/cxlflash/ocxl_hw.c 	struct file *file;
file             1234 drivers/scsi/cxlflash/ocxl_hw.c 	file = ocxlflash_getfile(dev, name, fops, ctx, flags);
file             1236 drivers/scsi/cxlflash/ocxl_hw.c 	if (IS_ERR(file)) {
file             1237 drivers/scsi/cxlflash/ocxl_hw.c 		rc = PTR_ERR(file);
file             1243 drivers/scsi/cxlflash/ocxl_hw.c 	ctx->mapping = file->f_mapping;
file             1246 drivers/scsi/cxlflash/ocxl_hw.c 	return file;
file             1250 drivers/scsi/cxlflash/ocxl_hw.c 	file = ERR_PTR(rc);
file             1260 drivers/scsi/cxlflash/ocxl_hw.c static void *ocxlflash_fops_get_context(struct file *file)
file             1262 drivers/scsi/cxlflash/ocxl_hw.c 	return file->private_data;
file             1355 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_fd_mmap(struct file *file, struct vm_area_struct *vma)
file             1357 drivers/scsi/cxlflash/ocxl_hw.c 	return afu_mmap(file, vma);
file             1367 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_fd_release(struct inode *inode, struct file *file)
file             1369 drivers/scsi/cxlflash/ocxl_hw.c 	return afu_release(inode, file);
file              129 drivers/scsi/cxlflash/superpipe.c 					   struct file *file)
file              134 drivers/scsi/cxlflash/superpipe.c 		if ((ctxi->ctxid == rctxid) || (ctxi->file == file))
file              161 drivers/scsi/cxlflash/superpipe.c 	struct file *file = NULL;
file              169 drivers/scsi/cxlflash/superpipe.c 		file = (struct file *)arg;
file              180 drivers/scsi/cxlflash/superpipe.c 				if ((file && (ctxi->file != file)) ||
file              181 drivers/scsi/cxlflash/superpipe.c 				    (!file && (ctxi->ctxid != rctxid)))
file              186 drivers/scsi/cxlflash/superpipe.c 				ctxi = find_error_context(cfg, rctxid, file);
file              827 drivers/scsi/cxlflash/superpipe.c 			 void *ctx, int ctxid, struct file *file, u32 perms,
file              839 drivers/scsi/cxlflash/superpipe.c 	ctxi->file = file;
file              990 drivers/scsi/cxlflash/superpipe.c static int cxlflash_cxl_release(struct inode *inode, struct file *file)
file              992 drivers/scsi/cxlflash/superpipe.c 	struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg,
file              994 drivers/scsi/cxlflash/superpipe.c 	void *ctx = cfg->ops->fops_get_context(file);
file             1009 drivers/scsi/cxlflash/superpipe.c 	ctxi = get_context(cfg, ctxid, file, ctrl);
file             1011 drivers/scsi/cxlflash/superpipe.c 		ctxi = get_context(cfg, ctxid, file, ctrl | CTX_CTRL_CLONE);
file             1032 drivers/scsi/cxlflash/superpipe.c 	cfg->ops->fd_release(inode, file);
file             1048 drivers/scsi/cxlflash/superpipe.c 	unmap_mapping_range(ctxi->file->f_mapping, 0, 0, 1);
file             1106 drivers/scsi/cxlflash/superpipe.c 	struct file *file = vma->vm_file;
file             1107 drivers/scsi/cxlflash/superpipe.c 	struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg,
file             1109 drivers/scsi/cxlflash/superpipe.c 	void *ctx = cfg->ops->fops_get_context(file);
file             1124 drivers/scsi/cxlflash/superpipe.c 	ctxi = get_context(cfg, ctxid, file, ctrl);
file             1178 drivers/scsi/cxlflash/superpipe.c static int cxlflash_cxl_mmap(struct file *file, struct vm_area_struct *vma)
file             1180 drivers/scsi/cxlflash/superpipe.c 	struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg,
file             1182 drivers/scsi/cxlflash/superpipe.c 	void *ctx = cfg->ops->fops_get_context(file);
file             1197 drivers/scsi/cxlflash/superpipe.c 	ctxi = get_context(cfg, ctxid, file, ctrl);
file             1206 drivers/scsi/cxlflash/superpipe.c 	rc = cfg->ops->fd_mmap(file, vma);
file             1333 drivers/scsi/cxlflash/superpipe.c 	struct file *file = NULL;
file             1434 drivers/scsi/cxlflash/superpipe.c 	file = cfg->ops->get_fd(ctx, &cfg->cxl_fops, &fd);
file             1445 drivers/scsi/cxlflash/superpipe.c 	init_context(ctxi, cfg, ctx, ctxid, file, perms, irqs);
file             1464 drivers/scsi/cxlflash/superpipe.c 	fd_install(fd, file);
file             1506 drivers/scsi/cxlflash/superpipe.c 		file->f_op = &null_fops;
file             1507 drivers/scsi/cxlflash/superpipe.c 		fput(file);
file             1510 drivers/scsi/cxlflash/superpipe.c 		file = NULL;
file             1542 drivers/scsi/cxlflash/superpipe.c 	struct file *file;
file             1568 drivers/scsi/cxlflash/superpipe.c 	file = cfg->ops->get_fd(ctx, &cfg->cxl_fops, &fd);
file             1590 drivers/scsi/cxlflash/superpipe.c 	ctxi->file = file;
file             1604 drivers/scsi/cxlflash/superpipe.c 	fd_install(fd, file);
file             1612 drivers/scsi/cxlflash/superpipe.c 	fput(file);
file              107 drivers/scsi/cxlflash/superpipe.h 	struct file *file;
file              114 drivers/scsi/dpt_i2o.c static long adpt_unlocked_ioctl(struct file *, unsigned int, unsigned long);
file              116 drivers/scsi/dpt_i2o.c static long compat_adpt_ioctl(struct file *, unsigned int, unsigned long);
file             1593 drivers/scsi/dpt_i2o.c static int adpt_open(struct inode *inode, struct file *file)
file             1630 drivers/scsi/dpt_i2o.c static int adpt_close(struct inode *inode, struct file *file)
file             1950 drivers/scsi/dpt_i2o.c static int adpt_ioctl(struct inode *inode, struct file *file, uint cmd, ulong arg)
file             2036 drivers/scsi/dpt_i2o.c static long adpt_unlocked_ioctl(struct file *file, uint cmd, ulong arg)
file             2041 drivers/scsi/dpt_i2o.c 	inode = file_inode(file);
file             2044 drivers/scsi/dpt_i2o.c 	ret = adpt_ioctl(inode, file, cmd, arg);
file             2051 drivers/scsi/dpt_i2o.c static long compat_adpt_ioctl(struct file *file,
file             2057 drivers/scsi/dpt_i2o.c 	inode = file_inode(file);
file             2071 drivers/scsi/dpt_i2o.c 			ret = adpt_ioctl(inode, file, cmd, arg);
file              305 drivers/scsi/dpti.h static int adpt_ioctl(struct inode *inode, struct file *file, uint cmd, ulong arg);
file              306 drivers/scsi/dpti.h static int adpt_open(struct inode *inode, struct file *file);
file              307 drivers/scsi/dpti.h static int adpt_close(struct inode *inode, struct file *file);
file             1061 drivers/scsi/esas2r/atioctl.h 		} file;
file             1096 drivers/scsi/esas2r/atvda.h 		} file;
file              974 drivers/scsi/esas2r/esas2r.h long esas2r_proc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg);
file               68 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_fw(struct file *file, struct kobject *kobj,
file               77 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_fw(struct file *file, struct kobject *kobj,
file               86 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_fs(struct file *file, struct kobject *kobj,
file               95 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_fs(struct file *file, struct kobject *kobj,
file              111 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_vda(struct file *file, struct kobject *kobj,
file              120 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_vda(struct file *file, struct kobject *kobj,
file              129 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_live_nvram(struct file *file, struct kobject *kobj,
file              140 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_live_nvram(struct file *file, struct kobject *kobj,
file              160 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_default_nvram(struct file *file, struct kobject *kobj,
file              171 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_hw(struct file *file, struct kobject *kobj,
file              189 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_hw(struct file *file, struct kobject *kobj,
file              623 drivers/scsi/esas2r/esas2r_main.c long esas2r_proc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
file              115 drivers/scsi/esas2r/esas2r_vda.c 		memcpy(rq->vrq->flash.data.file.file_name,
file              116 drivers/scsi/esas2r/esas2r_vda.c 		       vi->cmd.flash.data.file.file_name,
file              117 drivers/scsi/esas2r/esas2r_vda.c 		       sizeof(vi->cmd.flash.data.file.file_name));
file              119 drivers/scsi/esas2r/esas2r_vda.c 		firstsg = rq->vrq->flash.data.file.sge;
file              281 drivers/scsi/esas2r/esas2r_vda.c 			vi->cmd.flash.data.file.file_size =
file              113 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_trace_ctrl_read(struct file *filp,
file              151 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_trace_ctrl_write(struct file *filp,
file              210 drivers/scsi/fnic/fnic_debugfs.c 				  struct file *file)
file              242 drivers/scsi/fnic/fnic_debugfs.c 	file->private_data = fnic_dbg_prt;
file              264 drivers/scsi/fnic/fnic_debugfs.c static loff_t fnic_trace_debugfs_lseek(struct file *file,
file              268 drivers/scsi/fnic/fnic_debugfs.c 	fnic_dbgfs_t *fnic_dbg_prt = file->private_data;
file              269 drivers/scsi/fnic/fnic_debugfs.c 	return fixed_size_llseek(file, offset, howto,
file              289 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_trace_debugfs_read(struct file *file,
file              294 drivers/scsi/fnic/fnic_debugfs.c 	fnic_dbgfs_t *fnic_dbg_prt = file->private_data;
file              316 drivers/scsi/fnic/fnic_debugfs.c 					  struct file *file)
file              318 drivers/scsi/fnic/fnic_debugfs.c 	fnic_dbgfs_t *fnic_dbg_prt = file->private_data;
file              451 drivers/scsi/fnic/fnic_debugfs.c static int fnic_reset_stats_open(struct inode *inode, struct file *file)
file              461 drivers/scsi/fnic/fnic_debugfs.c 	file->private_data = debug;
file              481 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_reset_stats_read(struct file *file,
file              485 drivers/scsi/fnic/fnic_debugfs.c 	struct stats_debug_info *debug = file->private_data;
file              509 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_reset_stats_write(struct file *file,
file              513 drivers/scsi/fnic/fnic_debugfs.c 	struct stats_debug_info *debug = file->private_data;
file              574 drivers/scsi/fnic/fnic_debugfs.c 					struct file *file)
file              576 drivers/scsi/fnic/fnic_debugfs.c 	struct stats_debug_info *debug = file->private_data;
file              595 drivers/scsi/fnic/fnic_debugfs.c 					struct file *file)
file              616 drivers/scsi/fnic/fnic_debugfs.c 	file->private_data = debug;
file              637 drivers/scsi/fnic/fnic_debugfs.c static ssize_t fnic_stats_debugfs_read(struct file *file,
file              642 drivers/scsi/fnic/fnic_debugfs.c 	struct stats_debug_info *debug = file->private_data;
file              664 drivers/scsi/fnic/fnic_debugfs.c 					struct file *file)
file              666 drivers/scsi/fnic/fnic_debugfs.c 	struct stats_debug_info *debug = file->private_data;
file              155 drivers/scsi/gdth.c static int gdth_open(struct inode *inode, struct file *filep);
file              156 drivers/scsi/gdth.c static int gdth_close(struct inode *inode, struct file *filep);
file              157 drivers/scsi/gdth.c static long gdth_unlocked_ioctl(struct file *filep, unsigned int cmd,
file             3426 drivers/scsi/gdth.c static int gdth_open(struct inode *inode, struct file *filep)
file             3441 drivers/scsi/gdth.c static int gdth_close(struct inode *inode, struct file *filep)
file             3877 drivers/scsi/gdth.c static int gdth_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file             4020 drivers/scsi/gdth.c static long gdth_unlocked_ioctl(struct file *file, unsigned int cmd,
file             4026 drivers/scsi/gdth.c 	ret = gdth_ioctl(file, cmd, arg);
file             2863 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_global_open(struct inode *inode, struct file *filp)
file             2889 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_axi_open(struct inode *inode, struct file *filp)
file             2915 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_ras_open(struct inode *inode, struct file *filp)
file             2942 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_port_open(struct inode *inode, struct file *filp)
file             3010 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_cq_open(struct inode *inode, struct file *filp)
file             3044 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_dq_open(struct inode *inode, struct file *filp)
file             3072 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_iost_open(struct inode *inode, struct file *filp)
file             3111 drivers/scsi/hisi_sas/hisi_sas_main.c 					    struct file *filp)
file             3140 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_debugfs_itct_open(struct inode *inode, struct file *filp)
file             3179 drivers/scsi/hisi_sas/hisi_sas_main.c 					    struct file *filp)
file             3275 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_trigger_dump_write(struct file *file,
file             3279 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_hba *hisi_hba = file->f_inode->i_private;
file             3354 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_bist_linkrate_write(struct file *filp,
file             3392 drivers/scsi/hisi_sas/hisi_sas_main.c 					       struct file *filp)
file             3443 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_bist_code_mode_write(struct file *filp,
file             3482 drivers/scsi/hisi_sas/hisi_sas_main.c 						struct file *filp)
file             3497 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_bist_phy_write(struct file *filp,
file             3531 drivers/scsi/hisi_sas/hisi_sas_main.c 					  struct file *filp)
file             3573 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_bist_mode_write(struct file *filp,
file             3610 drivers/scsi/hisi_sas/hisi_sas_main.c 					   struct file *filp)
file             3625 drivers/scsi/hisi_sas/hisi_sas_main.c static ssize_t hisi_sas_debugfs_bist_enable_write(struct file *filp,
file             3666 drivers/scsi/hisi_sas/hisi_sas_main.c 					     struct file *filp)
file             3029 drivers/scsi/ibmvscsi/ibmvfc.c static ssize_t ibmvfc_read_trace(struct file *filp, struct kobject *kobj,
file             3456 drivers/scsi/ipr.c static ssize_t ipr_read_trace(struct file *filp, struct kobject *kobj,
file             4169 drivers/scsi/ipr.c static ssize_t ipr_read_async_err_log(struct file *filep, struct kobject *kobj,
file             4193 drivers/scsi/ipr.c static ssize_t ipr_next_async_err_log(struct file *filep, struct kobject *kobj,
file             4252 drivers/scsi/ipr.c static ssize_t ipr_read_dump(struct file *filp, struct kobject *kobj,
file             4441 drivers/scsi/ipr.c static ssize_t ipr_write_dump(struct file *filp, struct kobject *kobj,
file             4416 drivers/scsi/lpfc/lpfc_attr.c sysfs_drvr_stat_data_read(struct file *filp, struct kobject *kobj,
file             6141 drivers/scsi/lpfc/lpfc_attr.c sysfs_ctlreg_write(struct file *filp, struct kobject *kobj,
file             6200 drivers/scsi/lpfc/lpfc_attr.c sysfs_ctlreg_read(struct file *filp, struct kobject *kobj,
file             6264 drivers/scsi/lpfc/lpfc_attr.c sysfs_mbox_write(struct file *filp, struct kobject *kobj,
file             6288 drivers/scsi/lpfc/lpfc_attr.c sysfs_mbox_read(struct file *filp, struct kobject *kobj,
file             1826 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_disc_trc_open(struct inode *inode, struct file *file)
file             1853 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             1876 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_slow_ring_trc_open(struct inode *inode, struct file *file)
file             1903 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             1926 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_hbqinfo_open(struct inode *inode, struct file *file)
file             1945 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             1968 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_multixripools_open(struct inode *inode, struct file *file)
file             1989 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2013 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_lockstat_open(struct inode *inode, struct file *file)
file             2032 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2040 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf,
file             2043 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2097 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_dumpHBASlim_open(struct inode *inode, struct file *file)
file             2116 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2139 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_dumpHostSlim_open(struct inode *inode, struct file *file)
file             2158 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2166 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_dif_err_read(struct file *file, char __user *buf,
file             2169 drivers/scsi/lpfc/lpfc_debugfs.c 	struct dentry *dent = file->f_path.dentry;
file             2170 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_hba *phba = file->private_data;
file             2208 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_dif_err_write(struct file *file, const char __user *buf,
file             2211 drivers/scsi/lpfc/lpfc_debugfs.c 	struct dentry *dent = file->f_path.dentry;
file             2212 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_hba *phba = file->private_data;
file             2257 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_dif_err_release(struct inode *inode, struct file *file)
file             2278 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nodelist_open(struct inode *inode, struct file *file)
file             2297 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2322 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_lseek(struct file *file, loff_t off, int whence)
file             2324 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2325 drivers/scsi/lpfc/lpfc_debugfs.c 	return fixed_size_llseek(file, off, whence, debug->len);
file             2345 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_read(struct file *file, char __user *buf,
file             2348 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2367 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_release(struct inode *inode, struct file *file)
file             2369 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2393 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_multixripools_write(struct file *file, const char __user *buf,
file             2396 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2448 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmestat_open(struct inode *inode, struct file *file)
file             2469 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2477 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmestat_write(struct file *file, const char __user *buf,
file             2480 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2536 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_scsistat_open(struct inode *inode, struct file *file)
file             2557 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2565 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_scsistat_write(struct file *file, const char __user *buf,
file             2568 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2594 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmektime_open(struct inode *inode, struct file *file)
file             2615 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2623 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmektime_write(struct file *file, const char __user *buf,
file             2626 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2721 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmeio_trc_open(struct inode *inode, struct file *file)
file             2742 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2750 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_nvmeio_trc_write(struct file *file, const char __user *buf,
file             2753 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2826 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_cpucheck_open(struct inode *inode, struct file *file)
file             2847 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             2855 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_debugfs_cpucheck_write(struct file *file, const char __user *buf,
file             2858 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             2994 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_open(struct inode *inode, struct file *file)
file             3004 drivers/scsi/lpfc/lpfc_debugfs.c 	file->private_data = debug;
file             3023 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_release(struct inode *inode, struct file *file)
file             3025 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3048 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_cmd_release(struct inode *inode, struct file *file)
file             3050 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3093 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_pcicfg_read(struct file *file, char __user *buf, size_t nbytes,
file             3096 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3215 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_pcicfg_write(struct file *file, const char __user *buf,
file             3218 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3389 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_baracc_read(struct file *file, char __user *buf, size_t nbytes,
file             3392 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3540 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_baracc_write(struct file *file, const char __user *buf,
file             3543 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             3845 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_queinfo_read(struct file *file, char __user *buf, size_t nbytes,
file             3848 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4053 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_queacc_read(struct file *file, char __user *buf, size_t nbytes,
file             4056 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4130 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_queacc_write(struct file *file, const char __user *buf,
file             4133 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4430 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_drbacc_read(struct file *file, char __user *buf, size_t nbytes,
file             4433 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4486 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_drbacc_write(struct file *file, const char __user *buf,
file             4489 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4648 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_ctlacc_read(struct file *file, char __user *buf, size_t nbytes,
file             4651 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4701 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_ctlacc_write(struct file *file, const char __user *buf,
file             4704 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4842 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_mbxacc_read(struct file *file, char __user *buf, size_t nbytes,
file             4845 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             4887 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_mbxacc_write(struct file *file, const char __user *buf,
file             4890 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             5161 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_extacc_write(struct file *file, const char __user *buf,
file             5164 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file             5207 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_extacc_read(struct file *file, char __user *buf, size_t nbytes,
file             5210 drivers/scsi/lpfc/lpfc_debugfs.c 	struct lpfc_debug *debug = file->private_data;
file               92 drivers/scsi/megaraid.c megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
file             2953 drivers/scsi/megaraid.c megadev_open (struct inode *inode, struct file *filep)
file             2977 drivers/scsi/megaraid.c megadev_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file             3369 drivers/scsi/megaraid.c megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file              969 drivers/scsi/megaraid.h static int megadev_open (struct inode *, struct file *);
file              970 drivers/scsi/megaraid.h static int megadev_ioctl (struct file *, unsigned int, unsigned long);
file               21 drivers/scsi/megaraid/megaraid_mm.c static int mraid_mm_open(struct inode *, struct file *);
file               22 drivers/scsi/megaraid/megaraid_mm.c static long mraid_mm_unlocked_ioctl(struct file *, uint, unsigned long);
file               45 drivers/scsi/megaraid/megaraid_mm.c static long mraid_mm_compat_ioctl(struct file *, unsigned int, unsigned long);
file               92 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(struct inode *inode, struct file *filep)
file              110 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file              222 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_unlocked_ioctl(struct file *filep, unsigned int cmd,
file             1239 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_compat_ioctl(struct file *filep, unsigned int cmd,
file             7921 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_open(struct inode *inode, struct file *filep)
file             7938 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_fasync(int fd, struct file *filep, int mode)
file             7962 drivers/scsi/megaraid/megaraid_sas_base.c static __poll_t megasas_mgmt_poll(struct file *file, poll_table *wait)
file             7967 drivers/scsi/megaraid/megaraid_sas_base.c 	poll_wait(file, &megasas_poll_wait, wait);
file             8259 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_ioctl_fw(struct file *file, unsigned long arg)
file             8313 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_ioctl_aen(struct file *file, unsigned long arg)
file             8319 drivers/scsi/megaraid/megaraid_sas_base.c 	if (file->private_data != file) {
file             8355 drivers/scsi/megaraid/megaraid_sas_base.c megasas_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             8359 drivers/scsi/megaraid/megaraid_sas_base.c 		return megasas_mgmt_ioctl_fw(file, arg);
file             8362 drivers/scsi/megaraid/megaraid_sas_base.c 		return megasas_mgmt_ioctl_aen(file, arg);
file             8369 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_compat_ioctl_fw(struct file *file, unsigned long arg)
file             8424 drivers/scsi/megaraid/megaraid_sas_base.c 	error = megasas_mgmt_ioctl_fw(file, (unsigned long)ioc);
file             8435 drivers/scsi/megaraid/megaraid_sas_base.c megasas_mgmt_compat_ioctl(struct file *file, unsigned int cmd,
file             8440 drivers/scsi/megaraid/megaraid_sas_base.c 		return megasas_mgmt_compat_ioctl_fw(file, arg);
file             8442 drivers/scsi/megaraid/megaraid_sas_base.c 		return megasas_mgmt_ioctl_aen(file, arg);
file               48 drivers/scsi/megaraid/megaraid_sas_debugfs.c megasas_debugfs_read(struct file *filp, char __user *ubuf, size_t cnt,
file               60 drivers/scsi/megaraid/megaraid_sas_debugfs.c megasas_debugfs_raidmap_open(struct inode *inode, struct file *file)
file               74 drivers/scsi/megaraid/megaraid_sas_debugfs.c 	file->private_data = debug;
file               80 drivers/scsi/megaraid/megaraid_sas_debugfs.c megasas_debugfs_release(struct inode *inode, struct file *file)
file               82 drivers/scsi/megaraid/megaraid_sas_debugfs.c 	struct megasas_debug_buffer *debug = file->private_data;
file               87 drivers/scsi/megaraid/megaraid_sas_debugfs.c 	file->private_data = NULL;
file              522 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_fasync(int fd, struct file *filep, int mode)
file              534 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_poll(struct file *filep, poll_table *wait)
file             2302 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_ioctl_main(struct file *file, unsigned int cmd, void __user *arg,
file             2331 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	state = (file->f_flags & O_NONBLOCK) ? NON_BLOCKING : BLOCKING;
file             2438 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2446 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ret = _ctl_ioctl_main(file, cmd, (void __user *)arg, 0,
file             2458 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_mpt2_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2465 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ret = _ctl_ioctl_main(file, cmd, (void __user *)arg, 0, MPI2_VERSION);
file             2478 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_ioctl_compat(struct file *file, unsigned cmd, unsigned long arg)
file             2482 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ret = _ctl_ioctl_main(file, cmd, (void __user *)arg, 1,
file             2496 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_mpt2_ioctl_compat(struct file *file, unsigned cmd, unsigned long arg)
file             2500 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ret = _ctl_ioctl_main(file, cmd, (void __user *)arg, 1, MPI2_VERSION);
file             3438 drivers/scsi/pmcraid.c static int pmcraid_chr_open(struct inode *inode, struct file *filep)
file             3458 drivers/scsi/pmcraid.c static int pmcraid_chr_fasync(int fd, struct file *filep, int mode)
file             3903 drivers/scsi/pmcraid.c 	struct file *filep,
file               99 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj,
file              119 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj,
file              100 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count,
file              129 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_fp_int_cmd_write(struct file *filp, const char __user *buffer,
file              139 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count,
file              155 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer,
file              186 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_stop_io_on_error_cmd_read(struct file *filp, char __user *buffer,
file              205 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_stop_io_on_error_cmd_write(struct file *filp,
file              284 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_io_trace_open(struct inode *inode, struct file *file)
file              290 drivers/scsi/qedf/qedf_debugfs.c 	return single_open(file, qedf_io_trace_show, qedf);
file              371 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_driver_stats_open(struct inode *inode, struct file *file)
file              377 drivers/scsi/qedf/qedf_debugfs.c 	return single_open(file, qedf_driver_stats_show, qedf);
file              381 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_clear_stats_cmd_read(struct file *filp, char __user *buffer,
file              393 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_clear_stats_cmd_write(struct file *filp,
file              463 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_offload_stats_open(struct inode *inode, struct file *file)
file              469 drivers/scsi/qedf/qedf_debugfs.c 	return single_open(file, qedf_offload_stats_show, qedf);
file               94 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_do_not_recover_cmd_write(struct file *filp, const char __user *buffer,
file              120 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_do_not_recover_cmd_read(struct file *filp, char __user *buffer,
file              167 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_gbl_ctx_open(struct inode *inode, struct file *file)
file              173 drivers/scsi/qedi/qedi_debugfs.c 	return single_open(file, qedi_gbl_ctx_show, qedi);
file              214 drivers/scsi/qedi/qedi_debugfs.c qedi_dbg_io_trace_open(struct inode *inode, struct file *file)
file              220 drivers/scsi/qedi/qedi_debugfs.c 	return single_open(file, qedi_io_trace_show, qedi);
file               20 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj,
file               56 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj,
file              153 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj,
file              193 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj,
file              268 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj,
file              292 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj,
file              330 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj,
file              514 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj,
file              561 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj,
file              628 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj,
file              664 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj,
file              800 drivers/scsi/qla2xxx/qla_attr.c qla2x00_issue_logo(struct file *filp, struct kobject *kobj,
file              843 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj,
file              906 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj,
file               41 drivers/scsi/qla2xxx/qla_dfs.c qla2x00_dfs_tgt_sess_open(struct inode *inode, struct file *file)
file               45 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla2x00_dfs_tgt_sess_show, vha);
file              110 drivers/scsi/qla2xxx/qla_dfs.c qla2x00_dfs_tgt_port_database_open(struct inode *inode, struct file *file)
file              114 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla2x00_dfs_tgt_port_database_show, vha);
file              159 drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_fw_resource_cnt_open(struct inode *inode, struct file *file)
file              163 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla_dfs_fw_resource_cnt_show, vha);
file              249 drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_tgt_counters_open(struct inode *inode, struct file *file)
file              253 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla_dfs_tgt_counters_show, vha);
file              301 drivers/scsi/qla2xxx/qla_dfs.c qla2x00_dfs_fce_open(struct inode *inode, struct file *file)
file              322 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla2x00_dfs_fce_show, vha);
file              326 drivers/scsi/qla2xxx/qla_dfs.c qla2x00_dfs_fce_release(struct inode *inode, struct file *file)
file              350 drivers/scsi/qla2xxx/qla_dfs.c 	return single_release(inode, file);
file              371 drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_naqp_open(struct inode *inode, struct file *file)
file              375 drivers/scsi/qla2xxx/qla_dfs.c 	return single_open(file, qla_dfs_naqp_show, vha);
file              379 drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_naqp_write(struct file *file, const char __user *buffer,
file              382 drivers/scsi/qla2xxx/qla_dfs.c 	struct seq_file *s = file->private_data;
file               13 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_read_fw_dump(struct file *filep, struct kobject *kobj,
file               31 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_write_fw_dump(struct file *filep, struct kobject *kobj,
file              697 drivers/scsi/scsi_devinfo.c static int proc_scsi_devinfo_open(struct inode *inode, struct file *file)
file              699 drivers/scsi/scsi_devinfo.c 	return seq_open(file, &scsi_devinfo_seq_ops);
file              709 drivers/scsi/scsi_devinfo.c static ssize_t proc_scsi_devinfo_write(struct file *file,
file               49 drivers/scsi/scsi_proc.c static ssize_t proc_scsi_host_write(struct file *file, const char __user *buf,
file               52 drivers/scsi/scsi_proc.c 	struct Scsi_Host *shost = PDE_DATA(file_inode(file));
file               80 drivers/scsi/scsi_proc.c static int proc_scsi_host_open(struct inode *inode, struct file *file)
file               82 drivers/scsi/scsi_proc.c 	return single_open_size(file, proc_scsi_show, PDE_DATA(inode),
file              310 drivers/scsi/scsi_proc.c static ssize_t proc_scsi_write(struct file *file, const char __user *buf,
file              430 drivers/scsi/scsi_proc.c static int proc_scsi_open(struct inode *inode, struct file *file)
file              436 drivers/scsi/scsi_proc.c 	return seq_open(file, &scsi_seq_ops);
file              846 drivers/scsi/scsi_sysfs.c show_vpd_##_page(struct file *filp, struct kobject *kobj,	\
file              872 drivers/scsi/scsi_sysfs.c static ssize_t show_inquiry(struct file *filep, struct kobject *kobj,
file              181 drivers/scsi/sg.c static ssize_t sg_new_write(Sg_fd *sfp, struct file *file,
file              220 drivers/scsi/sg.c static int sg_check_file_access(struct file *filp, const char *caller)
file              235 drivers/scsi/sg.c static int sg_allow_access(struct file *filp, unsigned char *cmd)
file              283 drivers/scsi/sg.c sg_open(struct inode *inode, struct file *filp)
file              382 drivers/scsi/sg.c sg_release(struct inode *inode, struct file *filp)
file              409 drivers/scsi/sg.c sg_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
file              603 drivers/scsi/sg.c sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
file              716 drivers/scsi/sg.c sg_new_write(Sg_fd *sfp, struct file *file, const char __user *buf,
file              776 drivers/scsi/sg.c 	if (read_only && sg_allow_access(file, cmnd)) {
file              901 drivers/scsi/sg.c sg_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg)
file             1148 drivers/scsi/sg.c static long sg_compat_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg)
file             1171 drivers/scsi/sg.c sg_poll(struct file *filp, poll_table * wait)
file             1209 drivers/scsi/sg.c sg_fasync(int fd, struct file *filp, int mode)
file             1264 drivers/scsi/sg.c sg_mmap(struct file *filp, struct vm_area_struct *vma)
file             2300 drivers/scsi/sg.c static int sg_proc_single_open_adio(struct inode *inode, struct file *file);
file             2301 drivers/scsi/sg.c static ssize_t sg_proc_write_adio(struct file *filp, const char __user *buffer,
file             2312 drivers/scsi/sg.c static int sg_proc_single_open_dressz(struct inode *inode, struct file *file);
file             2313 drivers/scsi/sg.c static ssize_t sg_proc_write_dressz(struct file *filp, 
file             2379 drivers/scsi/sg.c static int sg_proc_single_open_adio(struct inode *inode, struct file *file)
file             2381 drivers/scsi/sg.c 	return single_open(file, sg_proc_seq_show_int, &sg_allow_dio);
file             2385 drivers/scsi/sg.c sg_proc_write_adio(struct file *filp, const char __user *buffer,
file             2400 drivers/scsi/sg.c static int sg_proc_single_open_dressz(struct inode *inode, struct file *file)
file             2402 drivers/scsi/sg.c 	return single_open(file, sg_proc_seq_show_int, &sg_big_buff);
file             2406 drivers/scsi/sg.c sg_proc_write_dressz(struct file *filp, const char __user *buffer,
file               62 drivers/scsi/snic/snic_debugfs.c snic_reset_stats_open(struct inode *inode, struct file *filp)
file               86 drivers/scsi/snic/snic_debugfs.c snic_reset_stats_read(struct file *filp,
file              115 drivers/scsi/snic/snic_debugfs.c snic_reset_stats_write(struct file *filp,
file              168 drivers/scsi/snic/snic_debugfs.c snic_reset_stats_release(struct inode *inode, struct file *filp)
file              344 drivers/scsi/snic/snic_debugfs.c snic_stats_open(struct inode *inode, struct file *filp)
file              450 drivers/scsi/snic/snic_debugfs.c snic_trc_open(struct inode *inode, struct file *filp)
file             1039 drivers/scsi/st.c static int check_tape(struct scsi_tape *STp, struct file *filp)
file             1246 drivers/scsi/st.c static int st_open(struct inode *inode, struct file *filp)
file             1340 drivers/scsi/st.c static int st_flush(struct file *filp, fl_owner_t id)
file             1456 drivers/scsi/st.c static int st_release(struct inode *inode, struct file *filp)
file             1475 drivers/scsi/st.c static ssize_t rw_checks(struct scsi_tape *STp, struct file *filp, size_t count)
file             1620 drivers/scsi/st.c st_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
file             2095 drivers/scsi/st.c st_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
file             2601 drivers/scsi/st.c static int do_load_unload(struct scsi_tape *STp, struct file *filp, int load_code)
file             3503 drivers/scsi/st.c static long st_ioctl(struct file *file, unsigned int cmd_in, unsigned long arg)
file             3508 drivers/scsi/st.c 	struct scsi_tape *STp = file->private_data;
file             3533 drivers/scsi/st.c 			file->f_flags & O_NDELAY);
file             3673 drivers/scsi/st.c 			i = do_load_unload(STp, file, 1);
file             3704 drivers/scsi/st.c 			retval = do_load_unload(STp, file, 0);
file             3709 drivers/scsi/st.c 			retval = do_load_unload(STp, file, max(1, mtc.mt_count));
file             3842 drivers/scsi/st.c 						   file->f_mode, cmd_in, p);
file             3860 drivers/scsi/st.c static long st_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             3862 drivers/scsi/st.c 	struct scsi_tape *STp = file->private_data;
file              175 drivers/sfi/sfi_acpi.c static ssize_t sfi_acpi_table_show(struct file *filp, struct kobject *kobj,
file              390 drivers/sfi/sfi_core.c static ssize_t sfi_table_show(struct file *filp, struct kobject *kobj,
file               40 drivers/sh/intc/virq-debugfs.c static int intc_irq_xlate_open(struct inode *inode, struct file *file)
file               42 drivers/sh/intc/virq-debugfs.c 	return single_open(file, intc_irq_xlate_debug, inode->i_private);
file               37 drivers/soc/aspeed/aspeed-lpc-ctrl.c static struct aspeed_lpc_ctrl *file_aspeed_lpc_ctrl(struct file *file)
file               39 drivers/soc/aspeed/aspeed-lpc-ctrl.c 	return container_of(file->private_data, struct aspeed_lpc_ctrl,
file               43 drivers/soc/aspeed/aspeed-lpc-ctrl.c static int aspeed_lpc_ctrl_mmap(struct file *file, struct vm_area_struct *vma)
file               45 drivers/soc/aspeed/aspeed-lpc-ctrl.c 	struct aspeed_lpc_ctrl *lpc_ctrl = file_aspeed_lpc_ctrl(file);
file               63 drivers/soc/aspeed/aspeed-lpc-ctrl.c static long aspeed_lpc_ctrl_ioctl(struct file *file, unsigned int cmd,
file               66 drivers/soc/aspeed/aspeed-lpc-ctrl.c 	struct aspeed_lpc_ctrl *lpc_ctrl = file_aspeed_lpc_ctrl(file);
file               67 drivers/soc/aspeed/aspeed-lpc-ctrl.c 	struct device *dev = file->private_data;
file               73 drivers/soc/aspeed/aspeed-lpc-snoop.c static struct aspeed_lpc_snoop_channel *snoop_file_to_chan(struct file *file)
file               75 drivers/soc/aspeed/aspeed-lpc-snoop.c 	return container_of(file->private_data,
file               80 drivers/soc/aspeed/aspeed-lpc-snoop.c static ssize_t snoop_file_read(struct file *file, char __user *buffer,
file               83 drivers/soc/aspeed/aspeed-lpc-snoop.c 	struct aspeed_lpc_snoop_channel *chan = snoop_file_to_chan(file);
file               88 drivers/soc/aspeed/aspeed-lpc-snoop.c 		if (file->f_flags & O_NONBLOCK)
file              100 drivers/soc/aspeed/aspeed-lpc-snoop.c static __poll_t snoop_file_poll(struct file *file,
file              103 drivers/soc/aspeed/aspeed-lpc-snoop.c 	struct aspeed_lpc_snoop_channel *chan = snoop_file_to_chan(file);
file              105 drivers/soc/aspeed/aspeed-lpc-snoop.c 	poll_wait(file, &chan->wq, pt);
file               73 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	struct file *file;
file              100 drivers/soc/aspeed/aspeed-p2a-ctrl.c static int aspeed_p2a_mmap(struct file *file, struct vm_area_struct *vma)
file              104 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	struct aspeed_p2a_user *priv = file->private_data;
file              172 drivers/soc/aspeed/aspeed-p2a-ctrl.c static long aspeed_p2a_ioctl(struct file *file, unsigned int cmd,
file              175 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	struct aspeed_p2a_user *priv = file->private_data;
file              237 drivers/soc/aspeed/aspeed-p2a-ctrl.c static int aspeed_p2a_open(struct inode *inode, struct file *file)
file              245 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	priv->file = file;
file              250 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	priv->parent = file->private_data;
file              253 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	file->private_data = priv;
file              263 drivers/soc/aspeed/aspeed-p2a-ctrl.c static int aspeed_p2a_release(struct inode *inode, struct file *file)
file              268 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	struct aspeed_p2a_user *priv = file->private_data;
file              103 drivers/soc/fsl/dpaa2-console.c static int dpaa2_generic_console_open(struct inode *node, struct file *fp,
file              168 drivers/soc/fsl/dpaa2-console.c static int dpaa2_mc_console_open(struct inode *node, struct file *fp)
file              175 drivers/soc/fsl/dpaa2-console.c static int dpaa2_aiop_console_open(struct inode *node, struct file *fp)
file              182 drivers/soc/fsl/dpaa2-console.c static int dpaa2_console_close(struct inode *node, struct file *fp)
file              191 drivers/soc/fsl/dpaa2-console.c static ssize_t dpaa2_console_read(struct file *fp, char __user *buf,
file               70 drivers/soc/qcom/rmtfs_mem.c static int qcom_rmtfs_mem_open(struct inode *inode, struct file *filp)
file               81 drivers/soc/qcom/rmtfs_mem.c static ssize_t qcom_rmtfs_mem_read(struct file *filp,
file               99 drivers/soc/qcom/rmtfs_mem.c static ssize_t qcom_rmtfs_mem_write(struct file *filp,
file              118 drivers/soc/qcom/rmtfs_mem.c static int qcom_rmtfs_mem_release(struct inode *inode, struct file *filp)
file              132 drivers/soc/qcom/rmtfs_mem.c static int qcom_rmtfs_mem_mmap(struct file *filep, struct vm_area_struct *vma)
file              218 drivers/soc/qcom/socinfo.c static int qcom_open_##name(struct inode *inode, struct file *file)	\
file              220 drivers/soc/qcom/socinfo.c 	return single_open(file, _func, inode->i_private);		\
file              281 drivers/soc/qcom/socinfo.c static int open_image_##type(struct inode *inode, struct file *file)	  \
file              283 drivers/soc/qcom/socinfo.c 	return single_open(file, show_image_##type, inode->i_private); \
file               45 drivers/soc/tegra/fuse/fuse-tegra.c static ssize_t fuse_read(struct file *fd, struct kobject *kobj,
file              373 drivers/soc/ti/knav_dma.c static int knav_dma_debug_open(struct inode *inode, struct file *file)
file              375 drivers/soc/ti/knav_dma.c 	return single_open(file, dma_debug_show, NULL);
file              478 drivers/soc/ti/knav_qmss_queue.c static int knav_queue_debug_open(struct inode *inode, struct file *file)
file              480 drivers/soc/ti/knav_qmss_queue.c 	return single_open(file, knav_queue_debug_show, NULL);
file               36 drivers/spi/spi-dw.c static ssize_t dw_spi_show_regs(struct file *file, char __user *user_buf,
file               39 drivers/spi/spi-dw.c 	struct dw_spi *dws = file->private_data;
file              118 drivers/spi/spi.c #define SPI_STATISTICS_ATTRS(field, file)				\
file              128 drivers/spi/spi.c 	.attr = { .name = file, .mode = 0444 },				\
file              139 drivers/spi/spi.c 	.attr = { .name = file, .mode = 0444 },				\
file              143 drivers/spi/spi.c #define SPI_STATISTICS_SHOW_NAME(name, file, field, format_string)	\
file              154 drivers/spi/spi.c SPI_STATISTICS_ATTRS(name, file)
file              145 drivers/spi/spidev.c spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos)
file              174 drivers/spi/spidev.c spidev_write(struct file *filp, const char __user *buf,
file              336 drivers/spi/spidev.c spidev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              488 drivers/spi/spidev.c spidev_compat_ioc_message(struct file *filp, unsigned int cmd,
file              540 drivers/spi/spidev.c spidev_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              553 drivers/spi/spidev.c static int spidev_open(struct inode *inode, struct file *filp)
file              605 drivers/spi/spidev.c static int spidev_release(struct inode *inode, struct file *filp)
file               49 drivers/staging/android/ashmem.c 	struct file *file;
file              241 drivers/staging/android/ashmem.c static int ashmem_open(struct inode *inode, struct file *file)
file              246 drivers/staging/android/ashmem.c 	ret = generic_file_open(inode, file);
file              257 drivers/staging/android/ashmem.c 	file->private_data = asma;
file              270 drivers/staging/android/ashmem.c static int ashmem_release(struct inode *ignored, struct file *file)
file              272 drivers/staging/android/ashmem.c 	struct ashmem_area *asma = file->private_data;
file              280 drivers/staging/android/ashmem.c 	if (asma->file)
file              281 drivers/staging/android/ashmem.c 		fput(asma->file);
file              298 drivers/staging/android/ashmem.c 	if (!asma->file) {
file              310 drivers/staging/android/ashmem.c 	ret = vfs_iter_read(asma->file, iter, &iocb->ki_pos, 0);
file              313 drivers/staging/android/ashmem.c 		asma->file->f_pos = iocb->ki_pos;
file              319 drivers/staging/android/ashmem.c static loff_t ashmem_llseek(struct file *file, loff_t offset, int origin)
file              321 drivers/staging/android/ashmem.c 	struct ashmem_area *asma = file->private_data;
file              331 drivers/staging/android/ashmem.c 	if (!asma->file) {
file              338 drivers/staging/android/ashmem.c 	ret = vfs_llseek(asma->file, offset, origin);
file              343 drivers/staging/android/ashmem.c 	file->f_pos = asma->file->f_pos;
file              354 drivers/staging/android/ashmem.c static int ashmem_vmfile_mmap(struct file *file, struct vm_area_struct *vma)
file              361 drivers/staging/android/ashmem.c ashmem_vmfile_get_unmapped_area(struct file *file, unsigned long addr,
file              365 drivers/staging/android/ashmem.c 	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
file              368 drivers/staging/android/ashmem.c static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
file              371 drivers/staging/android/ashmem.c 	struct ashmem_area *asma = file->private_data;
file              396 drivers/staging/android/ashmem.c 	if (!asma->file) {
file              398 drivers/staging/android/ashmem.c 		struct file *vmfile;
file              410 drivers/staging/android/ashmem.c 		asma->file = vmfile;
file              425 drivers/staging/android/ashmem.c 	get_file(asma->file);
file              434 drivers/staging/android/ashmem.c 			fput(asma->file);
file              443 drivers/staging/android/ashmem.c 	vma->vm_file = asma->file;
file              481 drivers/staging/android/ashmem.c 		struct file *f = range->asma->file;
file              572 drivers/staging/android/ashmem.c 	if (asma->file)
file              765 drivers/staging/android/ashmem.c 	if (!asma->file)
file              804 drivers/staging/android/ashmem.c static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              806 drivers/staging/android/ashmem.c 	struct ashmem_area *asma = file->private_data;
file              819 drivers/staging/android/ashmem.c 		if (!asma->file) {
file              857 drivers/staging/android/ashmem.c static long compat_ashmem_ioctl(struct file *file, unsigned int cmd,
file              868 drivers/staging/android/ashmem.c 	return ashmem_ioctl(file, cmd, arg);
file              872 drivers/staging/android/ashmem.c static void ashmem_show_fdinfo(struct seq_file *m, struct file *file)
file              874 drivers/staging/android/ashmem.c 	struct ashmem_area *asma = file->private_data;
file              878 drivers/staging/android/ashmem.c 	if (asma->file)
file              879 drivers/staging/android/ashmem.c 		seq_printf(m, "inode:\t%ld\n", file_inode(asma->file)->i_ino);
file              479 drivers/staging/android/ion/ion.c static long ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              143 drivers/staging/android/vsoc.c static long vsoc_ioctl(struct file *, unsigned int, unsigned long);
file              144 drivers/staging/android/vsoc.c static int vsoc_mmap(struct file *, struct vm_area_struct *);
file              145 drivers/staging/android/vsoc.c static int vsoc_open(struct inode *, struct file *);
file              146 drivers/staging/android/vsoc.c static int vsoc_release(struct inode *, struct file *);
file              147 drivers/staging/android/vsoc.c static ssize_t vsoc_read(struct file *, char __user *, size_t, loff_t *);
file              148 drivers/staging/android/vsoc.c static ssize_t vsoc_write(struct file *, const char __user *, size_t, loff_t *);
file              149 drivers/staging/android/vsoc.c static loff_t vsoc_lseek(struct file *filp, loff_t offset, int origin);
file              157 drivers/staging/android/vsoc.c static long do_vsoc_describe_region(struct file *,
file              159 drivers/staging/android/vsoc.c static ssize_t vsoc_get_area(struct file *filp, __u32 *perm_off);
file              174 drivers/staging/android/vsoc.c inline int vsoc_validate_filep(struct file *filp)
file              212 drivers/staging/android/vsoc.c inline struct vsoc_device_region *vsoc_region_from_filep(struct file *inode)
file              257 drivers/staging/android/vsoc.c 	struct file *managed_filp;
file              268 drivers/staging/android/vsoc.c 	managed_filp = fdget(managed_fd).file;
file              381 drivers/staging/android/vsoc.c static long do_vsoc_describe_region(struct file *filp,
file              399 drivers/staging/android/vsoc.c static int handle_vsoc_cond_wait(struct file *filp, struct vsoc_cond_wait *arg)
file              491 drivers/staging/android/vsoc.c static int do_vsoc_cond_wait(struct file *filp,
file              507 drivers/staging/android/vsoc.c static int do_vsoc_cond_wake(struct file *filp, uint32_t offset)
file              529 drivers/staging/android/vsoc.c static long vsoc_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              621 drivers/staging/android/vsoc.c static ssize_t vsoc_read(struct file *filp, char __user *buffer, size_t len,
file              645 drivers/staging/android/vsoc.c static loff_t vsoc_lseek(struct file *filp, loff_t offset, int origin)
file              695 drivers/staging/android/vsoc.c static ssize_t vsoc_write(struct file *filp, const char __user *buffer,
file             1042 drivers/staging/android/vsoc.c static int vsoc_open(struct inode *inode, struct file *filp)
file             1056 drivers/staging/android/vsoc.c static int vsoc_release(struct inode *inode, struct file *filp)
file             1091 drivers/staging/android/vsoc.c static ssize_t vsoc_get_area(struct file *filp, __u32 *area_offset)
file             1119 drivers/staging/android/vsoc.c static int vsoc_mmap(struct file *filp, struct vm_area_struct *vma)
file              341 drivers/staging/axis-fifo/axis-fifo.c static ssize_t axis_fifo_read(struct file *f, char __user *buf,
file              437 drivers/staging/axis-fifo/axis-fifo.c static ssize_t axis_fifo_write(struct file *f, const char __user *buf,
file              642 drivers/staging/axis-fifo/axis-fifo.c static int axis_fifo_open(struct inode *inod, struct file *f)
file              671 drivers/staging/axis-fifo/axis-fifo.c static int axis_fifo_close(struct inode *inod, struct file *f)
file               81 drivers/staging/comedi/comedi_compat32.c static int translated_ioctl(struct file *file, unsigned int cmd,
file               84 drivers/staging/comedi/comedi_compat32.c 	if (file->f_op->unlocked_ioctl)
file               85 drivers/staging/comedi/comedi_compat32.c 		return file->f_op->unlocked_ioctl(file, cmd, arg);
file               91 drivers/staging/comedi/comedi_compat32.c static int compat_chaninfo(struct file *file, unsigned long arg)
file              121 drivers/staging/comedi/comedi_compat32.c 	return translated_ioctl(file, COMEDI_CHANINFO, (unsigned long)chaninfo);
file              125 drivers/staging/comedi/comedi_compat32.c static int compat_rangeinfo(struct file *file, unsigned long arg)
file              151 drivers/staging/comedi/comedi_compat32.c 	return translated_ioctl(file, COMEDI_RANGEINFO,
file              259 drivers/staging/comedi/comedi_compat32.c static int compat_cmd(struct file *file, unsigned long arg)
file              272 drivers/staging/comedi/comedi_compat32.c 	rc = translated_ioctl(file, COMEDI_CMD, (unsigned long)cmd);
file              284 drivers/staging/comedi/comedi_compat32.c static int compat_cmdtest(struct file *file, unsigned long arg)
file              297 drivers/staging/comedi/comedi_compat32.c 	rc = translated_ioctl(file, COMEDI_CMDTEST, (unsigned long)cmd);
file              338 drivers/staging/comedi/comedi_compat32.c static int compat_insnlist(struct file *file, unsigned long arg)
file              383 drivers/staging/comedi/comedi_compat32.c 	return translated_ioctl(file, COMEDI_INSNLIST,
file              388 drivers/staging/comedi/comedi_compat32.c static int compat_insn(struct file *file, unsigned long arg)
file              401 drivers/staging/comedi/comedi_compat32.c 	return translated_ioctl(file, COMEDI_INSN, (unsigned long)insn);
file              409 drivers/staging/comedi/comedi_compat32.c long comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              421 drivers/staging/comedi/comedi_compat32.c 		rc = translated_ioctl(file, cmd, arg);
file              430 drivers/staging/comedi/comedi_compat32.c 		rc = translated_ioctl(file, cmd, arg);
file              433 drivers/staging/comedi/comedi_compat32.c 		rc = compat_chaninfo(file, arg);
file              436 drivers/staging/comedi/comedi_compat32.c 		rc = compat_rangeinfo(file, arg);
file              439 drivers/staging/comedi/comedi_compat32.c 		rc = compat_cmd(file, arg);
file              442 drivers/staging/comedi/comedi_compat32.c 		rc = compat_cmdtest(file, arg);
file              445 drivers/staging/comedi/comedi_compat32.c 		rc = compat_insnlist(file, arg);
file              448 drivers/staging/comedi/comedi_compat32.c 		rc = compat_insn(file, arg);
file               18 drivers/staging/comedi/comedi_compat32.h struct file;
file               19 drivers/staging/comedi/comedi_compat32.h long comedi_compat_ioctl(struct file *file, unsigned int cmd,
file              287 drivers/staging/comedi/comedi_fops.c static void comedi_file_reset(struct file *file)
file              289 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file              292 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = iminor(file_inode(file));
file              309 drivers/staging/comedi/comedi_fops.c static void comedi_file_check(struct file *file)
file              311 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file              316 drivers/staging/comedi/comedi_fops.c 		comedi_file_reset(file);
file              319 drivers/staging/comedi/comedi_fops.c static struct comedi_subdevice *comedi_file_read_subdevice(struct file *file)
file              321 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file              323 drivers/staging/comedi/comedi_fops.c 	comedi_file_check(file);
file              327 drivers/staging/comedi/comedi_fops.c static struct comedi_subdevice *comedi_file_write_subdevice(struct file *file)
file              329 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file              331 drivers/staging/comedi/comedi_fops.c 	comedi_file_check(file);
file              929 drivers/staging/comedi/comedi_fops.c 			    struct file *file)
file              943 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_read_subdevice(file);
file              949 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_write_subdevice(file);
file              975 drivers/staging/comedi/comedi_fops.c 			     struct comedi_subdinfo __user *arg, void *file)
file             1009 drivers/staging/comedi/comedi_fops.c 		if (s->busy == file)
file             1013 drivers/staging/comedi/comedi_fops.c 		if (s->lock == file)
file             1106 drivers/staging/comedi/comedi_fops.c 			    struct comedi_bufinfo __user *arg, void *file)
file             1126 drivers/staging/comedi/comedi_fops.c 	if (!async || s->busy != file)
file             1306 drivers/staging/comedi/comedi_fops.c 		      unsigned int *data, void *file)
file             1412 drivers/staging/comedi/comedi_fops.c 		if (s->lock && s->lock != file) {
file             1524 drivers/staging/comedi/comedi_fops.c 			     struct comedi_insnlist __user *arg, void *file)
file             1579 drivers/staging/comedi/comedi_fops.c 		ret = parse_insn(dev, insns + i, data, file);
file             1619 drivers/staging/comedi/comedi_fops.c 			 struct comedi_insn __user *arg, void *file)
file             1652 drivers/staging/comedi/comedi_fops.c 	ret = parse_insn(dev, &insn, data, file);
file             1770 drivers/staging/comedi/comedi_fops.c 			struct comedi_cmd __user *arg, void *file)
file             1792 drivers/staging/comedi/comedi_fops.c 	if (s->lock && s->lock != file) {
file             1854 drivers/staging/comedi/comedi_fops.c 	s->busy = file;
file             1880 drivers/staging/comedi/comedi_fops.c 			    struct comedi_cmd __user *arg, void *file)
file             1936 drivers/staging/comedi/comedi_fops.c 			 void *file)
file             1951 drivers/staging/comedi/comedi_fops.c 		s->lock = file;
file             1971 drivers/staging/comedi/comedi_fops.c 			   void *file)
file             1983 drivers/staging/comedi/comedi_fops.c 	if (s->lock && s->lock != file)
file             1986 drivers/staging/comedi/comedi_fops.c 	if (s->lock == file)
file             2006 drivers/staging/comedi/comedi_fops.c 			   void *file)
file             2020 drivers/staging/comedi/comedi_fops.c 	if (s->busy != file)
file             2040 drivers/staging/comedi/comedi_fops.c 			 void *file)
file             2052 drivers/staging/comedi/comedi_fops.c 	if (s->busy != file)
file             2075 drivers/staging/comedi/comedi_fops.c 			     struct file *file)
file             2077 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2085 drivers/staging/comedi/comedi_fops.c 	s_old = comedi_file_read_subdevice(file);
file             2096 drivers/staging/comedi/comedi_fops.c 	if (s_old && s_old->busy == file && s_old->async &&
file             2118 drivers/staging/comedi/comedi_fops.c 			     struct file *file)
file             2120 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2128 drivers/staging/comedi/comedi_fops.c 	s_old = comedi_file_write_subdevice(file);
file             2139 drivers/staging/comedi/comedi_fops.c 	if (s_old && s_old->busy == file && s_old->async &&
file             2147 drivers/staging/comedi/comedi_fops.c static long comedi_unlocked_ioctl(struct file *file, unsigned int cmd,
file             2150 drivers/staging/comedi/comedi_fops.c 	unsigned int minor = iminor(file_inode(file));
file             2151 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2199 drivers/staging/comedi/comedi_fops.c 				      file);
file             2204 drivers/staging/comedi/comedi_fops.c 				       file);
file             2215 drivers/staging/comedi/comedi_fops.c 				      file);
file             2218 drivers/staging/comedi/comedi_fops.c 		rc = do_lock_ioctl(dev, arg, file);
file             2221 drivers/staging/comedi/comedi_fops.c 		rc = do_unlock_ioctl(dev, arg, file);
file             2224 drivers/staging/comedi/comedi_fops.c 		rc = do_cancel_ioctl(dev, arg, file);
file             2227 drivers/staging/comedi/comedi_fops.c 		rc = do_cmd_ioctl(dev, (struct comedi_cmd __user *)arg, file);
file             2231 drivers/staging/comedi/comedi_fops.c 				      file);
file             2236 drivers/staging/comedi/comedi_fops.c 				       file);
file             2240 drivers/staging/comedi/comedi_fops.c 				   file);
file             2243 drivers/staging/comedi/comedi_fops.c 		rc = do_poll_ioctl(dev, arg, file);
file             2246 drivers/staging/comedi/comedi_fops.c 		rc = do_setrsubd_ioctl(dev, arg, file);
file             2249 drivers/staging/comedi/comedi_fops.c 		rc = do_setwsubd_ioctl(dev, arg, file);
file             2297 drivers/staging/comedi/comedi_fops.c static int comedi_mmap(struct file *file, struct vm_area_struct *vma)
file             2299 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2327 drivers/staging/comedi/comedi_fops.c 		s = comedi_file_write_subdevice(file);
file             2329 drivers/staging/comedi/comedi_fops.c 		s = comedi_file_read_subdevice(file);
file             2401 drivers/staging/comedi/comedi_fops.c static __poll_t comedi_poll(struct file *file, poll_table *wait)
file             2404 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2415 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_read_subdevice(file);
file             2418 drivers/staging/comedi/comedi_fops.c 		poll_wait(file, &s->async->wait_head, wait);
file             2419 drivers/staging/comedi/comedi_fops.c 		if (s->busy != file || !comedi_is_subdevice_running(s) ||
file             2425 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_write_subdevice(file);
file             2430 drivers/staging/comedi/comedi_fops.c 			poll_wait(file, &s->async->wait_head, wait);
file             2431 drivers/staging/comedi/comedi_fops.c 		if (s->busy != file || !comedi_is_subdevice_running(s) ||
file             2442 drivers/staging/comedi/comedi_fops.c static ssize_t comedi_write(struct file *file, const char __user *buf,
file             2451 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2468 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_write_subdevice(file);
file             2475 drivers/staging/comedi/comedi_fops.c 	if (s->busy != file || !(async->cmd.flags & CMDF_WRITE)) {
file             2504 drivers/staging/comedi/comedi_fops.c 			if (file->f_flags & O_NONBLOCK) {
file             2513 drivers/staging/comedi/comedi_fops.c 			if (s->busy != file ||
file             2563 drivers/staging/comedi/comedi_fops.c 		new_s = comedi_file_write_subdevice(file);
file             2565 drivers/staging/comedi/comedi_fops.c 		    s == new_s && new_s->async == async && s->busy == file &&
file             2578 drivers/staging/comedi/comedi_fops.c static ssize_t comedi_read(struct file *file, char __user *buf, size_t nbytes,
file             2587 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2604 drivers/staging/comedi/comedi_fops.c 	s = comedi_file_read_subdevice(file);
file             2611 drivers/staging/comedi/comedi_fops.c 	if (s->busy != file || (async->cmd.flags & CMDF_WRITE)) {
file             2638 drivers/staging/comedi/comedi_fops.c 			if (file->f_flags & O_NONBLOCK) {
file             2647 drivers/staging/comedi/comedi_fops.c 			if (s->busy != file ||
file             2699 drivers/staging/comedi/comedi_fops.c 		new_s = comedi_file_read_subdevice(file);
file             2701 drivers/staging/comedi/comedi_fops.c 		    s == new_s && new_s->async == async && s->busy == file &&
file             2715 drivers/staging/comedi/comedi_fops.c static int comedi_open(struct inode *inode, struct file *file)
file             2756 drivers/staging/comedi/comedi_fops.c 	file->private_data = cfp;
file             2757 drivers/staging/comedi/comedi_fops.c 	comedi_file_reset(file);
file             2769 drivers/staging/comedi/comedi_fops.c static int comedi_fasync(int fd, struct file *file, int on)
file             2771 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2774 drivers/staging/comedi/comedi_fops.c 	return fasync_helper(fd, file, on, &dev->async_queue);
file             2777 drivers/staging/comedi/comedi_fops.c static int comedi_close(struct inode *inode, struct file *file)
file             2779 drivers/staging/comedi/comedi_fops.c 	struct comedi_file *cfp = file->private_data;
file             2790 drivers/staging/comedi/comedi_fops.c 			if (s->busy == file)
file             2792 drivers/staging/comedi/comedi_fops.c 			if (s->lock == file)
file              182 drivers/staging/comedi/drivers/comedi_bond.c 		char file[sizeof("/dev/comediXXXXXX")];
file              205 drivers/staging/comedi/drivers/comedi_bond.c 		snprintf(file, sizeof(file), "/dev/comedi%d", minor);
file              206 drivers/staging/comedi/drivers/comedi_bond.c 		file[sizeof(file) - 1] = 0;
file              208 drivers/staging/comedi/drivers/comedi_bond.c 		d = comedi_open(file);
file             2200 drivers/staging/exfat/exfat_super.c static int exfat_readdir(struct file *filp, struct dir_context *ctx)
file             2301 drivers/staging/exfat/exfat_super.c static long exfat_generic_ioctl(struct file *filp, unsigned int cmd,
file             3042 drivers/staging/exfat/exfat_super.c static int exfat_file_release(struct inode *inode, struct file *filp)
file             3163 drivers/staging/exfat/exfat_super.c static int exfat_readpage(struct file *file, struct page *page)
file             3168 drivers/staging/exfat/exfat_super.c static int exfat_readpages(struct file *file, struct address_space *mapping,
file             3196 drivers/staging/exfat/exfat_super.c static int exfat_write_begin(struct file *file, struct address_space *mapping,
file             3203 drivers/staging/exfat/exfat_super.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file             3212 drivers/staging/exfat/exfat_super.c static int exfat_write_end(struct file *file, struct address_space *mapping,
file             3220 drivers/staging/exfat/exfat_super.c 	err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
file              172 drivers/staging/fieldbus/dev_core.c static int fieldbus_open(struct inode *inode, struct file *filp)
file              187 drivers/staging/fieldbus/dev_core.c static int fieldbus_release(struct inode *node, struct file *filp)
file              195 drivers/staging/fieldbus/dev_core.c static ssize_t fieldbus_read(struct file *filp, char __user *buf, size_t size,
file              205 drivers/staging/fieldbus/dev_core.c static ssize_t fieldbus_write(struct file *filp, const char __user *buf,
file              214 drivers/staging/fieldbus/dev_core.c static __poll_t fieldbus_poll(struct file *filp, poll_table *wait)
file             1038 drivers/staging/fwserial/fwserial.c static int fwtty_open(struct tty_struct *tty, struct file *fp)
file             1045 drivers/staging/fwserial/fwserial.c static void fwtty_close(struct tty_struct *tty, struct file *fp)
file              449 drivers/staging/gasket/apex_driver.c static bool apex_ioctl_check_permissions(struct file *filp, uint cmd)
file              489 drivers/staging/gasket/apex_driver.c static long apex_ioctl(struct file *filp, uint cmd, void __user *argp)
file             1013 drivers/staging/gasket/gasket_core.c static int gasket_mmap(struct file *filp, struct vm_area_struct *vma)
file             1167 drivers/staging/gasket/gasket_core.c static int gasket_open(struct inode *inode, struct file *filp)
file             1246 drivers/staging/gasket/gasket_core.c static int gasket_release(struct inode *inode, struct file *file)
file             1267 drivers/staging/gasket/gasket_core.c 		current->tgid, task_name, file->f_mode,
file             1268 drivers/staging/gasket/gasket_core.c 		(file->f_mode & FMODE_WRITE), is_root);
file             1272 drivers/staging/gasket/gasket_core.c 	if (file->f_mode & FMODE_WRITE) {
file             1307 drivers/staging/gasket/gasket_core.c static long gasket_ioctl(struct file *filp, uint cmd, ulong arg)
file              307 drivers/staging/gasket/gasket_core.h typedef long (*gasket_ioctl_handler_cb_t)(struct file *file, uint cmd,
file              310 drivers/staging/gasket/gasket_core.h typedef int (*gasket_ioctl_permissions_cb_t)(struct file *filp, uint cmd,
file              421 drivers/staging/gasket/gasket_core.h 				 struct file *file);
file              222 drivers/staging/gasket/gasket_ioctl.c static bool gasket_ioctl_check_permissions(struct file *filp, uint cmd)
file              270 drivers/staging/gasket/gasket_ioctl.c long gasket_handle_ioctl(struct file *filp, uint cmd, void __user *argp)
file               18 drivers/staging/gasket/gasket_ioctl.h long gasket_handle_ioctl(struct file *filp, uint cmd, void __user *argp);
file              609 drivers/staging/gdm724x/gdm_lte.c 				u8 file[128];    /* boot file name (ASCIZ) */
file               86 drivers/staging/gdm724x/gdm_tty.c static int gdm_tty_open(struct tty_struct *tty, struct file *filp)
file              107 drivers/staging/gdm724x/gdm_tty.c static void gdm_tty_close(struct tty_struct *tty, struct file *filp)
file              122 drivers/staging/goldfish/goldfish_audio.c static ssize_t goldfish_audio_read(struct file *fp, char __user *buf,
file              157 drivers/staging/goldfish/goldfish_audio.c static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
file              206 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_open(struct inode *ip, struct file *fp)
file              223 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_release(struct inode *ip, struct file *fp)
file              231 drivers/staging/goldfish/goldfish_audio.c static long goldfish_audio_ioctl(struct file *fp, unsigned int cmd,
file              182 drivers/staging/greybus/authentication.c static int cap_open(struct inode *inode, struct file *file)
file              188 drivers/staging/greybus/authentication.c 		file->private_data = cap;
file              195 drivers/staging/greybus/authentication.c static int cap_release(struct inode *inode, struct file *file)
file              197 drivers/staging/greybus/authentication.c 	struct gb_cap *cap = file->private_data;
file              261 drivers/staging/greybus/authentication.c static long cap_ioctl_unlocked(struct file *file, unsigned int cmd,
file              264 drivers/staging/greybus/authentication.c 	struct gb_cap *cap = file->private_data;
file             1090 drivers/staging/greybus/camera.c static ssize_t gb_camera_debugfs_read(struct file *file, char __user *buf,
file             1093 drivers/staging/greybus/camera.c 	const struct gb_camera_debugfs_entry *op = file->private_data;
file             1094 drivers/staging/greybus/camera.c 	struct gb_camera *gcam = file_inode(file)->i_private;
file             1111 drivers/staging/greybus/camera.c static ssize_t gb_camera_debugfs_write(struct file *file,
file             1115 drivers/staging/greybus/camera.c 	const struct gb_camera_debugfs_entry *op = file->private_data;
file             1116 drivers/staging/greybus/camera.c 	struct gb_camera *gcam = file_inode(file)->i_private;
file             1141 drivers/staging/greybus/camera.c static int gb_camera_debugfs_open(struct inode *inode, struct file *file)
file             1149 drivers/staging/greybus/camera.c 		if (!strcmp(file->f_path.dentry->d_iname, entry->name)) {
file             1150 drivers/staging/greybus/camera.c 			file->private_data = (void *)entry;
file              386 drivers/staging/greybus/fw-management.c static int fw_mgmt_open(struct inode *inode, struct file *file)
file              392 drivers/staging/greybus/fw-management.c 		file->private_data = fw_mgmt;
file              399 drivers/staging/greybus/fw-management.c static int fw_mgmt_release(struct inode *inode, struct file *file)
file              401 drivers/staging/greybus/fw-management.c 	struct fw_mgmt *fw_mgmt = file->private_data;
file              532 drivers/staging/greybus/fw-management.c static long fw_mgmt_ioctl_unlocked(struct file *file, unsigned int cmd,
file              535 drivers/staging/greybus/fw-management.c 	struct fw_mgmt *fw_mgmt = file->private_data;
file               62 drivers/staging/greybus/loopback.c 	struct dentry *file;
file             1029 drivers/staging/greybus/loopback.c 	gb->file = debugfs_create_file(name, S_IFREG | 0444, gb_dev.root, gb,
file             1085 drivers/staging/greybus/loopback.c 	debugfs_remove(gb->file);
file             1111 drivers/staging/greybus/loopback.c 	debugfs_remove(gb->file);
file              257 drivers/staging/greybus/raw.c static int raw_open(struct inode *inode, struct file *file)
file              262 drivers/staging/greybus/raw.c 	file->private_data = raw;
file              266 drivers/staging/greybus/raw.c static ssize_t raw_write(struct file *file, const char __user *buf,
file              269 drivers/staging/greybus/raw.c 	struct gb_raw *raw = file->private_data;
file              285 drivers/staging/greybus/raw.c static ssize_t raw_read(struct file *file, char __user *buf, size_t count,
file              288 drivers/staging/greybus/raw.c 	struct gb_raw *raw = file->private_data;
file              575 drivers/staging/greybus/tools/loopback_test.c 	char file[MAX_SYSFS_PATH];
file              577 drivers/staging/greybus/tools/loopback_test.c 	snprintf(file, MAX_SYSFS_PATH, "%s%s/iteration_count", path, node);
file              578 drivers/staging/greybus/tools/loopback_test.c 	if (access(file, F_OK) == 0)
file              413 drivers/staging/greybus/uart.c static int gb_tty_open(struct tty_struct *tty, struct file *file)
file              417 drivers/staging/greybus/uart.c 	return tty_port_open(&gb_tty->port, tty, file);
file              420 drivers/staging/greybus/uart.c static void gb_tty_close(struct tty_struct *tty, struct file *file)
file              424 drivers/staging/greybus/uart.c 	tty_port_close(&gb_tty->port, tty, file);
file               31 drivers/staging/gs_fpgaboot/gs_fpgaboot.c static char	*file = "xlinx_fpga_firmware.bit";
file               32 drivers/staging/gs_fpgaboot/gs_fpgaboot.c module_param(file, charp, 0444);
file               33 drivers/staging/gs_fpgaboot/gs_fpgaboot.c MODULE_PARM_DESC(file, "Xilinx FPGA firmware file.");
file              304 drivers/staging/gs_fpgaboot/gs_fpgaboot.c 	err = gs_load_image(fimage, file);
file              353 drivers/staging/gs_fpgaboot/gs_fpgaboot.c 	pr_info("FPGA image file name: %s\n", file);
file              113 drivers/staging/isdn/gigaset/interface.c static int if_open(struct tty_struct *tty, struct file *filp)
file              141 drivers/staging/isdn/gigaset/interface.c static void if_close(struct tty_struct *tty, struct file *filp)
file              604 drivers/staging/isdn/gigaset/ser-gigaset.c gigaset_tty_ioctl(struct tty_struct *tty, struct file *file,
file              637 drivers/staging/isdn/gigaset/ser-gigaset.c 		rc = n_tty_ioctl_helper(tty, file, cmd, arg);
file               94 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
file              103 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if (!(cnf = file->private_data))
file              212 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_read(struct file *file, char __user *buf, size_t count, loff_t *off)
file              216 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if (!(file->f_mode & FMODE_READ))
file              219 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if (!(cp = file->private_data))
file              229 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_open(struct inode *ino, struct file *filep)
file              304 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_close(struct inode *ino, struct file *filep)
file              154 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
file              157 drivers/staging/isdn/hysdn/hysdn_proclog.c 	hysdn_card *card = file->private_data;
file              170 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_read(struct file *file, char __user *buf, size_t count, loff_t *off)
file              174 drivers/staging/isdn/hysdn/hysdn_proclog.c 	hysdn_card *card = PDE_DATA(file_inode(file));
file              176 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if (!(inf = *((struct log_data **) file->private_data))) {
file              178 drivers/staging/isdn/hysdn/hysdn_proclog.c 		if (file->f_flags & O_NONBLOCK)
file              182 drivers/staging/isdn/hysdn/hysdn_proclog.c 				*((struct log_data **) file->private_data)));
file              188 drivers/staging/isdn/hysdn/hysdn_proclog.c 	file->private_data = &inf->next;	/* next structure */
file              202 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_open(struct inode *ino, struct file *filep)
file              238 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_close(struct inode *ino, struct file *filep)
file              285 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_poll(struct file *file, poll_table *wait)
file              288 drivers/staging/isdn/hysdn/hysdn_proclog.c 	hysdn_card *card = PDE_DATA(file_inode(file));
file              291 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if ((file->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE)
file              294 drivers/staging/isdn/hysdn/hysdn_proclog.c 	poll_wait(file, &(pd->rd_queue), wait);
file              296 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if (*((struct log_data **) file->private_data))
file              245 drivers/staging/kpc2000/kpc_dma/fileops.c int  kpc_dma_open(struct inode *inode, struct file *filp)
file              269 drivers/staging/kpc2000/kpc_dma/fileops.c int  kpc_dma_close(struct inode *inode, struct file *filp)
file              303 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t  kpc_dma_read(struct file *filp,       char __user *user_buf, size_t count, loff_t *ppos)
file              314 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t  kpc_dma_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos)
file              325 drivers/staging/kpc2000/kpc_dma/fileops.c long  kpc_dma_ioctl(struct file *filp, unsigned int ioctl_num, unsigned long ioctl_param)
file             2269 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_open(struct file *file)
file             2271 drivers/staging/media/allegro-dvt/allegro-core.c 	struct video_device *vdev = video_devdata(file);
file             2282 drivers/staging/media/allegro-dvt/allegro-core.c 	file->private_data = &channel->fh;
file             2350 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_release(struct file *file)
file             2352 drivers/staging/media/allegro-dvt/allegro-core.c 	struct allegro_channel *channel = fh_to_channel(file->private_data);
file             2368 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_querycap(struct file *file, void *fh,
file             2371 drivers/staging/media/allegro-dvt/allegro-core.c 	struct video_device *vdev = video_devdata(file);
file             2382 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_enum_fmt_vid(struct file *file, void *fh,
file             2400 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_g_fmt_vid_cap(struct file *file, void *fh,
file             2421 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_try_fmt_vid_cap(struct file *file, void *fh,
file             2439 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_g_fmt_vid_out(struct file *file, void *fh,
file             2461 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_try_fmt_vid_out(struct file *file, void *fh,
file             2486 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_s_fmt_vid_out(struct file *file, void *fh,
file             2492 drivers/staging/media/allegro-dvt/allegro-core.c 	err = allegro_try_fmt_vid_out(file, fh, f);
file             2576 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_encoder_cmd(struct file *file, void *fh,
file             2582 drivers/staging/media/allegro-dvt/allegro-core.c 	err = v4l2_m2m_ioctl_try_encoder_cmd(file, fh, cmd);
file             2601 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_enum_framesizes(struct file *file, void *fh,
file             2626 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_ioctl_streamon(struct file *file, void *priv,
file             2629 drivers/staging/media/allegro-dvt/allegro-core.c 	struct v4l2_fh *fh = file->private_data;
file             2639 drivers/staging/media/allegro-dvt/allegro-core.c 	return v4l2_m2m_streamon(file, fh->m2m_ctx, type);
file              391 drivers/staging/media/hantro/hantro_drv.c static int hantro_open(struct file *filp)
file              454 drivers/staging/media/hantro/hantro_drv.c static int hantro_release(struct file *filp)
file               75 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_querycap(struct file *file, void *priv,
file               78 drivers/staging/media/hantro/hantro_v4l2.c 	struct hantro_dev *vpu = video_drvdata(file);
file               79 drivers/staging/media/hantro/hantro_v4l2.c 	struct video_device *vdev = video_devdata(file);
file               88 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_enum_framesizes(struct file *file, void *priv,
file              119 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_enum_fmt(struct file *file, void *priv,
file              156 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              159 drivers/staging/media/hantro/hantro_v4l2.c 	return vidioc_enum_fmt(file, priv, f, true);
file              162 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              165 drivers/staging/media/hantro/hantro_v4l2.c 	return vidioc_enum_fmt(file, priv, f, false);
file              168 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_g_fmt_out_mplane(struct file *file, void *priv,
file              181 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_g_fmt_cap_mplane(struct file *file, void *priv,
file              194 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_try_fmt(struct file *file, void *priv, struct v4l2_format *f,
file              264 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_try_fmt_cap_mplane(struct file *file, void *priv,
file              267 drivers/staging/media/hantro/hantro_v4l2.c 	return vidioc_try_fmt(file, priv, f, true);
file              270 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_try_fmt_out_mplane(struct file *file, void *priv,
file              273 drivers/staging/media/hantro/hantro_v4l2.c 	return vidioc_try_fmt(file, priv, f, false);
file              366 drivers/staging/media/hantro/hantro_v4l2.c vidioc_s_fmt_out_mplane(struct file *file, void *priv, struct v4l2_format *f)
file              375 drivers/staging/media/hantro/hantro_v4l2.c 	ret = vidioc_try_fmt_out_mplane(file, priv, f);
file              439 drivers/staging/media/hantro/hantro_v4l2.c static int vidioc_s_fmt_cap_mplane(struct file *file, void *priv,
file              471 drivers/staging/media/hantro/hantro_v4l2.c 	ret = vidioc_try_fmt_cap_mplane(file, priv, f);
file               69 drivers/staging/media/imx/imx-media-capture.c static int vidioc_querycap(struct file *file, void *fh,
file               72 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file               82 drivers/staging/media/imx/imx-media-capture.c static int capture_enum_framesizes(struct file *file, void *fh,
file               85 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              122 drivers/staging/media/imx/imx-media-capture.c static int capture_enum_frameintervals(struct file *file, void *fh,
file              125 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              153 drivers/staging/media/imx/imx-media-capture.c static int capture_enum_fmt_vid_cap(struct file *file, void *fh,
file              156 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              194 drivers/staging/media/imx/imx-media-capture.c static int capture_g_fmt_vid_cap(struct file *file, void *fh,
file              197 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              263 drivers/staging/media/imx/imx-media-capture.c static int capture_try_fmt_vid_cap(struct file *file, void *fh,
file              266 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              279 drivers/staging/media/imx/imx-media-capture.c static int capture_s_fmt_vid_cap(struct file *file, void *fh,
file              282 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              307 drivers/staging/media/imx/imx-media-capture.c static int capture_querystd(struct file *file, void *fh, v4l2_std_id *std)
file              309 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              314 drivers/staging/media/imx/imx-media-capture.c static int capture_g_std(struct file *file, void *fh, v4l2_std_id *std)
file              316 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              321 drivers/staging/media/imx/imx-media-capture.c static int capture_s_std(struct file *file, void *fh, v4l2_std_id std)
file              323 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              331 drivers/staging/media/imx/imx-media-capture.c static int capture_g_selection(struct file *file, void *fh,
file              334 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              361 drivers/staging/media/imx/imx-media-capture.c static int capture_g_parm(struct file *file, void *fh,
file              364 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              383 drivers/staging/media/imx/imx-media-capture.c static int capture_s_parm(struct file *file, void *fh,
file              386 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              633 drivers/staging/media/imx/imx-media-capture.c static int capture_open(struct file *file)
file              635 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              642 drivers/staging/media/imx/imx-media-capture.c 	ret = v4l2_fh_open(file);
file              648 drivers/staging/media/imx/imx-media-capture.c 		v4l2_fh_release(file);
file              654 drivers/staging/media/imx/imx-media-capture.c static int capture_release(struct file *file)
file              656 drivers/staging/media/imx/imx-media-capture.c 	struct capture_priv *priv = video_drvdata(file);
file              662 drivers/staging/media/imx/imx-media-capture.c 	if (file->private_data == vq->owner) {
file              669 drivers/staging/media/imx/imx-media-capture.c 	v4l2_fh_release(file);
file              150 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_querycap(struct file *file, void *priv,
file              161 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_enum_fmt(struct file *file, void *fh,
file              176 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_g_fmt(struct file *file, void *priv,
file              189 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_try_fmt(struct file *file, void *priv,
file              237 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_s_fmt(struct file *file, void *priv,
file              254 drivers/staging/media/imx/imx-media-csc-scaler.c 	ret = ipu_csc_scaler_try_fmt(file, priv, f);
file              293 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_g_selection(struct file *file, void *priv,
file              331 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_s_selection(struct file *file, void *priv,
file              749 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_open(struct file *file)
file              751 drivers/staging/media/imx/imx-media-csc-scaler.c 	struct ipu_csc_scaler_priv *priv = video_drvdata(file);
file              761 drivers/staging/media/imx/imx-media-csc-scaler.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              762 drivers/staging/media/imx/imx-media-csc-scaler.c 	file->private_data = &ctx->fh;
file              796 drivers/staging/media/imx/imx-media-csc-scaler.c static int ipu_csc_scaler_release(struct file *file)
file              798 drivers/staging/media/imx/imx-media-csc-scaler.c 	struct ipu_csc_scaler_priv *priv = video_drvdata(file);
file              799 drivers/staging/media/imx/imx-media-csc-scaler.c 	struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data);
file              584 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_querycap(struct file *file, void *fh,
file              587 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              616 drivers/staging/media/ipu3/ipu3-v4l2.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              625 drivers/staging/media/ipu3/ipu3-v4l2.c static int vidioc_enum_fmt_vid_out(struct file *file, void *priv,
file              635 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_g_fmt(struct file *file, void *fh,
file              638 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              751 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              771 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_try_fmt(struct file *file, void *fh,
file              774 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_device *imgu = video_drvdata(file);
file              776 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              783 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = imgu_try_fmt(file, fh, f);
file              790 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              792 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_device *imgu = video_drvdata(file);
file              794 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              801 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = imgu_try_fmt(file, fh, f);
file              819 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_meta_enum_format(struct file *file, void *fh,
file              822 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              835 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_g_meta_fmt(struct file *file, void *fh,
file              838 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_video_device *node = file_to_intel_imgu_node(file);
file              848 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_enum_input(struct file *file, void *fh,
file              859 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_g_input(struct file *file, void *fh, unsigned int *input)
file              866 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_s_input(struct file *file, void *fh, unsigned int input)
file              871 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_enum_output(struct file *file, void *fh,
file              882 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_g_output(struct file *file, void *fh,
file              890 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_s_output(struct file *file, void *fh,
file              438 drivers/staging/media/meson/vdec/vdec.c vdec_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              537 drivers/staging/media/meson/vdec/vdec.c static int vdec_try_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              540 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              547 drivers/staging/media/meson/vdec/vdec.c static int vdec_g_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              550 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              575 drivers/staging/media/meson/vdec/vdec.c static int vdec_s_fmt(struct file *file, void *fh, struct v4l2_format *f)
file              578 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              634 drivers/staging/media/meson/vdec/vdec.c static int vdec_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              637 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              663 drivers/staging/media/meson/vdec/vdec.c static int vdec_enum_framesizes(struct file *file, void *fh,
file              667 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              689 drivers/staging/media/meson/vdec/vdec.c vdec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd)
file              692 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              697 drivers/staging/media/meson/vdec/vdec.c 	ret = v4l2_m2m_ioctl_try_decoder_cmd(file, fh, cmd);
file              746 drivers/staging/media/meson/vdec/vdec.c static int vdec_g_pixelaspect(struct file *file, void *fh, int type,
file              750 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              848 drivers/staging/media/meson/vdec/vdec.c static int vdec_open(struct file *file)
file              850 drivers/staging/media/meson/vdec/vdec.c 	struct amvdec_core *core = video_drvdata(file);
file              898 drivers/staging/media/meson/vdec/vdec.c 	file->private_data = &sess->fh;
file              909 drivers/staging/media/meson/vdec/vdec.c static int vdec_close(struct file *file)
file              912 drivers/staging/media/meson/vdec/vdec.c 		container_of(file->private_data, struct amvdec_session, fh);
file              529 drivers/staging/media/omap4iss/iss_video.c iss_video_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file              531 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              543 drivers/staging/media/omap4iss/iss_video.c iss_video_enum_format(struct file *file, void *fh, struct v4l2_fmtdesc *f)
file              545 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              576 drivers/staging/media/omap4iss/iss_video.c iss_video_get_format(struct file *file, void *fh, struct v4l2_format *format)
file              579 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              592 drivers/staging/media/omap4iss/iss_video.c iss_video_set_format(struct file *file, void *fh, struct v4l2_format *format)
file              595 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              617 drivers/staging/media/omap4iss/iss_video.c iss_video_try_format(struct file *file, void *fh, struct v4l2_format *format)
file              619 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              645 drivers/staging/media/omap4iss/iss_video.c iss_video_get_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              647 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              703 drivers/staging/media/omap4iss/iss_video.c iss_video_set_selection(struct file *file, void *fh, struct v4l2_selection *sel)
file              705 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              743 drivers/staging/media/omap4iss/iss_video.c iss_video_get_param(struct file *file, void *fh, struct v4l2_streamparm *a)
file              746 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              761 drivers/staging/media/omap4iss/iss_video.c iss_video_set_param(struct file *file, void *fh, struct v4l2_streamparm *a)
file              764 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              779 drivers/staging/media/omap4iss/iss_video.c iss_video_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *rb)
file              787 drivers/staging/media/omap4iss/iss_video.c iss_video_querybuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              795 drivers/staging/media/omap4iss/iss_video.c iss_video_qbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              797 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              804 drivers/staging/media/omap4iss/iss_video.c iss_video_expbuf(struct file *file, void *fh, struct v4l2_exportbuffer *e)
file              812 drivers/staging/media/omap4iss/iss_video.c iss_video_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              816 drivers/staging/media/omap4iss/iss_video.c 	return vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK);
file              851 drivers/staging/media/omap4iss/iss_video.c iss_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file              854 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file              995 drivers/staging/media/omap4iss/iss_video.c iss_video_streamoff(struct file *file, void *fh, enum v4l2_buf_type type)
file              998 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file             1040 drivers/staging/media/omap4iss/iss_video.c iss_video_enum_input(struct file *file, void *fh, struct v4l2_input *input)
file             1052 drivers/staging/media/omap4iss/iss_video.c iss_video_g_input(struct file *file, void *fh, unsigned int *input)
file             1060 drivers/staging/media/omap4iss/iss_video.c iss_video_s_input(struct file *file, void *fh, unsigned int input)
file             1094 drivers/staging/media/omap4iss/iss_video.c static int iss_video_open(struct file *file)
file             1096 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file             1142 drivers/staging/media/omap4iss/iss_video.c 	file->private_data = &handle->vfh;
file             1154 drivers/staging/media/omap4iss/iss_video.c static int iss_video_release(struct file *file)
file             1156 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
file             1157 drivers/staging/media/omap4iss/iss_video.c 	struct v4l2_fh *vfh = file->private_data;
file             1161 drivers/staging/media/omap4iss/iss_video.c 	iss_video_streamoff(file, vfh, video->type);
file             1171 drivers/staging/media/omap4iss/iss_video.c 	file->private_data = NULL;
file             1178 drivers/staging/media/omap4iss/iss_video.c static __poll_t iss_video_poll(struct file *file, poll_table *wait)
file             1180 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video_fh *vfh = to_iss_video_fh(file->private_data);
file             1182 drivers/staging/media/omap4iss/iss_video.c 	return vb2_poll(&vfh->queue, file, wait);
file             1185 drivers/staging/media/omap4iss/iss_video.c static int iss_video_mmap(struct file *file, struct vm_area_struct *vma)
file             1187 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video_fh *vfh = to_iss_video_fh(file->private_data);
file              285 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_try_fmt_vid_cap(struct file *file, void *priv,
file              288 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              290 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              300 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_enum_input(struct file *file, void *priv,
file              303 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              316 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_g_input(struct file *file, void *priv, unsigned int *i)
file              323 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_s_input(struct file *file, void *priv, unsigned int i)
file              331 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_s_std(struct file *file, void *priv, v4l2_std_id a)
file              333 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              339 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_g_std(struct file *file, void *priv, v4l2_std_id *a)
file              341 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              347 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_enum_framesizes(struct file *file, void *fh,
file              350 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              356 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_reqbufs(struct file *file, void *priv,
file              360 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              362 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              364 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer && icd->streamer != file)
file              369 drivers/staging/media/soc_camera/soc_camera.c 		icd->streamer = p->count ? file : NULL;
file              373 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_querybuf(struct file *file, void *priv,
file              376 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              378 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              383 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_qbuf(struct file *file, void *priv,
file              386 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              388 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              390 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              396 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_dqbuf(struct file *file, void *priv,
file              399 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              401 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              403 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              406 drivers/staging/media/soc_camera/soc_camera.c 	return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK);
file              409 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_create_bufs(struct file *file, void *priv,
file              412 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              415 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer && icd->streamer != file)
file              420 drivers/staging/media/soc_camera/soc_camera.c 		icd->streamer = file;
file              424 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_prepare_buf(struct file *file, void *priv,
file              427 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              432 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_expbuf(struct file *file, void *priv,
file              435 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              437 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer && icd->streamer != file)
file              612 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_open(struct file *file)
file              614 drivers/staging/media/soc_camera/soc_camera.c 	struct video_device *vdev = video_devdata(file);
file              708 drivers/staging/media/soc_camera/soc_camera.c 	file->private_data = icd;
file              734 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_close(struct file *file)
file              736 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              740 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer == file) {
file              764 drivers/staging/media/soc_camera/soc_camera.c static ssize_t soc_camera_read(struct file *file, char __user *buf,
file              767 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              774 drivers/staging/media/soc_camera/soc_camera.c 				file->f_flags & O_NONBLOCK);
file              781 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_mmap(struct file *file, struct vm_area_struct *vma)
file              783 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              789 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              805 drivers/staging/media/soc_camera/soc_camera.c static __poll_t soc_camera_poll(struct file *file, poll_table *pt)
file              807 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              811 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              815 drivers/staging/media/soc_camera/soc_camera.c 	res = ici->ops->poll(file, pt);
file              830 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_s_fmt_vid_cap(struct file *file, void *priv,
file              833 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              836 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              843 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer && icd->streamer != file)
file              854 drivers/staging/media/soc_camera/soc_camera.c 		icd->streamer = file;
file              859 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_enum_fmt_vid_cap(struct file *file, void  *priv,
file              862 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              865 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              876 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_g_fmt_vid_cap(struct file *file, void *priv,
file              879 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              882 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              899 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_querycap(struct file *file, void  *priv,
file              902 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              905 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              911 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_streamon(struct file *file, void *priv,
file              914 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              918 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              923 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              934 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_streamoff(struct file *file, void *priv,
file              937 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              941 drivers/staging/media/soc_camera/soc_camera.c 	WARN_ON(priv != file->private_data);
file              946 drivers/staging/media/soc_camera/soc_camera.c 	if (icd->streamer != file)
file              960 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_g_selection(struct file *file, void *fh,
file              963 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              973 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_s_selection(struct file *file, void *fh,
file              976 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              997 drivers/staging/media/soc_camera/soc_camera.c 		if (icd->streamer && icd->streamer != file)
file             1012 drivers/staging/media/soc_camera/soc_camera.c 			icd->streamer = file;
file             1018 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_g_parm(struct file *file, void *fh,
file             1021 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file             1030 drivers/staging/media/soc_camera/soc_camera.c static int soc_camera_s_parm(struct file *file, void *fh,
file             1033 drivers/staging/media/soc_camera/soc_camera.c 	struct soc_camera_device *icd = file->private_data;
file              215 drivers/staging/media/sunxi/cedrus/cedrus.c static int cedrus_open(struct file *file)
file              217 drivers/staging/media/sunxi/cedrus/cedrus.c 	struct cedrus_dev *dev = video_drvdata(file);
file              230 drivers/staging/media/sunxi/cedrus/cedrus.c 	v4l2_fh_init(&ctx->fh, video_devdata(file));
file              231 drivers/staging/media/sunxi/cedrus/cedrus.c 	file->private_data = &ctx->fh;
file              260 drivers/staging/media/sunxi/cedrus/cedrus.c static int cedrus_release(struct file *file)
file              262 drivers/staging/media/sunxi/cedrus/cedrus.c 	struct cedrus_dev *dev = video_drvdata(file);
file              263 drivers/staging/media/sunxi/cedrus/cedrus.c 	struct cedrus_ctx *ctx = container_of(file->private_data,
file               57 drivers/staging/media/sunxi/cedrus/cedrus_video.c static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file)
file               59 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	return container_of(file->private_data, struct cedrus_ctx, fh);
file              151 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_querycap(struct file *file, void *priv,
file              162 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_enum_fmt(struct file *file, struct v4l2_fmtdesc *f,
file              165 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              200 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_enum_fmt_vid_cap(struct file *file, void *priv,
file              203 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	return cedrus_enum_fmt(file, f, CEDRUS_DECODE_DST);
file              206 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_enum_fmt_vid_out(struct file *file, void *priv,
file              209 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	return cedrus_enum_fmt(file, f, CEDRUS_DECODE_SRC);
file              212 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_g_fmt_vid_cap(struct file *file, void *priv,
file              215 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              230 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_g_fmt_vid_out(struct file *file, void *priv,
file              233 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              249 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_try_fmt_vid_cap(struct file *file, void *priv,
file              252 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              265 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_try_fmt_vid_out(struct file *file, void *priv,
file              268 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              285 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_s_fmt_vid_cap(struct file *file, void *priv,
file              288 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              297 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	ret = cedrus_try_fmt_vid_cap(file, priv, f);
file              308 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_s_fmt_vid_out(struct file *file, void *priv,
file              311 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	struct cedrus_ctx *ctx = cedrus_file2ctx(file);
file              319 drivers/staging/media/sunxi/cedrus/cedrus_video.c 	ret = cedrus_try_fmt_vid_out(file, priv, f);
file              871 drivers/staging/media/tegra-vde/vde.c static long tegra_vde_unlocked_ioctl(struct file *filp,
file              888 drivers/staging/media/tegra-vde/vde.c static int tegra_vde_release_file(struct inode *inode, struct file *filp)
file              120 drivers/staging/most/cdev/cdev.c static int comp_open(struct inode *inode, struct file *filp)
file              164 drivers/staging/most/cdev/cdev.c static int comp_close(struct inode *inode, struct file *filp)
file              189 drivers/staging/most/cdev/cdev.c static ssize_t comp_write(struct file *filp, const char __user *buf,
file              244 drivers/staging/most/cdev/cdev.c comp_read(struct file *filp, char __user *buf, size_t count, loff_t *offset)
file              288 drivers/staging/most/cdev/cdev.c static __poll_t comp_poll(struct file *filp, poll_table *wait)
file               69 drivers/staging/most/video/video.c static int comp_vdev_open(struct file *filp)
file              117 drivers/staging/most/video/video.c static int comp_vdev_close(struct file *filp)
file              152 drivers/staging/most/video/video.c static ssize_t comp_vdev_read(struct file *filp, char __user *buf,
file              202 drivers/staging/most/video/video.c static __poll_t comp_vdev_poll(struct file *filp, poll_table *wait)
file              243 drivers/staging/most/video/video.c static int vidioc_querycap(struct file *file, void *priv,
file              256 drivers/staging/most/video/video.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              270 drivers/staging/most/video/video.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              277 drivers/staging/most/video/video.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              286 drivers/staging/most/video/video.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file              295 drivers/staging/most/video/video.c static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
file              301 drivers/staging/most/video/video.c static int vidioc_enum_input(struct file *file, void *priv,
file              319 drivers/staging/most/video/video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              327 drivers/staging/most/video/video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int index)
file              763 drivers/staging/pi433/pi433_if.c pi433_read(struct file *filp, char __user *buf, size_t size, loff_t *f_pos)
file              808 drivers/staging/pi433/pi433_if.c pi433_write(struct file *filp, const char __user *buf,
file              872 drivers/staging/pi433/pi433_if.c pi433_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              933 drivers/staging/pi433/pi433_if.c pi433_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              943 drivers/staging/pi433/pi433_if.c static int pi433_open(struct inode *inode, struct file *filp)
file              972 drivers/staging/pi433/pi433_if.c static int pi433_release(struct inode *inode, struct file *filp)
file               32 drivers/staging/rtl8188eu/core/rtw_debug.c int proc_set_write_reg(struct file *file, const char __user *buffer,
file              106 drivers/staging/rtl8188eu/core/rtw_debug.c int proc_set_read_reg(struct file *file, const char __user *buffer,
file              115 drivers/staging/rtl8188eu/include/rtw_debug.h int proc_set_write_reg(struct file *file, const char __user *buffer,
file              121 drivers/staging/rtl8188eu/include/rtw_debug.h int proc_set_read_reg(struct file *file, const char __user *buffer,
file              250 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c static ssize_t write_debug_level(struct file *file, const char __user *buffer,
file              262 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c static int open_debug_level(struct inode *inode, struct file *file)
file              264 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c 	return single_open(file, show_debug_level, NULL);
file               76 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int openFile(struct file **fpp, char *path, int flag, int mode)
file               78 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
file               96 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int closeFile(struct file *fp)
file              102 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int readFile(struct file *fp, char *buf, int len)
file              130 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
file              155 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
file               17 drivers/staging/speakup/devsynth.c static ssize_t speakup_file_write(struct file *fp, const char __user *buffer,
file               41 drivers/staging/speakup/devsynth.c static ssize_t speakup_file_read(struct file *fp, char __user *buf,
file               47 drivers/staging/speakup/devsynth.c static int speakup_file_open(struct inode *ip, struct file *fp)
file               56 drivers/staging/speakup/devsynth.c static int speakup_file_release(struct inode *ip, struct file *fp)
file              169 drivers/staging/speakup/speakup_soft.c static int softsynth_open(struct inode *inode, struct file *fp)
file              184 drivers/staging/speakup/speakup_soft.c static int softsynth_close(struct inode *inode, struct file *fp)
file              197 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthx_read(struct file *fp, char __user *buf, size_t count,
file              302 drivers/staging/speakup/speakup_soft.c static ssize_t softsynth_read(struct file *fp, char __user *buf, size_t count,
file              308 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthu_read(struct file *fp, char __user *buf, size_t count,
file              316 drivers/staging/speakup/speakup_soft.c static ssize_t softsynth_write(struct file *fp, const char __user *buf,
file              331 drivers/staging/speakup/speakup_soft.c static __poll_t softsynth_poll(struct file *fp, struct poll_table_struct *wait)
file              318 drivers/staging/unisys/visornic/visornic_main.c static ssize_t enable_ints_write(struct file *file,
file             1425 drivers/staging/unisys/visornic/visornic_main.c static ssize_t info_debugfs_read(struct file *file, char __user *buf,
file              147 drivers/staging/uwb/uwb-debug.c static ssize_t command_write(struct file *file, const char __user *buf,
file              150 drivers/staging/uwb/uwb-debug.c 	struct uwb_rc *rc = file->private_data;
file              684 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_enum_fmt_vid_overlay(struct file *file, void *priv,
file              699 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_g_fmt_vid_overlay(struct file *file, void *priv,
file              702 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              709 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_try_fmt_vid_overlay(struct file *file, void *priv,
file              712 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              740 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_s_fmt_vid_overlay(struct file *file, void *priv,
file              743 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              745 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	vidioc_try_fmt_vid_overlay(file, priv, f);
file              756 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_overlay(struct file *file, void *f, unsigned int on)
file              759 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              815 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_g_fbuf(struct file *file, void *fh,
file              821 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              840 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_enum_input(struct file *file, void *priv,
file              852 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
file              858 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
file              867 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_querycap(struct file *file, void *priv,
file              870 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              885 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
file              900 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
file              903 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              925 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
file              928 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file             1272 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
file             1276 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file             1280 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	ret = vidioc_try_fmt_vid_cap(file, priv, f);
file             1316 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_enum_framesizes(struct file *file, void *fh,
file             1319 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file             1341 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_enum_frameintervals(struct file *file, void *priv,
file             1344 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file             1371 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_g_parm(struct file *file, void *priv,
file             1374 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file             1385 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_s_parm(struct file *file, void *priv,
file             1388 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct bm2835_mmal_dev *dev = video_drvdata(file);
file              805 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              807 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	VCHIQ_INSTANCE_T instance = file->private_data;
file             1495 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct file *file,
file             1525 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	ret = vchiq_ioctl(file, VCHIQ_IOC_CREATE_SERVICE, (unsigned long)args);
file             1556 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl_queue_message(struct file *file,
file             1606 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	return vchiq_ioctl(file, VCHIQ_IOC_QUEUE_MESSAGE, (unsigned long)args);
file             1623 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl_queue_bulk(struct file *file,
file             1652 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	ret = vchiq_ioctl(file, cmd, (unsigned long)args);
file             1687 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl_await_completion(struct file *file,
file             1726 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_ioctl(file,
file             1772 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	ret = vchiq_ioctl(file,
file             1837 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl_dequeue_message(struct file *file,
file             1859 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	return vchiq_ioctl(file, VCHIQ_IOC_DEQUEUE_MESSAGE,
file             1872 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl_get_config(struct file *file,
file             1892 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	return vchiq_ioctl(file, VCHIQ_IOC_GET_CONFIG, (unsigned long)args);
file             1896 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1900 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_create_service(file, cmd, arg);
file             1902 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_queue_message(file, cmd, arg);
file             1905 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_queue_bulk(file, cmd, arg);
file             1907 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_await_completion(file, cmd, arg);
file             1909 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_dequeue_message(file, cmd, arg);
file             1911 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_compat_ioctl_get_config(file, cmd, arg);
file             1913 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		return vchiq_ioctl(file, cmd, arg);
file             1919 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c static int vchiq_open(struct inode *inode, struct file *file)
file             1947 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	file->private_data = instance;
file             1952 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c static int vchiq_release(struct inode *inode, struct file *file)
file             1954 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	VCHIQ_INSTANCE_T instance = file->private_data;
file             2063 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	file->private_data = NULL;
file             2205 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_read(struct file *file, char __user *buf,
file               72 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static int debugfs_log_open(struct inode *inode, struct file *file)
file               74 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	return single_open(file, debugfs_log_show, inode->i_private);
file               77 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static ssize_t debugfs_log_write(struct file *file,
file               81 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	struct seq_file *f = (struct seq_file *)file->private_data;
file              141 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static int debugfs_trace_open(struct inode *inode, struct file *file)
file              143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	return single_open(file, debugfs_trace_show, inode->i_private);
file              146 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static ssize_t debugfs_trace_write(struct file *file,
file              150 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	struct seq_file *f = (struct seq_file *)file->private_data;
file              175 drivers/staging/vme/devices/vme_user.c static ssize_t vme_user_read(struct file *file, char __user *buf, size_t count,
file              178 drivers/staging/vme/devices/vme_user.c 	unsigned int minor = MINOR(file_inode(file)->i_rdev);
file              218 drivers/staging/vme/devices/vme_user.c static ssize_t vme_user_write(struct file *file, const char __user *buf,
file              221 drivers/staging/vme/devices/vme_user.c 	unsigned int minor = MINOR(file_inode(file)->i_rdev);
file              261 drivers/staging/vme/devices/vme_user.c static loff_t vme_user_llseek(struct file *file, loff_t off, int whence)
file              263 drivers/staging/vme/devices/vme_user.c 	unsigned int minor = MINOR(file_inode(file)->i_rdev);
file              272 drivers/staging/vme/devices/vme_user.c 		res = fixed_size_llseek(file, off, whence, image_size);
file              290 drivers/staging/vme/devices/vme_user.c static int vme_user_ioctl(struct inode *inode, struct file *file,
file              411 drivers/staging/vme/devices/vme_user.c vme_user_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              414 drivers/staging/vme/devices/vme_user.c 	struct inode *inode = file_inode(file);
file              418 drivers/staging/vme/devices/vme_user.c 	ret = vme_user_ioctl(inode, file, cmd, arg);
file              482 drivers/staging/vme/devices/vme_user.c static int vme_user_mmap(struct file *file, struct vm_area_struct *vma)
file              484 drivers/staging/vme/devices/vme_user.c 	unsigned int minor = MINOR(file_inode(file)->i_rdev);
file              885 drivers/target/target_core_alua.c 	struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600);
file              889 drivers/target/target_core_alua.c 	if (IS_ERR(file)) {
file              893 drivers/target/target_core_alua.c 	ret = kernel_write(file, md_buf, md_buf_len, &pos);
file              896 drivers/target/target_core_alua.c 	fput(file);
file              107 drivers/target/target_core_configfs.c 	struct file *fp;
file             3438 drivers/target/target_core_configfs.c 	struct file *fp;
file               92 drivers/target/target_core_file.c 	struct file *file;
file              121 drivers/target/target_core_file.c 	file = filp_open(fd_dev->fd_dev_name, flags, 0600);
file              122 drivers/target/target_core_file.c 	if (IS_ERR(file)) {
file              124 drivers/target/target_core_file.c 		ret = PTR_ERR(file);
file              127 drivers/target/target_core_file.c 	fd_dev->fd_file = file;
file              134 drivers/target/target_core_file.c 	inode = file->f_mapping->host;
file              144 drivers/target/target_core_file.c 		dev_size = (i_size_read(file->f_mapping->host) -
file              267 drivers/target/target_core_file.c 	struct file *file = fd_dev->fd_file;
file              298 drivers/target/target_core_file.c 	aio_cmd->iocb.ki_filp = file;
file              306 drivers/target/target_core_file.c 		ret = call_write_iter(file, &aio_cmd->iocb, &iter);
file              308 drivers/target/target_core_file.c 		ret = call_read_iter(file, &aio_cmd->iocb, &iter);
file              318 drivers/target/target_core_file.c static int fd_do_rw(struct se_cmd *cmd, struct file *fd,
file              498 drivers/target/target_core_file.c 	struct file *prot_fd = fd_dev->fd_prot_file;
file              546 drivers/target/target_core_file.c 	struct file *file = FD_DEV(cmd->se_dev)->fd_file;
file              547 drivers/target/target_core_file.c 	struct inode *inode = file->f_mapping->host;
file              581 drivers/target/target_core_file.c 		if (!file->f_op->fallocate)
file              584 drivers/target/target_core_file.c 		ret = file->f_op->fallocate(file, mode, pos, len);
file              600 drivers/target/target_core_file.c 	struct file *file = fd_dev->fd_file;
file              601 drivers/target/target_core_file.c 	struct file *pfile = fd_dev->fd_prot_file;
file              617 drivers/target/target_core_file.c 		ret = fd_do_rw(cmd, file, dev->dev_attrib.block_size,
file              642 drivers/target/target_core_file.c 		ret = fd_do_rw(cmd, file, dev->dev_attrib.block_size,
file              818 drivers/target/target_core_file.c 	struct file *f = fd_dev->fd_file;
file              838 drivers/target/target_core_file.c 	struct file *prot_file, *file = fd_dev->fd_file;
file              843 drivers/target/target_core_file.c 	if (!file) {
file              848 drivers/target/target_core_file.c 	inode = file->f_mapping->host;
file               40 drivers/target/target_core_file.h 	struct file	*fd_file;
file               41 drivers/target/target_core_file.h 	struct file	*fd_prot_file;
file             1967 drivers/target/target_core_pr.c 	struct file *file;
file             1979 drivers/target/target_core_pr.c 	file = filp_open(path, flags, 0600);
file             1980 drivers/target/target_core_pr.c 	if (IS_ERR(file)) {
file             1984 drivers/target/target_core_pr.c 		return PTR_ERR(file);
file             1989 drivers/target/target_core_pr.c 	ret = kernel_write(file, buf, pr_aptpl_buf_len, &pos);
file             1993 drivers/target/target_core_pr.c 	fput(file);
file               91 drivers/tee/tee_core.c static int tee_open(struct inode *inode, struct file *filp)
file              108 drivers/tee/tee_core.c static int tee_release(struct inode *inode, struct file *filp)
file              644 drivers/tee/tee_core.c static long tee_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               29 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c static int acpi_thermal_rel_open(struct inode *inode, struct file *file)
file               33 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	    (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) {
file               38 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	if (file->f_flags & O_EXCL)
file               44 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	return nonseekable_open(inode, file);
file               47 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c static int acpi_thermal_rel_release(struct inode *inode, struct file *file)
file              299 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c static long acpi_thermal_rel_ioctl(struct file *f, unsigned int cmd,
file             1331 drivers/tty/amiserial.c static void rs_close(struct tty_struct *tty, struct file * filp)
file             1460 drivers/tty/amiserial.c static int rs_open(struct tty_struct *tty, struct file * filp)
file             1492 drivers/tty/cyclades.c static int cy_open(struct tty_struct *tty, struct file *filp)
file             1743 drivers/tty/cyclades.c static void cy_close(struct tty_struct *tty, struct file *filp)
file              509 drivers/tty/ehv_bytechan.c static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp)
file              524 drivers/tty/ehv_bytechan.c static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp)
file              173 drivers/tty/goldfish.c static int goldfish_tty_open(struct tty_struct *tty, struct file *filp)
file              179 drivers/tty/goldfish.c static void goldfish_tty_close(struct tty_struct *tty, struct file *filp)
file              347 drivers/tty/hvc/hvc_console.c static int hvc_open(struct tty_struct *tty, struct file * filp)
file              389 drivers/tty/hvc/hvc_console.c static void hvc_close(struct tty_struct *tty, struct file * filp)
file              316 drivers/tty/hvc/hvcs.c static int hvcs_open(struct tty_struct *tty, struct file *filp);
file              317 drivers/tty/hvc/hvcs.c static void hvcs_close(struct tty_struct *tty, struct file *filp);
file             1163 drivers/tty/hvc/hvcs.c static int hvcs_open(struct tty_struct *tty, struct file *filp)
file             1181 drivers/tty/hvc/hvcs.c static void hvcs_close(struct tty_struct *tty, struct file *filp)
file              699 drivers/tty/hvc/hvsi.c static int hvsi_open(struct tty_struct *tty, struct file *filp)
file              762 drivers/tty/hvc/hvsi.c static void hvsi_close(struct tty_struct *tty, struct file *filp)
file               89 drivers/tty/ipwireless/tty.c static int ipw_open(struct tty_struct *linux_tty, struct file *filp)
file              149 drivers/tty/ipwireless/tty.c static void ipw_close(struct tty_struct *linux_tty, struct file *filp)
file              854 drivers/tty/isicom.c static int isicom_open(struct tty_struct *tty, struct file *filp)
file              917 drivers/tty/isicom.c static void isicom_close(struct tty_struct *tty, struct file *filp)
file              769 drivers/tty/mips_ejtag_fdc.c static int mips_ejtag_fdc_tty_open(struct tty_struct *tty, struct file *filp)
file              774 drivers/tty/mips_ejtag_fdc.c static void mips_ejtag_fdc_tty_close(struct tty_struct *tty, struct file *filp)
file              188 drivers/tty/moxa.c static int moxa_open(struct tty_struct *, struct file *);
file              189 drivers/tty/moxa.c static void moxa_close(struct tty_struct *, struct file *);
file              823 drivers/tty/moxa.c 	const char *file;
file              846 drivers/tty/moxa.c 		file = "c218tunx.cod";
file              849 drivers/tty/moxa.c 		file = "cp204unx.cod";
file              852 drivers/tty/moxa.c 		file = "c320tunx.cod";
file              856 drivers/tty/moxa.c 	ret = request_firmware(&fw, file, dev);
file              861 drivers/tty/moxa.c 				file);
file             1155 drivers/tty/moxa.c static int moxa_open(struct tty_struct *tty, struct file *filp)
file             1197 drivers/tty/moxa.c static void moxa_close(struct tty_struct *tty, struct file *filp)
file             1001 drivers/tty/mxser.c static int mxser_open(struct tty_struct *tty, struct file *filp)
file             1072 drivers/tty/mxser.c static void mxser_close(struct tty_struct *tty, struct file *filp)
file             2550 drivers/tty/n_gsm.c static ssize_t gsmld_read(struct tty_struct *tty, struct file *file,
file             2570 drivers/tty/n_gsm.c static ssize_t gsmld_write(struct tty_struct *tty, struct file *file,
file             2594 drivers/tty/n_gsm.c static __poll_t gsmld_poll(struct tty_struct *tty, struct file *file,
file             2600 drivers/tty/n_gsm.c 	poll_wait(file, &tty->read_wait, wait);
file             2601 drivers/tty/n_gsm.c 	poll_wait(file, &tty->write_wait, wait);
file             2602 drivers/tty/n_gsm.c 	if (tty_hung_up_p(file))
file             2611 drivers/tty/n_gsm.c static int gsmld_ioctl(struct tty_struct *tty, struct file *file,
file             2632 drivers/tty/n_gsm.c 		return n_tty_ioctl_helper(tty, file, cmd, arg);
file             2977 drivers/tty/n_gsm.c static int gsmtty_open(struct tty_struct *tty, struct file *filp)
file             2995 drivers/tty/n_gsm.c static void gsmtty_close(struct tty_struct *tty, struct file *filp)
file              177 drivers/tty/n_hdlc.c static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file,
file              179 drivers/tty/n_hdlc.c static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file,
file              181 drivers/tty/n_hdlc.c static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file,
file              183 drivers/tty/n_hdlc.c static __poll_t n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp,
file              560 drivers/tty/n_hdlc.c static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file,
file              589 drivers/tty/n_hdlc.c 		if (tty_hung_up_p(file))
file              616 drivers/tty/n_hdlc.c 		if (tty_io_nonblock(tty, file)) {
file              645 drivers/tty/n_hdlc.c static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file,
file              683 drivers/tty/n_hdlc.c 		if (tty_io_nonblock(tty, file)) {
file              729 drivers/tty/n_hdlc.c static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file,
file              783 drivers/tty/n_hdlc.c 		error = n_tty_ioctl_helper(tty, file, cmd, arg);
file              800 drivers/tty/n_hdlc.c static __poll_t n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp,
file               22 drivers/tty/n_null.c static ssize_t n_null_read(struct tty_struct *tty, struct file *file,
file               28 drivers/tty/n_null.c static ssize_t n_null_write(struct tty_struct *tty, struct file *file,
file              131 drivers/tty/n_r3964.c static ssize_t r3964_read(struct tty_struct *tty, struct file *file,
file              133 drivers/tty/n_r3964.c static ssize_t r3964_write(struct tty_struct *tty, struct file *file,
file              135 drivers/tty/n_r3964.c static int r3964_ioctl(struct tty_struct *tty, struct file *file,
file              138 drivers/tty/n_r3964.c static int r3964_compat_ioctl(struct tty_struct *tty, struct file *file,
file              142 drivers/tty/n_r3964.c static __poll_t r3964_poll(struct tty_struct *tty, struct file *file,
file             1061 drivers/tty/n_r3964.c static ssize_t r3964_read(struct tty_struct *tty, struct file *file,
file             1075 drivers/tty/n_r3964.c 	if (file->f_flags & O_NONBLOCK) {
file             1088 drivers/tty/n_r3964.c 			if (tty_io_nonblock(tty, file)) {
file             1127 drivers/tty/n_r3964.c static ssize_t r3964_write(struct tty_struct *tty, struct file *file,
file             1192 drivers/tty/n_r3964.c static int r3964_ioctl(struct tty_struct *tty, struct file *file,
file             1221 drivers/tty/n_r3964.c static int r3964_compat_ioctl(struct tty_struct *tty, struct file *file,
file             1228 drivers/tty/n_r3964.c 		return r3964_ioctl(tty, file, cmd, arg);
file             1241 drivers/tty/n_r3964.c static __poll_t r3964_poll(struct tty_struct *tty, struct file *file,
file             1254 drivers/tty/n_r3964.c 		poll_wait(file, &tty->read_wait, wait);
file              120 drivers/tty/n_tracerouter.c static ssize_t n_tracerouter_read(struct tty_struct *tty, struct file *file,
file              144 drivers/tty/n_tracerouter.c static ssize_t n_tracerouter_write(struct tty_struct *tty, struct file *file,
file              117 drivers/tty/n_tracesink.c static ssize_t n_tracesink_read(struct tty_struct *tty, struct file *file,
file              141 drivers/tty/n_tracesink.c static ssize_t n_tracesink_write(struct tty_struct *tty, struct file *file,
file             2082 drivers/tty/n_tty.c extern ssize_t redirected_tty_write(struct file *, const char __user *,
file             2099 drivers/tty/n_tty.c static int job_control(struct tty_struct *tty, struct file *file)
file             2106 drivers/tty/n_tty.c 	if (file->f_op->write == redirected_tty_write)
file             2132 drivers/tty/n_tty.c static ssize_t n_tty_read(struct tty_struct *tty, struct file *file,
file             2145 drivers/tty/n_tty.c 	c = job_control(tty, file);
file             2152 drivers/tty/n_tty.c 	if (file->f_flags & O_NONBLOCK) {
file             2206 drivers/tty/n_tty.c 				if (tty_hung_up_p(file))
file             2216 drivers/tty/n_tty.c 				if (tty_io_nonblock(tty, file)) {
file             2301 drivers/tty/n_tty.c static ssize_t n_tty_write(struct tty_struct *tty, struct file *file,
file             2310 drivers/tty/n_tty.c 	if (L_TOSTOP(tty) && file->f_op->write != redirected_tty_write) {
file             2327 drivers/tty/n_tty.c 		if (tty_hung_up_p(file) || (tty->link && !tty->link->count)) {
file             2370 drivers/tty/n_tty.c 		if (tty_io_nonblock(tty, file)) {
file             2402 drivers/tty/n_tty.c static __poll_t n_tty_poll(struct tty_struct *tty, struct file *file,
file             2407 drivers/tty/n_tty.c 	poll_wait(file, &tty->read_wait, wait);
file             2408 drivers/tty/n_tty.c 	poll_wait(file, &tty->write_wait, wait);
file             2420 drivers/tty/n_tty.c 	if (tty_hung_up_p(file))
file             2448 drivers/tty/n_tty.c static int n_tty_ioctl(struct tty_struct *tty, struct file *file,
file             2466 drivers/tty/n_tty.c 		return n_tty_ioctl_helper(tty, file, cmd, arg);
file             1580 drivers/tty/nozomi.c static int ntty_open(struct tty_struct *tty, struct file *filp)
file             1601 drivers/tty/nozomi.c static void ntty_close(struct tty_struct *tty, struct file *filp)
file               46 drivers/tty/pty.c static void pty_close(struct tty_struct *tty, struct file *filp)
file              240 drivers/tty/pty.c static int pty_open(struct tty_struct *tty, struct file *filp)
file              623 drivers/tty/pty.c int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags)
file              626 drivers/tty/pty.c 	struct file *filp;
file              709 drivers/tty/pty.c 		struct file *file, int idx)
file              725 drivers/tty/pty.c 		struct file *file, int idx)
file              730 drivers/tty/pty.c 	tty = devpts_get_priv(file->f_path.dentry);
file              811 drivers/tty/pty.c static int ptmx_open(struct inode *inode, struct file *filp)
file              871 drivers/tty/rocket.c static int rp_open(struct tty_struct *tty, struct file *filp)
file              962 drivers/tty/rocket.c static void rp_close(struct tty_struct *tty, struct file *filp)
file              340 drivers/tty/serial/ifx6x60.c static int ifx_spi_open(struct tty_struct *tty, struct file *filp)
file              353 drivers/tty/serial/ifx6x60.c static void ifx_spi_close(struct tty_struct *tty, struct file *filp)
file              270 drivers/tty/serial/kgdb_nmi.c static int kgdb_nmi_tty_open(struct tty_struct *tty, struct file *file)
file              273 drivers/tty/serial/kgdb_nmi.c 	unsigned int mode = file->f_flags & O_ACCMODE;
file              276 drivers/tty/serial/kgdb_nmi.c 	ret = tty_port_open(&priv->port, tty, file);
file              283 drivers/tty/serial/kgdb_nmi.c static void kgdb_nmi_tty_close(struct tty_struct *tty, struct file *file)
file              286 drivers/tty/serial/kgdb_nmi.c 	unsigned int mode = file->f_flags & O_ACCMODE;
file              291 drivers/tty/serial/kgdb_nmi.c 	tty_port_close(&priv->port, tty, file);
file              303 drivers/tty/serial/pch_uart.c static ssize_t port_show_regs(struct file *file, char __user *user_buf,
file              306 drivers/tty/serial/pch_uart.c 	struct eg20t_port *priv = file->private_data;
file             1538 drivers/tty/serial/serial_core.c static void uart_close(struct tty_struct *tty, struct file *filp)
file             1769 drivers/tty/serial/serial_core.c static int uart_open(struct tty_struct *tty, struct file *filp)
file             3067 drivers/tty/synclink.c static void mgsl_close(struct tty_struct *tty, struct file * filp)
file             3247 drivers/tty/synclink.c static int block_til_ready(struct tty_struct *tty, struct file * filp,
file             3371 drivers/tty/synclink.c static int mgsl_open(struct tty_struct *tty, struct file * filp)
file              140 drivers/tty/synclink_gt.c static int  open(struct tty_struct *tty, struct file * filp);
file              141 drivers/tty/synclink_gt.c static void close(struct tty_struct *tty, struct file * filp);
file              441 drivers/tty/synclink_gt.c static int  block_til_ready(struct tty_struct *tty, struct file * filp,struct slgt_info *info);
file              647 drivers/tty/synclink_gt.c static int open(struct tty_struct *tty, struct file *filp)
file              716 drivers/tty/synclink_gt.c static void close(struct tty_struct *tty, struct file *filp)
file             3229 drivers/tty/synclink_gt.c static int block_til_ready(struct tty_struct *tty, struct file *filp,
file              506 drivers/tty/synclinkmp.c static int  open(struct tty_struct *tty, struct file * filp);
file              507 drivers/tty/synclinkmp.c static void close(struct tty_struct *tty, struct file * filp);
file              558 drivers/tty/synclinkmp.c static int  block_til_ready(struct tty_struct *tty, struct file * filp,SLMP_INFO *info);
file              743 drivers/tty/synclinkmp.c static int open(struct tty_struct *tty, struct file *filp)
file              800 drivers/tty/synclinkmp.c static void close(struct tty_struct *tty, struct file *filp)
file             3252 drivers/tty/synclinkmp.c static int block_til_ready(struct tty_struct *tty, struct file *filp,
file             1097 drivers/tty/sysrq.c static ssize_t write_sysrq_trigger(struct file *file, const char __user *buf,
file              144 drivers/tty/tty_io.c static ssize_t tty_read(struct file *, char __user *, size_t, loff_t *);
file              145 drivers/tty/tty_io.c static ssize_t tty_write(struct file *, const char __user *, size_t, loff_t *);
file              146 drivers/tty/tty_io.c ssize_t redirected_tty_write(struct file *, const char __user *,
file              148 drivers/tty/tty_io.c static __poll_t tty_poll(struct file *, poll_table *);
file              149 drivers/tty/tty_io.c static int tty_open(struct inode *, struct file *);
file              150 drivers/tty/tty_io.c long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              152 drivers/tty/tty_io.c static long tty_compat_ioctl(struct file *file, unsigned int cmd,
file              157 drivers/tty/tty_io.c static int __tty_fasync(int fd, struct file *filp, int on);
file              158 drivers/tty/tty_io.c static int tty_fasync(int fd, struct file *filp, int on);
file              179 drivers/tty/tty_io.c static inline struct tty_struct *file_tty(struct file *file)
file              181 drivers/tty/tty_io.c 	return ((struct tty_file_private *)file->private_data)->tty;
file              184 drivers/tty/tty_io.c int tty_alloc_file(struct file *file)
file              192 drivers/tty/tty_io.c 	file->private_data = priv;
file              198 drivers/tty/tty_io.c void tty_add_file(struct tty_struct *tty, struct file *file)
file              200 drivers/tty/tty_io.c 	struct tty_file_private *priv = file->private_data;
file              203 drivers/tty/tty_io.c 	priv->file = file;
file              216 drivers/tty/tty_io.c void tty_free_file(struct file *file)
file              218 drivers/tty/tty_io.c 	struct tty_file_private *priv = file->private_data;
file              220 drivers/tty/tty_io.c 	file->private_data = NULL;
file              225 drivers/tty/tty_io.c static void tty_del_file(struct file *file)
file              227 drivers/tty/tty_io.c 	struct tty_file_private *priv = file->private_data;
file              233 drivers/tty/tty_io.c 	tty_free_file(file);
file              434 drivers/tty/tty_io.c static ssize_t hung_up_tty_read(struct file *file, char __user *buf,
file              440 drivers/tty/tty_io.c static ssize_t hung_up_tty_write(struct file *file, const char __user *buf,
file              447 drivers/tty/tty_io.c static __poll_t hung_up_tty_poll(struct file *filp, poll_table *wait)
file              452 drivers/tty/tty_io.c static long hung_up_tty_ioctl(struct file *file, unsigned int cmd,
file              458 drivers/tty/tty_io.c static long hung_up_tty_compat_ioctl(struct file *file,
file              464 drivers/tty/tty_io.c static int hung_up_tty_fasync(int fd, struct file *file, int on)
file              469 drivers/tty/tty_io.c static void tty_show_fdinfo(struct seq_file *m, struct file *file)
file              471 drivers/tty/tty_io.c 	struct tty_struct *tty = file_tty(file);
file              514 drivers/tty/tty_io.c static struct file *redirect;
file              568 drivers/tty/tty_io.c 	struct file *cons_filp = NULL;
file              569 drivers/tty/tty_io.c 	struct file *filp, *f = NULL;
file              608 drivers/tty/tty_io.c 		filp = priv->file;
file              745 drivers/tty/tty_io.c int tty_hung_up_p(struct file *filp)
file              849 drivers/tty/tty_io.c static ssize_t tty_read(struct file *file, char __user *buf, size_t count,
file              853 drivers/tty/tty_io.c 	struct inode *inode = file_inode(file);
file              854 drivers/tty/tty_io.c 	struct tty_struct *tty = file_tty(file);
file              866 drivers/tty/tty_io.c 		return hung_up_tty_read(file, buf, count, ppos);
file              868 drivers/tty/tty_io.c 		i = ld->ops->read(tty, file, buf, count);
file              901 drivers/tty/tty_io.c 	ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t),
file              903 drivers/tty/tty_io.c 	struct file *file,
file              910 drivers/tty/tty_io.c 	ret = tty_write_lock(tty, file->f_flags & O_NDELAY);
file              961 drivers/tty/tty_io.c 		ret = write(tty, file, tty->write_buf, size);
file              975 drivers/tty/tty_io.c 		tty_update_time(&file_inode(file)->i_mtime);
file             1025 drivers/tty/tty_io.c static ssize_t tty_write(struct file *file, const char __user *buf,
file             1028 drivers/tty/tty_io.c 	struct tty_struct *tty = file_tty(file);
file             1032 drivers/tty/tty_io.c 	if (tty_paranoia_check(tty, file_inode(file), "tty_write"))
file             1041 drivers/tty/tty_io.c 		return hung_up_tty_write(file, buf, count, ppos);
file             1045 drivers/tty/tty_io.c 		ret = do_tty_write(ld->ops->write, tty, file, buf, count);
file             1050 drivers/tty/tty_io.c ssize_t redirected_tty_write(struct file *file, const char __user *buf,
file             1053 drivers/tty/tty_io.c 	struct file *p = NULL;
file             1066 drivers/tty/tty_io.c 	return tty_write(file, buf, count, ppos);
file             1155 drivers/tty/tty_io.c 		struct file *file, int idx)
file             1160 drivers/tty/tty_io.c 		if (!file)
file             1163 drivers/tty/tty_io.c 			tty = driver->ops->lookup(driver, file, idx);
file             1649 drivers/tty/tty_io.c int tty_release(struct inode *inode, struct file *filp)
file             1800 drivers/tty/tty_io.c static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp)
file             1837 drivers/tty/tty_io.c static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp,
file             1941 drivers/tty/tty_io.c 					     struct file *filp)
file             2016 drivers/tty/tty_io.c static int tty_open(struct inode *inode, struct file *filp)
file             2100 drivers/tty/tty_io.c static __poll_t tty_poll(struct file *filp, poll_table *wait)
file             2118 drivers/tty/tty_io.c static int __tty_fasync(int fd, struct file *filp, int on)
file             2153 drivers/tty/tty_io.c static int tty_fasync(int fd, struct file *filp, int on)
file             2292 drivers/tty/tty_io.c static int tioccons(struct file *file)
file             2296 drivers/tty/tty_io.c 	if (file->f_op->write == redirected_tty_write) {
file             2297 drivers/tty/tty_io.c 		struct file *f;
file             2311 drivers/tty/tty_io.c 	redirect = get_file(file);
file             2535 drivers/tty/tty_io.c long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2537 drivers/tty/tty_io.c 	struct tty_struct *tty = file_tty(file);
file             2543 drivers/tty/tty_io.c 	if (tty_paranoia_check(tty, file_inode(file), "tty_ioctl"))
file             2579 drivers/tty/tty_io.c 		return real_tty != tty ? -EINVAL : tioccons(file);
file             2650 drivers/tty/tty_io.c 		return ptm_open_peer(file, tty, (int)arg);
file             2652 drivers/tty/tty_io.c 		retval = tty_jobctrl_ioctl(tty, real_tty, file, cmd, arg);
file             2663 drivers/tty/tty_io.c 		return hung_up_tty_ioctl(file, cmd, arg);
file             2666 drivers/tty/tty_io.c 		retval = ld->ops->ioctl(tty, file, cmd, arg);
file             2752 drivers/tty/tty_io.c static long tty_compat_ioctl(struct file *file, unsigned int cmd,
file             2755 drivers/tty/tty_io.c 	struct tty_struct *tty = file_tty(file);
file             2815 drivers/tty/tty_io.c 		return tty_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             2831 drivers/tty/tty_io.c 		return tty_ioctl(file, cmd, arg);
file             2834 drivers/tty/tty_io.c 	if (tty_paranoia_check(tty, file_inode(file), "tty_ioctl"))
file             2851 drivers/tty/tty_io.c 		return hung_up_tty_compat_ioctl(file, cmd, arg);
file             2853 drivers/tty/tty_io.c 		retval = ld->ops->compat_ioctl(tty, file, cmd, arg);
file             2855 drivers/tty/tty_io.c 		retval = ld->ops->ioctl(tty, file,
file             2863 drivers/tty/tty_io.c static int this_tty(const void *t, struct file *file, unsigned fd)
file             2865 drivers/tty/tty_io.c 	if (likely(file->f_op->read != tty_read))
file             2867 drivers/tty/tty_io.c 	return file_tty(file) != t ? 0 : fd + 1;
file              708 drivers/tty/tty_ioctl.c int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
file              716 drivers/tty/tty_ioctl.c 	BUG_ON(file == NULL);
file              894 drivers/tty/tty_ioctl.c int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
file              940 drivers/tty/tty_ioctl.c 		return tty_mode_ioctl(tty, file, cmd, arg);
file              128 drivers/tty/tty_jobctrl.c void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty)
file              343 drivers/tty/tty_jobctrl.c static int tiocsctty(struct tty_struct *tty, struct file *file, int arg)
file              379 drivers/tty/tty_jobctrl.c 	if ((file->f_mode & FMODE_READ) == 0 && !capable(CAP_SYS_ADMIN)) {
file              535 drivers/tty/tty_jobctrl.c 		       struct file *file, unsigned int cmd, unsigned long arg)
file              546 drivers/tty/tty_jobctrl.c 		return tiocsctty(real_tty, file, arg);
file              463 drivers/tty/tty_port.c 				struct tty_struct *tty, struct file *filp)
file              560 drivers/tty/tty_port.c 				struct tty_struct *tty, struct file *filp)
file              632 drivers/tty/tty_port.c 							struct file *filp)
file              671 drivers/tty/tty_port.c 							struct file *filp)
file               17 drivers/tty/ttynull.c static int ttynull_open(struct tty_struct *tty, struct file *filp)
file               22 drivers/tty/ttynull.c static void ttynull_close(struct tty_struct *tty, struct file *filp)
file              739 drivers/tty/vcc.c static int vcc_open(struct tty_struct *tty, struct file *vcc_file)
file              779 drivers/tty/vcc.c static void vcc_close(struct tty_struct *tty, struct file *vcc_file)
file              130 drivers/tty/vt/vc_screen.c vcs_poll_data_get(struct file *file)
file              132 drivers/tty/vt/vc_screen.c 	struct vcs_poll_data *poll = file->private_data, *kill = NULL;
file              140 drivers/tty/vt/vc_screen.c 	poll->cons_num = console(file_inode(file));
file              165 drivers/tty/vt/vc_screen.c 	spin_lock(&file->f_lock);
file              166 drivers/tty/vt/vc_screen.c 	if (!file->private_data) {
file              167 drivers/tty/vt/vc_screen.c 		file->private_data = poll;
file              171 drivers/tty/vt/vc_screen.c 		poll = file->private_data;
file              173 drivers/tty/vt/vc_screen.c 	spin_unlock(&file->f_lock);
file              230 drivers/tty/vt/vc_screen.c static loff_t vcs_lseek(struct file *file, loff_t offset, int orig)
file              235 drivers/tty/vt/vc_screen.c 	size = vcs_size(file_inode(file));
file              239 drivers/tty/vt/vc_screen.c 	return fixed_size_llseek(file, offset, orig, size);
file              244 drivers/tty/vt/vc_screen.c vcs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              246 drivers/tty/vt/vc_screen.c 	struct inode *inode = file_inode(file);
file              280 drivers/tty/vt/vc_screen.c 	poll = file->private_data;
file              447 drivers/tty/vt/vc_screen.c vcs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
file              449 drivers/tty/vt/vc_screen.c 	struct inode *inode = file_inode(file);
file              637 drivers/tty/vt/vc_screen.c vcs_poll(struct file *file, poll_table *wait)
file              639 drivers/tty/vt/vc_screen.c 	struct vcs_poll_data *poll = vcs_poll_data_get(file);
file              643 drivers/tty/vt/vc_screen.c 		poll_wait(file, &poll->waitq, wait);
file              660 drivers/tty/vt/vc_screen.c vcs_fasync(int fd, struct file *file, int on)
file              662 drivers/tty/vt/vc_screen.c 	struct vcs_poll_data *poll = file->private_data;
file              668 drivers/tty/vt/vc_screen.c 		poll = vcs_poll_data_get(file);
file              673 drivers/tty/vt/vc_screen.c 	return fasync_helper(fd, file, on, &poll->fasync);
file              677 drivers/tty/vt/vc_screen.c vcs_open(struct inode *inode, struct file *filp)
file              695 drivers/tty/vt/vc_screen.c static int vcs_release(struct inode *inode, struct file *file)
file              697 drivers/tty/vt/vc_screen.c 	struct vcs_poll_data *poll = file->private_data;
file              151 drivers/tty/vt/vt.c static int con_open(struct tty_struct *, struct file *);
file             3290 drivers/tty/vt/vt.c static int con_open(struct tty_struct *tty, struct file *filp)
file             3297 drivers/tty/vt/vt.c static void con_close(struct tty_struct *tty, struct file *filp)
file              459 drivers/uio/uio.c static int uio_open(struct inode *inode, struct file *filep)
file              518 drivers/uio/uio.c static int uio_fasync(int fd, struct file *filep, int on)
file              526 drivers/uio/uio.c static int uio_release(struct inode *inode, struct file *filep)
file              543 drivers/uio/uio.c static __poll_t uio_poll(struct file *filep, poll_table *wait)
file              563 drivers/uio/uio.c static ssize_t uio_read(struct file *filep, char __user *buf,
file              618 drivers/uio/uio.c static ssize_t uio_write(struct file *filep, const char __user *buf,
file              760 drivers/uio/uio.c static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
file              126 drivers/uio/uio_hv_generic.c static int hv_uio_ring_mmap(struct file *filp, struct kobject *kobj,
file             1557 drivers/usb/atm/ueagle-atm.c 	char *file;
file             1570 drivers/usb/atm/ueagle-atm.c 		file = file_arr;
file             1572 drivers/usb/atm/ueagle-atm.c 		file = cmv_file[sc->modem_index];
file             1575 drivers/usb/atm/ueagle-atm.c 	strlcat(cmv_name, file, UEA_FW_NAME_MAX);
file               73 drivers/usb/chipidea/debug.c static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf,
file               76 drivers/usb/chipidea/debug.c 	struct seq_file *s = file->private_data;
file              105 drivers/usb/chipidea/debug.c static int ci_port_test_open(struct inode *inode, struct file *file)
file              107 drivers/usb/chipidea/debug.c 	return single_open(file, ci_port_test_show, inode->i_private);
file              260 drivers/usb/chipidea/debug.c static ssize_t ci_role_write(struct file *file, const char __user *ubuf,
file              263 drivers/usb/chipidea/debug.c 	struct seq_file *s = file->private_data;
file              291 drivers/usb/chipidea/debug.c static int ci_role_open(struct inode *inode, struct file *file)
file              293 drivers/usb/chipidea/debug.c 	return single_open(file, ci_role_show, inode->i_private);
file              629 drivers/usb/class/cdc-acm.c static int acm_tty_open(struct tty_struct *tty, struct file *filp)
file              767 drivers/usb/class/cdc-acm.c static void acm_tty_close(struct tty_struct *tty, struct file *filp)
file              348 drivers/usb/class/cdc-wdm.c (struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
file              352 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              386 drivers/usb/class/cdc-wdm.c 	if (!(file->f_flags & O_NONBLOCK))
file              478 drivers/usb/class/cdc-wdm.c (struct file *file, char __user *buffer, size_t count, loff_t *ppos)
file              482 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              503 drivers/usb/class/cdc-wdm.c 		if (file->f_flags & O_NONBLOCK) {
file              586 drivers/usb/class/cdc-wdm.c static int wdm_flush(struct file *file, fl_owner_t id)
file              588 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              610 drivers/usb/class/cdc-wdm.c static __poll_t wdm_poll(struct file *file, struct poll_table_struct *wait)
file              612 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              630 drivers/usb/class/cdc-wdm.c 	poll_wait(file, &desc->wait, wait);
file              636 drivers/usb/class/cdc-wdm.c static int wdm_open(struct inode *inode, struct file *file)
file              651 drivers/usb/class/cdc-wdm.c 	file->private_data = desc;
file              683 drivers/usb/class/cdc-wdm.c static int wdm_release(struct inode *inode, struct file *file)
file              685 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              712 drivers/usb/class/cdc-wdm.c static long wdm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              714 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
file              390 drivers/usb/class/usblp.c static int usblp_open(struct inode *inode, struct file *file)
file              424 drivers/usb/class/usblp.c 	file->private_data = usblp;
file              433 drivers/usb/class/usblp.c 		file->private_data = NULL;
file              457 drivers/usb/class/usblp.c static int usblp_release(struct inode *inode, struct file *file)
file              459 drivers/usb/class/usblp.c 	struct usblp *usblp = file->private_data;
file              477 drivers/usb/class/usblp.c static __poll_t usblp_poll(struct file *file, struct poll_table_struct *wait)
file              482 drivers/usb/class/usblp.c 	struct usblp *usblp = file->private_data;
file              484 drivers/usb/class/usblp.c 	poll_wait(file, &usblp->rwait, wait);
file              485 drivers/usb/class/usblp.c 	poll_wait(file, &usblp->wwait, wait);
file              493 drivers/usb/class/usblp.c static long usblp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              495 drivers/usb/class/usblp.c 	struct usblp *usblp = file->private_data;
file              716 drivers/usb/class/usblp.c static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
file              718 drivers/usb/class/usblp.c 	struct usblp *usblp = file->private_data;
file              728 drivers/usb/class/usblp.c 	if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0)
file              768 drivers/usb/class/usblp.c 		rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK));
file              815 drivers/usb/class/usblp.c static ssize_t usblp_read(struct file *file, char __user *buffer, size_t len, loff_t *ppos)
file              817 drivers/usb/class/usblp.c 	struct usblp *usblp = file->private_data;
file              825 drivers/usb/class/usblp.c 	rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK));
file              163 drivers/usb/class/usbtmc.c static int usbtmc_open(struct inode *inode, struct file *filp)
file              215 drivers/usb/class/usbtmc.c static int usbtmc_flush(struct file *file, fl_owner_t id)
file              220 drivers/usb/class/usbtmc.c 	file_data = file->private_data;
file              246 drivers/usb/class/usbtmc.c static int usbtmc_release(struct inode *inode, struct file *file)
file              248 drivers/usb/class/usbtmc.c 	struct usbtmc_file_data *file_data = file->private_data;
file             1330 drivers/usb/class/usbtmc.c static ssize_t usbtmc_read(struct file *filp, char __user *buf,
file             1480 drivers/usb/class/usbtmc.c static ssize_t usbtmc_write(struct file *filp, const char __user *buf,
file             2018 drivers/usb/class/usbtmc.c static long usbtmc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2025 drivers/usb/class/usbtmc.c 	file_data = file->private_data;
file             2162 drivers/usb/class/usbtmc.c static int usbtmc_fasync(int fd, struct file *file, int on)
file             2164 drivers/usb/class/usbtmc.c 	struct usbtmc_file_data *file_data = file->private_data;
file             2166 drivers/usb/class/usbtmc.c 	return fasync_helper(fd, file, on, &file_data->data->fasync);
file             2169 drivers/usb/class/usbtmc.c static __poll_t usbtmc_poll(struct file *file, poll_table *wait)
file             2171 drivers/usb/class/usbtmc.c 	struct usbtmc_file_data *file_data = file->private_data;
file             2182 drivers/usb/class/usbtmc.c 	poll_wait(file, &data->waitq, wait);
file              589 drivers/usb/core/devices.c static ssize_t usb_device_read(struct file *file, char __user *buf,
file              625 drivers/usb/core/devices.c static __poll_t usb_device_poll(struct file *file,
file              630 drivers/usb/core/devices.c 	poll_wait(file, &device_event.wait, wait);
file              633 drivers/usb/core/devices.c 	if (file->f_version != event_count) {
file              634 drivers/usb/core/devices.c 		file->f_version = event_count;
file               63 drivers/usb/core/devio.c 	struct file *file;
file              216 drivers/usb/core/devio.c static int usbdev_mmap(struct file *file, struct vm_area_struct *vma)
file              219 drivers/usb/core/devio.c 	struct usb_dev_state *ps = file->private_data;
file              288 drivers/usb/core/devio.c static ssize_t usbdev_read(struct file *file, char __user *buf, size_t nbytes,
file              291 drivers/usb/core/devio.c 	struct usb_dev_state *ps = file->private_data;
file             1010 drivers/usb/core/devio.c static int usbdev_open(struct inode *inode, struct file *file)
file             1038 drivers/usb/core/devio.c 	ps->file = file;
file             1053 drivers/usb/core/devio.c 	file->private_data = ps;
file             1067 drivers/usb/core/devio.c static int usbdev_release(struct inode *inode, struct file *file)
file             1069 drivers/usb/core/devio.c 	struct usb_dev_state *ps = file->private_data;
file             2486 drivers/usb/core/devio.c static long usbdev_do_ioctl(struct file *file, unsigned int cmd,
file             2489 drivers/usb/core/devio.c 	struct usb_dev_state *ps = file->private_data;
file             2490 drivers/usb/core/devio.c 	struct inode *inode = file_inode(file);
file             2494 drivers/usb/core/devio.c 	if (!(file->f_mode & FMODE_WRITE))
file             2700 drivers/usb/core/devio.c static long usbdev_ioctl(struct file *file, unsigned int cmd,
file             2705 drivers/usb/core/devio.c 	ret = usbdev_do_ioctl(file, cmd, (void __user *)arg);
file             2711 drivers/usb/core/devio.c static long usbdev_compat_ioctl(struct file *file, unsigned int cmd,
file             2716 drivers/usb/core/devio.c 	ret = usbdev_do_ioctl(file, cmd, compat_ptr(arg));
file             2723 drivers/usb/core/devio.c static __poll_t usbdev_poll(struct file *file,
file             2726 drivers/usb/core/devio.c 	struct usb_dev_state *ps = file->private_data;
file             2729 drivers/usb/core/devio.c 	poll_wait(file, &ps->wait, wait);
file             2730 drivers/usb/core/devio.c 	if (file->f_mode & FMODE_WRITE && !list_empty(&ps->async_completed))
file               34 drivers/usb/core/file.c static int usb_open(struct inode *inode, struct file *file)
file               45 drivers/usb/core/file.c 	replace_fops(file, new_fops);
file               47 drivers/usb/core/file.c 	if (file->f_op->open)
file               48 drivers/usb/core/file.c 		err = file->f_op->open(inode, file);
file              882 drivers/usb/core/sysfs.c read_descriptors(struct file *filp, struct kobject *kobj,
file               27 drivers/usb/dwc2/debugfs.c static ssize_t testmode_write(struct file *file, const char __user *ubuf, size_t
file               30 drivers/usb/dwc2/debugfs.c 	struct seq_file		*s = file->private_data;
file              103 drivers/usb/dwc2/debugfs.c static int testmode_open(struct inode *inode, struct file *file)
file              105 drivers/usb/dwc2/debugfs.c 	return single_open(file, testmode_show, inode->i_private);
file              351 drivers/usb/dwc3/debugfs.c static int dwc3_lsp_open(struct inode *inode, struct file *file)
file              353 drivers/usb/dwc3/debugfs.c 	return single_open(file, dwc3_lsp_show, inode->i_private);
file              356 drivers/usb/dwc3/debugfs.c static ssize_t dwc3_lsp_write(struct file *file, const char __user *ubuf,
file              359 drivers/usb/dwc3/debugfs.c 	struct seq_file		*s = file->private_data;
file              415 drivers/usb/dwc3/debugfs.c static int dwc3_mode_open(struct inode *inode, struct file *file)
file              417 drivers/usb/dwc3/debugfs.c 	return single_open(file, dwc3_mode_show, inode->i_private);
file              420 drivers/usb/dwc3/debugfs.c static ssize_t dwc3_mode_write(struct file *file,
file              423 drivers/usb/dwc3/debugfs.c 	struct seq_file		*s = file->private_data;
file              491 drivers/usb/dwc3/debugfs.c static int dwc3_testmode_open(struct inode *inode, struct file *file)
file              493 drivers/usb/dwc3/debugfs.c 	return single_open(file, dwc3_testmode_show, inode->i_private);
file              496 drivers/usb/dwc3/debugfs.c static ssize_t dwc3_testmode_write(struct file *file,
file              499 drivers/usb/dwc3/debugfs.c 	struct seq_file		*s = file->private_data;
file              564 drivers/usb/dwc3/debugfs.c static int dwc3_link_state_open(struct inode *inode, struct file *file)
file              566 drivers/usb/dwc3/debugfs.c 	return single_open(file, dwc3_link_state_show, inode->i_private);
file              569 drivers/usb/dwc3/debugfs.c static ssize_t dwc3_link_state_write(struct file *file,
file              572 drivers/usb/dwc3/debugfs.c 	struct seq_file		*s = file->private_data;
file              325 drivers/usb/gadget/function/f_fs.c static ssize_t ffs_ep0_write(struct file *file, const char __user *buf,
file              328 drivers/usb/gadget/function/f_fs.c 	struct ffs_data *ffs = file->private_data;
file              339 drivers/usb/gadget/function/f_fs.c 	ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
file              501 drivers/usb/gadget/function/f_fs.c static ssize_t ffs_ep0_read(struct file *file, char __user *buf,
file              504 drivers/usb/gadget/function/f_fs.c 	struct ffs_data *ffs = file->private_data;
file              516 drivers/usb/gadget/function/f_fs.c 	ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
file              544 drivers/usb/gadget/function/f_fs.c 		if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) {
file              605 drivers/usb/gadget/function/f_fs.c static int ffs_ep0_open(struct inode *inode, struct file *file)
file              614 drivers/usb/gadget/function/f_fs.c 	file->private_data = ffs;
file              620 drivers/usb/gadget/function/f_fs.c static int ffs_ep0_release(struct inode *inode, struct file *file)
file              622 drivers/usb/gadget/function/f_fs.c 	struct ffs_data *ffs = file->private_data;
file              631 drivers/usb/gadget/function/f_fs.c static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value)
file              633 drivers/usb/gadget/function/f_fs.c 	struct ffs_data *ffs = file->private_data;
file              651 drivers/usb/gadget/function/f_fs.c static __poll_t ffs_ep0_poll(struct file *file, poll_table *wait)
file              653 drivers/usb/gadget/function/f_fs.c 	struct ffs_data *ffs = file->private_data;
file              657 drivers/usb/gadget/function/f_fs.c 	poll_wait(file, &ffs->ev.waitq, wait);
file              659 drivers/usb/gadget/function/f_fs.c 	ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
file              943 drivers/usb/gadget/function/f_fs.c static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data)
file              945 drivers/usb/gadget/function/f_fs.c 	struct ffs_epfile *epfile = file->private_data;
file              959 drivers/usb/gadget/function/f_fs.c 		if (file->f_flags & O_NONBLOCK)
file              974 drivers/usb/gadget/function/f_fs.c 	ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK);
file             1147 drivers/usb/gadget/function/f_fs.c ffs_epfile_open(struct inode *inode, struct file *file)
file             1156 drivers/usb/gadget/function/f_fs.c 	file->private_data = epfile;
file             1270 drivers/usb/gadget/function/f_fs.c ffs_epfile_release(struct inode *inode, struct file *file)
file             1282 drivers/usb/gadget/function/f_fs.c static long ffs_epfile_ioctl(struct file *file, unsigned code,
file             1285 drivers/usb/gadget/function/f_fs.c 	struct ffs_epfile *epfile = file->private_data;
file             1297 drivers/usb/gadget/function/f_fs.c 		if (file->f_flags & O_NONBLOCK)
file             1360 drivers/usb/gadget/function/f_fs.c static long ffs_epfile_compat_ioctl(struct file *file, unsigned code,
file             1363 drivers/usb/gadget/function/f_fs.c 	return ffs_epfile_ioctl(file, code, value);
file              243 drivers/usb/gadget/function/f_hid.c static ssize_t f_hidg_read(struct file *file, char __user *buffer,
file              246 drivers/usb/gadget/function/f_hid.c 	struct f_hidg *hidg = file->private_data;
file              265 drivers/usb/gadget/function/f_hid.c 		if (file->f_flags & O_NONBLOCK)
file              334 drivers/usb/gadget/function/f_hid.c static ssize_t f_hidg_write(struct file *file, const char __user *buffer,
file              337 drivers/usb/gadget/function/f_hid.c 	struct f_hidg *hidg  = file->private_data;
file              352 drivers/usb/gadget/function/f_hid.c 		if (file->f_flags & O_NONBLOCK)
file              416 drivers/usb/gadget/function/f_hid.c static __poll_t f_hidg_poll(struct file *file, poll_table *wait)
file              418 drivers/usb/gadget/function/f_hid.c 	struct f_hidg	*hidg  = file->private_data;
file              421 drivers/usb/gadget/function/f_hid.c 	poll_wait(file, &hidg->read_queue, wait);
file              422 drivers/usb/gadget/function/f_hid.c 	poll_wait(file, &hidg->write_queue, wait);
file              436 drivers/usb/gadget/function/f_hid.c static int f_hidg_release(struct inode *inode, struct file *fd)
file              442 drivers/usb/gadget/function/f_hid.c static int f_hidg_open(struct inode *inode, struct file *fd)
file              951 drivers/usb/gadget/function/f_mass_storage.c 	struct file	*filp = curlun->filp;
file             2558 drivers/usb/gadget/function/f_mass_storage.c static DEVICE_ATTR(file, 0, file_show, file_store);
file             3049 drivers/usb/gadget/function/f_mass_storage.c CONFIGFS_ATTR(fsg_lun_opts_, file);
file             3460 drivers/usb/gadget/function/f_mass_storage.c 			params->file_count > i && params->file[i][0]
file             3461 drivers/usb/gadget/function/f_mass_storage.c 			? params->file[i]
file                9 drivers/usb/gadget/function/f_mass_storage.h 	char		*file[FSG_MAX_LUNS];
file               33 drivers/usb/gadget/function/f_mass_storage.h 	_FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp,		\
file              331 drivers/usb/gadget/function/f_printer.c printer_open(struct inode *inode, struct file *fd)
file              356 drivers/usb/gadget/function/f_printer.c printer_close(struct inode *inode, struct file *fd)
file              411 drivers/usb/gadget/function/f_printer.c printer_read(struct file *fd, char __user *buf, size_t len, loff_t *ptr)
file              547 drivers/usb/gadget/function/f_printer.c printer_write(struct file *fd, const char __user *buf, size_t len, loff_t *ptr)
file              661 drivers/usb/gadget/function/f_printer.c printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync)
file              684 drivers/usb/gadget/function/f_printer.c printer_poll(struct file *fd, poll_table *wait)
file              713 drivers/usb/gadget/function/f_printer.c printer_ioctl(struct file *fd, unsigned int code, unsigned long arg)
file             1117 drivers/usb/gadget/function/rndis.c static ssize_t rndis_proc_write(struct file *file, const char __user *buffer,
file             1120 drivers/usb/gadget/function/rndis.c 	rndis_params *p = PDE_DATA(file_inode(file));
file             1162 drivers/usb/gadget/function/rndis.c static int rndis_proc_open(struct inode *inode, struct file *file)
file             1164 drivers/usb/gadget/function/rndis.c 	return single_open(file, rndis_proc_show, PDE_DATA(inode));
file              181 drivers/usb/gadget/function/storage_common.c 	struct file			*filp = NULL;
file              286 drivers/usb/gadget/function/storage_common.c 	struct file	*filp = curlun->filp;
file               99 drivers/usb/gadget/function/storage_common.h 	struct file	*filp;
file              587 drivers/usb/gadget/function/u_serial.c static int gs_open(struct tty_struct *tty, struct file *file)
file              649 drivers/usb/gadget/function/u_serial.c 				port->port_num, tty, file);
file              678 drivers/usb/gadget/function/u_serial.c 	pr_debug("gs_open: ttyGS%d (%p,%p)\n", port->port_num, tty, file);
file              699 drivers/usb/gadget/function/u_serial.c static void gs_close(struct tty_struct *tty, struct file *file)
file              714 drivers/usb/gadget/function/u_serial.c 	pr_debug("gs_close: ttyGS%d (%p,%p) ...\n", port->port_num, tty, file);
file              752 drivers/usb/gadget/function/u_serial.c 			port->port_num, tty, file);
file               36 drivers/usb/gadget/function/u_uac1_legacy.h 	struct file			*filp;
file              196 drivers/usb/gadget/function/uvc_queue.c __poll_t uvcg_queue_poll(struct uvc_video_queue *queue, struct file *file,
file              199 drivers/usb/gadget/function/uvc_queue.c 	return vb2_poll(&queue->queue, file, wait);
file               11 drivers/usb/gadget/function/uvc_queue.h struct file;
file               78 drivers/usb/gadget/function/uvc_queue.h 			     struct file *file, poll_table *wait);
file               64 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_querycap(struct file *file, void *fh, struct v4l2_capability *cap)
file               66 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file               78 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt)
file               80 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file               97 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_set_format(struct file *file, void *fh, struct v4l2_format *fmt)
file               99 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              138 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *b)
file              140 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              151 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_querybuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              153 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              161 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_qbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              163 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              176 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b)
file              178 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              182 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK);
file              186 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
file              188 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              212 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_streamoff(struct file *file, void *fh, enum v4l2_buf_type type)
file              214 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              242 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_ioctl_default(struct file *file, void *fh, bool valid_prio,
file              245 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              277 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_open(struct file *file)
file              279 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              291 drivers/usb/gadget/function/uvc_v4l2.c 	file->private_data = &handle->vfh;
file              298 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_release(struct file *file)
file              300 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              302 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_file_handle *handle = to_uvc_file_handle(file->private_data);
file              312 drivers/usb/gadget/function/uvc_v4l2.c 	file->private_data = NULL;
file              321 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma)
file              323 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              330 drivers/usb/gadget/function/uvc_v4l2.c uvc_v4l2_poll(struct file *file, poll_table *wait)
file              332 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file              335 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_queue_poll(&uvc->video.queue, file, wait);
file              339 drivers/usb/gadget/function/uvc_v4l2.c static unsigned long uvcg_v4l2_get_unmapped_area(struct file *file,
file              343 drivers/usb/gadget/function/uvc_v4l2.c 	struct video_device *vdev = video_devdata(file);
file               76 drivers/usb/gadget/legacy/inode.c static int ep_open(struct inode *, struct file *);
file              372 drivers/usb/gadget/legacy/inode.c ep_release (struct inode *inode, struct file *fd)
file              393 drivers/usb/gadget/legacy/inode.c static long ep_ioctl(struct file *fd, unsigned code, unsigned long value)
file              575 drivers/usb/gadget/legacy/inode.c 	struct file *file = iocb->ki_filp;
file              576 drivers/usb/gadget/legacy/inode.c 	struct ep_data *epdata = file->private_data;
file              581 drivers/usb/gadget/legacy/inode.c 	if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0)
file              634 drivers/usb/gadget/legacy/inode.c 	struct file *file = iocb->ki_filp;
file              635 drivers/usb/gadget/legacy/inode.c 	struct ep_data *epdata = file->private_data;
file              641 drivers/usb/gadget/legacy/inode.c 	if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0)
file              812 drivers/usb/gadget/legacy/inode.c ep_open (struct inode *inode, struct file *fd)
file              907 drivers/usb/gadget/legacy/inode.c ep0_read (struct file *fd, char __user *buf, size_t len, loff_t *ptr)
file             1119 drivers/usb/gadget/legacy/inode.c ep0_write (struct file *fd, const char __user *buf, size_t len, loff_t *ptr)
file             1174 drivers/usb/gadget/legacy/inode.c ep0_fasync (int f, struct file *fd, int on)
file             1185 drivers/usb/gadget/legacy/inode.c dev_release (struct inode *inode, struct file *fd)
file             1214 drivers/usb/gadget/legacy/inode.c ep0_poll (struct file *fd, poll_table *wait)
file             1245 drivers/usb/gadget/legacy/inode.c static long dev_ioctl (struct file *fd, unsigned code, unsigned long value)
file             1783 drivers/usb/gadget/legacy/inode.c dev_config (struct file *fd, const char __user *buf, size_t len, loff_t *ptr)
file             1892 drivers/usb/gadget/legacy/inode.c dev_open (struct inode *inode, struct file *fd)
file               36 drivers/usb/gadget/udc/atmel_usba_udc.c static int queue_dbg_open(struct inode *inode, struct file *file)
file               56 drivers/usb/gadget/udc/atmel_usba_udc.c 	file->private_data = queue_data;
file               83 drivers/usb/gadget/udc/atmel_usba_udc.c static ssize_t queue_dbg_read(struct file *file, char __user *buf,
file               86 drivers/usb/gadget/udc/atmel_usba_udc.c 	struct list_head *queue = file->private_data;
file               94 drivers/usb/gadget/udc/atmel_usba_udc.c 	inode_lock(file_inode(file));
file              121 drivers/usb/gadget/udc/atmel_usba_udc.c 	inode_unlock(file_inode(file));
file              126 drivers/usb/gadget/udc/atmel_usba_udc.c static int queue_dbg_release(struct inode *inode, struct file *file)
file              128 drivers/usb/gadget/udc/atmel_usba_udc.c 	struct list_head *queue_data = file->private_data;
file              139 drivers/usb/gadget/udc/atmel_usba_udc.c static int regs_dbg_open(struct inode *inode, struct file *file)
file              157 drivers/usb/gadget/udc/atmel_usba_udc.c 	file->private_data = data;
file              166 drivers/usb/gadget/udc/atmel_usba_udc.c static ssize_t regs_dbg_read(struct file *file, char __user *buf,
file              169 drivers/usb/gadget/udc/atmel_usba_udc.c 	struct inode *inode = file_inode(file);
file              174 drivers/usb/gadget/udc/atmel_usba_udc.c 			file->private_data,
file              175 drivers/usb/gadget/udc/atmel_usba_udc.c 			file_inode(file)->i_size);
file              181 drivers/usb/gadget/udc/atmel_usba_udc.c static int regs_dbg_release(struct inode *inode, struct file *file)
file              183 drivers/usb/gadget/udc/atmel_usba_udc.c 	kfree(file->private_data);
file              527 drivers/usb/gadget/udc/lpc32xx_udc.c static int proc_udc_open(struct inode *inode, struct file *file)
file              529 drivers/usb/gadget/udc/lpc32xx_udc.c 	return single_open(file, proc_udc_show, PDE_DATA(inode));
file             2491 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_b_device_open(struct inode *inode, struct file *file)
file             2493 drivers/usb/gadget/udc/renesas_usb3.c 	return single_open(file, renesas_usb3_b_device_show, inode->i_private);
file             2496 drivers/usb/gadget/udc/renesas_usb3.c static ssize_t renesas_usb3_b_device_write(struct file *file,
file             2500 drivers/usb/gadget/udc/renesas_usb3.c 	struct seq_file *s = file->private_data;
file              291 drivers/usb/host/ehci-dbg.c static int debug_async_open(struct inode *, struct file *);
file              292 drivers/usb/host/ehci-dbg.c static int debug_bandwidth_open(struct inode *, struct file *);
file              293 drivers/usb/host/ehci-dbg.c static int debug_periodic_open(struct inode *, struct file *);
file              294 drivers/usb/host/ehci-dbg.c static int debug_registers_open(struct inode *, struct file *);
file              296 drivers/usb/host/ehci-dbg.c static ssize_t debug_output(struct file*, char __user*, size_t, loff_t*);
file              297 drivers/usb/host/ehci-dbg.c static int debug_close(struct inode *, struct file *);
file              955 drivers/usb/host/ehci-dbg.c static ssize_t debug_output(struct file *file, char __user *user_buf,
file              958 drivers/usb/host/ehci-dbg.c 	struct debug_buffer *buf = file->private_data;
file              978 drivers/usb/host/ehci-dbg.c static int debug_close(struct inode *inode, struct file *file)
file              980 drivers/usb/host/ehci-dbg.c 	struct debug_buffer *buf = file->private_data;
file              990 drivers/usb/host/ehci-dbg.c static int debug_async_open(struct inode *inode, struct file *file)
file              992 drivers/usb/host/ehci-dbg.c 	file->private_data = alloc_buffer(inode->i_private, fill_async_buffer);
file              994 drivers/usb/host/ehci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file              997 drivers/usb/host/ehci-dbg.c static int debug_bandwidth_open(struct inode *inode, struct file *file)
file              999 drivers/usb/host/ehci-dbg.c 	file->private_data = alloc_buffer(inode->i_private,
file             1002 drivers/usb/host/ehci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file             1005 drivers/usb/host/ehci-dbg.c static int debug_periodic_open(struct inode *inode, struct file *file)
file             1014 drivers/usb/host/ehci-dbg.c 	file->private_data = buf;
file             1018 drivers/usb/host/ehci-dbg.c static int debug_registers_open(struct inode *inode, struct file *file)
file             1020 drivers/usb/host/ehci-dbg.c 	file->private_data = alloc_buffer(inode->i_private,
file             1023 drivers/usb/host/ehci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file              281 drivers/usb/host/fotg210-hcd.c static int debug_async_open(struct inode *, struct file *);
file              282 drivers/usb/host/fotg210-hcd.c static int debug_periodic_open(struct inode *, struct file *);
file              283 drivers/usb/host/fotg210-hcd.c static int debug_registers_open(struct inode *, struct file *);
file              284 drivers/usb/host/fotg210-hcd.c static int debug_async_open(struct inode *, struct file *);
file              286 drivers/usb/host/fotg210-hcd.c static ssize_t debug_output(struct file*, char __user*, size_t, loff_t*);
file              287 drivers/usb/host/fotg210-hcd.c static int debug_close(struct inode *, struct file *);
file              783 drivers/usb/host/fotg210-hcd.c static ssize_t debug_output(struct file *file, char __user *user_buf,
file              786 drivers/usb/host/fotg210-hcd.c 	struct debug_buffer *buf = file->private_data;
file              807 drivers/usb/host/fotg210-hcd.c static int debug_close(struct inode *inode, struct file *file)
file              809 drivers/usb/host/fotg210-hcd.c 	struct debug_buffer *buf = file->private_data;
file              818 drivers/usb/host/fotg210-hcd.c static int debug_async_open(struct inode *inode, struct file *file)
file              820 drivers/usb/host/fotg210-hcd.c 	file->private_data = alloc_buffer(inode->i_private, fill_async_buffer);
file              822 drivers/usb/host/fotg210-hcd.c 	return file->private_data ? 0 : -ENOMEM;
file              825 drivers/usb/host/fotg210-hcd.c static int debug_periodic_open(struct inode *inode, struct file *file)
file              834 drivers/usb/host/fotg210-hcd.c 	file->private_data = buf;
file              838 drivers/usb/host/fotg210-hcd.c static int debug_registers_open(struct inode *inode, struct file *file)
file              840 drivers/usb/host/fotg210-hcd.c 	file->private_data = alloc_buffer(inode->i_private,
file              843 drivers/usb/host/fotg210-hcd.c 	return file->private_data ? 0 : -ENOMEM;
file              360 drivers/usb/host/ohci-dbg.c static int debug_async_open(struct inode *, struct file *);
file              361 drivers/usb/host/ohci-dbg.c static int debug_periodic_open(struct inode *, struct file *);
file              362 drivers/usb/host/ohci-dbg.c static int debug_registers_open(struct inode *, struct file *);
file              363 drivers/usb/host/ohci-dbg.c static int debug_async_open(struct inode *, struct file *);
file              364 drivers/usb/host/ohci-dbg.c static ssize_t debug_output(struct file*, char __user*, size_t, loff_t*);
file              365 drivers/usb/host/ohci-dbg.c static int debug_close(struct inode *, struct file *);
file              704 drivers/usb/host/ohci-dbg.c static ssize_t debug_output(struct file *file, char __user *user_buf,
file              707 drivers/usb/host/ohci-dbg.c 	struct debug_buffer *buf = file->private_data;
file              728 drivers/usb/host/ohci-dbg.c static int debug_close(struct inode *inode, struct file *file)
file              730 drivers/usb/host/ohci-dbg.c 	struct debug_buffer *buf = file->private_data;
file              740 drivers/usb/host/ohci-dbg.c static int debug_async_open(struct inode *inode, struct file *file)
file              742 drivers/usb/host/ohci-dbg.c 	file->private_data = alloc_buffer(inode->i_private, fill_async_buffer);
file              744 drivers/usb/host/ohci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file              747 drivers/usb/host/ohci-dbg.c static int debug_periodic_open(struct inode *inode, struct file *file)
file              749 drivers/usb/host/ohci-dbg.c 	file->private_data = alloc_buffer(inode->i_private,
file              752 drivers/usb/host/ohci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file              755 drivers/usb/host/ohci-dbg.c static int debug_registers_open(struct inode *inode, struct file *file)
file              757 drivers/usb/host/ohci-dbg.c 	file->private_data = alloc_buffer(inode->i_private,
file              760 drivers/usb/host/ohci-dbg.c 	return file->private_data ? 0 : -ENOMEM;
file              558 drivers/usb/host/uhci-debug.c static int uhci_debug_open(struct inode *inode, struct file *file)
file              581 drivers/usb/host/uhci-debug.c 	file->private_data = up;
file              586 drivers/usb/host/uhci-debug.c static loff_t uhci_debug_lseek(struct file *file, loff_t off, int whence)
file              588 drivers/usb/host/uhci-debug.c 	struct uhci_debug *up = file->private_data;
file              589 drivers/usb/host/uhci-debug.c 	return no_seek_end_llseek_size(file, off, whence, up->size);
file              592 drivers/usb/host/uhci-debug.c static ssize_t uhci_debug_read(struct file *file, char __user *buf,
file              595 drivers/usb/host/uhci-debug.c 	struct uhci_debug *up = file->private_data;
file              599 drivers/usb/host/uhci-debug.c static int uhci_debug_release(struct inode *inode, struct file *file)
file              601 drivers/usb/host/uhci-debug.c 	struct uhci_debug *up = file->private_data;
file              181 drivers/usb/host/xhci-dbgtty.c static int dbc_tty_open(struct tty_struct *tty, struct file *file)
file              185 drivers/usb/host/xhci-dbgtty.c 	return tty_port_open(&port->port, tty, file);
file              188 drivers/usb/host/xhci-dbgtty.c static void dbc_tty_close(struct tty_struct *tty, struct file *file)
file              192 drivers/usb/host/xhci-dbgtty.c 	tty_port_close(&port->port, tty, file);
file              233 drivers/usb/host/xhci-debugfs.c static int xhci_ring_open(struct inode *inode, struct file *file)
file              237 drivers/usb/host/xhci-debugfs.c 	const char		*file_name = file_dentry(file)->d_iname;
file              246 drivers/usb/host/xhci-debugfs.c 	return single_open(file, f_map->show, inode->i_private);
file              314 drivers/usb/host/xhci-debugfs.c static int xhci_context_open(struct inode *inode, struct file *file)
file              318 drivers/usb/host/xhci-debugfs.c 	const char		*file_name = file_dentry(file)->d_iname;
file              327 drivers/usb/host/xhci-debugfs.c 	return single_open(file, f_map->show, inode->i_private);
file              350 drivers/usb/host/xhci-debugfs.c static int xhci_port_open(struct inode *inode, struct file *file)
file              352 drivers/usb/host/xhci-debugfs.c 	return single_open(file, xhci_portsc_show, inode->i_private);
file              355 drivers/usb/host/xhci-debugfs.c static ssize_t xhci_port_write(struct file *file,  const char __user *ubuf,
file              358 drivers/usb/host/xhci-debugfs.c 	struct seq_file         *s = file->private_data;
file              606 drivers/usb/image/mdc800.c static int mdc800_device_open (struct inode* inode, struct file *file)
file              656 drivers/usb/image/mdc800.c static int mdc800_device_release (struct inode* inode, struct file *file)
file              681 drivers/usb/image/mdc800.c static ssize_t mdc800_device_read (struct file *file, char __user *buf, size_t len, loff_t *pos)
file              780 drivers/usb/image/mdc800.c static ssize_t mdc800_device_write (struct file *file, const char __user *buf, size_t len, loff_t *pos)
file              226 drivers/usb/misc/adutux.c static int adu_open(struct inode *inode, struct file *file)
file              264 drivers/usb/misc/adutux.c 	file->private_data = dev;
file              306 drivers/usb/misc/adutux.c static int adu_release(struct inode *inode, struct file *file)
file              311 drivers/usb/misc/adutux.c 	if (file == NULL) {
file              316 drivers/usb/misc/adutux.c 	dev = file->private_data;
file              342 drivers/usb/misc/adutux.c static ssize_t adu_read(struct file *file, __user char *buffer, size_t count,
file              354 drivers/usb/misc/adutux.c 	dev = file->private_data;
file              505 drivers/usb/misc/adutux.c static ssize_t adu_write(struct file *file, const __user char *buffer,
file              516 drivers/usb/misc/adutux.c 	dev = file->private_data;
file              251 drivers/usb/misc/chaoskey.c static int chaoskey_open(struct inode *inode, struct file *file)
file              269 drivers/usb/misc/chaoskey.c 	file->private_data = dev;
file              278 drivers/usb/misc/chaoskey.c static int chaoskey_release(struct inode *inode, struct file *file)
file              280 drivers/usb/misc/chaoskey.c 	struct chaoskey *dev = file->private_data;
file              407 drivers/usb/misc/chaoskey.c static ssize_t chaoskey_read(struct file *file,
file              418 drivers/usb/misc/chaoskey.c 	dev = file->private_data;
file              613 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_open(struct inode *inode, struct file *file)
file              633 drivers/usb/misc/ftdi-elan.c 				file->private_data = ftdi;
file              640 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_release(struct inode *inode, struct file *file)
file              642 drivers/usb/misc/ftdi-elan.c 	struct usb_ftdi *ftdi = file->private_data;
file              656 drivers/usb/misc/ftdi-elan.c static ssize_t ftdi_elan_read(struct file *file, char __user *buffer,
file              665 drivers/usb/misc/ftdi-elan.c 	struct usb_ftdi *ftdi = file->private_data;
file             1078 drivers/usb/misc/ftdi-elan.c static ssize_t ftdi_elan_write(struct file *file,
file             1085 drivers/usb/misc/ftdi-elan.c 	struct usb_ftdi *ftdi = file->private_data;
file               83 drivers/usb/misc/idmouse.c static ssize_t idmouse_read(struct file *file, char __user *buffer,
file               86 drivers/usb/misc/idmouse.c static int idmouse_open(struct inode *inode, struct file *file);
file               87 drivers/usb/misc/idmouse.c static int idmouse_release(struct inode *inode, struct file *file);
file              219 drivers/usb/misc/idmouse.c static int idmouse_open(struct inode *inode, struct file *file)
file              263 drivers/usb/misc/idmouse.c 		file->private_data = dev;
file              274 drivers/usb/misc/idmouse.c static int idmouse_release(struct inode *inode, struct file *file)
file              278 drivers/usb/misc/idmouse.c 	dev = file->private_data;
file              308 drivers/usb/misc/idmouse.c static ssize_t idmouse_read(struct file *file, char __user *buffer, size_t count,
file              311 drivers/usb/misc/idmouse.c 	struct usb_idmouse *dev = file->private_data;
file              277 drivers/usb/misc/iowarrior.c static ssize_t iowarrior_read(struct file *file, char __user *buffer,
file              284 drivers/usb/misc/iowarrior.c 	dev = file->private_data;
file              303 drivers/usb/misc/iowarrior.c 			if (file->f_flags & O_NONBLOCK)
file              342 drivers/usb/misc/iowarrior.c static ssize_t iowarrior_write(struct file *file,
file              351 drivers/usb/misc/iowarrior.c 	dev = file->private_data;
file              395 drivers/usb/misc/iowarrior.c 			if (file->f_flags & O_NONBLOCK) {
file              481 drivers/usb/misc/iowarrior.c static long iowarrior_ioctl(struct file *file, unsigned int cmd,
file              490 drivers/usb/misc/iowarrior.c 	dev = file->private_data;
file              598 drivers/usb/misc/iowarrior.c static int iowarrior_open(struct inode *inode, struct file *file)
file              635 drivers/usb/misc/iowarrior.c 	file->private_data = dev;
file              646 drivers/usb/misc/iowarrior.c static int iowarrior_release(struct inode *inode, struct file *file)
file              651 drivers/usb/misc/iowarrior.c 	dev = file->private_data;
file              684 drivers/usb/misc/iowarrior.c static __poll_t iowarrior_poll(struct file *file, poll_table * wait)
file              686 drivers/usb/misc/iowarrior.c 	struct iowarrior *dev = file->private_data;
file              692 drivers/usb/misc/iowarrior.c 	poll_wait(file, &dev->read_wait, wait);
file              693 drivers/usb/misc/iowarrior.c 	poll_wait(file, &dev->write_wait, wait);
file              300 drivers/usb/misc/ldusb.c static int ld_usb_open(struct inode *inode, struct file *file)
file              307 drivers/usb/misc/ldusb.c 	stream_open(inode, file);
file              360 drivers/usb/misc/ldusb.c 	file->private_data = dev;
file              371 drivers/usb/misc/ldusb.c static int ld_usb_release(struct inode *inode, struct file *file)
file              376 drivers/usb/misc/ldusb.c 	dev = file->private_data;
file              413 drivers/usb/misc/ldusb.c static __poll_t ld_usb_poll(struct file *file, poll_table *wait)
file              418 drivers/usb/misc/ldusb.c 	dev = file->private_data;
file              423 drivers/usb/misc/ldusb.c 	poll_wait(file, &dev->read_wait, wait);
file              424 drivers/usb/misc/ldusb.c 	poll_wait(file, &dev->write_wait, wait);
file              437 drivers/usb/misc/ldusb.c static ssize_t ld_usb_read(struct file *file, char __user *buffer, size_t count,
file              446 drivers/usb/misc/ldusb.c 	dev = file->private_data;
file              470 drivers/usb/misc/ldusb.c 		if (file->f_flags & O_NONBLOCK) {
file              524 drivers/usb/misc/ldusb.c static ssize_t ld_usb_write(struct file *file, const char __user *buffer,
file              531 drivers/usb/misc/ldusb.c 	dev = file->private_data;
file              552 drivers/usb/misc/ldusb.c 		if (file->f_flags & O_NONBLOCK) {
file              222 drivers/usb/misc/legousbtower.c static ssize_t tower_read	(struct file *file, char __user *buffer, size_t count, loff_t *ppos);
file              223 drivers/usb/misc/legousbtower.c static ssize_t tower_write	(struct file *file, const char __user *buffer, size_t count, loff_t *ppos);
file              225 drivers/usb/misc/legousbtower.c static int tower_open		(struct inode *inode, struct file *file);
file              226 drivers/usb/misc/legousbtower.c static int tower_release	(struct inode *inode, struct file *file);
file              227 drivers/usb/misc/legousbtower.c static __poll_t tower_poll	(struct file *file, poll_table *wait);
file              228 drivers/usb/misc/legousbtower.c static loff_t tower_llseek	(struct file *file, loff_t off, int whence);
file              307 drivers/usb/misc/legousbtower.c static int tower_open (struct inode *inode, struct file *file)
file              323 drivers/usb/misc/legousbtower.c 	nonseekable_open(inode, file);
file              395 drivers/usb/misc/legousbtower.c 	file->private_data = dev;
file              410 drivers/usb/misc/legousbtower.c static int tower_release (struct inode *inode, struct file *file)
file              415 drivers/usb/misc/legousbtower.c 	dev = file->private_data;
file              498 drivers/usb/misc/legousbtower.c static __poll_t tower_poll (struct file *file, poll_table *wait)
file              503 drivers/usb/misc/legousbtower.c 	dev = file->private_data;
file              508 drivers/usb/misc/legousbtower.c 	poll_wait(file, &dev->read_wait, wait);
file              509 drivers/usb/misc/legousbtower.c 	poll_wait(file, &dev->write_wait, wait);
file              526 drivers/usb/misc/legousbtower.c static loff_t tower_llseek (struct file *file, loff_t off, int whence)
file              535 drivers/usb/misc/legousbtower.c static ssize_t tower_read (struct file *file, char __user *buffer, size_t count, loff_t *ppos)
file              543 drivers/usb/misc/legousbtower.c 	dev = file->private_data;
file              571 drivers/usb/misc/legousbtower.c 		if (file->f_flags & O_NONBLOCK) {
file              623 drivers/usb/misc/legousbtower.c static ssize_t tower_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
file              629 drivers/usb/misc/legousbtower.c 	dev = file->private_data;
file              652 drivers/usb/misc/legousbtower.c 		if (file->f_flags & O_NONBLOCK) {
file             2382 drivers/usb/misc/sisusbvga/sisusb.c static int sisusb_open(struct inode *inode, struct file *file)
file             2430 drivers/usb/misc/sisusbvga/sisusb.c 	file->private_data = sisusb;
file             2455 drivers/usb/misc/sisusbvga/sisusb.c static int sisusb_release(struct inode *inode, struct file *file)
file             2459 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb = file->private_data;
file             2472 drivers/usb/misc/sisusbvga/sisusb.c 	file->private_data = NULL;
file             2482 drivers/usb/misc/sisusbvga/sisusb.c static ssize_t sisusb_read(struct file *file, char __user *buffer,
file             2492 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb = file->private_data;
file             2618 drivers/usb/misc/sisusbvga/sisusb.c static ssize_t sisusb_write(struct file *file, const char __user *buffer,
file             2628 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb = file->private_data;
file             2762 drivers/usb/misc/sisusbvga/sisusb.c static loff_t sisusb_lseek(struct file *file, loff_t offset, int orig)
file             2767 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb = file->private_data;
file             2779 drivers/usb/misc/sisusbvga/sisusb.c 	ret = no_seek_end_llseek(file, offset, orig);
file             2903 drivers/usb/misc/sisusbvga/sisusb.c static long sisusb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2911 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb = file->private_data;
file             2977 drivers/usb/misc/sisusbvga/sisusb.c static long sisusb_compat_ioctl(struct file *f, unsigned int cmd,
file               77 drivers/usb/misc/usblcd.c static int lcd_open(struct inode *inode, struct file *file)
file              105 drivers/usb/misc/usblcd.c 	file->private_data = dev;
file              110 drivers/usb/misc/usblcd.c static int lcd_release(struct inode *inode, struct file *file)
file              114 drivers/usb/misc/usblcd.c 	dev = file->private_data;
file              124 drivers/usb/misc/usblcd.c static ssize_t lcd_read(struct file *file, char __user * buffer,
file              131 drivers/usb/misc/usblcd.c 	dev = file->private_data;
file              162 drivers/usb/misc/usblcd.c static long lcd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              168 drivers/usb/misc/usblcd.c 	dev = file->private_data;
file              218 drivers/usb/misc/usblcd.c static ssize_t lcd_write(struct file *file, const char __user * user_buffer,
file              226 drivers/usb/misc/usblcd.c 	dev = file->private_data;
file              344 drivers/usb/misc/yurex.c static int yurex_fasync(int fd, struct file *file, int on)
file              348 drivers/usb/misc/yurex.c 	dev = file->private_data;
file              349 drivers/usb/misc/yurex.c 	return fasync_helper(fd, file, on, &dev->async_queue);
file              352 drivers/usb/misc/yurex.c static int yurex_open(struct inode *inode, struct file *file)
file              380 drivers/usb/misc/yurex.c 	file->private_data = dev;
file              387 drivers/usb/misc/yurex.c static int yurex_release(struct inode *inode, struct file *file)
file              391 drivers/usb/misc/yurex.c 	dev = file->private_data;
file              400 drivers/usb/misc/yurex.c static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count,
file              408 drivers/usb/misc/yurex.c 	dev = file->private_data;
file              427 drivers/usb/misc/yurex.c static ssize_t yurex_write(struct file *file, const char __user *user_buffer,
file              439 drivers/usb/misc/yurex.c 	dev = file->private_data;
file              222 drivers/usb/mon/mon_bin.c static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp);
file              673 drivers/usb/mon/mon_bin.c static int mon_bin_open(struct inode *inode, struct file *file)
file              719 drivers/usb/mon/mon_bin.c 	file->private_data = rp;
file              737 drivers/usb/mon/mon_bin.c static int mon_bin_get_event(struct file *file, struct mon_reader_bin *rp,
file              749 drivers/usb/mon/mon_bin.c 	if ((rc = mon_bin_wait_event(file, rp)) < 0) {
file              778 drivers/usb/mon/mon_bin.c static int mon_bin_release(struct inode *inode, struct file *file)
file              780 drivers/usb/mon/mon_bin.c 	struct mon_reader_bin *rp = file->private_data;
file              800 drivers/usb/mon/mon_bin.c static ssize_t mon_bin_read(struct file *file, char __user *buf,
file              803 drivers/usb/mon/mon_bin.c 	struct mon_reader_bin *rp = file->private_data;
file              815 drivers/usb/mon/mon_bin.c 	if ((rc = mon_bin_wait_event(file, rp)) < 0) {
file              898 drivers/usb/mon/mon_bin.c static int mon_bin_fetch(struct file *file, struct mon_reader_bin *rp,
file              911 drivers/usb/mon/mon_bin.c 	if ((rc = mon_bin_wait_event(file, rp)) < 0) {
file              984 drivers/usb/mon/mon_bin.c static long mon_bin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              986 drivers/usb/mon/mon_bin.c 	struct mon_reader_bin *rp = file->private_data;
file             1074 drivers/usb/mon/mon_bin.c 		ret = mon_bin_get_event(file, rp, getb.hdr,
file             1097 drivers/usb/mon/mon_bin.c 		ret = mon_bin_fetch(file, rp, mfetch.offvec, mfetch.nfetch);
file             1134 drivers/usb/mon/mon_bin.c static long mon_bin_compat_ioctl(struct file *file,
file             1137 drivers/usb/mon/mon_bin.c 	struct mon_reader_bin *rp = file->private_data;
file             1151 drivers/usb/mon/mon_bin.c 		ret = mon_bin_get_event(file, rp, compat_ptr(getb.hdr32),
file             1176 drivers/usb/mon/mon_bin.c 		ret = mon_bin_fetch(file, rp, compat_ptr(mfetch.offvec32),
file             1186 drivers/usb/mon/mon_bin.c 		return mon_bin_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file             1192 drivers/usb/mon/mon_bin.c 		return mon_bin_ioctl(file, cmd, arg);
file             1202 drivers/usb/mon/mon_bin.c mon_bin_poll(struct file *file, struct poll_table_struct *wait)
file             1204 drivers/usb/mon/mon_bin.c 	struct mon_reader_bin *rp = file->private_data;
file             1208 drivers/usb/mon/mon_bin.c 	if (file->f_mode & FMODE_READ)
file             1209 drivers/usb/mon/mon_bin.c 		poll_wait(file, &rp->b_wait, wait);
file             1267 drivers/usb/mon/mon_bin.c static int mon_bin_mmap(struct file *filp, struct vm_area_struct *vma)
file             1292 drivers/usb/mon/mon_bin.c static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp)
file             1304 drivers/usb/mon/mon_bin.c 		if (file->f_flags & O_NONBLOCK) {
file               27 drivers/usb/mon/mon_stat.c static int mon_stat_open(struct inode *inode, struct file *file)
file               42 drivers/usb/mon/mon_stat.c 	file->private_data = sp;
file               46 drivers/usb/mon/mon_stat.c static ssize_t mon_stat_read(struct file *file, char __user *buf,
file               49 drivers/usb/mon/mon_stat.c 	struct snap *sp = file->private_data;
file               54 drivers/usb/mon/mon_stat.c static int mon_stat_release(struct inode *inode, struct file *file)
file               56 drivers/usb/mon/mon_stat.c 	struct snap *sp = file->private_data;
file               57 drivers/usb/mon/mon_stat.c 	file->private_data = NULL;
file              106 drivers/usb/mon/mon_text.c     mon_text_read_wait(struct mon_reader_text *rp, struct file *file);
file              324 drivers/usb/mon/mon_text.c static int mon_text_open(struct inode *inode, struct file *file)
file              366 drivers/usb/mon/mon_text.c 	file->private_data = rp;
file              394 drivers/usb/mon/mon_text.c static ssize_t mon_text_read_t(struct file *file, char __user *buf,
file              397 drivers/usb/mon/mon_text.c 	struct mon_reader_text *rp = file->private_data;
file              406 drivers/usb/mon/mon_text.c 		ep = mon_text_read_wait(rp, file);
file              433 drivers/usb/mon/mon_text.c static ssize_t mon_text_read_u(struct file *file, char __user *buf,
file              436 drivers/usb/mon/mon_text.c 	struct mon_reader_text *rp = file->private_data;
file              445 drivers/usb/mon/mon_text.c 		ep = mon_text_read_wait(rp, file);
file              481 drivers/usb/mon/mon_text.c     struct file *file)
file              490 drivers/usb/mon/mon_text.c 		if (file->f_flags & O_NONBLOCK) {
file              642 drivers/usb/mon/mon_text.c static int mon_text_release(struct inode *inode, struct file *file)
file              644 drivers/usb/mon/mon_text.c 	struct mon_reader_text *rp = file->private_data;
file              256 drivers/usb/mtu3/mtu3_debugfs.c static int mtu3_ep_open(struct inode *inode, struct file *file)
file              258 drivers/usb/mtu3/mtu3_debugfs.c 	const char *file_name = file_dentry(file)->d_iname;
file              269 drivers/usb/mtu3/mtu3_debugfs.c 	return single_open(file, f_map->show, inode->i_private);
file              290 drivers/usb/mtu3/mtu3_debugfs.c 	const char *file_name = file_dentry(sf->file)->d_iname;
file              308 drivers/usb/mtu3/mtu3_debugfs.c static int mtu3_probe_open(struct inode *inode, struct file *file)
file              310 drivers/usb/mtu3/mtu3_debugfs.c 	return single_open(file, mtu3_probe_show, inode->i_private);
file              313 drivers/usb/mtu3/mtu3_debugfs.c static ssize_t mtu3_probe_write(struct file *file, const char __user *ubuf,
file              316 drivers/usb/mtu3/mtu3_debugfs.c 	const char *file_name = file_dentry(file)->d_iname;
file              317 drivers/usb/mtu3/mtu3_debugfs.c 	struct seq_file *sf = file->private_data;
file              440 drivers/usb/mtu3/mtu3_debugfs.c static int ssusb_mode_open(struct inode *inode, struct file *file)
file              442 drivers/usb/mtu3/mtu3_debugfs.c 	return single_open(file, ssusb_mode_show, inode->i_private);
file              445 drivers/usb/mtu3/mtu3_debugfs.c static ssize_t ssusb_mode_write(struct file *file, const char __user *ubuf,
file              448 drivers/usb/mtu3/mtu3_debugfs.c 	struct seq_file *sf = file->private_data;
file              486 drivers/usb/mtu3/mtu3_debugfs.c static int ssusb_vbus_open(struct inode *inode, struct file *file)
file              488 drivers/usb/mtu3/mtu3_debugfs.c 	return single_open(file, ssusb_vbus_show, inode->i_private);
file              491 drivers/usb/mtu3/mtu3_debugfs.c static ssize_t ssusb_vbus_write(struct file *file, const char __user *ubuf,
file              494 drivers/usb/mtu3/mtu3_debugfs.c 	struct seq_file *sf = file->private_data;
file              158 drivers/usb/musb/musb_debugfs.c static int musb_test_mode_open(struct inode *inode, struct file *file)
file              160 drivers/usb/musb/musb_debugfs.c 	return single_open(file, musb_test_mode_show, inode->i_private);
file              163 drivers/usb/musb/musb_debugfs.c static ssize_t musb_test_mode_write(struct file *file,
file              166 drivers/usb/musb/musb_debugfs.c 	struct seq_file		*s = file->private_data;
file              258 drivers/usb/musb/musb_debugfs.c static int musb_softconnect_open(struct inode *inode, struct file *file)
file              260 drivers/usb/musb/musb_debugfs.c 	return single_open(file, musb_softconnect_show, inode->i_private);
file              263 drivers/usb/musb/musb_debugfs.c static ssize_t musb_softconnect_write(struct file *file,
file              266 drivers/usb/musb/musb_debugfs.c 	struct seq_file		*s = file->private_data;
file             1058 drivers/usb/phy/phy-fsl-usb.c static long fsl_otg_ioctl(struct file *file, unsigned int cmd,
file             1093 drivers/usb/phy/phy-fsl-usb.c static int fsl_otg_open(struct inode *inode, struct file *file)
file             1098 drivers/usb/phy/phy-fsl-usb.c static int fsl_otg_release(struct inode *inode, struct file *file)
file              242 drivers/usb/serial/usb-serial.c static int serial_open(struct tty_struct *tty, struct file *filp)
file              280 drivers/usb/serial/usb-serial.c static void serial_close(struct tty_struct *tty, struct file *filp)
file               83 drivers/usb/usb-skeleton.c static int skel_open(struct inode *inode, struct file *file)
file              114 drivers/usb/usb-skeleton.c 	file->private_data = dev;
file              120 drivers/usb/usb-skeleton.c static int skel_release(struct inode *inode, struct file *file)
file              124 drivers/usb/usb-skeleton.c 	dev = file->private_data;
file              136 drivers/usb/usb-skeleton.c static int skel_flush(struct file *file, fl_owner_t id)
file              141 drivers/usb/usb-skeleton.c 	dev = file->private_data;
file              224 drivers/usb/usb-skeleton.c static ssize_t skel_read(struct file *file, char *buffer, size_t count,
file              231 drivers/usb/usb-skeleton.c 	dev = file->private_data;
file              254 drivers/usb/usb-skeleton.c 		if (file->f_flags & O_NONBLOCK) {
file              359 drivers/usb/usb-skeleton.c static ssize_t skel_write(struct file *file, const char *user_buffer,
file              368 drivers/usb/usb-skeleton.c 	dev = file->private_data;
file              378 drivers/usb/usb-skeleton.c 	if (!(file->f_flags & O_NONBLOCK)) {
file               69 drivers/usb/usbip/vudc_sysfs.c static ssize_t dev_desc_read(struct file *file, struct kobject *kobj,
file             1076 drivers/vfio/pci/vfio_pci.c 			if (!f.file) {
file             1081 drivers/vfio/pci/vfio_pci.c 			group = vfio_group_get_external_user(f.file);
file             1155 drivers/vfio/vfio.c static long vfio_fops_unl_ioctl(struct file *filep,
file             1188 drivers/vfio/vfio.c static long vfio_fops_compat_ioctl(struct file *filep,
file             1196 drivers/vfio/vfio.c static int vfio_fops_open(struct inode *inode, struct file *filep)
file             1213 drivers/vfio/vfio.c static int vfio_fops_release(struct inode *inode, struct file *filep)
file             1228 drivers/vfio/vfio.c static ssize_t vfio_fops_read(struct file *filep, char __user *buf,
file             1243 drivers/vfio/vfio.c static ssize_t vfio_fops_write(struct file *filep, const char __user *buf,
file             1258 drivers/vfio/vfio.c static int vfio_fops_mmap(struct file *filep, struct vm_area_struct *vma)
file             1362 drivers/vfio/vfio.c 	if (!f.file)
file             1366 drivers/vfio/vfio.c 	if (f.file->f_op != &vfio_fops) {
file             1371 drivers/vfio/vfio.c 	container = f.file->private_data;
file             1433 drivers/vfio/vfio.c 	struct file *filep;
file             1492 drivers/vfio/vfio.c static long vfio_group_fops_unl_ioctl(struct file *filep,
file             1560 drivers/vfio/vfio.c static long vfio_group_fops_compat_ioctl(struct file *filep,
file             1568 drivers/vfio/vfio.c static int vfio_group_fops_open(struct inode *inode, struct file *filep)
file             1605 drivers/vfio/vfio.c static int vfio_group_fops_release(struct inode *inode, struct file *filep)
file             1633 drivers/vfio/vfio.c static int vfio_device_fops_release(struct inode *inode, struct file *filep)
file             1646 drivers/vfio/vfio.c static long vfio_device_fops_unl_ioctl(struct file *filep,
file             1657 drivers/vfio/vfio.c static ssize_t vfio_device_fops_read(struct file *filep, char __user *buf,
file             1668 drivers/vfio/vfio.c static ssize_t vfio_device_fops_write(struct file *filep,
file             1680 drivers/vfio/vfio.c static int vfio_device_fops_mmap(struct file *filep, struct vm_area_struct *vma)
file             1691 drivers/vfio/vfio.c static long vfio_device_fops_compat_ioctl(struct file *filep,
file             1738 drivers/vfio/vfio.c struct vfio_group *vfio_group_get_external_user(struct file *filep)
file             1764 drivers/vfio/vfio.c 				    struct file *filep)
file               78 drivers/vfio/virqfd.c static void virqfd_ptable_queue_proc(struct file *file,
file              129 drivers/vfio/virqfd.c 	if (!irqfd.file) {
file              134 drivers/vfio/virqfd.c 	ctx = eventfd_ctx_fileget(irqfd.file);
file              166 drivers/vfio/virqfd.c 	events = vfs_poll(irqfd.file, &virqfd->pt);
file              444 drivers/vhost/net.c 	return vhost_poll_start(poll, sock->file);
file             1273 drivers/vhost/net.c static int vhost_net_open(struct inode *inode, struct file *f)
file             1386 drivers/vhost/net.c static int vhost_net_release(struct inode *inode, struct file *f)
file             1442 drivers/vhost/net.c 	struct file *file = fget(fd);
file             1444 drivers/vhost/net.c 	if (!file)
file             1446 drivers/vhost/net.c 	ring = tun_get_tx_ring(file);
file             1449 drivers/vhost/net.c 	ring = tap_get_ptr_ring(file);
file             1454 drivers/vhost/net.c 	fput(file);
file             1460 drivers/vhost/net.c 	struct file *file = fget(fd);
file             1463 drivers/vhost/net.c 	if (!file)
file             1465 drivers/vhost/net.c 	sock = tun_get_socket(file);
file             1468 drivers/vhost/net.c 	sock = tap_get_socket(file);
file             1470 drivers/vhost/net.c 		fput(file);
file             1693 drivers/vhost/net.c static long vhost_net_ioctl(struct file *f, unsigned int ioctl,
file             1747 drivers/vhost/net.c static long vhost_net_compat_ioctl(struct file *f, unsigned int ioctl,
file             1756 drivers/vhost/net.c 	struct file *file = iocb->ki_filp;
file             1757 drivers/vhost/net.c 	struct vhost_net *n = file->private_data;
file             1759 drivers/vhost/net.c 	int noblock = file->f_flags & O_NONBLOCK;
file             1767 drivers/vhost/net.c 	struct file *file = iocb->ki_filp;
file             1768 drivers/vhost/net.c 	struct vhost_net *n = file->private_data;
file             1774 drivers/vhost/net.c static __poll_t vhost_net_chr_poll(struct file *file, poll_table *wait)
file             1776 drivers/vhost/net.c 	struct vhost_net *n = file->private_data;
file             1779 drivers/vhost/net.c 	return vhost_chr_poll(file, dev, wait);
file             1599 drivers/vhost/scsi.c static int vhost_scsi_open(struct inode *inode, struct file *f)
file             1644 drivers/vhost/scsi.c static int vhost_scsi_release(struct inode *inode, struct file *f)
file             1663 drivers/vhost/scsi.c vhost_scsi_ioctl(struct file *f,
file             1731 drivers/vhost/scsi.c static long vhost_scsi_compat_ioctl(struct file *f, unsigned int ioctl,
file              105 drivers/vhost/test.c static int vhost_test_open(struct inode *inode, struct file *f)
file              157 drivers/vhost/test.c static int vhost_test_release(struct inode *inode, struct file *f)
file              266 drivers/vhost/test.c static long vhost_test_ioctl(struct file *f, unsigned int ioctl,
file              308 drivers/vhost/test.c static long vhost_test_compat_ioctl(struct file *f, unsigned int ioctl,
file              158 drivers/vhost/vhost.c static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh,
file              203 drivers/vhost/vhost.c int vhost_poll_start(struct vhost_poll *poll, struct file *file)
file              210 drivers/vhost/vhost.c 	mask = vfs_poll(file, &poll->table);
file             1187 drivers/vhost/vhost.c __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
file             1192 drivers/vhost/vhost.c 	poll_wait(file, &dev->wait, wait);
file             1587 drivers/vhost/vhost.c 	struct file *eventfp, *filep = NULL;
file               43 drivers/vhost/vhost.h int vhost_poll_start(struct vhost_poll *poll, struct file *file);
file               94 drivers/vhost/vhost.h 	struct file *kick;
file              223 drivers/vhost/vhost.h __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
file              556 drivers/vhost/vsock.c static int vhost_vsock_dev_open(struct inode *inode, struct file *file)
file              588 drivers/vhost/vsock.c 	file->private_data = vsock;
file              635 drivers/vhost/vsock.c static int vhost_vsock_dev_release(struct inode *inode, struct file *file)
file              637 drivers/vhost/vsock.c 	struct vhost_vsock *vsock = file->private_data;
file              728 drivers/vhost/vsock.c static long vhost_vsock_dev_ioctl(struct file *f, unsigned int ioctl,
file              772 drivers/vhost/vsock.c static long vhost_vsock_dev_compat_ioctl(struct file *f, unsigned int ioctl,
file             2215 drivers/video/fbdev/aty/radeon_base.c static ssize_t radeon_show_edid1(struct file *filp, struct kobject *kobj,
file             2227 drivers/video/fbdev/aty/radeon_base.c static ssize_t radeon_show_edid2(struct file *filp, struct kobject *kobj,
file               68 drivers/video/fbdev/core/fb_defio.c int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file               70 drivers/video/fbdev/core/fb_defio.c 	struct fb_info *info = file->private_data;
file               71 drivers/video/fbdev/core/fb_defio.c 	struct inode *inode = file_inode(file);
file               72 drivers/video/fbdev/core/fb_defio.c 	int err = file_write_and_wait_range(file, start, end);
file              219 drivers/video/fbdev/core/fb_defio.c 			 struct file *file)
file              221 drivers/video/fbdev/core/fb_defio.c 	file->f_mapping->a_ops = &fb_deferred_io_aops;
file              746 drivers/video/fbdev/core/fbmem.c static struct fb_info *file_fb_info(struct file *file)
file              748 drivers/video/fbdev/core/fbmem.c 	struct inode *inode = file_inode(file);
file              752 drivers/video/fbdev/core/fbmem.c 	if (info != file->private_data)
file              758 drivers/video/fbdev/core/fbmem.c fb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              761 drivers/video/fbdev/core/fbmem.c 	struct fb_info *info = file_fb_info(file);
file              823 drivers/video/fbdev/core/fbmem.c fb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
file              826 drivers/video/fbdev/core/fbmem.c 	struct fb_info *info = file_fb_info(file);
file             1174 drivers/video/fbdev/core/fbmem.c static long fb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1176 drivers/video/fbdev/core/fbmem.c 	struct fb_info *info = file_fb_info(file);
file             1291 drivers/video/fbdev/core/fbmem.c static long fb_compat_ioctl(struct file *file, unsigned int cmd,
file             1294 drivers/video/fbdev/core/fbmem.c 	struct fb_info *info = file_fb_info(file);
file             1332 drivers/video/fbdev/core/fbmem.c fb_mmap(struct file *file, struct vm_area_struct * vma)
file             1334 drivers/video/fbdev/core/fbmem.c 	struct fb_info *info = file_fb_info(file);
file             1382 drivers/video/fbdev/core/fbmem.c 	fb_pgprotect(file, vma, start);
file             1388 drivers/video/fbdev/core/fbmem.c fb_open(struct inode *inode, struct file *file)
file             1411 drivers/video/fbdev/core/fbmem.c 	file->private_data = info;
file             1419 drivers/video/fbdev/core/fbmem.c 		fb_deferred_io_open(info, inode, file);
file             1429 drivers/video/fbdev/core/fbmem.c fb_release(struct inode *inode, struct file *file)
file             1433 drivers/video/fbdev/core/fbmem.c 	struct fb_info * const info = file->private_data;
file             1445 drivers/video/fbdev/core/fbmem.c unsigned long get_fb_unmapped_area(struct file *filp,
file               19 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t write_file_dummy(struct file *file, const char __user *buf,
file               25 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t sysconf_read_file(struct file *file, char __user *userbuf,
file               41 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t gsctl_read_file(struct file *file, char __user *userbuf,
file               69 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t display_read_file(struct file *file, char __user *userbuf,
file              109 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t clock_read_file(struct file *file, char __user *userbuf,
file              132 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t sdram_read_file(struct file *file, char __user *userbuf,
file              154 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t misc_read_file(struct file *file, char __user *userbuf,
file              361 drivers/video/fbdev/pxa3xx-gcu.c static inline struct pxa3xx_gcu_priv *to_pxa3xx_gcu_priv(struct file *file)
file              363 drivers/video/fbdev/pxa3xx-gcu.c 	struct miscdevice *dev = file->private_data;
file              371 drivers/video/fbdev/pxa3xx-gcu.c static int pxa3xx_gcu_open(struct inode *inode, struct file *file)
file              377 drivers/video/fbdev/pxa3xx-gcu.c pxa3xx_gcu_write(struct file *file, const char *buff,
file              383 drivers/video/fbdev/pxa3xx-gcu.c 	struct pxa3xx_gcu_priv *priv = to_pxa3xx_gcu_priv(file);
file              453 drivers/video/fbdev/pxa3xx-gcu.c pxa3xx_gcu_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              456 drivers/video/fbdev/pxa3xx-gcu.c 	struct pxa3xx_gcu_priv *priv = to_pxa3xx_gcu_priv(file);
file              473 drivers/video/fbdev/pxa3xx-gcu.c pxa3xx_gcu_mmap(struct file *file, struct vm_area_struct *vma)
file              476 drivers/video/fbdev/pxa3xx-gcu.c 	struct pxa3xx_gcu_priv *priv = to_pxa3xx_gcu_priv(file);
file             1458 drivers/video/fbdev/udlfb.c 			struct file *filp,
file             1480 drivers/video/fbdev/udlfb.c 			struct file *filp,
file             1124 drivers/video/fbdev/via/viafbdev.c static int viafb_dvp0_proc_open(struct inode *inode, struct file *file)
file             1126 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_dvp0_proc_show, NULL);
file             1129 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_dvp0_proc_write(struct file *file,
file             1195 drivers/video/fbdev/via/viafbdev.c static int viafb_dvp1_proc_open(struct inode *inode, struct file *file)
file             1197 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_dvp1_proc_show, NULL);
file             1200 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_dvp1_proc_write(struct file *file,
file             1258 drivers/video/fbdev/via/viafbdev.c static int viafb_dfph_proc_open(struct inode *inode, struct file *file)
file             1260 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_dfph_proc_show, NULL);
file             1263 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_dfph_proc_write(struct file *file,
file             1293 drivers/video/fbdev/via/viafbdev.c static int viafb_dfpl_proc_open(struct inode *inode, struct file *file)
file             1295 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_dfpl_proc_show, NULL);
file             1298 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_dfpl_proc_write(struct file *file,
file             1352 drivers/video/fbdev/via/viafbdev.c static int viafb_vt1636_proc_open(struct inode *inode, struct file *file)
file             1354 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_vt1636_proc_show, NULL);
file             1357 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_vt1636_proc_write(struct file *file,
file             1500 drivers/video/fbdev/via/viafbdev.c static int viafb_iga1_odev_proc_open(struct inode *inode, struct file *file)
file             1502 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_iga1_odev_proc_show, NULL);
file             1505 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_iga1_odev_proc_write(struct file *file,
file             1540 drivers/video/fbdev/via/viafbdev.c static int viafb_iga2_odev_proc_open(struct inode *inode, struct file *file)
file             1542 drivers/video/fbdev/via/viafbdev.c 	return single_open(file, viafb_iga2_odev_proc_show, NULL);
file             1545 drivers/video/fbdev/via/viafbdev.c static ssize_t viafb_iga2_odev_proc_write(struct file *file,
file              413 drivers/virt/fsl_hypervisor.c static long fsl_hv_ioctl(struct file *file, unsigned int cmd,
file              571 drivers/virt/fsl_hypervisor.c static __poll_t fsl_hv_poll(struct file *filp, struct poll_table_struct *p)
file              594 drivers/virt/fsl_hypervisor.c static ssize_t fsl_hv_read(struct file *filp, char __user *buf, size_t len,
file              659 drivers/virt/fsl_hypervisor.c static int fsl_hv_open(struct inode *inode, struct file *filp)
file              686 drivers/virt/fsl_hypervisor.c static int fsl_hv_close(struct inode *inode, struct file *filp)
file               49 drivers/virt/vboxguest/vboxguest_linux.c static int vbg_misc_device_open(struct inode *inode, struct file *filp)
file               65 drivers/virt/vboxguest/vboxguest_linux.c static int vbg_misc_device_user_open(struct inode *inode, struct file *filp)
file               89 drivers/virt/vboxguest/vboxguest_linux.c static int vbg_misc_device_close(struct inode *inode, struct file *filp)
file              103 drivers/virt/vboxguest/vboxguest_linux.c static long vbg_misc_device_ioctl(struct file *filp, unsigned int req,
file              474 drivers/visorbus/visorbus_main.c static int bus_info_debugfs_open(struct inode *inode, struct file *file)
file              476 drivers/visorbus/visorbus_main.c 	return single_open(file, bus_info_debugfs_show, inode->i_private);
file               26 drivers/w1/slaves/w1_ds2406.c 	struct file *filp, struct kobject *kobj,
file               63 drivers/w1/slaves/w1_ds2406.c 	struct file *filp, struct kobject *kobj,
file               67 drivers/w1/slaves/w1_ds2408.c static ssize_t state_read(struct file *filp, struct kobject *kobj,
file               79 drivers/w1/slaves/w1_ds2408.c static ssize_t output_read(struct file *filp, struct kobject *kobj,
file               92 drivers/w1/slaves/w1_ds2408.c static ssize_t activity_read(struct file *filp, struct kobject *kobj,
file              105 drivers/w1/slaves/w1_ds2408.c static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj,
file              118 drivers/w1/slaves/w1_ds2408.c static ssize_t cond_search_polarity_read(struct file *filp,
file              129 drivers/w1/slaves/w1_ds2408.c static ssize_t status_control_read(struct file *filp, struct kobject *kobj,
file              162 drivers/w1/slaves/w1_ds2408.c static ssize_t output_write(struct file *filp, struct kobject *kobj,
file              212 drivers/w1/slaves/w1_ds2408.c static ssize_t activity_write(struct file *filp, struct kobject *kobj,
file              242 drivers/w1/slaves/w1_ds2408.c static ssize_t status_control_write(struct file *filp, struct kobject *kobj,
file               27 drivers/w1/slaves/w1_ds2413.c static ssize_t state_read(struct file *filp, struct kobject *kobj,
file               83 drivers/w1/slaves/w1_ds2413.c static ssize_t output_write(struct file *filp, struct kobject *kobj,
file               97 drivers/w1/slaves/w1_ds2431.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
file              203 drivers/w1/slaves/w1_ds2431.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
file               89 drivers/w1/slaves/w1_ds2433.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
file              203 drivers/w1/slaves/w1_ds2433.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
file              255 drivers/w1/slaves/w1_ds2438.c static ssize_t iad_write(struct file *filp, struct kobject *kobj,
file              277 drivers/w1/slaves/w1_ds2438.c static ssize_t iad_read(struct file *filp, struct kobject *kobj,
file              298 drivers/w1/slaves/w1_ds2438.c static ssize_t page0_read(struct file *filp, struct kobject *kobj,
file              328 drivers/w1/slaves/w1_ds2438.c static ssize_t temperature_read(struct file *filp, struct kobject *kobj,
file              349 drivers/w1/slaves/w1_ds2438.c static ssize_t vad_read(struct file *filp, struct kobject *kobj,
file              370 drivers/w1/slaves/w1_ds2438.c static ssize_t vdd_read(struct file *filp, struct kobject *kobj,
file               89 drivers/w1/slaves/w1_ds2780.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
file               86 drivers/w1/slaves/w1_ds2781.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
file               94 drivers/w1/slaves/w1_ds2805.c static ssize_t w1_f0d_read_bin(struct file *filp, struct kobject *kobj,
file              202 drivers/w1/slaves/w1_ds2805.c static ssize_t w1_f0d_write_bin(struct file *filp, struct kobject *kobj,
file              114 drivers/w1/slaves/w1_ds28e04.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
file              222 drivers/w1/slaves/w1_ds28e04.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
file              278 drivers/w1/slaves/w1_ds28e04.c static ssize_t pio_read(struct file *filp, struct kobject *kobj,
file              297 drivers/w1/slaves/w1_ds28e04.c static ssize_t pio_write(struct file *filp, struct kobject *kobj,
file              116 drivers/w1/w1.c static ssize_t rw_write(struct file *filp, struct kobject *kobj,
file              135 drivers/w1/w1.c static ssize_t rw_read(struct file *filp, struct kobject *kobj,
file              117 drivers/watchdog/acquirewdt.c static ssize_t acq_write(struct file *file, const char __user *buf,
file              144 drivers/watchdog/acquirewdt.c static long acq_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              189 drivers/watchdog/acquirewdt.c static int acq_open(struct inode *inode, struct file *file)
file              199 drivers/watchdog/acquirewdt.c 	return stream_open(inode, file);
file              202 drivers/watchdog/acquirewdt.c static int acq_close(struct inode *inode, struct file *file)
file              109 drivers/watchdog/advantechwdt.c static ssize_t advwdt_write(struct file *file, const char __user *buf,
file              131 drivers/watchdog/advantechwdt.c static long advwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              189 drivers/watchdog/advantechwdt.c static int advwdt_open(struct inode *inode, struct file *file)
file              198 drivers/watchdog/advantechwdt.c 	return stream_open(inode, file);
file              201 drivers/watchdog/advantechwdt.c static int advwdt_close(struct inode *inode, struct file *file)
file              137 drivers/watchdog/alim1535_wdt.c static ssize_t ali_write(struct file *file, const char __user *data,
file              176 drivers/watchdog/alim1535_wdt.c static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              240 drivers/watchdog/alim1535_wdt.c static int ali_open(struct inode *inode, struct file *file)
file              248 drivers/watchdog/alim1535_wdt.c 	return stream_open(inode, file);
file              260 drivers/watchdog/alim1535_wdt.c static int ali_release(struct inode *inode, struct file *file)
file              184 drivers/watchdog/alim7101_wdt.c static ssize_t fop_write(struct file *file, const char __user *buf,
file              211 drivers/watchdog/alim7101_wdt.c static int fop_open(struct inode *inode, struct file *file)
file              218 drivers/watchdog/alim7101_wdt.c 	return stream_open(inode, file);
file              221 drivers/watchdog/alim7101_wdt.c static int fop_close(struct inode *inode, struct file *file)
file              234 drivers/watchdog/alim7101_wdt.c static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              158 drivers/watchdog/ar7_wdt.c static int ar7_wdt_open(struct inode *inode, struct file *file)
file              166 drivers/watchdog/ar7_wdt.c 	return stream_open(inode, file);
file              169 drivers/watchdog/ar7_wdt.c static int ar7_wdt_release(struct inode *inode, struct file *file)
file              179 drivers/watchdog/ar7_wdt.c static ssize_t ar7_wdt_write(struct file *file, const char *data,
file              203 drivers/watchdog/ar7_wdt.c static long ar7_wdt_ioctl(struct file *file,
file              107 drivers/watchdog/at91rm9200_wdt.c static int at91_wdt_open(struct inode *inode, struct file *file)
file              113 drivers/watchdog/at91rm9200_wdt.c 	return stream_open(inode, file);
file              121 drivers/watchdog/at91rm9200_wdt.c static int at91_wdt_close(struct inode *inode, struct file *file)
file              159 drivers/watchdog/at91rm9200_wdt.c static long at91_wdt_ioctl(struct file *file,
file              203 drivers/watchdog/at91rm9200_wdt.c static ssize_t at91_wdt_write(struct file *file, const char *data,
file              123 drivers/watchdog/ath79_wdt.c static int ath79_wdt_open(struct inode *inode, struct file *file)
file              131 drivers/watchdog/ath79_wdt.c 	return stream_open(inode, file);
file              134 drivers/watchdog/ath79_wdt.c static int ath79_wdt_release(struct inode *inode, struct file *file)
file              149 drivers/watchdog/ath79_wdt.c static ssize_t ath79_wdt_write(struct file *file, const char *data,
file              183 drivers/watchdog/ath79_wdt.c static long ath79_wdt_ioctl(struct file *file, unsigned int cmd,
file              113 drivers/watchdog/bcm63xx_wdt.c static int bcm63xx_wdt_open(struct inode *inode, struct file *file)
file              119 drivers/watchdog/bcm63xx_wdt.c 	return stream_open(inode, file);
file              122 drivers/watchdog/bcm63xx_wdt.c static int bcm63xx_wdt_release(struct inode *inode, struct file *file)
file              135 drivers/watchdog/bcm63xx_wdt.c static ssize_t bcm63xx_wdt_write(struct file *file, const char *data,
file              166 drivers/watchdog/bcm63xx_wdt.c static long bcm63xx_wdt_ioctl(struct file *file, unsigned int cmd,
file              125 drivers/watchdog/cpu5wdt.c static int cpu5wdt_open(struct inode *inode, struct file *file)
file              129 drivers/watchdog/cpu5wdt.c 	return stream_open(inode, file);
file              132 drivers/watchdog/cpu5wdt.c static int cpu5wdt_release(struct inode *inode, struct file *file)
file              138 drivers/watchdog/cpu5wdt.c static long cpu5wdt_ioctl(struct file *file, unsigned int cmd,
file              177 drivers/watchdog/cpu5wdt.c static ssize_t cpu5wdt_write(struct file *file, const char __user *buf,
file              370 drivers/watchdog/cpwd.c static int cpwd_open(struct inode *inode, struct file *f)
file              402 drivers/watchdog/cpwd.c static int cpwd_release(struct inode *inode, struct file *file)
file              407 drivers/watchdog/cpwd.c static long cpwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              415 drivers/watchdog/cpwd.c 	struct inode *inode = file_inode(file);
file              477 drivers/watchdog/cpwd.c static long cpwd_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              479 drivers/watchdog/cpwd.c 	return cpwd_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              482 drivers/watchdog/cpwd.c static ssize_t cpwd_write(struct file *file, const char __user *buf,
file              485 drivers/watchdog/cpwd.c 	struct inode *inode = file_inode(file);
file              497 drivers/watchdog/cpwd.c static ssize_t cpwd_read(struct file *file, char __user *buffer,
file              198 drivers/watchdog/eurotechwdt.c static ssize_t eurwdt_write(struct file *file, const char __user *buf,
file              232 drivers/watchdog/eurotechwdt.c static long eurwdt_ioctl(struct file *file,
file              308 drivers/watchdog/eurotechwdt.c static int eurwdt_open(struct inode *inode, struct file *file)
file              315 drivers/watchdog/eurotechwdt.c 	return stream_open(inode, file);
file              330 drivers/watchdog/eurotechwdt.c static int eurwdt_release(struct inode *inode, struct file *file)
file              511 drivers/watchdog/f71808e_wdt.c static int watchdog_open(struct inode *inode, struct file *file)
file              529 drivers/watchdog/f71808e_wdt.c 	return stream_open(inode, file);
file              532 drivers/watchdog/f71808e_wdt.c static int watchdog_release(struct inode *inode, struct file *file)
file              556 drivers/watchdog/f71808e_wdt.c static ssize_t watchdog_write(struct file *file, const char __user *buf,
file              596 drivers/watchdog/f71808e_wdt.c static long watchdog_ioctl(struct file *file, unsigned int cmd,
file              135 drivers/watchdog/gef_wdt.c static ssize_t gef_wdt_write(struct file *file, const char __user *data,
file              158 drivers/watchdog/gef_wdt.c static long gef_wdt_ioctl(struct file *file, unsigned int cmd,
file              218 drivers/watchdog/gef_wdt.c static int gef_wdt_open(struct inode *inode, struct file *file)
file              228 drivers/watchdog/gef_wdt.c 	return stream_open(inode, file);
file              231 drivers/watchdog/gef_wdt.c static int gef_wdt_release(struct inode *inode, struct file *file)
file               82 drivers/watchdog/geodewdt.c static int geodewdt_open(struct inode *inode, struct file *file)
file               91 drivers/watchdog/geodewdt.c 	return stream_open(inode, file);
file               94 drivers/watchdog/geodewdt.c static int geodewdt_release(struct inode *inode, struct file *file)
file              111 drivers/watchdog/geodewdt.c static ssize_t geodewdt_write(struct file *file, const char __user *data,
file              135 drivers/watchdog/geodewdt.c static long geodewdt_ioctl(struct file *file, unsigned int cmd,
file              144 drivers/watchdog/ib700wdt.c static ssize_t ibwdt_write(struct file *file, const char __user *buf,
file              167 drivers/watchdog/ib700wdt.c static long ibwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              228 drivers/watchdog/ib700wdt.c static int ibwdt_open(struct inode *inode, struct file *file)
file              237 drivers/watchdog/ib700wdt.c 	return stream_open(inode, file);
file              240 drivers/watchdog/ib700wdt.c static int ibwdt_close(struct inode *inode, struct file *file)
file              247 drivers/watchdog/ibmasr.c static ssize_t asr_write(struct file *file, const char __user *buf,
file              270 drivers/watchdog/ibmasr.c static long asr_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              318 drivers/watchdog/ibmasr.c static int asr_open(struct inode *inode, struct file *file)
file              326 drivers/watchdog/ibmasr.c 	return stream_open(inode, file);
file              329 drivers/watchdog/ibmasr.c static int asr_release(struct inode *inode, struct file *file)
file               62 drivers/watchdog/indydog.c static int indydog_open(struct inode *inode, struct file *file)
file               76 drivers/watchdog/indydog.c 	return stream_open(inode, file);
file               79 drivers/watchdog/indydog.c static int indydog_release(struct inode *inode, struct file *file)
file               89 drivers/watchdog/indydog.c static ssize_t indydog_write(struct file *file, const char *data,
file               98 drivers/watchdog/indydog.c static long indydog_ioctl(struct file *file, unsigned int cmd,
file              280 drivers/watchdog/intel_scu_watchdog.c static int intel_scu_open(struct inode *inode, struct file *file)
file              291 drivers/watchdog/intel_scu_watchdog.c 	return stream_open(inode, file);
file              294 drivers/watchdog/intel_scu_watchdog.c static int intel_scu_release(struct inode *inode, struct file *file)
file              331 drivers/watchdog/intel_scu_watchdog.c static ssize_t intel_scu_write(struct file *file,
file              347 drivers/watchdog/intel_scu_watchdog.c static long intel_scu_ioctl(struct file *file,
file               84 drivers/watchdog/iop_wdt.c static int iop_wdt_open(struct inode *inode, struct file *file)
file               92 drivers/watchdog/iop_wdt.c 	return stream_open(inode, file);
file               95 drivers/watchdog/iop_wdt.c static ssize_t iop_wdt_write(struct file *file, const char *data, size_t len,
file              123 drivers/watchdog/iop_wdt.c static long iop_wdt_ioctl(struct file *file,
file              178 drivers/watchdog/iop_wdt.c static int iop_wdt_release(struct inode *inode, struct file *file)
file              232 drivers/watchdog/it8712f_wdt.c static ssize_t it8712f_wdt_write(struct file *file, const char __user *data,
file              254 drivers/watchdog/it8712f_wdt.c static long it8712f_wdt_ioctl(struct file *file, unsigned int cmd,
file              316 drivers/watchdog/it8712f_wdt.c static int it8712f_wdt_open(struct inode *inode, struct file *file)
file              326 drivers/watchdog/it8712f_wdt.c 	return stream_open(inode, file);
file              329 drivers/watchdog/it8712f_wdt.c static int it8712f_wdt_release(struct inode *inode, struct file *file)
file               62 drivers/watchdog/ixp4xx_wdt.c static int ixp4xx_wdt_open(struct inode *inode, struct file *file)
file               69 drivers/watchdog/ixp4xx_wdt.c 	return stream_open(inode, file);
file               73 drivers/watchdog/ixp4xx_wdt.c ixp4xx_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos)
file              102 drivers/watchdog/ixp4xx_wdt.c static long ixp4xx_wdt_ioctl(struct file *file, unsigned int cmd,
file              148 drivers/watchdog/ixp4xx_wdt.c static int ixp4xx_wdt_release(struct inode *inode, struct file *file)
file               81 drivers/watchdog/m54xx_wdt.c static int m54xx_wdt_open(struct inode *inode, struct file *file)
file               88 drivers/watchdog/m54xx_wdt.c 	return stream_open(inode, file);
file               91 drivers/watchdog/m54xx_wdt.c static ssize_t m54xx_wdt_write(struct file *file, const char *data,
file              120 drivers/watchdog/m54xx_wdt.c static long m54xx_wdt_ioctl(struct file *file, unsigned int cmd,
file              166 drivers/watchdog/m54xx_wdt.c static int m54xx_wdt_release(struct inode *inode, struct file *file)
file              264 drivers/watchdog/machzwd.c static ssize_t zf_write(struct file *file, const char __user *buf, size_t count,
file              303 drivers/watchdog/machzwd.c static long zf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              324 drivers/watchdog/machzwd.c static int zf_open(struct inode *inode, struct file *file)
file              331 drivers/watchdog/machzwd.c 	return stream_open(inode, file);
file              334 drivers/watchdog/machzwd.c static int zf_close(struct inode *inode, struct file *file)
file              493 drivers/watchdog/mei_wdt.c static ssize_t mei_dbgfs_read_activation(struct file *file, char __user *ubuf,
file              496 drivers/watchdog/mei_wdt.c 	struct mei_wdt *wdt = file->private_data;
file              515 drivers/watchdog/mei_wdt.c static ssize_t mei_dbgfs_read_state(struct file *file, char __user *ubuf,
file              518 drivers/watchdog/mei_wdt.c 	struct mei_wdt *wdt = file->private_data;
file              128 drivers/watchdog/mixcomwd.c static int mixcomwd_open(struct inode *inode, struct file *file)
file              148 drivers/watchdog/mixcomwd.c 	return stream_open(inode, file);
file              151 drivers/watchdog/mixcomwd.c static int mixcomwd_release(struct inode *inode, struct file *file)
file              169 drivers/watchdog/mixcomwd.c static ssize_t mixcomwd_write(struct file *file, const char __user *data,
file              192 drivers/watchdog/mixcomwd.c static long mixcomwd_ioctl(struct file *file,
file              117 drivers/watchdog/mtx-1_wdt.c static int mtx1_wdt_open(struct inode *inode, struct file *file)
file              121 drivers/watchdog/mtx-1_wdt.c 	return stream_open(inode, file);
file              125 drivers/watchdog/mtx-1_wdt.c static int mtx1_wdt_release(struct inode *inode, struct file *file)
file              131 drivers/watchdog/mtx-1_wdt.c static long mtx1_wdt_ioctl(struct file *file, unsigned int cmd,
file              171 drivers/watchdog/mtx-1_wdt.c static ssize_t mtx1_wdt_write(struct file *file, const char *buf,
file              124 drivers/watchdog/mv64x60_wdt.c static int mv64x60_wdt_open(struct inode *inode, struct file *file)
file              134 drivers/watchdog/mv64x60_wdt.c 	return stream_open(inode, file);
file              137 drivers/watchdog/mv64x60_wdt.c static int mv64x60_wdt_release(struct inode *inode, struct file *file)
file              152 drivers/watchdog/mv64x60_wdt.c static ssize_t mv64x60_wdt_write(struct file *file, const char __user *data,
file              175 drivers/watchdog/mv64x60_wdt.c static long mv64x60_wdt_ioctl(struct file *file,
file              151 drivers/watchdog/nv_tco.c static int nv_tco_open(struct inode *inode, struct file *file)
file              160 drivers/watchdog/nv_tco.c 	return stream_open(inode, file);
file              163 drivers/watchdog/nv_tco.c static int nv_tco_release(struct inode *inode, struct file *file)
file              177 drivers/watchdog/nv_tco.c static ssize_t nv_tco_write(struct file *file, const char __user *data,
file              210 drivers/watchdog/nv_tco.c static long nv_tco_ioctl(struct file *file, unsigned int cmd,
file              270 drivers/watchdog/pc87413_wdt.c static int pc87413_open(struct inode *inode, struct file *file)
file              285 drivers/watchdog/pc87413_wdt.c 	return stream_open(inode, file);
file              300 drivers/watchdog/pc87413_wdt.c static int pc87413_release(struct inode *inode, struct file *file)
file              339 drivers/watchdog/pc87413_wdt.c static ssize_t pc87413_write(struct file *file, const char __user *data,
file              378 drivers/watchdog/pc87413_wdt.c static long pc87413_ioctl(struct file *file, unsigned int cmd,
file              586 drivers/watchdog/pcwd.c static long pcwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              666 drivers/watchdog/pcwd.c static ssize_t pcwd_write(struct file *file, const char __user *buf, size_t len,
file              690 drivers/watchdog/pcwd.c static int pcwd_open(struct inode *inode, struct file *file)
file              699 drivers/watchdog/pcwd.c 	return stream_open(inode, file);
file              702 drivers/watchdog/pcwd.c static int pcwd_close(struct inode *inode, struct file *file)
file              719 drivers/watchdog/pcwd.c static ssize_t pcwd_temp_read(struct file *file, char __user *buf, size_t count,
file              733 drivers/watchdog/pcwd.c static int pcwd_temp_open(struct inode *inode, struct file *file)
file              738 drivers/watchdog/pcwd.c 	return stream_open(inode, file);
file              741 drivers/watchdog/pcwd.c static int pcwd_temp_close(struct inode *inode, struct file *file)
file              434 drivers/watchdog/pcwd_pci.c static ssize_t pcipcwd_write(struct file *file, const char __user *data,
file              463 drivers/watchdog/pcwd_pci.c static long pcipcwd_ioctl(struct file *file, unsigned int cmd,
file              565 drivers/watchdog/pcwd_pci.c static int pcipcwd_open(struct inode *inode, struct file *file)
file              577 drivers/watchdog/pcwd_pci.c 	return stream_open(inode, file);
file              580 drivers/watchdog/pcwd_pci.c static int pcipcwd_release(struct inode *inode, struct file *file)
file              600 drivers/watchdog/pcwd_pci.c static ssize_t pcipcwd_temp_read(struct file *file, char __user *data,
file              614 drivers/watchdog/pcwd_pci.c static int pcipcwd_temp_open(struct inode *inode, struct file *file)
file              619 drivers/watchdog/pcwd_pci.c 	return stream_open(inode, file);
file              622 drivers/watchdog/pcwd_pci.c static int pcipcwd_temp_release(struct inode *inode, struct file *file)
file              359 drivers/watchdog/pcwd_usb.c static ssize_t usb_pcwd_write(struct file *file, const char __user *data,
file              388 drivers/watchdog/pcwd_usb.c static long usb_pcwd_ioctl(struct file *file, unsigned int cmd,
file              475 drivers/watchdog/pcwd_usb.c static int usb_pcwd_open(struct inode *inode, struct file *file)
file              484 drivers/watchdog/pcwd_usb.c 	return stream_open(inode, file);
file              487 drivers/watchdog/pcwd_usb.c static int usb_pcwd_release(struct inode *inode, struct file *file)
file              507 drivers/watchdog/pcwd_usb.c static ssize_t usb_pcwd_temperature_read(struct file *file, char __user *data,
file              521 drivers/watchdog/pcwd_usb.c static int usb_pcwd_temperature_open(struct inode *inode, struct file *file)
file              523 drivers/watchdog/pcwd_usb.c 	return stream_open(inode, file);
file              526 drivers/watchdog/pcwd_usb.c static int usb_pcwd_temperature_release(struct inode *inode, struct file *file)
file              114 drivers/watchdog/pika_wdt.c static int pikawdt_open(struct inode *inode, struct file *file)
file              122 drivers/watchdog/pika_wdt.c 	return stream_open(inode, file);
file              128 drivers/watchdog/pika_wdt.c static int pikawdt_release(struct inode *inode, struct file *file)
file              142 drivers/watchdog/pika_wdt.c static ssize_t pikawdt_write(struct file *file, const char __user *data,
file              173 drivers/watchdog/pika_wdt.c static long pikawdt_ioctl(struct file *file,
file               99 drivers/watchdog/pnx833x_wdt.c static int pnx833x_wdt_open(struct inode *inode, struct file *file)
file              115 drivers/watchdog/pnx833x_wdt.c 	return stream_open(inode, file);
file              118 drivers/watchdog/pnx833x_wdt.c static int pnx833x_wdt_release(struct inode *inode, struct file *file)
file              129 drivers/watchdog/pnx833x_wdt.c static ssize_t pnx833x_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos)
file              138 drivers/watchdog/pnx833x_wdt.c static long pnx833x_wdt_ioctl(struct file *file, unsigned int cmd,
file              137 drivers/watchdog/rc32434_wdt.c static int rc32434_wdt_open(struct inode *inode, struct file *file)
file              148 drivers/watchdog/rc32434_wdt.c 	return stream_open(inode, file);
file              151 drivers/watchdog/rc32434_wdt.c static int rc32434_wdt_release(struct inode *inode, struct file *file)
file              164 drivers/watchdog/rc32434_wdt.c static ssize_t rc32434_wdt_write(struct file *file, const char *data,
file              188 drivers/watchdog/rc32434_wdt.c static long rc32434_wdt_ioctl(struct file *file, unsigned int cmd,
file              126 drivers/watchdog/rdc321x_wdt.c static int rdc321x_wdt_open(struct inode *inode, struct file *file)
file              131 drivers/watchdog/rdc321x_wdt.c 	return stream_open(inode, file);
file              134 drivers/watchdog/rdc321x_wdt.c static int rdc321x_wdt_release(struct inode *inode, struct file *file)
file              140 drivers/watchdog/rdc321x_wdt.c static long rdc321x_wdt_ioctl(struct file *file, unsigned int cmd,
file              187 drivers/watchdog/rdc321x_wdt.c static ssize_t rdc321x_wdt_write(struct file *file, const char __user *buf,
file               78 drivers/watchdog/riowd.c static int riowd_open(struct inode *inode, struct file *filp)
file               84 drivers/watchdog/riowd.c static int riowd_release(struct inode *inode, struct file *filp)
file               89 drivers/watchdog/riowd.c static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              149 drivers/watchdog/riowd.c static ssize_t riowd_write(struct file *file, const char __user *buf,
file               48 drivers/watchdog/sa1100_wdt.c static int sa1100dog_open(struct inode *inode, struct file *file)
file               58 drivers/watchdog/sa1100_wdt.c 	return stream_open(inode, file);
file               68 drivers/watchdog/sa1100_wdt.c static int sa1100dog_release(struct inode *inode, struct file *file)
file               75 drivers/watchdog/sa1100_wdt.c static ssize_t sa1100dog_write(struct file *file, const char __user *data,
file               91 drivers/watchdog/sa1100_wdt.c static long sa1100dog_ioctl(struct file *file, unsigned int cmd,
file              106 drivers/watchdog/sb_wdog.c static int sbwdog_open(struct inode *inode, struct file *file)
file              108 drivers/watchdog/sb_wdog.c 	stream_open(inode, file);
file              125 drivers/watchdog/sb_wdog.c static int sbwdog_release(struct inode *inode, struct file *file)
file              144 drivers/watchdog/sb_wdog.c static ssize_t sbwdog_write(struct file *file, const char __user *data,
file              169 drivers/watchdog/sb_wdog.c static long sbwdog_ioctl(struct file *file, unsigned int cmd,
file              164 drivers/watchdog/sbc60xxwdt.c static ssize_t fop_write(struct file *file, const char __user *buf,
file              194 drivers/watchdog/sbc60xxwdt.c static int fop_open(struct inode *inode, struct file *file)
file              205 drivers/watchdog/sbc60xxwdt.c 	return stream_open(inode, file);
file              208 drivers/watchdog/sbc60xxwdt.c static int fop_close(struct inode *inode, struct file *file)
file              221 drivers/watchdog/sbc60xxwdt.c static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               94 drivers/watchdog/sbc7240_wdt.c static ssize_t fop_write(struct file *file, const char __user *buf,
file              123 drivers/watchdog/sbc7240_wdt.c static int fop_open(struct inode *inode, struct file *file)
file              130 drivers/watchdog/sbc7240_wdt.c 	return stream_open(inode, file);
file              133 drivers/watchdog/sbc7240_wdt.c static int fop_close(struct inode *inode, struct file *file)
file              156 drivers/watchdog/sbc7240_wdt.c static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              237 drivers/watchdog/sbc8360.c static ssize_t sbc8360_write(struct file *file, const char __user *buf,
file              260 drivers/watchdog/sbc8360.c static int sbc8360_open(struct inode *inode, struct file *file)
file              270 drivers/watchdog/sbc8360.c 	return stream_open(inode, file);
file              273 drivers/watchdog/sbc8360.c static int sbc8360_close(struct inode *inode, struct file *file)
file               62 drivers/watchdog/sbc_epx_c3.c static int epx_c3_open(struct inode *inode, struct file *file)
file               77 drivers/watchdog/sbc_epx_c3.c 	return stream_open(inode, file);
file               80 drivers/watchdog/sbc_epx_c3.c static int epx_c3_release(struct inode *inode, struct file *file)
file               92 drivers/watchdog/sbc_epx_c3.c static ssize_t epx_c3_write(struct file *file, const char __user *data,
file              101 drivers/watchdog/sbc_epx_c3.c static long epx_c3_ioctl(struct file *file, unsigned int cmd,
file               69 drivers/watchdog/sbc_fitpc2_wdt.c static int fitpc2_wdt_open(struct inode *inode, struct file *file)
file               78 drivers/watchdog/sbc_fitpc2_wdt.c 	return stream_open(inode, file);
file               81 drivers/watchdog/sbc_fitpc2_wdt.c static ssize_t fitpc2_wdt_write(struct file *file, const char *data,
file              120 drivers/watchdog/sbc_fitpc2_wdt.c static long fitpc2_wdt_ioctl(struct file *file, unsigned int cmd,
file              167 drivers/watchdog/sbc_fitpc2_wdt.c static int fitpc2_wdt_release(struct inode *inode, struct file *file)
file              164 drivers/watchdog/sc1200wdt.c static int sc1200wdt_open(struct inode *inode, struct file *file)
file              176 drivers/watchdog/sc1200wdt.c 	return stream_open(inode, file);
file              180 drivers/watchdog/sc1200wdt.c static long sc1200wdt_ioctl(struct file *file, unsigned int cmd,
file              248 drivers/watchdog/sc1200wdt.c static int sc1200wdt_release(struct inode *inode, struct file *file)
file              264 drivers/watchdog/sc1200wdt.c static ssize_t sc1200wdt_write(struct file *file, const char __user *data,
file              218 drivers/watchdog/sc520_wdt.c static ssize_t fop_write(struct file *file, const char __user *buf,
file              247 drivers/watchdog/sc520_wdt.c static int fop_open(struct inode *inode, struct file *file)
file              257 drivers/watchdog/sc520_wdt.c 	return stream_open(inode, file);
file              260 drivers/watchdog/sc520_wdt.c static int fop_close(struct inode *inode, struct file *file)
file              273 drivers/watchdog/sc520_wdt.c static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              221 drivers/watchdog/sch311x_wdt.c static ssize_t sch311x_wdt_write(struct file *file, const char __user *buf,
file              243 drivers/watchdog/sch311x_wdt.c static long sch311x_wdt_ioctl(struct file *file, unsigned int cmd,
file              307 drivers/watchdog/sch311x_wdt.c static int sch311x_wdt_open(struct inode *inode, struct file *file)
file              315 drivers/watchdog/sch311x_wdt.c 	return stream_open(inode, file);
file              318 drivers/watchdog/sch311x_wdt.c static int sch311x_wdt_close(struct inode *inode, struct file *file)
file               95 drivers/watchdog/scx200_wdt.c static int scx200_wdt_open(struct inode *inode, struct file *file)
file              102 drivers/watchdog/scx200_wdt.c 	return stream_open(inode, file);
file              105 drivers/watchdog/scx200_wdt.c static int scx200_wdt_release(struct inode *inode, struct file *file)
file              131 drivers/watchdog/scx200_wdt.c static ssize_t scx200_wdt_write(struct file *file, const char __user *data,
file              155 drivers/watchdog/scx200_wdt.c static long scx200_wdt_ioctl(struct file *file, unsigned int cmd,
file              349 drivers/watchdog/smsc37b787_wdt.c static int wb_smsc_wdt_open(struct inode *inode, struct file *file)
file              365 drivers/watchdog/smsc37b787_wdt.c 	return stream_open(inode, file);
file              370 drivers/watchdog/smsc37b787_wdt.c static int wb_smsc_wdt_release(struct inode *inode, struct file *file)
file              389 drivers/watchdog/smsc37b787_wdt.c static ssize_t wb_smsc_wdt_write(struct file *file, const char __user *data,
file              419 drivers/watchdog/smsc37b787_wdt.c static long wb_smsc_wdt_ioctl(struct file *file,
file              186 drivers/watchdog/w83877f_wdt.c static ssize_t fop_write(struct file *file, const char __user *buf,
file              215 drivers/watchdog/w83877f_wdt.c static int fop_open(struct inode *inode, struct file *file)
file              223 drivers/watchdog/w83877f_wdt.c 	return stream_open(inode, file);
file              226 drivers/watchdog/w83877f_wdt.c static int fop_close(struct inode *inode, struct file *file)
file              239 drivers/watchdog/w83877f_wdt.c static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              286 drivers/watchdog/w83977f_wdt.c static int wdt_open(struct inode *inode, struct file *file)
file              296 drivers/watchdog/w83977f_wdt.c 	return stream_open(inode, file);
file              299 drivers/watchdog/w83977f_wdt.c static int wdt_release(struct inode *inode, struct file *file)
file              327 drivers/watchdog/w83977f_wdt.c static ssize_t wdt_write(struct file *file, const char __user *buf,
file              373 drivers/watchdog/w83977f_wdt.c static long wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               94 drivers/watchdog/wafer5823wdt.c static ssize_t wafwdt_write(struct file *file, const char __user *buf,
file              122 drivers/watchdog/wafer5823wdt.c static long wafwdt_ioctl(struct file *file, unsigned int cmd,
file              187 drivers/watchdog/wafer5823wdt.c static int wafwdt_open(struct inode *inode, struct file *file)
file              196 drivers/watchdog/wafer5823wdt.c 	return stream_open(inode, file);
file              199 drivers/watchdog/wafer5823wdt.c static int wafwdt_close(struct inode *inode, struct file *file)
file              641 drivers/watchdog/watchdog_dev.c static ssize_t watchdog_write(struct file *file, const char __user *data,
file              644 drivers/watchdog/watchdog_dev.c 	struct watchdog_core_data *wd_data = file->private_data;
file              692 drivers/watchdog/watchdog_dev.c static long watchdog_ioctl(struct file *file, unsigned int cmd,
file              695 drivers/watchdog/watchdog_dev.c 	struct watchdog_core_data *wd_data = file->private_data;
file              805 drivers/watchdog/watchdog_dev.c static int watchdog_open(struct inode *inode, struct file *file)
file              839 drivers/watchdog/watchdog_dev.c 	file->private_data = wd_data;
file              854 drivers/watchdog/watchdog_dev.c 	return stream_open(inode, file);
file              882 drivers/watchdog/watchdog_dev.c static int watchdog_release(struct inode *inode, struct file *file)
file              884 drivers/watchdog/watchdog_dev.c 	struct watchdog_core_data *wd_data = file->private_data;
file              234 drivers/watchdog/wdrtas.c static ssize_t wdrtas_write(struct file *file, const char __user *buf,
file              272 drivers/watchdog/wdrtas.c static long wdrtas_ioctl(struct file *file, unsigned int cmd,
file              355 drivers/watchdog/wdrtas.c static int wdrtas_open(struct inode *inode, struct file *file)
file              366 drivers/watchdog/wdrtas.c 	return stream_open(inode, file);
file              378 drivers/watchdog/wdrtas.c static int wdrtas_close(struct inode *inode, struct file *file)
file              406 drivers/watchdog/wdrtas.c static ssize_t wdrtas_temp_read(struct file *file, char __user *buf,
file              430 drivers/watchdog/wdrtas.c static int wdrtas_temp_open(struct inode *inode, struct file *file)
file              432 drivers/watchdog/wdrtas.c 	return stream_open(inode, file);
file              444 drivers/watchdog/wdrtas.c static int wdrtas_temp_close(struct inode *inode, struct file *file)
file              317 drivers/watchdog/wdt.c static ssize_t wdt_write(struct file *file, const char __user *buf,
file              351 drivers/watchdog/wdt.c static long wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              412 drivers/watchdog/wdt.c static int wdt_open(struct inode *inode, struct file *file)
file              420 drivers/watchdog/wdt.c 	return stream_open(inode, file);
file              435 drivers/watchdog/wdt.c static int wdt_release(struct inode *inode, struct file *file)
file              459 drivers/watchdog/wdt.c static ssize_t wdt_temp_read(struct file *file, char __user *buf,
file              478 drivers/watchdog/wdt.c static int wdt_temp_open(struct inode *inode, struct file *file)
file              480 drivers/watchdog/wdt.c 	return stream_open(inode, file);
file              491 drivers/watchdog/wdt.c static int wdt_temp_release(struct inode *inode, struct file *file)
file               67 drivers/watchdog/wdt285.c static int watchdog_open(struct inode *inode, struct file *file)
file               99 drivers/watchdog/wdt285.c 	stream_open(inode, file);
file              108 drivers/watchdog/wdt285.c static int watchdog_release(struct inode *inode, struct file *file)
file              117 drivers/watchdog/wdt285.c static ssize_t watchdog_write(struct file *file, const char __user *data,
file              134 drivers/watchdog/wdt285.c static long watchdog_ioctl(struct file *file, unsigned int cmd,
file              262 drivers/watchdog/wdt977.c static int wdt977_open(struct inode *inode, struct file *file)
file              272 drivers/watchdog/wdt977.c 	return stream_open(inode, file);
file              275 drivers/watchdog/wdt977.c static int wdt977_release(struct inode *inode, struct file *file)
file              304 drivers/watchdog/wdt977.c static ssize_t wdt977_write(struct file *file, const char __user *buf,
file              348 drivers/watchdog/wdt977.c static long wdt977_ioctl(struct file *file, unsigned int cmd,
file              353 drivers/watchdog/wdt_pci.c static ssize_t wdtpci_write(struct file *file, const char __user *buf,
file              387 drivers/watchdog/wdt_pci.c static long wdtpci_ioctl(struct file *file, unsigned int cmd,
file              449 drivers/watchdog/wdt_pci.c static int wdtpci_open(struct inode *inode, struct file *file)
file              460 drivers/watchdog/wdt_pci.c 	return stream_open(inode, file);
file              475 drivers/watchdog/wdt_pci.c static int wdtpci_release(struct inode *inode, struct file *file)
file              499 drivers/watchdog/wdt_pci.c static ssize_t wdtpci_temp_read(struct file *file, char __user *buf,
file              521 drivers/watchdog/wdt_pci.c static int wdtpci_temp_open(struct inode *inode, struct file *file)
file              523 drivers/watchdog/wdt_pci.c 	return stream_open(inode, file);
file              534 drivers/watchdog/wdt_pci.c static int wdtpci_temp_release(struct inode *inode, struct file *file)
file              190 drivers/xen/evtchn.c static ssize_t evtchn_read(struct file *file, char __user *buf,
file              195 drivers/xen/evtchn.c 	struct per_user_data *u = file->private_data;
file              220 drivers/xen/evtchn.c 		if (file->f_flags & O_NONBLOCK)
file              262 drivers/xen/evtchn.c static ssize_t evtchn_write(struct file *file, const char __user *buf,
file              267 drivers/xen/evtchn.c 	struct per_user_data *u = file->private_data;
file              454 drivers/xen/evtchn.c static long evtchn_ioctl(struct file *file,
file              458 drivers/xen/evtchn.c 	struct per_user_data *u = file->private_data;
file              624 drivers/xen/evtchn.c static __poll_t evtchn_poll(struct file *file, poll_table *wait)
file              627 drivers/xen/evtchn.c 	struct per_user_data *u = file->private_data;
file              629 drivers/xen/evtchn.c 	poll_wait(file, &u->evtchn_wait, wait);
file              637 drivers/xen/evtchn.c static int evtchn_fasync(int fd, struct file *filp, int on)
file              643 drivers/xen/evtchn.c static int evtchn_open(struct inode *inode, struct file *filp)
file              670 drivers/xen/evtchn.c static int evtchn_release(struct inode *inode, struct file *filp)
file              242 drivers/xen/gntalloc.c static int gntalloc_open(struct inode *inode, struct file *filp)
file              261 drivers/xen/gntalloc.c static int gntalloc_release(struct inode *inode, struct file *filp)
file              440 drivers/xen/gntalloc.c static long gntalloc_ioctl(struct file *filp, unsigned int cmd,
file              505 drivers/xen/gntalloc.c static int gntalloc_mmap(struct file *filp, struct vm_area_struct *vma)
file               88 drivers/xen/gntdev-dmabuf.c 	struct file *filp;
file              853 drivers/xen/gntdev-dmabuf.c struct gntdev_dmabuf_priv *gntdev_dmabuf_init(struct file *filp)
file               17 drivers/xen/gntdev-dmabuf.h struct gntdev_dmabuf_priv *gntdev_dmabuf_init(struct file *filp);
file              442 drivers/xen/gntdev.c 	struct file *file = vma->vm_file;
file              443 drivers/xen/gntdev.c 	struct gntdev_priv *priv = file->private_data;
file              585 drivers/xen/gntdev.c static int gntdev_open(struct inode *inode, struct file *flip)
file              633 drivers/xen/gntdev.c static int gntdev_release(struct inode *inode, struct file *flip)
file             1026 drivers/xen/gntdev.c static long gntdev_ioctl(struct file *flip,
file             1070 drivers/xen/gntdev.c static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma)
file               74 drivers/xen/mcelog.c static int xen_mce_chrdev_open(struct inode *inode, struct file *file)
file               79 drivers/xen/mcelog.c 	    (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
file               85 drivers/xen/mcelog.c 	if (file->f_flags & O_EXCL)
file               91 drivers/xen/mcelog.c 	return nonseekable_open(inode, file);
file               94 drivers/xen/mcelog.c static int xen_mce_chrdev_release(struct inode *inode, struct file *file)
file              106 drivers/xen/mcelog.c static ssize_t xen_mce_chrdev_read(struct file *filp, char __user *ubuf,
file              142 drivers/xen/mcelog.c static __poll_t xen_mce_chrdev_poll(struct file *file, poll_table *wait)
file              144 drivers/xen/mcelog.c 	poll_wait(file, &xen_mce_chrdev_wait, wait);
file              152 drivers/xen/mcelog.c static long xen_mce_chrdev_ioctl(struct file *f, unsigned int cmd,
file               37 drivers/xen/privcmd-buf.c static int privcmd_buf_open(struct inode *ino, struct file *file)
file               48 drivers/xen/privcmd-buf.c 	file->private_data = file_priv;
file               65 drivers/xen/privcmd-buf.c static int privcmd_buf_release(struct inode *ino, struct file *file)
file               67 drivers/xen/privcmd-buf.c 	struct privcmd_buf_private *file_priv = file->private_data;
file              132 drivers/xen/privcmd-buf.c static int privcmd_buf_mmap(struct file *file, struct vm_area_struct *vma)
file              134 drivers/xen/privcmd-buf.c 	struct privcmd_buf_private *file_priv = file->private_data;
file               70 drivers/xen/privcmd.c static long privcmd_ioctl_hypercall(struct file *file, void __user *udata)
file               72 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              253 drivers/xen/privcmd.c static long privcmd_ioctl_mmap(struct file *file, void __user *udata)
file              255 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              446 drivers/xen/privcmd.c 	struct file *file, void __user *udata, int version)
file              448 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              625 drivers/xen/privcmd.c static long privcmd_ioctl_dm_op(struct file *file, void __user *udata)
file              627 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              710 drivers/xen/privcmd.c static long privcmd_ioctl_restrict(struct file *file, void __user *udata)
file              712 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              727 drivers/xen/privcmd.c static long privcmd_ioctl_mmap_resource(struct file *file, void __user *udata)
file              729 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              829 drivers/xen/privcmd.c static long privcmd_ioctl(struct file *file,
file              837 drivers/xen/privcmd.c 		ret = privcmd_ioctl_hypercall(file, udata);
file              841 drivers/xen/privcmd.c 		ret = privcmd_ioctl_mmap(file, udata);
file              845 drivers/xen/privcmd.c 		ret = privcmd_ioctl_mmap_batch(file, udata, 1);
file              849 drivers/xen/privcmd.c 		ret = privcmd_ioctl_mmap_batch(file, udata, 2);
file              853 drivers/xen/privcmd.c 		ret = privcmd_ioctl_dm_op(file, udata);
file              857 drivers/xen/privcmd.c 		ret = privcmd_ioctl_restrict(file, udata);
file              861 drivers/xen/privcmd.c 		ret = privcmd_ioctl_mmap_resource(file, udata);
file              871 drivers/xen/privcmd.c static int privcmd_open(struct inode *ino, struct file *file)
file              881 drivers/xen/privcmd.c 	file->private_data = data;
file              885 drivers/xen/privcmd.c static int privcmd_release(struct inode *ino, struct file *file)
file              887 drivers/xen/privcmd.c 	struct privcmd_data *data = file->private_data;
file              926 drivers/xen/privcmd.c static int privcmd_mmap(struct file *file, struct vm_area_struct *vma)
file              898 drivers/xen/pvcalls-front.c static __poll_t pvcalls_front_poll_passive(struct file *file,
file              914 drivers/xen/pvcalls-front.c 		poll_wait(file, &map->passive.inflight_accept_req, wait);
file              930 drivers/xen/pvcalls-front.c 		poll_wait(file, &bedata->inflight_req, wait);
file              951 drivers/xen/pvcalls-front.c 	poll_wait(file, &bedata->inflight_req, wait);
file              955 drivers/xen/pvcalls-front.c static __poll_t pvcalls_front_poll_active(struct file *file,
file              967 drivers/xen/pvcalls-front.c 	poll_wait(file, &map->active.inflight_conn_req, wait);
file              978 drivers/xen/pvcalls-front.c __poll_t pvcalls_front_poll(struct file *file, struct socket *sock,
file              991 drivers/xen/pvcalls-front.c 		ret = pvcalls_front_poll_active(file, bedata, map, wait);
file              993 drivers/xen/pvcalls-front.c 		ret = pvcalls_front_poll_passive(file, bedata, map, wait);
file               23 drivers/xen/pvcalls-front.h __poll_t pvcalls_front_poll(struct file *file,
file               22 drivers/xen/xenbus/xenbus_dev_backend.c static int xenbus_backend_open(struct inode *inode, struct file *filp)
file               74 drivers/xen/xenbus/xenbus_dev_backend.c static long xenbus_backend_ioctl(struct file *file, unsigned int cmd,
file               92 drivers/xen/xenbus/xenbus_dev_backend.c static int xenbus_backend_mmap(struct file *file, struct vm_area_struct *vma)
file              125 drivers/xen/xenbus/xenbus_dev_frontend.c static ssize_t xenbus_file_read(struct file *filp,
file              550 drivers/xen/xenbus/xenbus_dev_frontend.c static ssize_t xenbus_file_write(struct file *filp,
file              649 drivers/xen/xenbus/xenbus_dev_frontend.c static int xenbus_file_open(struct inode *inode, struct file *filp)
file              678 drivers/xen/xenbus/xenbus_dev_frontend.c static int xenbus_file_release(struct inode *inode, struct file *filp)
file              687 drivers/xen/xenbus/xenbus_dev_frontend.c static __poll_t xenbus_file_poll(struct file *file, poll_table *wait)
file              689 drivers/xen/xenbus/xenbus_dev_frontend.c 	struct xenbus_file_priv *u = file->private_data;
file              691 drivers/xen/xenbus/xenbus_dev_frontend.c 	poll_wait(file, &u->read_waitq, wait);
file               31 drivers/xen/xenfs/super.c static ssize_t capabilities_read(struct file *file, char __user *buf,
file               12 drivers/xen/xenfs/xenstored.c static ssize_t xsd_read(struct file *file, char __user *buf,
file               15 drivers/xen/xenfs/xenstored.c 	const char *str = (const char *)file->private_data;
file               19 drivers/xen/xenfs/xenstored.c static int xsd_release(struct inode *inode, struct file *file)
file               21 drivers/xen/xenfs/xenstored.c 	kfree(file->private_data);
file               25 drivers/xen/xenfs/xenstored.c static int xsd_kva_open(struct inode *inode, struct file *file)
file               27 drivers/xen/xenfs/xenstored.c 	file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p",
file               29 drivers/xen/xenfs/xenstored.c 	if (!file->private_data)
file               34 drivers/xen/xenfs/xenstored.c static int xsd_kva_mmap(struct file *file, struct vm_area_struct *vma)
file               56 drivers/xen/xenfs/xenstored.c static int xsd_port_open(struct inode *inode, struct file *file)
file               58 drivers/xen/xenfs/xenstored.c 	file->private_data = (void *)kasprintf(GFP_KERNEL, "%d",
file               60 drivers/xen/xenfs/xenstored.c 	if (!file->private_data)
file              111 drivers/xen/xenfs/xensyms.c static int xensyms_open(struct inode *inode, struct file *file)
file              117 drivers/xen/xenfs/xensyms.c 	ret = seq_open_private(file, &xensyms_seq_ops,
file              122 drivers/xen/xenfs/xensyms.c 	m = file->private_data;
file              128 drivers/xen/xenfs/xensyms.c 		seq_release_private(inode, file);
file              138 drivers/xen/xenfs/xensyms.c static int xensyms_release(struct inode *inode, struct file *file)
file              140 drivers/xen/xenfs/xensyms.c 	struct seq_file *m = file->private_data;
file              144 drivers/xen/xenfs/xensyms.c 	return seq_release_private(inode, file);
file               25 drivers/zorro/proc.c proc_bus_zorro_lseek(struct file *file, loff_t off, int whence)
file               27 drivers/zorro/proc.c 	return fixed_size_llseek(file, off, whence, sizeof(struct ConfigDev));
file               31 drivers/zorro/proc.c proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
file               33 drivers/zorro/proc.c 	struct zorro_dev *z = PDE_DATA(file_inode(file));
file               83 drivers/zorro/zorro-sysfs.c static ssize_t zorro_read_config(struct file *filp, struct kobject *kobj,
file              156 fs/9p/cache.c  void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *filp)
file               24 fs/9p/cache.h  extern void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *filp);
file               98 fs/9p/cache.h  static inline void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *file)
file               56 fs/9p/v9fs_vfs.h int v9fs_dir_release(struct inode *inode, struct file *filp);
file               57 fs/9p/v9fs_vfs.h int v9fs_file_open(struct inode *inode, struct file *file);
file               63 fs/9p/v9fs_vfs.h int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,
file               83 fs/9p/vfs_addr.c static int v9fs_vfs_readpage(struct file *filp, struct page *page)
file               98 fs/9p/vfs_addr.c static int v9fs_vfs_readpages(struct file *filp, struct address_space *mapping,
file              237 fs/9p/vfs_addr.c 	struct file *file = iocb->ki_filp;
file              242 fs/9p/vfs_addr.c 		n = p9_client_write(file->private_data, pos, iter, &err);
file              244 fs/9p/vfs_addr.c 			struct inode *inode = file_inode(file);
file              250 fs/9p/vfs_addr.c 		n = p9_client_read(file->private_data, pos, iter, &err);
file              255 fs/9p/vfs_addr.c static int v9fs_write_begin(struct file *filp, struct address_space *mapping,
file              291 fs/9p/vfs_addr.c static int v9fs_write_end(struct file *filp, struct address_space *mapping,
file               71 fs/9p/vfs_dir.c static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen)
file               86 fs/9p/vfs_dir.c static int v9fs_dir_readdir(struct file *file, struct dir_context *ctx)
file               96 fs/9p/vfs_dir.c 	p9_debug(P9_DEBUG_VFS, "name %pD\n", file);
file               97 fs/9p/vfs_dir.c 	fid = file->private_data;
file              101 fs/9p/vfs_dir.c 	rdir = v9fs_alloc_rdir_buf(file, buflen);
file              112 fs/9p/vfs_dir.c 			n = p9_client_read(file->private_data, ctx->pos, &to,
file              148 fs/9p/vfs_dir.c static int v9fs_dir_readdir_dotl(struct file *file, struct dir_context *ctx)
file              156 fs/9p/vfs_dir.c 	p9_debug(P9_DEBUG_VFS, "name %pD\n", file);
file              157 fs/9p/vfs_dir.c 	fid = file->private_data;
file              161 fs/9p/vfs_dir.c 	rdir = v9fs_alloc_rdir_buf(file, buflen);
file              206 fs/9p/vfs_dir.c int v9fs_dir_release(struct inode *inode, struct file *filp)
file               44 fs/9p/vfs_file.c int v9fs_file_open(struct inode *inode, struct file *file)
file               52 fs/9p/vfs_file.c 	p9_debug(P9_DEBUG_VFS, "inode: %p file: %p\n", inode, file);
file               56 fs/9p/vfs_file.c 		omode = v9fs_open_to_dotl_flags(file->f_flags);
file               58 fs/9p/vfs_file.c 		omode = v9fs_uflags2omode(file->f_flags,
file               60 fs/9p/vfs_file.c 	fid = file->private_data;
file               62 fs/9p/vfs_file.c 		fid = v9fs_fid_clone(file_dentry(file));
file               71 fs/9p/vfs_file.c 		if ((file->f_flags & O_APPEND) &&
file               73 fs/9p/vfs_file.c 			generic_file_llseek(file, 0, SEEK_END);
file               76 fs/9p/vfs_file.c 	file->private_data = fid;
file               80 fs/9p/vfs_file.c 	    ((file->f_flags & O_ACCMODE) != O_RDONLY)) {
file               88 fs/9p/vfs_file.c 		fid = v9fs_writeback_fid(file_dentry(file));
file               98 fs/9p/vfs_file.c 		v9fs_cache_inode_set_cookie(inode, file);
file              101 fs/9p/vfs_file.c 	p9_client_clunk(file->private_data);
file              102 fs/9p/vfs_file.c 	file->private_data = NULL;
file              116 fs/9p/vfs_file.c static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl)
file              135 fs/9p/vfs_file.c static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl)
file              241 fs/9p/vfs_file.c static int v9fs_file_getlock(struct file *filp, struct file_lock *fl)
file              306 fs/9p/vfs_file.c static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl)
file              341 fs/9p/vfs_file.c static int v9fs_file_flock_dotl(struct file *filp, int cmd,
file              410 fs/9p/vfs_file.c 	struct file *file = iocb->ki_filp;
file              420 fs/9p/vfs_file.c 	retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err);
file              422 fs/9p/vfs_file.c 		struct inode *inode = file_inode(file);
file              445 fs/9p/vfs_file.c static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end,
file              469 fs/9p/vfs_file.c int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,
file              492 fs/9p/vfs_file.c v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma)
file              505 fs/9p/vfs_file.c v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma)
file              547 fs/9p/vfs_file.c 	struct file *filp = vmf->vma->vm_file;
file              841 fs/9p/vfs_inode.c 		     struct file *file, unsigned flags, umode_t mode)
file              861 fs/9p/vfs_inode.c 		return finish_no_open(file, res);
file              898 fs/9p/vfs_inode.c 	err = finish_open(file, dentry, generic_file_open);
file              902 fs/9p/vfs_inode.c 	file->private_data = fid;
file              904 fs/9p/vfs_inode.c 		v9fs_cache_inode_set_cookie(d_inode(dentry), file);
file              906 fs/9p/vfs_inode.c 	file->f_mode |= FMODE_CREATED;
file              229 fs/9p/vfs_inode_dotl.c 			  struct file *file, unsigned flags, umode_t omode)
file              255 fs/9p/vfs_inode_dotl.c 		return	finish_no_open(file, res);
file              339 fs/9p/vfs_inode_dotl.c 	err = finish_open(file, dentry, generic_file_open);
file              342 fs/9p/vfs_inode_dotl.c 	file->private_data = ofid;
file              344 fs/9p/vfs_inode_dotl.c 		v9fs_cache_inode_set_cookie(inode, file);
file              345 fs/9p/vfs_inode_dotl.c 	file->f_mode |= FMODE_CREATED;
file               55 fs/adfs/dir.c  adfs_readdir(struct file *file, struct dir_context *ctx)
file               57 fs/adfs/dir.c  	struct inode *inode = file_inode(file);
file               72 fs/adfs/dir.c  		if (!dir_emit_dot(file, ctx))
file               40 fs/adfs/inode.c static int adfs_readpage(struct file *file, struct page *page)
file               53 fs/adfs/inode.c static int adfs_write_begin(struct file *file, struct address_space *mapping,
file               60 fs/adfs/inode.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file              196 fs/affs/affs.h int		affs_file_fsync(struct file *, loff_t, loff_t, int);
file               20 fs/affs/dir.c  static int affs_readdir(struct file *, struct dir_context *);
file               45 fs/affs/dir.c  affs_readdir(struct file *file, struct dir_context *ctx)
file               47 fs/affs/dir.c  	struct inode		*inode = file_inode(file);
file               62 fs/affs/dir.c  		file->private_data = (void *)0;
file               63 fs/affs/dir.c  		if (!dir_emit_dots(file, ctx))
file               83 fs/affs/dir.c  	ino = (u32)(long)file->private_data;
file               84 fs/affs/dir.c  	if (ino && inode_eq_iversion(inode, file->f_version)) {
file              134 fs/affs/dir.c  	file->f_version = inode_query_iversion(inode);
file              135 fs/affs/dir.c  	file->private_data = (void *)(long)ino;
file               22 fs/affs/file.c affs_file_open(struct inode *inode, struct file *filp)
file               31 fs/affs/file.c affs_file_release(struct inode *inode, struct file *filp)
file              377 fs/affs/file.c static int affs_readpage(struct file *file, struct page *page)
file              395 fs/affs/file.c 	struct file *file = iocb->ki_filp;
file              396 fs/affs/file.c 	struct address_space *mapping = file->f_mapping;
file              415 fs/affs/file.c static int affs_write_begin(struct file *file, struct address_space *mapping,
file              422 fs/affs/file.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file              611 fs/affs/file.c affs_readpage_ofs(struct file *file, struct page *page)
file              631 fs/affs/file.c static int affs_write_begin_ofs(struct file *file, struct address_space *mapping,
file              669 fs/affs/file.c static int affs_write_end_ofs(struct file *file, struct address_space *mapping,
file              953 fs/affs/file.c int affs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
file               14 fs/affs/symlink.c static int affs_symlink_readpage(struct file *file, struct page *page)
file               22 fs/afs/dir.c   static int afs_dir_open(struct inode *inode, struct file *file);
file               23 fs/afs/dir.c   static int afs_readdir(struct file *file, struct dir_context *ctx);
file              196 fs/afs/dir.c   static int afs_dir_open(struct inode *inode, struct file *file)
file              206 fs/afs/dir.c   	return afs_open(inode, file);
file              516 fs/afs/dir.c   static int afs_readdir(struct file *file, struct dir_context *ctx)
file              520 fs/afs/dir.c   	return afs_dir_iterate(file_inode(file), ctx, afs_file_key(file),
file               19 fs/afs/file.c  static int afs_file_mmap(struct file *file, struct vm_area_struct *vma);
file               20 fs/afs/file.c  static int afs_readpage(struct file *file, struct page *page);
file               25 fs/afs/file.c  static int afs_readpages(struct file *filp, struct address_space *mapping,
file              114 fs/afs/file.c  int afs_open(struct inode *inode, struct file *file)
file              140 fs/afs/file.c  	if (file->f_mode & FMODE_WRITE) {
file              146 fs/afs/file.c  	if (file->f_flags & O_TRUNC)
file              149 fs/afs/file.c  	file->private_data = af;
file              165 fs/afs/file.c  int afs_release(struct inode *inode, struct file *file)
file              168 fs/afs/file.c  	struct afs_file *af = file->private_data;
file              173 fs/afs/file.c  	if ((file->f_mode & FMODE_WRITE))
file              174 fs/afs/file.c  		ret = vfs_fsync(file, 0);
file              176 fs/afs/file.c  	file->private_data = NULL;
file              389 fs/afs/file.c  static int afs_readpage(struct file *file, struct page *page)
file              394 fs/afs/file.c  	if (file) {
file              395 fs/afs/file.c  		key = afs_file_key(file);
file              440 fs/afs/file.c  static int afs_readpages_one(struct file *file, struct address_space *mapping,
file              447 fs/afs/file.c  	struct key *key = afs_file_key(file);
file              541 fs/afs/file.c  static int afs_readpages(struct file *file, struct address_space *mapping,
file              544 fs/afs/file.c  	struct key *key = afs_file_key(file);
file              592 fs/afs/file.c  		ret = afs_readpages_one(file, mapping, pages);
file              676 fs/afs/file.c  static int afs_file_mmap(struct file *file, struct vm_area_struct *vma)
file              680 fs/afs/file.c  	ret = generic_file_mmap(file, vma);
file              463 fs/afs/flock.c static int afs_do_setlk(struct file *file, struct file_lock *fl)
file              465 fs/afs/flock.c 	struct inode *inode = locks_inode(file);
file              469 fs/afs/flock.c 	struct key *key = afs_file_key(file);
file              621 fs/afs/flock.c 	ret = locks_lock_file_wait(file, fl);
file              713 fs/afs/flock.c static int afs_do_unlk(struct file *file, struct file_lock *fl)
file              715 fs/afs/flock.c 	struct afs_vnode *vnode = AFS_FS_I(locks_inode(file));
file              723 fs/afs/flock.c 	vfs_fsync(file, 0);
file              725 fs/afs/flock.c 	ret = locks_lock_file_wait(file, fl);
file              733 fs/afs/flock.c static int afs_do_getlk(struct file *file, struct file_lock *fl)
file              735 fs/afs/flock.c 	struct afs_vnode *vnode = AFS_FS_I(locks_inode(file));
file              736 fs/afs/flock.c 	struct key *key = afs_file_key(file);
file              747 fs/afs/flock.c 	posix_test_lock(file, fl);
file              775 fs/afs/flock.c int afs_lock(struct file *file, int cmd, struct file_lock *fl)
file              777 fs/afs/flock.c 	struct afs_vnode *vnode = AFS_FS_I(locks_inode(file));
file              791 fs/afs/flock.c 		return afs_do_getlk(file, fl);
file              797 fs/afs/flock.c 		ret = afs_do_unlk(file, fl);
file              799 fs/afs/flock.c 		ret = afs_do_setlk(file, fl);
file              814 fs/afs/flock.c int afs_flock(struct file *file, int cmd, struct file_lock *fl)
file              816 fs/afs/flock.c 	struct afs_vnode *vnode = AFS_FS_I(locks_inode(file));
file              839 fs/afs/flock.c 		ret = afs_do_unlk(file, fl);
file              841 fs/afs/flock.c 		ret = afs_do_setlk(file, fl);
file              214 fs/afs/internal.h static inline struct key *afs_file_key(struct file *file)
file              216 fs/afs/internal.h 	struct afs_file *af = file->private_data;
file              931 fs/afs/internal.h extern int afs_open(struct inode *, struct file *);
file              932 fs/afs/internal.h extern int afs_release(struct inode *, struct file *);
file              945 fs/afs/internal.h extern int afs_lock(struct file *, int, struct file_lock *);
file              946 fs/afs/internal.h extern int afs_flock(struct file *, int, struct file_lock *);
file             1338 fs/afs/internal.h extern int afs_write_begin(struct file *file, struct address_space *mapping,
file             1341 fs/afs/internal.h extern int afs_write_end(struct file *file, struct address_space *mapping,
file             1347 fs/afs/internal.h extern int afs_fsync(struct file *, loff_t, loff_t, int);
file               23 fs/afs/mntpt.c static int afs_mntpt_open(struct inode *inode, struct file *file);
file               63 fs/afs/mntpt.c static int afs_mntpt_open(struct inode *inode, struct file *file)
file               65 fs/afs/mntpt.c 	_enter("%p,%p{%pD2}", inode, file, file);
file               86 fs/afs/proc.c  static int afs_proc_cells_write(struct file *file, char *buf, size_t size)
file               88 fs/afs/proc.c  	struct seq_file *m = file->private_data;
file              172 fs/afs/proc.c  static int afs_proc_rootcell_write(struct file *file, char *buf, size_t size)
file              174 fs/afs/proc.c  	struct seq_file *m = file->private_data;
file              211 fs/afs/proc.c  	struct afs_cell *cell = PDE_DATA(file_inode(m->file));
file              230 fs/afs/proc.c  	struct afs_cell *cell = PDE_DATA(file_inode(m->file));
file              239 fs/afs/proc.c  	struct afs_cell *cell = PDE_DATA(file_inode(m->file));
file              247 fs/afs/proc.c  	struct afs_cell *cell = PDE_DATA(file_inode(m->file));
file              322 fs/afs/proc.c  	struct afs_cell *cell = PDE_DATA(file_inode(m->file));
file              481 fs/afs/proc.c  static int afs_proc_sysname_write(struct file *file, char *buf, size_t size)
file              484 fs/afs/proc.c  	struct seq_file *m = file->private_data;
file               77 fs/afs/write.c int afs_write_begin(struct file *file, struct address_space *mapping,
file               81 fs/afs/write.c 	struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
file               83 fs/afs/write.c 	struct key *key = afs_file_key(file);
file              181 fs/afs/write.c int afs_write_end(struct file *file, struct address_space *mapping,
file              185 fs/afs/write.c 	struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
file              186 fs/afs/write.c 	struct key *key = afs_file_key(file);
file              760 fs/afs/write.c int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              762 fs/afs/write.c 	struct inode *inode = file_inode(file);
file              766 fs/afs/write.c 	       vnode->fid.vid, vnode->fid.vnode, file,
file              769 fs/afs/write.c 	return file_write_and_wait_range(file, start, end);
file              778 fs/afs/write.c 	struct file *file = vmf->vma->vm_file;
file              779 fs/afs/write.c 	struct inode *inode = file_inode(file);
file              166 fs/aio.c       	struct file		*aio_ring_file;
file              176 fs/aio.c       	struct file		*file;
file              183 fs/aio.c       	struct file		*file;
file              200 fs/aio.c       		struct file		*ki_filp;
file              236 fs/aio.c       static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages)
file              238 fs/aio.c       	struct file *file;
file              247 fs/aio.c       	file = alloc_file_pseudo(inode, aio_mnt, "[aio]",
file              249 fs/aio.c       	if (IS_ERR(file))
file              251 fs/aio.c       	return file;
file              285 fs/aio.c       	struct file *aio_ring_file = ctx->aio_ring_file;
file              330 fs/aio.c       	struct file *file = vma->vm_file;
file              342 fs/aio.c       		if (ctx && ctx->aio_ring_file == file) {
file              365 fs/aio.c       static int aio_ring_mmap(struct file *file, struct vm_area_struct *vma)
file              468 fs/aio.c       	struct file *file;
file              480 fs/aio.c       	file = aio_private_file(ctx, nr_pages);
file              481 fs/aio.c       	if (IS_ERR(file)) {
file              486 fs/aio.c       	ctx->aio_ring_file = file;
file              502 fs/aio.c       		page = find_or_create_page(file->f_mapping,
file             1526 fs/aio.c       	struct file *file;
file             1532 fs/aio.c       	file = req->ki_filp;
file             1533 fs/aio.c       	if (unlikely(!(file->f_mode & FMODE_READ)))
file             1536 fs/aio.c       	if (unlikely(!file->f_op->read_iter))
file             1542 fs/aio.c       	ret = rw_verify_area(READ, file, &req->ki_pos, iov_iter_count(&iter));
file             1544 fs/aio.c       		aio_rw_done(req, call_read_iter(file, req, &iter));
file             1554 fs/aio.c       	struct file *file;
file             1560 fs/aio.c       	file = req->ki_filp;
file             1562 fs/aio.c       	if (unlikely(!(file->f_mode & FMODE_WRITE)))
file             1564 fs/aio.c       	if (unlikely(!file->f_op->write_iter))
file             1570 fs/aio.c       	ret = rw_verify_area(WRITE, file, &req->ki_pos, iov_iter_count(&iter));
file             1579 fs/aio.c       		if (S_ISREG(file_inode(file)->i_mode)) {
file             1580 fs/aio.c       			__sb_start_write(file_inode(file)->i_sb, SB_FREEZE_WRITE, true);
file             1581 fs/aio.c       			__sb_writers_release(file_inode(file)->i_sb, SB_FREEZE_WRITE);
file             1584 fs/aio.c       		aio_rw_done(req, call_write_iter(file, req, &iter));
file             1595 fs/aio.c       	iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync);
file             1608 fs/aio.c       	if (unlikely(!req->file->f_op->fsync))
file             1638 fs/aio.c       		mask = vfs_poll(req->file, &pt) & req->events;
file             1725 fs/aio.c       aio_poll_queue_proc(struct file *file, struct wait_queue_head *head,
file             1772 fs/aio.c       	mask = vfs_poll(req->file, &apt.pt) & req->events;
file               74 fs/anon_inodes.c struct file *anon_inode_getfile(const char *name,
file               78 fs/anon_inodes.c 	struct file *file;
file               91 fs/anon_inodes.c 	file = alloc_file_pseudo(anon_inode_inode, anon_inode_mnt, name,
file               93 fs/anon_inodes.c 	if (IS_ERR(file))
file               96 fs/anon_inodes.c 	file->f_mapping = anon_inode_inode->i_mapping;
file               98 fs/anon_inodes.c 	file->private_data = priv;
file              100 fs/anon_inodes.c 	return file;
file              105 fs/anon_inodes.c 	return file;
file              129 fs/anon_inodes.c 	struct file *file;
file              136 fs/anon_inodes.c 	file = anon_inode_getfile(name, fops, priv, flags);
file              137 fs/anon_inodes.c 	if (IS_ERR(file)) {
file              138 fs/anon_inodes.c 		error = PTR_ERR(file);
file              141 fs/anon_inodes.c 	fd_install(fd, file);
file              110 fs/autofs/autofs_i.h 	struct file *pipe;
file              208 fs/autofs/autofs_i.h static inline int autofs_prepare_pipe(struct file *pipe)
file               26 fs/autofs/dev-ioctl.c typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *,
file              152 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_version(struct file *fp,
file              163 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_protover(struct file *fp,
file              172 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_protosubver(struct file *fp,
file              231 fs/autofs/dev-ioctl.c 		struct file *filp;
file              256 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_openmount(struct file *fp,
file              287 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_closemount(struct file *fp,
file              298 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_ready(struct file *fp,
file              312 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_fail(struct file *fp,
file              336 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_setpipefd(struct file *fp,
file              354 fs/autofs/dev-ioctl.c 		struct file *pipe;
file              389 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_catatonic(struct file *fp,
file              398 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_timeout(struct file *fp,
file              418 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_requester(struct file *fp,
file              457 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_expire(struct file *fp,
file              471 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_askumount(struct file *fp,
file              502 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_ismountpoint(struct file *fp,
file              592 fs/autofs/dev-ioctl.c 	struct file *fp;
file              683 fs/autofs/dev-ioctl.c static long autofs_dev_ioctl(struct file *file, unsigned int command,
file              693 fs/autofs/dev-ioctl.c static long autofs_dev_ioctl_compat(struct file *file, unsigned int command,
file              696 fs/autofs/dev-ioctl.c 	return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u));
file              224 fs/autofs/inode.c 	struct file *pipe;
file               17 fs/autofs/root.c static long autofs_root_ioctl(struct file *, unsigned int, unsigned long);
file               19 fs/autofs/root.c static long autofs_root_compat_ioctl(struct file *,
file               22 fs/autofs/root.c static int autofs_dir_open(struct inode *inode, struct file *file);
file               74 fs/autofs/root.c static int autofs_dir_open(struct inode *inode, struct file *file)
file               76 fs/autofs/root.c 	struct dentry *dentry = file->f_path.dentry;
file               79 fs/autofs/root.c 	pr_debug("file=%p dentry=%p %pd\n", file, dentry, dentry);
file               94 fs/autofs/root.c 	if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) {
file              101 fs/autofs/root.c 	return dcache_dir_open(inode, file);
file              870 fs/autofs/root.c static int autofs_root_ioctl_unlocked(struct inode *inode, struct file *filp,
file              921 fs/autofs/root.c static long autofs_root_ioctl(struct file *filp,
file              930 fs/autofs/root.c static long autofs_root_compat_ioctl(struct file *filp,
file               46 fs/autofs/waitq.c 			struct file *file, const void *addr, int bytes)
file               56 fs/autofs/waitq.c 		wr = __kernel_write(file, data, bytes, &file->f_pos);
file               87 fs/autofs/waitq.c 	struct file *pipe = NULL;
file               19 fs/bad_inode.c static int bad_file_open(struct inode *inode, struct file *filp)
file              136 fs/bad_inode.c 				 struct file *file, unsigned int open_flag,
file               40 fs/befs/linuxvfs.c static int befs_readdir(struct file *, struct dir_context *);
file               42 fs/befs/linuxvfs.c static int befs_readpage(struct file *file, struct page *page);
file               50 fs/befs/linuxvfs.c static int befs_symlink_readpage(struct file *, struct page *);
file              111 fs/befs/linuxvfs.c befs_readpage(struct file *file, struct page *page)
file              215 fs/befs/linuxvfs.c befs_readdir(struct file *file, struct dir_context *ctx)
file              217 fs/befs/linuxvfs.c 	struct inode *inode = file_inode(file);
file              226 fs/befs/linuxvfs.c 		  __func__, file, inode->i_ino, ctx->pos);
file              235 fs/befs/linuxvfs.c 				   file, inode->i_ino);
file              470 fs/befs/linuxvfs.c static int befs_symlink_readpage(struct file *unused, struct page *page)
file               29 fs/bfs/dir.c   static int bfs_readdir(struct file *f, struct dir_context *ctx)
file              158 fs/bfs/file.c  static int bfs_readpage(struct file *file, struct page *page)
file              171 fs/bfs/file.c  static int bfs_write_begin(struct file *file, struct address_space *mapping,
file               35 fs/binfmt_aout.c static int load_aout_library(struct file*);
file              130 fs/binfmt_aout.c 	    i_size_read(file_inode(bprm->file)) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) {
file              138 fs/binfmt_aout.c 	if (!bprm->file->f_op->mmap)
file              196 fs/binfmt_aout.c 		error = read_code(bprm->file, text_addr, pos,
file              211 fs/binfmt_aout.c 			       bprm->file);
file              214 fs/binfmt_aout.c 		if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) {
file              219 fs/binfmt_aout.c 			read_code(bprm->file, N_TXTADDR(ex), fd_offset,
file              224 fs/binfmt_aout.c 		error = vm_mmap(bprm->file, N_TXTADDR(ex), ex.a_text,
file              232 fs/binfmt_aout.c 		error = vm_mmap(bprm->file, N_DATADDR(ex), ex.a_data,
file              256 fs/binfmt_aout.c static int load_aout_library(struct file *file)
file              265 fs/binfmt_aout.c 	inode = file_inode(file);
file              268 fs/binfmt_aout.c 	error = kernel_read(file, &ex, sizeof(ex), &pos);
file              283 fs/binfmt_aout.c 	if (!file->f_op->mmap)
file              299 fs/binfmt_aout.c 			       file);
file              305 fs/binfmt_aout.c 		read_code(file, start_addr, N_TXTOFF(ex),
file              311 fs/binfmt_aout.c 	error = vm_mmap(file, start_addr, ex.a_text + ex.a_data,
file               63 fs/binfmt_elf.c static int load_elf_library(struct file *);
file              348 fs/binfmt_elf.c static unsigned long elf_map(struct file *filep, unsigned long addr,
file              417 fs/binfmt_elf.c 				       struct file *elf_file)
file              496 fs/binfmt_elf.c 				   struct file *elf, bool is_interp,
file              547 fs/binfmt_elf.c 		struct file *interpreter, unsigned long *interp_map_addr,
file              675 fs/binfmt_elf.c 	struct file *interpreter = NULL; /* to shut gcc up */
file              715 fs/binfmt_elf.c 	if (!bprm->file->f_op->mmap)
file              718 fs/binfmt_elf.c 	elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file);
file              744 fs/binfmt_elf.c 		retval = kernel_read(bprm->file, elf_interpreter,
file              797 fs/binfmt_elf.c 						  bprm->file, false,
file              983 fs/binfmt_elf.c 		error = elf_map(bprm->file, load_bias + vaddr, elf_ppnt,
file             1175 fs/binfmt_elf.c static int load_elf_library(struct file *file)
file             1185 fs/binfmt_elf.c 	retval = kernel_read(file, &elf_ex, sizeof(elf_ex), &pos);
file             1194 fs/binfmt_elf.c 	    !elf_check_arch(&elf_ex) || !file->f_op->mmap)
file             1212 fs/binfmt_elf.c 	retval = kernel_read(file, eppnt, j, &pos);
file             1226 fs/binfmt_elf.c 	error = vm_mmap(file,
file             1609 fs/binfmt_elf.c 		struct file *file;
file             1612 fs/binfmt_elf.c 		file = vma->vm_file;
file             1613 fs/binfmt_elf.c 		if (!file)
file             1615 fs/binfmt_elf.c 		filename = file_path(file, name_curpos, remaining);
file               60 fs/binfmt_elf_fdpic.c static int elf_fdpic_fetch_phdrs(struct elf_fdpic_params *, struct file *);
file               61 fs/binfmt_elf_fdpic.c static int elf_fdpic_map_file(struct elf_fdpic_params *, struct file *,
file               70 fs/binfmt_elf_fdpic.c 						   struct file *,
file               75 fs/binfmt_elf_fdpic.c 					     struct file *, struct mm_struct *);
file              104 fs/binfmt_elf_fdpic.c static int is_elf(struct elfhdr *hdr, struct file *file)
file              112 fs/binfmt_elf_fdpic.c 	if (!file->f_op->mmap)
file              139 fs/binfmt_elf_fdpic.c 				 struct file *file)
file              156 fs/binfmt_elf_fdpic.c 	retval = kernel_read(file, params->phdrs, size, &pos);
file              194 fs/binfmt_elf_fdpic.c 	struct file *interpreter = NULL; /* to shut gcc up */
file              210 fs/binfmt_elf_fdpic.c 	if (!is_elf(&exec_params.hdr, bprm->file))
file              224 fs/binfmt_elf_fdpic.c 	retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file);
file              247 fs/binfmt_elf_fdpic.c 			retval = kernel_read(bprm->file, interpreter_name,
file              385 fs/binfmt_elf_fdpic.c 	retval = elf_fdpic_map_file(&exec_params, bprm->file, current->mm,
file              729 fs/binfmt_elf_fdpic.c 			      struct file *file,
file              771 fs/binfmt_elf_fdpic.c 		ret = elf_fdpic_map_file_constdisp_on_uclinux(params, file, mm);
file              777 fs/binfmt_elf_fdpic.c 		ret = elf_fdpic_map_file_by_direct_mmap(params, file, mm);
file              906 fs/binfmt_elf_fdpic.c 	       what, file_inode(file)->i_ino);
file              917 fs/binfmt_elf_fdpic.c 	struct file *file,
file              964 fs/binfmt_elf_fdpic.c 		ret = read_code(file, seg->addr, phdr->p_offset,
file             1005 fs/binfmt_elf_fdpic.c 					     struct file *file,
file             1083 fs/binfmt_elf_fdpic.c 		maddr = vm_mmap(file, maddr, phdr->p_memsz + disp, prot, flags,
file             1783 fs/binfmt_elf_fdpic.c 	if (cprm->file->f_pos != offset) {
file             1787 fs/binfmt_elf_fdpic.c 		       cprm->file->f_pos, offset);
file               30 fs/binfmt_em86.c 	struct file * file;
file               43 fs/binfmt_em86.c 		!bprm->file->f_op->mmap) {
file               51 fs/binfmt_em86.c 	allow_write_access(bprm->file);
file               52 fs/binfmt_em86.c 	fput(bprm->file);
file               53 fs/binfmt_em86.c 	bprm->file = NULL;
file               88 fs/binfmt_em86.c 	file = open_exec(interp);
file               89 fs/binfmt_em86.c 	if (IS_ERR(file))
file               90 fs/binfmt_em86.c 		return PTR_ERR(file);
file               92 fs/binfmt_em86.c 	bprm->file = file;
file              213 fs/binfmt_flat.c 	ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos);
file              283 fs/binfmt_flat.c 		ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos);
file              564 fs/binfmt_flat.c 		textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC,
file              601 fs/binfmt_flat.c 			result = read_code(bprm->file, datapos, fpos,
file              676 fs/binfmt_flat.c 			result = read_code(bprm->file, textpos, 0, text_len);
file              699 fs/binfmt_flat.c 			result = read_code(bprm->file, textpos, 0, text_len);
file              701 fs/binfmt_flat.c 				result = read_code(bprm->file, datapos,
file              898 fs/binfmt_flat.c 	bprm.file = open_exec(bprm.filename);
file              899 fs/binfmt_flat.c 	res = PTR_ERR(bprm.file);
file              900 fs/binfmt_flat.c 	if (IS_ERR(bprm.file))
file              903 fs/binfmt_flat.c 	res = kernel_read(bprm.file, bprm.buf, BINPRM_BUF_SIZE, &pos);
file              908 fs/binfmt_flat.c 	allow_write_access(bprm.file);
file              909 fs/binfmt_flat.c 	fput(bprm.file);
file               62 fs/binfmt_misc.c 	struct file *interp_file;
file              135 fs/binfmt_misc.c 	struct file *interp_file = NULL;
file              174 fs/binfmt_misc.c 		fd_install(fd_binary, bprm->file);
file              178 fs/binfmt_misc.c 		would_dump(bprm, bprm->file);
file              180 fs/binfmt_misc.c 		allow_write_access(bprm->file);
file              181 fs/binfmt_misc.c 		bprm->file = NULL;
file              188 fs/binfmt_misc.c 		allow_write_access(bprm->file);
file              189 fs/binfmt_misc.c 		fput(bprm->file);
file              190 fs/binfmt_misc.c 		bprm->file = NULL;
file              220 fs/binfmt_misc.c 	bprm->file = interp_file;
file              229 fs/binfmt_misc.c 		retval = kernel_read(bprm->file, bprm->buf, BINPRM_BUF_SIZE,
file              632 fs/binfmt_misc.c bm_entry_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
file              634 fs/binfmt_misc.c 	Node *e = file_inode(file)->i_private;
file              650 fs/binfmt_misc.c static ssize_t bm_entry_write(struct file *file, const char __user *buffer,
file              654 fs/binfmt_misc.c 	Node *e = file_inode(file)->i_private;
file              668 fs/binfmt_misc.c 		root = file_inode(file)->i_sb->s_root;
file              691 fs/binfmt_misc.c static ssize_t bm_register_write(struct file *file, const char __user *buffer,
file              696 fs/binfmt_misc.c 	struct super_block *sb = file_inode(file)->i_sb;
file              729 fs/binfmt_misc.c 		struct file *f;
file              773 fs/binfmt_misc.c bm_status_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
file              780 fs/binfmt_misc.c static ssize_t bm_status_write(struct file *file, const char __user *buffer,
file              797 fs/binfmt_misc.c 		root = file_inode(file)->i_sb->s_root;
file               38 fs/binfmt_script.c 	struct file *file;
file               55 fs/binfmt_script.c 	allow_write_access(bprm->file);
file               56 fs/binfmt_script.c 	fput(bprm->file);
file               57 fs/binfmt_script.c 	bprm->file = NULL;
file              141 fs/binfmt_script.c 	file = open_exec(i_name);
file              142 fs/binfmt_script.c 	if (IS_ERR(file))
file              143 fs/binfmt_script.c 		return PTR_ERR(file);
file              145 fs/binfmt_script.c 	bprm->file = file;
file              177 fs/block_dev.c static struct inode *bdev_file_inode(struct file *file)
file              179 fs/block_dev.c 	return file->f_mapping->host;
file              206 fs/block_dev.c 	struct file *file = iocb->ki_filp;
file              207 fs/block_dev.c 	struct block_device *bdev = I_BDEV(bdev_file_inode(file));
file              341 fs/block_dev.c 	struct file *file = iocb->ki_filp;
file              342 fs/block_dev.c 	struct inode *inode = bdev_file_inode(file);
file              613 fs/block_dev.c static int blkdev_readpage(struct file * file, struct page * page)
file              618 fs/block_dev.c static int blkdev_readpages(struct file *file, struct address_space *mapping,
file              624 fs/block_dev.c static int blkdev_write_begin(struct file *file, struct address_space *mapping,
file              632 fs/block_dev.c static int blkdev_write_end(struct file *file, struct address_space *mapping,
file              637 fs/block_dev.c 	ret = block_write_end(file, mapping, pos, len, copied, page, fsdata);
file              650 fs/block_dev.c static loff_t block_llseek(struct file *file, loff_t offset, int whence)
file              652 fs/block_dev.c 	struct inode *bd_inode = bdev_file_inode(file);
file              656 fs/block_dev.c 	retval = fixed_size_llseek(file, offset, whence, i_size_read(bd_inode));
file              661 fs/block_dev.c int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
file             1822 fs/block_dev.c static int blkdev_open(struct inode * inode, struct file * filp)
file             1937 fs/block_dev.c static int blkdev_close(struct inode * inode, struct file * filp)
file             1944 fs/block_dev.c static long block_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file             1946 fs/block_dev.c 	struct block_device *bdev = I_BDEV(bdev_file_inode(file));
file             1947 fs/block_dev.c 	fmode_t mode = file->f_mode;
file             1953 fs/block_dev.c 	if (file->f_flags & O_NDELAY)
file             1970 fs/block_dev.c 	struct file *file = iocb->ki_filp;
file             1971 fs/block_dev.c 	struct inode *bd_inode = bdev_file_inode(file);
file             2005 fs/block_dev.c 	struct file *file = iocb->ki_filp;
file             2006 fs/block_dev.c 	struct inode *bd_inode = bdev_file_inode(file);
file             2056 fs/block_dev.c static long blkdev_fallocate(struct file *file, int mode, loff_t start,
file             2059 fs/block_dev.c 	struct block_device *bdev = I_BDEV(bdev_file_inode(file));
file             2861 fs/btrfs/ctree.h int btrfs_readpage(struct file *file, struct page *page);
file             2906 fs/btrfs/ctree.h long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             2907 fs/btrfs/ctree.h long btrfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             2911 fs/btrfs/ctree.h int btrfs_defrag_file(struct inode *inode, struct file *file,
file             2926 fs/btrfs/ctree.h int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
file             2946 fs/btrfs/ctree.h int btrfs_release_file(struct inode *inode, struct file *file);
file             2951 fs/btrfs/ctree.h loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
file             2952 fs/btrfs/ctree.h 			      struct file *file_out, loff_t pos_out,
file             3112 fs/btrfs/ctree.h static inline void assertfail(const char *expr, const char *file, int line)
file             3114 fs/btrfs/ctree.h 	pr_err("assertion failed: %s, in %s:%d\n", expr, file, line);
file             3122 fs/btrfs/ctree.h static inline void assertfail(const char *expr, const char* file, int line) { }
file              965 fs/btrfs/disk-io.c static int btree_readpage(struct file *file, struct page *page)
file             1588 fs/btrfs/file.c 	struct file *file = iocb->ki_filp;
file             1590 fs/btrfs/file.c 	struct inode *inode = file_inode(file);
file             1829 fs/btrfs/file.c 	struct file *file = iocb->ki_filp;
file             1830 fs/btrfs/file.c 	struct inode *inode = file_inode(file);
file             1861 fs/btrfs/file.c 	invalidate_mapping_pages(file->f_mapping, pos >> PAGE_SHIFT,
file             1888 fs/btrfs/file.c 	struct file *file = iocb->ki_filp;
file             1889 fs/btrfs/file.c 	struct inode *inode = file_inode(file);
file             1935 fs/btrfs/file.c 	err = file_remove_privs(file);
file             2010 fs/btrfs/file.c int btrfs_release_file(struct inode *inode, struct file *filp)
file             2062 fs/btrfs/file.c int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
file             2064 fs/btrfs/file.c 	struct dentry *dentry = file_dentry(file);
file             2072 fs/btrfs/file.c 	trace_btrfs_sync_file(file, datasync);
file             2177 fs/btrfs/file.c 		ret = filemap_check_wb_err(inode->i_mapping, file->f_wb_err);
file             2235 fs/btrfs/file.c 	err = file_check_and_advance_wb_err(file);
file             2247 fs/btrfs/file.c static int btrfs_file_mmap(struct file	*filp, struct vm_area_struct *vma)
file             3163 fs/btrfs/file.c static long btrfs_fallocate(struct file *file, int mode,
file             3166 fs/btrfs/file.c 	struct inode *inode = file_inode(file);
file             3430 fs/btrfs/file.c static loff_t btrfs_file_llseek(struct file *file, loff_t offset, int whence)
file             3432 fs/btrfs/file.c 	struct inode *inode = file->f_mapping->host;
file             3439 fs/btrfs/file.c 		offset = generic_file_llseek(file, offset, whence);
file             3455 fs/btrfs/file.c 	offset = vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
file             3461 fs/btrfs/file.c static int btrfs_file_open(struct inode *inode, struct file *filp)
file             6048 fs/btrfs/inode.c static int btrfs_opendir(struct inode *inode, struct file *file)
file             6060 fs/btrfs/inode.c 	file->private_data = private;
file             6089 fs/btrfs/inode.c static int btrfs_real_readdir(struct file *file, struct dir_context *ctx)
file             6091 fs/btrfs/inode.c 	struct inode *inode = file_inode(file);
file             6093 fs/btrfs/inode.c 	struct btrfs_file_private *private = file->private_data;
file             6111 fs/btrfs/inode.c 	if (!dir_emit_dots(file, ctx))
file             8736 fs/btrfs/inode.c 	struct file *file = iocb->ki_filp;
file             8737 fs/btrfs/inode.c 	struct inode *inode = file->f_mapping->host;
file             8855 fs/btrfs/inode.c int btrfs_readpage(struct file *file, struct page *page)
file             8894 fs/btrfs/inode.c btrfs_readpages(struct file *file, struct address_space *mapping,
file             10836 fs/btrfs/inode.c static void btrfs_swap_deactivate(struct file *file)
file             10838 fs/btrfs/inode.c 	struct inode *inode = file_inode(file);
file             10844 fs/btrfs/inode.c static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,
file             10847 fs/btrfs/inode.c 	struct inode *inode = file_inode(file);
file             11038 fs/btrfs/inode.c 		btrfs_swap_deactivate(file);
file             11054 fs/btrfs/inode.c static void btrfs_swap_deactivate(struct file *file)
file             11058 fs/btrfs/inode.c static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,
file              160 fs/btrfs/ioctl.c static int btrfs_ioctl_getflags(struct file *file, void __user *arg)
file              162 fs/btrfs/ioctl.c 	struct btrfs_inode *binode = BTRFS_I(file_inode(file));
file              186 fs/btrfs/ioctl.c static int btrfs_ioctl_setflags(struct file *file, void __user *arg)
file              188 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file              211 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file              334 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file              374 fs/btrfs/ioctl.c static int btrfs_ioctl_fsgetxattr(struct file *file, void __user *arg)
file              376 fs/btrfs/ioctl.c 	struct btrfs_inode *binode = BTRFS_I(file_inode(file));
file              386 fs/btrfs/ioctl.c static int btrfs_ioctl_fssetxattr(struct file *file, void __user *arg)
file              388 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file              413 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file              470 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file              475 fs/btrfs/ioctl.c static int btrfs_ioctl_getversion(struct file *file, int __user *arg)
file              477 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file              482 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_fitrim(struct file *file, void __user *arg)
file              484 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             1386 fs/btrfs/ioctl.c int btrfs_defrag_file(struct inode *inode, struct file *file,
file             1432 fs/btrfs/ioctl.c 	if (!file) {
file             1437 fs/btrfs/ioctl.c 		ra = &file->f_ra;
file             1519 fs/btrfs/ioctl.c 						file, ra_index, cluster);
file             1590 fs/btrfs/ioctl.c 	if (!file)
file             1596 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_resize(struct file *file,
file             1599 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             1617 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             1622 fs/btrfs/ioctl.c 		mnt_drop_write_file(file);
file             1734 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             1738 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_snap_create_transid(struct file *file,
file             1746 fs/btrfs/ioctl.c 	if (!S_ISDIR(file_inode(file)->i_mode))
file             1749 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             1766 fs/btrfs/ioctl.c 		ret = btrfs_mksubvol(&file->f_path, name, namelen,
file             1771 fs/btrfs/ioctl.c 		if (!src.file) {
file             1776 fs/btrfs/ioctl.c 		src_inode = file_inode(src.file);
file             1777 fs/btrfs/ioctl.c 		if (src_inode->i_sb != file_inode(file)->i_sb) {
file             1778 fs/btrfs/ioctl.c 			btrfs_info(BTRFS_I(file_inode(file))->root->fs_info,
file             1788 fs/btrfs/ioctl.c 			ret = btrfs_mksubvol(&file->f_path, name, namelen,
file             1795 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             1800 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_snap_create(struct file *file,
file             1806 fs/btrfs/ioctl.c 	if (!S_ISDIR(file_inode(file)->i_mode))
file             1814 fs/btrfs/ioctl.c 	ret = btrfs_ioctl_snap_create_transid(file, vol_args->name,
file             1822 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_snap_create_v2(struct file *file,
file             1832 fs/btrfs/ioctl.c 	if (!S_ISDIR(file_inode(file)->i_mode))
file             1848 fs/btrfs/ioctl.c 		struct inode *inode = file_inode(file);
file             1870 fs/btrfs/ioctl.c 	ret = btrfs_ioctl_snap_create_transid(file, vol_args->name,
file             1889 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_subvol_getflags(struct file *file,
file             1892 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             1912 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_subvol_setflags(struct file *file,
file             1915 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             1926 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             2001 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             2216 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_tree_search(struct file *file,
file             2235 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2250 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_tree_search_v2(struct file *file,
file             2274 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2538 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_ino_lookup(struct file *file,
file             2549 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2592 fs/btrfs/ioctl.c static int btrfs_ioctl_ino_lookup_user(struct file *file, void __user *argp)
file             2602 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2624 fs/btrfs/ioctl.c static int btrfs_ioctl_get_subvol_info(struct file *file, void __user *argp)
file             2650 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2746 fs/btrfs/ioctl.c static int btrfs_ioctl_get_subvol_rootref(struct file *file, void __user *argp)
file             2770 fs/btrfs/ioctl.c 	inode = file_inode(file);
file             2839 fs/btrfs/ioctl.c static noinline int btrfs_ioctl_snap_destroy(struct file *file,
file             2842 fs/btrfs/ioctl.c 	struct dentry *parent = file->f_path.dentry;
file             2868 fs/btrfs/ioctl.c 	err = mnt_want_write_file(file);
file             2946 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             2952 fs/btrfs/ioctl.c static int btrfs_ioctl_defrag(struct file *file, void __user *argp)
file             2954 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             2959 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             3010 fs/btrfs/ioctl.c 		ret = btrfs_defrag_file(file_inode(file), file,
file             3020 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             3053 fs/btrfs/ioctl.c static long btrfs_ioctl_rm_dev_v2(struct file *file, void __user *arg)
file             3055 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             3063 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             3103 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             3107 fs/btrfs/ioctl.c static long btrfs_ioctl_rm_dev(struct file *file, void __user *arg)
file             3109 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             3117 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             3141 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             3756 fs/btrfs/ioctl.c static noinline int btrfs_clone_files(struct file *file, struct file *file_src,
file             3759 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             3825 fs/btrfs/ioctl.c static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in,
file             3826 fs/btrfs/ioctl.c 				       struct file *file_out, loff_t pos_out,
file             3915 fs/btrfs/ioctl.c loff_t btrfs_remap_file_range(struct file *src_file, loff_t off,
file             3916 fs/btrfs/ioctl.c 		struct file *dst_file, loff_t destoff, loff_t len,
file             3951 fs/btrfs/ioctl.c static long btrfs_ioctl_default_subvol(struct file *file, void __user *argp)
file             3953 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             3969 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4029 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4235 fs/btrfs/ioctl.c static long btrfs_ioctl_scrub(struct file *file, void __user *arg)
file             4237 fs/btrfs/ioctl.c 	struct btrfs_fs_info *fs_info = btrfs_sb(file_inode(file)->i_sb);
file             4249 fs/btrfs/ioctl.c 		ret = mnt_want_write_file(file);
file             4274 fs/btrfs/ioctl.c 		mnt_drop_write_file(file);
file             4551 fs/btrfs/ioctl.c static long btrfs_ioctl_balance(struct file *file, void __user *arg)
file             4553 fs/btrfs/ioctl.c 	struct btrfs_root *root = BTRFS_I(file_inode(file))->root;
file             4563 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4693 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4744 fs/btrfs/ioctl.c static long btrfs_ioctl_quota_ctl(struct file *file, void __user *arg)
file             4746 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4754 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4781 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4785 fs/btrfs/ioctl.c static long btrfs_ioctl_qgroup_assign(struct file *file, void __user *arg)
file             4787 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4798 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4832 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4836 fs/btrfs/ioctl.c static long btrfs_ioctl_qgroup_create(struct file *file, void __user *arg)
file             4838 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4848 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4882 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4886 fs/btrfs/ioctl.c static long btrfs_ioctl_qgroup_limit(struct file *file, void __user *arg)
file             4888 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4899 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4930 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4934 fs/btrfs/ioctl.c static long btrfs_ioctl_quota_rescan(struct file *file, void __user *arg)
file             4936 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4944 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             4964 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             4968 fs/btrfs/ioctl.c static long btrfs_ioctl_quota_rescan_status(struct file *file, void __user *arg)
file             4970 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             4994 fs/btrfs/ioctl.c static long btrfs_ioctl_quota_rescan_wait(struct file *file, void __user *arg)
file             4996 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5005 fs/btrfs/ioctl.c static long _btrfs_ioctl_set_received_subvol(struct file *file,
file             5008 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5020 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             5091 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             5096 fs/btrfs/ioctl.c static long btrfs_ioctl_set_received_subvol_32(struct file *file,
file             5122 fs/btrfs/ioctl.c 	ret = _btrfs_ioctl_set_received_subvol(file, args64);
file             5146 fs/btrfs/ioctl.c static long btrfs_ioctl_set_received_subvol(struct file *file,
file             5156 fs/btrfs/ioctl.c 	ret = _btrfs_ioctl_set_received_subvol(file, sa);
file             5170 fs/btrfs/ioctl.c static int btrfs_ioctl_get_fslabel(struct file *file, void __user *arg)
file             5172 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5195 fs/btrfs/ioctl.c static int btrfs_ioctl_set_fslabel(struct file *file, void __user *arg)
file             5197 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5218 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             5234 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             5257 fs/btrfs/ioctl.c static int btrfs_ioctl_get_features(struct file *file, void __user *arg)
file             5259 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5339 fs/btrfs/ioctl.c static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
file             5341 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5376 fs/btrfs/ioctl.c 	ret = mnt_want_write_file(file);
file             5405 fs/btrfs/ioctl.c 	mnt_drop_write_file(file);
file             5410 fs/btrfs/ioctl.c static int _btrfs_ioctl_send(struct file *file, void __user *argp, bool compat)
file             5440 fs/btrfs/ioctl.c 	ret = btrfs_ioctl_send(file, arg);
file             5445 fs/btrfs/ioctl.c long btrfs_ioctl(struct file *file, unsigned int
file             5448 fs/btrfs/ioctl.c 	struct inode *inode = file_inode(file);
file             5455 fs/btrfs/ioctl.c 		return btrfs_ioctl_getflags(file, argp);
file             5457 fs/btrfs/ioctl.c 		return btrfs_ioctl_setflags(file, argp);
file             5459 fs/btrfs/ioctl.c 		return btrfs_ioctl_getversion(file, argp);
file             5461 fs/btrfs/ioctl.c 		return btrfs_ioctl_get_fslabel(file, argp);
file             5463 fs/btrfs/ioctl.c 		return btrfs_ioctl_set_fslabel(file, argp);
file             5465 fs/btrfs/ioctl.c 		return btrfs_ioctl_fitrim(file, argp);
file             5467 fs/btrfs/ioctl.c 		return btrfs_ioctl_snap_create(file, argp, 0);
file             5469 fs/btrfs/ioctl.c 		return btrfs_ioctl_snap_create_v2(file, argp, 0);
file             5471 fs/btrfs/ioctl.c 		return btrfs_ioctl_snap_create(file, argp, 1);
file             5473 fs/btrfs/ioctl.c 		return btrfs_ioctl_snap_create_v2(file, argp, 1);
file             5475 fs/btrfs/ioctl.c 		return btrfs_ioctl_snap_destroy(file, argp);
file             5477 fs/btrfs/ioctl.c 		return btrfs_ioctl_subvol_getflags(file, argp);
file             5479 fs/btrfs/ioctl.c 		return btrfs_ioctl_subvol_setflags(file, argp);
file             5481 fs/btrfs/ioctl.c 		return btrfs_ioctl_default_subvol(file, argp);
file             5483 fs/btrfs/ioctl.c 		return btrfs_ioctl_defrag(file, NULL);
file             5485 fs/btrfs/ioctl.c 		return btrfs_ioctl_defrag(file, argp);
file             5487 fs/btrfs/ioctl.c 		return btrfs_ioctl_resize(file, argp);
file             5491 fs/btrfs/ioctl.c 		return btrfs_ioctl_rm_dev(file, argp);
file             5493 fs/btrfs/ioctl.c 		return btrfs_ioctl_rm_dev_v2(file, argp);
file             5499 fs/btrfs/ioctl.c 		return btrfs_ioctl_balance(file, NULL);
file             5501 fs/btrfs/ioctl.c 		return btrfs_ioctl_tree_search(file, argp);
file             5503 fs/btrfs/ioctl.c 		return btrfs_ioctl_tree_search_v2(file, argp);
file             5505 fs/btrfs/ioctl.c 		return btrfs_ioctl_ino_lookup(file, argp);
file             5534 fs/btrfs/ioctl.c 		return btrfs_ioctl_scrub(file, argp);
file             5540 fs/btrfs/ioctl.c 		return btrfs_ioctl_balance(file, argp);
file             5546 fs/btrfs/ioctl.c 		return btrfs_ioctl_set_received_subvol(file, argp);
file             5549 fs/btrfs/ioctl.c 		return btrfs_ioctl_set_received_subvol_32(file, argp);
file             5552 fs/btrfs/ioctl.c 		return _btrfs_ioctl_send(file, argp, false);
file             5555 fs/btrfs/ioctl.c 		return _btrfs_ioctl_send(file, argp, true);
file             5560 fs/btrfs/ioctl.c 		return btrfs_ioctl_quota_ctl(file, argp);
file             5562 fs/btrfs/ioctl.c 		return btrfs_ioctl_qgroup_assign(file, argp);
file             5564 fs/btrfs/ioctl.c 		return btrfs_ioctl_qgroup_create(file, argp);
file             5566 fs/btrfs/ioctl.c 		return btrfs_ioctl_qgroup_limit(file, argp);
file             5568 fs/btrfs/ioctl.c 		return btrfs_ioctl_quota_rescan(file, argp);
file             5570 fs/btrfs/ioctl.c 		return btrfs_ioctl_quota_rescan_status(file, argp);
file             5572 fs/btrfs/ioctl.c 		return btrfs_ioctl_quota_rescan_wait(file, argp);
file             5578 fs/btrfs/ioctl.c 		return btrfs_ioctl_get_features(file, argp);
file             5580 fs/btrfs/ioctl.c 		return btrfs_ioctl_set_features(file, argp);
file             5582 fs/btrfs/ioctl.c 		return btrfs_ioctl_fsgetxattr(file, argp);
file             5584 fs/btrfs/ioctl.c 		return btrfs_ioctl_fssetxattr(file, argp);
file             5586 fs/btrfs/ioctl.c 		return btrfs_ioctl_get_subvol_info(file, argp);
file             5588 fs/btrfs/ioctl.c 		return btrfs_ioctl_get_subvol_rootref(file, argp);
file             5590 fs/btrfs/ioctl.c 		return btrfs_ioctl_ino_lookup_user(file, argp);
file             5597 fs/btrfs/ioctl.c long btrfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             5615 fs/btrfs/ioctl.c 	return btrfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file               78 fs/btrfs/send.c 	struct file *send_filp;
file              554 fs/btrfs/send.c static int write_buf(struct file *filp, const void *buf, u32 len, loff_t *off)
file             7047 fs/btrfs/send.c long btrfs_ioctl_send(struct file *mnt_file, struct btrfs_ioctl_send_args *arg)
file              123 fs/btrfs/send.h long btrfs_ioctl_send(struct file *mnt_file, struct btrfs_ioctl_send_args *arg);
file             2161 fs/btrfs/super.c static int btrfs_control_open(struct inode *inode, struct file *file)
file             2168 fs/btrfs/super.c 	file->private_data = NULL;
file             2175 fs/btrfs/super.c static long btrfs_control_ioctl(struct file *file, unsigned int cmd,
file             1988 fs/btrfs/volumes.c 	struct file *filp;
file             2100 fs/buffer.c    int block_write_end(struct file *file, struct address_space *mapping,
file             2136 fs/buffer.c    int generic_write_end(struct file *file, struct address_space *mapping,
file             2144 fs/buffer.c    	copied = block_write_end(file, mapping, pos, len, copied, page, fsdata);
file             2341 fs/buffer.c    static int cont_expand_zero(struct file *file, struct address_space *mapping,
file             2364 fs/buffer.c    		err = pagecache_write_begin(file, mapping, curpos, len, 0,
file             2369 fs/buffer.c    		err = pagecache_write_end(file, mapping, curpos, len, len,
file             2397 fs/buffer.c    		err = pagecache_write_begin(file, mapping, curpos, len, 0,
file             2402 fs/buffer.c    		err = pagecache_write_end(file, mapping, curpos, len, len,
file             2417 fs/buffer.c    int cont_write_begin(struct file *file, struct address_space *mapping,
file             2427 fs/buffer.c    	err = cont_expand_zero(file, mapping, pos, bytes);
file             2686 fs/buffer.c    int nobh_write_end(struct file *file, struct address_space *mapping,
file             2698 fs/buffer.c    		return generic_write_end(file, mapping, pos, len,
file               24 fs/cachefiles/daemon.c static int cachefiles_daemon_open(struct inode *, struct file *);
file               25 fs/cachefiles/daemon.c static int cachefiles_daemon_release(struct inode *, struct file *);
file               26 fs/cachefiles/daemon.c static ssize_t cachefiles_daemon_read(struct file *, char __user *, size_t,
file               28 fs/cachefiles/daemon.c static ssize_t cachefiles_daemon_write(struct file *, const char __user *,
file               30 fs/cachefiles/daemon.c static __poll_t cachefiles_daemon_poll(struct file *,
file               83 fs/cachefiles/daemon.c static int cachefiles_daemon_open(struct inode *inode, struct file *file)
file              121 fs/cachefiles/daemon.c 	file->private_data = cache;
file              122 fs/cachefiles/daemon.c 	cache->cachefilesd = file;
file              129 fs/cachefiles/daemon.c static int cachefiles_daemon_release(struct inode *inode, struct file *file)
file              131 fs/cachefiles/daemon.c 	struct cachefiles_cache *cache = file->private_data;
file              145 fs/cachefiles/daemon.c 	file->private_data = NULL;
file              157 fs/cachefiles/daemon.c static ssize_t cachefiles_daemon_read(struct file *file, char __user *_buffer,
file              160 fs/cachefiles/daemon.c 	struct cachefiles_cache *cache = file->private_data;
file              211 fs/cachefiles/daemon.c static ssize_t cachefiles_daemon_write(struct file *file,
file              217 fs/cachefiles/daemon.c 	struct cachefiles_cache *cache = file->private_data;
file              290 fs/cachefiles/daemon.c static __poll_t cachefiles_daemon_poll(struct file *file,
file              293 fs/cachefiles/daemon.c 	struct cachefiles_cache *cache = file->private_data;
file              296 fs/cachefiles/daemon.c 	poll_wait(file, &cache->daemon_pollwq, poll);
file               59 fs/cachefiles/internal.h 	struct file			*cachefilesd;	/* manager daemon handle */
file              884 fs/cachefiles/rdwr.c 	struct file *file;
file              922 fs/cachefiles/rdwr.c 	file = dentry_open(&path, O_RDWR | O_LARGEFILE, cache->cache_cred);
file              923 fs/cachefiles/rdwr.c 	if (IS_ERR(file)) {
file              924 fs/cachefiles/rdwr.c 		ret = PTR_ERR(file);
file              939 fs/cachefiles/rdwr.c 	ret = __kernel_write(file, data, len, &pos);
file              941 fs/cachefiles/rdwr.c 	fput(file);
file              188 fs/ceph/addr.c static int ceph_do_readpage(struct file *filp, struct page *page)
file              247 fs/ceph/addr.c static int ceph_readpage(struct file *filp, struct page *page)
file              441 fs/ceph/addr.c static int ceph_readpages(struct file *file, struct address_space *mapping,
file              444 fs/ceph/addr.c 	struct inode *inode = file_inode(file);
file              446 fs/ceph/addr.c 	struct ceph_file_info *fi = file->private_data;
file              463 fs/ceph/addr.c 	     inode, file, rw_ctx, nr_pages, max);
file              472 fs/ceph/addr.c 	dout("readpages %p file %p ret %d\n", inode, file, rc);
file             1215 fs/ceph/addr.c static int ceph_update_writeable_page(struct file *file,
file             1219 fs/ceph/addr.c 	struct inode *inode = file_inode(file);
file             1301 fs/ceph/addr.c 	r = ceph_do_readpage(file, page);
file             1317 fs/ceph/addr.c static int ceph_write_begin(struct file *file, struct address_space *mapping,
file             1321 fs/ceph/addr.c 	struct inode *inode = file_inode(file);
file             1332 fs/ceph/addr.c 		dout("write_begin file %p inode %p page %p %d~%d\n", file,
file             1335 fs/ceph/addr.c 		r = ceph_update_writeable_page(file, pos, len, page);
file             1349 fs/ceph/addr.c static int ceph_write_end(struct file *file, struct address_space *mapping,
file             1353 fs/ceph/addr.c 	struct inode *inode = file_inode(file);
file             1356 fs/ceph/addr.c 	dout("write_end file %p inode %p page %p %d~%d (%d)\n", file,
file             1660 fs/ceph/addr.c int ceph_uninline_data(struct file *filp, struct page *locked_page)
file             1798 fs/ceph/addr.c int ceph_mmap(struct file *file, struct vm_area_struct *vma)
file             1800 fs/ceph/addr.c 	struct address_space *mapping = file->f_mapping;
file             1804 fs/ceph/addr.c 	file_accessed(file);
file              185 fs/ceph/cache.c void ceph_fscache_file_set_cookie(struct inode *inode, struct file *filp)
file               24 fs/ceph/cache.h void ceph_fscache_file_set_cookie(struct inode *inode, struct file *filp);
file              113 fs/ceph/cache.h 						struct file *filp)
file             2228 fs/ceph/caps.c int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             2230 fs/ceph/caps.c 	struct ceph_file_info *fi = file->private_data;
file             2231 fs/ceph/caps.c 	struct inode *inode = file->f_mapping->host;
file             2239 fs/ceph/caps.c 	ret = file_write_and_wait_range(file, start, end);
file             2262 fs/ceph/caps.c 		spin_lock(&file->f_lock);
file             2265 fs/ceph/caps.c 		spin_unlock(&file->f_lock);
file             2743 fs/ceph/caps.c int ceph_get_caps(struct file *filp, int need, int want,
file              177 fs/ceph/dir.c  static int __dcache_readdir(struct file *file,  struct dir_context *ctx,
file              180 fs/ceph/dir.c  	struct ceph_dir_file_info *dfi = file->private_data;
file              181 fs/ceph/dir.c  	struct dentry *parent = file->f_path.dentry;
file              303 fs/ceph/dir.c  static int ceph_readdir(struct file *file, struct dir_context *ctx)
file              305 fs/ceph/dir.c  	struct ceph_dir_file_info *dfi = file->private_data;
file              306 fs/ceph/dir.c  	struct inode *inode = file_inode(file);
file              315 fs/ceph/dir.c  	dout("readdir %p file %p pos %llx\n", inode, file, ctx->pos);
file              329 fs/ceph/dir.c  		ino_t ino = parent_ino(file->f_path.dentry);
file              347 fs/ceph/dir.c  		err = __dcache_readdir(file, ctx, shared_gen);
file              416 fs/ceph/dir.c  		req->r_dentry = dget(file->f_path.dentry);
file              578 fs/ceph/dir.c  	dout("readdir %p file %p done.\n", inode, file);
file              620 fs/ceph/dir.c  static loff_t ceph_dir_llseek(struct file *file, loff_t offset, int whence)
file              622 fs/ceph/dir.c  	struct ceph_dir_file_info *dfi = file->private_data;
file              623 fs/ceph/dir.c  	struct inode *inode = file->f_mapping->host;
file              630 fs/ceph/dir.c  		offset += file->f_pos;
file              641 fs/ceph/dir.c  			dout("dir_llseek dropping %p content\n", file);
file              643 fs/ceph/dir.c  		} else if (is_hash_order(offset) && offset > file->f_pos) {
file              650 fs/ceph/dir.c  		if (offset != file->f_pos) {
file              651 fs/ceph/dir.c  			file->f_pos = offset;
file              652 fs/ceph/dir.c  			file->f_version = 0;
file             1733 fs/ceph/dir.c  static ssize_t ceph_read_dir(struct file *file, char __user *buf, size_t size,
file             1736 fs/ceph/dir.c  	struct ceph_dir_file_info *dfi = file->private_data;
file             1737 fs/ceph/dir.c  	struct inode *inode = file_inode(file);
file              202 fs/ceph/file.c static int ceph_init_file_info(struct inode *inode, struct file *file,
file              208 fs/ceph/file.c 	dout("%s %p %p 0%o (%s)\n", __func__, inode, file,
file              220 fs/ceph/file.c 		file->private_data = dfi;
file              231 fs/ceph/file.c 		file->private_data = fi;
file              247 fs/ceph/file.c static int ceph_init_file(struct inode *inode, struct file *file, int fmode)
file              254 fs/ceph/file.c 		ceph_fscache_file_set_cookie(inode, file);
file              257 fs/ceph/file.c 		ret = ceph_init_file_info(inode, file, fmode,
file              264 fs/ceph/file.c 		dout("init_file %p %p 0%o (symlink)\n", inode, file,
file              270 fs/ceph/file.c 		dout("init_file %p %p 0%o (special)\n", inode, file,
file              280 fs/ceph/file.c 		ret = inode->i_fop->open(inode, file);
file              344 fs/ceph/file.c int ceph_open(struct inode *inode, struct file *file)
file              350 fs/ceph/file.c 	struct ceph_file_info *fi = file->private_data;
file              355 fs/ceph/file.c 		dout("open file %p is already opened\n", file);
file              360 fs/ceph/file.c 	flags = file->f_flags & ~(O_CREAT|O_EXCL);
file              365 fs/ceph/file.c 	     ceph_vinop(inode), file, flags, file->f_flags);
file              370 fs/ceph/file.c 	if (ceph_snap(inode) != CEPH_NOSNAP && (file->f_mode & FMODE_WRITE))
file              378 fs/ceph/file.c 		return ceph_init_file(inode, file, fmode);
file              404 fs/ceph/file.c 		return ceph_init_file(inode, file, fmode);
file              409 fs/ceph/file.c 		return ceph_init_file(inode, file, fmode);
file              426 fs/ceph/file.c 		err = ceph_init_file(inode, file, req->r_fmode);
file              439 fs/ceph/file.c 		     struct file *file, unsigned flags, umode_t mode)
file              517 fs/ceph/file.c 		err = finish_no_open(file, dn);
file              522 fs/ceph/file.c 			file->f_mode |= FMODE_CREATED;
file              524 fs/ceph/file.c 		err = finish_open(file, dentry, ceph_open);
file              536 fs/ceph/file.c int ceph_release(struct inode *inode, struct file *file)
file              541 fs/ceph/file.c 		struct ceph_dir_file_info *dfi = file->private_data;
file              542 fs/ceph/file.c 		dout("release inode %p dir file %p\n", inode, file);
file              553 fs/ceph/file.c 		struct ceph_file_info *fi = file->private_data;
file              554 fs/ceph/file.c 		dout("release inode %p regular file %p\n", inode, file);
file              585 fs/ceph/file.c 	struct file *file = iocb->ki_filp;
file              586 fs/ceph/file.c 	struct inode *inode = file_inode(file);
file              594 fs/ceph/file.c 	dout("sync_read on file %p %llu~%u %s\n", file, off, (unsigned)len,
file              595 fs/ceph/file.c 	     (file->f_flags & O_DIRECT) ? "O_DIRECT" : "");
file              930 fs/ceph/file.c 	struct file *file = iocb->ki_filp;
file              931 fs/ceph/file.c 	struct inode *inode = file_inode(file);
file              947 fs/ceph/file.c 	if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP)
file              951 fs/ceph/file.c 	     (write ? "write" : "read"), file, pos, (unsigned)count,
file             1132 fs/ceph/file.c 	struct file *file = iocb->ki_filp;
file             1133 fs/ceph/file.c 	struct inode *inode = file_inode(file);
file             1148 fs/ceph/file.c 	if (ceph_snap(file_inode(file)) != CEPH_NOSNAP)
file             1152 fs/ceph/file.c 	     file, pos, (unsigned)count, snapc, snapc->seq);
file             1257 fs/ceph/file.c 	struct file *filp = iocb->ki_filp;
file             1413 fs/ceph/file.c 	struct file *file = iocb->ki_filp;
file             1414 fs/ceph/file.c 	struct ceph_file_info *fi = file->private_data;
file             1415 fs/ceph/file.c 	struct inode *inode = file_inode(file);
file             1471 fs/ceph/file.c 	err = file_remove_privs(file);
file             1475 fs/ceph/file.c 	err = file_update_time(file);
file             1482 fs/ceph/file.c 		err = ceph_uninline_data(file, NULL);
file             1504 fs/ceph/file.c 	err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count,
file             1553 fs/ceph/file.c 		written = generic_perform_write(file, from, pos);
file             1606 fs/ceph/file.c static loff_t ceph_llseek(struct file *file, loff_t offset, int whence)
file             1608 fs/ceph/file.c 	struct inode *inode = file->f_mapping->host;
file             1634 fs/ceph/file.c 			ret = file->f_pos;
file             1637 fs/ceph/file.c 		offset += file->f_pos;
file             1654 fs/ceph/file.c 	ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size));
file             1785 fs/ceph/file.c static long ceph_fallocate(struct file *file, int mode,
file             1788 fs/ceph/file.c 	struct ceph_file_info *fi = file->private_data;
file             1789 fs/ceph/file.c 	struct inode *inode = file_inode(file);
file             1816 fs/ceph/file.c 		ret = ceph_uninline_data(file, NULL);
file             1834 fs/ceph/file.c 	ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got, NULL);
file             1863 fs/ceph/file.c static int get_rd_wr_caps(struct file *src_filp, int *src_got,
file             1864 fs/ceph/file.c 			  struct file *dst_filp,
file             1947 fs/ceph/file.c static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off,
file             1948 fs/ceph/file.c 				      struct file *dst_file, loff_t dst_off,
file             2176 fs/ceph/file.c static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off,
file             2177 fs/ceph/file.c 				    struct file *dst_file, loff_t dst_off,
file               17 fs/ceph/ioctl.c static long ceph_ioctl_get_layout(struct file *file, void __user *arg)
file               19 fs/ceph/ioctl.c 	struct ceph_inode_info *ci = ceph_inode(file_inode(file));
file               23 fs/ceph/ioctl.c 	err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false);
file               64 fs/ceph/ioctl.c static long ceph_ioctl_set_layout(struct file *file, void __user *arg)
file               66 fs/ceph/ioctl.c 	struct inode *inode = file_inode(file);
file               70 fs/ceph/ioctl.c 	struct ceph_inode_info *ci = ceph_inode(file_inode(file));
file               78 fs/ceph/ioctl.c 	err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false);
file              136 fs/ceph/ioctl.c static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg)
file              138 fs/ceph/ioctl.c 	struct inode *inode = file_inode(file);
file              179 fs/ceph/ioctl.c static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg)
file              182 fs/ceph/ioctl.c 	struct inode *inode = file_inode(file);
file              241 fs/ceph/ioctl.c static long ceph_ioctl_lazyio(struct file *file)
file              243 fs/ceph/ioctl.c 	struct ceph_file_info *fi = file->private_data;
file              244 fs/ceph/ioctl.c 	struct inode *inode = file_inode(file);
file              252 fs/ceph/ioctl.c 		dout("ioctl_layzio: file %p marked lazy\n", file);
file              256 fs/ceph/ioctl.c 		dout("ioctl_layzio: file %p already lazy\n", file);
file              261 fs/ceph/ioctl.c static long ceph_ioctl_syncio(struct file *file)
file              263 fs/ceph/ioctl.c 	struct ceph_file_info *fi = file->private_data;
file              269 fs/ceph/ioctl.c long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              271 fs/ceph/ioctl.c 	dout("ioctl file %p cmd %u arg %lu\n", file, cmd, arg);
file              274 fs/ceph/ioctl.c 		return ceph_ioctl_get_layout(file, (void __user *)arg);
file              277 fs/ceph/ioctl.c 		return ceph_ioctl_set_layout(file, (void __user *)arg);
file              280 fs/ceph/ioctl.c 		return ceph_ioctl_set_layout_policy(file, (void __user *)arg);
file              283 fs/ceph/ioctl.c 		return ceph_ioctl_get_dataloc(file, (void __user *)arg);
file              286 fs/ceph/ioctl.c 		return ceph_ioctl_lazyio(file);
file              289 fs/ceph/ioctl.c 		return ceph_ioctl_syncio(file);
file              217 fs/ceph/locks.c int ceph_lock(struct file *file, int cmd, struct file_lock *fl)
file              219 fs/ceph/locks.c 	struct inode *inode = file_inode(file);
file              229 fs/ceph/locks.c 	if (__mandatory_lock(file->f_mapping->host) && fl->fl_type != F_UNLCK)
file              247 fs/ceph/locks.c 			posix_lock_file(file, fl, NULL);
file              262 fs/ceph/locks.c 			err = posix_lock_file(file, fl, NULL);
file              277 fs/ceph/locks.c int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
file              279 fs/ceph/locks.c 	struct inode *inode = file_inode(file);
file              300 fs/ceph/locks.c 			locks_lock_file_wait(file, fl);
file              317 fs/ceph/locks.c 		err = locks_lock_file_wait(file, fl);
file             1050 fs/ceph/super.h extern int ceph_fsync(struct file *file, loff_t start, loff_t end,
file             1076 fs/ceph/super.h extern int ceph_get_caps(struct file *filp, int need, int want,
file             1087 fs/ceph/super.h extern int ceph_mmap(struct file *file, struct vm_area_struct *vma);
file             1088 fs/ceph/super.h extern int ceph_uninline_data(struct file *filp, struct page *locked_page);
file             1096 fs/ceph/super.h extern int ceph_open(struct inode *inode, struct file *file);
file             1098 fs/ceph/super.h 			    struct file *file, unsigned flags, umode_t mode);
file             1099 fs/ceph/super.h extern int ceph_release(struct inode *inode, struct file *filp);
file             1125 fs/ceph/super.h extern long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             1133 fs/ceph/super.h extern int ceph_lock(struct file *file, int cmd, struct file_lock *fl);
file             1134 fs/ceph/super.h extern int ceph_flock(struct file *file, int cmd, struct file_lock *fl);
file              393 fs/ceph/xattr.c 	XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
file              394 fs/ceph/xattr.c 	XATTR_LAYOUT_FIELD(file, layout, stripe_count),
file              395 fs/ceph/xattr.c 	XATTR_LAYOUT_FIELD(file, layout, object_size),
file              396 fs/ceph/xattr.c 	XATTR_LAYOUT_FIELD(file, layout, pool),
file              397 fs/ceph/xattr.c 	XATTR_LAYOUT_FIELD(file, layout, pool_namespace),
file              373 fs/char_dev.c  static int chrdev_open(struct inode *inode, struct file *filp)
file              431 fs/cifs/cifs_debug.c static ssize_t cifs_stats_proc_write(struct file *file,
file              577 fs/cifs/cifs_debug.c static int cifs_stats_proc_open(struct inode *inode, struct file *file)
file              579 fs/cifs/cifs_debug.c 	return single_open(file, cifs_stats_proc_show, NULL);
file              592 fs/cifs/cifs_debug.c static ssize_t name##_write(struct file *file, const char __user *buffer, \
file              606 fs/cifs/cifs_debug.c static int name##_open(struct inode *inode, struct file *file) \
file              608 fs/cifs/cifs_debug.c 	return single_open(file, name##_proc_show, NULL); \
file              720 fs/cifs/cifs_debug.c static int cifsFYI_proc_open(struct inode *inode, struct file *file)
file              722 fs/cifs/cifs_debug.c 	return single_open(file, cifsFYI_proc_show, NULL);
file              725 fs/cifs/cifs_debug.c static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer,
file              759 fs/cifs/cifs_debug.c static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file)
file              761 fs/cifs/cifs_debug.c 	return single_open(file, cifs_linux_ext_proc_show, NULL);
file              764 fs/cifs/cifs_debug.c static ssize_t cifs_linux_ext_proc_write(struct file *file,
file              790 fs/cifs/cifs_debug.c static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file)
file              792 fs/cifs/cifs_debug.c 	return single_open(file, cifs_lookup_cache_proc_show, NULL);
file              795 fs/cifs/cifs_debug.c static ssize_t cifs_lookup_cache_proc_write(struct file *file,
file              821 fs/cifs/cifs_debug.c static int traceSMB_proc_open(struct inode *inode, struct file *file)
file              823 fs/cifs/cifs_debug.c 	return single_open(file, traceSMB_proc_show, NULL);
file              826 fs/cifs/cifs_debug.c static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer,
file              852 fs/cifs/cifs_debug.c static int cifs_security_flags_proc_open(struct inode *inode, struct file *file)
file              854 fs/cifs/cifs_debug.c 	return single_open(file, cifs_security_flags_proc_show, NULL);
file              885 fs/cifs/cifs_debug.c static ssize_t cifs_security_flags_proc_write(struct file *file,
file              284 fs/cifs/cifsfs.c static long cifs_fallocate(struct file *file, int mode, loff_t off, loff_t len)
file              286 fs/cifs/cifsfs.c 	struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file);
file              291 fs/cifs/cifsfs.c 		return server->ops->fallocate(file, tcon, mode, off, len);
file              939 fs/cifs/cifsfs.c static loff_t cifs_llseek(struct file *file, loff_t offset, int whence)
file              941 fs/cifs/cifsfs.c 	struct cifsFileInfo *cfile = file->private_data;
file              950 fs/cifs/cifsfs.c 		struct inode *inode = file_inode(file);
file              971 fs/cifs/cifsfs.c 		rc = cifs_revalidate_file_attr(file);
file              978 fs/cifs/cifsfs.c 			return tcon->ses->server->ops->llseek(file, tcon,
file              981 fs/cifs/cifsfs.c 	return generic_file_llseek(file, offset, whence);
file              985 fs/cifs/cifsfs.c cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv)
file              991 fs/cifs/cifsfs.c 	struct inode *inode = file_inode(file);
file              992 fs/cifs/cifsfs.c 	struct cifsFileInfo *cfile = file->private_data;
file             1001 fs/cifs/cifsfs.c 		return generic_setlease(file, arg, lease, priv);
file             1012 fs/cifs/cifsfs.c 		return generic_setlease(file, arg, lease, priv);
file             1067 fs/cifs/cifsfs.c static loff_t cifs_remap_file_range(struct file *src_file, loff_t off,
file             1068 fs/cifs/cifsfs.c 		struct file *dst_file, loff_t destoff, loff_t len,
file             1128 fs/cifs/cifsfs.c 				struct file *src_file, loff_t off,
file             1129 fs/cifs/cifsfs.c 				struct file *dst_file, loff_t destoff,
file             1198 fs/cifs/cifsfs.c static int cifs_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             1201 fs/cifs/cifsfs.c 		 file, datasync);
file             1206 fs/cifs/cifsfs.c static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off,
file             1207 fs/cifs/cifsfs.c 				struct file *dst_file, loff_t destoff,
file               68 fs/cifs/cifsfs.h 			    struct file *, unsigned, umode_t);
file               78 fs/cifs/cifsfs.h extern int cifs_revalidate_file_attr(struct file *filp);
file               80 fs/cifs/cifsfs.h extern int cifs_revalidate_file(struct file *filp);
file              102 fs/cifs/cifsfs.h extern int cifs_open(struct inode *inode, struct file *file);
file              103 fs/cifs/cifsfs.h extern int cifs_close(struct inode *inode, struct file *file);
file              104 fs/cifs/cifsfs.h extern int cifs_closedir(struct inode *inode, struct file *file);
file              111 fs/cifs/cifsfs.h extern int cifs_lock(struct file *, int, struct file_lock *);
file              112 fs/cifs/cifsfs.h extern int cifs_fsync(struct file *, loff_t, loff_t, int);
file              113 fs/cifs/cifsfs.h extern int cifs_strict_fsync(struct file *, loff_t, loff_t, int);
file              114 fs/cifs/cifsfs.h extern int cifs_flush(struct file *, fl_owner_t id);
file              115 fs/cifs/cifsfs.h extern int cifs_file_mmap(struct file * , struct vm_area_struct *);
file              116 fs/cifs/cifsfs.h extern int cifs_file_strict_mmap(struct file * , struct vm_area_struct *);
file              118 fs/cifs/cifsfs.h extern int cifs_dir_open(struct inode *inode, struct file *file);
file              119 fs/cifs/cifsfs.h extern int cifs_readdir(struct file *file, struct dir_context *ctx);
file              146 fs/cifs/cifsfs.h 					struct file *src_file, loff_t off,
file              147 fs/cifs/cifsfs.h 					struct file *dst_file, loff_t destoff,
file              150 fs/cifs/cifsfs.h extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
file              474 fs/cifs/cifsglob.h 	long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
file              502 fs/cifs/cifsglob.h 	loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);
file             1442 fs/cifs/cifsglob.h CIFS_FILE_SB(struct file *file)
file             1444 fs/cifs/cifsglob.h 	return CIFS_SB(file_inode(file)->i_sb);
file             1621 fs/cifs/cifsglob.h 	struct file *pfile;
file              176 fs/cifs/cifsproto.h 					      struct file *file,
file              493 fs/cifs/cifsproto.h 			__u32 filter, struct file *file, int multishot,
file              194 fs/cifs/dfs_cache.c static ssize_t dfscache_proc_write(struct file *file, const char __user *buffer,
file              215 fs/cifs/dfs_cache.c static int dfscache_proc_open(struct inode *inode, struct file *file)
file              217 fs/cifs/dfs_cache.c 	return single_open(file, dfscache_proc_show, NULL);
file              467 fs/cifs/dir.c  		 struct file *file, unsigned oflags, umode_t mode)
file              504 fs/cifs/dir.c  		return finish_no_open(file, res);
file              540 fs/cifs/dir.c  		file->f_mode |= FMODE_CREATED;
file              542 fs/cifs/dir.c  	rc = finish_open(file, direntry, generic_file_open);
file              550 fs/cifs/dir.c  	if (file->f_flags & O_DIRECT &&
file              553 fs/cifs/dir.c  			file->f_op = &cifs_file_direct_nobrl_ops;
file              555 fs/cifs/dir.c  			file->f_op = &cifs_file_direct_ops;
file              558 fs/cifs/dir.c  	file_info = cifs_new_fileinfo(&fid, file, tlink, oplock);
file              294 fs/cifs/file.c cifs_new_fileinfo(struct cifs_fid *fid, struct file *file,
file              297 fs/cifs/file.c 	struct dentry *dentry = file_dentry(file);
file              323 fs/cifs/file.c 	cfile->f_flags = file->f_flags;
file              359 fs/cifs/file.c 	if (file->f_mode & FMODE_READ)
file              369 fs/cifs/file.c 	file->private_data = cfile;
file              515 fs/cifs/file.c int cifs_open(struct inode *inode, struct file *file)
file              542 fs/cifs/file.c 	full_path = build_path_from_dentry(file_dentry(file));
file              549 fs/cifs/file.c 		 inode, file->f_flags, full_path);
file              551 fs/cifs/file.c 	if (file->f_flags & O_DIRECT &&
file              554 fs/cifs/file.c 			file->f_op = &cifs_file_direct_nobrl_ops;
file              556 fs/cifs/file.c 			file->f_op = &cifs_file_direct_ops;
file              570 fs/cifs/file.c 				file->f_flags, &oplock, &fid.netfid, xid);
file              599 fs/cifs/file.c 				  file->f_flags, &oplock, &fid, xid);
file              606 fs/cifs/file.c 	cfile = cifs_new_fileinfo(&fid, file, tlink, oplock);
file              615 fs/cifs/file.c 	cifs_fscache_set_inode_cookie(inode, file);
file              840 fs/cifs/file.c int cifs_close(struct inode *inode, struct file *file)
file              842 fs/cifs/file.c 	if (file->private_data != NULL) {
file              843 fs/cifs/file.c 		_cifsFileInfo_put(file->private_data, true, false);
file              844 fs/cifs/file.c 		file->private_data = NULL;
file              887 fs/cifs/file.c int cifs_closedir(struct inode *inode, struct file *file)
file              891 fs/cifs/file.c 	struct cifsFileInfo *cfile = file->private_data;
file              931 fs/cifs/file.c 	kfree(file->private_data);
file              932 fs/cifs/file.c 	file->private_data = NULL;
file             1130 fs/cifs/file.c cifs_posix_lock_test(struct file *file, struct file_lock *flock)
file             1133 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(file_inode(file));
file             1140 fs/cifs/file.c 	posix_test_lock(file, flock);
file             1158 fs/cifs/file.c cifs_posix_lock_set(struct file *file, struct file_lock *flock)
file             1160 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(file_inode(file));
file             1173 fs/cifs/file.c 	rc = posix_lock_file(file, flock, NULL);
file             1440 fs/cifs/file.c cifs_getlk(struct file *file, struct file_lock *flock, __u32 type,
file             1445 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
file             1453 fs/cifs/file.c 		rc = cifs_posix_lock_test(file, flock);
file             1641 fs/cifs/file.c cifs_setlk(struct file *file, struct file_lock *flock, __u32 type,
file             1647 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
file             1655 fs/cifs/file.c 		rc = cifs_posix_lock_set(file, flock);
file             1729 fs/cifs/file.c 		rc = locks_lock_file_wait(file, flock);
file             1734 fs/cifs/file.c int cifs_lock(struct file *file, int cmd, struct file_lock *flock)
file             1752 fs/cifs/file.c 	cfile = (struct cifsFileInfo *)file->private_data;
file             1757 fs/cifs/file.c 	cifs_sb = CIFS_FILE_SB(file);
file             1768 fs/cifs/file.c 		rc = cifs_getlk(file, flock, type, wait_flag, posix_lck, xid);
file             1782 fs/cifs/file.c 	rc = cifs_setlk(file, flock, type, wait_flag, posix_lck, lock, unlock,
file             2487 fs/cifs/file.c static int cifs_write_end(struct file *file, struct address_space *mapping,
file             2493 fs/cifs/file.c 	struct cifsFileInfo *cfile = file->private_data;
file             2548 fs/cifs/file.c int cifs_strict_fsync(struct file *file, loff_t start, loff_t end,
file             2555 fs/cifs/file.c 	struct cifsFileInfo *smbfile = file->private_data;
file             2556 fs/cifs/file.c 	struct inode *inode = file_inode(file);
file             2559 fs/cifs/file.c 	rc = file_write_and_wait_range(file, start, end);
file             2566 fs/cifs/file.c 		 file, datasync);
file             2589 fs/cifs/file.c int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             2595 fs/cifs/file.c 	struct cifsFileInfo *smbfile = file->private_data;
file             2596 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file);
file             2598 fs/cifs/file.c 	rc = file_write_and_wait_range(file, start, end);
file             2605 fs/cifs/file.c 		 file, datasync);
file             2624 fs/cifs/file.c int cifs_flush(struct file *file, fl_owner_t id)
file             2626 fs/cifs/file.c 	struct inode *inode = file_inode(file);
file             2629 fs/cifs/file.c 	if (file->f_mode & FMODE_WRITE)
file             2632 fs/cifs/file.c 	cifs_dbg(FYI, "Flush inode %p file %p rc %d\n", inode, file, rc);
file             3070 fs/cifs/file.c 	struct file *file = iocb->ki_filp;
file             3094 fs/cifs/file.c 	cifs_sb = CIFS_FILE_SB(file);
file             3095 fs/cifs/file.c 	cfile = file->private_data;
file             3184 fs/cifs/file.c 	struct file *file = iocb->ki_filp;
file             3185 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
file             3186 fs/cifs/file.c 	struct inode *inode = file->f_mapping->host;
file             3795 fs/cifs/file.c 	struct file *file = iocb->ki_filp;
file             3817 fs/cifs/file.c 	cifs_sb = CIFS_FILE_SB(file);
file             3818 fs/cifs/file.c 	cfile = file->private_data;
file             3824 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY)
file             3945 fs/cifs/file.c cifs_read(struct file *file, char *read_data, size_t read_size, loff_t *offset)
file             3963 fs/cifs/file.c 	cifs_sb = CIFS_FILE_SB(file);
file             3968 fs/cifs/file.c 	if (file->private_data == NULL) {
file             3973 fs/cifs/file.c 	open_file = file->private_data;
file             3987 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY)
file             4054 fs/cifs/file.c int cifs_file_strict_mmap(struct file *file, struct vm_area_struct *vma)
file             4057 fs/cifs/file.c 	struct inode *inode = file_inode(file);
file             4064 fs/cifs/file.c 		rc = generic_file_mmap(file, vma);
file             4072 fs/cifs/file.c int cifs_file_mmap(struct file *file, struct vm_area_struct *vma)
file             4078 fs/cifs/file.c 	rc = cifs_revalidate_file(file);
file             4083 fs/cifs/file.c 		rc = generic_file_mmap(file, vma);
file             4284 fs/cifs/file.c static int cifs_readpages(struct file *file, struct address_space *mapping,
file             4289 fs/cifs/file.c 	struct cifsFileInfo *open_file = file->private_data;
file             4290 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file);
file             4319 fs/cifs/file.c 		 __func__, file, mapping, num_pages);
file             4439 fs/cifs/file.c static int cifs_readpage_worker(struct file *file, struct page *page,
file             4446 fs/cifs/file.c 	rc = cifs_readpage_from_fscache(file_inode(file), page);
file             4453 fs/cifs/file.c 	rc = cifs_read(file, read_data, PAGE_SIZE, poffset);
file             4461 fs/cifs/file.c 	file_inode(file)->i_atime = current_time(file_inode(file));
file             4462 fs/cifs/file.c 	if (timespec64_compare(&(file_inode(file)->i_atime), &(file_inode(file)->i_mtime)))
file             4463 fs/cifs/file.c 		file_inode(file)->i_atime = file_inode(file)->i_mtime;
file             4465 fs/cifs/file.c 		file_inode(file)->i_atime = current_time(file_inode(file));
file             4474 fs/cifs/file.c 	cifs_readpage_to_fscache(file_inode(file), page);
file             4486 fs/cifs/file.c static int cifs_readpage(struct file *file, struct page *page)
file             4494 fs/cifs/file.c 	if (file->private_data == NULL) {
file             4503 fs/cifs/file.c 	rc = cifs_readpage_worker(file, page, &offset);
file             4554 fs/cifs/file.c static int cifs_write_begin(struct file *file, struct address_space *mapping,
file             4610 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY && !oncethru) {
file             4616 fs/cifs/file.c 		cifs_readpage_worker(file, page, &page_start);
file              194 fs/cifs/fscache.c void cifs_fscache_set_inode_cookie(struct inode *inode, struct file *filp)
file               62 fs/cifs/fscache.h extern void cifs_fscache_set_inode_cookie(struct inode *, struct file *);
file              131 fs/cifs/fscache.h 						 struct file *filp) {}
file              340 fs/cifs/inode.c cifs_get_file_info_unix(struct file *filp)
file              668 fs/cifs/inode.c cifs_get_file_info(struct file *filp)
file             1990 fs/cifs/inode.c int cifs_revalidate_file_attr(struct file *filp)
file             2051 fs/cifs/inode.c int cifs_revalidate_file(struct file *filp)
file               38 fs/cifs/ioctl.c static long cifs_ioctl_query_info(unsigned int xid, struct file *filep,
file               80 fs/cifs/ioctl.c static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file,
file              102 fs/cifs/ioctl.c 	if (!src_file.file) {
file              107 fs/cifs/ioctl.c 	if (src_file.file->f_op->unlocked_ioctl != cifs_ioctl) {
file              113 fs/cifs/ioctl.c 	src_inode = file_inode(src_file.file);
file              118 fs/cifs/ioctl.c 	rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0,
file              164 fs/cifs/ioctl.c long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
file               44 fs/cifs/readdir.c static void dump_cifs_file_struct(struct file *file, char *label)
file               48 fs/cifs/readdir.c 	if (file) {
file               49 fs/cifs/readdir.c 		cf = file->private_data;
file               63 fs/cifs/readdir.c static inline void dump_cifs_file_struct(struct file *file, char *label)
file              267 fs/cifs/readdir.c initiate_cifs_search(const unsigned int xid, struct file *file)
file              273 fs/cifs/readdir.c 	struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file);
file              278 fs/cifs/readdir.c 	if (file->private_data == NULL) {
file              289 fs/cifs/readdir.c 		file->private_data = cifsFile;
file              293 fs/cifs/readdir.c 		cifsFile = file->private_data;
file              307 fs/cifs/readdir.c 	full_path = build_path_from_dentry(file_dentry(file));
file              313 fs/cifs/readdir.c 	cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos);
file              536 fs/cifs/readdir.c static int is_dir_changed(struct file *file)
file              538 fs/cifs/readdir.c 	struct inode *inode = file_inode(file);
file              573 fs/cifs/readdir.c 		struct file *file, char **current_entry, int *num_to_ret)
file              580 fs/cifs/readdir.c 	struct cifsFileInfo *cfile = file->private_data;
file              581 fs/cifs/readdir.c 	struct cifs_sb_info *cifs_sb = CIFS_FILE_SB(file);
file              603 fs/cifs/readdir.c 	dump_cifs_file_struct(file, "In fce ");
file              605 fs/cifs/readdir.c 	     is_dir_changed(file)) || (index_to_find < first_entry_in_buffer)) {
file              626 fs/cifs/readdir.c 		rc = initiate_cifs_search(xid, file);
file              702 fs/cifs/readdir.c static int cifs_filldir(char *find_entry, struct file *file,
file              706 fs/cifs/readdir.c 	struct cifsFileInfo *file_info = file->private_data;
file              707 fs/cifs/readdir.c 	struct super_block *sb = file_inode(file)->i_sb;
file              781 fs/cifs/readdir.c 	cifs_prime_dcache(file_dentry(file), &name, &fattr);
file              788 fs/cifs/readdir.c int cifs_readdir(struct file *file, struct dir_context *ctx)
file              807 fs/cifs/readdir.c 	if (file->private_data == NULL) {
file              808 fs/cifs/readdir.c 		rc = initiate_cifs_search(xid, file);
file              814 fs/cifs/readdir.c 	if (!dir_emit_dots(file, ctx))
file              822 fs/cifs/readdir.c 	cifsFile = file->private_data;
file              835 fs/cifs/readdir.c 	rc = find_cifs_entry(xid, tcon, ctx->pos, file, &current_entry,
file              871 fs/cifs/readdir.c 		rc = cifs_filldir(current_entry, file, ctx,
file             2952 fs/cifs/smb2ops.c static long smb3_zero_range(struct file *file, struct cifs_tcon *tcon,
file             2958 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
file             3016 fs/cifs/smb2ops.c static long smb3_punch_hole(struct file *file, struct cifs_tcon *tcon,
file             3020 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
file             3052 fs/cifs/smb2ops.c static long smb3_simple_falloc(struct file *file, struct cifs_tcon *tcon,
file             3057 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
file             3144 fs/cifs/smb2ops.c static loff_t smb3_llseek(struct file *file, struct cifs_tcon *tcon, loff_t offset, int whence)
file             3146 fs/cifs/smb2ops.c 	struct cifsFileInfo *wrcfile, *cfile = file->private_data;
file             3155 fs/cifs/smb2ops.c 		return generic_file_llseek(file, offset, whence);
file             3223 fs/cifs/smb2ops.c 		return vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
file             3302 fs/cifs/smb2ops.c static long smb3_fallocate(struct file *file, struct cifs_tcon *tcon, int mode,
file             3307 fs/cifs/smb2ops.c 		return smb3_punch_hole(file, tcon, off, len);
file             3310 fs/cifs/smb2ops.c 			return smb3_zero_range(file, tcon, off, len, true);
file             3311 fs/cifs/smb2ops.c 		return smb3_zero_range(file, tcon, off, len, false);
file             3313 fs/cifs/smb2ops.c 		return smb3_simple_falloc(file, tcon, off, len, true);
file             3315 fs/cifs/smb2ops.c 		return smb3_simple_falloc(file, tcon, off, len, false);
file              151 fs/coda/cnode.c struct coda_file_info *coda_ftoc(struct file *file)
file              153 fs/coda/cnode.c 	struct coda_file_info *cfi = file->private_data;
file               41 fs/coda/coda_fs_i.h 	struct file	  *cfi_container; /* container file for this cnode */
file               56 fs/coda/coda_fs_i.h struct coda_file_info *coda_ftoc(struct file *file);
file                6 fs/coda/coda_int.h struct file;
file               15 fs/coda/coda_int.h int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
file               47 fs/coda/coda_linux.h int coda_open(struct inode *i, struct file *f);
file               48 fs/coda/coda_linux.h int coda_release(struct inode *i, struct file *f);
file               58 fs/coda/coda_psdev.h 	       struct file **f);
file              347 fs/coda/dir.c  static int coda_venus_readdir(struct file *coda_file, struct dir_context *ctx)
file              351 fs/coda/dir.c  	struct file *host_file;
file              422 fs/coda/dir.c  static int coda_readdir(struct file *coda_file, struct dir_context *ctx)
file              425 fs/coda/dir.c  	struct file *host_file;
file               32 fs/coda/file.c 	struct file *coda_file;
file               40 fs/coda/file.c 	struct file *coda_file = iocb->ki_filp;
file               65 fs/coda/file.c 	struct file *coda_file = iocb->ki_filp;
file               68 fs/coda/file.c 	struct file *host_file = cfi->cfi_container;
file              124 fs/coda/file.c coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma)
file              128 fs/coda/file.c 	struct file *host_file = cfi->cfi_container;
file              199 fs/coda/file.c int coda_open(struct inode *coda_inode, struct file *coda_file)
file              201 fs/coda/file.c 	struct file *host_file = NULL;
file              234 fs/coda/file.c int coda_release(struct inode *coda_inode, struct file *coda_file)
file              269 fs/coda/file.c int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync)
file              271 fs/coda/file.c 	struct file *host_file;
file              125 fs/coda/inode.c 	if (!f.file)
file              127 fs/coda/inode.c 	inode = file_inode(f.file);
file               28 fs/coda/pioctl.c static long coda_pioctl(struct file *filp, unsigned int cmd,
file               48 fs/coda/pioctl.c static long coda_pioctl(struct file *filp, unsigned int cmd,
file               58 fs/coda/psdev.c static __poll_t coda_psdev_poll(struct file *file, poll_table * wait)
file               60 fs/coda/psdev.c         struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file               63 fs/coda/psdev.c 	poll_wait(file, &vcp->vc_waitq, wait);
file               72 fs/coda/psdev.c static long coda_psdev_ioctl(struct file * filp, unsigned int cmd, unsigned long arg)
file               91 fs/coda/psdev.c static ssize_t coda_psdev_write(struct file *file, const char __user *buf, 
file               94 fs/coda/psdev.c         struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file              208 fs/coda/psdev.c static ssize_t coda_psdev_read(struct file * file, char __user * buf, 
file              212 fs/coda/psdev.c         struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file              225 fs/coda/psdev.c 		if (file->f_flags & O_NONBLOCK) {
file              272 fs/coda/psdev.c static int coda_psdev_open(struct inode * inode, struct file * file)
file              300 fs/coda/psdev.c 		file->private_data = vcp;
file              309 fs/coda/psdev.c static int coda_psdev_release(struct inode * inode, struct file * file)
file              311 fs/coda/psdev.c 	struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file              342 fs/coda/psdev.c 	file->private_data = NULL;
file               23 fs/coda/symlink.c static int coda_symlink_filler(struct file *file, struct page *page)
file              181 fs/coda/upcall.c 		  int flags, struct file **fh)
file               82 fs/compat_ioctl.c static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file               86 fs/compat_ioctl.c 	err = security_file_ioctl(file, cmd, arg);
file               90 fs/compat_ioctl.c 	return vfs_ioctl(file, cmd, arg);
file              146 fs/compat_ioctl.c static int sg_ioctl_trans(struct file *file, unsigned int cmd,
file              159 fs/compat_ioctl.c 		return do_ioctl(file, cmd, (unsigned long)sgio32);
file              219 fs/compat_ioctl.c 	err = do_ioctl(file, cmd, (unsigned long) sgio);
file              250 fs/compat_ioctl.c static int sg_grt_trans(struct file *file,
file              256 fs/compat_ioctl.c 	err = do_ioctl(file, cmd, (unsigned long)r);
file              282 fs/compat_ioctl.c static int ppp_sock_fprog_ioctl_trans(struct file *file,
file              305 fs/compat_ioctl.c 	return do_ioctl(file, cmd, (unsigned long) u_fprog64);
file              321 fs/compat_ioctl.c static int ppp_gidle(struct file *file, unsigned int cmd,
file              330 fs/compat_ioctl.c 	err = do_ioctl(file, PPPIOCGIDLE, (unsigned long) idle);
file              342 fs/compat_ioctl.c static int ppp_scompress(struct file *file, unsigned int cmd,
file              362 fs/compat_ioctl.c 	return do_ioctl(file, PPPIOCSCOMPRESS, (unsigned long) odata);
file              382 fs/compat_ioctl.c static int mt_ioctl_trans(struct file *file,
file              408 fs/compat_ioctl.c 	err = do_ioctl(file, kcmd, (unsigned long)karg);
file              444 fs/compat_ioctl.c static int rtc_ioctl(struct file *file,
file              455 fs/compat_ioctl.c 		ret = do_ioctl(file, (cmd == RTC_IRQP_READ32) ?
file              462 fs/compat_ioctl.c 		return do_ioctl(file, RTC_IRQP_SET, (unsigned long)argp);
file              464 fs/compat_ioctl.c 		return do_ioctl(file, RTC_EPOCH_SET, (unsigned long)argp);
file              487 fs/compat_ioctl.c static int compat_ioctl_preallocate(struct file *file,
file              501 fs/compat_ioctl.c 	return ioctl_preallocate(file, p);
file              928 fs/compat_ioctl.c 		 unsigned long arg, struct file *file)
file              934 fs/compat_ioctl.c 		return ppp_gidle(file, cmd, argp);
file              936 fs/compat_ioctl.c 		return ppp_scompress(file, cmd, argp);
file              939 fs/compat_ioctl.c 		return ppp_sock_fprog_ioctl_trans(file, cmd, argp);
file              942 fs/compat_ioctl.c 		return sg_ioctl_trans(file, cmd, argp);
file              944 fs/compat_ioctl.c 		return sg_grt_trans(file, cmd, argp);
file              947 fs/compat_ioctl.c 		return mt_ioctl_trans(file, cmd, argp);
file              954 fs/compat_ioctl.c 		return rtc_ioctl(file, cmd, argp);
file              967 fs/compat_ioctl.c 		return vfs_ioctl(file, cmd, arg);
file             1001 fs/compat_ioctl.c 	if (!f.file)
file             1005 fs/compat_ioctl.c 	error = security_file_ioctl(f.file, cmd, arg);
file             1025 fs/compat_ioctl.c 		error = compat_ioctl_preallocate(f.file, compat_ptr(arg));
file             1030 fs/compat_ioctl.c 		error = ioctl_preallocate(f.file, compat_ptr(arg));
file             1044 fs/compat_ioctl.c 		if (S_ISREG(file_inode(f.file)->i_mode))
file             1049 fs/compat_ioctl.c 		if (f.file->f_op->compat_ioctl) {
file             1050 fs/compat_ioctl.c 			error = f.file->f_op->compat_ioctl(f.file, cmd, arg);
file             1055 fs/compat_ioctl.c 		if (!f.file->f_op->unlocked_ioctl)
file             1063 fs/compat_ioctl.c 	error = do_ioctl_trans(cmd, arg, f.file);
file             1072 fs/compat_ioctl.c 	error = do_vfs_ioctl(f.file, fd, cmd, arg);
file             1577 fs/configfs/dir.c static int configfs_dir_open(struct inode *inode, struct file *file)
file             1579 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
file             1590 fs/configfs/dir.c 		file->private_data = configfs_new_dirent(parent_sd, NULL, 0, NULL);
file             1591 fs/configfs/dir.c 		if (IS_ERR(file->private_data))
file             1592 fs/configfs/dir.c 			err = PTR_ERR(file->private_data);
file             1601 fs/configfs/dir.c static int configfs_dir_close(struct inode *inode, struct file *file)
file             1603 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
file             1604 fs/configfs/dir.c 	struct configfs_dirent * cursor = file->private_data;
file             1623 fs/configfs/dir.c static int configfs_readdir(struct file *file, struct dir_context *ctx)
file             1625 fs/configfs/dir.c 	struct dentry *dentry = file->f_path.dentry;
file             1628 fs/configfs/dir.c 	struct configfs_dirent *cursor = file->private_data;
file             1632 fs/configfs/dir.c 	if (!dir_emit_dots(file, ctx))
file             1684 fs/configfs/dir.c static loff_t configfs_dir_lseek(struct file *file, loff_t offset, int whence)
file             1686 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
file             1690 fs/configfs/dir.c 			offset += file->f_pos;
file             1699 fs/configfs/dir.c 	if (offset != file->f_pos) {
file             1700 fs/configfs/dir.c 		file->f_pos = offset;
file             1701 fs/configfs/dir.c 		if (file->f_pos >= 2) {
file             1703 fs/configfs/dir.c 			struct configfs_dirent *cursor = file->private_data;
file             1705 fs/configfs/dir.c 			loff_t n = file->f_pos - 2;
file               51 fs/configfs/file.c static inline struct configfs_fragment *to_frag(struct file *file)
file               53 fs/configfs/file.c 	struct configfs_dirent *sd = file->f_path.dentry->d_fsdata;
file               58 fs/configfs/file.c static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer)
file               60 fs/configfs/file.c 	struct configfs_fragment *frag = to_frag(file);
file              102 fs/configfs/file.c configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              104 fs/configfs/file.c 	struct configfs_buffer *buffer = file->private_data;
file              109 fs/configfs/file.c 		retval = fill_read_buffer(file, buffer);
file              143 fs/configfs/file.c configfs_read_bin_file(struct file *file, char __user *buf,
file              146 fs/configfs/file.c 	struct configfs_fragment *frag = to_frag(file);
file              147 fs/configfs/file.c 	struct configfs_buffer *buffer = file->private_data;
file              244 fs/configfs/file.c flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count)
file              246 fs/configfs/file.c 	struct configfs_fragment *frag = to_frag(file);
file              275 fs/configfs/file.c configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
file              277 fs/configfs/file.c 	struct configfs_buffer *buffer = file->private_data;
file              283 fs/configfs/file.c 		len = flush_write_buffer(file, buffer, len);
file              304 fs/configfs/file.c configfs_write_bin_file(struct file *file, const char __user *buf,
file              307 fs/configfs/file.c 	struct configfs_buffer *buffer = file->private_data;
file              356 fs/configfs/file.c static int __configfs_open_file(struct inode *inode, struct file *file, int type)
file              358 fs/configfs/file.c 	struct dentry *dentry = file->f_path.dentry;
file              359 fs/configfs/file.c 	struct configfs_fragment *frag = to_frag(file);
file              406 fs/configfs/file.c 	if (file->f_mode & FMODE_WRITE) {
file              419 fs/configfs/file.c 	if (file->f_mode & FMODE_READ) {
file              432 fs/configfs/file.c 	file->private_data = buffer;
file              447 fs/configfs/file.c static int configfs_release(struct inode *inode, struct file *filp)
file              459 fs/configfs/file.c static int configfs_open_file(struct inode *inode, struct file *filp)
file              464 fs/configfs/file.c static int configfs_open_bin_file(struct inode *inode, struct file *filp)
file              469 fs/configfs/file.c static int configfs_release_bin_file(struct inode *inode, struct file *file)
file              471 fs/configfs/file.c 	struct configfs_buffer *buffer = file->private_data;
file              476 fs/configfs/file.c 		struct configfs_fragment *frag = to_frag(file);
file              494 fs/configfs/file.c 	configfs_release(inode, file);
file              158 fs/coredump.c  	struct file *exe_file;
file              515 fs/coredump.c  static void wait_for_dump_helpers(struct file *file)
file              517 fs/coredump.c  	struct pipe_inode_info *pipe = file->private_data;
file              551 fs/coredump.c  	struct file *files[2];
file              557 fs/coredump.c  	cp->file = files[1];
file              748 fs/coredump.c  			cprm.file = file_open_root(root.dentry, root.mnt,
file              752 fs/coredump.c  			cprm.file = filp_open(cn.corename, open_flags, 0600);
file              754 fs/coredump.c  		if (IS_ERR(cprm.file))
file              757 fs/coredump.c  		inode = file_inode(cprm.file);
file              760 fs/coredump.c  		if (d_unhashed(cprm.file->f_path.dentry))
file              778 fs/coredump.c  		if (!(cprm.file->f_mode & FMODE_CAN_WRITE))
file              780 fs/coredump.c  		if (do_truncate(cprm.file->f_path.dentry, 0, 0, cprm.file))
file              795 fs/coredump.c  		if (!cprm.file) {
file              799 fs/coredump.c  		file_start_write(cprm.file);
file              801 fs/coredump.c  		file_end_write(cprm.file);
file              804 fs/coredump.c  		wait_for_dump_helpers(cprm.file);
file              806 fs/coredump.c  	if (cprm.file)
file              807 fs/coredump.c  		filp_close(cprm.file, NULL);
file              829 fs/coredump.c  	struct file *file = cprm->file;
file              830 fs/coredump.c  	loff_t pos = file->f_pos;
file              837 fs/coredump.c  		n = __kernel_write(file, addr, nr, &pos);
file              840 fs/coredump.c  		file->f_pos = pos;
file              852 fs/coredump.c  	struct file *file = cprm->file;
file              853 fs/coredump.c  	if (file->f_op->llseek && file->f_op->llseek != no_llseek) {
file              855 fs/coredump.c  		    file->f_op->llseek(file, nr, SEEK_CUR) < 0)
file              886 fs/coredump.c  	struct file *file = cprm->file;
file              889 fs/coredump.c  	if (file->f_op->llseek && file->f_op->llseek != no_llseek) {
file              890 fs/coredump.c  		offset = file->f_op->llseek(file, 0, SEEK_CUR);
file              891 fs/coredump.c  		if (i_size_read(file->f_mapping->host) < offset)
file              892 fs/coredump.c  			do_truncate(file->f_path.dentry, offset, 0, file);
file              355 fs/cramfs/inode.c static int cramfs_physmem_mmap(struct file *file, struct vm_area_struct *vma)
file              357 fs/cramfs/inode.c 	struct inode *inode = file_inode(file);
file              364 fs/cramfs/inode.c 	ret = generic_file_readonly_mmap(file, vma);
file              396 fs/cramfs/inode.c 			 file_dentry(file)->d_name.name);
file              435 fs/cramfs/inode.c 			 file_dentry(file)->d_name.name, pgoff,
file              442 fs/cramfs/inode.c 		 file_dentry(file)->d_name.name, pgoff, bailout_reason);
file              449 fs/cramfs/inode.c static int cramfs_physmem_mmap(struct file *file, struct vm_area_struct *vma)
file              454 fs/cramfs/inode.c static unsigned long cramfs_physmem_get_unmapped_area(struct file *file,
file              458 fs/cramfs/inode.c 	struct inode *inode = file_inode(file);
file              473 fs/cramfs/inode.c 		 file_dentry(file)->d_name.name, pgoff*PAGE_SIZE, len, addr);
file              477 fs/cramfs/inode.c static unsigned int cramfs_physmem_mmap_capabilities(struct file *file)
file              702 fs/cramfs/inode.c static int cramfs_readdir(struct file *file, struct dir_context *ctx)
file              704 fs/cramfs/inode.c 	struct inode *inode = file_inode(file);
file              820 fs/cramfs/inode.c static int cramfs_readpage(struct file *file, struct page *page)
file               30 fs/crypto/hooks.c int fscrypt_file_open(struct inode *inode, struct file *filp)
file              490 fs/crypto/keyring.c int fscrypt_ioctl_add_key(struct file *filp, void __user *_uarg)
file              757 fs/crypto/keyring.c static int do_remove_key(struct file *filp, void __user *_uarg, bool all_users)
file              855 fs/crypto/keyring.c int fscrypt_ioctl_remove_key(struct file *filp, void __user *uarg)
file              861 fs/crypto/keyring.c int fscrypt_ioctl_remove_key_all_users(struct file *filp, void __user *uarg)
file              892 fs/crypto/keyring.c int fscrypt_ioctl_get_key_status(struct file *filp, void __user *uarg)
file              273 fs/crypto/policy.c int fscrypt_ioctl_set_policy(struct file *filp, const void __user *arg)
file              339 fs/crypto/policy.c int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg)
file              358 fs/crypto/policy.c int fscrypt_ioctl_get_policy_ex(struct file *filp, void __user *uarg)
file               28 fs/debugfs/file.c static ssize_t default_read_file(struct file *file, char __user *buf,
file               34 fs/debugfs/file.c static ssize_t default_write_file(struct file *file, const char __user *buf,
file               49 fs/debugfs/file.c const struct file_operations *debugfs_real_fops(const struct file *filp)
file              146 fs/debugfs/file.c 			       struct file *filp,
file              162 fs/debugfs/file.c static int open_proxy_open(struct inode *inode, struct file *filp)
file              225 fs/debugfs/file.c 		PROTO(struct file *filp, loff_t offset, int whence),
file              229 fs/debugfs/file.c 		PROTO(struct file *filp, char __user *buf, size_t size,
file              234 fs/debugfs/file.c 		PROTO(struct file *filp, const char __user *buf, size_t size,
file              239 fs/debugfs/file.c 		PROTO(struct file *filp, unsigned int cmd, unsigned long arg),
file              242 fs/debugfs/file.c static __poll_t full_proxy_poll(struct file *filp,
file              258 fs/debugfs/file.c static int full_proxy_release(struct inode *inode, struct file *filp)
file              296 fs/debugfs/file.c static int full_proxy_open(struct inode *inode, struct file *filp)
file              361 fs/debugfs/file.c ssize_t debugfs_attr_read(struct file *file, char __user *buf,
file              364 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
file              370 fs/debugfs/file.c 	ret = simple_attr_read(file, buf, len, ppos);
file              376 fs/debugfs/file.c ssize_t debugfs_attr_write(struct file *file, const char __user *buf,
file              379 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
file              385 fs/debugfs/file.c 	ret = simple_attr_write(file, buf, len, ppos);
file              810 fs/debugfs/file.c ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf,
file              816 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
file              821 fs/debugfs/file.c 	val = *(bool *)file->private_data;
file              834 fs/debugfs/file.c ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf,
file              839 fs/debugfs/file.c 	bool *val = file->private_data;
file              840 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
file              905 fs/debugfs/file.c static ssize_t read_file_blob(struct file *file, char __user *user_buf,
file              908 fs/debugfs/file.c 	struct debugfs_blob_wrapper *blob = file->private_data;
file              909 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
file              981 fs/debugfs/file.c static int u32_array_open(struct inode *inode, struct file *file)
file              998 fs/debugfs/file.c 	file->private_data = buf;
file             1001 fs/debugfs/file.c 	return nonseekable_open(inode, file);
file             1004 fs/debugfs/file.c static ssize_t u32_array_read(struct file *file, char __user *buf, size_t len,
file             1007 fs/debugfs/file.c 	size_t size = strlen(file->private_data);
file             1010 fs/debugfs/file.c 					file->private_data, size);
file             1013 fs/debugfs/file.c static int u32_array_release(struct inode *inode, struct file *file)
file             1015 fs/debugfs/file.c 	kfree(file->private_data);
file             1106 fs/debugfs/file.c static int debugfs_open_regset32(struct inode *inode, struct file *file)
file             1108 fs/debugfs/file.c 	return single_open(file, debugfs_show_regset32, inode->i_private);
file             1157 fs/debugfs/file.c static int debugfs_devm_entry_open(struct inode *inode, struct file *f)
file              168 fs/devpts/inode.c struct vfsmount *devpts_mntget(struct file *filp, struct pts_fs_info *fsi)
file              199 fs/devpts/inode.c struct pts_fs_info *devpts_acquire(struct file *filp)
file              226 fs/direct-io.c void dio_warn_stale_pagecache(struct file *filp)
file              607 fs/dlm/debug_fs.c static int table_open1(struct inode *inode, struct file *file)
file              612 fs/dlm/debug_fs.c 	ret = seq_open(file, &format1_seq_ops);
file              616 fs/dlm/debug_fs.c 	seq = file->private_data;
file              621 fs/dlm/debug_fs.c static int table_open2(struct inode *inode, struct file *file)
file              626 fs/dlm/debug_fs.c 	ret = seq_open(file, &format2_seq_ops);
file              630 fs/dlm/debug_fs.c 	seq = file->private_data;
file              635 fs/dlm/debug_fs.c static int table_open3(struct inode *inode, struct file *file)
file              640 fs/dlm/debug_fs.c 	ret = seq_open(file, &format3_seq_ops);
file              644 fs/dlm/debug_fs.c 	seq = file->private_data;
file              649 fs/dlm/debug_fs.c static int table_open4(struct inode *inode, struct file *file)
file              654 fs/dlm/debug_fs.c 	ret = seq_open(file, &format4_seq_ops);
file              658 fs/dlm/debug_fs.c 	seq = file->private_data;
file              698 fs/dlm/debug_fs.c static ssize_t waiters_read(struct file *file, char __user *userbuf,
file              701 fs/dlm/debug_fs.c 	struct dlm_ls *ls = file->private_data;
file               32 fs/dlm/plock.c 	void *file;
file               78 fs/dlm/plock.c 			    struct file *file, struct file_lock *fl)
file              101 fs/dlm/plock.c int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file              136 fs/dlm/plock.c 		xop->file	= file;
file              153 fs/dlm/plock.c 			do_unlock_close(ls, number, file, fl);
file              172 fs/dlm/plock.c 		if (locks_lock_file_wait(file, fl) < 0)
file              187 fs/dlm/plock.c 	struct file *file;
file              203 fs/dlm/plock.c 	file = xop->file;
file              215 fs/dlm/plock.c 	if (posix_lock_file(file, flc, NULL)) {
file              225 fs/dlm/plock.c 			  (unsigned long long)op->info.number, file, fl);
file              241 fs/dlm/plock.c int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file              262 fs/dlm/plock.c 	rv = locks_lock_file_wait(file, fl);
file              315 fs/dlm/plock.c int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file              381 fs/dlm/plock.c static ssize_t dev_read(struct file *file, char __user *u, size_t count,
file              418 fs/dlm/plock.c static ssize_t dev_write(struct file *file, const char __user *u, size_t count,
file              463 fs/dlm/plock.c static __poll_t dev_poll(struct file *file, poll_table *wait)
file              467 fs/dlm/plock.c 	poll_wait(file, &send_wq, wait);
file              501 fs/dlm/user.c  static ssize_t device_write(struct file *file, const char __user *buf,
file              504 fs/dlm/user.c  	struct dlm_user_proc *proc = file->private_data;
file              630 fs/dlm/user.c  static int device_open(struct inode *inode, struct file *file)
file              652 fs/dlm/user.c  	file->private_data = proc;
file              657 fs/dlm/user.c  static int device_close(struct inode *inode, struct file *file)
file              659 fs/dlm/user.c  	struct dlm_user_proc *proc = file->private_data;
file              675 fs/dlm/user.c  	file->private_data = NULL;
file              776 fs/dlm/user.c  static ssize_t device_read(struct file *file, char __user *buf, size_t count,
file              779 fs/dlm/user.c  	struct dlm_user_proc *proc = file->private_data;
file              811 fs/dlm/user.c  		if (file->f_flags & O_NONBLOCK) {
file              888 fs/dlm/user.c  static __poll_t device_poll(struct file *file, poll_table *wait)
file              890 fs/dlm/user.c  	struct dlm_user_proc *proc = file->private_data;
file              892 fs/dlm/user.c  	poll_wait(file, &proc->wait, wait);
file              923 fs/dlm/user.c  static int ctl_device_open(struct inode *inode, struct file *file)
file              925 fs/dlm/user.c  	file->private_data = NULL;
file              929 fs/dlm/user.c  static int ctl_device_close(struct inode *inode, struct file *file)
file              934 fs/dlm/user.c  static int monitor_device_open(struct inode *inode, struct file *file)
file              941 fs/dlm/user.c  static int monitor_device_close(struct inode *inode, struct file *file)
file               71 fs/ecryptfs/ecryptfs_kernel.h 		struct file *lower_file;
file              257 fs/ecryptfs/ecryptfs_kernel.h 	struct file *lower_file;
file              359 fs/ecryptfs/ecryptfs_kernel.h 	struct file *wfi_file;
file              412 fs/ecryptfs/ecryptfs_kernel.h 	struct file *file;
file              432 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_file_to_private(struct file *file)
file              434 fs/ecryptfs/ecryptfs_kernel.h 	return file->private_data;
file              438 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_set_file_private(struct file *file,
file              441 fs/ecryptfs/ecryptfs_kernel.h 	file->private_data = file_info;
file              444 fs/ecryptfs/ecryptfs_kernel.h static inline struct file *ecryptfs_file_to_lower(struct file *file)
file              446 fs/ecryptfs/ecryptfs_kernel.h 	return ((struct ecryptfs_file_info *)file->private_data)->wfi_file;
file              450 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_set_file_lower(struct file *file, struct file *lower_file)
file              452 fs/ecryptfs/ecryptfs_kernel.h 	((struct ecryptfs_file_info *)file->private_data)->wfi_file =
file              569 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_fill_zeros(struct file *file, loff_t new_length);
file              693 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, struct file *file);
file              699 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_privileged_open(struct file **lower_file,
file               37 fs/ecryptfs/file.c 	struct file *file = iocb->ki_filp;
file               41 fs/ecryptfs/file.c 		path = ecryptfs_dentry_to_lower_path(file->f_path.dentry);
file              101 fs/ecryptfs/file.c static int ecryptfs_readdir(struct file *file, struct dir_context *ctx)
file              104 fs/ecryptfs/file.c 	struct file *lower_file;
file              105 fs/ecryptfs/file.c 	struct inode *inode = file_inode(file);
file              111 fs/ecryptfs/file.c 	lower_file = ecryptfs_file_to_lower(file);
file              169 fs/ecryptfs/file.c static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma)
file              171 fs/ecryptfs/file.c 	struct file *lower_file = ecryptfs_file_to_lower(file);
file              179 fs/ecryptfs/file.c 	return generic_file_mmap(file, vma);
file              191 fs/ecryptfs/file.c static int ecryptfs_open(struct inode *inode, struct file *file)
file              195 fs/ecryptfs/file.c 	struct dentry *ecryptfs_dentry = file->f_path.dentry;
file              202 fs/ecryptfs/file.c 	ecryptfs_set_file_private(file, file_info);
file              227 fs/ecryptfs/file.c 	    == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) {
file              234 fs/ecryptfs/file.c 		file, ecryptfs_inode_to_private(inode)->lower_file);
file              246 fs/ecryptfs/file.c 			ecryptfs_file_to_private(file));
file              260 fs/ecryptfs/file.c static int ecryptfs_dir_open(struct inode *inode, struct file *file)
file              262 fs/ecryptfs/file.c 	struct dentry *ecryptfs_dentry = file->f_path.dentry;
file              266 fs/ecryptfs/file.c 	struct file *lower_file;
file              270 fs/ecryptfs/file.c 	ecryptfs_set_file_private(file, file_info);
file              277 fs/ecryptfs/file.c 				 file->f_flags, current_cred());
file              286 fs/ecryptfs/file.c 	ecryptfs_set_file_lower(file, lower_file);
file              290 fs/ecryptfs/file.c static int ecryptfs_flush(struct file *file, fl_owner_t td)
file              292 fs/ecryptfs/file.c 	struct file *lower_file = ecryptfs_file_to_lower(file);
file              295 fs/ecryptfs/file.c 		filemap_write_and_wait(file->f_mapping);
file              302 fs/ecryptfs/file.c static int ecryptfs_release(struct inode *inode, struct file *file)
file              306 fs/ecryptfs/file.c 			ecryptfs_file_to_private(file));
file              310 fs/ecryptfs/file.c static int ecryptfs_dir_release(struct inode *inode, struct file *file)
file              312 fs/ecryptfs/file.c 	fput(ecryptfs_file_to_lower(file));
file              314 fs/ecryptfs/file.c 			ecryptfs_file_to_private(file));
file              318 fs/ecryptfs/file.c static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence)
file              320 fs/ecryptfs/file.c 	return vfs_llseek(ecryptfs_file_to_lower(file), offset, whence);
file              324 fs/ecryptfs/file.c ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              328 fs/ecryptfs/file.c 	rc = file_write_and_wait(file);
file              332 fs/ecryptfs/file.c 	return vfs_fsync(ecryptfs_file_to_lower(file), datasync);
file              335 fs/ecryptfs/file.c static int ecryptfs_fasync(int fd, struct file *file, int flag)
file              338 fs/ecryptfs/file.c 	struct file *lower_file = NULL;
file              340 fs/ecryptfs/file.c 	lower_file = ecryptfs_file_to_lower(file);
file              347 fs/ecryptfs/file.c ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              349 fs/ecryptfs/file.c 	struct file *lower_file = ecryptfs_file_to_lower(file);
file              362 fs/ecryptfs/file.c 		fsstack_copy_attr_all(file_inode(file), file_inode(lower_file));
file              372 fs/ecryptfs/file.c ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              374 fs/ecryptfs/file.c 	struct file *lower_file = ecryptfs_file_to_lower(file);
file              386 fs/ecryptfs/file.c 		fsstack_copy_attr_all(file_inode(file), file_inode(lower_file));
file               17 fs/ecryptfs/kthread.c 	struct file **lower_file;
file              116 fs/ecryptfs/kthread.c int ecryptfs_privileged_open(struct file **lower_file,
file              105 fs/ecryptfs/main.c 				    struct file **lower_file)
file              109 fs/ecryptfs/messaging.c 		if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) {
file              130 fs/ecryptfs/messaging.c ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, struct file *file)
file              139 fs/ecryptfs/messaging.c 	(*daemon)->file = file;
file               29 fs/ecryptfs/miscdev.c ecryptfs_miscdev_poll(struct file *file, poll_table *pt)
file               31 fs/ecryptfs/miscdev.c 	struct ecryptfs_daemon *daemon = file->private_data;
file               46 fs/ecryptfs/miscdev.c 	poll_wait(file, &daemon->wait, pt);
file               64 fs/ecryptfs/miscdev.c ecryptfs_miscdev_open(struct inode *inode, struct file *file)
file               75 fs/ecryptfs/miscdev.c 	rc = ecryptfs_spawn_daemon(&daemon, file);
file               87 fs/ecryptfs/miscdev.c 	file->private_data = daemon;
file              107 fs/ecryptfs/miscdev.c ecryptfs_miscdev_release(struct inode *inode, struct file *file)
file              109 fs/ecryptfs/miscdev.c 	struct ecryptfs_daemon *daemon = file->private_data;
file              210 fs/ecryptfs/miscdev.c ecryptfs_miscdev_read(struct file *file, char __user *buf, size_t count,
file              213 fs/ecryptfs/miscdev.c 	struct ecryptfs_daemon *daemon = file->private_data;
file              352 fs/ecryptfs/miscdev.c ecryptfs_miscdev_write(struct file *file, const char __user *buf,
file              418 fs/ecryptfs/miscdev.c 		rc = ecryptfs_miscdev_response(file->private_data,
file              180 fs/ecryptfs/mmap.c static int ecryptfs_readpage(struct file *file, struct page *page)
file              264 fs/ecryptfs/mmap.c static int ecryptfs_write_begin(struct file *file,
file              346 fs/ecryptfs/mmap.c 			rc = ecryptfs_truncate(file->f_path.dentry,
file              462 fs/ecryptfs/mmap.c static int ecryptfs_write_end(struct file *file,
file               30 fs/ecryptfs/read_write.c 	struct file *lower_file;
file              222 fs/ecryptfs/read_write.c 	struct file *lower_file;
file               15 fs/efivarfs/file.c static ssize_t efivarfs_file_write(struct file *file,
file               18 fs/efivarfs/file.c 	struct efivar_entry *var = file->private_data;
file               21 fs/efivarfs/file.c 	struct inode *inode = file->f_mapping->host;
file               49 fs/efivarfs/file.c 		d_delete(file->f_path.dentry);
file               50 fs/efivarfs/file.c 		dput(file->f_path.dentry);
file               65 fs/efivarfs/file.c static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf,
file               68 fs/efivarfs/file.c 	struct efivar_entry *var = file->private_data;
file               75 fs/efivarfs/file.c 	while (!__ratelimit(&file->f_cred->user->ratelimit)) {
file              122 fs/efivarfs/file.c efivarfs_ioc_getxflags(struct file *file, void __user *arg)
file              124 fs/efivarfs/file.c 	struct inode *inode = file->f_mapping->host;
file              133 fs/efivarfs/file.c efivarfs_ioc_setxflags(struct file *file, void __user *arg)
file              135 fs/efivarfs/file.c 	struct inode *inode = file->f_mapping->host;
file              154 fs/efivarfs/file.c 	error = mnt_want_write_file(file);
file              167 fs/efivarfs/file.c 	mnt_drop_write_file(file);
file              172 fs/efivarfs/file.c efivarfs_file_ioctl(struct file *file, unsigned int cmd, unsigned long p)
file              178 fs/efivarfs/file.c 		return efivarfs_ioc_getxflags(file, arg);
file              180 fs/efivarfs/file.c 		return efivarfs_ioc_setxflags(file, arg);
file               11 fs/efs/dir.c   static int efs_readdir(struct file *, struct dir_context *);
file               23 fs/efs/dir.c   static int efs_readdir(struct file *file, struct dir_context *ctx)
file               25 fs/efs/dir.c   	struct inode *inode = file_inode(file);
file               17 fs/efs/inode.c static int efs_readpage(struct file *file, struct page *page)
file               15 fs/efs/symlink.c static int efs_symlink_readpage(struct file *file, struct page *page)
file              266 fs/erofs/data.c static int erofs_raw_access_readpage(struct file *file, struct page *page)
file              283 fs/erofs/data.c static int erofs_raw_access_readpages(struct file *filp,
file               68 fs/erofs/dir.c static int erofs_readdir(struct file *f, struct dir_context *ctx)
file             1332 fs/erofs/zdata.c static int z_erofs_vle_normalaccess_readpage(struct file *file,
file             1367 fs/erofs/zdata.c static int z_erofs_vle_normalaccess_readpages(struct file *filp,
file              117 fs/eventfd.c   static int eventfd_release(struct inode *inode, struct file *file)
file              119 fs/eventfd.c   	struct eventfd_ctx *ctx = file->private_data;
file              126 fs/eventfd.c   static __poll_t eventfd_poll(struct file *file, poll_table *wait)
file              128 fs/eventfd.c   	struct eventfd_ctx *ctx = file->private_data;
file              132 fs/eventfd.c   	poll_wait(file, &ctx->wqh, wait);
file              219 fs/eventfd.c   static ssize_t eventfd_read(struct file *file, char __user *buf, size_t count,
file              222 fs/eventfd.c   	struct eventfd_ctx *ctx = file->private_data;
file              234 fs/eventfd.c   	else if (!(file->f_flags & O_NONBLOCK)) {
file              266 fs/eventfd.c   static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count,
file              269 fs/eventfd.c   	struct eventfd_ctx *ctx = file->private_data;
file              284 fs/eventfd.c   	else if (!(file->f_flags & O_NONBLOCK)) {
file              314 fs/eventfd.c   static void eventfd_show_fdinfo(struct seq_file *m, struct file *f)
file              347 fs/eventfd.c   struct file *eventfd_fget(int fd)
file              349 fs/eventfd.c   	struct file *file;
file              351 fs/eventfd.c   	file = fget(fd);
file              352 fs/eventfd.c   	if (!file)
file              354 fs/eventfd.c   	if (file->f_op != &eventfd_fops) {
file              355 fs/eventfd.c   		fput(file);
file              359 fs/eventfd.c   	return file;
file              376 fs/eventfd.c   	if (!f.file)
file              378 fs/eventfd.c   	ctx = eventfd_ctx_fileget(f.file);
file              393 fs/eventfd.c   struct eventfd_ctx *eventfd_ctx_fileget(struct file *file)
file              397 fs/eventfd.c   	if (file->f_op != &eventfd_fops)
file              400 fs/eventfd.c   	ctx = file->private_data;
file              108 fs/eventpoll.c 	struct file *file;
file              218 fs/eventpoll.c 	struct file *file;
file              313 fs/eventpoll.c static inline int is_file_epoll(struct file *f)
file              320 fs/eventpoll.c 			      struct file *file, int fd)
file              322 fs/eventpoll.c 	ffd->file = file;
file              330 fs/eventpoll.c 	return (p1->file > p2->file ? +1:
file              331 fs/eventpoll.c 	        (p1->file < p2->file ? -1 : p1->fd - p2->fd));
file              426 fs/eventpoll.c 	sock = sock_from_file(epi->ffd.file, &err);
file              776 fs/eventpoll.c 	struct file *file = epi->ffd.file;
file              786 fs/eventpoll.c 	spin_lock(&file->f_lock);
file              788 fs/eventpoll.c 	spin_unlock(&file->f_lock);
file              864 fs/eventpoll.c static int ep_eventpoll_release(struct inode *inode, struct file *file)
file              866 fs/eventpoll.c 	struct eventpoll *ep = file->private_data;
file              876 fs/eventpoll.c static void ep_ptable_queue_proc(struct file *file, wait_queue_head_t *whead,
file              891 fs/eventpoll.c 	if (!is_file_epoll(epi->ffd.file))
file              892 fs/eventpoll.c 		return vfs_poll(epi->ffd.file, pt) & epi->event.events;
file              894 fs/eventpoll.c 	ep = epi->ffd.file->private_data;
file              895 fs/eventpoll.c 	poll_wait(epi->ffd.file, &ep->poll_wait, pt);
file              898 fs/eventpoll.c 	return ep_scan_ready_list(epi->ffd.file->private_data,
file              930 fs/eventpoll.c static __poll_t ep_eventpoll_poll(struct file *file, poll_table *wait)
file              932 fs/eventpoll.c 	struct eventpoll *ep = file->private_data;
file              936 fs/eventpoll.c 	poll_wait(file, &ep->poll_wait, wait);
file              947 fs/eventpoll.c static void ep_show_fdinfo(struct seq_file *m, struct file *f)
file              955 fs/eventpoll.c 		struct inode *inode = file_inode(epi->ffd.file);
file              961 fs/eventpoll.c 			   (long long)epi->ffd.file->f_pos,
file              985 fs/eventpoll.c void eventpoll_release_file(struct file *file)
file             1004 fs/eventpoll.c 	list_for_each_entry_safe(epi, next, &file->f_ep_links, fllink) {
file             1048 fs/eventpoll.c static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd)
file             1055 fs/eventpoll.c 	ep_set_ffd(&ffd, file, fd);
file             1092 fs/eventpoll.c struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd,
file             1095 fs/eventpoll.c 	struct file *file_raw;
file             1099 fs/eventpoll.c 	if (!is_file_epoll(file))
file             1102 fs/eventpoll.c 	ep = file->private_data;
file             1107 fs/eventpoll.c 		file_raw = epi->ffd.file;
file             1316 fs/eventpoll.c static void ep_ptable_queue_proc(struct file *file, wait_queue_head_t *whead,
file             1398 fs/eventpoll.c 	struct file *file = priv;
file             1399 fs/eventpoll.c 	struct file *child_file;
file             1404 fs/eventpoll.c 	list_for_each_entry_rcu(epi, &file->f_ep_links, fllink) {
file             1405 fs/eventpoll.c 		child_file = epi->ep->file;
file             1442 fs/eventpoll.c 	struct file *current_file;
file             1467 fs/eventpoll.c 	name = epi->ffd.file->f_path.dentry->d_name.name;
file             1497 fs/eventpoll.c 		     struct file *tfile, int fd, int full_check)
file             1965 fs/eventpoll.c 	struct file *file = priv;
file             1966 fs/eventpoll.c 	struct eventpoll *ep = file->private_data;
file             1976 fs/eventpoll.c 		if (unlikely(is_file_epoll(epi->ffd.file))) {
file             1977 fs/eventpoll.c 			ep_tovisit = epi->ffd.file->private_data;
file             1981 fs/eventpoll.c 					ep_loop_check_proc, epi->ffd.file,
file             1994 fs/eventpoll.c 			if (list_empty(&epi->ffd.file->f_tfile_llink))
file             1995 fs/eventpoll.c 				list_add(&epi->ffd.file->f_tfile_llink,
file             2015 fs/eventpoll.c static int ep_loop_check(struct eventpoll *ep, struct file *file)
file             2021 fs/eventpoll.c 			      ep_loop_check_proc, file, ep, current);
file             2033 fs/eventpoll.c 	struct file *file;
file             2037 fs/eventpoll.c 		file = list_first_entry(&tfile_check_list, struct file,
file             2039 fs/eventpoll.c 		list_del_init(&file->f_tfile_llink);
file             2051 fs/eventpoll.c 	struct file *file;
file             2073 fs/eventpoll.c 	file = anon_inode_getfile("[eventpoll]", &eventpoll_fops, ep,
file             2075 fs/eventpoll.c 	if (IS_ERR(file)) {
file             2076 fs/eventpoll.c 		error = PTR_ERR(file);
file             2079 fs/eventpoll.c 	ep->file = file;
file             2080 fs/eventpoll.c 	fd_install(fd, file);
file             2126 fs/eventpoll.c 	if (!f.file)
file             2131 fs/eventpoll.c 	if (!tf.file)
file             2136 fs/eventpoll.c 	if (!file_can_poll(tf.file))
file             2149 fs/eventpoll.c 	if (f.file == tf.file || !is_file_epoll(f.file))
file             2160 fs/eventpoll.c 		if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) ||
file             2169 fs/eventpoll.c 	ep = f.file->private_data;
file             2188 fs/eventpoll.c 		if (!list_empty(&f.file->f_ep_links) ||
file             2189 fs/eventpoll.c 						is_file_epoll(tf.file)) {
file             2193 fs/eventpoll.c 			if (is_file_epoll(tf.file)) {
file             2195 fs/eventpoll.c 				if (ep_loop_check(ep, tf.file) != 0) {
file             2200 fs/eventpoll.c 				list_add(&tf.file->f_tfile_llink,
file             2203 fs/eventpoll.c 			if (is_file_epoll(tf.file)) {
file             2204 fs/eventpoll.c 				tep = tf.file->private_data;
file             2215 fs/eventpoll.c 	epi = ep_find(ep, tf.file, fd);
file             2222 fs/eventpoll.c 			error = ep_insert(ep, &epds, tf.file, fd, full_check);
file             2281 fs/eventpoll.c 	if (!f.file)
file             2289 fs/eventpoll.c 	if (!is_file_epoll(f.file))
file             2296 fs/eventpoll.c 	ep = f.file->private_data;
file              124 fs/exec.c      	struct file *file;
file              137 fs/exec.c      	file = do_filp_open(AT_FDCWD, tmp, &uselib_flags);
file              139 fs/exec.c      	error = PTR_ERR(file);
file              140 fs/exec.c      	if (IS_ERR(file))
file              144 fs/exec.c      	if (!S_ISREG(file_inode(file)->i_mode))
file              148 fs/exec.c      	if (path_noexec(&file->f_path))
file              151 fs/exec.c      	fsnotify_open(file);
file              162 fs/exec.c      		error = fmt->load_shlib(file);
file              170 fs/exec.c      	fput(file);
file              839 fs/exec.c      static struct file *do_open_execat(int fd, struct filename *name, int flags)
file              841 fs/exec.c      	struct file *file;
file              857 fs/exec.c      	file = do_filp_open(fd, name, &open_exec_flags);
file              858 fs/exec.c      	if (IS_ERR(file))
file              862 fs/exec.c      	if (!S_ISREG(file_inode(file)->i_mode))
file              865 fs/exec.c      	if (path_noexec(&file->f_path))
file              868 fs/exec.c      	err = deny_write_access(file);
file              873 fs/exec.c      		fsnotify_open(file);
file              876 fs/exec.c      	return file;
file              879 fs/exec.c      	fput(file);
file              883 fs/exec.c      struct file *open_exec(const char *name)
file              886 fs/exec.c      	struct file *f = ERR_CAST(filename);
file              896 fs/exec.c      int kernel_read_file(struct file *file, void **buf, loff_t *size,
file              903 fs/exec.c      	if (!S_ISREG(file_inode(file)->i_mode) || max_size < 0)
file              906 fs/exec.c      	ret = deny_write_access(file);
file              910 fs/exec.c      	ret = security_kernel_read_file(file, id);
file              914 fs/exec.c      	i_size = i_size_read(file_inode(file));
file              933 fs/exec.c      		bytes = kernel_read(file, *buf + pos, i_size - pos, &pos);
file              948 fs/exec.c      	ret = security_kernel_post_read_file(file, *buf, i_size, id);
file              961 fs/exec.c      	allow_write_access(file);
file              969 fs/exec.c      	struct file *file;
file              975 fs/exec.c      	file = filp_open(path, O_RDONLY, 0);
file              976 fs/exec.c      	if (IS_ERR(file))
file              977 fs/exec.c      		return PTR_ERR(file);
file              979 fs/exec.c      	ret = kernel_read_file(file, buf, size, max_size, id);
file              980 fs/exec.c      	fput(file);
file              991 fs/exec.c      	if (!f.file)
file              994 fs/exec.c      	ret = kernel_read_file(f.file, buf, size, max_size, id);
file             1001 fs/exec.c      ssize_t read_code(struct file *file, unsigned long addr, loff_t pos, size_t len)
file             1003 fs/exec.c      	ssize_t res = vfs_read(file, (void __user *)addr, len, &pos);
file             1275 fs/exec.c      	set_mm_exe_file(bprm->mm, bprm->file);
file             1277 fs/exec.c      	would_dump(bprm, bprm->file);
file             1315 fs/exec.c      void would_dump(struct linux_binprm *bprm, struct file *file)
file             1317 fs/exec.c      	struct inode *inode = file_inode(file);
file             1429 fs/exec.c      	if (bprm->file) {
file             1430 fs/exec.c      		allow_write_access(bprm->file);
file             1431 fs/exec.c      		fput(bprm->file);
file             1532 fs/exec.c      	if (!mnt_may_suid(bprm->file->f_path.mnt))
file             1538 fs/exec.c      	inode = bprm->file->f_path.dentry->d_inode;
file             1588 fs/exec.c      	return kernel_read(bprm->file, bprm->buf, BINPRM_BUF_SIZE, &pos);
file             1672 fs/exec.c      		if (retval != -ENOEXEC || !bprm->file) {
file             1721 fs/exec.c      			    int flags, struct file *file)
file             1763 fs/exec.c      	if (!file)
file             1764 fs/exec.c      		file = do_open_execat(fd, filename, flags);
file             1765 fs/exec.c      	retval = PTR_ERR(file);
file             1766 fs/exec.c      	if (IS_ERR(file))
file             1771 fs/exec.c      	bprm->file = file;
file             1871 fs/exec.c      int do_execve_file(struct file *file, void *__argv, void *__envp)
file             1876 fs/exec.c      	return __do_execve_file(AT_FDCWD, NULL, argv, envp, 0, file);
file              282 fs/exportfs/expfs.c 	struct file *file;
file              313 fs/exportfs/expfs.c 	file = dentry_open(path, O_RDONLY, cred);
file              314 fs/exportfs/expfs.c 	error = PTR_ERR(file);
file              315 fs/exportfs/expfs.c 	if (IS_ERR(file))
file              319 fs/exportfs/expfs.c 	if (!file->f_op->iterate && !file->f_op->iterate_shared)
file              326 fs/exportfs/expfs.c 		error = iterate_dir(file, &buffer.ctx);
file              341 fs/exportfs/expfs.c 	fput(file);
file              264 fs/ext2/dir.c  ext2_readdir(struct file *file, struct dir_context *ctx)
file              267 fs/ext2/dir.c  	struct inode *inode = file_inode(file);
file              273 fs/ext2/dir.c  	bool need_revalidate = !inode_eq_iversion(inode, file->f_version);
file              300 fs/ext2/dir.c  			file->f_version = inode_query_iversion(inode);
file              767 fs/ext2/ext2.h extern long ext2_ioctl(struct file *, unsigned int, unsigned long);
file              768 fs/ext2/ext2.h extern long ext2_compat_ioctl(struct file *, unsigned int, unsigned long);
file              790 fs/ext2/ext2.h extern int ext2_fsync(struct file *file, loff_t start, loff_t end,
file               51 fs/ext2/file.c 	struct file *file = iocb->ki_filp;
file               52 fs/ext2/file.c 	struct inode *inode = file->f_mapping->host;
file               59 fs/ext2/file.c 	ret = file_remove_privs(file);
file               62 fs/ext2/file.c 	ret = file_update_time(file);
file              122 fs/ext2/file.c static int ext2_file_mmap(struct file *file, struct vm_area_struct *vma)
file              124 fs/ext2/file.c 	if (!IS_DAX(file_inode(file)))
file              125 fs/ext2/file.c 		return generic_file_mmap(file, vma);
file              127 fs/ext2/file.c 	file_accessed(file);
file              140 fs/ext2/file.c static int ext2_release_file (struct inode * inode, struct file * filp)
file              150 fs/ext2/file.c int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              153 fs/ext2/file.c 	struct super_block *sb = file->f_mapping->host->i_sb;
file              155 fs/ext2/file.c 	ret = generic_file_fsync(file, start, end, datasync);
file              875 fs/ext2/inode.c static int ext2_readpage(struct file *file, struct page *page)
file              881 fs/ext2/inode.c ext2_readpages(struct file *file, struct address_space *mapping,
file              888 fs/ext2/inode.c ext2_write_begin(struct file *file, struct address_space *mapping,
file              901 fs/ext2/inode.c static int ext2_write_end(struct file *file, struct address_space *mapping,
file              907 fs/ext2/inode.c 	ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata);
file              914 fs/ext2/inode.c ext2_nobh_write_begin(struct file *file, struct address_space *mapping,
file              941 fs/ext2/inode.c 	struct file *file = iocb->ki_filp;
file              942 fs/ext2/inode.c 	struct address_space *mapping = file->f_mapping;
file               21 fs/ext2/ioctl.c long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              159 fs/ext2/ioctl.c long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              178 fs/ext2/ioctl.c 	return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file               33 fs/ext4/dir.c  static int ext4_dx_readdir(struct file *, struct dir_context *);
file               67 fs/ext4/dir.c  			   struct inode *dir, struct file *filp,
file              111 fs/ext4/dir.c  static int ext4_readdir(struct file *file, struct dir_context *ctx)
file              117 fs/ext4/dir.c  	struct inode *inode = file_inode(file);
file              129 fs/ext4/dir.c  		err = ext4_dx_readdir(file, ctx);
file              145 fs/ext4/dir.c  		err = ext4_read_inline_dir(file, ctx,
file              180 fs/ext4/dir.c  			if (!ra_has_index(&file->f_ra, index))
file              183 fs/ext4/dir.c  					&file->f_ra, file,
file              185 fs/ext4/dir.c  			file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT;
file              205 fs/ext4/dir.c  			EXT4_ERROR_FILE(file, 0, "directory fails checksum "
file              219 fs/ext4/dir.c  		if (!inode_eq_iversion(inode, file->f_version)) {
file              238 fs/ext4/dir.c  			file->f_version = inode_query_iversion(inode);
file              244 fs/ext4/dir.c  			if (ext4_check_dir_entry(inode, file, de, bh,
file              318 fs/ext4/dir.c  static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor)
file              327 fs/ext4/dir.c  static inline __u32 pos2maj_hash(struct file *filp, loff_t pos)
file              336 fs/ext4/dir.c  static inline __u32 pos2min_hash(struct file *filp, loff_t pos)
file              348 fs/ext4/dir.c  static inline loff_t ext4_get_htree_eof(struct file *filp)
file              369 fs/ext4/dir.c  static loff_t ext4_dir_llseek(struct file *file, loff_t offset, int whence)
file              371 fs/ext4/dir.c  	struct inode *inode = file->f_mapping->host;
file              373 fs/ext4/dir.c  	loff_t ret, htree_max = ext4_get_htree_eof(file);
file              376 fs/ext4/dir.c  		ret = generic_file_llseek_size(file, offset, whence,
file              379 fs/ext4/dir.c  		ret = ext4_llseek(file, offset, whence);
file              380 fs/ext4/dir.c  	file->f_version = inode_peek_iversion(inode) - 1;
file              418 fs/ext4/dir.c  static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp,
file              444 fs/ext4/dir.c  int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
file              507 fs/ext4/dir.c  static int call_filldir(struct file *file, struct dir_context *ctx,
file              510 fs/ext4/dir.c  	struct dir_private_info *info = file->private_data;
file              511 fs/ext4/dir.c  	struct inode *inode = file_inode(file);
file              520 fs/ext4/dir.c  	ctx->pos = hash2pos(file, fname->hash, fname->minor_hash);
file              534 fs/ext4/dir.c  static int ext4_dx_readdir(struct file *file, struct dir_context *ctx)
file              536 fs/ext4/dir.c  	struct dir_private_info *info = file->private_data;
file              537 fs/ext4/dir.c  	struct inode *inode = file_inode(file);
file              542 fs/ext4/dir.c  		info = ext4_htree_create_dir_info(file, ctx->pos);
file              545 fs/ext4/dir.c  		file->private_data = info;
file              548 fs/ext4/dir.c  	if (ctx->pos == ext4_get_htree_eof(file))
file              556 fs/ext4/dir.c  		info->curr_hash = pos2maj_hash(file, ctx->pos);
file              557 fs/ext4/dir.c  		info->curr_minor_hash = pos2min_hash(file, ctx->pos);
file              565 fs/ext4/dir.c  		if (call_filldir(file, ctx, info->extra_fname))
file              579 fs/ext4/dir.c  		    !inode_eq_iversion(inode, file->f_version)) {
file              582 fs/ext4/dir.c  			file->f_version = inode_query_iversion(inode);
file              583 fs/ext4/dir.c  			ret = ext4_htree_fill_tree(file, info->curr_hash,
file              589 fs/ext4/dir.c  				ctx->pos = ext4_get_htree_eof(file);
file              598 fs/ext4/dir.c  		if (call_filldir(file, ctx, fname))
file              609 fs/ext4/dir.c  				ctx->pos = ext4_get_htree_eof(file);
file              621 fs/ext4/dir.c  static int ext4_dir_open(struct inode * inode, struct file * filp)
file              628 fs/ext4/dir.c  static int ext4_release_dir(struct inode *inode, struct file *filp)
file             2476 fs/ext4/ext4.h 				  struct file *,
file             2483 fs/ext4/ext4.h extern int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
file             2520 fs/ext4/ext4.h extern int ext4_sync_file(struct file *, loff_t, loff_t, int);
file             2658 fs/ext4/ext4.h extern long ext4_ioctl(struct file *, unsigned int, unsigned long);
file             2659 fs/ext4/ext4.h extern long ext4_compat_ioctl(struct file *, unsigned int, unsigned long);
file             2670 fs/ext4/ext4.h extern int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
file             2720 fs/ext4/ext4.h void __ext4_error_file(struct file *, const char *, unsigned int, ext4_fsblk_t,
file             2749 fs/ext4/ext4.h #define EXT4_ERROR_FILE(file, block, fmt, a...)				\
file             2750 fs/ext4/ext4.h 	ext4_error_file((file), __func__, __LINE__, (block), (fmt), ## a)
file             2756 fs/ext4/ext4.h #define ext4_error_file(file, func, line, block, fmt, ...)		\
file             2757 fs/ext4/ext4.h 	__ext4_error_file(file, func, line, block, fmt, ##__VA_ARGS__)
file             2781 fs/ext4/ext4.h #define ext4_error_file(file, func, line, block, fmt, ...)		\
file             2784 fs/ext4/ext4.h 	__ext4_error_file(file, "", 0, block, " ");			\
file             3128 fs/ext4/ext4.h extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin);
file             3166 fs/ext4/ext4.h extern int ext4_read_inline_dir(struct file *filp,
file             3169 fs/ext4/ext4.h extern int ext4_inlinedir_to_tree(struct file *dir_file,
file             3287 fs/ext4/ext4.h extern long ext4_fallocate(struct file *file, int mode, loff_t offset,
file             3329 fs/ext4/ext4.h extern int ext4_move_extents(struct file *o_filp, struct file *d_filp,
file             4609 fs/ext4/extents.c static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset,
file             4613 fs/ext4/extents.c 	struct inode *inode = file_inode(file);
file             4695 fs/ext4/extents.c static long ext4_zero_range(struct file *file, loff_t offset,
file             4698 fs/ext4/extents.c 	struct inode *inode = file_inode(file);
file             4771 fs/ext4/extents.c 		ret = ext4_alloc_file_blocks(file,
file             4807 fs/ext4/extents.c 		ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size,
file             4848 fs/ext4/extents.c 	if (file->f_flags & O_SYNC)
file             4864 fs/ext4/extents.c long ext4_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
file             4866 fs/ext4/extents.c 	struct inode *inode = file_inode(file);
file             4909 fs/ext4/extents.c 		return ext4_zero_range(file, offset, len, mode);
file             4941 fs/ext4/extents.c 	ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, flags);
file             4945 fs/ext4/extents.c 	if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) {
file               86 fs/ext4/file.c static int ext4_release_file(struct inode *inode, struct file *filp)
file              371 fs/ext4/file.c static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
file              373 fs/ext4/file.c 	struct inode *inode = file->f_mapping->host;
file              387 fs/ext4/file.c 	file_accessed(file);
file              388 fs/ext4/file.c 	if (IS_DAX(file_inode(file))) {
file              445 fs/ext4/file.c static int ext4_file_open(struct inode * inode, struct file * filp)
file              483 fs/ext4/file.c loff_t ext4_llseek(struct file *file, loff_t offset, int whence)
file              485 fs/ext4/file.c 	struct inode *inode = file->f_mapping->host;
file              495 fs/ext4/file.c 		return generic_file_llseek_size(file, offset, whence,
file              511 fs/ext4/file.c 	return vfs_setpos(file, offset, maxbytes);
file               95 fs/ext4/fsync.c int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
file               97 fs/ext4/fsync.c 	struct inode *inode = file->f_mapping->host;
file              109 fs/ext4/fsync.c 	trace_ext4_sync_file_enter(file, datasync);
file              120 fs/ext4/fsync.c 		ret = __generic_file_fsync(file, start, end, datasync);
file              128 fs/ext4/fsync.c 	ret = file_write_and_wait_range(file, start, end);
file              162 fs/ext4/fsync.c 	err = file_check_and_advance_wb_err(file);
file             1327 fs/ext4/inline.c int ext4_inlinedir_to_tree(struct file *dir_file,
file             1439 fs/ext4/inline.c int ext4_read_inline_dir(struct file *file,
file             1447 fs/ext4/inline.c 	struct inode *inode = file_inode(file);
file             1500 fs/ext4/inline.c 	if (!inode_eq_iversion(inode, file->f_version)) {
file             1532 fs/ext4/inline.c 		file->f_version = inode_query_iversion(inode);
file             1552 fs/ext4/inline.c 		if (ext4_check_dir_entry(inode, file, de, iloc.bh, dir_buf,
file             1266 fs/ext4/inode.c static int ext4_write_begin(struct file *file, struct address_space *mapping,
file             1410 fs/ext4/inode.c static int ext4_write_end(struct file *file,
file             1434 fs/ext4/inode.c 		copied = block_write_end(file, mapping, pos,
file             1518 fs/ext4/inode.c static int ext4_journalled_write_end(struct file *file,
file             3030 fs/ext4/inode.c static int ext4_da_write_begin(struct file *file, struct address_space *mapping,
file             3048 fs/ext4/inode.c 		return ext4_write_begin(file, mapping, pos,
file             3154 fs/ext4/inode.c static int ext4_da_write_end(struct file *file,
file             3167 fs/ext4/inode.c 		return ext4_write_end(file, mapping, pos,
file             3198 fs/ext4/inode.c 		ret2 = generic_write_end(file, mapping, pos, len, copied,
file             3324 fs/ext4/inode.c static int ext4_readpage(struct file *file, struct page *page)
file             3342 fs/ext4/inode.c ext4_readpages(struct file *file, struct address_space *mapping,
file             3678 fs/ext4/inode.c 	struct file *file = iocb->ki_filp;
file             3679 fs/ext4/inode.c 	struct inode *inode = file->f_mapping->host;
file             3865 fs/ext4/inode.c 	struct file *file = iocb->ki_filp;
file             3866 fs/ext4/inode.c 	struct inode *inode = file->f_mapping->host;
file             6245 fs/ext4/inode.c 	struct file *file = vma->vm_file;
file             6246 fs/ext4/inode.c 	struct inode *inode = file_inode(file);
file              431 fs/ext4/ioctl.c static int ext4_ioctl_setproject(struct file *filp, __u32 projid)
file              517 fs/ext4/ioctl.c static int ext4_ioctl_setproject(struct file *filp, __u32 projid)
file              699 fs/ext4/ioctl.c static long ext4_ioctl_group_add(struct file *file,
file              702 fs/ext4/ioctl.c 	struct super_block *sb = file_inode(file)->i_sb;
file              716 fs/ext4/ioctl.c 	err = mnt_want_write_file(file);
file              728 fs/ext4/ioctl.c 	mnt_drop_write_file(file);
file              774 fs/ext4/ioctl.c static int ext4_ioctl_get_es_cache(struct file *filp, unsigned long arg)
file              816 fs/ext4/ioctl.c long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              968 fs/ext4/ioctl.c 		if (!donor.file)
file              971 fs/ext4/ioctl.c 		if (!(donor.file->f_mode & FMODE_WRITE)) {
file              992 fs/ext4/ioctl.c 		err = ext4_move_extents(filp, donor.file, me.orig_start,
file             1313 fs/ext4/ioctl.c long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1359 fs/ext4/ioctl.c 		return ext4_ioctl_group_add(file, &input);
file             1383 fs/ext4/ioctl.c 	return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file              538 fs/ext4/mballoc.c 			function, file, line, # assert);		\
file              543 fs/ext4/mballoc.c static int __mb_check_buddy(struct ext4_buddy *e4b, char *file,
file             2261 fs/ext4/mballoc.c 	struct super_block *sb = PDE_DATA(file_inode(seq->file));
file             2272 fs/ext4/mballoc.c 	struct super_block *sb = PDE_DATA(file_inode(seq->file));
file             2284 fs/ext4/mballoc.c 	struct super_block *sb = PDE_DATA(file_inode(seq->file));
file              247 fs/ext4/move_extent.c move_extent_per_page(struct file *o_filp, struct inode *donor_inode,
file              553 fs/ext4/move_extent.c ext4_move_extents(struct file *o_filp, struct file *d_filp, __u64 orig_blk,
file              985 fs/ext4/namei.c static int htree_dirblock_to_tree(struct file *dir_file,
file             1083 fs/ext4/namei.c int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
file              554 fs/ext4/super.c void __ext4_error_file(struct file *file, const char *function,
file              561 fs/ext4/super.c 	struct inode *inode = file_inode(file);
file              571 fs/ext4/super.c 		path = file_path(file, pathname, sizeof(pathname));
file              109 fs/ext4/verity.c static int ext4_begin_enable_verity(struct file *filp)
file              195 fs/ext4/verity.c static int ext4_end_enable_verity(struct file *filp, const void *desc,
file             1813 fs/f2fs/data.c static int f2fs_read_data_page(struct file *file, struct page *page)
file             1829 fs/f2fs/data.c static int f2fs_read_data_pages(struct file *file,
file             2601 fs/f2fs/data.c static int f2fs_write_begin(struct file *file, struct address_space *mapping,
file             2713 fs/f2fs/data.c static int f2fs_write_end(struct file *file,
file             3034 fs/f2fs/data.c 				struct file *swap_file, sector_t *span)
file             3125 fs/f2fs/data.c static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
file             3128 fs/f2fs/data.c 	struct inode *inode = file_inode(file);
file             3141 fs/f2fs/data.c 	ret = check_swap_activate(sis, file, span);
file             3151 fs/f2fs/data.c static void f2fs_swap_deactivate(struct file *file)
file             3153 fs/f2fs/data.c 	struct inode *inode = file_inode(file);
file             3158 fs/f2fs/data.c static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
file             3164 fs/f2fs/data.c static void f2fs_swap_deactivate(struct file *file)
file              974 fs/f2fs/dir.c  static int f2fs_readdir(struct file *file, struct dir_context *ctx)
file              976 fs/f2fs/dir.c  	struct inode *inode = file_inode(file);
file              980 fs/f2fs/dir.c  	struct file_ra_state *ra = &file->f_ra;
file              998 fs/f2fs/dir.c  		err = f2fs_read_inline_dir(file, ctx, &fstr);
file             1013 fs/f2fs/dir.c  			page_cache_sync_readahead(inode->i_mapping, ra, file, n,
file             1047 fs/f2fs/dir.c  static int f2fs_dir_open(struct inode *inode, struct file *filp)
file             2925 fs/f2fs/f2fs.h int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
file             2935 fs/f2fs/f2fs.h long f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file             2936 fs/f2fs/f2fs.h long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             3512 fs/f2fs/f2fs.h int f2fs_read_inline_dir(struct file *file, struct dir_context *ctx,
file              207 fs/f2fs/file.c static int f2fs_do_sync_file(struct file *file, loff_t start, loff_t end,
file              210 fs/f2fs/file.c 	struct inode *inode = file->f_mapping->host;
file              234 fs/f2fs/file.c 	ret = file_write_and_wait_range(file, start, end);
file              336 fs/f2fs/file.c int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
file              338 fs/f2fs/file.c 	if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file)))))
file              340 fs/f2fs/file.c 	return f2fs_do_sync_file(file, start, end, datasync, false);
file              379 fs/f2fs/file.c static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence)
file              381 fs/f2fs/file.c 	struct inode *inode = file->f_mapping->host;
file              454 fs/f2fs/file.c 	return vfs_setpos(file, data_ofs, maxbytes);
file              460 fs/f2fs/file.c static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence)
file              462 fs/f2fs/file.c 	struct inode *inode = file->f_mapping->host;
file              469 fs/f2fs/file.c 		return generic_file_llseek_size(file, offset, whence,
file              475 fs/f2fs/file.c 		return f2fs_seek_block(file, offset, whence);
file              481 fs/f2fs/file.c static int f2fs_file_mmap(struct file *file, struct vm_area_struct *vma)
file              483 fs/f2fs/file.c 	struct inode *inode = file_inode(file);
file              494 fs/f2fs/file.c 	file_accessed(file);
file              499 fs/f2fs/file.c static int f2fs_file_open(struct inode *inode, struct file *filp)
file             1574 fs/f2fs/file.c static long f2fs_fallocate(struct file *file, int mode,
file             1577 fs/f2fs/file.c 	struct inode *inode = file_inode(file);
file             1628 fs/f2fs/file.c static int f2fs_release_file(struct inode *inode, struct file *filp)
file             1651 fs/f2fs/file.c static int f2fs_file_flush(struct file *file, fl_owner_t id)
file             1653 fs/f2fs/file.c 	struct inode *inode = file_inode(file);
file             1770 fs/f2fs/file.c static int f2fs_ioc_getflags(struct file *filp, unsigned long arg)
file             1790 fs/f2fs/file.c static int f2fs_ioc_setflags(struct file *filp, unsigned long arg)
file             1831 fs/f2fs/file.c static int f2fs_ioc_getversion(struct file *filp, unsigned long arg)
file             1838 fs/f2fs/file.c static int f2fs_ioc_start_atomic_write(struct file *filp)
file             1906 fs/f2fs/file.c static int f2fs_ioc_commit_atomic_write(struct file *filp)
file             1948 fs/f2fs/file.c static int f2fs_ioc_start_volatile_write(struct file *filp)
file             1983 fs/f2fs/file.c static int f2fs_ioc_release_volatile_write(struct file *filp)
file             2012 fs/f2fs/file.c static int f2fs_ioc_abort_volatile_write(struct file *filp)
file             2043 fs/f2fs/file.c static int f2fs_ioc_shutdown(struct file *filp, unsigned long arg)
file             2121 fs/f2fs/file.c static int f2fs_ioc_fitrim(struct file *filp, unsigned long arg)
file             2167 fs/f2fs/file.c static int f2fs_ioc_set_encryption_policy(struct file *filp, unsigned long arg)
file             2179 fs/f2fs/file.c static int f2fs_ioc_get_encryption_policy(struct file *filp, unsigned long arg)
file             2186 fs/f2fs/file.c static int f2fs_ioc_get_encryption_pwsalt(struct file *filp, unsigned long arg)
file             2223 fs/f2fs/file.c static int f2fs_ioc_get_encryption_policy_ex(struct file *filp,
file             2232 fs/f2fs/file.c static int f2fs_ioc_add_encryption_key(struct file *filp, unsigned long arg)
file             2240 fs/f2fs/file.c static int f2fs_ioc_remove_encryption_key(struct file *filp, unsigned long arg)
file             2248 fs/f2fs/file.c static int f2fs_ioc_remove_encryption_key_all_users(struct file *filp,
file             2257 fs/f2fs/file.c static int f2fs_ioc_get_encryption_key_status(struct file *filp,
file             2266 fs/f2fs/file.c static int f2fs_ioc_gc(struct file *filp, unsigned long arg)
file             2301 fs/f2fs/file.c static int f2fs_ioc_gc_range(struct file *filp, unsigned long arg)
file             2347 fs/f2fs/file.c static int f2fs_ioc_write_checkpoint(struct file *filp, unsigned long arg)
file             2375 fs/f2fs/file.c 					struct file *filp,
file             2522 fs/f2fs/file.c static int f2fs_ioc_defragment(struct file *filp, unsigned long arg)
file             2568 fs/f2fs/file.c static int f2fs_move_file_range(struct file *file_in, loff_t pos_in,
file             2569 fs/f2fs/file.c 			struct file *file_out, loff_t pos_out, size_t len)
file             2680 fs/f2fs/file.c static int f2fs_ioc_move_range(struct file *filp, unsigned long arg)
file             2695 fs/f2fs/file.c 	if (!dst.file)
file             2698 fs/f2fs/file.c 	if (!(dst.file->f_mode & FMODE_WRITE)) {
file             2707 fs/f2fs/file.c 	err = f2fs_move_file_range(filp, range.pos_in, dst.file,
file             2722 fs/f2fs/file.c static int f2fs_ioc_flush_device(struct file *filp, unsigned long arg)
file             2785 fs/f2fs/file.c static int f2fs_ioc_get_features(struct file *filp, unsigned long arg)
file             2814 fs/f2fs/file.c static int f2fs_ioc_setproject(struct file *filp, __u32 projid)
file             2877 fs/f2fs/file.c static int f2fs_ioc_setproject(struct file *filp, __u32 projid)
file             2949 fs/f2fs/file.c static int f2fs_ioc_fsgetxattr(struct file *filp, unsigned long arg)
file             2961 fs/f2fs/file.c static int f2fs_ioc_fssetxattr(struct file *filp, unsigned long arg)
file             3025 fs/f2fs/file.c static int f2fs_ioc_set_pin_file(struct file *filp, unsigned long arg)
file             3075 fs/f2fs/file.c static int f2fs_ioc_get_pin_file(struct file *filp, unsigned long arg)
file             3118 fs/f2fs/file.c static int f2fs_ioc_precache_extents(struct file *filp, unsigned long arg)
file             3123 fs/f2fs/file.c static int f2fs_ioc_resize_fs(struct file *filp, unsigned long arg)
file             3144 fs/f2fs/file.c static int f2fs_ioc_enable_verity(struct file *filp, unsigned long arg)
file             3160 fs/f2fs/file.c static int f2fs_ioc_measure_verity(struct file *filp, unsigned long arg)
file             3168 fs/f2fs/file.c static int f2fs_get_volume_name(struct file *filp, unsigned long arg)
file             3194 fs/f2fs/file.c static int f2fs_set_volume_name(struct file *filp, unsigned long arg)
file             3230 fs/f2fs/file.c long f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             3315 fs/f2fs/file.c 	struct file *file = iocb->ki_filp;
file             3316 fs/f2fs/file.c 	struct inode *inode = file_inode(file);
file             3407 fs/f2fs/file.c long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             3454 fs/f2fs/file.c 	return f2fs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file              663 fs/f2fs/inline.c int f2fs_read_inline_dir(struct file *file, struct dir_context *ctx,
file              666 fs/f2fs/inline.c 	struct inode *inode = file_inode(file);
file              121 fs/f2fs/verity.c static int f2fs_begin_enable_verity(struct file *filp)
file              149 fs/f2fs/verity.c static int f2fs_end_enable_verity(struct file *filp, const void *desc,
file              553 fs/fat/dir.c   static int __fat_readdir(struct inode *inode, struct file *file,
file              576 fs/fat/dir.c   		if (!dir_emit_dots(file, ctx))
file              663 fs/fat/dir.c   		if (!dir_emit_dot(file, ctx))
file              666 fs/fat/dir.c   		if (!dir_emit_dotdot(file, ctx))
file              702 fs/fat/dir.c   static int fat_readdir(struct file *file, struct dir_context *ctx)
file              704 fs/fat/dir.c   	return __fat_readdir(file_inode(file), file, ctx, 0, NULL);
file              761 fs/fat/dir.c   static int fat_ioctl_readdir(struct inode *inode, struct file *file,
file              774 fs/fat/dir.c   	buf.ctx.pos = file->f_pos;
file              777 fs/fat/dir.c   		ret = __fat_readdir(inode, file, &buf.ctx,
file              779 fs/fat/dir.c   		file->f_pos = buf.ctx.pos;
file              787 fs/fat/dir.c   static long fat_dir_ioctl(struct file *filp, unsigned int cmd,
file              827 fs/fat/dir.c   static long fat_compat_dir_ioctl(struct file *filp, unsigned cmd,
file              396 fs/fat/fat.h   extern long fat_generic_ioctl(struct file *filp, unsigned int cmd,
file              404 fs/fat/fat.h   extern int fat_file_fsync(struct file *file, loff_t start, loff_t end,
file               21 fs/fat/file.c  static long fat_fallocate(struct file *file, int mode,
file               35 fs/fat/file.c  static int fat_ioctl_set_attributes(struct file *file, u32 __user *user_attr)
file               37 fs/fat/file.c  	struct inode *inode = file_inode(file);
file               48 fs/fat/file.c  	err = mnt_want_write_file(file);
file               93 fs/fat/file.c  	err = security_inode_setattr(file->f_path.dentry, &ia);
file               98 fs/fat/file.c  	err = fat_setattr(file->f_path.dentry, &ia);
file              102 fs/fat/file.c  	fsnotify_change(file->f_path.dentry, ia.ia_valid);
file              114 fs/fat/file.c  	mnt_drop_write_file(file);
file              156 fs/fat/file.c  long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              176 fs/fat/file.c  static long fat_generic_compat_ioctl(struct file *filp, unsigned int cmd,
file              184 fs/fat/file.c  static int fat_file_release(struct inode *inode, struct file *filp)
file              194 fs/fat/file.c  int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
file              270 fs/fat/file.c  static long fat_fallocate(struct file *file, int mode,
file              276 fs/fat/file.c  	struct inode *inode = file->f_mapping->host;
file              207 fs/fat/inode.c static int fat_readpage(struct file *file, struct page *page)
file              212 fs/fat/inode.c static int fat_readpages(struct file *file, struct address_space *mapping,
file              228 fs/fat/inode.c static int fat_write_begin(struct file *file, struct address_space *mapping,
file              235 fs/fat/inode.c 	err = cont_write_begin(file, mapping, pos, len, flags,
file              243 fs/fat/inode.c static int fat_write_end(struct file *file, struct address_space *mapping,
file              249 fs/fat/inode.c 	err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
file              262 fs/fat/inode.c 	struct file *file = iocb->ki_filp;
file              263 fs/fat/inode.c 	struct address_space *mapping = file->f_mapping;
file               35 fs/fcntl.c     static int setfl(int fd, struct file * filp, unsigned long arg)
file               87 fs/fcntl.c     static void f_modown(struct file *filp, struct pid *pid, enum pid_type type,
file              105 fs/fcntl.c     void __f_setown(struct file *filp, struct pid *pid, enum pid_type type,
file              113 fs/fcntl.c     int f_setown(struct file *filp, unsigned long arg, int force)
file              144 fs/fcntl.c     void f_delown(struct file *filp)
file              149 fs/fcntl.c     pid_t f_getown(struct file *filp)
file              160 fs/fcntl.c     static int f_setown_ex(struct file *filp, unsigned long arg)
file              200 fs/fcntl.c     static int f_getown_ex(struct file *filp, unsigned long arg)
file              237 fs/fcntl.c     static int f_getowner_uids(struct file *filp, unsigned long arg)
file              255 fs/fcntl.c     static int f_getowner_uids(struct file *filp, unsigned long arg)
file              276 fs/fcntl.c     static long fcntl_rw_hint(struct file *file, unsigned int cmd,
file              279 fs/fcntl.c     	struct inode *inode = file_inode(file);
file              286 fs/fcntl.c     		h = file_write_hint(file);
file              297 fs/fcntl.c     		spin_lock(&file->f_lock);
file              298 fs/fcntl.c     		file->f_write_hint = hint;
file              299 fs/fcntl.c     		spin_unlock(&file->f_lock);
file              323 fs/fcntl.c     		struct file *filp)
file              453 fs/fcntl.c     	if (!f.file)
file              456 fs/fcntl.c     	if (unlikely(f.file->f_mode & FMODE_PATH)) {
file              461 fs/fcntl.c     	err = security_file_fcntl(f.file, cmd, arg);
file              463 fs/fcntl.c     		err = do_fcntl(fd, cmd, arg, f.file);
file              480 fs/fcntl.c     	if (!f.file)
file              483 fs/fcntl.c     	if (unlikely(f.file->f_mode & FMODE_PATH)) {
file              488 fs/fcntl.c     	err = security_file_fcntl(f.file, cmd, arg);
file              498 fs/fcntl.c     		err = fcntl_getlk64(f.file, cmd, &flock);
file              509 fs/fcntl.c     		err = fcntl_setlk64(fd, f.file, cmd, &flock);
file              512 fs/fcntl.c     		err = do_fcntl(fd, cmd, arg, f.file);
file              617 fs/fcntl.c     	if (!f.file)
file              620 fs/fcntl.c     	if (unlikely(f.file->f_mode & FMODE_PATH)) {
file              625 fs/fcntl.c     	err = security_file_fcntl(f.file, cmd, arg);
file              634 fs/fcntl.c     		err = fcntl_getlk(f.file, convert_fcntl_cmd(cmd), &flock);
file              646 fs/fcntl.c     		err = fcntl_getlk(f.file, convert_fcntl_cmd(cmd), &flock);
file              655 fs/fcntl.c     		err = fcntl_setlk(fd, f.file, convert_fcntl_cmd(cmd), &flock);
file              664 fs/fcntl.c     		err = fcntl_setlk(fd, f.file, convert_fcntl_cmd(cmd), &flock);
file              667 fs/fcntl.c     		err = do_fcntl(fd, cmd, arg, f.file);
file              867 fs/fcntl.c     int fasync_remove_entry(struct file *filp, struct fasync_struct **fapp)
file              915 fs/fcntl.c     struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new)
file              949 fs/fcntl.c     static int fasync_add_entry(int fd, struct file *filp, struct fasync_struct **fapp)
file              978 fs/fcntl.c     int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp)
file              126 fs/fhandle.c   		if (!f.file)
file              128 fs/fhandle.c   		mnt = mntget(f.file->f_path.mnt);
file              220 fs/fhandle.c   	struct file *file;
file              232 fs/fhandle.c   	file = file_open_root(path.dentry, path.mnt, "", open_flag, 0);
file              233 fs/fhandle.c   	if (IS_ERR(file)) {
file              235 fs/fhandle.c   		retval =  PTR_ERR(file);
file              238 fs/fhandle.c   		fsnotify_open(file);
file              239 fs/fhandle.c   		fd_install(fd, file);
file               77 fs/file.c      	cpy = ofdt->max_fds * sizeof(struct file *);
file               78 fs/file.c      	set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *);
file               97 fs/file.c      	nr /= (1024 / sizeof(struct file *));
file               99 fs/file.c      	nr *= (1024 / sizeof(struct file *));
file              115 fs/file.c      	data = kvmalloc_array(nr, sizeof(struct file *), GFP_KERNEL_ACCOUNT);
file              275 fs/file.c      	struct file **old_fds, **new_fds;
file              339 fs/file.c      		struct file *f = *old_fds++;
file              356 fs/file.c      	memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *));
file              386 fs/file.c      				struct file * file = xchg(&fdt->fd[i], NULL);
file              387 fs/file.c      				if (file) {
file              388 fs/file.c      					filp_close(file, files);
file              588 fs/file.c      		struct file *file)
file              599 fs/file.c      		rcu_assign_pointer(fdt->fd[fd], file);
file              607 fs/file.c      	rcu_assign_pointer(fdt->fd[fd], file);
file              611 fs/file.c      void fd_install(unsigned int fd, struct file *file)
file              613 fs/file.c      	__fd_install(current->files, fd, file);
file              623 fs/file.c      	struct file *file;
file              630 fs/file.c      	file = fdt->fd[fd];
file              631 fs/file.c      	if (!file)
file              636 fs/file.c      	return filp_close(file, files);
file              647 fs/file.c      int __close_fd_get_file(unsigned int fd, struct file **res)
file              650 fs/file.c      	struct file *file;
file              657 fs/file.c      	file = fdt->fd[fd];
file              658 fs/file.c      	if (!file)
file              663 fs/file.c      	get_file(file);
file              664 fs/file.c      	*res = file;
file              665 fs/file.c      	return filp_close(file, files);
file              691 fs/file.c      			struct file *file;
file              694 fs/file.c      			file = fdt->fd[fd];
file              695 fs/file.c      			if (!file)
file              700 fs/file.c      			filp_close(file, files);
file              709 fs/file.c      static struct file *__fget(unsigned int fd, fmode_t mask, unsigned int refs)
file              712 fs/file.c      	struct file *file;
file              716 fs/file.c      	file = fcheck_files(files, fd);
file              717 fs/file.c      	if (file) {
file              722 fs/file.c      		if (file->f_mode & mask)
file              723 fs/file.c      			file = NULL;
file              724 fs/file.c      		else if (!get_file_rcu_many(file, refs))
file              729 fs/file.c      	return file;
file              732 fs/file.c      struct file *fget_many(unsigned int fd, unsigned int refs)
file              737 fs/file.c      struct file *fget(unsigned int fd)
file              743 fs/file.c      struct file *fget_raw(unsigned int fd)
file              768 fs/file.c      	struct file *file;
file              771 fs/file.c      		file = __fcheck_files(files, fd);
file              772 fs/file.c      		if (!file || unlikely(file->f_mode & mask))
file              774 fs/file.c      		return (unsigned long)file;
file              776 fs/file.c      		file = __fget(fd, mask, 1);
file              777 fs/file.c      		if (!file)
file              779 fs/file.c      		return FDPUT_FPUT | (unsigned long)file;
file              796 fs/file.c      	struct file *file = (struct file *)(v & ~3);
file              798 fs/file.c      	if (file && (file->f_mode & FMODE_ATOMIC_POS)) {
file              799 fs/file.c      		if (file_count(file) > 1) {
file              801 fs/file.c      			mutex_lock(&file->f_pos_lock);
file              807 fs/file.c      void __f_unlock_pos(struct file *f)
file              844 fs/file.c      	struct file *file, unsigned fd, unsigned flags)
file              847 fs/file.c      	struct file *tofree;
file              868 fs/file.c      	get_file(file);
file              869 fs/file.c      	rcu_assign_pointer(fdt->fd[fd], file);
file              887 fs/file.c      int replace_fd(unsigned fd, struct file *file, unsigned flags)
file              892 fs/file.c      	if (!file)
file              902 fs/file.c      	return do_dup2(files, file, fd, flags);
file              912 fs/file.c      	struct file *file;
file              926 fs/file.c      	file = fcheck(oldfd);
file              927 fs/file.c      	if (unlikely(!file))
file              934 fs/file.c      	return do_dup2(files, file, newfd, flags);
file              966 fs/file.c      	struct file *file = fget_raw(fildes);
file              968 fs/file.c      	if (file) {
file              971 fs/file.c      			fd_install(ret, file);
file              973 fs/file.c      			fput(file);
file              983 fs/file.c      int f_dupfd(unsigned int from, struct file *file, unsigned flags)
file              990 fs/file.c      		get_file(file);
file              991 fs/file.c      		fd_install(err, file);
file              997 fs/file.c      		int (*f)(const void *, struct file *, unsigned),
file             1006 fs/file.c      		struct file *file;
file             1007 fs/file.c      		file = rcu_dereference_check_fdtable(files, fdt->fd[n]);
file             1008 fs/file.c      		if (!file)
file             1010 fs/file.c      		res = f(p, file, n);
file               47 fs/file_table.c 	struct file *f = container_of(head, struct file, f_u.fu_rcuhead);
file               53 fs/file_table.c static inline void file_free(struct file *f)
file               96 fs/file_table.c static struct file *__alloc_file(int flags, const struct cred *cred)
file               98 fs/file_table.c 	struct file *f;
file              134 fs/file_table.c struct file *alloc_empty_file(int flags, const struct cred *cred)
file              137 fs/file_table.c 	struct file *f;
file              171 fs/file_table.c struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred)
file              173 fs/file_table.c 	struct file *f = __alloc_file(flags, cred);
file              188 fs/file_table.c static struct file *alloc_file(const struct path *path, int flags,
file              191 fs/file_table.c 	struct file *file;
file              193 fs/file_table.c 	file = alloc_empty_file(flags, current_cred());
file              194 fs/file_table.c 	if (IS_ERR(file))
file              195 fs/file_table.c 		return file;
file              197 fs/file_table.c 	file->f_path = *path;
file              198 fs/file_table.c 	file->f_inode = path->dentry->d_inode;
file              199 fs/file_table.c 	file->f_mapping = path->dentry->d_inode->i_mapping;
file              200 fs/file_table.c 	file->f_wb_err = filemap_sample_wb_err(file->f_mapping);
file              201 fs/file_table.c 	if ((file->f_mode & FMODE_READ) &&
file              203 fs/file_table.c 		file->f_mode |= FMODE_CAN_READ;
file              204 fs/file_table.c 	if ((file->f_mode & FMODE_WRITE) &&
file              206 fs/file_table.c 		file->f_mode |= FMODE_CAN_WRITE;
file              207 fs/file_table.c 	file->f_mode |= FMODE_OPENED;
file              208 fs/file_table.c 	file->f_op = fop;
file              209 fs/file_table.c 	if ((file->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ)
file              211 fs/file_table.c 	return file;
file              214 fs/file_table.c struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt,
file              223 fs/file_table.c 	struct file *file;
file              232 fs/file_table.c 	file = alloc_file(&path, flags, fops);
file              233 fs/file_table.c 	if (IS_ERR(file)) {
file              237 fs/file_table.c 	return file;
file              241 fs/file_table.c struct file *alloc_file_clone(struct file *base, int flags,
file              244 fs/file_table.c 	struct file *f = alloc_file(&base->f_path, flags, fops);
file              254 fs/file_table.c static void __fput(struct file *file)
file              256 fs/file_table.c 	struct dentry *dentry = file->f_path.dentry;
file              257 fs/file_table.c 	struct vfsmount *mnt = file->f_path.mnt;
file              258 fs/file_table.c 	struct inode *inode = file->f_inode;
file              259 fs/file_table.c 	fmode_t mode = file->f_mode;
file              261 fs/file_table.c 	if (unlikely(!(file->f_mode & FMODE_OPENED)))
file              266 fs/file_table.c 	fsnotify_close(file);
file              271 fs/file_table.c 	eventpoll_release(file);
file              272 fs/file_table.c 	locks_remove_file(file);
file              274 fs/file_table.c 	ima_file_free(file);
file              275 fs/file_table.c 	if (unlikely(file->f_flags & FASYNC)) {
file              276 fs/file_table.c 		if (file->f_op->fasync)
file              277 fs/file_table.c 			file->f_op->fasync(-1, file, 0);
file              279 fs/file_table.c 	if (file->f_op->release)
file              280 fs/file_table.c 		file->f_op->release(inode, file);
file              285 fs/file_table.c 	fops_put(file->f_op);
file              286 fs/file_table.c 	put_pid(file->f_owner.pid);
file              298 fs/file_table.c 	file_free(file);
file              305 fs/file_table.c 	struct file *f, *t;
file              313 fs/file_table.c 	__fput(container_of(work, struct file, f_u.fu_rcuhead));
file              334 fs/file_table.c void fput_many(struct file *file, unsigned int refs)
file              336 fs/file_table.c 	if (atomic_long_sub_and_test(refs, &file->f_count)) {
file              340 fs/file_table.c 			init_task_work(&file->f_u.fu_rcuhead, ____fput);
file              341 fs/file_table.c 			if (!task_work_add(task, &file->f_u.fu_rcuhead, true))
file              350 fs/file_table.c 		if (llist_add(&file->f_u.fu_llist, &delayed_fput_list))
file              355 fs/file_table.c void fput(struct file *file)
file              357 fs/file_table.c 	fput_many(file, 1);
file              368 fs/file_table.c void __fput_sync(struct file *file)
file              370 fs/file_table.c 	if (atomic_long_dec_and_test(&file->f_count)) {
file              373 fs/file_table.c 		__fput(file);
file              381 fs/file_table.c 	filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0,
file               41 fs/freevxfs/vxfs_immed.c static int	vxfs_immed_readpage(struct file *, struct page *);
file               66 fs/freevxfs/vxfs_immed.c vxfs_immed_readpage(struct file *fp, struct page *pp)
file               53 fs/freevxfs/vxfs_lookup.c static int		vxfs_readdir(struct file *, struct dir_context *);
file              215 fs/freevxfs/vxfs_lookup.c vxfs_readdir(struct file *fp, struct dir_context *ctx)
file               41 fs/freevxfs/vxfs_subr.c static int		vxfs_readpage(struct file *, struct page *);
file              159 fs/freevxfs/vxfs_subr.c vxfs_readpage(struct file *file, struct page *page)
file              382 fs/fscache/object-list.c static int fscache_objlist_open(struct inode *inode, struct file *file)
file              386 fs/fscache/object-list.c 	data = __seq_open_private(file, &fscache_objlist_ops, sizeof(*data));
file              399 fs/fscache/object-list.c static int fscache_objlist_release(struct inode *inode, struct file *file)
file              401 fs/fscache/object-list.c 	struct seq_file *m = file->private_data;
file              405 fs/fscache/object-list.c 	return seq_release(inode, file);
file               24 fs/fsopen.c    static ssize_t fscontext_read(struct file *file,
file               27 fs/fsopen.c    	struct fs_context *fc = file->private_data;
file               67 fs/fsopen.c    static int fscontext_release(struct inode *inode, struct file *file)
file               69 fs/fsopen.c    	struct fs_context *fc = file->private_data;
file               72 fs/fsopen.c    		file->private_data = NULL;
file              364 fs/fsopen.c    	if (!f.file)
file              367 fs/fsopen.c    	if (f.file->f_op != &fscontext_fops)
file              370 fs/fsopen.c    	fc = f.file->private_data;
file              435 fs/fsopen.c    		param.file = fget(aux);
file              436 fs/fsopen.c    		if (!param.file)
file              464 fs/fsopen.c    		if (param.file)
file              465 fs/fsopen.c    			fput(param.file);
file               23 fs/fuse/control.c static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file)
file               27 fs/fuse/control.c 	fc = file_inode(file)->i_private;
file               34 fs/fuse/control.c static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf,
file               37 fs/fuse/control.c 	struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
file               47 fs/fuse/control.c static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf,
file               55 fs/fuse/control.c 		struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
file               60 fs/fuse/control.c 		file->private_data = (void *)value;
file               63 fs/fuse/control.c 	size = sprintf(tmp, "%ld\n", (long)file->private_data);
file               67 fs/fuse/control.c static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf,
file               76 fs/fuse/control.c static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf,
file              102 fs/fuse/control.c static ssize_t fuse_conn_max_background_read(struct file *file,
file              109 fs/fuse/control.c 	fc = fuse_ctl_file_conn_get(file);
file              116 fs/fuse/control.c 	return fuse_conn_limit_read(file, buf, len, ppos, val);
file              119 fs/fuse/control.c static ssize_t fuse_conn_max_background_write(struct file *file,
file              126 fs/fuse/control.c 	ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
file              129 fs/fuse/control.c 		struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
file              144 fs/fuse/control.c static ssize_t fuse_conn_congestion_threshold_read(struct file *file,
file              151 fs/fuse/control.c 	fc = fuse_ctl_file_conn_get(file);
file              158 fs/fuse/control.c 	return fuse_conn_limit_read(file, buf, len, ppos, val);
file              161 fs/fuse/control.c static ssize_t fuse_conn_congestion_threshold_write(struct file *file,
file              169 fs/fuse/control.c 	ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
file              173 fs/fuse/control.c 	fc = fuse_ctl_file_conn_get(file);
file              113 fs/fuse/cuse.c static int cuse_open(struct inode *inode, struct file *file)
file              137 fs/fuse/cuse.c 	rc = fuse_do_open(&cc->fc, 0, file, 0);
file              143 fs/fuse/cuse.c static int cuse_release(struct inode *inode, struct file *file)
file              145 fs/fuse/cuse.c 	struct fuse_file *ff = file->private_data;
file              148 fs/fuse/cuse.c 	fuse_sync_release(NULL, ff, file->f_flags);
file              154 fs/fuse/cuse.c static long cuse_file_ioctl(struct file *file, unsigned int cmd,
file              157 fs/fuse/cuse.c 	struct fuse_file *ff = file->private_data;
file              164 fs/fuse/cuse.c 	return fuse_do_ioctl(file, cmd, arg, flags);
file              167 fs/fuse/cuse.c static long cuse_file_compat_ioctl(struct file *file, unsigned int cmd,
file              170 fs/fuse/cuse.c 	struct fuse_file *ff = file->private_data;
file              177 fs/fuse/cuse.c 	return fuse_do_ioctl(file, cmd, arg, flags);
file              494 fs/fuse/cuse.c static int cuse_channel_open(struct inode *inode, struct file *file)
file              509 fs/fuse/cuse.c 	fuse_conn_init(&cc->fc, file->f_cred->user_ns, &fuse_dev_fiq_ops, NULL);
file              527 fs/fuse/cuse.c 	file->private_data = fud;
file              543 fs/fuse/cuse.c static int cuse_channel_release(struct inode *inode, struct file *file)
file              545 fs/fuse/cuse.c 	struct fuse_dev *fud = file->private_data;
file              564 fs/fuse/cuse.c 	rc = fuse_dev_release(inode, file);	/* puts the base reference */
file               34 fs/fuse/dev.c  static struct fuse_dev *fuse_get_dev(struct file *file)
file               40 fs/fuse/dev.c  	return READ_ONCE(file->private_data);
file             1176 fs/fuse/dev.c  static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file,
file             1213 fs/fuse/dev.c  		if (file->f_flags & O_NONBLOCK)
file             1305 fs/fuse/dev.c  static int fuse_dev_open(struct inode *inode, struct file *file)
file             1312 fs/fuse/dev.c  	file->private_data = NULL;
file             1319 fs/fuse/dev.c  	struct file *file = iocb->ki_filp;
file             1320 fs/fuse/dev.c  	struct fuse_dev *fud = fuse_get_dev(file);
file             1330 fs/fuse/dev.c  	return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to));
file             1333 fs/fuse/dev.c  static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos,
file             1937 fs/fuse/dev.c  				     struct file *out, loff_t *ppos,
file             2020 fs/fuse/dev.c  static __poll_t fuse_dev_poll(struct file *file, poll_table *wait)
file             2024 fs/fuse/dev.c  	struct fuse_dev *fud = fuse_get_dev(file);
file             2030 fs/fuse/dev.c  	poll_wait(file, &fiq->waitq, wait);
file             2160 fs/fuse/dev.c  int fuse_dev_release(struct inode *inode, struct file *file)
file             2162 fs/fuse/dev.c  	struct fuse_dev *fud = fuse_get_dev(file);
file             2189 fs/fuse/dev.c  static int fuse_dev_fasync(int fd, struct file *file, int on)
file             2191 fs/fuse/dev.c  	struct fuse_dev *fud = fuse_get_dev(file);
file             2197 fs/fuse/dev.c  	return fasync_helper(fd, file, on, &fud->fc->iq.fasync);
file             2200 fs/fuse/dev.c  static int fuse_device_clone(struct fuse_conn *fc, struct file *new)
file             2217 fs/fuse/dev.c  static long fuse_dev_ioctl(struct file *file, unsigned int cmd,
file             2227 fs/fuse/dev.c  			struct file *old = fget(oldfd);
file             2237 fs/fuse/dev.c  				if (old->f_op == file->f_op &&
file             2238 fs/fuse/dev.c  				    old->f_cred->user_ns == file->f_cred->user_ns)
file             2243 fs/fuse/dev.c  					err = fuse_device_clone(fud->fc, file);
file              432 fs/fuse/dir.c  			    struct file *file, unsigned flags,
file              505 fs/fuse/dir.c  	err = finish_open(file, entry, generic_file_open);
file              510 fs/fuse/dir.c  		file->private_data = ff;
file              511 fs/fuse/dir.c  		fuse_finish_open(inode, file);
file              525 fs/fuse/dir.c  			    struct file *file, unsigned flags,
file              545 fs/fuse/dir.c  	file->f_mode |= FMODE_CREATED;
file              550 fs/fuse/dir.c  	err = fuse_create_open(dir, entry, file, flags, mode);
file              564 fs/fuse/dir.c  	return finish_no_open(file, res);
file              924 fs/fuse/dir.c  			   struct file *file)
file              938 fs/fuse/dir.c  	if (file && S_ISREG(inode->i_mode)) {
file              939 fs/fuse/dir.c  		struct fuse_file *ff = file->private_data;
file              969 fs/fuse/dir.c  static int fuse_update_get_attr(struct inode *inode, struct file *file,
file              988 fs/fuse/dir.c  		err = fuse_do_getattr(inode, stat, file);
file              998 fs/fuse/dir.c  int fuse_update_attributes(struct inode *inode, struct file *file)
file             1001 fs/fuse/dir.c  	return fuse_update_get_attr(inode, file, NULL,
file             1282 fs/fuse/dir.c  static int fuse_dir_open(struct inode *inode, struct file *file)
file             1284 fs/fuse/dir.c  	return fuse_open_common(inode, file, true);
file             1287 fs/fuse/dir.c  static int fuse_dir_release(struct inode *inode, struct file *file)
file             1289 fs/fuse/dir.c  	fuse_release_common(file, true);
file             1294 fs/fuse/dir.c  static int fuse_dir_fsync(struct file *file, loff_t start, loff_t end,
file             1297 fs/fuse/dir.c  	struct inode *inode = file->f_mapping->host;
file             1308 fs/fuse/dir.c  	err = fuse_fsync_common(file, start, end, datasync, FUSE_FSYNCDIR);
file             1318 fs/fuse/dir.c  static long fuse_dir_ioctl(struct file *file, unsigned int cmd,
file             1321 fs/fuse/dir.c  	struct fuse_conn *fc = get_fuse_conn(file->f_mapping->host);
file             1327 fs/fuse/dir.c  	return fuse_ioctl_common(file, cmd, arg, FUSE_IOCTL_DIR);
file             1330 fs/fuse/dir.c  static long fuse_dir_compat_ioctl(struct file *file, unsigned int cmd,
file             1333 fs/fuse/dir.c  	struct fuse_conn *fc = get_fuse_conn(file->f_mapping->host);
file             1338 fs/fuse/dir.c  	return fuse_ioctl_common(file, cmd, arg,
file             1491 fs/fuse/dir.c  		    struct file *file)
file             1526 fs/fuse/dir.c  		file = NULL;
file             1558 fs/fuse/dir.c  	if (file) {
file             1559 fs/fuse/dir.c  		struct fuse_file *ff = file->private_data;
file             1631 fs/fuse/dir.c  	struct file *file = (attr->ia_valid & ATTR_FILE) ? attr->ia_file : NULL;
file             1652 fs/fuse/dir.c  			ret = fuse_do_getattr(inode, NULL, file);
file             1670 fs/fuse/dir.c  	ret = fuse_do_setattr(entry, attr, file);
file             1763 fs/fuse/dir.c  static int fuse_symlink_readpage(struct file *null, struct page *page)
file               34 fs/fuse/file.c static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
file               41 fs/fuse/file.c 	inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY);
file              132 fs/fuse/file.c int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
file              149 fs/fuse/file.c 		err = fuse_send_open(fc, nodeid, file, opcode, &outarg);
file              169 fs/fuse/file.c 	file->private_data = ff;
file              175 fs/fuse/file.c static void fuse_link_write_file(struct file *file)
file              177 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file              179 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              190 fs/fuse/file.c void fuse_finish_open(struct inode *inode, struct file *file)
file              192 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              198 fs/fuse/file.c 		stream_open(inode, file);
file              200 fs/fuse/file.c 		nonseekable_open(inode, file);
file              201 fs/fuse/file.c 	if (fc->atomic_o_trunc && (file->f_flags & O_TRUNC)) {
file              210 fs/fuse/file.c 			file_update_time(file);
file              212 fs/fuse/file.c 	if ((file->f_mode & FMODE_WRITE) && fc->writeback_cache)
file              213 fs/fuse/file.c 		fuse_link_write_file(file);
file              216 fs/fuse/file.c int fuse_open_common(struct inode *inode, struct file *file, bool isdir)
file              220 fs/fuse/file.c 	bool is_wb_truncate = (file->f_flags & O_TRUNC) &&
file              224 fs/fuse/file.c 	err = generic_file_open(inode, file);
file              233 fs/fuse/file.c 	err = fuse_do_open(fc, get_node_id(inode), file, isdir);
file              236 fs/fuse/file.c 		fuse_finish_open(inode, file);
file              276 fs/fuse/file.c void fuse_release_common(struct file *file, bool isdir)
file              278 fs/fuse/file.c 	struct fuse_inode *fi = get_fuse_inode(file_inode(file));
file              279 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              283 fs/fuse/file.c 	fuse_prepare_release(fi, ff, file->f_flags, opcode);
file              288 fs/fuse/file.c 							  (fl_owner_t) file);
file              291 fs/fuse/file.c 	ra->inode = igrab(file_inode(file));
file              305 fs/fuse/file.c static int fuse_open(struct inode *inode, struct file *file)
file              307 fs/fuse/file.c 	return fuse_open_common(inode, file, false);
file              310 fs/fuse/file.c static int fuse_release(struct inode *inode, struct file *file)
file              318 fs/fuse/file.c 	fuse_release_common(file, false);
file              436 fs/fuse/file.c static int fuse_flush(struct file *file, fl_owner_t id)
file              438 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file              440 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              459 fs/fuse/file.c 	err = filemap_check_errors(file->f_mapping);
file              481 fs/fuse/file.c int fuse_fsync_common(struct file *file, loff_t start, loff_t end,
file              484 fs/fuse/file.c 	struct inode *inode = file->f_mapping->host;
file              486 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              501 fs/fuse/file.c static int fuse_fsync(struct file *file, loff_t start, loff_t end,
file              504 fs/fuse/file.c 	struct inode *inode = file->f_mapping->host;
file              518 fs/fuse/file.c 	err = file_write_and_wait_range(file, start, end);
file              529 fs/fuse/file.c 	err = file_check_and_advance_wb_err(file);
file              540 fs/fuse/file.c 	err = fuse_fsync_common(file, start, end, datasync, FUSE_FSYNC);
file              551 fs/fuse/file.c void fuse_read_args_fill(struct fuse_io_args *ia, struct file *file, loff_t pos,
file              554 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              560 fs/fuse/file.c 	ia->read.in.flags = file->f_flags;
file              725 fs/fuse/file.c 	struct file *file = ia->io->iocb->ki_filp;
file              726 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              729 fs/fuse/file.c 	fuse_read_args_fill(ia, file, pos, count, FUSE_READ);
file              781 fs/fuse/file.c static int fuse_do_readpage(struct file *file, struct page *page)
file              810 fs/fuse/file.c 	fuse_read_args_fill(&ia, file, pos, desc.length, FUSE_READ);
file              825 fs/fuse/file.c static int fuse_readpage(struct file *file, struct page *page)
file              834 fs/fuse/file.c 	err = fuse_do_readpage(file, page);
file              882 fs/fuse/file.c static void fuse_send_readpages(struct fuse_io_args *ia, struct file *file)
file              884 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file              903 fs/fuse/file.c 	fuse_read_args_fill(ia, file, pos, count, FUSE_READ);
file              920 fs/fuse/file.c 	struct file *file;
file              942 fs/fuse/file.c 		fuse_send_readpages(ia, data->file);
file              965 fs/fuse/file.c static int fuse_readpages(struct file *file, struct address_space *mapping,
file              977 fs/fuse/file.c 	data.file = file;
file              990 fs/fuse/file.c 			fuse_send_readpages(data.ia, file);
file             1057 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             1058 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             1102 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             1103 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             1270 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             1271 fs/fuse/file.c 	struct address_space *mapping = file->f_mapping;
file             1280 fs/fuse/file.c 		err = fuse_update_attributes(mapping->host, file);
file             1296 fs/fuse/file.c 	err = file_remove_privs(file);
file             1300 fs/fuse/file.c 	err = file_update_time(file);
file             1319 fs/fuse/file.c 		err = filemap_write_and_wait_range(file->f_mapping, pos,
file             1324 fs/fuse/file.c 		invalidate_mapping_pages(file->f_mapping,
file             1426 fs/fuse/file.c 	struct file *file = io->iocb->ki_filp;
file             1427 fs/fuse/file.c 	struct inode *inode = file->f_mapping->host;
file             1428 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             1567 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             1568 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             1570 fs/fuse/file.c 	if (is_bad_inode(file_inode(file)))
file             1581 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             1582 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             1584 fs/fuse/file.c 	if (is_bad_inode(file_inode(file)))
file             2167 fs/fuse/file.c static int fuse_write_begin(struct file *file, struct address_space *mapping,
file             2172 fs/fuse/file.c 	struct fuse_conn *fc = get_fuse_conn(file_inode(file));
file             2198 fs/fuse/file.c 	err = fuse_do_readpage(file, page);
file             2212 fs/fuse/file.c static int fuse_write_end(struct file *file, struct address_space *mapping,
file             2299 fs/fuse/file.c static int fuse_file_mmap(struct file *file, struct vm_area_struct *vma)
file             2301 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             2308 fs/fuse/file.c 		invalidate_inode_pages2(file->f_mapping);
file             2310 fs/fuse/file.c 		return generic_file_mmap(file, vma);
file             2314 fs/fuse/file.c 		fuse_link_write_file(file);
file             2316 fs/fuse/file.c 	file_accessed(file);
file             2354 fs/fuse/file.c static void fuse_lk_fill(struct fuse_args *args, struct file *file,
file             2358 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2360 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             2378 fs/fuse/file.c static int fuse_getlk(struct file *file, struct file_lock *fl)
file             2380 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2387 fs/fuse/file.c 	fuse_lk_fill(&args, file, fl, FUSE_GETLK, 0, 0, &inarg);
file             2398 fs/fuse/file.c static int fuse_setlk(struct file *file, struct file_lock *fl, int flock)
file             2400 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2418 fs/fuse/file.c 	fuse_lk_fill(&args, file, fl, opcode, pid_nr, flock, &inarg);
file             2428 fs/fuse/file.c static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl)
file             2430 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2438 fs/fuse/file.c 			posix_test_lock(file, fl);
file             2441 fs/fuse/file.c 			err = fuse_getlk(file, fl);
file             2444 fs/fuse/file.c 			err = posix_lock_file(file, fl, NULL);
file             2446 fs/fuse/file.c 			err = fuse_setlk(file, fl, 0);
file             2451 fs/fuse/file.c static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl)
file             2453 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2458 fs/fuse/file.c 		err = locks_lock_file_wait(file, fl);
file             2460 fs/fuse/file.c 		struct fuse_file *ff = file->private_data;
file             2464 fs/fuse/file.c 		err = fuse_setlk(file, fl, 1);
file             2500 fs/fuse/file.c static loff_t fuse_lseek(struct file *file, loff_t offset, int whence)
file             2502 fs/fuse/file.c 	struct inode *inode = file->f_mapping->host;
file             2504 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             2534 fs/fuse/file.c 	return vfs_setpos(file, outarg.offset, inode->i_sb->s_maxbytes);
file             2537 fs/fuse/file.c 	err = fuse_update_attributes(inode, file);
file             2539 fs/fuse/file.c 		return generic_file_llseek(file, offset, whence);
file             2544 fs/fuse/file.c static loff_t fuse_file_llseek(struct file *file, loff_t offset, int whence)
file             2547 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2553 fs/fuse/file.c 		retval = generic_file_llseek(file, offset, whence);
file             2557 fs/fuse/file.c 		retval = fuse_update_attributes(inode, file);
file             2559 fs/fuse/file.c 			retval = generic_file_llseek(file, offset, whence);
file             2565 fs/fuse/file.c 		retval = fuse_lseek(file, offset, whence);
file             2710 fs/fuse/file.c long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
file             2713 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             2896 fs/fuse/file.c long fuse_ioctl_common(struct file *file, unsigned int cmd,
file             2899 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             2908 fs/fuse/file.c 	return fuse_do_ioctl(file, cmd, arg, flags);
file             2911 fs/fuse/file.c static long fuse_file_ioctl(struct file *file, unsigned int cmd,
file             2914 fs/fuse/file.c 	return fuse_ioctl_common(file, cmd, arg, 0);
file             2917 fs/fuse/file.c static long fuse_file_compat_ioctl(struct file *file, unsigned int cmd,
file             2920 fs/fuse/file.c 	return fuse_ioctl_common(file, cmd, arg, FUSE_IOCTL_COMPAT);
file             2974 fs/fuse/file.c __poll_t fuse_file_poll(struct file *file, poll_table *wait)
file             2976 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             2986 fs/fuse/file.c 	poll_wait(file, &ff->poll_wait, wait);
file             3042 fs/fuse/file.c static void fuse_do_truncate(struct file *file)
file             3044 fs/fuse/file.c 	struct inode *inode = file->f_mapping->host;
file             3050 fs/fuse/file.c 	attr.ia_file = file;
file             3053 fs/fuse/file.c 	fuse_do_setattr(file_dentry(file), &attr, file);
file             3066 fs/fuse/file.c 	struct file *file = iocb->ki_filp;
file             3067 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             3077 fs/fuse/file.c 	inode = file->f_mapping->host;
file             3152 fs/fuse/file.c 			fuse_do_truncate(file);
file             3168 fs/fuse/file.c static long fuse_file_fallocate(struct file *file, int mode, loff_t offset,
file             3171 fs/fuse/file.c 	struct fuse_file *ff = file->private_data;
file             3172 fs/fuse/file.c 	struct inode *inode = file_inode(file);
file             3231 fs/fuse/file.c 			file_update_time(file);
file             3249 fs/fuse/file.c static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in,
file             3250 fs/fuse/file.c 				      struct file *file_out, loff_t pos_out,
file             3339 fs/fuse/file.c static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off,
file             3340 fs/fuse/file.c 				    struct file *dst_file, loff_t dst_off,
file              841 fs/fuse/fuse_i.h void fuse_read_args_fill(struct fuse_io_args *ia, struct file *file, loff_t pos,
file              848 fs/fuse/fuse_i.h int fuse_open_common(struct inode *inode, struct file *file, bool isdir);
file              852 fs/fuse/fuse_i.h void fuse_finish_open(struct inode *inode, struct file *file);
file              859 fs/fuse/fuse_i.h void fuse_release_common(struct file *file, bool isdir);
file              864 fs/fuse/fuse_i.h int fuse_fsync_common(struct file *file, loff_t start, loff_t end,
file             1005 fs/fuse/fuse_i.h int fuse_update_attributes(struct inode *inode, struct file *file);
file             1031 fs/fuse/fuse_i.h int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
file             1046 fs/fuse/fuse_i.h long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
file             1048 fs/fuse/fuse_i.h long fuse_ioctl_common(struct file *file, unsigned int cmd,
file             1050 fs/fuse/fuse_i.h __poll_t fuse_file_poll(struct file *file, poll_table *wait);
file             1051 fs/fuse/fuse_i.h int fuse_dev_release(struct inode *inode, struct file *file);
file             1059 fs/fuse/fuse_i.h 		    struct file *file);
file             1082 fs/fuse/fuse_i.h int fuse_readdir(struct file *file, struct dir_context *ctx);
file             1225 fs/fuse/inode.c 	struct file *file;
file             1230 fs/fuse/inode.c 	file = fget(ctx->fd);
file             1231 fs/fuse/inode.c 	if (!file)
file             1238 fs/fuse/inode.c 	if ((file->f_op != &fuse_dev_operations) ||
file             1239 fs/fuse/inode.c 	    (file->f_cred->user_ns != sb->s_user_ns))
file             1241 fs/fuse/inode.c 	ctx->fudptr = &file->private_data;
file             1260 fs/fuse/inode.c 	fput(file);
file             1268 fs/fuse/inode.c 	fput(file);
file               32 fs/fuse/readdir.c static void fuse_add_dirent_to_cache(struct file *file,
file               35 fs/fuse/readdir.c 	struct fuse_inode *fi = get_fuse_inode(file_inode(file));
file               65 fs/fuse/readdir.c 		page = find_lock_page(file->f_mapping, index);
file               67 fs/fuse/readdir.c 		page = find_or_create_page(file->f_mapping, index,
file               68 fs/fuse/readdir.c 					   mapping_gfp_mask(file->f_mapping));
file               92 fs/fuse/readdir.c static void fuse_readdir_cache_end(struct file *file, loff_t pos)
file               94 fs/fuse/readdir.c 	struct fuse_inode *fi = get_fuse_inode(file_inode(file));
file              109 fs/fuse/readdir.c 	truncate_inode_pages(file->f_mapping, end);
file              112 fs/fuse/readdir.c static bool fuse_emit(struct file *file, struct dir_context *ctx,
file              115 fs/fuse/readdir.c 	struct fuse_file *ff = file->private_data;
file              118 fs/fuse/readdir.c 		fuse_add_dirent_to_cache(file, dirent, ctx->pos);
file              124 fs/fuse/readdir.c static int parse_dirfile(char *buf, size_t nbytes, struct file *file,
file              137 fs/fuse/readdir.c 		if (!fuse_emit(file, ctx, dirent))
file              148 fs/fuse/readdir.c static int fuse_direntplus_link(struct file *file,
file              154 fs/fuse/readdir.c 	struct dentry *parent = file->f_path.dentry;
file              252 fs/fuse/readdir.c static void fuse_force_forget(struct file *file, u64 nodeid)
file              254 fs/fuse/readdir.c 	struct inode *inode = file_inode(file);
file              273 fs/fuse/readdir.c static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file,
file              301 fs/fuse/readdir.c 			over = !fuse_emit(file, ctx, dirent);
file              309 fs/fuse/readdir.c 		ret = fuse_direntplus_link(file, direntplus, attr_version);
file              311 fs/fuse/readdir.c 			fuse_force_forget(file, direntplus->entry_out.nodeid);
file              317 fs/fuse/readdir.c static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx)
file              322 fs/fuse/readdir.c 	struct inode *inode = file_inode(file);
file              341 fs/fuse/readdir.c 		fuse_read_args_fill(&ia, file, ctx->pos, PAGE_SIZE,
file              344 fs/fuse/readdir.c 		fuse_read_args_fill(&ia, file, ctx->pos, PAGE_SIZE,
file              352 fs/fuse/readdir.c 			struct fuse_file *ff = file->private_data;
file              355 fs/fuse/readdir.c 				fuse_readdir_cache_end(file, ctx->pos);
file              358 fs/fuse/readdir.c 						file, ctx, attr_version);
file              360 fs/fuse/readdir.c 			res = parse_dirfile(page_address(page), res, file,
file              431 fs/fuse/readdir.c static int fuse_readdir_cached(struct file *file, struct dir_context *ctx)
file              433 fs/fuse/readdir.c 	struct fuse_file *ff = file->private_data;
file              434 fs/fuse/readdir.c 	struct inode *inode = file_inode(file);
file              454 fs/fuse/readdir.c 		int err = fuse_update_attributes(inode, file);
file              514 fs/fuse/readdir.c 	page = find_get_page_flags(file->f_mapping, index,
file              565 fs/fuse/readdir.c int fuse_readdir(struct file *file, struct dir_context *ctx)
file              567 fs/fuse/readdir.c 	struct fuse_file *ff = file->private_data;
file              568 fs/fuse/readdir.c 	struct inode *inode = file_inode(file);
file              578 fs/fuse/readdir.c 		err = fuse_readdir_cached(file, ctx);
file              580 fs/fuse/readdir.c 		err = fuse_readdir_uncached(file, ctx);
file              483 fs/gfs2/aops.c static int __gfs2_readpage(void *file, struct page *page)
file              516 fs/gfs2/aops.c static int gfs2_readpage(struct file *file, struct page *page)
file              531 fs/gfs2/aops.c 		error = __gfs2_readpage(file, page);
file              599 fs/gfs2/aops.c static int gfs2_readpages(struct file *file, struct address_space *mapping,
file             2440 fs/gfs2/bmap.c int __gfs2_punch_hole(struct file *file, loff_t offset, loff_t length)
file             2442 fs/gfs2/bmap.c 	struct inode *inode = file_inode(file);
file             2489 fs/gfs2/bmap.c 	file_update_time(file);
file               63 fs/gfs2/bmap.h extern int __gfs2_punch_hole(struct file *file, loff_t offset, loff_t length);
file               56 fs/gfs2/file.c static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence)
file               58 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file               67 fs/gfs2/file.c 			error = generic_file_llseek(file, offset, whence);
file               73 fs/gfs2/file.c 		error = gfs2_seek_data(file, offset);
file               77 fs/gfs2/file.c 		error = gfs2_seek_hole(file, offset);
file               86 fs/gfs2/file.c 		error = generic_file_llseek(file, offset, whence);
file              103 fs/gfs2/file.c static int gfs2_readdir(struct file *file, struct dir_context *ctx)
file              105 fs/gfs2/file.c 	struct inode *dir = file->f_mapping->host;
file              114 fs/gfs2/file.c 	error = gfs2_dir_read(dir, ctx, &file->f_ra);
file              156 fs/gfs2/file.c static int gfs2_get_flags(struct file *filp, u32 __user *ptr)
file              216 fs/gfs2/file.c static int do_gfs2_set_flags(struct file *filp, u32 reqflags, u32 mask,
file              299 fs/gfs2/file.c static int gfs2_set_flags(struct file *filp, u32 __user *ptr)
file              331 fs/gfs2/file.c static int gfs2_getlabel(struct file *filp, char __user *label)
file              342 fs/gfs2/file.c static long gfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              359 fs/gfs2/file.c static long gfs2_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              395 fs/gfs2/file.c static void gfs2_size_hint(struct file *filep, loff_t offset, size_t size)
file              572 fs/gfs2/file.c static int gfs2_mmap(struct file *file, struct vm_area_struct *vma)
file              574 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file              576 fs/gfs2/file.c 	if (!(file->f_flags & O_NOATIME) &&
file              587 fs/gfs2/file.c 		file_accessed(file);
file              607 fs/gfs2/file.c int gfs2_open_common(struct inode *inode, struct file *file)
file              613 fs/gfs2/file.c 		ret = generic_file_open(inode, file);
file              624 fs/gfs2/file.c 	gfs2_assert_warn(GFS2_SB(inode), !file->private_data);
file              625 fs/gfs2/file.c 	file->private_data = fp;
file              643 fs/gfs2/file.c static int gfs2_open(struct inode *inode, struct file *file)
file              658 fs/gfs2/file.c 	error = gfs2_open_common(inode, file);
file              674 fs/gfs2/file.c static int gfs2_release(struct inode *inode, struct file *file)
file              678 fs/gfs2/file.c 	kfree(file->private_data);
file              679 fs/gfs2/file.c 	file->private_data = NULL;
file              681 fs/gfs2/file.c 	if (!(file->f_mode & FMODE_WRITE))
file              709 fs/gfs2/file.c static int gfs2_fsync(struct file *file, loff_t start, loff_t end,
file              712 fs/gfs2/file.c 	struct address_space *mapping = file->f_mapping;
file              734 fs/gfs2/file.c 			ret = file_write_and_wait(file);
file              741 fs/gfs2/file.c 		ret = file_fdatawait_range(file, start, end);
file              748 fs/gfs2/file.c 	struct file *file = iocb->ki_filp;
file              749 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file              772 fs/gfs2/file.c 	struct file *file = iocb->ki_filp;
file              773 fs/gfs2/file.c 	struct inode *inode = file->f_mapping->host;
file              833 fs/gfs2/file.c 	struct file *file = iocb->ki_filp;
file              834 fs/gfs2/file.c 	struct inode *inode = file_inode(file);
file              842 fs/gfs2/file.c 	gfs2_size_hint(file, iocb->ki_pos, iov_iter_count(from));
file              858 fs/gfs2/file.c 	ret = file_remove_privs(file);
file              862 fs/gfs2/file.c 	ret = file_update_time(file);
file              867 fs/gfs2/file.c 		struct address_space *mapping = file->f_mapping;
file              986 fs/gfs2/file.c static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
file              988 fs/gfs2/file.c 	struct inode *inode = file_inode(file);
file             1013 fs/gfs2/file.c 	gfs2_size_hint(file, offset, len);
file             1087 fs/gfs2/file.c 	file_update_time(file);
file             1090 fs/gfs2/file.c 	if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host))
file             1091 fs/gfs2/file.c 		return vfs_fsync_range(file, pos, pos + count - 1,
file             1092 fs/gfs2/file.c 			       (file->f_flags & __O_SYNC) ? 0 : 1);
file             1102 fs/gfs2/file.c static long gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
file             1104 fs/gfs2/file.c 	struct inode *inode = file_inode(file);
file             1135 fs/gfs2/file.c 		ret = __gfs2_punch_hole(file, offset, len);
file             1141 fs/gfs2/file.c 		ret = __gfs2_fallocate(file, mode, offset, len);
file             1158 fs/gfs2/file.c 				      struct file *out, loff_t *ppos,
file             1184 fs/gfs2/file.c static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl)
file             1186 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file             1187 fs/gfs2/file.c 	struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
file             1202 fs/gfs2/file.c 			locks_lock_file_wait(file, fl);
file             1206 fs/gfs2/file.c 		return dlm_posix_get(ls->ls_dlm, ip->i_no_addr, file, fl);
file             1208 fs/gfs2/file.c 		return dlm_posix_unlock(ls->ls_dlm, ip->i_no_addr, file, fl);
file             1210 fs/gfs2/file.c 		return dlm_posix_lock(ls->ls_dlm, ip->i_no_addr, file, cmd, fl);
file             1213 fs/gfs2/file.c static int do_flock(struct file *file, int cmd, struct file_lock *fl)
file             1215 fs/gfs2/file.c 	struct gfs2_file *fp = file->private_data;
file             1217 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file_inode(file));
file             1236 fs/gfs2/file.c 		locks_lock_file_wait(file, &request);
file             1260 fs/gfs2/file.c 		error = locks_lock_file_wait(file, fl);
file             1269 fs/gfs2/file.c static void do_unflock(struct file *file, struct file_lock *fl)
file             1271 fs/gfs2/file.c 	struct gfs2_file *fp = file->private_data;
file             1275 fs/gfs2/file.c 	locks_lock_file_wait(file, fl);
file             1292 fs/gfs2/file.c static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
file             1300 fs/gfs2/file.c 		do_unflock(file, fl);
file             1303 fs/gfs2/file.c 		return do_flock(file, cmd, fl);
file             2163 fs/gfs2/glock.c static int __gfs2_glocks_open(struct inode *inode, struct file *file,
file             2166 fs/gfs2/glock.c 	int ret = seq_open_private(file, ops, sizeof(struct gfs2_glock_iter));
file             2168 fs/gfs2/glock.c 		struct seq_file *seq = file->private_data;
file             2186 fs/gfs2/glock.c static int gfs2_glocks_open(struct inode *inode, struct file *file)
file             2188 fs/gfs2/glock.c 	return __gfs2_glocks_open(inode, file, &gfs2_glock_seq_ops);
file             2191 fs/gfs2/glock.c static int gfs2_glocks_release(struct inode *inode, struct file *file)
file             2193 fs/gfs2/glock.c 	struct seq_file *seq = file->private_data;
file             2199 fs/gfs2/glock.c 	return seq_release_private(inode, file);
file             2202 fs/gfs2/glock.c static int gfs2_glstats_open(struct inode *inode, struct file *file)
file             2204 fs/gfs2/glock.c 	return __gfs2_glocks_open(inode, file, &gfs2_glstats_seq_ops);
file             2207 fs/gfs2/glock.c static int gfs2_sbstats_open(struct inode *inode, struct file *file)
file             2209 fs/gfs2/glock.c 	int ret = seq_open(file, &gfs2_sbstats_seq_ops);
file             2211 fs/gfs2/glock.c 		struct seq_file *seq = file->private_data;
file              578 fs/gfs2/inode.c 			     struct file *file,
file              624 fs/gfs2/inode.c 		if (file) {
file              626 fs/gfs2/inode.c 				error = finish_open(file, dentry, gfs2_open_common);
file              628 fs/gfs2/inode.c 				error = finish_no_open(file, NULL);
file              768 fs/gfs2/inode.c 	if (file) {
file              769 fs/gfs2/inode.c 		file->f_mode |= FMODE_CREATED;
file              770 fs/gfs2/inode.c 		error = finish_open(file, dentry, gfs2_open_common);
file              836 fs/gfs2/inode.c 				    struct file *file)
file              864 fs/gfs2/inode.c 	if (file && S_ISREG(inode->i_mode))
file              865 fs/gfs2/inode.c 		error = finish_open(file, dentry, gfs2_open_common);
file             1233 fs/gfs2/inode.c 			    struct file *file, unsigned flags,
file             1242 fs/gfs2/inode.c 	d = __gfs2_lookup(dir, dentry, file);
file             1248 fs/gfs2/inode.c 		if (!(file->f_mode & FMODE_OPENED))
file             1249 fs/gfs2/inode.c 			return finish_no_open(file, d);
file             1260 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, file, S_IFREG | mode, 0, NULL, 0, excl);
file             2051 fs/gfs2/inode.c loff_t gfs2_seek_data(struct file *file, loff_t offset)
file             2053 fs/gfs2/inode.c 	struct inode *inode = file->f_mapping->host;
file             2067 fs/gfs2/inode.c 	return vfs_setpos(file, ret, inode->i_sb->s_maxbytes);
file             2070 fs/gfs2/inode.c loff_t gfs2_seek_hole(struct file *file, loff_t offset)
file             2072 fs/gfs2/inode.c 	struct inode *inode = file->f_mapping->host;
file             2086 fs/gfs2/inode.c 	return vfs_setpos(file, ret, inode->i_sb->s_maxbytes);
file              106 fs/gfs2/inode.h extern int gfs2_open_common(struct inode *inode, struct file *file);
file              107 fs/gfs2/inode.h extern loff_t gfs2_seek_data(struct file *file, loff_t offset);
file              108 fs/gfs2/inode.h extern loff_t gfs2_seek_hole(struct file *file, loff_t offset);
file             1393 fs/gfs2/rgrp.c int gfs2_fitrim(struct file *filp, void __user *argp)
file               77 fs/gfs2/rgrp.h extern int gfs2_fitrim(struct file *filp, void __user *argp);
file               89 fs/gfs2/util.c 			   const char *function, char *file, unsigned int line)
file               95 fs/gfs2/util.c 			      assertion, function, file, line);
file              107 fs/gfs2/util.c 		       const char *function, char *file, unsigned int line)
file              116 fs/gfs2/util.c 			assertion, function, file, line);
file              127 fs/gfs2/util.c 		      sdp->sd_fsname, function, file, line);
file              141 fs/gfs2/util.c 		   char *file, unsigned int line)
file              146 fs/gfs2/util.c 			      function, file, line);
file              157 fs/gfs2/util.c 			 const char *function, char *file, unsigned int line)
file              167 fs/gfs2/util.c 			      function, file, line);
file              178 fs/gfs2/util.c 			 const char *function, char *file, unsigned int line)
file              191 fs/gfs2/util.c 			      function, file, line);
file              202 fs/gfs2/util.c 		       const char *type, const char *function, char *file,
file              211 fs/gfs2/util.c 			      function, file, line);
file              223 fs/gfs2/util.c 			   char *file, unsigned int line)
file              231 fs/gfs2/util.c 			      function, file, line);
file              241 fs/gfs2/util.c int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file,
file              248 fs/gfs2/util.c 			      function, file, line);
file              258 fs/gfs2/util.c 			const char *function, char *file, unsigned int line,
file              267 fs/gfs2/util.c 		       function, file, line);
file               40 fs/gfs2/util.h 			   const char *function, char *file, unsigned int line);
file               48 fs/gfs2/util.h 		       const char *function, char *file, unsigned int line);
file               56 fs/gfs2/util.h 		   const char *function, char *file, unsigned int line);
file               63 fs/gfs2/util.h 			 const char *function, char *file, unsigned int line);
file               70 fs/gfs2/util.h 			 const char *function, char *file, unsigned int line);
file               78 fs/gfs2/util.h 		       char *file, unsigned int line);
file               96 fs/gfs2/util.h 			   char *file, unsigned int line);
file              102 fs/gfs2/util.h 					char *file, unsigned int line)
file              109 fs/gfs2/util.h 					  file, line);
file              112 fs/gfs2/util.h 					      file, line);
file              130 fs/gfs2/util.h 		    char *file, unsigned int line);
file              137 fs/gfs2/util.h 			const char *function, char *file, unsigned int line,
file               27 fs/hfs/attr.c  	struct hfs_cat_file *file;
file               42 fs/hfs/attr.c  	file = &rec.file;
file               47 fs/hfs/attr.c  			memcpy(&file->UsrWds.fdType, value, 4);
file               54 fs/hfs/attr.c  			memcpy(&file->UsrWds.fdCreator, value, 4);
file               73 fs/hfs/attr.c  	struct hfs_cat_file *file;
file               90 fs/hfs/attr.c  	file = &rec.file;
file               95 fs/hfs/attr.c  			memcpy(value, &file->UsrWds.fdType, 4);
file              103 fs/hfs/attr.c  			memcpy(value, &file->UsrWds.fdCreator, 4);
file               52 fs/hfs/catalog.c 		rec->file.Flags = HFS_FIL_USED | HFS_FIL_THD;
file               54 fs/hfs/catalog.c 			rec->file.Flags |= HFS_FIL_LOCK;
file               55 fs/hfs/catalog.c 		rec->file.FlNum = cpu_to_be32(cnid);
file               56 fs/hfs/catalog.c 		rec->file.CrDat = mtime;
file               57 fs/hfs/catalog.c 		rec->file.MdDat = mtime;
file               58 fs/hfs/catalog.c 		rec->file.BkDat = 0;
file               59 fs/hfs/catalog.c 		rec->file.UsrWds.fdType = HFS_SB(inode->i_sb)->s_type;
file               60 fs/hfs/catalog.c 		rec->file.UsrWds.fdCreator = HFS_SB(inode->i_sb)->s_creator;
file              241 fs/hfs/catalog.c 		struct hfs_cat_file file;
file              242 fs/hfs/catalog.c 		hfs_bnode_read(fd.bnode, &file, fd.entryoffset, sizeof(file));
file              243 fs/hfs/catalog.c 		if (be32_to_cpu(file.FlNum) == cnid) {
file              245 fs/hfs/catalog.c 			hfs_free_fork(sb, &file, HFS_FK_DATA);
file              247 fs/hfs/catalog.c 			hfs_free_fork(sb, &file, HFS_FK_RSRC);
file              255 fs/hfs/catalog.c 			rd->file->f_pos--;
file              356 fs/hfs/catalog.c 	if (type == HFS_CDR_FIL && !(entry.file.Flags & HFS_FIL_THD))
file               48 fs/hfs/dir.c   static int hfs_readdir(struct file *file, struct dir_context *ctx)
file               50 fs/hfs/dir.c   	struct inode *inode = file_inode(file);
file               72 fs/hfs/dir.c   		if (!dir_emit_dot(file, ctx))
file              135 fs/hfs/dir.c   				    be32_to_cpu(entry.file.FlNum), DT_REG))
file              149 fs/hfs/dir.c   	rd = file->private_data;
file              156 fs/hfs/dir.c   		file->private_data = rd;
file              157 fs/hfs/dir.c   		rd->file = file;
file              172 fs/hfs/dir.c   static int hfs_dir_release(struct inode *inode, struct file *file)
file              174 fs/hfs/dir.c   	struct hfs_readdir_data *rd = file->private_data;
file              287 fs/hfs/extent.c int hfs_free_fork(struct super_block *sb, struct hfs_cat_file *file, int type)
file              291 fs/hfs/extent.c 	u32 cnid = be32_to_cpu(file->FlNum);
file              296 fs/hfs/extent.c 		total_blocks = be32_to_cpu(file->PyLen);
file              297 fs/hfs/extent.c 		extent = file->ExtRec;
file              299 fs/hfs/extent.c 		total_blocks = be32_to_cpu(file->RPyLen);
file              300 fs/hfs/extent.c 		extent = file->RExtRec;
file              138 fs/hfs/hfs.h   	} file;
file              235 fs/hfs/hfs.h   	struct hfs_cat_file file;
file              285 fs/hfs/hfs.h   	struct file *file;
file               36 fs/hfs/inode.c static int hfs_readpage(struct file *file, struct page *page)
file               51 fs/hfs/inode.c static int hfs_write_begin(struct file *file, struct address_space *mapping,
file               58 fs/hfs/inode.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file              131 fs/hfs/inode.c 	struct file *file = iocb->ki_filp;
file              132 fs/hfs/inode.c 	struct address_space *mapping = file->f_mapping;
file              303 fs/hfs/inode.c 		return inode->i_ino == be32_to_cpu(rec->file.FlNum);
file              340 fs/hfs/inode.c 			hfs_inode_read_fork(inode, rec->file.ExtRec, rec->file.LgLen,
file              341 fs/hfs/inode.c 					    rec->file.PyLen, be16_to_cpu(rec->file.ClpSize));
file              343 fs/hfs/inode.c 			hfs_inode_read_fork(inode, rec->file.RExtRec, rec->file.RLgLen,
file              344 fs/hfs/inode.c 					    rec->file.RPyLen, be16_to_cpu(rec->file.ClpSize));
file              347 fs/hfs/inode.c 		inode->i_ino = be32_to_cpu(rec->file.FlNum);
file              349 fs/hfs/inode.c 		if (!(rec->file.Flags & HFS_FIL_LOCK))
file              354 fs/hfs/inode.c 				timespec_to_timespec64(hfs_m_to_utime(rec->file.MdDat));
file              395 fs/hfs/inode.c 		cnid = be32_to_cpu(rec->file.FlNum);
file              478 fs/hfs/inode.c 		hfs_inode_write_fork(inode, rec.file.RExtRec,
file              479 fs/hfs/inode.c 				     &rec.file.RLgLen, &rec.file.RPyLen);
file              488 fs/hfs/inode.c 		    be32_to_cpu(rec.file.FlNum) != inode->i_ino) {
file              492 fs/hfs/inode.c 			rec.file.Flags &= ~HFS_FIL_LOCK;
file              494 fs/hfs/inode.c 			rec.file.Flags |= HFS_FIL_LOCK;
file              495 fs/hfs/inode.c 		hfs_inode_write_fork(inode, rec.file.ExtRec, &rec.file.LgLen, &rec.file.PyLen);
file              496 fs/hfs/inode.c 		rec.file.MdDat = hfs_u_to_mtime(inode->i_mtime);
file              561 fs/hfs/inode.c static int hfs_file_open(struct inode *inode, struct file *file)
file              569 fs/hfs/inode.c static int hfs_file_release(struct inode *inode, struct file *file)
file              654 fs/hfs/inode.c static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
file              130 fs/hfsplus/catalog.c 		struct hfsplus_cat_file *file;
file              132 fs/hfsplus/catalog.c 		file = &entry->file;
file              133 fs/hfsplus/catalog.c 		memset(file, 0, sizeof(*file));
file              134 fs/hfsplus/catalog.c 		file->type = cpu_to_be16(HFSPLUS_FILE);
file              135 fs/hfsplus/catalog.c 		file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
file              136 fs/hfsplus/catalog.c 		file->id = cpu_to_be32(cnid);
file              138 fs/hfsplus/catalog.c 			file->create_date =
file              139 fs/hfsplus/catalog.c 			file->content_mod_date =
file              140 fs/hfsplus/catalog.c 			file->attribute_mod_date =
file              141 fs/hfsplus/catalog.c 			file->access_date = hfsp_now2mt();
file              143 fs/hfsplus/catalog.c 			hfsplus_cat_set_perms(inode, &file->permissions);
file              145 fs/hfsplus/catalog.c 				file->user_info.fdType =
file              147 fs/hfsplus/catalog.c 				file->user_info.fdCreator =
file              150 fs/hfsplus/catalog.c 				file->user_info.fdType =
file              152 fs/hfsplus/catalog.c 				file->user_info.fdCreator =
file              156 fs/hfsplus/catalog.c 					(file->permissions.rootflags |
file              157 fs/hfsplus/catalog.c 					file->permissions.userflags))
file              158 fs/hfsplus/catalog.c 				file->flags |=
file              161 fs/hfsplus/catalog.c 			file->user_info.fdType =
file              163 fs/hfsplus/catalog.c 			file->user_info.fdCreator =
file              165 fs/hfsplus/catalog.c 			file->user_info.fdFlags =
file              167 fs/hfsplus/catalog.c 			file->create_date =
file              169 fs/hfsplus/catalog.c 			file->permissions.dev =
file              172 fs/hfsplus/catalog.c 		return sizeof(*file);
file              400 fs/hfsplus/catalog.c 			rd->file->f_pos--;
file               75 fs/hfsplus/dir.c 		cnid = be32_to_cpu(entry.file.id);
file               76 fs/hfsplus/dir.c 		if (entry.file.user_info.fdType ==
file               78 fs/hfsplus/dir.c 				entry.file.user_info.fdCreator ==
file               81 fs/hfsplus/dir.c 				(entry.file.create_date ==
file               84 fs/hfsplus/dir.c 				entry.file.create_date ==
file              100 fs/hfsplus/dir.c 					be32_to_cpu(entry.file.permissions.dev);
file              130 fs/hfsplus/dir.c static int hfsplus_readdir(struct file *file, struct dir_context *ctx)
file              132 fs/hfsplus/dir.c 	struct inode *inode = file_inode(file);
file              141 fs/hfsplus/dir.c 	if (file->f_pos >= inode->i_size)
file              159 fs/hfsplus/dir.c 		if (!dir_emit_dot(file, ctx))
file              234 fs/hfsplus/dir.c 			mode = be16_to_cpu(entry.file.permissions.mode);
file              249 fs/hfsplus/dir.c 				      be32_to_cpu(entry.file.id), type))
file              264 fs/hfsplus/dir.c 	rd = file->private_data;
file              271 fs/hfsplus/dir.c 		file->private_data = rd;
file              272 fs/hfsplus/dir.c 		rd->file = file;
file              288 fs/hfsplus/dir.c static int hfsplus_dir_release(struct inode *inode, struct file *file)
file              290 fs/hfsplus/dir.c 	struct hfsplus_readdir_data *rd = file->private_data;
file              298 fs/hfsplus/hfsplus_fs.h 	struct file *file;
file              493 fs/hfsplus/hfsplus_fs.h int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end,
file              497 fs/hfsplus/hfsplus_fs.h long hfsplus_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file              328 fs/hfsplus/hfsplus_raw.h 	struct hfsplus_cat_file file;
file               25 fs/hfsplus/inode.c static int hfsplus_readpage(struct file *file, struct page *page)
file               45 fs/hfsplus/inode.c static int hfsplus_write_begin(struct file *file, struct address_space *mapping,
file               52 fs/hfsplus/inode.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file              128 fs/hfsplus/inode.c 	struct file *file = iocb->ki_filp;
file              129 fs/hfsplus/inode.c 	struct address_space *mapping = file->f_mapping;
file              215 fs/hfsplus/inode.c static int hfsplus_file_open(struct inode *inode, struct file *file)
file              219 fs/hfsplus/inode.c 	if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS)
file              225 fs/hfsplus/inode.c static int hfsplus_file_release(struct inode *inode, struct file *file)
file              293 fs/hfsplus/inode.c int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end,
file              296 fs/hfsplus/inode.c 	struct inode *inode = file->f_mapping->host;
file              301 fs/hfsplus/inode.c 	error = file_write_and_wait_range(file, start, end);
file              519 fs/hfsplus/inode.c 		struct hfsplus_cat_file *file = &entry.file;
file              527 fs/hfsplus/inode.c 					&file->rsrc_fork : &file->data_fork);
file              528 fs/hfsplus/inode.c 		hfsplus_get_perms(inode, &file->permissions, 0);
file              531 fs/hfsplus/inode.c 			if (file->permissions.dev)
file              533 fs/hfsplus/inode.c 					  be32_to_cpu(file->permissions.dev));
file              543 fs/hfsplus/inode.c 					   be32_to_cpu(file->permissions.dev));
file              545 fs/hfsplus/inode.c 		inode->i_atime = timespec_to_timespec64(hfsp_mt2ut(file->access_date));
file              546 fs/hfsplus/inode.c 		inode->i_mtime = timespec_to_timespec64(hfsp_mt2ut(file->content_mod_date));
file              547 fs/hfsplus/inode.c 		inode->i_ctime = timespec_to_timespec64(hfsp_mt2ut(file->attribute_mod_date));
file              548 fs/hfsplus/inode.c 		HFSPLUS_I(inode)->create_date = file->create_date;
file              596 fs/hfsplus/inode.c 		struct hfsplus_cat_file *file = &entry.file;
file              599 fs/hfsplus/inode.c 		hfsplus_inode_write_fork(inode, &file->rsrc_fork);
file              603 fs/hfsplus/inode.c 		struct hfsplus_cat_file *file = &entry.file;
file              609 fs/hfsplus/inode.c 		hfsplus_inode_write_fork(inode, &file->data_fork);
file              610 fs/hfsplus/inode.c 		hfsplus_cat_set_perms(inode, &file->permissions);
file              612 fs/hfsplus/inode.c 				(file->permissions.rootflags |
file              613 fs/hfsplus/inode.c 					file->permissions.userflags))
file              614 fs/hfsplus/inode.c 			file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
file              616 fs/hfsplus/inode.c 			file->flags &= cpu_to_be16(~HFSPLUS_FILE_LOCKED);
file              617 fs/hfsplus/inode.c 		file->access_date = hfsp_ut2mt(inode->i_atime);
file              618 fs/hfsplus/inode.c 		file->content_mod_date = hfsp_ut2mt(inode->i_mtime);
file              619 fs/hfsplus/inode.c 		file->attribute_mod_date = hfsp_ut2mt(inode->i_ctime);
file               27 fs/hfsplus/ioctl.c static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags)
file               29 fs/hfsplus/ioctl.c 	struct dentry *dentry = file->f_path.dentry;
file               74 fs/hfsplus/ioctl.c static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags)
file               76 fs/hfsplus/ioctl.c 	struct inode *inode = file_inode(file);
file               82 fs/hfsplus/ioctl.c static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
file               84 fs/hfsplus/ioctl.c 	struct inode *inode = file_inode(file);
file               90 fs/hfsplus/ioctl.c 	err = mnt_want_write_file(file);
file              135 fs/hfsplus/ioctl.c 	mnt_drop_write_file(file);
file              140 fs/hfsplus/ioctl.c long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              146 fs/hfsplus/ioctl.c 		return hfsplus_ioctl_getflags(file, argp);
file              148 fs/hfsplus/ioctl.c 		return hfsplus_ioctl_setflags(file, argp);
file              150 fs/hfsplus/ioctl.c 		return hfsplus_ioctl_bless(file, argp);
file              313 fs/hfsplus/xattr.c 				memcpy(&entry.file.user_info, value,
file               83 fs/hostfs/hostfs.h extern int set_attr(const char *file, struct hostfs_iattr *attrs, int fd);
file               85 fs/hostfs/hostfs.h extern int unlink_file(const char *file);
file               86 fs/hostfs/hostfs.h extern int do_mkdir(const char *file, int mode);
file               87 fs/hostfs/hostfs.h extern int hostfs_do_rmdir(const char *file);
file               88 fs/hostfs/hostfs.h extern int do_mknod(const char *file, int mode, unsigned int major,
file               91 fs/hostfs/hostfs.h extern int hostfs_do_readlink(char *file, char *buf, int size);
file               35 fs/hostfs/hostfs_kern.c #define FILE_HOSTFS_I(file) HOSTFS_I(file_inode(file))
file              273 fs/hostfs/hostfs_kern.c static int hostfs_readdir(struct file *file, struct dir_context *ctx)
file              281 fs/hostfs/hostfs_kern.c 	name = dentry_name(file->f_path.dentry);
file              299 fs/hostfs/hostfs_kern.c static int hostfs_open(struct inode *ino, struct file *file)
file              306 fs/hostfs/hostfs_kern.c 	mode = file->f_mode & (FMODE_READ | FMODE_WRITE);
file              320 fs/hostfs/hostfs_kern.c 	name = dentry_name(file->f_path.dentry);
file              358 fs/hostfs/hostfs_kern.c static int hostfs_file_release(struct inode *inode, struct file *file)
file              365 fs/hostfs/hostfs_kern.c static int hostfs_fsync(struct file *file, loff_t start, loff_t end,
file              368 fs/hostfs/hostfs_kern.c 	struct inode *inode = file->f_mapping->host;
file              371 fs/hostfs/hostfs_kern.c 	ret = file_write_and_wait_range(file, start, end);
file              436 fs/hostfs/hostfs_kern.c static int hostfs_readpage(struct file *file, struct page *page)
file              443 fs/hostfs/hostfs_kern.c 	bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer,
file              464 fs/hostfs/hostfs_kern.c static int hostfs_write_begin(struct file *file, struct address_space *mapping,
file              476 fs/hostfs/hostfs_kern.c static int hostfs_write_end(struct file *file, struct address_space *mapping,
file              486 fs/hostfs/hostfs_kern.c 	err = write_file(FILE_HOSTFS_I(file)->fd, &pos, buffer + from, copied);
file              645 fs/hostfs/hostfs_kern.c 	char *file;
file              651 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
file              654 fs/hostfs/hostfs_kern.c 	err = unlink_file(file);
file              655 fs/hostfs/hostfs_kern.c 	__putname(file);
file              662 fs/hostfs/hostfs_kern.c 	char *file;
file              665 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
file              667 fs/hostfs/hostfs_kern.c 	err = make_symlink(file, to);
file              668 fs/hostfs/hostfs_kern.c 	__putname(file);
file              674 fs/hostfs/hostfs_kern.c 	char *file;
file              677 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
file              679 fs/hostfs/hostfs_kern.c 	err = do_mkdir(file, mode);
file              680 fs/hostfs/hostfs_kern.c 	__putname(file);
file              686 fs/hostfs/hostfs_kern.c 	char *file;
file              689 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
file              691 fs/hostfs/hostfs_kern.c 	err = hostfs_do_rmdir(file);
file              692 fs/hostfs/hostfs_kern.c 	__putname(file);
file              194 fs/hostfs/hostfs_user.c int set_attr(const char *file, struct hostfs_iattr *attrs, int fd)
file              204 fs/hostfs/hostfs_user.c 		} else if (chmod(file, attrs->ia_mode) != 0) {
file              212 fs/hostfs/hostfs_user.c 		} else if (chown(file, attrs->ia_uid, -1)) {
file              220 fs/hostfs/hostfs_user.c 		} else if (chown(file, -1, attrs->ia_gid)) {
file              228 fs/hostfs/hostfs_user.c 		} else if (truncate(file, attrs->ia_size)) {
file              240 fs/hostfs/hostfs_user.c 		err = stat_file(file, &st, fd);
file              261 fs/hostfs/hostfs_user.c 		} else if (utimes(file, times) != 0) {
file              268 fs/hostfs/hostfs_user.c 		err = stat_file(file, &st, fd);
file              287 fs/hostfs/hostfs_user.c int unlink_file(const char *file)
file              291 fs/hostfs/hostfs_user.c 	err = unlink(file);
file              297 fs/hostfs/hostfs_user.c int do_mkdir(const char *file, int mode)
file              301 fs/hostfs/hostfs_user.c 	err = mkdir(file, mode);
file              307 fs/hostfs/hostfs_user.c int hostfs_do_rmdir(const char *file)
file              311 fs/hostfs/hostfs_user.c 	err = rmdir(file);
file              317 fs/hostfs/hostfs_user.c int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor)
file              321 fs/hostfs/hostfs_user.c 	err = mknod(file, mode, os_makedev(major, minor));
file              337 fs/hostfs/hostfs_user.c int hostfs_do_readlink(char *file, char *buf, int size)
file              341 fs/hostfs/hostfs_user.c 	n = readlink(file, buf, size);
file               13 fs/hpfs/dir.c  static int hpfs_dir_release(struct inode *inode, struct file *filp)
file               24 fs/hpfs/dir.c  static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence)
file               65 fs/hpfs/dir.c  static int hpfs_readdir(struct file *file, struct dir_context *ctx)
file               67 fs/hpfs/dir.c  	struct inode *inode = file_inode(file);
file              139 fs/hpfs/dir.c  			if (!dir_emit_dot(file, ctx))
file              149 fs/hpfs/dir.c  			ret = hpfs_add_pos(inode, &file->f_pos);
file               15 fs/hpfs/file.c static int hpfs_file_release(struct inode *inode, struct file *file)
file               23 fs/hpfs/file.c int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file               25 fs/hpfs/file.c 	struct inode *inode = file->f_mapping->host;
file               28 fs/hpfs/file.c 	ret = file_write_and_wait_range(file, start, end);
file              118 fs/hpfs/file.c static int hpfs_readpage(struct file *file, struct page *page)
file              128 fs/hpfs/file.c static int hpfs_readpages(struct file *file, struct address_space *mapping,
file              154 fs/hpfs/file.c static int hpfs_write_begin(struct file *file, struct address_space *mapping,
file              161 fs/hpfs/file.c 	ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file              170 fs/hpfs/file.c static int hpfs_write_end(struct file *file, struct address_space *mapping,
file              176 fs/hpfs/file.c 	err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
file              271 fs/hpfs/hpfs_fn.h int hpfs_file_fsync(struct file *, loff_t, loff_t, int);
file              331 fs/hpfs/hpfs_fn.h long hpfs_ioctl(struct file *file, unsigned cmd, unsigned long arg);
file              478 fs/hpfs/namei.c static int hpfs_symlink_readpage(struct file *file, struct page *page)
file              205 fs/hpfs/super.c long hpfs_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file              216 fs/hpfs/super.c 			r = hpfs_trim_fs(file_inode(file)->i_sb, range.start >> 9, (range.start + range.len) >> 9, (range.minlen + 511) >> 9, &n_trimmed);
file              135 fs/hugetlbfs/inode.c static int hugetlbfs_file_mmap(struct file *file, struct vm_area_struct *vma)
file              137 fs/hugetlbfs/inode.c 	struct inode *inode = file_inode(file);
file              140 fs/hugetlbfs/inode.c 	struct hstate *h = hstate_file(file);
file              175 fs/hugetlbfs/inode.c 	file_accessed(file);
file              199 fs/hugetlbfs/inode.c hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              204 fs/hugetlbfs/inode.c 	struct hstate *h = hstate_file(file);
file              213 fs/hugetlbfs/inode.c 		if (prepare_hugepage_range(file, addr, len))
file              272 fs/hugetlbfs/inode.c 	struct file *file = iocb->ki_filp;
file              273 fs/hugetlbfs/inode.c 	struct hstate *h = hstate_file(file);
file              274 fs/hugetlbfs/inode.c 	struct address_space *mapping = file->f_mapping;
file              332 fs/hugetlbfs/inode.c static int hugetlbfs_write_begin(struct file *file,
file              340 fs/hugetlbfs/inode.c static int hugetlbfs_write_end(struct file *file, struct address_space *mapping,
file              570 fs/hugetlbfs/inode.c static long hugetlbfs_fallocate(struct file *file, int mode, loff_t offset,
file              573 fs/hugetlbfs/inode.c 	struct inode *inode = file_inode(file);
file              618 fs/hugetlbfs/inode.c 	pseudo_vma.vm_file = file;
file             1367 fs/hugetlbfs/inode.c struct file *hugetlb_file_setup(const char *name, size_t size,
file             1374 fs/hugetlbfs/inode.c 	struct file *file;
file             1398 fs/hugetlbfs/inode.c 	file = ERR_PTR(-ENOSPC);
file             1411 fs/hugetlbfs/inode.c 		file = ERR_PTR(-ENOMEM);
file             1413 fs/hugetlbfs/inode.c 		file = alloc_file_pseudo(inode, mnt, name, O_RDWR,
file             1415 fs/hugetlbfs/inode.c 	if (!IS_ERR(file))
file             1416 fs/hugetlbfs/inode.c 		return file;
file             1424 fs/hugetlbfs/inode.c 	return file;
file              118 fs/inode.c     static int no_open(struct inode *inode, struct file *file)
file             1837 fs/inode.c     int file_remove_privs(struct file *file)
file             1839 fs/inode.c     	struct dentry *dentry = file_dentry(file);
file             1840 fs/inode.c     	struct inode *inode = file_inode(file);
file             1878 fs/inode.c     int file_update_time(struct file *file)
file             1880 fs/inode.c     	struct inode *inode = file_inode(file);
file             1903 fs/inode.c     	if (__mnt_want_write_file(file))
file             1907 fs/inode.c     	__mnt_drop_write_file(file);
file             1914 fs/inode.c     int file_modified(struct file *file)
file             1922 fs/inode.c     	err = file_remove_privs(file);
file             1926 fs/inode.c     	if (unlikely(file->f_mode & FMODE_NOCMTIME))
file             1929 fs/inode.c     	return file_update_time(file);
file               90 fs/internal.h  extern int __mnt_want_write_file(struct file *);
file               91 fs/internal.h  extern void __mnt_drop_write_file(struct file *);
file              102 fs/internal.h  extern struct file *alloc_empty_file(int, const struct cred *);
file              103 fs/internal.h  extern struct file *alloc_empty_file_noaccount(int, const struct cred *);
file              123 fs/internal.h  extern struct file *do_filp_open(int dfd, struct filename *pathname,
file              125 fs/internal.h  extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
file              134 fs/internal.h  extern int vfs_open(const struct path *, struct file *);
file              166 fs/internal.h  extern int rw_verify_area(int, struct file *, const loff_t *, size_t);
file              187 fs/internal.h  extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd,
file              171 fs/io_uring.c  	struct file		*file;
file              234 fs/io_uring.c  	struct file		**user_files;
file              286 fs/io_uring.c  	struct file			*file;
file              295 fs/io_uring.c  	struct file			*file;
file              307 fs/io_uring.c  		struct file		*file;
file              360 fs/io_uring.c  	struct file		*file;
file              376 fs/io_uring.c  struct sock *io_uring_get_socket(struct file *file)
file              379 fs/io_uring.c  	if (file->f_op == &io_uring_fops) {
file              380 fs/io_uring.c  		struct io_ring_ctx *ctx = file->private_data;
file              653 fs/io_uring.c  	req->file = NULL;
file              677 fs/io_uring.c  	if (req->file && !(req->flags & REQ_F_FIXED_FILE))
file              678 fs/io_uring.c  		fput(req->file);
file              948 fs/io_uring.c  		struct inode *inode = file_inode(req->file);
file              952 fs/io_uring.c  	file_end_write(req->file);
file             1020 fs/io_uring.c  	if (state->file) {
file             1024 fs/io_uring.c  			fput_many(state->file, diff);
file             1025 fs/io_uring.c  		state->file = NULL;
file             1034 fs/io_uring.c  static struct file *io_file_get(struct io_submit_state *state, int fd)
file             1039 fs/io_uring.c  	if (state->file) {
file             1043 fs/io_uring.c  			return state->file;
file             1047 fs/io_uring.c  	state->file = fget_many(fd, state->ios_left);
file             1048 fs/io_uring.c  	if (!state->file)
file             1055 fs/io_uring.c  	return state->file;
file             1063 fs/io_uring.c  static bool io_file_supports_async(struct file *file)
file             1065 fs/io_uring.c  	umode_t mode = file_inode(file)->i_mode;
file             1069 fs/io_uring.c  	if (S_ISREG(mode) && file->f_op != &io_uring_fops)
file             1084 fs/io_uring.c  	if (!req->file)
file             1087 fs/io_uring.c  	if (S_ISREG(file_inode(req->file)->i_mode))
file             1097 fs/io_uring.c  	if (force_nonblock && !io_file_supports_async(req->file)) {
file             1122 fs/io_uring.c  	    (req->file->f_flags & O_NONBLOCK))
file             1278 fs/io_uring.c  	if (al->file == kiocb->ki_filp) {
file             1294 fs/io_uring.c  	al->file = NULL;
file             1308 fs/io_uring.c  	struct file *filp = kiocb->ki_filp;
file             1323 fs/io_uring.c  			async_list->file = NULL;
file             1328 fs/io_uring.c  	if (async_list->file != filp) {
file             1331 fs/io_uring.c  		async_list->file = filp;
file             1339 fs/io_uring.c  static ssize_t loop_rw_iter(int rw, struct file *file, struct kiocb *kiocb,
file             1369 fs/io_uring.c  			nr = file->f_op->read(file, iovec.iov_base,
file             1372 fs/io_uring.c  			nr = file->f_op->write(file, iovec.iov_base,
file             1399 fs/io_uring.c  	struct file *file;
file             1406 fs/io_uring.c  	file = kiocb->ki_filp;
file             1408 fs/io_uring.c  	if (unlikely(!(file->f_mode & FMODE_READ)))
file             1420 fs/io_uring.c  	ret = rw_verify_area(READ, file, &kiocb->ki_pos, iov_count);
file             1424 fs/io_uring.c  		if (file->f_op->read_iter)
file             1425 fs/io_uring.c  			ret2 = call_read_iter(file, kiocb, &iter);
file             1427 fs/io_uring.c  			ret2 = loop_rw_iter(READ, file, kiocb, &iter);
file             1464 fs/io_uring.c  	struct file *file;
file             1472 fs/io_uring.c  	file = kiocb->ki_filp;
file             1473 fs/io_uring.c  	if (unlikely(!(file->f_mode & FMODE_WRITE)))
file             1493 fs/io_uring.c  	ret = rw_verify_area(WRITE, file, &kiocb->ki_pos, iov_count);
file             1505 fs/io_uring.c  			__sb_start_write(file_inode(file)->i_sb,
file             1507 fs/io_uring.c  			__sb_writers_release(file_inode(file)->i_sb,
file             1515 fs/io_uring.c  		if (file->f_op->write_iter)
file             1516 fs/io_uring.c  			ret2 = call_write_iter(file, kiocb, &iter);
file             1518 fs/io_uring.c  			ret2 = loop_rw_iter(WRITE, file, kiocb, &iter);
file             1560 fs/io_uring.c  	if (!req->file)
file             1608 fs/io_uring.c  	if (!req->file)
file             1661 fs/io_uring.c  	sock = sock_from_file(req->file, &ret);
file             1801 fs/io_uring.c  		mask = vfs_poll(poll->file, &pt) & poll->events;
file             1862 fs/io_uring.c  static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head,
file             1890 fs/io_uring.c  	if (!poll->file)
file             1913 fs/io_uring.c  	mask = vfs_poll(poll->file, &ipt.pt) & poll->events;
file             2397 fs/io_uring.c  		req->file = ctx->user_files[fd];
file             2402 fs/io_uring.c  		req->file = io_file_get(state, fd);
file             2403 fs/io_uring.c  		if (unlikely(!req->file))
file             2619 fs/io_uring.c  	state->file = NULL;
file             3190 fs/io_uring.c  	ctx->user_files = kcalloc(nr_args, sizeof(struct file *), GFP_KERNEL);
file             3633 fs/io_uring.c  		ctx->ring_sock->file = NULL; /* so that iput() is called */
file             3651 fs/io_uring.c  static __poll_t io_uring_poll(struct file *file, poll_table *wait)
file             3653 fs/io_uring.c  	struct io_ring_ctx *ctx = file->private_data;
file             3656 fs/io_uring.c  	poll_wait(file, &ctx->cq_wait, wait);
file             3671 fs/io_uring.c  static int io_uring_fasync(int fd, struct file *file, int on)
file             3673 fs/io_uring.c  	struct io_ring_ctx *ctx = file->private_data;
file             3675 fs/io_uring.c  	return fasync_helper(fd, file, on, &ctx->cq_fasync);
file             3691 fs/io_uring.c  static int io_uring_release(struct inode *inode, struct file *file)
file             3693 fs/io_uring.c  	struct io_ring_ctx *ctx = file->private_data;
file             3695 fs/io_uring.c  	file->private_data = NULL;
file             3700 fs/io_uring.c  static int io_uring_mmap(struct file *file, struct vm_area_struct *vma)
file             3704 fs/io_uring.c  	struct io_ring_ctx *ctx = file->private_data;
file             3742 fs/io_uring.c  	if (!f.file)
file             3746 fs/io_uring.c  	if (f.file->f_op != &io_uring_fops)
file             3750 fs/io_uring.c  	ctx = f.file->private_data;
file             3850 fs/io_uring.c  	struct file *file;
file             3864 fs/io_uring.c  	file = anon_inode_getfile("[io_uring]", &io_uring_fops, ctx,
file             3866 fs/io_uring.c  	if (IS_ERR(file)) {
file             3868 fs/io_uring.c  		ret = PTR_ERR(file);
file             3873 fs/io_uring.c  	ctx->ring_sock->file = file;
file             3876 fs/io_uring.c  	fd_install(ret, file);
file             4091 fs/io_uring.c  	if (!f.file)
file             4095 fs/io_uring.c  	if (f.file->f_op != &io_uring_fops)
file             4098 fs/io_uring.c  	ctx = f.file->private_data;
file               40 fs/ioctl.c     long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               55 fs/ioctl.c     static int ioctl_fibmap(struct file *filp, int __user *p)
file              178 fs/ioctl.c     static int ioctl_fiemap(struct file *filp, unsigned long arg)
file              223 fs/ioctl.c     static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd,
file              230 fs/ioctl.c     	if (!src_file.file)
file              233 fs/ioctl.c     	if (src_file.file->f_path.mnt != dst_file->f_path.mnt)
file              235 fs/ioctl.c     	cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff,
file              248 fs/ioctl.c     static long ioctl_file_clone_range(struct file *file, void __user *argp)
file              254 fs/ioctl.c     	return ioctl_file_clone(file, args.src_fd, args.src_offset,
file              470 fs/ioctl.c     int ioctl_preallocate(struct file *filp, void __user *argp)
file              494 fs/ioctl.c     static int file_ioctl(struct file *filp, unsigned int cmd,
file              513 fs/ioctl.c     static int ioctl_fionbio(struct file *filp, int __user *argp)
file              536 fs/ioctl.c     static int ioctl_fioasync(unsigned int fd, struct file *filp,
file              558 fs/ioctl.c     static int ioctl_fsfreeze(struct file *filp)
file              575 fs/ioctl.c     static int ioctl_fsthaw(struct file *filp)
file              588 fs/ioctl.c     static int ioctl_file_dedupe_range(struct file *file, void __user *arg)
file              615 fs/ioctl.c     	ret = vfs_dedupe_file_range(file, same);
file              635 fs/ioctl.c     int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd,
file              710 fs/ioctl.c     	if (!f.file)
file              712 fs/ioctl.c     	error = security_file_ioctl(f.file, cmd, arg);
file              714 fs/ioctl.c     		error = do_vfs_ioctl(f.file, fd, cmd, arg);
file              748 fs/ioctl.c     long compat_ptr_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              750 fs/ioctl.c     	if (!file->f_op->unlocked_ioctl)
file              753 fs/ioctl.c     	return file->f_op->unlocked_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              135 fs/iomap/swapfile.c 		struct file *swap_file, sector_t *pagespan,
file              299 fs/isofs/compress.c static int zisofs_readpage(struct file *file, struct page *page)
file              301 fs/isofs/compress.c 	struct inode *inode = file_inode(file);
file               82 fs/isofs/dir.c static int do_isofs_readdir(struct inode *inode, struct file *file,
file              175 fs/isofs/dir.c 			if (!dir_emit_dot(file, ctx))
file              185 fs/isofs/dir.c 			if (!dir_emit_dotdot(file, ctx))
file              250 fs/isofs/dir.c static int isofs_readdir(struct file *file, struct dir_context *ctx)
file              255 fs/isofs/dir.c 	struct inode *inode = file_inode(file);
file              263 fs/isofs/dir.c 	result = do_isofs_readdir(inode, file, ctx, tmpname, tmpde);
file             1183 fs/isofs/inode.c static int isofs_readpage(struct file *file, struct page *page)
file             1188 fs/isofs/inode.c static int isofs_readpages(struct file *file, struct address_space *mapping,
file              693 fs/isofs/rock.c static int rock_ridge_symlink_readpage(struct file *file, struct page *page)
file              103 fs/jbd2/journal.c void __jbd2_debug(int level, const char *file, const char *func,
file              114 fs/jbd2/journal.c 	printk(KERN_DEBUG "%s: (%s, %u): %pV", file, func, line, &vaf);
file             1036 fs/jbd2/journal.c static int jbd2_seq_info_open(struct inode *inode, struct file *file)
file             1056 fs/jbd2/journal.c 	rc = seq_open(file, &jbd2_seq_info_ops);
file             1058 fs/jbd2/journal.c 		struct seq_file *m = file->private_data;
file             1068 fs/jbd2/journal.c static int jbd2_seq_info_release(struct inode *inode, struct file *file)
file             1070 fs/jbd2/journal.c 	struct seq_file *seq = file->private_data;
file             1074 fs/jbd2/journal.c 	return seq_release(inode, file);
file               25 fs/jffs2/dir.c static int jffs2_readdir (struct file *, struct dir_context *);
file              120 fs/jffs2/dir.c static int jffs2_readdir(struct file *file, struct dir_context *ctx)
file              122 fs/jffs2/dir.c 	struct inode *inode = file_inode(file);
file              129 fs/jffs2/dir.c 	if (!dir_emit_dots(file, ctx))
file               24 fs/jffs2/file.c static int jffs2_write_end(struct file *filp, struct address_space *mapping,
file               27 fs/jffs2/file.c static int jffs2_write_begin(struct file *filp, struct address_space *mapping,
file               30 fs/jffs2/file.c static int jffs2_readpage (struct file *filp, struct page *pg);
file               32 fs/jffs2/file.c int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
file              120 fs/jffs2/file.c static int jffs2_readpage (struct file *filp, struct page *pg)
file              131 fs/jffs2/file.c static int jffs2_write_begin(struct file *filp, struct address_space *mapping,
file              235 fs/jffs2/file.c static int jffs2_write_end(struct file *filp, struct address_space *mapping,
file               16 fs/jffs2/ioctl.c long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              157 fs/jffs2/os-linux.h int jffs2_fsync(struct file *, loff_t, loff_t, int);
file              161 fs/jffs2/os-linux.h long jffs2_ioctl(struct file *, unsigned int, unsigned long);
file               19 fs/jfs/file.c  int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file               21 fs/jfs/file.c  	struct inode *inode = file->f_mapping->host;
file               24 fs/jfs/file.c  	rc = file_write_and_wait_range(file, start, end);
file               43 fs/jfs/file.c  static int jfs_open(struct inode *inode, struct file *file)
file               47 fs/jfs/file.c  	if ((rc = dquot_file_open(inode, file)))
file               59 fs/jfs/file.c  	if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE &&
file               73 fs/jfs/file.c  static int jfs_release(struct inode *inode, struct file *file)
file              294 fs/jfs/inode.c static int jfs_readpage(struct file *file, struct page *page)
file              299 fs/jfs/inode.c static int jfs_readpages(struct file *file, struct address_space *mapping,
file              315 fs/jfs/inode.c static int jfs_write_begin(struct file *file, struct address_space *mapping,
file              336 fs/jfs/inode.c 	struct file *file = iocb->ki_filp;
file              337 fs/jfs/inode.c 	struct address_space *mapping = file->f_mapping;
file              338 fs/jfs/inode.c 	struct inode *inode = file->f_mapping->host;
file               60 fs/jfs/ioctl.c long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              161 fs/jfs/ioctl.c long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file               26 fs/jfs/jfs_debug.c static int jfs_loglevel_proc_open(struct inode *inode, struct file *file)
file               28 fs/jfs/jfs_debug.c 	return single_open(file, jfs_loglevel_proc_show, NULL);
file               31 fs/jfs/jfs_debug.c static ssize_t jfs_loglevel_proc_write(struct file *file,
file             2993 fs/jfs/jfs_dtree.c int jfs_readdir(struct file *file, struct dir_context *ctx)
file             2995 fs/jfs/jfs_dtree.c 	struct inode *ip = file_inode(file);
file              255 fs/jfs/jfs_dtree.h extern int jfs_readdir(struct file *file, struct dir_context *ctx);
file               71 fs/jfs/jfs_incore.h 		} file;
file               93 fs/jfs/jfs_incore.h #define i_xtroot u.file._xtroot
file               94 fs/jfs/jfs_incore.h #define i_imap u.file._imap
file               11 fs/jfs/jfs_inode.h extern int jfs_fsync(struct file *, loff_t, loff_t, int);
file               12 fs/jfs/jfs_inode.h extern long jfs_ioctl(struct file *, unsigned int, unsigned long);
file               13 fs/jfs/jfs_inode.h extern long jfs_compat_ioctl(struct file *, unsigned int, unsigned long);
file              471 fs/jfs/jfs_metapage.c static int metapage_readpage(struct file *fp, struct page *page)
file             1604 fs/kernfs/dir.c static int kernfs_dir_fop_release(struct inode *inode, struct file *filp)
file             1660 fs/kernfs/dir.c static int kernfs_fop_readdir(struct file *file, struct dir_context *ctx)
file             1662 fs/kernfs/dir.c 	struct dentry *dentry = file->f_path.dentry;
file             1664 fs/kernfs/dir.c 	struct kernfs_node *pos = file->private_data;
file             1667 fs/kernfs/dir.c 	if (!dir_emit_dots(file, ctx))
file             1683 fs/kernfs/dir.c 		file->private_data = pos;
file             1692 fs/kernfs/dir.c 	file->private_data = NULL;
file               54 fs/kernfs/file.c static struct kernfs_open_file *kernfs_of(struct file *file)
file               56 fs/kernfs/file.c 	return ((struct seq_file *)file->private_data)->private;
file              245 fs/kernfs/file.c static ssize_t kernfs_fop_read(struct file *file, char __user *user_buf,
file              248 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              251 fs/kernfs/file.c 		return seq_read(file, user_buf, count, ppos);
file              272 fs/kernfs/file.c static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf,
file              275 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              335 fs/kernfs/file.c 	struct file *file = vma->vm_file;
file              336 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              352 fs/kernfs/file.c 	struct file *file = vmf->vma->vm_file;
file              353 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              372 fs/kernfs/file.c 	struct file *file = vmf->vma->vm_file;
file              373 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              386 fs/kernfs/file.c 		file_update_time(file);
file              395 fs/kernfs/file.c 	struct file *file = vma->vm_file;
file              396 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              417 fs/kernfs/file.c 	struct file *file = vma->vm_file;
file              418 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              438 fs/kernfs/file.c 	struct file *file = vma->vm_file;
file              439 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              469 fs/kernfs/file.c static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma)
file              471 fs/kernfs/file.c 	struct kernfs_open_file *of = kernfs_of(file);
file              501 fs/kernfs/file.c 	if (vma->vm_file != file)
file              616 fs/kernfs/file.c static int kernfs_fop_open(struct inode *inode, struct file *file)
file              636 fs/kernfs/file.c 		if ((file->f_mode & FMODE_WRITE) &&
file              640 fs/kernfs/file.c 		if ((file->f_mode & FMODE_READ) &&
file              672 fs/kernfs/file.c 	of->file = file;
file              703 fs/kernfs/file.c 		error = seq_open(file, &kernfs_seq_ops);
file              705 fs/kernfs/file.c 		error = seq_open(file, NULL);
file              709 fs/kernfs/file.c 	of->seq_file = file->private_data;
file              713 fs/kernfs/file.c 	if (file->f_mode & FMODE_WRITE)
file              714 fs/kernfs/file.c 		file->f_mode |= FMODE_PWRITE;
file              735 fs/kernfs/file.c 	seq_release(inode, file);
file              768 fs/kernfs/file.c static int kernfs_fop_release(struct inode *inode, struct file *filp)
file              806 fs/kernfs/file.c 		struct inode *inode = file_inode(of->file);
file              836 fs/kernfs/file.c 	struct kernfs_node *kn = kernfs_dentry_node(of->file->f_path.dentry);
file              839 fs/kernfs/file.c 	poll_wait(of->file, &on->poll, wait);
file              847 fs/kernfs/file.c static __poll_t kernfs_fop_poll(struct file *filp, poll_table *wait)
file               76 fs/libfs.c     int dcache_dir_open(struct inode *inode, struct file *file)
file               78 fs/libfs.c     	file->private_data = d_alloc_cursor(file->f_path.dentry);
file               80 fs/libfs.c     	return file->private_data ? 0 : -ENOMEM;
file               84 fs/libfs.c     int dcache_dir_close(struct inode *inode, struct file *file)
file               86 fs/libfs.c     	dput(file->private_data);
file              133 fs/libfs.c     loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence)
file              135 fs/libfs.c     	struct dentry *dentry = file->f_path.dentry;
file              138 fs/libfs.c     			offset += file->f_pos;
file              147 fs/libfs.c     	if (offset != file->f_pos) {
file              148 fs/libfs.c     		struct dentry *cursor = file->private_data;
file              164 fs/libfs.c     		file->f_pos = offset;
file              184 fs/libfs.c     int dcache_readdir(struct file *file, struct dir_context *ctx)
file              186 fs/libfs.c     	struct dentry *dentry = file->f_path.dentry;
file              187 fs/libfs.c     	struct dentry *cursor = file->private_data;
file              192 fs/libfs.c     	if (!dir_emit_dots(file, ctx))
file              221 fs/libfs.c     ssize_t generic_read_dir(struct file *filp, char __user *buf, size_t siz, loff_t *ppos)
file              313 fs/libfs.c     int simple_open(struct inode *inode, struct file *file)
file              316 fs/libfs.c     		file->private_data = inode->i_private;
file              440 fs/libfs.c     int simple_readpage(struct file *file, struct page *page)
file              450 fs/libfs.c     int simple_write_begin(struct file *file, struct address_space *mapping,
file              496 fs/libfs.c     int simple_write_end(struct file *file, struct address_space *mapping,
file              740 fs/libfs.c     void simple_transaction_set(struct file *file, size_t n)
file              742 fs/libfs.c     	struct simple_transaction_argresp *ar = file->private_data;
file              755 fs/libfs.c     char *simple_transaction_get(struct file *file, const char __user *buf, size_t size)
file              770 fs/libfs.c     	if (file->private_data) {
file              776 fs/libfs.c     	file->private_data = ar;
file              787 fs/libfs.c     ssize_t simple_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos)
file              789 fs/libfs.c     	struct simple_transaction_argresp *ar = file->private_data;
file              797 fs/libfs.c     int simple_transaction_release(struct inode *inode, struct file *file)
file              799 fs/libfs.c     	free_page((unsigned long)file->private_data);
file              818 fs/libfs.c     int simple_attr_open(struct inode *inode, struct file *file,
file              834 fs/libfs.c     	file->private_data = attr;
file              836 fs/libfs.c     	return nonseekable_open(inode, file);
file              840 fs/libfs.c     int simple_attr_release(struct inode *inode, struct file *file)
file              842 fs/libfs.c     	kfree(file->private_data);
file              848 fs/libfs.c     ssize_t simple_attr_read(struct file *file, char __user *buf,
file              855 fs/libfs.c     	attr = file->private_data;
file              886 fs/libfs.c     ssize_t simple_attr_write(struct file *file, const char __user *buf,
file              894 fs/libfs.c     	attr = file->private_data;
file              995 fs/libfs.c     int __generic_file_fsync(struct file *file, loff_t start, loff_t end,
file              998 fs/libfs.c     	struct inode *inode = file->f_mapping->host;
file             1002 fs/libfs.c     	err = file_write_and_wait_range(file, start, end);
file             1020 fs/libfs.c     	err = file_check_and_advance_wb_err(file);
file             1037 fs/libfs.c     int generic_file_fsync(struct file *file, loff_t start, loff_t end,
file             1040 fs/libfs.c     	struct inode *inode = file->f_mapping->host;
file             1043 fs/libfs.c     	err = __generic_file_fsync(file, start, end, datasync);
file             1082 fs/libfs.c     int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             1188 fs/libfs.c     simple_nosetlease(struct file *filp, long arg, struct file_lock **flp,
file             1255 fs/libfs.c     static loff_t empty_dir_llseek(struct file *file, loff_t offset, int whence)
file             1258 fs/libfs.c     	return generic_file_llseek_size(file, offset, whence, 2, 2);
file             1261 fs/libfs.c     static int empty_dir_readdir(struct file *file, struct dir_context *ctx)
file             1263 fs/libfs.c     	dir_emit_dots(file, ctx);
file               21 fs/lockd/procfs.c nlm_end_grace_write(struct file *file, const char __user *buf, size_t size,
file               31 fs/lockd/procfs.c 	data = simple_transaction_get(file, buf, size);
file               49 fs/lockd/procfs.c nlm_end_grace_read(struct file *file, char __user *buf, size_t size,
file               27 fs/lockd/svc4proc.c 	struct nlm_file		*file = NULL;
file               43 fs/lockd/svc4proc.c 		if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0)
file               45 fs/lockd/svc4proc.c 		*filp = file;
file               48 fs/lockd/svc4proc.c 		lock->fl.fl_file  = file->f_file;
file               86 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file               93 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file               97 fs/lockd/svc4proc.c 	resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie);
file              105 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              120 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file              128 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file              144 fs/lockd/svc4proc.c 	resp->status = nlmsvc_lock(rqstp, file, host, &argp->lock,
file              154 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              169 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file              182 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file              186 fs/lockd/svc4proc.c 	resp->status = nlmsvc_cancel_blocked(SVC_NET(rqstp), file, &argp->lock);
file              191 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              209 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file              222 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file              226 fs/lockd/svc4proc.c 	resp->status = nlmsvc_unlock(SVC_NET(rqstp), file, &argp->lock);
file              231 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              358 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file              371 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file              375 fs/lockd/svc4proc.c 	resp->status = nlmsvc_share_file(host, file, argp);
file              380 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              393 fs/lockd/svc4proc.c 	struct nlm_file	*file;
file              406 fs/lockd/svc4proc.c 	if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file              410 fs/lockd/svc4proc.c 	resp->status = nlmsvc_unshare_file(host, file, argp);
file              415 fs/lockd/svc4proc.c 	nlm_release_file(file);
file              145 fs/lockd/svclock.c nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock)
file              151 fs/lockd/svclock.c 				file, lock->fl.fl_pid,
file              161 fs/lockd/svclock.c 		if (block->b_file == file && nlm_compare_locks(fl, &lock->fl)) {
file              217 fs/lockd/svclock.c 		    struct nlm_file *file, struct nlm_lock *lock,
file              248 fs/lockd/svclock.c 	block->b_file   = file;
file              249 fs/lockd/svclock.c 	file->f_count++;
file              252 fs/lockd/svclock.c 	list_add(&block->b_flist, &file->f_blocks);
file              287 fs/lockd/svclock.c 	struct nlm_file		*file = block->b_file;
file              293 fs/lockd/svclock.c 	mutex_unlock(&file->f_mutex);
file              312 fs/lockd/svclock.c 			struct nlm_file *file,
file              318 fs/lockd/svclock.c 	mutex_lock(&file->f_mutex);
file              319 fs/lockd/svclock.c 	list_for_each_entry_safe(block, next, &file->f_blocks, b_flist) {
file              327 fs/lockd/svclock.c 		mutex_unlock(&file->f_mutex);
file              332 fs/lockd/svclock.c 	mutex_unlock(&file->f_mutex);
file              486 fs/lockd/svclock.c nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file,
file              495 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_sb->s_id,
file              496 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_ino,
file              503 fs/lockd/svclock.c 	mutex_lock(&file->f_mutex);
file              507 fs/lockd/svclock.c 	block = nlmsvc_lookup_block(file, lock);
file              509 fs/lockd/svclock.c 		block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
file              545 fs/lockd/svclock.c 	error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file              583 fs/lockd/svclock.c 	mutex_unlock(&file->f_mutex);
file              593 fs/lockd/svclock.c nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file,
file              602 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_sb->s_id,
file              603 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_ino,
file              616 fs/lockd/svclock.c 	error = vfs_test_lock(file->f_file, &lock->fl);
file              660 fs/lockd/svclock.c nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock)
file              665 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_sb->s_id,
file              666 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_ino,
file              672 fs/lockd/svclock.c 	nlmsvc_cancel_blocked(net, file, lock);
file              675 fs/lockd/svclock.c 	error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file              688 fs/lockd/svclock.c nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock)
file              694 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_sb->s_id,
file              695 fs/lockd/svclock.c 				locks_inode(file->f_file)->i_ino,
file              703 fs/lockd/svclock.c 	mutex_lock(&file->f_mutex);
file              704 fs/lockd/svclock.c 	block = nlmsvc_lookup_block(file, lock);
file              705 fs/lockd/svclock.c 	mutex_unlock(&file->f_mutex);
file              810 fs/lockd/svclock.c 	struct nlm_file		*file = block->b_file;
file              837 fs/lockd/svclock.c 	error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file               56 fs/lockd/svcproc.c 	struct nlm_file		*file = NULL;
file               72 fs/lockd/svcproc.c 		error = cast_status(nlm_lookup_file(rqstp, &file, &lock->fh));
file               75 fs/lockd/svcproc.c 		*filp = file;
file               78 fs/lockd/svcproc.c 		lock->fl.fl_file  = file->f_file;
file              116 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              123 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              127 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie));
file              136 fs/lockd/svcproc.c 	nlm_release_file(file);
file              151 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              159 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              175 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_lock(rqstp, file, host, &argp->lock,
file              185 fs/lockd/svcproc.c 	nlm_release_file(file);
file              200 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              214 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              218 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_cancel_blocked(net, file, &argp->lock));
file              223 fs/lockd/svcproc.c 	nlm_release_file(file);
file              241 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              255 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              259 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_unlock(net, file, &argp->lock));
file              264 fs/lockd/svcproc.c 	nlm_release_file(file);
file              401 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              414 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              418 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_share_file(host, file, argp));
file              423 fs/lockd/svcproc.c 	nlm_release_file(file);
file              436 fs/lockd/svcproc.c 	struct nlm_file	*file;
file              449 fs/lockd/svcproc.c 	if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file              453 fs/lockd/svcproc.c 	resp->status = cast_status(nlmsvc_unshare_file(host, file, argp));
file              458 fs/lockd/svcproc.c 	nlm_release_file(file);
file               28 fs/lockd/svcshare.c nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file,
file               35 fs/lockd/svcshare.c 	for (share = file->f_shares; share; share = share->s_next) {
file               52 fs/lockd/svcshare.c 	share->s_file	    = file;
file               56 fs/lockd/svcshare.c 	share->s_next       = file->f_shares;
file               57 fs/lockd/svcshare.c 	file->f_shares      = share;
file               69 fs/lockd/svcshare.c nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
file               75 fs/lockd/svcshare.c 	for (shpp = &file->f_shares; (share = *shpp) != NULL;
file               93 fs/lockd/svcshare.c void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file,
file               98 fs/lockd/svcshare.c 	shpp = &file->f_shares;
file               46 fs/lockd/svcsubs.c static inline void nlm_debug_print_file(char *msg, struct nlm_file *file)
file               48 fs/lockd/svcsubs.c 	struct inode *inode = locks_inode(file->f_file);
file               59 fs/lockd/svcsubs.c static inline void nlm_debug_print_file(char *msg, struct nlm_file *file)
file               87 fs/lockd/svcsubs.c 	struct nlm_file	*file;
file               98 fs/lockd/svcsubs.c 	hlist_for_each_entry(file, &nlm_files[hash], f_list)
file               99 fs/lockd/svcsubs.c 		if (!nfs_compare_fh(&file->f_handle, f))
file              105 fs/lockd/svcsubs.c 	file = kzalloc(sizeof(*file), GFP_KERNEL);
file              106 fs/lockd/svcsubs.c 	if (!file)
file              109 fs/lockd/svcsubs.c 	memcpy(&file->f_handle, f, sizeof(struct nfs_fh));
file              110 fs/lockd/svcsubs.c 	mutex_init(&file->f_mutex);
file              111 fs/lockd/svcsubs.c 	INIT_HLIST_NODE(&file->f_list);
file              112 fs/lockd/svcsubs.c 	INIT_LIST_HEAD(&file->f_blocks);
file              120 fs/lockd/svcsubs.c 	if ((nfserr = nlmsvc_ops->fopen(rqstp, f, &file->f_file)) != 0) {
file              125 fs/lockd/svcsubs.c 	hlist_add_head(&file->f_list, &nlm_files[hash]);
file              128 fs/lockd/svcsubs.c 	dprintk("lockd: found file %p (count %d)\n", file, file->f_count);
file              129 fs/lockd/svcsubs.c 	*result = file;
file              130 fs/lockd/svcsubs.c 	file->f_count++;
file              138 fs/lockd/svcsubs.c 	kfree(file);
file              146 fs/lockd/svcsubs.c nlm_delete_file(struct nlm_file *file)
file              148 fs/lockd/svcsubs.c 	nlm_debug_print_file("closing file", file);
file              149 fs/lockd/svcsubs.c 	if (!hlist_unhashed(&file->f_list)) {
file              150 fs/lockd/svcsubs.c 		hlist_del(&file->f_list);
file              151 fs/lockd/svcsubs.c 		nlmsvc_ops->fclose(file->f_file);
file              152 fs/lockd/svcsubs.c 		kfree(file);
file              163 fs/lockd/svcsubs.c nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file,
file              166 fs/lockd/svcsubs.c 	struct inode	 *inode = nlmsvc_file_inode(file);
file              174 fs/lockd/svcsubs.c 	file->f_locks = 0;
file              181 fs/lockd/svcsubs.c 		file->f_locks++;
file              191 fs/lockd/svcsubs.c 			if (vfs_lock_file(file->f_file, F_SETLK, &lock, NULL) < 0) {
file              214 fs/lockd/svcsubs.c nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match)
file              216 fs/lockd/svcsubs.c 	nlmsvc_traverse_blocks(host, file, match);
file              217 fs/lockd/svcsubs.c 	nlmsvc_traverse_shares(host, file, match);
file              218 fs/lockd/svcsubs.c 	return nlm_traverse_locks(host, file, match);
file              226 fs/lockd/svcsubs.c nlm_file_inuse(struct nlm_file *file)
file              228 fs/lockd/svcsubs.c 	struct inode	 *inode = nlmsvc_file_inode(file);
file              232 fs/lockd/svcsubs.c 	if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares)
file              245 fs/lockd/svcsubs.c 	file->f_locks = 0;
file              254 fs/lockd/svcsubs.c 		int (*is_failover_file)(void *data, struct nlm_file *file))
file              257 fs/lockd/svcsubs.c 	struct nlm_file	*file;
file              262 fs/lockd/svcsubs.c 		hlist_for_each_entry_safe(file, next, &nlm_files[i], f_list) {
file              263 fs/lockd/svcsubs.c 			if (is_failover_file && !is_failover_file(data, file))
file              265 fs/lockd/svcsubs.c 			file->f_count++;
file              270 fs/lockd/svcsubs.c 			if (nlm_inspect_file(data, file, match))
file              274 fs/lockd/svcsubs.c 			file->f_count--;
file              276 fs/lockd/svcsubs.c 			if (list_empty(&file->f_blocks) && !file->f_locks
file              277 fs/lockd/svcsubs.c 			 && !file->f_shares && !file->f_count) {
file              278 fs/lockd/svcsubs.c 				hlist_del(&file->f_list);
file              279 fs/lockd/svcsubs.c 				nlmsvc_ops->fclose(file->f_file);
file              280 fs/lockd/svcsubs.c 				kfree(file);
file              298 fs/lockd/svcsubs.c nlm_release_file(struct nlm_file *file)
file              301 fs/lockd/svcsubs.c 				file, file->f_count);
file              307 fs/lockd/svcsubs.c 	if (--file->f_count == 0 && !nlm_file_inuse(file))
file              308 fs/lockd/svcsubs.c 		nlm_delete_file(file);
file              414 fs/lockd/svcsubs.c nlmsvc_match_sb(void *datap, struct nlm_file *file)
file              418 fs/lockd/svcsubs.c 	return sb == locks_inode(file->f_file)->i_sb;
file              308 fs/locks.c     locks_check_ctx_file_list(struct file *filp, struct list_head *list,
file              479 fs/locks.c     flock_make_lock(struct file *filp, unsigned int cmd, struct file_lock *fl)
file              518 fs/locks.c     static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl,
file              568 fs/locks.c     static int flock_to_posix_lock(struct file *filp, struct file_lock *fl,
file              592 fs/locks.c     	struct file *filp = fl->fl_file;
file              615 fs/locks.c     static int lease_init(struct file *filp, long type, struct file_lock *fl)
file              633 fs/locks.c     static struct file_lock *lease_alloc(struct file *filp, long type)
file              952 fs/locks.c     posix_test_lock(struct file *filp, struct file_lock *fl)
file             1368 fs/locks.c     int posix_lock_file(struct file *filp, struct file_lock *fl,
file             1407 fs/locks.c     int locks_mandatory_locked(struct file *file)
file             1410 fs/locks.c     	struct inode *inode = locks_inode(file);
file             1425 fs/locks.c     		    fl->fl_owner != file) {
file             1444 fs/locks.c     int locks_mandatory_area(struct inode *inode, struct file *filp, loff_t start,
file             1517 fs/locks.c     		struct file *filp = fl->fl_file;
file             1761 fs/locks.c     int fcntl_getlease(struct file *filp)
file             1800 fs/locks.c     check_conflicting_open(struct file *filp, const long arg, int flags)
file             1832 fs/locks.c     generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv)
file             1947 fs/locks.c     static int generic_delete_lease(struct file *filp, void *owner)
file             1990 fs/locks.c     int generic_setlease(struct file *filp, long arg, struct file_lock **flp,
file             2097 fs/locks.c     vfs_setlease(struct file *filp, long arg, struct file_lock **lease, void **priv)
file             2108 fs/locks.c     static int do_fcntl_add_lease(unsigned int fd, struct file *filp, long arg)
file             2143 fs/locks.c     int fcntl_setlease(unsigned int fd, struct file *filp, long arg)
file             2223 fs/locks.c     	if (!f.file)
file             2231 fs/locks.c     	    !(f.file->f_mode & (FMODE_READ|FMODE_WRITE)))
file             2234 fs/locks.c     	lock = flock_make_lock(f.file, cmd, NULL);
file             2243 fs/locks.c     	error = security_file_lock(f.file, lock->fl_type);
file             2247 fs/locks.c     	if (f.file->f_op->flock)
file             2248 fs/locks.c     		error = f.file->f_op->flock(f.file,
file             2252 fs/locks.c     		error = locks_lock_file_wait(f.file, lock);
file             2271 fs/locks.c     int vfs_test_lock(struct file *filp, struct file_lock *fl)
file             2347 fs/locks.c     int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock)
file             2421 fs/locks.c     int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)
file             2430 fs/locks.c     static int do_lock_file_wait(struct file *filp, unsigned int cmd,
file             2472 fs/locks.c     int fcntl_setlk(unsigned int fd, struct file *filp, unsigned int cmd,
file             2477 fs/locks.c     	struct file *f;
file             2560 fs/locks.c     int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock)
file             2603 fs/locks.c     int fcntl_setlk64(unsigned int fd, struct file *filp, unsigned int cmd,
file             2608 fs/locks.c     	struct file *f;
file             2692 fs/locks.c     void locks_remove_posix(struct file *filp, fl_owner_t owner)
file             2729 fs/locks.c     locks_remove_flock(struct file *filp, struct file_lock_context *flctx)
file             2751 fs/locks.c     locks_remove_lease(struct file *filp, struct file_lock_context *ctx)
file             2773 fs/locks.c     void locks_remove_file(struct file *filp)
file             2804 fs/locks.c     int vfs_cancel_lock(struct file *filp, struct file_lock *fl)
file             2826 fs/locks.c     	struct pid_namespace *proc_pidns = file_inode(f->file)->i_sb->s_fs_info;
file             2904 fs/locks.c     	struct pid_namespace *proc_pidns = file_inode(f->file)->i_sb->s_fs_info;
file             2921 fs/locks.c     			struct file *filp, struct files_struct *files)
file             2940 fs/locks.c     		  struct file *filp, struct files_struct *files)
file               20 fs/minix/dir.c static int minix_readdir(struct file *, struct dir_context *);
file               81 fs/minix/dir.c static int minix_readdir(struct file *file, struct dir_context *ctx)
file               83 fs/minix/dir.c 	struct inode *inode = file_inode(file);
file              386 fs/minix/inode.c static int minix_readpage(struct file *file, struct page *page)
file              406 fs/minix/inode.c static int minix_write_begin(struct file *file, struct address_space *mapping,
file             2223 fs/namei.c     		if (!f.file)
file             2226 fs/namei.c     		dentry = f.file->f_path.dentry;
file             2233 fs/namei.c     		nd->path = f.file->f_path;
file             2985 fs/namei.c     static int handle_truncate(struct file *filp)
file             3047 fs/namei.c     			struct path *path, struct file *file,
file             3061 fs/namei.c     	file->f_path.dentry = DENTRY_NOT_SET;
file             3062 fs/namei.c     	file->f_path.mnt = nd->path.mnt;
file             3063 fs/namei.c     	error = dir->i_op->atomic_open(dir, dentry, file,
file             3067 fs/namei.c     		if (file->f_mode & FMODE_OPENED) {
file             3073 fs/namei.c     			if (file->f_mode & FMODE_CREATED) {
file             3078 fs/namei.c     			error = may_open(&file->f_path, acc_mode, open_flag);
file             3081 fs/namei.c     		} else if (WARN_ON(file->f_path.dentry == DENTRY_NOT_SET)) {
file             3084 fs/namei.c     			if (file->f_path.dentry) {
file             3086 fs/namei.c     				dentry = file->f_path.dentry;
file             3088 fs/namei.c     			if (file->f_mode & FMODE_CREATED)
file             3119 fs/namei.c     			struct file *file,
file             3134 fs/namei.c     	file->f_mode &= ~FMODE_CREATED;
file             3195 fs/namei.c     		error = atomic_open(nd, dentry, path, file, op, open_flag,
file             3219 fs/namei.c     		file->f_mode |= FMODE_CREATED;
file             3249 fs/namei.c     		   struct file *file, const struct open_flags *op)
file             3317 fs/namei.c     	error = lookup_open(nd, &path, file, op, got_write);
file             3326 fs/namei.c     	if (file->f_mode & FMODE_OPENED) {
file             3327 fs/namei.c     		if ((file->f_mode & FMODE_CREATED) ||
file             3328 fs/namei.c     		    !S_ISREG(file_inode(file)->i_mode))
file             3331 fs/namei.c     		audit_inode(nd->name, file->f_path.dentry, 0);
file             3335 fs/namei.c     	if (file->f_mode & FMODE_CREATED) {
file             3410 fs/namei.c     	BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */
file             3411 fs/namei.c     	error = vfs_open(&nd->path, file);
file             3415 fs/namei.c     	error = ima_file_check(file, op->acc_mode);
file             3417 fs/namei.c     		error = handle_truncate(file);
file             3469 fs/namei.c     		struct file *file)
file             3490 fs/namei.c     	file->f_path.mnt = path.mnt;
file             3491 fs/namei.c     	error = finish_open(file, child, NULL);
file             3499 fs/namei.c     static int do_o_path(struct nameidata *nd, unsigned flags, struct file *file)
file             3505 fs/namei.c     		error = vfs_open(&path, file);
file             3511 fs/namei.c     static struct file *path_openat(struct nameidata *nd,
file             3514 fs/namei.c     	struct file *file;
file             3517 fs/namei.c     	file = alloc_empty_file(op->open_flag, current_cred());
file             3518 fs/namei.c     	if (IS_ERR(file))
file             3519 fs/namei.c     		return file;
file             3521 fs/namei.c     	if (unlikely(file->f_flags & __O_TMPFILE)) {
file             3522 fs/namei.c     		error = do_tmpfile(nd, flags, op, file);
file             3523 fs/namei.c     	} else if (unlikely(file->f_flags & O_PATH)) {
file             3524 fs/namei.c     		error = do_o_path(nd, flags, file);
file             3528 fs/namei.c     			(error = do_last(nd, file, op)) > 0) {
file             3535 fs/namei.c     		if (likely(file->f_mode & FMODE_OPENED))
file             3536 fs/namei.c     			return file;
file             3540 fs/namei.c     	fput(file);
file             3550 fs/namei.c     struct file *do_filp_open(int dfd, struct filename *pathname,
file             3555 fs/namei.c     	struct file *filp;
file             3567 fs/namei.c     struct file *do_file_open_root(struct dentry *dentry, struct vfsmount *mnt,
file             3571 fs/namei.c     	struct file *file;
file             3586 fs/namei.c     	file = path_openat(&nd, op, flags | LOOKUP_RCU);
file             3587 fs/namei.c     	if (unlikely(file == ERR_PTR(-ECHILD)))
file             3588 fs/namei.c     		file = path_openat(&nd, op, flags);
file             3589 fs/namei.c     	if (unlikely(file == ERR_PTR(-ESTALE)))
file             3590 fs/namei.c     		file = path_openat(&nd, op, flags | LOOKUP_REVAL);
file             3593 fs/namei.c     	return file;
file              393 fs/namespace.c int __mnt_want_write_file(struct file *file)
file              395 fs/namespace.c 	if (!(file->f_mode & FMODE_WRITER))
file              396 fs/namespace.c 		return __mnt_want_write(file->f_path.mnt);
file              398 fs/namespace.c 		return mnt_clone_write(file->f_path.mnt);
file              408 fs/namespace.c int mnt_want_write_file(struct file *file)
file              412 fs/namespace.c 	sb_start_write(file_inode(file)->i_sb);
file              413 fs/namespace.c 	ret = __mnt_want_write_file(file);
file              415 fs/namespace.c 		sb_end_write(file_inode(file)->i_sb);
file              450 fs/namespace.c void __mnt_drop_write_file(struct file *file)
file              452 fs/namespace.c 	__mnt_drop_write(file->f_path.mnt);
file              455 fs/namespace.c void mnt_drop_write_file(struct file *file)
file              457 fs/namespace.c 	__mnt_drop_write_file(file);
file              458 fs/namespace.c 	sb_end_write(file_inode(file)->i_sb);
file             2320 fs/namespace.c static struct file *open_detached_copy(struct path *path, bool recursive)
file             2325 fs/namespace.c 	struct file *file;
file             2351 fs/namespace.c 	file = dentry_open(path, O_PATH, current_cred());
file             2352 fs/namespace.c 	if (IS_ERR(file))
file             2355 fs/namespace.c 		file->f_mode |= FMODE_NEED_UNMOUNT;
file             2356 fs/namespace.c 	return file;
file             2361 fs/namespace.c 	struct file *file;
file             2394 fs/namespace.c 		file = ERR_PTR(error);
file             2397 fs/namespace.c 			file = open_detached_copy(&path, flags & AT_RECURSIVE);
file             2399 fs/namespace.c 			file = dentry_open(&path, O_PATH, current_cred());
file             2402 fs/namespace.c 	if (IS_ERR(file)) {
file             2404 fs/namespace.c 		return PTR_ERR(file);
file             2406 fs/namespace.c 	fd_install(fd, file);
file             3377 fs/namespace.c 	struct file *file;
file             3423 fs/namespace.c 	if (!f.file)
file             3427 fs/namespace.c 	if (f.file->f_op != &fscontext_fops)
file             3430 fs/namespace.c 	fc = f.file->private_data;
file             3485 fs/namespace.c 	file = dentry_open(&newmount, O_PATH, fc->cred);
file             3486 fs/namespace.c 	if (IS_ERR(file)) {
file             3488 fs/namespace.c 		ret = PTR_ERR(file);
file             3491 fs/namespace.c 	file->f_mode |= FMODE_NEED_UNMOUNT;
file             3495 fs/namespace.c 		fd_install(ret, file);
file             3497 fs/namespace.c 		fput(file);
file              112 fs/nfs/blocklayout/rpc_pipefs.c static ssize_t bl_pipe_downcall(struct file *filp, const char __user *src,
file               51 fs/nfs/dir.c   static int nfs_opendir(struct inode *, struct file *);
file               52 fs/nfs/dir.c   static int nfs_closedir(struct inode *, struct file *);
file               53 fs/nfs/dir.c   static int nfs_readdir(struct file *, struct dir_context *);
file               54 fs/nfs/dir.c   static int nfs_fsync_dir(struct file *, loff_t, loff_t, int);
file               55 fs/nfs/dir.c   static loff_t nfs_llseek_dir(struct file *, loff_t, int);
file              107 fs/nfs/dir.c   nfs_opendir(struct inode *inode, struct file *filp)
file              127 fs/nfs/dir.c   nfs_closedir(struct inode *inode, struct file *filp)
file              149 fs/nfs/dir.c   	struct file	*file;
file              283 fs/nfs/dir.c   			struct nfs_inode *nfsi = NFS_I(file_inode(desc->file));
file              284 fs/nfs/dir.c   			struct nfs_open_dir_context *ctx = desc->file->private_data;
file              298 fs/nfs/dir.c   								desc->file, array->array[i].string.len,
file              346 fs/nfs/dir.c   			struct nfs_entry *entry, struct file *file, struct inode *inode)
file              348 fs/nfs/dir.c   	struct nfs_open_dir_context *ctx = file->private_data;
file              356 fs/nfs/dir.c   	error = NFS_PROTO(inode)->readdir(file_dentry(file), cred, entry->cookie, pages,
file              566 fs/nfs/dir.c   			nfs_prime_dcache(file_dentry(desc->file), entry);
file              620 fs/nfs/dir.c   	struct file	*file = desc->file;
file              649 fs/nfs/dir.c   		status = nfs_readdir_xdr_filler(pages, desc, &entry, file, inode);
file              682 fs/nfs/dir.c   	struct inode	*inode = file_inode(desc->file);
file              712 fs/nfs/dir.c   	return read_cache_page(desc->file->f_mapping, desc->page_index,
file              765 fs/nfs/dir.c   	struct file	*file = desc->file;
file              769 fs/nfs/dir.c   	struct nfs_open_dir_context *ctx = file->private_data;
file              815 fs/nfs/dir.c   	struct inode *inode = file_inode(desc->file);
file              816 fs/nfs/dir.c   	struct nfs_open_dir_context *ctx = desc->file->private_data;
file              851 fs/nfs/dir.c   static int nfs_readdir(struct file *file, struct dir_context *ctx)
file              853 fs/nfs/dir.c   	struct dentry	*dentry = file_dentry(file);
file              857 fs/nfs/dir.c   	struct nfs_open_dir_context *dir_ctx = file->private_data;
file              861 fs/nfs/dir.c   			file, (long long)ctx->pos);
file              872 fs/nfs/dir.c   	desc->file = file;
file              879 fs/nfs/dir.c   		res = nfs_revalidate_mapping(inode, file->f_mapping);
file              917 fs/nfs/dir.c   	dfprintk(FILE, "NFS: readdir(%pD2) returns %d\n", file, res);
file              921 fs/nfs/dir.c   static loff_t nfs_llseek_dir(struct file *filp, loff_t offset, int whence)
file              960 fs/nfs/dir.c   static int nfs_fsync_dir(struct file *filp, loff_t start, loff_t end,
file             1488 fs/nfs/dir.c   static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, struct file *filp)
file             1493 fs/nfs/dir.c   static int do_open(struct inode *inode, struct file *filp)
file             1501 fs/nfs/dir.c   			   struct file *file, unsigned open_flags)
file             1505 fs/nfs/dir.c   	err = finish_open(file, dentry, do_open);
file             1508 fs/nfs/dir.c   	if (S_ISREG(file->f_path.dentry->d_inode->i_mode))
file             1509 fs/nfs/dir.c   		nfs_file_set_open_context(file, ctx);
file             1517 fs/nfs/dir.c   		    struct file *file, unsigned open_flags,
file             1579 fs/nfs/dir.c   			return finish_no_open(file, dentry);
file             1582 fs/nfs/dir.c   	ctx = create_nfs_open_context(dentry, open_flags, file);
file             1590 fs/nfs/dir.c   		file->f_mode |= FMODE_CREATED;
file             1615 fs/nfs/dir.c   	err = nfs_finish_open(ctx, ctx->dentry, file, open_flags);
file             1636 fs/nfs/dir.c   	return finish_no_open(file, res);
file              544 fs/nfs/direct.c 	struct file *file = iocb->ki_filp;
file              545 fs/nfs/direct.c 	struct address_space *mapping = file->f_mapping;
file              554 fs/nfs/direct.c 		file, count, (long long) iocb->ki_pos);
file              960 fs/nfs/direct.c 	struct file *file = iocb->ki_filp;
file              961 fs/nfs/direct.c 	struct address_space *mapping = file->f_mapping;
file              968 fs/nfs/direct.c 		file, iov_iter_count(iter), (long long) iocb->ki_pos);
file               65 fs/nfs/file.c  nfs_file_open(struct inode *inode, struct file *filp)
file               81 fs/nfs/file.c  nfs_file_release(struct inode *inode, struct file *filp)
file              102 fs/nfs/file.c  static int nfs_revalidate_file_size(struct inode *inode, struct file *filp)
file              115 fs/nfs/file.c  loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence)
file              140 fs/nfs/file.c  nfs_file_flush(struct file *file, fl_owner_t id)
file              142 fs/nfs/file.c  	struct inode	*inode = file_inode(file);
file              144 fs/nfs/file.c  	dprintk("NFS: flush(%pD2)\n", file);
file              147 fs/nfs/file.c  	if ((file->f_mode & FMODE_WRITE) == 0)
file              180 fs/nfs/file.c  nfs_file_mmap(struct file * file, struct vm_area_struct * vma)
file              182 fs/nfs/file.c  	struct inode *inode = file_inode(file);
file              185 fs/nfs/file.c  	dprintk("NFS: mmap(%pD2)\n", file);
file              190 fs/nfs/file.c  	status = generic_file_mmap(file, vma);
file              193 fs/nfs/file.c  		status = nfs_revalidate_mapping(inode, file->f_mapping);
file              205 fs/nfs/file.c  nfs_file_fsync_commit(struct file *file, int datasync)
file              207 fs/nfs/file.c  	struct nfs_open_context *ctx = nfs_file_open_context(file);
file              208 fs/nfs/file.c  	struct inode *inode = file_inode(file);
file              212 fs/nfs/file.c  	dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync);
file              218 fs/nfs/file.c  		status = file_check_and_advance_wb_err(file);
file              231 fs/nfs/file.c  nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              234 fs/nfs/file.c  	struct inode *inode = file_inode(file);
file              239 fs/nfs/file.c  		ret = file_write_and_wait_range(file, start, end);
file              242 fs/nfs/file.c  		ret = nfs_file_fsync_commit(file, datasync);
file              294 fs/nfs/file.c  static bool nfs_want_read_modify_write(struct file *file, struct page *page,
file              305 fs/nfs/file.c  	if (pnfs_ld_read_whole_page(file->f_mapping->host))
file              308 fs/nfs/file.c  	if (file->f_mode & FMODE_READ)
file              321 fs/nfs/file.c  static int nfs_write_begin(struct file *file, struct address_space *mapping,
file              331 fs/nfs/file.c  		file, mapping->host->i_ino, len, (long long) pos);
file              339 fs/nfs/file.c  	ret = nfs_flush_incompatible(file, page);
file              344 fs/nfs/file.c  		   nfs_want_read_modify_write(file, page, pos, len)) {
file              346 fs/nfs/file.c  		ret = nfs_readpage(file, page);
file              354 fs/nfs/file.c  static int nfs_write_end(struct file *file, struct address_space *mapping,
file              359 fs/nfs/file.c  	struct nfs_open_context *ctx = nfs_file_open_context(file);
file              363 fs/nfs/file.c  		file, mapping->host->i_ino, len, (long long) pos);
file              385 fs/nfs/file.c  	status = nfs_updatepage(file, page, offset, copied);
file              489 fs/nfs/file.c  static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file,
file              492 fs/nfs/file.c  	struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host);
file              499 fs/nfs/file.c  static void nfs_swap_deactivate(struct file *file)
file              501 fs/nfs/file.c  	struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host);
file              535 fs/nfs/file.c  	struct file *filp = vmf->vma->vm_file;
file              583 fs/nfs/file.c  static int nfs_need_check_write(struct file *filp, struct inode *inode)
file              595 fs/nfs/file.c  	struct file *file = iocb->ki_filp;
file              596 fs/nfs/file.c  	struct inode *inode = file_inode(file);
file              600 fs/nfs/file.c  	result = nfs_key_timeout_notify(file, inode);
file              608 fs/nfs/file.c  		file, iov_iter_count(from), (long long) iocb->ki_pos);
file              616 fs/nfs/file.c  		result = nfs_revalidate_file_size(inode, file);
file              621 fs/nfs/file.c  		nfs_revalidate_mapping(inode, file->f_mapping);
file              627 fs/nfs/file.c  		result = generic_perform_write(file, from, iocb->ki_pos);
file              641 fs/nfs/file.c  	if (nfs_need_check_write(file, inode)) {
file              657 fs/nfs/file.c  do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
file              686 fs/nfs/file.c  do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
file              722 fs/nfs/file.c  do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
file              766 fs/nfs/file.c  int nfs_lock(struct file *filp, int cmd, struct file_lock *fl)
file              805 fs/nfs/file.c  int nfs_flock(struct file *filp, int cmd, struct file_lock *fl)
file              307 fs/nfs/fscache.c void nfs_fscache_open_file(struct inode *inode, struct file *filp)
file               94 fs/nfs/fscache.h extern void nfs_fscache_open_file(struct inode *, struct file *);
file              204 fs/nfs/fscache.h 					 struct file *filp) {}
file              959 fs/nfs/inode.c 						struct file *filp)
file             1046 fs/nfs/inode.c void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx)
file             1076 fs/nfs/inode.c void nfs_file_clear_open_context(struct file *filp)
file             1097 fs/nfs/inode.c int nfs_open(struct inode *inode, struct file *filp)
file              365 fs/nfs/internal.h int nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync);
file              366 fs/nfs/internal.h loff_t nfs_file_llseek(struct file *, loff_t, int);
file              368 fs/nfs/internal.h int nfs_file_mmap(struct file *, struct vm_area_struct *);
file              370 fs/nfs/internal.h int nfs_file_release(struct inode *, struct file *);
file              371 fs/nfs/internal.h int nfs_lock(struct file *, int, struct file_lock *);
file              372 fs/nfs/internal.h int nfs_flock(struct file *, int, struct file_lock *);
file              510 fs/nfs/internal.h int nfs_key_timeout_notify(struct file *filp, struct inode *inode);
file              925 fs/nfs/nfs3proc.c nfs3_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
file               16 fs/nfs/nfs42.h int nfs42_proc_allocate(struct file *, loff_t, loff_t);
file               17 fs/nfs/nfs42.h ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t);
file               18 fs/nfs/nfs42.h int nfs42_proc_deallocate(struct file *, loff_t, loff_t);
file               19 fs/nfs/nfs42.h loff_t nfs42_proc_llseek(struct file *, loff_t, int);
file               22 fs/nfs/nfs42.h int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
file               20 fs/nfs/nfs42proc.c static int nfs42_do_offload_cancel_async(struct file *dst, nfs4_stateid *std);
file               22 fs/nfs/nfs42proc.c static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
file               59 fs/nfs/nfs42proc.c static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
file               87 fs/nfs/nfs42proc.c int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len)
file              108 fs/nfs/nfs42proc.c int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len)
file              136 fs/nfs/nfs42proc.c 			     struct file *src,
file              137 fs/nfs/nfs42proc.c 			     struct file *dst,
file              196 fs/nfs/nfs42proc.c static int process_copy_commit(struct file *dst, loff_t pos_dst,
file              220 fs/nfs/nfs42proc.c static ssize_t _nfs42_proc_copy(struct file *src,
file              222 fs/nfs/nfs42proc.c 				struct file *dst,
file              306 fs/nfs/nfs42proc.c ssize_t nfs42_proc_copy(struct file *src, loff_t pos_src,
file              307 fs/nfs/nfs42proc.c 			struct file *dst, loff_t pos_dst,
file              416 fs/nfs/nfs42proc.c static int nfs42_do_offload_cancel_async(struct file *dst,
file              462 fs/nfs/nfs42proc.c static loff_t _nfs42_proc_llseek(struct file *filep,
file              504 fs/nfs/nfs42proc.c loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence)
file              836 fs/nfs/nfs42proc.c static int _nfs42_proc_clone(struct rpc_message *msg, struct file *src_f,
file              837 fs/nfs/nfs42proc.c 		struct file *dst_f, struct nfs_lock_context *src_lock,
file              883 fs/nfs/nfs42proc.c int nfs42_proc_clone(struct file *src_f, struct file *dst_f,
file              268 fs/nfs/nfs4_fs.h int nfs_atomic_open(struct inode *, struct dentry *, struct file *,
file              509 fs/nfs/nfs4_fs.h extern int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res);
file               26 fs/nfs/nfs4file.c nfs4_file_open(struct inode *inode, struct file *filp)
file              109 fs/nfs/nfs4file.c nfs4_file_flush(struct file *file, fl_owner_t id)
file              111 fs/nfs/nfs4file.c 	struct inode	*inode = file_inode(file);
file              113 fs/nfs/nfs4file.c 	dprintk("NFS: flush(%pD2)\n", file);
file              116 fs/nfs/nfs4file.c 	if ((file->f_mode & FMODE_WRITE) == 0)
file              124 fs/nfs/nfs4file.c 		return filemap_fdatawrite(file->f_mapping);
file              131 fs/nfs/nfs4file.c static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in,
file              132 fs/nfs/nfs4file.c 				      struct file *file_out, loff_t pos_out,
file              145 fs/nfs/nfs4file.c static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in,
file              146 fs/nfs/nfs4file.c 				    struct file *file_out, loff_t pos_out,
file              159 fs/nfs/nfs4file.c static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence)
file              175 fs/nfs/nfs4file.c static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len)
file              195 fs/nfs/nfs4file.c static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off,
file              196 fs/nfs/nfs4file.c 		struct file *dst_file, loff_t dst_off, loff_t count,
file              398 fs/nfs/nfs4idmap.c static ssize_t idmap_pipe_downcall(struct file *, const char __user *,
file              666 fs/nfs/nfs4idmap.c idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
file             5355 fs/nfs/nfs4proc.c static int _nfs4_proc_commit(struct file *dst, struct nfs_commitargs *args,
file             5371 fs/nfs/nfs4proc.c int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res)
file             7160 fs/nfs/nfs4proc.c nfs4_proc_lock(struct file *filp, int cmd, struct file_lock *request)
file              648 fs/nfs/proc.c  nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
file              310 fs/nfs/read.c  int nfs_readpage(struct file *file, struct page *page)
file              338 fs/nfs/read.c  	if (file == NULL) {
file              344 fs/nfs/read.c  		ctx = get_nfs_open_context(nfs_file_open_context(file));
file              404 fs/nfs/read.c  int nfs_readpages(struct file *filp, struct address_space *mapping,
file             1204 fs/nfs/write.c int nfs_flush_incompatible(struct file *file, struct page *page)
file             1206 fs/nfs/write.c 	struct nfs_open_context *ctx = nfs_file_open_context(file);
file             1208 fs/nfs/write.c 	struct file_lock_context *flctx = file_inode(file)->i_flctx;
file             1250 fs/nfs/write.c nfs_key_timeout_notify(struct file *filp, struct inode *inode)
file             1323 fs/nfs/write.c static int nfs_can_extend_write(struct file *file, struct page *page, struct inode *inode)
file             1329 fs/nfs/write.c 	if (file->f_flags & O_DSYNC)
file             1363 fs/nfs/write.c int nfs_updatepage(struct file *file, struct page *page,
file             1366 fs/nfs/write.c 	struct nfs_open_context *ctx = nfs_file_open_context(file);
file             1374 fs/nfs/write.c 		file, count, (long long)(page_file_offset(page) + offset));
file             1379 fs/nfs/write.c 	if (nfs_can_extend_write(file, page, inode)) {
file               85 fs/nfsd/cache.h int	nfsd_reply_cache_stats_open(struct inode *, struct file *);
file             1186 fs/nfsd/export.c 	struct user_namespace *userns = m->file->f_cred->user_ns;
file               21 fs/nfsd/fault_inject.c 	char *file;
file               29 fs/nfsd/fault_inject.c static ssize_t fault_inject_read(struct file *file, char __user *buf,
file               36 fs/nfsd/fault_inject.c 	struct nfsd_fault_inject_op *op = file_inode(file)->i_private;
file               45 fs/nfsd/fault_inject.c static ssize_t fault_inject_write(struct file *file, const char __user *buf,
file               52 fs/nfsd/fault_inject.c 	struct nfsd_fault_inject_op *op = file_inode(file)->i_private;
file               72 fs/nfsd/fault_inject.c 				op->file, write_buf, val);
file               76 fs/nfsd/fault_inject.c 			pr_info("NFSD Fault Injection: %s (all)", op->file);
file               79 fs/nfsd/fault_inject.c 				op->file, val);
file               81 fs/nfsd/fault_inject.c 		pr_info("NFSD: %s: found %llu", op->file, val);
file               99 fs/nfsd/fault_inject.c 		.file     = "forget_clients",
file              105 fs/nfsd/fault_inject.c 		.file     = "forget_locks",
file              111 fs/nfsd/fault_inject.c 		.file     = "forget_openowners",
file              117 fs/nfsd/fault_inject.c 		.file     = "forget_delegations",
file              123 fs/nfsd/fault_inject.c 		.file     = "recall_delegations",
file              140 fs/nfsd/fault_inject.c 		debugfs_create_file(op->file, mode, debug_dir, op, &fops_nfsd);
file              221 fs/nfsd/filecache.c 	struct file *file = nf->nf_file;
file              224 fs/nfsd/filecache.c 	if (!file || !(file->f_mode & FMODE_WRITE))
file              226 fs/nfsd/filecache.c 	mapping = file->f_mapping;
file              234 fs/nfsd/filecache.c 	struct file *file = nf->nf_file;
file              236 fs/nfsd/filecache.c 	if (!file || !(file->f_mode & FMODE_WRITE))
file              238 fs/nfsd/filecache.c 	return filemap_check_wb_err(file->f_mapping, READ_ONCE(file->f_wb_err));
file              937 fs/nfsd/filecache.c int nfsd_file_cache_stats_open(struct inode *inode, struct file *file)
file              939 fs/nfsd/filecache.c 	return single_open(file, nfsd_file_cache_stats_show, NULL);
file               35 fs/nfsd/filecache.h 	struct file		*nf_file;
file               60 fs/nfsd/filecache.h int	nfsd_file_cache_stats_open(struct inode *, struct file *);
file               28 fs/nfsd/lockd.c nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp)
file               57 fs/nfsd/lockd.c nlm_fclose(struct file *filp)
file               91 fs/nfsd/netns.h 	struct file *rec_file;
file              860 fs/nfsd/nfs4recover.c cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
file             2305 fs/nfsd/nfs4state.c static int client_info_open(struct inode *inode, struct file *file)
file             2307 fs/nfsd/nfs4state.c 	return single_open(file, client_info_show, inode);
file             2371 fs/nfsd/nfs4state.c 	struct nfsd_file *file;
file             2380 fs/nfsd/nfs4state.c 	file = find_any_file(nf);
file             2394 fs/nfsd/nfs4state.c 	nfs4_show_superblock(s, file);
file             2398 fs/nfsd/nfs4state.c 	nfsd_file_put(file);
file             2407 fs/nfsd/nfs4state.c 	struct nfsd_file *file;
file             2413 fs/nfsd/nfs4state.c 	file = find_any_file(nf);
file             2424 fs/nfsd/nfs4state.c 	nfs4_show_superblock(s, file);
file             2429 fs/nfsd/nfs4state.c 	nfsd_file_put(file);
file             2438 fs/nfsd/nfs4state.c 	struct nfsd_file *file;
file             2442 fs/nfsd/nfs4state.c 	file = nf->fi_deleg_file;
file             2452 fs/nfsd/nfs4state.c 	nfs4_show_superblock(s, file);
file             2461 fs/nfsd/nfs4state.c 	struct nfsd_file *file;
file             2464 fs/nfsd/nfs4state.c 	file = ls->ls_file;
file             2470 fs/nfsd/nfs4state.c 	nfs4_show_superblock(s, file);
file             2502 fs/nfsd/nfs4state.c static int client_states_open(struct inode *inode, struct file *file)
file             2512 fs/nfsd/nfs4state.c 	ret = seq_open(file, &states_seq_ops);
file             2515 fs/nfsd/nfs4state.c 	s = file->private_data;
file             2520 fs/nfsd/nfs4state.c static int client_opens_release(struct inode *inode, struct file *file)
file             2522 fs/nfsd/nfs4state.c 	struct seq_file *m = file->private_data;
file             2565 fs/nfsd/nfs4state.c static ssize_t client_ctl_write(struct file *file, const char __user *buf,
file             2571 fs/nfsd/nfs4state.c 	data = simple_transaction_get(file, buf, size);
file             2576 fs/nfsd/nfs4state.c 	clp = get_nfsdfs_clp(file_inode(file));
file             3459 fs/nfsd/nfs4xdr.c 				struct file *file, unsigned long maxcount)
file             3475 fs/nfsd/nfs4xdr.c 				  file, read->rd_offset, &maxcount, &eof);
file             3519 fs/nfsd/nfs4xdr.c 				 struct file *file, unsigned long maxcount)
file             3556 fs/nfsd/nfs4xdr.c 	nfserr = nfsd_readv(resp->rqstp, read->rd_fhp, file, read->rd_offset,
file             3582 fs/nfsd/nfs4xdr.c 	struct file *file;
file             3588 fs/nfsd/nfs4xdr.c 	file = read->rd_nf->nf_file;
file             3607 fs/nfsd/nfs4xdr.c 	if (file->f_op->splice_read &&
file             3609 fs/nfsd/nfs4xdr.c 		nfserr = nfsd4_encode_splice_read(resp, read, file, maxcount);
file             3611 fs/nfsd/nfs4xdr.c 		nfserr = nfsd4_encode_readv(resp, read, file, maxcount);
file              590 fs/nfsd/nfscache.c int nfsd_reply_cache_stats_open(struct inode *inode, struct file *file)
file              592 fs/nfsd/nfscache.c 	struct nfsd_net *nn = net_generic(file_inode(file)->i_sb->s_fs_info,
file              595 fs/nfsd/nfscache.c 	return single_open(file, nfsd_reply_cache_stats_show, nn);
file               64 fs/nfsd/nfsctl.c static ssize_t write_filehandle(struct file *file, char *buf, size_t size);
file               65 fs/nfsd/nfsctl.c static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size);
file               66 fs/nfsd/nfsctl.c static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size);
file               67 fs/nfsd/nfsctl.c static ssize_t write_threads(struct file *file, char *buf, size_t size);
file               68 fs/nfsd/nfsctl.c static ssize_t write_pool_threads(struct file *file, char *buf, size_t size);
file               69 fs/nfsd/nfsctl.c static ssize_t write_versions(struct file *file, char *buf, size_t size);
file               70 fs/nfsd/nfsctl.c static ssize_t write_ports(struct file *file, char *buf, size_t size);
file               71 fs/nfsd/nfsctl.c static ssize_t write_maxblksize(struct file *file, char *buf, size_t size);
file               72 fs/nfsd/nfsctl.c static ssize_t write_maxconn(struct file *file, char *buf, size_t size);
file               74 fs/nfsd/nfsctl.c static ssize_t write_leasetime(struct file *file, char *buf, size_t size);
file               75 fs/nfsd/nfsctl.c static ssize_t write_gracetime(struct file *file, char *buf, size_t size);
file               76 fs/nfsd/nfsctl.c static ssize_t write_recoverydir(struct file *file, char *buf, size_t size);
file               77 fs/nfsd/nfsctl.c static ssize_t write_v4_end_grace(struct file *file, char *buf, size_t size);
file               80 fs/nfsd/nfsctl.c static ssize_t (*const write_op[])(struct file *, char *, size_t) = {
file               98 fs/nfsd/nfsctl.c static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos)
file              100 fs/nfsd/nfsctl.c 	ino_t ino =  file_inode(file)->i_ino;
file              107 fs/nfsd/nfsctl.c 	data = simple_transaction_get(file, buf, size);
file              111 fs/nfsd/nfsctl.c 	rv =  write_op[ino](file, data, size);
file              113 fs/nfsd/nfsctl.c 		simple_transaction_set(file, rv);
file              119 fs/nfsd/nfsctl.c static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos)
file              121 fs/nfsd/nfsctl.c 	if (! file->private_data) {
file              126 fs/nfsd/nfsctl.c 		ssize_t rv = nfsctl_transaction_write(file, buf, 0, pos);
file              130 fs/nfsd/nfsctl.c 	return simple_transaction_read(file, buf, size, pos);
file              140 fs/nfsd/nfsctl.c static int exports_net_open(struct net *net, struct file *file)
file              146 fs/nfsd/nfsctl.c 	err = seq_open(file, &nfs_exports_op);
file              150 fs/nfsd/nfsctl.c 	seq = file->private_data;
file              155 fs/nfsd/nfsctl.c static int exports_proc_open(struct inode *inode, struct file *file)
file              157 fs/nfsd/nfsctl.c 	return exports_net_open(current->nsproxy->net_ns, file);
file              167 fs/nfsd/nfsctl.c static int exports_nfsd_open(struct inode *inode, struct file *file)
file              169 fs/nfsd/nfsctl.c 	return exports_net_open(inode->i_sb->s_fs_info, file);
file              185 fs/nfsd/nfsctl.c static int export_features_open(struct inode *inode, struct file *file)
file              187 fs/nfsd/nfsctl.c 	return single_open(file, export_features_show, NULL);
file              204 fs/nfsd/nfsctl.c static int supported_enctypes_open(struct inode *inode, struct file *file)
file              206 fs/nfsd/nfsctl.c 	return single_open(file, supported_enctypes_show, NULL);
file              236 fs/nfsd/nfsctl.c static inline struct net *netns(struct file *file)
file              238 fs/nfsd/nfsctl.c 	return file_inode(file)->i_sb->s_fs_info;
file              255 fs/nfsd/nfsctl.c static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size)
file              261 fs/nfsd/nfsctl.c 	struct net *net = netns(file);
file              294 fs/nfsd/nfsctl.c static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size)
file              351 fs/nfsd/nfsctl.c static ssize_t write_filehandle(struct file *file, char *buf, size_t size)
file              393 fs/nfsd/nfsctl.c 	len = exp_rootfh(netns(file), dom, path, &fh,  maxsize);
file              433 fs/nfsd/nfsctl.c static ssize_t write_threads(struct file *file, char *buf, size_t size)
file              437 fs/nfsd/nfsctl.c 	struct net *net = netns(file);
file              446 fs/nfsd/nfsctl.c 		rv = nfsd_svc(newthreads, net, file->f_cred);
file              477 fs/nfsd/nfsctl.c static ssize_t write_pool_threads(struct file *file, char *buf, size_t size)
file              488 fs/nfsd/nfsctl.c 	struct net *net = netns(file);
file              564 fs/nfsd/nfsctl.c static ssize_t __write_versions(struct file *file, char *buf, size_t size)
file              571 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file              696 fs/nfsd/nfsctl.c static ssize_t write_versions(struct file *file, char *buf, size_t size)
file              701 fs/nfsd/nfsctl.c 	rv = __write_versions(file, buf, size);
file              799 fs/nfsd/nfsctl.c static ssize_t __write_ports(struct file *file, char *buf, size_t size,
file              806 fs/nfsd/nfsctl.c 		return __write_ports_addfd(buf, net, file->f_cred);
file              809 fs/nfsd/nfsctl.c 		return __write_ports_addxprt(buf, net, file->f_cred);
file              857 fs/nfsd/nfsctl.c static ssize_t write_ports(struct file *file, char *buf, size_t size)
file              862 fs/nfsd/nfsctl.c 	rv = __write_ports(file, buf, size, netns(file));
file              891 fs/nfsd/nfsctl.c static ssize_t write_maxblksize(struct file *file, char *buf, size_t size)
file              894 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file              940 fs/nfsd/nfsctl.c static ssize_t write_maxconn(struct file *file, char *buf, size_t size)
file              943 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file              958 fs/nfsd/nfsctl.c static ssize_t __nfsd4_write_time(struct file *file, char *buf, size_t size,
file              990 fs/nfsd/nfsctl.c static ssize_t nfsd4_write_time(struct file *file, char *buf, size_t size,
file              996 fs/nfsd/nfsctl.c 	rv = __nfsd4_write_time(file, buf, size, time, nn);
file             1022 fs/nfsd/nfsctl.c static ssize_t write_leasetime(struct file *file, char *buf, size_t size)
file             1024 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file             1025 fs/nfsd/nfsctl.c 	return nfsd4_write_time(file, buf, size, &nn->nfsd4_lease, nn);
file             1038 fs/nfsd/nfsctl.c static ssize_t write_gracetime(struct file *file, char *buf, size_t size)
file             1040 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file             1041 fs/nfsd/nfsctl.c 	return nfsd4_write_time(file, buf, size, &nn->nfsd4_grace, nn);
file             1044 fs/nfsd/nfsctl.c static ssize_t __write_recoverydir(struct file *file, char *buf, size_t size,
file             1093 fs/nfsd/nfsctl.c static ssize_t write_recoverydir(struct file *file, char *buf, size_t size)
file             1096 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file             1099 fs/nfsd/nfsctl.c 	rv = __write_recoverydir(file, buf, size, nn);
file             1124 fs/nfsd/nfsctl.c static ssize_t write_v4_end_grace(struct file *file, char *buf, size_t size)
file             1126 fs/nfsd/nfsctl.c 	struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
file               85 fs/nfsd/nfsd.h int		nfsd_pool_stats_open(struct inode *, struct file *);
file               86 fs/nfsd/nfsd.h int		nfsd_pool_stats_release(struct inode *, struct file *);
file             1060 fs/nfsd/nfssvc.c int nfsd_pool_stats_open(struct inode *inode, struct file *file)
file             1072 fs/nfsd/nfssvc.c 	ret = svc_pool_stats_open(nn->nfsd_serv, file);
file             1077 fs/nfsd/nfssvc.c int nfsd_pool_stats_release(struct inode *inode, struct file *file)
file             1079 fs/nfsd/nfssvc.c 	int ret = seq_release(inode, file);
file               82 fs/nfsd/stats.c static int nfsd_proc_open(struct inode *inode, struct file *file)
file               84 fs/nfsd/stats.c 	return single_open(file, nfsd_proc_show, NULL);
file              193 fs/nfsd/trace.h 		__field(struct file *, nf_file)
file              238 fs/nfsd/trace.h 		__field(struct file *, nf_file)
file              533 fs/nfsd/vfs.c  __be32 nfsd4_clone_file_range(struct file *src, u64 src_pos, struct file *dst,
file              555 fs/nfsd/vfs.c  ssize_t nfsd_copy_file_range(struct file *src, u64 src_pos, struct file *dst,
file              572 fs/nfsd/vfs.c  			   struct file *file, loff_t offset, loff_t len,
file              577 fs/nfsd/vfs.c  	if (!S_ISREG(file_inode(file)->i_mode))
file              580 fs/nfsd/vfs.c  	error = vfs_fallocate(file, flags, offset, len);
file              708 fs/nfsd/vfs.c  			int may_flags, struct file **filp)
file              712 fs/nfsd/vfs.c  	struct file	*file;
file              749 fs/nfsd/vfs.c  	file = dentry_open(&path, flags, current_cred());
file              750 fs/nfsd/vfs.c  	if (IS_ERR(file)) {
file              751 fs/nfsd/vfs.c  		host_err = PTR_ERR(file);
file              755 fs/nfsd/vfs.c  	host_err = ima_file_check(file, may_flags);
file              757 fs/nfsd/vfs.c  		fput(file);
file              762 fs/nfsd/vfs.c  		file->f_mode |= FMODE_64BITHASH;
file              764 fs/nfsd/vfs.c  		file->f_mode |= FMODE_32BITHASH;
file              766 fs/nfsd/vfs.c  	*filp = file;
file              775 fs/nfsd/vfs.c  		int may_flags, struct file **filp)
file              802 fs/nfsd/vfs.c  		int may_flags, struct file **filp)
file              852 fs/nfsd/vfs.c  static u32 nfsd_eof_on_read(struct file *file, loff_t offset, ssize_t len,
file              857 fs/nfsd/vfs.c  	if (offset+len >= i_size_read(file_inode(file)))
file              863 fs/nfsd/vfs.c  			       struct file *file, loff_t offset,
file              868 fs/nfsd/vfs.c  		*eof = nfsd_eof_on_read(file, offset, host_err, *count);
file              870 fs/nfsd/vfs.c  		fsnotify_access(file);
file              880 fs/nfsd/vfs.c  			struct file *file, loff_t offset, unsigned long *count,
file              893 fs/nfsd/vfs.c  	host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor);
file              894 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
file              898 fs/nfsd/vfs.c  		  struct file *file, loff_t offset,
file              908 fs/nfsd/vfs.c  	host_err = vfs_iter_read(file, &iter, &ppos, 0);
file              909 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
file              926 fs/nfsd/vfs.c  static int wait_for_concurrent_writes(struct file *file)
file              928 fs/nfsd/vfs.c  	struct inode *inode = file_inode(file);
file              942 fs/nfsd/vfs.c  		err = vfs_fsync(file, 0);
file              950 fs/nfsd/vfs.c  nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file,
file              984 fs/nfsd/vfs.c  	host_err = vfs_iter_write(file, &iter, &pos, flags);
file              989 fs/nfsd/vfs.c  	fsnotify_modify(file);
file              992 fs/nfsd/vfs.c  		host_err = wait_for_concurrent_writes(file);
file             1021 fs/nfsd/vfs.c  	struct file *file;
file             1029 fs/nfsd/vfs.c  	file = nf->nf_file;
file             1030 fs/nfsd/vfs.c  	if (file->f_op->splice_read && test_bit(RQ_SPLICE_OK, &rqstp->rq_flags))
file             1031 fs/nfsd/vfs.c  		err = nfsd_splice_read(rqstp, fhp, file, offset, count, eof);
file             1033 fs/nfsd/vfs.c  		err = nfsd_readv(rqstp, fhp, file, offset, vec, vlen, count, eof);
file             1880 fs/nfsd/vfs.c  static __be32 nfsd_buffered_readdir(struct file *file, nfsd_filldir_t func,
file             1904 fs/nfsd/vfs.c  		host_err = iterate_dir(file, &buf.ctx);
file             1935 fs/nfsd/vfs.c  		offset = vfs_llseek(file, 0, SEEK_CUR);
file             1956 fs/nfsd/vfs.c  	struct file	*file;
file             1964 fs/nfsd/vfs.c  	err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file);
file             1968 fs/nfsd/vfs.c  	offset = vfs_llseek(file, offset, SEEK_SET);
file             1974 fs/nfsd/vfs.c  	err = nfsd_buffered_readdir(file, func, cdp, offsetp);
file             1979 fs/nfsd/vfs.c  	fput(file);
file               57 fs/nfsd/vfs.h  				    struct file *, loff_t, loff_t, int);
file               58 fs/nfsd/vfs.h  __be32		nfsd4_clone_file_range(struct file *, u64, struct file *,
file               78 fs/nfsd/vfs.h  				int, struct file **);
file               80 fs/nfsd/vfs.h  				int, struct file **);
file               82 fs/nfsd/vfs.h  				struct file *file, loff_t offset,
file               86 fs/nfsd/vfs.h  				struct file *file, loff_t offset,
file               96 fs/nfsd/vfs.h  				struct file *file, loff_t offset,
file              106 fs/nfsd/vfs.h  ssize_t		nfsd_copy_file_range(struct file *, u64,
file              107 fs/nfsd/vfs.h  				     struct file *, u64, u64);
file              263 fs/nilfs2/dir.c static int nilfs_readdir(struct file *file, struct dir_context *ctx)
file              266 fs/nilfs2/dir.c 	struct inode *inode = file_inode(file);
file               16 fs/nilfs2/file.c int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
file               27 fs/nilfs2/file.c 	struct inode *inode = file->f_mapping->host;
file              120 fs/nilfs2/file.c static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
file              122 fs/nilfs2/file.c 	file_accessed(file);
file              143 fs/nilfs2/inode.c static int nilfs_readpage(struct file *file, struct page *page)
file              156 fs/nilfs2/inode.c static int nilfs_readpages(struct file *file, struct address_space *mapping,
file              256 fs/nilfs2/inode.c static int nilfs_write_begin(struct file *file, struct address_space *mapping,
file              276 fs/nilfs2/inode.c static int nilfs_write_end(struct file *file, struct address_space *mapping,
file              287 fs/nilfs2/inode.c 	copied = generic_write_end(file, mapping, pos, len, copied, page,
file              128 fs/nilfs2/ioctl.c static int nilfs_ioctl_setflags(struct inode *inode, struct file *filp,
file              202 fs/nilfs2/ioctl.c static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp,
file              257 fs/nilfs2/ioctl.c nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp,
file              336 fs/nilfs2/ioctl.c static int nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp,
file              403 fs/nilfs2/ioctl.c static int nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp,
file              512 fs/nilfs2/ioctl.c static int nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp,
file              859 fs/nilfs2/ioctl.c static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp,
file              998 fs/nilfs2/ioctl.c static int nilfs_ioctl_sync(struct inode *inode, struct file *filp,
file             1032 fs/nilfs2/ioctl.c static int nilfs_ioctl_resize(struct inode *inode, struct file *filp,
file             1164 fs/nilfs2/ioctl.c static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp,
file             1215 fs/nilfs2/ioctl.c static int nilfs_ioctl_set_suinfo(struct inode *inode, struct file *filp,
file             1280 fs/nilfs2/ioctl.c long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file             1332 fs/nilfs2/ioctl.c long nilfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              243 fs/nilfs2/nilfs.h extern int nilfs_sync_file(struct file *, loff_t, loff_t, int);
file              246 fs/nilfs2/nilfs.h long nilfs_ioctl(struct file *, unsigned int, unsigned long);
file              247 fs/nilfs2/nilfs.h long nilfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file               11 fs/no-block.c  static int no_blkdev_open(struct inode * inode, struct file * filp)
file              141 fs/notify/dnotify/dnotify.c void dnotify_flush(struct file *filp, fl_owner_t id)
file              219 fs/notify/dnotify/dnotify.c 		     fl_owner_t id, int fd, struct file *filp, __u32 mask)
file              249 fs/notify/dnotify/dnotify.c int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
file              256 fs/notify/dnotify/dnotify.c 	struct file *f;
file              101 fs/notify/fanotify/fanotify_user.c 		     struct file **file)
file              104 fs/notify/fanotify/fanotify_user.c 	struct file *new_file;
file              135 fs/notify/fanotify/fanotify_user.c 		*file = new_file;
file              265 fs/notify/fanotify/fanotify_user.c 	struct file *f = NULL;
file              320 fs/notify/fanotify/fanotify_user.c static __poll_t fanotify_poll(struct file *file, poll_table *wait)
file              322 fs/notify/fanotify/fanotify_user.c 	struct fsnotify_group *group = file->private_data;
file              325 fs/notify/fanotify/fanotify_user.c 	poll_wait(file, &group->notification_waitq, wait);
file              334 fs/notify/fanotify/fanotify_user.c static ssize_t fanotify_read(struct file *file, char __user *buf,
file              344 fs/notify/fanotify/fanotify_user.c 	group = file->private_data;
file              358 fs/notify/fanotify/fanotify_user.c 			if (file->f_flags & O_NONBLOCK)
file              414 fs/notify/fanotify/fanotify_user.c static ssize_t fanotify_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
file              423 fs/notify/fanotify/fanotify_user.c 	group = file->private_data;
file              440 fs/notify/fanotify/fanotify_user.c static int fanotify_release(struct inode *ignored, struct file *file)
file              442 fs/notify/fanotify/fanotify_user.c 	struct fsnotify_group *group = file->private_data;
file              493 fs/notify/fanotify/fanotify_user.c static long fanotify_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              501 fs/notify/fanotify/fanotify_user.c 	group = file->private_data;
file              543 fs/notify/fanotify/fanotify_user.c 		if (!f.file)
file              548 fs/notify/fanotify/fanotify_user.c 		    !(S_ISDIR(file_inode(f.file)->i_mode))) {
file              553 fs/notify/fanotify/fanotify_user.c 		*path = f.file->f_path;
file             1006 fs/notify/fanotify/fanotify_user.c 	if (unlikely(!f.file))
file             1011 fs/notify/fanotify/fanotify_user.c 	if (unlikely(f.file->f_op != &fanotify_fops))
file             1013 fs/notify/fanotify/fanotify_user.c 	group = f.file->private_data;
file               25 fs/notify/fdinfo.c static void show_fdinfo(struct seq_file *m, struct file *f,
file              103 fs/notify/fdinfo.c void inotify_show_fdinfo(struct seq_file *m, struct file *f)
file              143 fs/notify/fdinfo.c void fanotify_show_fdinfo(struct seq_file *m, struct file *f)
file                9 fs/notify/fdinfo.h struct file;
file               14 fs/notify/fdinfo.h void inotify_show_fdinfo(struct seq_file *m, struct file *f);
file               18 fs/notify/fdinfo.h void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
file              143 fs/notify/group.c int fsnotify_fasync(int fd, struct file *file, int on)
file              145 fs/notify/group.c 	struct fsnotify_group *group = file->private_data;
file              147 fs/notify/group.c 	return fasync_helper(fd, file, on, &group->fsn_fa) >= 0 ? 0 : -EIO;
file              101 fs/notify/inotify/inotify_user.c static __poll_t inotify_poll(struct file *file, poll_table *wait)
file              103 fs/notify/inotify/inotify_user.c 	struct fsnotify_group *group = file->private_data;
file              106 fs/notify/inotify/inotify_user.c 	poll_wait(file, &group->notification_waitq, wait);
file              212 fs/notify/inotify/inotify_user.c static ssize_t inotify_read(struct file *file, char __user *buf,
file              222 fs/notify/inotify/inotify_user.c 	group = file->private_data;
file              246 fs/notify/inotify/inotify_user.c 		if (file->f_flags & O_NONBLOCK)
file              264 fs/notify/inotify/inotify_user.c static int inotify_release(struct inode *ignored, struct file *file)
file              266 fs/notify/inotify/inotify_user.c 	struct fsnotify_group *group = file->private_data;
file              276 fs/notify/inotify/inotify_user.c static long inotify_ioctl(struct file *file, unsigned int cmd,
file              285 fs/notify/inotify/inotify_user.c 	group = file->private_data;
file              725 fs/notify/inotify/inotify_user.c 	if (unlikely(!f.file))
file              735 fs/notify/inotify/inotify_user.c 	if (unlikely(f.file->f_op != &inotify_fops)) {
file              752 fs/notify/inotify/inotify_user.c 	group = f.file->private_data;
file              770 fs/notify/inotify/inotify_user.c 	if (unlikely(!f.file))
file              775 fs/notify/inotify/inotify_user.c 	if (unlikely(f.file->f_op != &inotify_fops))
file              778 fs/notify/inotify/inotify_user.c 	group = f.file->private_data;
file               16 fs/nsfs.c      static long ns_ioctl(struct file *filp, unsigned int ioctl,
file              149 fs/nsfs.c      	struct file *f;
file              186 fs/nsfs.c      static long ns_ioctl(struct file *filp, unsigned int ioctl,
file              230 fs/nsfs.c      struct file *proc_ns_fget(int fd)
file              232 fs/nsfs.c      	struct file *file;
file              234 fs/nsfs.c      	file = fget(fd);
file              235 fs/nsfs.c      	if (!file)
file              238 fs/nsfs.c      	if (file->f_op != &ns_file_operations)
file              241 fs/nsfs.c      	return file;
file              244 fs/nsfs.c      	fput(file);
file              381 fs/ntfs/aops.c static int ntfs_readpage(struct file *file, struct page *page)
file              101 fs/ntfs/debug.c void __ntfs_debug(const char *file, int line, const char *function,
file              115 fs/ntfs/debug.c 	pr_debug("(%s, %d): %s(): %pV", file, line, flen ? function : "", &vaf);
file               20 fs/ntfs/debug.h void __ntfs_debug(const char *file, int line, const char *function,
file             1085 fs/ntfs/dir.c  static int ntfs_readdir(struct file *file, struct dir_context *actor)
file             1089 fs/ntfs/dir.c  	struct inode *bmp_vi, *vdir = file_inode(file);
file             1112 fs/ntfs/dir.c  	if (!dir_emit_dots(file, actor))
file             1450 fs/ntfs/dir.c  static int ntfs_dir_open(struct inode *vi, struct file *filp)
file             1486 fs/ntfs/dir.c  static int ntfs_dir_fsync(struct file *filp, loff_t start, loff_t end,
file               48 fs/ntfs/file.c static int ntfs_file_open(struct inode *vi, struct file *filp)
file              324 fs/ntfs/file.c 	struct file *file = iocb->ki_filp;
file              325 fs/ntfs/file.c 	struct inode *vi = file_inode(file);
file              371 fs/ntfs/file.c 	err = file_remove_privs(file);
file              378 fs/ntfs/file.c 	file_update_time(file);
file             1730 fs/ntfs/file.c static ssize_t ntfs_perform_write(struct file *file, struct iov_iter *i,
file             1733 fs/ntfs/file.c 	struct address_space *mapping = file->f_mapping;
file             1927 fs/ntfs/file.c 	struct file *file = iocb->ki_filp;
file             1928 fs/ntfs/file.c 	struct inode *vi = file_inode(file);
file             1937 fs/ntfs/file.c 		written = ntfs_perform_write(file, from, iocb->ki_pos);
file             1970 fs/ntfs/file.c static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,
file              281 fs/ocfs2/aops.c static int ocfs2_readpage(struct file *file, struct page *page)
file              354 fs/ocfs2/aops.c static int ocfs2_readpages(struct file *filp, struct address_space *mapping,
file             1895 fs/ocfs2/aops.c static int ocfs2_write_begin(struct file *file, struct address_space *mapping,
file             2077 fs/ocfs2/aops.c static int ocfs2_write_end(struct file *file, struct address_space *mapping,
file             2449 fs/ocfs2/aops.c 	struct file *file = iocb->ki_filp;
file             2450 fs/ocfs2/aops.c 	struct inode *inode = file->f_mapping->host;
file             1276 fs/ocfs2/cluster/heartbeat.c static int o2hb_debug_open(struct inode *inode, struct file *file)
file             1342 fs/ocfs2/cluster/heartbeat.c 	file->private_data = buf;
file             1349 fs/ocfs2/cluster/heartbeat.c static int o2hb_debug_release(struct inode *inode, struct file *file)
file             1351 fs/ocfs2/cluster/heartbeat.c 	kfree(file->private_data);
file             1355 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_debug_read(struct file *file, char __user *buf,
file             1358 fs/ocfs2/cluster/heartbeat.c 	return simple_read_from_buffer(buf, nbytes, ppos, file->private_data,
file             1359 fs/ocfs2/cluster/heartbeat.c 				       i_size_read(file->f_mapping->host));
file             1362 fs/ocfs2/cluster/heartbeat.c static int o2hb_debug_open(struct inode *inode, struct file *file)
file             1366 fs/ocfs2/cluster/heartbeat.c static int o2hb_debug_release(struct inode *inode, struct file *file)
file             1370 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_debug_read(struct file *file, char __user *buf,
file             1791 fs/ocfs2/cluster/heartbeat.c 	if (f.file == NULL)
file             1798 fs/ocfs2/cluster/heartbeat.c 	inode = igrab(f.file->f_mapping->host);
file             1805 fs/ocfs2/cluster/heartbeat.c 	reg->hr_bdev = I_BDEV(f.file->f_mapping->host);
file              166 fs/ocfs2/cluster/netdebug.c static int nst_fop_open(struct inode *inode, struct file *file)
file              170 fs/ocfs2/cluster/netdebug.c 	dummy_nst = __seq_open_private(file, &nst_seq_ops, sizeof(*dummy_nst));
file              178 fs/ocfs2/cluster/netdebug.c static int nst_fop_release(struct inode *inode, struct file *file)
file              180 fs/ocfs2/cluster/netdebug.c 	struct seq_file *seq = file->private_data;
file              184 fs/ocfs2/cluster/netdebug.c 	return seq_release_private(inode, file);
file              380 fs/ocfs2/cluster/netdebug.c static int sc_common_open(struct file *file, int ctxt)
file              389 fs/ocfs2/cluster/netdebug.c 	sd = __seq_open_private(file, &sc_seq_ops, sizeof(*sd));
file              403 fs/ocfs2/cluster/netdebug.c static int sc_fop_release(struct inode *inode, struct file *file)
file              405 fs/ocfs2/cluster/netdebug.c 	struct seq_file *seq = file->private_data;
file              411 fs/ocfs2/cluster/netdebug.c 	return seq_release_private(inode, file);
file              414 fs/ocfs2/cluster/netdebug.c static int stats_fop_open(struct inode *inode, struct file *file)
file              416 fs/ocfs2/cluster/netdebug.c 	return sc_common_open(file, SHOW_SOCK_STATS);
file              426 fs/ocfs2/cluster/netdebug.c static int sc_fop_open(struct inode *inode, struct file *file)
file              428 fs/ocfs2/cluster/netdebug.c 	return sc_common_open(file, SHOW_SOCK_CONTAINERS);
file              452 fs/ocfs2/cluster/netdebug.c static int nodes_fop_open(struct inode *inode, struct file *file)
file              462 fs/ocfs2/cluster/netdebug.c 	file->private_data = buf;
file              467 fs/ocfs2/cluster/netdebug.c static int o2net_debug_release(struct inode *inode, struct file *file)
file              469 fs/ocfs2/cluster/netdebug.c 	kfree(file->private_data);
file              473 fs/ocfs2/cluster/netdebug.c static ssize_t o2net_debug_read(struct file *file, char __user *buf,
file              476 fs/ocfs2/cluster/netdebug.c 	return simple_read_from_buffer(buf, nbytes, ppos, file->private_data,
file              477 fs/ocfs2/cluster/netdebug.c 				       i_size_read(file->f_mapping->host));
file             1926 fs/ocfs2/dir.c int ocfs2_readdir(struct file *file, struct dir_context *ctx)
file             1929 fs/ocfs2/dir.c 	struct inode *inode = file_inode(file);
file             1934 fs/ocfs2/dir.c 	error = ocfs2_inode_lock_atime(inode, file->f_path.mnt, &lock_level, 1);
file             1950 fs/ocfs2/dir.c 	error = ocfs2_dir_foreach_blk(inode, &file->f_version, ctx, false);
file               81 fs/ocfs2/dir.h int ocfs2_readdir(struct file *file, struct dir_context *ctx);
file              335 fs/ocfs2/dlm/dlmdebug.c static int debug_release(struct inode *inode, struct file *file)
file              337 fs/ocfs2/dlm/dlmdebug.c 	free_page((unsigned long)file->private_data);
file              341 fs/ocfs2/dlm/dlmdebug.c static ssize_t debug_read(struct file *file, char __user *buf,
file              344 fs/ocfs2/dlm/dlmdebug.c 	return simple_read_from_buffer(buf, nbytes, ppos, file->private_data,
file              345 fs/ocfs2/dlm/dlmdebug.c 				       i_size_read(file->f_mapping->host));
file              379 fs/ocfs2/dlm/dlmdebug.c static int debug_purgelist_open(struct inode *inode, struct file *file)
file              390 fs/ocfs2/dlm/dlmdebug.c 	file->private_data = buf;
file              436 fs/ocfs2/dlm/dlmdebug.c static int debug_mle_open(struct inode *inode, struct file *file)
file              447 fs/ocfs2/dlm/dlmdebug.c 	file->private_data = buf;
file              612 fs/ocfs2/dlm/dlmdebug.c static int debug_lockres_open(struct inode *inode, struct file *file)
file              622 fs/ocfs2/dlm/dlmdebug.c 	dl = __seq_open_private(file, &debug_lockres_ops, sizeof(*dl));
file              641 fs/ocfs2/dlm/dlmdebug.c static int debug_lockres_release(struct inode *inode, struct file *file)
file              643 fs/ocfs2/dlm/dlmdebug.c 	struct seq_file *seq = file->private_data;
file              650 fs/ocfs2/dlm/dlmdebug.c 	return seq_release_private(inode, file);
file              827 fs/ocfs2/dlm/dlmdebug.c static int debug_state_open(struct inode *inode, struct file *file)
file              838 fs/ocfs2/dlm/dlmdebug.c 	file->private_data = buf;
file              119 fs/ocfs2/dlmfs/dlmfs.c 			   struct file *file)
file              129 fs/ocfs2/dlmfs/dlmfs.c 		file->f_flags);
file              131 fs/ocfs2/dlmfs/dlmfs.c 	status = dlmfs_decode_open_flags(file->f_flags, &level, &flags);
file              137 fs/ocfs2/dlmfs/dlmfs.c 	file->f_flags &= ~O_APPEND;
file              160 fs/ocfs2/dlmfs/dlmfs.c 	file->private_data = fp;
file              166 fs/ocfs2/dlmfs/dlmfs.c 			      struct file *file)
file              170 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_filp_private *fp = file->private_data;
file              183 fs/ocfs2/dlmfs/dlmfs.c 		file->private_data = NULL;
file              208 fs/ocfs2/dlmfs/dlmfs.c static __poll_t dlmfs_file_poll(struct file *file, poll_table *wait)
file              211 fs/ocfs2/dlmfs/dlmfs.c 	struct inode *inode = file_inode(file);
file              214 fs/ocfs2/dlmfs/dlmfs.c 	poll_wait(file, &ip->ip_lockres.l_event, wait);
file              224 fs/ocfs2/dlmfs/dlmfs.c static ssize_t dlmfs_file_read(struct file *filp,
file              272 fs/ocfs2/dlmfs/dlmfs.c static ssize_t dlmfs_file_write(struct file *filp,
file             1968 fs/ocfs2/dlmglue.c int ocfs2_file_lock(struct file *file, int ex, int trylock)
file             1973 fs/ocfs2/dlmglue.c 	struct ocfs2_file_private *fp = file->private_data;
file             1975 fs/ocfs2/dlmglue.c 	struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
file             2064 fs/ocfs2/dlmglue.c void ocfs2_file_unlock(struct file *file)
file             2069 fs/ocfs2/dlmglue.c 	struct ocfs2_file_private *fp = file->private_data;
file             2071 fs/ocfs2/dlmglue.c 	struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
file             3236 fs/ocfs2/dlmglue.c static int ocfs2_dlm_debug_release(struct inode *inode, struct file *file)
file             3238 fs/ocfs2/dlmglue.c 	struct seq_file *seq = file->private_data;
file             3244 fs/ocfs2/dlmglue.c 	return seq_release_private(inode, file);
file             3247 fs/ocfs2/dlmglue.c static int ocfs2_dlm_debug_open(struct inode *inode, struct file *file)
file             3252 fs/ocfs2/dlmglue.c 	priv = __seq_open_private(file, &ocfs2_dlm_seq_ops, sizeof(*priv));
file              178 fs/ocfs2/dlmglue.h int ocfs2_file_lock(struct file *file, int ex, int trylock);
file              179 fs/ocfs2/dlmglue.h void ocfs2_file_unlock(struct file *file);
file              866 fs/ocfs2/extent_map.c int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int whence)
file              868 fs/ocfs2/extent_map.c 	struct inode *inode = file->f_mapping->host;
file               46 fs/ocfs2/extent_map.h int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int origin);
file               54 fs/ocfs2/file.c static int ocfs2_init_file_private(struct inode *inode, struct file *file)
file               62 fs/ocfs2/file.c 	fp->fp_file = file;
file               65 fs/ocfs2/file.c 	file->private_data = fp;
file               70 fs/ocfs2/file.c static void ocfs2_free_file_private(struct inode *inode, struct file *file)
file               72 fs/ocfs2/file.c 	struct ocfs2_file_private *fp = file->private_data;
file               79 fs/ocfs2/file.c 		file->private_data = NULL;
file               83 fs/ocfs2/file.c static int ocfs2_file_open(struct inode *inode, struct file *file)
file               86 fs/ocfs2/file.c 	int mode = file->f_flags;
file               89 fs/ocfs2/file.c 	trace_ocfs2_file_open(inode, file, file->f_path.dentry,
file               91 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.len,
file               92 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.name, mode);
file               94 fs/ocfs2/file.c 	if (file->f_mode & FMODE_WRITE) {
file              118 fs/ocfs2/file.c 	status = ocfs2_init_file_private(inode, file);
file              129 fs/ocfs2/file.c 	file->f_mode |= FMODE_NOWAIT;
file              135 fs/ocfs2/file.c static int ocfs2_file_release(struct inode *inode, struct file *file)
file              143 fs/ocfs2/file.c 	trace_ocfs2_file_release(inode, file, file->f_path.dentry,
file              145 fs/ocfs2/file.c 				 file->f_path.dentry->d_name.len,
file              146 fs/ocfs2/file.c 				 file->f_path.dentry->d_name.name,
file              150 fs/ocfs2/file.c 	ocfs2_free_file_private(inode, file);
file              155 fs/ocfs2/file.c static int ocfs2_dir_open(struct inode *inode, struct file *file)
file              157 fs/ocfs2/file.c 	return ocfs2_init_file_private(inode, file);
file              160 fs/ocfs2/file.c static int ocfs2_dir_release(struct inode *inode, struct file *file)
file              162 fs/ocfs2/file.c 	ocfs2_free_file_private(inode, file);
file              166 fs/ocfs2/file.c static int ocfs2_sync_file(struct file *file, loff_t start, loff_t end,
file              170 fs/ocfs2/file.c 	struct inode *inode = file->f_mapping->host;
file              178 fs/ocfs2/file.c 	trace_ocfs2_sync_file(inode, file, file->f_path.dentry,
file              180 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.len,
file              181 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.name,
file              187 fs/ocfs2/file.c 	err = file_write_and_wait_range(file, start, end);
file             1857 fs/ocfs2/file.c static int __ocfs2_change_file_space(struct file *file, struct inode *inode,
file             1929 fs/ocfs2/file.c 	if (file && should_remove_suid(file->f_path.dentry)) {
file             1980 fs/ocfs2/file.c 	if (file && (file->f_flags & O_SYNC))
file             1996 fs/ocfs2/file.c int ocfs2_change_file_space(struct file *file, unsigned int cmd,
file             1999 fs/ocfs2/file.c 	struct inode *inode = file_inode(file);
file             2013 fs/ocfs2/file.c 	if (!(file->f_mode & FMODE_WRITE))
file             2016 fs/ocfs2/file.c 	ret = mnt_want_write_file(file);
file             2019 fs/ocfs2/file.c 	ret = __ocfs2_change_file_space(file, inode, file->f_pos, cmd, sr, 0);
file             2020 fs/ocfs2/file.c 	mnt_drop_write_file(file);
file             2024 fs/ocfs2/file.c static long ocfs2_fallocate(struct file *file, int mode, loff_t offset,
file             2027 fs/ocfs2/file.c 	struct inode *inode = file_inode(file);
file             2160 fs/ocfs2/file.c static int ocfs2_prepare_inode_for_write(struct file *file,
file             2165 fs/ocfs2/file.c 	struct dentry *dentry = file->f_path.dentry;
file             2282 fs/ocfs2/file.c 	struct file *file = iocb->ki_filp;
file             2283 fs/ocfs2/file.c 	struct inode *inode = file_inode(file);
file             2293 fs/ocfs2/file.c 	trace_ocfs2_file_write_iter(inode, file, file->f_path.dentry,
file             2295 fs/ocfs2/file.c 		file->f_path.dentry->d_name.len,
file             2296 fs/ocfs2/file.c 		file->f_path.dentry->d_name.name,
file             2359 fs/ocfs2/file.c 	ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait);
file             2397 fs/ocfs2/file.c 	if (((file->f_flags & O_DSYNC) && !direct_io) ||
file             2399 fs/ocfs2/file.c 		ret = filemap_fdatawrite_range(file->f_mapping,
file             2412 fs/ocfs2/file.c 			ret = filemap_fdatawait_range(file->f_mapping,
file             2436 fs/ocfs2/file.c 	struct file *filp = iocb->ki_filp;
file             2514 fs/ocfs2/file.c static loff_t ocfs2_file_llseek(struct file *file, loff_t offset, int whence)
file             2516 fs/ocfs2/file.c 	struct inode *inode = file->f_mapping->host;
file             2538 fs/ocfs2/file.c 			offset = file->f_pos;
file             2541 fs/ocfs2/file.c 		offset += file->f_pos;
file             2545 fs/ocfs2/file.c 		ret = ocfs2_seek_data_hole_offset(file, &offset, whence);
file             2554 fs/ocfs2/file.c 	offset = vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
file             2563 fs/ocfs2/file.c static loff_t ocfs2_remap_file_range(struct file *file_in, loff_t pos_in,
file             2564 fs/ocfs2/file.c 				     struct file *file_out, loff_t pos_out,
file               25 fs/ocfs2/file.h 	struct file		*fp_file;
file               64 fs/ocfs2/file.h int ocfs2_change_file_space(struct file *file, unsigned int cmd,
file              836 fs/ocfs2/ioctl.c long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              953 fs/ocfs2/ioctl.c long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file              957 fs/ocfs2/ioctl.c 	struct inode *inode = file_inode(file);
file              994 fs/ocfs2/ioctl.c 	return ocfs2_ioctl(file, cmd, arg);
file               14 fs/ocfs2/ioctl.h long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file               15 fs/ocfs2/ioctl.h long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg);
file               24 fs/ocfs2/locks.c static int ocfs2_do_flock(struct file *file, struct inode *inode,
file               28 fs/ocfs2/locks.c 	struct ocfs2_file_private *fp = file->private_data;
file               59 fs/ocfs2/locks.c 		locks_lock_file_wait(file, &request);
file               61 fs/ocfs2/locks.c 		ocfs2_file_unlock(file);
file               64 fs/ocfs2/locks.c 	ret = ocfs2_file_lock(file, level, trylock);
file               73 fs/ocfs2/locks.c 	ret = locks_lock_file_wait(file, fl);
file               75 fs/ocfs2/locks.c 		ocfs2_file_unlock(file);
file               83 fs/ocfs2/locks.c static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl)
file               86 fs/ocfs2/locks.c 	struct ocfs2_file_private *fp = file->private_data;
file               89 fs/ocfs2/locks.c 	ocfs2_file_unlock(file);
file               90 fs/ocfs2/locks.c 	ret = locks_lock_file_wait(file, fl);
file               99 fs/ocfs2/locks.c int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl)
file              101 fs/ocfs2/locks.c 	struct inode *inode = file->f_mapping->host;
file              111 fs/ocfs2/locks.c 		return locks_lock_file_wait(file, fl);
file              114 fs/ocfs2/locks.c 		return ocfs2_do_funlock(file, cmd, fl);
file              116 fs/ocfs2/locks.c 		return ocfs2_do_flock(file, inode, cmd, fl);
file              119 fs/ocfs2/locks.c int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl)
file              121 fs/ocfs2/locks.c 	struct inode *inode = file->f_mapping->host;
file              129 fs/ocfs2/locks.c 	return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl);
file               15 fs/ocfs2/locks.h int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
file               16 fs/ocfs2/locks.h int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
file               48 fs/ocfs2/mmap.c static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
file               53 fs/ocfs2/mmap.c 	struct inode *inode = file_inode(file);
file              164 fs/ocfs2/mmap.c int ocfs2_mmap(struct file *file, struct vm_area_struct *vma)
file              168 fs/ocfs2/mmap.c 	ret = ocfs2_inode_lock_atime(file_inode(file),
file              169 fs/ocfs2/mmap.c 				    file->f_path.mnt, &lock_level, 1);
file              174 fs/ocfs2/mmap.c 	ocfs2_inode_unlock(file_inode(file), lock_level);
file                5 fs/ocfs2/mmap.h int ocfs2_mmap(struct file *file, struct vm_area_struct *vma);
file               37 fs/ocfs2/move_extents.c 	struct file *file;
file              985 fs/ocfs2/move_extents.c int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp)
file             1018 fs/ocfs2/move_extents.c 	context->file = filp;
file               12 fs/ocfs2/move_extents.h int ocfs2_ioctl_move_extents(struct file *filp,  void __user *argp);
file             1274 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *inode, void *file, void *dentry,
file             1278 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, file, dentry, ino, d_len, d_name, para),
file             1281 fs/ocfs2/ocfs2_trace.h 		__field(void *, file)
file             1290 fs/ocfs2/ocfs2_trace.h 		__entry->file = file;
file             1297 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %p %p %llu %llu %.*s", __entry->inode, __entry->file,
file             1304 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *inode, void *file, void *dentry,			\
file             1308 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, file, dentry, ino, d_len, d_name, mode))
file              173 fs/ocfs2/stack_user.c static inline void ocfs2_control_set_handshake_state(struct file *file,
file              176 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              180 fs/ocfs2/stack_user.c static inline int ocfs2_control_get_handshake_state(struct file *file)
file              182 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              255 fs/ocfs2/stack_user.c static ssize_t ocfs2_control_validate_protocol(struct file *file,
file              270 fs/ocfs2/stack_user.c 	ocfs2_control_set_handshake_state(file,
file              300 fs/ocfs2/stack_user.c static int ocfs2_control_install_private(struct file *file)
file              304 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              339 fs/ocfs2/stack_user.c 		ocfs2_control_set_handshake_state(file,
file              360 fs/ocfs2/stack_user.c static int ocfs2_control_do_setnode_msg(struct file *file,
file              365 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              367 fs/ocfs2/stack_user.c 	if (ocfs2_control_get_handshake_state(file) !=
file              388 fs/ocfs2/stack_user.c 	return ocfs2_control_install_private(file);
file              391 fs/ocfs2/stack_user.c static int ocfs2_control_do_setversion_msg(struct file *file,
file              396 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              400 fs/ocfs2/stack_user.c 	if (ocfs2_control_get_handshake_state(file) !=
file              438 fs/ocfs2/stack_user.c 	return ocfs2_control_install_private(file);
file              441 fs/ocfs2/stack_user.c static int ocfs2_control_do_down_msg(struct file *file,
file              447 fs/ocfs2/stack_user.c 	if (ocfs2_control_get_handshake_state(file) !=
file              473 fs/ocfs2/stack_user.c static ssize_t ocfs2_control_message(struct file *file,
file              492 fs/ocfs2/stack_user.c 		ret = ocfs2_control_do_setnode_msg(file, &msg.u_setn);
file              496 fs/ocfs2/stack_user.c 		ret = ocfs2_control_do_setversion_msg(file, &msg.u_setv);
file              500 fs/ocfs2/stack_user.c 		ret = ocfs2_control_do_down_msg(file, &msg.u_down);
file              508 fs/ocfs2/stack_user.c static ssize_t ocfs2_control_write(struct file *file,
file              515 fs/ocfs2/stack_user.c 	switch (ocfs2_control_get_handshake_state(file)) {
file              521 fs/ocfs2/stack_user.c 			ret = ocfs2_control_validate_protocol(file, buf,
file              527 fs/ocfs2/stack_user.c 			ret = ocfs2_control_message(file, buf, count);
file              543 fs/ocfs2/stack_user.c static ssize_t ocfs2_control_read(struct file *file,
file              555 fs/ocfs2/stack_user.c 		ocfs2_control_set_handshake_state(file,
file              561 fs/ocfs2/stack_user.c static int ocfs2_control_release(struct inode *inode, struct file *file)
file              563 fs/ocfs2/stack_user.c 	struct ocfs2_control_private *p = file->private_data;
file              567 fs/ocfs2/stack_user.c 	if (ocfs2_control_get_handshake_state(file) !=
file              591 fs/ocfs2/stack_user.c 	file->private_data = NULL;
file              600 fs/ocfs2/stack_user.c static int ocfs2_control_open(struct inode *inode, struct file *file)
file              610 fs/ocfs2/stack_user.c 	file->private_data = p;
file              738 fs/ocfs2/stack_user.c 		      struct file *file,
file              760 fs/ocfs2/stack_user.c 		return dlm_posix_get(conn->cc_lockspace, ino, file, fl);
file              762 fs/ocfs2/stack_user.c 		return dlm_posix_unlock(conn->cc_lockspace, ino, file, fl);
file              764 fs/ocfs2/stack_user.c 		return dlm_posix_lock(conn->cc_lockspace, ino, file, cmd, fl);
file              294 fs/ocfs2/stackglue.c 		struct file *file, int cmd, struct file_lock *fl)
file              298 fs/ocfs2/stackglue.c 		return active_stack->sp_ops->plock(conn, ino, file, cmd, fl);
file               24 fs/ocfs2/stackglue.h struct file;
file              210 fs/ocfs2/stackglue.h 		     struct file *file,
file              284 fs/ocfs2/stackglue.h 		struct file *file, int cmd, struct file_lock *fl);
file              342 fs/ocfs2/super.c static int ocfs2_osb_debug_open(struct inode *inode, struct file *file)
file              353 fs/ocfs2/super.c 	file->private_data = buf;
file              360 fs/ocfs2/super.c static int ocfs2_debug_release(struct inode *inode, struct file *file)
file              362 fs/ocfs2/super.c 	kfree(file->private_data);
file              366 fs/ocfs2/super.c static ssize_t ocfs2_debug_read(struct file *file, char __user *buf,
file              369 fs/ocfs2/super.c 	return simple_read_from_buffer(buf, nbytes, ppos, file->private_data,
file              370 fs/ocfs2/super.c 				       i_size_read(file->f_mapping->host));
file              373 fs/ocfs2/super.c static int ocfs2_osb_debug_open(struct inode *inode, struct file *file)
file              377 fs/ocfs2/super.c static int ocfs2_debug_release(struct inode *inode, struct file *file)
file              381 fs/ocfs2/super.c static ssize_t ocfs2_debug_read(struct file *file, char __user *buf,
file               57 fs/ocfs2/symlink.c static int ocfs2_fast_symlink_readpage(struct file *unused, struct page *page)
file              407 fs/omfs/dir.c  static int omfs_readdir(struct file *file, struct dir_context *ctx)
file              409 fs/omfs/dir.c  	struct inode *dir = file_inode(file);
file              419 fs/omfs/dir.c  		if (!dir_emit_dots(file, ctx))
file              287 fs/omfs/file.c static int omfs_readpage(struct file *file, struct page *page)
file              292 fs/omfs/file.c static int omfs_readpages(struct file *file, struct address_space *mapping,
file              319 fs/omfs/file.c static int omfs_write_begin(struct file *file, struct address_space *mapping,
file               39 fs/open.c      	struct file *filp)
file              167 fs/open.c      	if (!f.file)
file              171 fs/open.c      	if (f.file->f_flags & O_LARGEFILE)
file              174 fs/open.c      	dentry = f.file->f_path.dentry;
file              177 fs/open.c      	if (!S_ISREG(inode->i_mode) || !(f.file->f_mode & FMODE_WRITE))
file              187 fs/open.c      	if (IS_APPEND(file_inode(f.file)))
file              191 fs/open.c      	error = locks_verify_truncate(inode, f.file, length);
file              193 fs/open.c      		error = security_path_truncate(&f.file->f_path);
file              195 fs/open.c      		error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, f.file);
file              229 fs/open.c      int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
file              231 fs/open.c      	struct inode *inode = file_inode(file);
file              266 fs/open.c      	if (!(file->f_mode & FMODE_WRITE))
file              288 fs/open.c      	ret = security_file_permission(file, MAY_WRITE);
file              305 fs/open.c      	if (!file->f_op->fallocate)
file              308 fs/open.c      	file_start_write(file);
file              309 fs/open.c      	ret = file->f_op->fallocate(file, mode, offset, len);
file              319 fs/open.c      		fsnotify_modify(file);
file              321 fs/open.c      	file_end_write(file);
file              331 fs/open.c      	if (f.file) {
file              332 fs/open.c      		error = vfs_fallocate(f.file, mode, offset, len);
file              490 fs/open.c      	if (!f.file)
file              494 fs/open.c      	if (!d_can_lookup(f.file->f_path.dentry))
file              497 fs/open.c      	error = inode_permission(file_inode(f.file), MAY_EXEC | MAY_CHDIR);
file              499 fs/open.c      		set_fs_pwd(current->fs, &f.file->f_path);
file              578 fs/open.c      	if (f.file) {
file              579 fs/open.c      		audit_file(f.file);
file              580 fs/open.c      		err = chmod_common(&f.file->f_path, mode);
file              716 fs/open.c      	if (!f.file)
file              719 fs/open.c      	error = mnt_want_write_file(f.file);
file              722 fs/open.c      	audit_file(f.file);
file              723 fs/open.c      	error = chown_common(&f.file->f_path, user, group);
file              724 fs/open.c      	mnt_drop_write_file(f.file);
file              736 fs/open.c      static int do_dentry_open(struct file *f,
file              738 fs/open.c      			  int (*open)(struct inode *, struct file *))
file              865 fs/open.c      int finish_open(struct file *file, struct dentry *dentry,
file              866 fs/open.c      		int (*open)(struct inode *, struct file *))
file              868 fs/open.c      	BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */
file              870 fs/open.c      	file->f_path.dentry = dentry;
file              871 fs/open.c      	return do_dentry_open(file, d_backing_inode(dentry), open);
file              889 fs/open.c      int finish_no_open(struct file *file, struct dentry *dentry)
file              891 fs/open.c      	file->f_path.dentry = dentry;
file              896 fs/open.c      char *file_path(struct file *filp, char *buf, int buflen)
file              908 fs/open.c      int vfs_open(const struct path *path, struct file *file)
file              910 fs/open.c      	file->f_path = *path;
file              911 fs/open.c      	return do_dentry_open(file, d_backing_inode(path->dentry), NULL);
file              914 fs/open.c      struct file *dentry_open(const struct path *path, int flags,
file              918 fs/open.c      	struct file *f;
file              937 fs/open.c      struct file *open_with_fake_path(const struct path *path, int flags,
file              940 fs/open.c      	struct file *f = alloc_empty_file_noaccount(flags, cred);
file             1037 fs/open.c      struct file *file_open_name(struct filename *name, int flags, umode_t mode)
file             1055 fs/open.c      struct file *filp_open(const char *filename, int flags, umode_t mode)
file             1058 fs/open.c      	struct file *file = ERR_CAST(name);
file             1061 fs/open.c      		file = file_open_name(name, flags, mode);
file             1064 fs/open.c      	return file;
file             1068 fs/open.c      struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt,
file             1094 fs/open.c      		struct file *f = do_filp_open(dfd, tmp, &op);
file             1161 fs/open.c      int filp_close(struct file *filp, fl_owner_t id)
file             1221 fs/open.c      int generic_file_open(struct inode * inode, struct file * filp)
file             1236 fs/open.c      int nonseekable_open(struct inode *inode, struct file *filp)
file             1254 fs/open.c      int stream_open(struct inode *inode, struct file *filp)
file              145 fs/openpromfs/inode.c static int property_open(struct inode *inode, struct file *file)
file              152 fs/openpromfs/inode.c 	ret = seq_open(file, &property_op);
file              154 fs/openpromfs/inode.c 		struct seq_file *m = file->private_data;
file              167 fs/openpromfs/inode.c static int openpromfs_readdir(struct file *, struct dir_context *);
file              265 fs/openpromfs/inode.c static int openpromfs_readdir(struct file *file, struct dir_context *ctx)
file              267 fs/openpromfs/inode.c 	struct inode *inode = file_inode(file);
file              121 fs/orangefs/devorangefs-req.c static int orangefs_devreq_open(struct inode *inode, struct file *file)
file              126 fs/orangefs/devorangefs-req.c 	if (file->f_cred->user_ns != &init_user_ns) {
file              132 fs/orangefs/devorangefs-req.c 	if (!(file->f_flags & O_NONBLOCK)) {
file              158 fs/orangefs/devorangefs-req.c static ssize_t orangefs_devreq_read(struct file *file,
file              169 fs/orangefs/devorangefs-req.c 	if (!(file->f_flags & O_NONBLOCK)) {
file              523 fs/orangefs/devorangefs-req.c static int orangefs_devreq_release(struct inode *inode, struct file *file)
file              699 fs/orangefs/devorangefs-req.c static long orangefs_devreq_ioctl(struct file *file,
file              726 fs/orangefs/devorangefs-req.c static long orangefs_devreq_compat_ioctl(struct file *filp, unsigned int cmd,
file              754 fs/orangefs/devorangefs-req.c static __poll_t orangefs_devreq_poll(struct file *file,
file              759 fs/orangefs/devorangefs-req.c 	poll_wait(file, &orangefs_request_list_waitq, poll_table);
file              282 fs/orangefs/dir.c static loff_t orangefs_dir_llseek(struct file *file, loff_t offset,
file              285 fs/orangefs/dir.c 	struct orangefs_dir *od = file->private_data;
file              301 fs/orangefs/dir.c 	return default_llseek(file, offset, whence);
file              304 fs/orangefs/dir.c static int orangefs_dir_iterate(struct file *file,
file              312 fs/orangefs/dir.c 	dentry = file->f_path.dentry;
file              314 fs/orangefs/dir.c 	od = file->private_data;
file              320 fs/orangefs/dir.c 		if (!dir_emit_dot(file, ctx))
file              325 fs/orangefs/dir.c 		if (!dir_emit_dotdot(file, ctx))
file              370 fs/orangefs/dir.c static int orangefs_dir_open(struct inode *inode, struct file *file)
file              373 fs/orangefs/dir.c 	file->private_data = kmalloc(sizeof(struct orangefs_dir),
file              375 fs/orangefs/dir.c 	if (!file->private_data)
file              377 fs/orangefs/dir.c 	od = file->private_data;
file              385 fs/orangefs/dir.c static int orangefs_dir_release(struct inode *inode, struct file *file)
file              387 fs/orangefs/dir.c 	struct orangefs_dir *od = file->private_data;
file              377 fs/orangefs/file.c static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              379 fs/orangefs/file.c 	struct inode *inode = file_inode(file);
file              438 fs/orangefs/file.c 	struct file *file = vmf->vma->vm_file;
file              440 fs/orangefs/file.c 	ret = orangefs_inode_getattr(file->f_mapping->host,
file              461 fs/orangefs/file.c static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma)
file              465 fs/orangefs/file.c 	ret = orangefs_revalidate_mapping(file_inode(file));
file              471 fs/orangefs/file.c 		     (file ?
file              472 fs/orangefs/file.c 			(char *)file->f_path.dentry->d_name.name :
file              479 fs/orangefs/file.c 	file_accessed(file);
file              492 fs/orangefs/file.c static int orangefs_file_release(struct inode *inode, struct file *file)
file              496 fs/orangefs/file.c 		     file);
file              503 fs/orangefs/file.c 	if (file_inode(file) &&
file              504 fs/orangefs/file.c 	    file_inode(file)->i_mapping &&
file              505 fs/orangefs/file.c 	    mapping_nrpages(&file_inode(file)->i_data)) {
file              522 fs/orangefs/file.c static int orangefs_fsync(struct file *file,
file              529 fs/orangefs/file.c 		ORANGEFS_I(file_inode(file));
file              532 fs/orangefs/file.c 	ret = filemap_write_and_wait_range(file_inode(file)->i_mapping,
file              544 fs/orangefs/file.c 			get_interruptible_flag(file_inode(file)));
file              563 fs/orangefs/file.c static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin)
file              566 fs/orangefs/file.c 	struct inode *inode = file_inode(file);
file              574 fs/orangefs/file.c 		ret = orangefs_inode_getattr(file->f_mapping->host,
file              595 fs/orangefs/file.c 	return generic_file_llseek(file, offset, origin);
file              602 fs/orangefs/file.c static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl)
file              618 fs/orangefs/file.c static int orangefs_file_open(struct inode * inode, struct file *file)
file              620 fs/orangefs/file.c 	file->private_data = NULL;
file              621 fs/orangefs/file.c 	return generic_file_open(inode, file);
file              624 fs/orangefs/file.c static int orangefs_flush(struct file *file, fl_owner_t id)
file              634 fs/orangefs/file.c 	struct inode *inode = file->f_mapping->host;
file              637 fs/orangefs/file.c 	kfree(file->private_data);
file              638 fs/orangefs/file.c 	file->private_data = NULL;
file              647 fs/orangefs/file.c 	r = filemap_write_and_wait_range(file->f_mapping, 0, LLONG_MAX);
file              252 fs/orangefs/inode.c static int orangefs_readpage(struct file *file, struct page *page)
file              262 fs/orangefs/inode.c 	struct orangefs_read_options *ro = file->private_data;
file              388 fs/orangefs/inode.c static int orangefs_write_begin(struct file *file,
file              446 fs/orangefs/inode.c static int orangefs_write_end(struct file *file, struct address_space *mapping,
file              477 fs/orangefs/inode.c 	mark_inode_dirty_sync(file_inode(file));
file              599 fs/orangefs/inode.c 	struct file *file = iocb->ki_filp;
file              604 fs/orangefs/inode.c 	struct inode *inode = file->f_mapping->host;
file              687 fs/orangefs/inode.c 			file_accessed(file);
file              689 fs/orangefs/inode.c 			file_update_time(file);
file               69 fs/orangefs/orangefs-debugfs.c static int orangefs_debug_help_open(struct inode *, struct file *);
file               75 fs/orangefs/orangefs-debugfs.c static int orangefs_debug_open(struct inode *, struct file *);
file               77 fs/orangefs/orangefs-debugfs.c static ssize_t orangefs_debug_read(struct file *,
file               82 fs/orangefs/orangefs-debugfs.c static ssize_t orangefs_debug_write(struct file *,
file              228 fs/orangefs/orangefs-debugfs.c static int orangefs_debug_help_open(struct inode *inode, struct file *file)
file              239 fs/orangefs/orangefs-debugfs.c 	ret = seq_open(file, &help_debug_ops);
file              243 fs/orangefs/orangefs-debugfs.c 	((struct seq_file *)(file->private_data))->private = inode->i_private;
file              335 fs/orangefs/orangefs-debugfs.c static int orangefs_debug_open(struct inode *inode, struct file *file)
file              349 fs/orangefs/orangefs-debugfs.c 	file->private_data = inode->i_private;
file              359 fs/orangefs/orangefs-debugfs.c static ssize_t orangefs_debug_read(struct file *file,
file              375 fs/orangefs/orangefs-debugfs.c 	sprintf_ret = sprintf(buf, "%s", (char *)file->private_data);
file              390 fs/orangefs/orangefs-debugfs.c static ssize_t orangefs_debug_write(struct file *file,
file              405 fs/orangefs/orangefs-debugfs.c 		file);
file              439 fs/orangefs/orangefs-debugfs.c 	if (!strcmp(file->f_path.dentry->d_name.name,
file              492 fs/orangefs/orangefs-debugfs.c 	s = file_inode(file)->i_private;
file              402 fs/orangefs/orangefs-kernel.h ssize_t do_readv_writev(enum ORANGEFS_io_type, struct file *, loff_t *,
file              121 fs/overlayfs/copy_up.c 	struct file *old_file;
file              122 fs/overlayfs/copy_up.c 	struct file *new_file;
file               24 fs/overlayfs/file.c static struct file *ovl_open_realfile(const struct file *file,
file               27 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file               28 fs/overlayfs/file.c 	struct file *realfile;
file               30 fs/overlayfs/file.c 	int flags = file->f_flags | O_NOATIME | FMODE_NONOTIFY;
file               33 fs/overlayfs/file.c 	realfile = open_with_fake_path(&file->f_path, flags, realinode,
file               38 fs/overlayfs/file.c 		 file, file, ovl_whatisit(inode, realinode), file->f_flags,
file               46 fs/overlayfs/file.c static int ovl_change_flags(struct file *file, unsigned int flags)
file               48 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file               55 fs/overlayfs/file.c 	if (WARN_ON((file->f_flags ^ flags) & ~OVL_SETFL_MASK))
file               60 fs/overlayfs/file.c 	if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode))
file               64 fs/overlayfs/file.c 		if (!file->f_mapping->a_ops ||
file               65 fs/overlayfs/file.c 		    !file->f_mapping->a_ops->direct_IO)
file               69 fs/overlayfs/file.c 	if (file->f_op->check_flags) {
file               70 fs/overlayfs/file.c 		err = file->f_op->check_flags(flags);
file               75 fs/overlayfs/file.c 	spin_lock(&file->f_lock);
file               76 fs/overlayfs/file.c 	file->f_flags = (file->f_flags & ~OVL_SETFL_MASK) | flags;
file               77 fs/overlayfs/file.c 	spin_unlock(&file->f_lock);
file               82 fs/overlayfs/file.c static int ovl_real_fdget_meta(const struct file *file, struct fd *real,
file               85 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file               89 fs/overlayfs/file.c 	real->file = file->private_data;
file               97 fs/overlayfs/file.c 	if (unlikely(file_inode(real->file) != realinode)) {
file               99 fs/overlayfs/file.c 		real->file = ovl_open_realfile(file, realinode);
file              101 fs/overlayfs/file.c 		return PTR_ERR_OR_ZERO(real->file);
file              105 fs/overlayfs/file.c 	if (unlikely((file->f_flags ^ real->file->f_flags) & ~O_NOATIME))
file              106 fs/overlayfs/file.c 		return ovl_change_flags(real->file, file->f_flags);
file              111 fs/overlayfs/file.c static int ovl_real_fdget(const struct file *file, struct fd *real)
file              113 fs/overlayfs/file.c 	return ovl_real_fdget_meta(file, real, false);
file              116 fs/overlayfs/file.c static int ovl_open(struct inode *inode, struct file *file)
file              118 fs/overlayfs/file.c 	struct file *realfile;
file              121 fs/overlayfs/file.c 	err = ovl_maybe_copy_up(file_dentry(file), file->f_flags);
file              126 fs/overlayfs/file.c 	file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);
file              128 fs/overlayfs/file.c 	realfile = ovl_open_realfile(file, ovl_inode_realdata(inode));
file              132 fs/overlayfs/file.c 	file->private_data = realfile;
file              137 fs/overlayfs/file.c static int ovl_release(struct inode *inode, struct file *file)
file              139 fs/overlayfs/file.c 	fput(file->private_data);
file              144 fs/overlayfs/file.c static loff_t ovl_llseek(struct file *file, loff_t offset, int whence)
file              146 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file              157 fs/overlayfs/file.c 			return file->f_pos;
file              160 fs/overlayfs/file.c 			return vfs_setpos(file, 0, 0);
file              163 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              175 fs/overlayfs/file.c 	real.file->f_pos = file->f_pos;
file              178 fs/overlayfs/file.c 	ret = vfs_llseek(real.file, offset, whence);
file              181 fs/overlayfs/file.c 	file->f_pos = real.file->f_pos;
file              189 fs/overlayfs/file.c static void ovl_file_accessed(struct file *file)
file              193 fs/overlayfs/file.c 	if (file->f_flags & O_NOATIME)
file              196 fs/overlayfs/file.c 	inode = file_inode(file);
file              208 fs/overlayfs/file.c 	touch_atime(&file->f_path);
file              230 fs/overlayfs/file.c 	struct file *file = iocb->ki_filp;
file              238 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              242 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              243 fs/overlayfs/file.c 	ret = vfs_iter_read(real.file, iter, &iocb->ki_pos,
file              247 fs/overlayfs/file.c 	ovl_file_accessed(file);
file              256 fs/overlayfs/file.c 	struct file *file = iocb->ki_filp;
file              257 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file              268 fs/overlayfs/file.c 	ret = file_remove_privs(file);
file              272 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              276 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              277 fs/overlayfs/file.c 	file_start_write(real.file);
file              278 fs/overlayfs/file.c 	ret = vfs_iter_write(real.file, iter, &iocb->ki_pos,
file              280 fs/overlayfs/file.c 	file_end_write(real.file);
file              294 fs/overlayfs/file.c static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              300 fs/overlayfs/file.c 	ret = ovl_real_fdget_meta(file, &real, !datasync);
file              305 fs/overlayfs/file.c 	if (file_inode(real.file) == ovl_inode_upper(file_inode(file))) {
file              306 fs/overlayfs/file.c 		old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              307 fs/overlayfs/file.c 		ret = vfs_fsync_range(real.file, start, end, datasync);
file              316 fs/overlayfs/file.c static int ovl_mmap(struct file *file, struct vm_area_struct *vma)
file              318 fs/overlayfs/file.c 	struct file *realfile = file->private_data;
file              325 fs/overlayfs/file.c 	if (WARN_ON(file != vma->vm_file))
file              330 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              339 fs/overlayfs/file.c 		fput(file);
file              342 fs/overlayfs/file.c 	ovl_file_accessed(file);
file              347 fs/overlayfs/file.c static long ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
file              349 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file              354 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              358 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              359 fs/overlayfs/file.c 	ret = vfs_fallocate(real.file, mode, offset, len);
file              370 fs/overlayfs/file.c static int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
file              376 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              380 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              381 fs/overlayfs/file.c 	ret = vfs_fadvise(real.file, offset, len, advice);
file              389 fs/overlayfs/file.c static long ovl_real_ioctl(struct file *file, unsigned int cmd,
file              396 fs/overlayfs/file.c 	ret = ovl_real_fdget(file, &real);
file              400 fs/overlayfs/file.c 	old_cred = ovl_override_creds(file_inode(file)->i_sb);
file              401 fs/overlayfs/file.c 	ret = vfs_ioctl(real.file, cmd, arg);
file              409 fs/overlayfs/file.c static long ovl_ioctl_set_flags(struct file *file, unsigned int cmd,
file              413 fs/overlayfs/file.c 	struct inode *inode = file_inode(file);
file              419 fs/overlayfs/file.c 	ret = mnt_want_write_file(file);
file              432 fs/overlayfs/file.c 	ret = ovl_maybe_copy_up(file_dentry(file), O_WRONLY);
file              436 fs/overlayfs/file.c 	ret = ovl_real_ioctl(file, cmd, arg);
file              442 fs/overlayfs/file.c 	mnt_drop_write_file(file);
file              464 fs/overlayfs/file.c static long ovl_ioctl_set_fsflags(struct file *file, unsigned int cmd,
file              472 fs/overlayfs/file.c 	return ovl_ioctl_set_flags(file, cmd, arg,
file              492 fs/overlayfs/file.c static long ovl_ioctl_set_fsxflags(struct file *file, unsigned int cmd,
file              501 fs/overlayfs/file.c 	return ovl_ioctl_set_flags(file, cmd, arg,
file              505 fs/overlayfs/file.c static long ovl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              512 fs/overlayfs/file.c 		ret = ovl_real_ioctl(file, cmd, arg);
file              516 fs/overlayfs/file.c 		ret = ovl_ioctl_set_fsflags(file, cmd, arg);
file              520 fs/overlayfs/file.c 		ret = ovl_ioctl_set_fsxflags(file, cmd, arg);
file              530 fs/overlayfs/file.c static long ovl_compat_ioctl(struct file *file, unsigned int cmd,
file              546 fs/overlayfs/file.c 	return ovl_ioctl(file, cmd, arg);
file              555 fs/overlayfs/file.c static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in,
file              556 fs/overlayfs/file.c 			    struct file *file_out, loff_t pos_out,
file              577 fs/overlayfs/file.c 		ret = vfs_copy_file_range(real_in.file, pos_in,
file              578 fs/overlayfs/file.c 					  real_out.file, pos_out, len, flags);
file              582 fs/overlayfs/file.c 		ret = vfs_clone_file_range(real_in.file, pos_in,
file              583 fs/overlayfs/file.c 					   real_out.file, pos_out, len, flags);
file              587 fs/overlayfs/file.c 		ret = vfs_dedupe_file_range_one(real_in.file, pos_in,
file              588 fs/overlayfs/file.c 						real_out.file, pos_out, len,
file              603 fs/overlayfs/file.c static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in,
file              604 fs/overlayfs/file.c 				   struct file *file_out, loff_t pos_out,
file              611 fs/overlayfs/file.c static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in,
file              612 fs/overlayfs/file.c 				   struct file *file_out, loff_t pos_out,
file              255 fs/overlayfs/overlayfs.h struct file *ovl_path_open(struct path *path, int flags);
file               57 fs/overlayfs/readdir.c 	struct file *realfile;
file               58 fs/overlayfs/readdir.c 	struct file *upperfile;
file              297 fs/overlayfs/readdir.c 	struct file *realfile;
file              334 fs/overlayfs/readdir.c static void ovl_dir_reset(struct file *file)
file              336 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              338 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
file              674 fs/overlayfs/readdir.c static bool ovl_is_impure_dir(struct file *file)
file              676 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              677 fs/overlayfs/readdir.c 	struct inode *dir = d_inode(file->f_path.dentry);
file              689 fs/overlayfs/readdir.c static int ovl_iterate_real(struct file *file, struct dir_context *ctx)
file              692 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              693 fs/overlayfs/readdir.c 	struct dentry *dir = file->f_path.dentry;
file              706 fs/overlayfs/readdir.c 		struct path statpath = file->f_path;
file              717 fs/overlayfs/readdir.c 	if (ovl_is_impure_dir(file)) {
file              718 fs/overlayfs/readdir.c 		rdt.cache = ovl_cache_get_impure(&file->f_path);
file              730 fs/overlayfs/readdir.c static int ovl_iterate(struct file *file, struct dir_context *ctx)
file              732 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              733 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
file              738 fs/overlayfs/readdir.c 		ovl_dir_reset(file);
file              748 fs/overlayfs/readdir.c 		     (ovl_is_impure_dir(file) ||
file              750 fs/overlayfs/readdir.c 			return ovl_iterate_real(file, ctx);
file              770 fs/overlayfs/readdir.c 				err = ovl_cache_update_ino(&file->f_path, p);
file              783 fs/overlayfs/readdir.c static loff_t ovl_dir_llseek(struct file *file, loff_t offset, int origin)
file              786 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              788 fs/overlayfs/readdir.c 	inode_lock(file_inode(file));
file              789 fs/overlayfs/readdir.c 	if (!file->f_pos)
file              790 fs/overlayfs/readdir.c 		ovl_dir_reset(file);
file              794 fs/overlayfs/readdir.c 		file->f_pos = od->realfile->f_pos;
file              800 fs/overlayfs/readdir.c 			offset += file->f_pos;
file              810 fs/overlayfs/readdir.c 		if (offset != file->f_pos) {
file              811 fs/overlayfs/readdir.c 			file->f_pos = offset;
file              818 fs/overlayfs/readdir.c 	inode_unlock(file_inode(file));
file              823 fs/overlayfs/readdir.c static int ovl_dir_fsync(struct file *file, loff_t start, loff_t end,
file              826 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              827 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
file              828 fs/overlayfs/readdir.c 	struct file *realfile = od->realfile;
file              838 fs/overlayfs/readdir.c 		struct inode *inode = file_inode(file);
file              867 fs/overlayfs/readdir.c static int ovl_dir_release(struct inode *inode, struct file *file)
file              869 fs/overlayfs/readdir.c 	struct ovl_dir_file *od = file->private_data;
file              873 fs/overlayfs/readdir.c 		ovl_cache_put(od, file->f_path.dentry);
file              884 fs/overlayfs/readdir.c static int ovl_dir_open(struct inode *inode, struct file *file)
file              887 fs/overlayfs/readdir.c 	struct file *realfile;
file              895 fs/overlayfs/readdir.c 	type = ovl_path_real(file->f_path.dentry, &realpath);
file              896 fs/overlayfs/readdir.c 	realfile = ovl_path_open(&realpath, file->f_flags);
file              902 fs/overlayfs/readdir.c 	od->is_real = ovl_dir_is_real(file->f_path.dentry);
file              904 fs/overlayfs/readdir.c 	file->private_data = od;
file              476 fs/overlayfs/util.c struct file *ovl_path_open(struct path *path, int flags)
file              275 fs/pipe.c      	struct file *filp = iocb->ki_filp;
file              373 fs/pipe.c      static inline int is_packetized(struct file *file)
file              375 fs/pipe.c      	return (file->f_flags & O_DIRECT) != 0;
file              381 fs/pipe.c      	struct file *filp = iocb->ki_filp;
file              515 fs/pipe.c      static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              540 fs/pipe.c      pipe_poll(struct file *filp, poll_table *wait)
file              586 fs/pipe.c      pipe_release(struct inode *inode, struct file *file)
file              588 fs/pipe.c      	struct pipe_inode_info *pipe = file->private_data;
file              591 fs/pipe.c      	if (file->f_mode & FMODE_READ)
file              593 fs/pipe.c      	if (file->f_mode & FMODE_WRITE)
file              608 fs/pipe.c      pipe_fasync(int fd, struct file *filp, int on)
file              768 fs/pipe.c      int create_pipe_files(struct file **res, int flags)
file              771 fs/pipe.c      	struct file *f;
file              799 fs/pipe.c      static int __do_pipe_flags(int *fd, struct file **files, int flags)
file              836 fs/pipe.c      	struct file *files[2];
file              851 fs/pipe.c      	struct file *files[2];
file              898 fs/pipe.c      static int fifo_open(struct inode *inode, struct file *filp)
file             1143 fs/pipe.c      struct pipe_inode_info *get_pipe_info(struct file *file)
file             1145 fs/pipe.c      	return file->f_op == &pipefifo_fops ? file->private_data : NULL;
file             1148 fs/pipe.c      long pipe_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
file             1153 fs/pipe.c      	pipe = get_pipe_info(file);
file              722 fs/proc/array.c 	struct inode *inode = file_inode(seq->file);
file              730 fs/proc/array.c 	return get_children_pid(file_inode(seq->file), NULL, *pos);
file              737 fs/proc/array.c 	pid = get_children_pid(file_inode(seq->file), v, *pos + 1);
file              756 fs/proc/array.c static int children_seq_open(struct inode *inode, struct file *file)
file              758 fs/proc/array.c 	return seq_open(file, &children_seq_ops);
file              355 fs/proc/base.c static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf,
file              363 fs/proc/base.c 	tsk = get_proc_task(file_inode(file));
file              442 fs/proc/base.c 	if (!file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN))
file              519 fs/proc/base.c static int lstats_open(struct inode *inode, struct file *file)
file              521 fs/proc/base.c 	return single_open(file, lstats_show_proc, inode);
file              524 fs/proc/base.c static ssize_t lstats_write(struct file *file, const char __user *buf,
file              527 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file              762 fs/proc/base.c static int proc_single_open(struct inode *inode, struct file *filp)
file              795 fs/proc/base.c static int __mem_open(struct inode *inode, struct file *file, unsigned int mode)
file              802 fs/proc/base.c 	file->private_data = mm;
file              806 fs/proc/base.c static int mem_open(struct inode *inode, struct file *file)
file              808 fs/proc/base.c 	int ret = __mem_open(inode, file, PTRACE_MODE_ATTACH);
file              811 fs/proc/base.c 	file->f_mode |= FMODE_UNSIGNED_OFFSET;
file              816 fs/proc/base.c static ssize_t mem_rw(struct file *file, char __user *buf,
file              819 fs/proc/base.c 	struct mm_struct *mm = file->private_data;
file              871 fs/proc/base.c static ssize_t mem_read(struct file *file, char __user *buf,
file              874 fs/proc/base.c 	return mem_rw(file, buf, count, ppos, 0);
file              877 fs/proc/base.c static ssize_t mem_write(struct file *file, const char __user *buf,
file              880 fs/proc/base.c 	return mem_rw(file, (char __user*)buf, count, ppos, 1);
file              883 fs/proc/base.c loff_t mem_lseek(struct file *file, loff_t offset, int orig)
file              887 fs/proc/base.c 		file->f_pos = offset;
file              890 fs/proc/base.c 		file->f_pos += offset;
file              896 fs/proc/base.c 	return file->f_pos;
file              899 fs/proc/base.c static int mem_release(struct inode *inode, struct file *file)
file              901 fs/proc/base.c 	struct mm_struct *mm = file->private_data;
file              915 fs/proc/base.c static int environ_open(struct inode *inode, struct file *file)
file              917 fs/proc/base.c 	return __mem_open(inode, file, PTRACE_MODE_READ);
file              920 fs/proc/base.c static ssize_t environ_read(struct file *file, char __user *buf,
file              926 fs/proc/base.c 	struct mm_struct *mm = file->private_data;
file              990 fs/proc/base.c static int auxv_open(struct inode *inode, struct file *file)
file              992 fs/proc/base.c 	return __mem_open(inode, file, PTRACE_MODE_READ_FSCREDS);
file              995 fs/proc/base.c static ssize_t auxv_read(struct file *file, char __user *buf,
file              998 fs/proc/base.c 	struct mm_struct *mm = file->private_data;
file             1017 fs/proc/base.c static ssize_t oom_adj_read(struct file *file, char __user *buf, size_t count,
file             1020 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file             1037 fs/proc/base.c static int __set_oom_adj(struct file *file, int oom_adj, bool legacy)
file             1044 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             1131 fs/proc/base.c static ssize_t oom_adj_write(struct file *file, const char __user *buf,
file             1164 fs/proc/base.c 	err = __set_oom_adj(file, oom_adj, true);
file             1175 fs/proc/base.c static ssize_t oom_score_adj_read(struct file *file, char __user *buf,
file             1178 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file             1191 fs/proc/base.c static ssize_t oom_score_adj_write(struct file *file, const char __user *buf,
file             1215 fs/proc/base.c 	err = __set_oom_adj(file, oom_score_adj, false);
file             1228 fs/proc/base.c static ssize_t proc_loginuid_read(struct file * file, char __user * buf,
file             1231 fs/proc/base.c 	struct inode * inode = file_inode(file);
file             1239 fs/proc/base.c 			   from_kuid(file->f_cred->user_ns,
file             1245 fs/proc/base.c static ssize_t proc_loginuid_write(struct file * file, const char __user * buf,
file             1248 fs/proc/base.c 	struct inode * inode = file_inode(file);
file             1273 fs/proc/base.c 		kloginuid = make_kuid(file->f_cred->user_ns, loginuid);
file             1290 fs/proc/base.c static ssize_t proc_sessionid_read(struct file * file, char __user * buf,
file             1293 fs/proc/base.c 	struct inode * inode = file_inode(file);
file             1313 fs/proc/base.c static ssize_t proc_fault_inject_read(struct file * file, char __user * buf,
file             1316 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file             1331 fs/proc/base.c static ssize_t proc_fault_inject_write(struct file * file,
file             1352 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             1367 fs/proc/base.c static ssize_t proc_fail_nth_write(struct file *file, const char __user *buf,
file             1378 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             1387 fs/proc/base.c static ssize_t proc_fail_nth_read(struct file *file, char __user *buf,
file             1394 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             1430 fs/proc/base.c sched_write(struct file *file, const char __user *buf,
file             1433 fs/proc/base.c 	struct inode *inode = file_inode(file);
file             1446 fs/proc/base.c static int sched_open(struct inode *inode, struct file *filp)
file             1481 fs/proc/base.c sched_autogroup_write(struct file *file, const char __user *buf,
file             1484 fs/proc/base.c 	struct inode *inode = file_inode(file);
file             1513 fs/proc/base.c static int sched_autogroup_open(struct inode *inode, struct file *filp)
file             1536 fs/proc/base.c static ssize_t comm_write(struct file *file, const char __user *buf,
file             1539 fs/proc/base.c 	struct inode *inode = file_inode(file);
file             1579 fs/proc/base.c static int comm_open(struct inode *inode, struct file *filp)
file             1595 fs/proc/base.c 	struct file *exe_file;
file             1882 fs/proc/base.c bool proc_fill_cache(struct file *file, struct dir_context *ctx,
file             1886 fs/proc/base.c 	struct dentry *child, *dir = file->f_path.dentry;
file             2163 fs/proc/base.c proc_map_files_readdir(struct file *file, struct dir_context *ctx)
file             2176 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             2185 fs/proc/base.c 	if (!dir_emit_dots(file, ctx))
file             2237 fs/proc/base.c 		if (!proc_fill_cache(file, ctx,
file             2338 fs/proc/base.c static int proc_timers_open(struct inode *inode, struct file *file)
file             2342 fs/proc/base.c 	tp = __seq_open_private(file, &proc_timers_seq_ops,
file             2360 fs/proc/base.c static ssize_t timerslack_ns_write(struct file *file, const char __user *buf,
file             2363 fs/proc/base.c 	struct inode *inode = file_inode(file);
file             2439 fs/proc/base.c static int timerslack_ns_open(struct inode *inode, struct file *filp)
file             2504 fs/proc/base.c static int proc_pident_readdir(struct file *file, struct dir_context *ctx,
file             2507 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file             2513 fs/proc/base.c 	if (!dir_emit_dots(file, ctx))
file             2520 fs/proc/base.c 		if (!proc_fill_cache(file, ctx, p->name, p->len,
file             2531 fs/proc/base.c static ssize_t proc_pid_attr_read(struct file * file, char __user * buf,
file             2534 fs/proc/base.c 	struct inode * inode = file_inode(file);
file             2543 fs/proc/base.c 				      (char*)file->f_path.dentry->d_name.name,
file             2552 fs/proc/base.c static ssize_t proc_pid_attr_write(struct file * file, const char __user * buf,
file             2555 fs/proc/base.c 	struct inode * inode = file_inode(file);
file             2597 fs/proc/base.c 				  file->f_path.dentry->d_name.name, page,
file             2613 fs/proc/base.c static int proc_##LSM##_attr_dir_iterate(struct file *filp, \
file             2661 fs/proc/base.c static int proc_attr_dir_readdir(struct file *file, struct dir_context *ctx)
file             2663 fs/proc/base.c 	return proc_pident_readdir(file, ctx, 
file             2690 fs/proc/base.c static ssize_t proc_coredump_filter_read(struct file *file, char __user *buf,
file             2693 fs/proc/base.c 	struct task_struct *task = get_proc_task(file_inode(file));
file             2717 fs/proc/base.c static ssize_t proc_coredump_filter_write(struct file *file,
file             2734 fs/proc/base.c 	task = get_proc_task(file_inode(file));
file             2827 fs/proc/base.c static int proc_id_map_open(struct inode *inode, struct file *file,
file             2845 fs/proc/base.c 	ret = seq_open(file, seq_ops);
file             2849 fs/proc/base.c 	seq = file->private_data;
file             2859 fs/proc/base.c static int proc_id_map_release(struct inode *inode, struct file *file)
file             2861 fs/proc/base.c 	struct seq_file *seq = file->private_data;
file             2864 fs/proc/base.c 	return seq_release(inode, file);
file             2867 fs/proc/base.c static int proc_uid_map_open(struct inode *inode, struct file *file)
file             2869 fs/proc/base.c 	return proc_id_map_open(inode, file, &proc_uid_seq_operations);
file             2872 fs/proc/base.c static int proc_gid_map_open(struct inode *inode, struct file *file)
file             2874 fs/proc/base.c 	return proc_id_map_open(inode, file, &proc_gid_seq_operations);
file             2877 fs/proc/base.c static int proc_projid_map_open(struct inode *inode, struct file *file)
file             2879 fs/proc/base.c 	return proc_id_map_open(inode, file, &proc_projid_seq_operations);
file             2906 fs/proc/base.c static int proc_setgroups_open(struct inode *inode, struct file *file)
file             2923 fs/proc/base.c 	if (file->f_mode & FMODE_WRITE) {
file             2929 fs/proc/base.c 	ret = single_open(file, &proc_setgroups_show, ns);
file             2940 fs/proc/base.c static int proc_setgroups_release(struct inode *inode, struct file *file)
file             2942 fs/proc/base.c 	struct seq_file *seq = file->private_data;
file             2944 fs/proc/base.c 	int ret = single_release(inode, file);
file             3102 fs/proc/base.c static int proc_tgid_base_readdir(struct file *file, struct dir_context *ctx)
file             3104 fs/proc/base.c 	return proc_pident_readdir(file, ctx,
file             3114 fs/proc/base.c struct pid *tgid_pidfd_to_pid(const struct file *file)
file             3116 fs/proc/base.c 	if (file->f_op != &proc_tgid_base_operations)
file             3119 fs/proc/base.c 	return proc_pid(file_inode(file));
file             3314 fs/proc/base.c int proc_pid_readdir(struct file *file, struct dir_context *ctx)
file             3317 fs/proc/base.c 	struct pid_namespace *ns = proc_pid_ns(file_inode(file));
file             3349 fs/proc/base.c 		if (!proc_fill_cache(file, ctx, name, len,
file             3492 fs/proc/base.c static int proc_tid_base_readdir(struct file *file, struct dir_context *ctx)
file             3494 fs/proc/base.c 	return proc_pident_readdir(file, ctx,
file             3649 fs/proc/base.c static int proc_task_readdir(struct file *file, struct dir_context *ctx)
file             3651 fs/proc/base.c 	struct inode *inode = file_inode(file);
file             3659 fs/proc/base.c 	if (!dir_emit_dots(file, ctx))
file             3666 fs/proc/base.c 	tid = (int)file->f_version;
file             3667 fs/proc/base.c 	file->f_version = 0;
file             3675 fs/proc/base.c 		if (!proc_fill_cache(file, ctx, name, len,
file             3679 fs/proc/base.c 			file->f_version = (u64)tid;
file               13 fs/proc/cpuinfo.c static int cpuinfo_open(struct inode *inode, struct file *file)
file               16 fs/proc/cpuinfo.c 	return seq_open(file, &cpuinfo_op);
file               24 fs/proc/fd.c   	struct file *file = NULL;
file               38 fs/proc/fd.c   		file = fcheck_files(files, fd);
file               39 fs/proc/fd.c   		if (file) {
file               42 fs/proc/fd.c   			f_flags = file->f_flags;
file               46 fs/proc/fd.c   			get_file(file);
file               57 fs/proc/fd.c   		   (long long)file->f_pos, f_flags,
file               58 fs/proc/fd.c   		   real_mount(file->f_path.mnt)->mnt_id);
file               60 fs/proc/fd.c   	show_fd_locks(m, file, files);
file               64 fs/proc/fd.c   	if (file->f_op->show_fdinfo)
file               65 fs/proc/fd.c   		file->f_op->show_fdinfo(m, file);
file               68 fs/proc/fd.c   	fput(file);
file               72 fs/proc/fd.c   static int seq_fdinfo_open(struct inode *inode, struct file *file)
file               74 fs/proc/fd.c   	return single_open(file, seq_show, inode);
file               87 fs/proc/fd.c   	struct file *file;
file               93 fs/proc/fd.c   	file = fcheck_files(files, fd);
file               94 fs/proc/fd.c   	if (file)
file               95 fs/proc/fd.c   		*mode = file->f_mode;
file               98 fs/proc/fd.c   	return !!file;
file              161 fs/proc/fd.c   		struct file *fd_file;
file              228 fs/proc/fd.c   static int proc_readfd_common(struct file *file, struct dir_context *ctx,
file              231 fs/proc/fd.c   	struct task_struct *p = get_proc_task(file_inode(file));
file              238 fs/proc/fd.c   	if (!dir_emit_dots(file, ctx))
file              248 fs/proc/fd.c   		struct file *f;
file              261 fs/proc/fd.c   		if (!proc_fill_cache(file, ctx,
file              276 fs/proc/fd.c   static int proc_readfd(struct file *file, struct dir_context *ctx)
file              278 fs/proc/fd.c   	return proc_readfd_common(file, ctx, proc_fd_instantiate);
file              348 fs/proc/fd.c   static int proc_readfdinfo(struct file *file, struct dir_context *ctx)
file              350 fs/proc/fd.c   	return proc_readfd_common(file, ctx,
file              282 fs/proc/generic.c int proc_readdir_de(struct file *file, struct dir_context *ctx,
file              287 fs/proc/generic.c 	if (!dir_emit_dots(file, ctx))
file              323 fs/proc/generic.c int proc_readdir(struct file *file, struct dir_context *ctx)
file              325 fs/proc/generic.c 	struct inode *inode = file_inode(file);
file              327 fs/proc/generic.c 	return proc_readdir_de(file, ctx, PDE(inode));
file              561 fs/proc/generic.c static int proc_seq_open(struct inode *inode, struct file *file)
file              566 fs/proc/generic.c 		return seq_open_private(file, de->seq_ops, de->state_size);
file              567 fs/proc/generic.c 	return seq_open(file, de->seq_ops);
file              570 fs/proc/generic.c static int proc_seq_release(struct inode *inode, struct file *file)
file              575 fs/proc/generic.c 		return seq_release_private(inode, file);
file              576 fs/proc/generic.c 	return seq_release(inode, file);
file              602 fs/proc/generic.c static int proc_single_open(struct inode *inode, struct file *file)
file              606 fs/proc/generic.c 	return single_open(file, de->single_show, de->data);
file              761 fs/proc/generic.c ssize_t proc_simple_write(struct file *f, const char __user *ubuf, size_t size,
file              160 fs/proc/inode.c 		struct file *file;
file              165 fs/proc/inode.c 		file = pdeo->file;
file              166 fs/proc/inode.c 		pde->proc_fops->release(file_inode(file), file);
file              198 fs/proc/inode.c static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence)
file              200 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              208 fs/proc/inode.c 		rv = llseek(file, offset, whence);
file              214 fs/proc/inode.c static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              216 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              223 fs/proc/inode.c 			rv = read(file, buf, count, ppos);
file              229 fs/proc/inode.c static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
file              231 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              238 fs/proc/inode.c 			rv = write(file, buf, count, ppos);
file              244 fs/proc/inode.c static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts)
file              246 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              253 fs/proc/inode.c 			rv = poll(file, pts);
file              259 fs/proc/inode.c static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              261 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              268 fs/proc/inode.c 			rv = ioctl(file, cmd, arg);
file              275 fs/proc/inode.c static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              277 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              284 fs/proc/inode.c 			rv = compat_ioctl(file, cmd, arg);
file              291 fs/proc/inode.c static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma)
file              293 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              300 fs/proc/inode.c 			rv = mmap(file, vma);
file              307 fs/proc/inode.c proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr,
file              311 fs/proc/inode.c 	struct proc_dir_entry *pde = PDE(file_inode(file));
file              324 fs/proc/inode.c 			rv = get_area(file, orig_addr, len, pgoff, flags);
file              332 fs/proc/inode.c static int proc_reg_open(struct inode *inode, struct file *file)
file              365 fs/proc/inode.c 		rv = open(inode, file);
file              370 fs/proc/inode.c 			pdeo->file = file;
file              385 fs/proc/inode.c static int proc_reg_release(struct inode *inode, struct file *file)
file              391 fs/proc/inode.c 		if (pdeo->file == file) {
file              161 fs/proc/internal.h extern int proc_pid_readdir(struct file *, struct dir_context *);
file              163 fs/proc/internal.h extern loff_t mem_lseek(struct file *, loff_t, int);
file              168 fs/proc/internal.h bool proc_fill_cache(struct file *, struct dir_context *, const char *, unsigned int,
file              180 fs/proc/internal.h extern int proc_readdir(struct file *, struct dir_context *);
file              181 fs/proc/internal.h int proc_readdir_de(struct file *, struct dir_context *, struct proc_dir_entry *);
file              194 fs/proc/internal.h extern ssize_t proc_simple_write(struct file *, const char __user *, size_t, loff_t *);
file              200 fs/proc/internal.h 	struct file *file;
file              314 fs/proc/kcore.c read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos)
file              316 fs/proc/kcore.c 	char *buf = file->private_data;
file              547 fs/proc/kcore.c static int open_kcore(struct inode *inode, struct file *filp)
file              571 fs/proc/kcore.c static int release_kcore(struct inode *inode, struct file *file)
file              573 fs/proc/kcore.c 	kfree(file->private_data);
file               23 fs/proc/kmsg.c static int kmsg_open(struct inode * inode, struct file * file)
file               28 fs/proc/kmsg.c static int kmsg_release(struct inode * inode, struct file * file)
file               34 fs/proc/kmsg.c static ssize_t kmsg_read(struct file *file, char __user *buf,
file               37 fs/proc/kmsg.c 	if ((file->f_flags & O_NONBLOCK) &&
file               43 fs/proc/kmsg.c static __poll_t kmsg_poll(struct file *file, poll_table *wait)
file               45 fs/proc/kmsg.c 	poll_wait(file, &log_wait, wait);
file              110 fs/proc/namespaces.c static int proc_ns_dir_readdir(struct file *file, struct dir_context *ctx)
file              112 fs/proc/namespaces.c 	struct task_struct *task = get_proc_task(file_inode(file));
file              118 fs/proc/namespaces.c 	if (!dir_emit_dots(file, ctx))
file              126 fs/proc/namespaces.c 		if (!proc_fill_cache(file, ctx, ops->name, strlen(ops->name),
file               36 fs/proc/nommu.c 	struct file *file;
file               41 fs/proc/nommu.c 	file = region->vm_file;
file               43 fs/proc/nommu.c 	if (file) {
file               61 fs/proc/nommu.c 	if (file) {
file               63 fs/proc/nommu.c 		seq_file_path(m, file, "");
file               29 fs/proc/page.c static ssize_t kpagecount_read(struct file *file, char __user *buf,
file              206 fs/proc/page.c static ssize_t kpageflags_read(struct file *file, char __user *buf,
file              251 fs/proc/page.c static ssize_t kpagecgroup_read(struct file *file, char __user *buf,
file               58 fs/proc/proc_net.c static int seq_open_net(struct inode *inode, struct file *file)
file               66 fs/proc/proc_net.c 	if (file->f_mode & FMODE_WRITE && !PDE(inode)->write)
file               73 fs/proc/proc_net.c 	p = __seq_open_private(file, PDE(inode)->seq_ops, state_size);
file               84 fs/proc/proc_net.c static int seq_release_net(struct inode *ino, struct file *f)
file              163 fs/proc/proc_net.c static int single_open_net(struct inode *inode, struct file *file)
file              173 fs/proc/proc_net.c 	err = single_open(file, de->single_show, net);
file              179 fs/proc/proc_net.c static int single_release_net(struct inode *ino, struct file *f)
file              312 fs/proc/proc_net.c static int proc_tgid_net_readdir(struct file *file, struct dir_context *ctx)
file              318 fs/proc/proc_net.c 	net = get_proc_task_net(file_inode(file));
file              320 fs/proc/proc_net.c 		ret = proc_readdir_de(file, ctx, net->proc_net);
file              575 fs/proc/proc_sysctl.c static ssize_t proc_sys_call_handler(struct file *filp, void __user *buf,
file              627 fs/proc/proc_sysctl.c static ssize_t proc_sys_read(struct file *filp, char __user *buf,
file              633 fs/proc/proc_sysctl.c static ssize_t proc_sys_write(struct file *filp, const char __user *buf,
file              639 fs/proc/proc_sysctl.c static int proc_sys_open(struct inode *inode, struct file *filp)
file              656 fs/proc/proc_sysctl.c static __poll_t proc_sys_poll(struct file *filp, poll_table *wait)
file              688 fs/proc/proc_sysctl.c static bool proc_sys_fill_cache(struct file *file,
file              693 fs/proc/proc_sysctl.c 	struct dentry *child, *dir = file->f_path.dentry;
file              737 fs/proc/proc_sysctl.c static bool proc_sys_link_fill_cache(struct file *file,
file              752 fs/proc/proc_sysctl.c 	ret = proc_sys_fill_cache(file, ctx, head, table);
file              759 fs/proc/proc_sysctl.c 		unsigned long *pos, struct file *file,
file              768 fs/proc/proc_sysctl.c 		res = proc_sys_link_fill_cache(file, ctx, head, table);
file              770 fs/proc/proc_sysctl.c 		res = proc_sys_fill_cache(file, ctx, head, table);
file              778 fs/proc/proc_sysctl.c static int proc_sys_readdir(struct file *file, struct dir_context *ctx)
file              780 fs/proc/proc_sysctl.c 	struct ctl_table_header *head = grab_header(file_inode(file));
file              791 fs/proc/proc_sysctl.c 	if (!dir_emit_dots(file, ctx))
file              797 fs/proc/proc_sysctl.c 		if (!scan(h, entry, &pos, file, ctx)) {
file              254 fs/proc/root.c static int proc_root_readdir(struct file *file, struct dir_context *ctx)
file              257 fs/proc/root.c 		int error = proc_readdir(file, ctx);
file              263 fs/proc/root.c 	return proc_pid_readdir(file, ctx);
file              211 fs/proc/stat.c static int stat_open(struct inode *inode, struct file *file)
file              217 fs/proc/stat.c 	return single_open_size(file, show_stat, NULL, size);
file               32 fs/proc/task_mmu.c 	unsigned long text, lib, swap, anon, file, shmem;
file               36 fs/proc/task_mmu.c 	file = get_mm_counter(mm, MM_FILEPAGES);
file               49 fs/proc/task_mmu.c 	hiwater_rss = total_rss = anon + file + shmem;
file               66 fs/proc/task_mmu.c 	SEQ_PUT_DEC(" kB\nRssFile:\t", file);
file              226 fs/proc/task_mmu.c static int proc_maps_open(struct inode *inode, struct file *file,
file              229 fs/proc/task_mmu.c 	struct proc_maps_private *priv = __seq_open_private(file, ops, psize);
file              239 fs/proc/task_mmu.c 		seq_release_private(inode, file);
file              246 fs/proc/task_mmu.c static int proc_map_release(struct inode *inode, struct file *file)
file              248 fs/proc/task_mmu.c 	struct seq_file *seq = file->private_data;
file              254 fs/proc/task_mmu.c 	return seq_release_private(inode, file);
file              257 fs/proc/task_mmu.c static int do_maps_open(struct inode *inode, struct file *file,
file              260 fs/proc/task_mmu.c 	return proc_maps_open(inode, file, ops,
file              303 fs/proc/task_mmu.c 	struct file *file = vma->vm_file;
file              311 fs/proc/task_mmu.c 	if (file) {
file              326 fs/proc/task_mmu.c 	if (file) {
file              328 fs/proc/task_mmu.c 		seq_file_path(m, file, "\n");
file              377 fs/proc/task_mmu.c static int pid_maps_open(struct inode *inode, struct file *file)
file              379 fs/proc/task_mmu.c 	return do_maps_open(inode, file, &proc_pid_maps_op);
file              914 fs/proc/task_mmu.c static int pid_smaps_open(struct inode *inode, struct file *file)
file              916 fs/proc/task_mmu.c 	return do_maps_open(inode, file, &proc_pid_smaps_op);
file              919 fs/proc/task_mmu.c static int smaps_rollup_open(struct inode *inode, struct file *file)
file              928 fs/proc/task_mmu.c 	ret = single_open(file, show_smaps_rollup, priv);
file              937 fs/proc/task_mmu.c 		single_release(inode, file);
file              948 fs/proc/task_mmu.c static int smaps_rollup_release(struct inode *inode, struct file *file)
file              950 fs/proc/task_mmu.c 	struct seq_file *seq = file->private_data;
file              957 fs/proc/task_mmu.c 	return single_release(inode, file);
file             1134 fs/proc/task_mmu.c static ssize_t clear_refs_write(struct file *file, const char __user *buf,
file             1158 fs/proc/task_mmu.c 	task = get_proc_task(file_inode(file));
file             1536 fs/proc/task_mmu.c static ssize_t pagemap_read(struct file *file, char __user *buf,
file             1539 fs/proc/task_mmu.c 	struct mm_struct *mm = file->private_data;
file             1560 fs/proc/task_mmu.c 	pm.show_pfn = file_ns_capable(file, &init_user_ns, CAP_SYS_ADMIN);
file             1621 fs/proc/task_mmu.c static int pagemap_open(struct inode *inode, struct file *file)
file             1628 fs/proc/task_mmu.c 	file->private_data = mm;
file             1632 fs/proc/task_mmu.c static int pagemap_release(struct inode *inode, struct file *file)
file             1634 fs/proc/task_mmu.c 	struct mm_struct *mm = file->private_data;
file             1822 fs/proc/task_mmu.c 	struct file *file = vma->vm_file;
file             1844 fs/proc/task_mmu.c 	if (file) {
file             1846 fs/proc/task_mmu.c 		seq_file_path(m, file, "\n\t= ");
file             1901 fs/proc/task_mmu.c static int pid_numa_maps_open(struct inode *inode, struct file *file)
file             1903 fs/proc/task_mmu.c 	return proc_maps_open(inode, file, &proc_pid_numa_maps_op,
file              149 fs/proc/task_nommu.c 	struct file *file;
file              155 fs/proc/task_nommu.c 	file = vma->vm_file;
file              157 fs/proc/task_nommu.c 	if (file) {
file              176 fs/proc/task_nommu.c 	if (file) {
file              178 fs/proc/task_nommu.c 		seq_file_path(m, file, "");
file              258 fs/proc/task_nommu.c static int maps_open(struct inode *inode, struct file *file,
file              263 fs/proc/task_nommu.c 	priv = __seq_open_private(file, ops, sizeof(*priv));
file              272 fs/proc/task_nommu.c 		seq_release_private(inode, file);
file              280 fs/proc/task_nommu.c static int map_release(struct inode *inode, struct file *file)
file              282 fs/proc/task_nommu.c 	struct seq_file *seq = file->private_data;
file              288 fs/proc/task_nommu.c 	return seq_release_private(inode, file);
file              291 fs/proc/task_nommu.c static int pid_maps_open(struct inode *inode, struct file *file)
file              293 fs/proc/task_nommu.c 	return maps_open(inode, file, &proc_pid_maps_ops);
file              399 fs/proc/vmcore.c static ssize_t read_vmcore(struct file *file, char __user *buffer,
file              551 fs/proc/vmcore.c static int mmap_vmcore(struct file *file, struct vm_area_struct *vma)
file              665 fs/proc/vmcore.c static int mmap_vmcore(struct file *file, struct vm_area_struct *vma)
file               21 fs/proc_namespace.c static __poll_t mounts_poll(struct file *file, poll_table *wait)
file               23 fs/proc_namespace.c 	struct seq_file *m = file->private_data;
file               29 fs/proc_namespace.c 	poll_wait(file, &p->ns->poll, wait);
file              238 fs/proc_namespace.c static int mounts_open_common(struct inode *inode, struct file *file,
file              271 fs/proc_namespace.c 	ret = seq_open_private(file, &mounts_op, sizeof(struct proc_mounts));
file              275 fs/proc_namespace.c 	m = file->private_data;
file              294 fs/proc_namespace.c static int mounts_release(struct inode *inode, struct file *file)
file              296 fs/proc_namespace.c 	struct seq_file *m = file->private_data;
file              300 fs/proc_namespace.c 	return seq_release_private(inode, file);
file              303 fs/proc_namespace.c static int mounts_open(struct inode *inode, struct file *file)
file              305 fs/proc_namespace.c 	return mounts_open_common(inode, file, show_vfsmnt);
file              308 fs/proc_namespace.c static int mountinfo_open(struct inode *inode, struct file *file)
file              310 fs/proc_namespace.c 	return mounts_open_common(inode, file, show_mountinfo);
file              313 fs/proc_namespace.c static int mountstats_open(struct inode *inode, struct file *file)
file              315 fs/proc_namespace.c 	return mounts_open_common(inode, file, show_vfsstat);
file               60 fs/pstore/ftrace.c static ssize_t pstore_ftrace_knob_write(struct file *f, const char __user *buf,
file               97 fs/pstore/ftrace.c static ssize_t pstore_ftrace_knob_read(struct file *f, char __user *buf,
file              125 fs/pstore/inode.c static ssize_t pstore_file_read(struct file *file, char __user *userbuf,
file              128 fs/pstore/inode.c 	struct seq_file *sf = file->private_data;
file              132 fs/pstore/inode.c 		return seq_read(file, userbuf, count, ppos);
file              137 fs/pstore/inode.c static int pstore_file_open(struct inode *inode, struct file *file)
file              147 fs/pstore/inode.c 	err = seq_open(file, sops);
file              151 fs/pstore/inode.c 	sf = file->private_data;
file              157 fs/pstore/inode.c static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence)
file              159 fs/pstore/inode.c 	struct seq_file *sf = file->private_data;
file              162 fs/pstore/inode.c 		return seq_lseek(file, off, whence);
file              163 fs/pstore/inode.c 	return default_llseek(file, off, whence);
file               14 fs/pstore/pmsg.c static ssize_t write_pmsg(struct file *file, const char __user *buf,
file               18 fs/qnx4/dir.c  static int qnx4_readdir(struct file *file, struct dir_context *ctx)
file               20 fs/qnx4/dir.c  	struct inode *inode = file_inode(file);
file              249 fs/qnx4/inode.c static int qnx4_readpage(struct file *file, struct page *page)
file              112 fs/qnx6/dir.c  static int qnx6_readdir(struct file *file, struct dir_context *ctx)
file              114 fs/qnx6/dir.c  	struct inode *inode = file_inode(file);
file               97 fs/qnx6/inode.c static int qnx6_readpage(struct file *file, struct page *page)
file              102 fs/qnx6/inode.c static int qnx6_readpages(struct file *file, struct address_space *mapping,
file             2156 fs/quota/dquot.c int dquot_file_open(struct inode *inode, struct file *file)
file             2160 fs/quota/dquot.c 	error = generic_file_open(inode, file);
file             2161 fs/quota/dquot.c 	if (!error && (file->f_mode & FMODE_WRITE))
file               34 fs/ramfs/file-mmu.c static unsigned long ramfs_mmu_get_unmapped_area(struct file *file,
file               38 fs/ramfs/file-mmu.c 	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
file               26 fs/ramfs/file-nommu.c static unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
file               31 fs/ramfs/file-nommu.c static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
file               33 fs/ramfs/file-nommu.c static unsigned ramfs_mmap_capabilities(struct file *file)
file              201 fs/ramfs/file-nommu.c static unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
file              206 fs/ramfs/file-nommu.c 	struct inode *inode = file_inode(file);
file              256 fs/ramfs/file-nommu.c static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
file              261 fs/ramfs/file-nommu.c 	file_accessed(file);
file               37 fs/read_write.c static inline bool unsigned_offsets(struct file *file)
file               39 fs/read_write.c 	return file->f_mode & FMODE_UNSIGNED_OFFSET;
file               54 fs/read_write.c loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize)
file               56 fs/read_write.c 	if (offset < 0 && !unsigned_offsets(file))
file               61 fs/read_write.c 	if (offset != file->f_pos) {
file               62 fs/read_write.c 		file->f_pos = offset;
file               63 fs/read_write.c 		file->f_version = 0;
file               86 fs/read_write.c generic_file_llseek_size(struct file *file, loff_t offset, int whence,
file              101 fs/read_write.c 			return file->f_pos;
file              107 fs/read_write.c 		spin_lock(&file->f_lock);
file              108 fs/read_write.c 		offset = vfs_setpos(file, file->f_pos + offset, maxsize);
file              109 fs/read_write.c 		spin_unlock(&file->f_lock);
file              130 fs/read_write.c 	return vfs_setpos(file, offset, maxsize);
file              144 fs/read_write.c loff_t generic_file_llseek(struct file *file, loff_t offset, int whence)
file              146 fs/read_write.c 	struct inode *inode = file->f_mapping->host;
file              148 fs/read_write.c 	return generic_file_llseek_size(file, offset, whence,
file              162 fs/read_write.c loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size)
file              166 fs/read_write.c 		return generic_file_llseek_size(file, offset, whence,
file              181 fs/read_write.c loff_t no_seek_end_llseek(struct file *file, loff_t offset, int whence)
file              185 fs/read_write.c 		return generic_file_llseek_size(file, offset, whence,
file              201 fs/read_write.c loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size)
file              205 fs/read_write.c 		return generic_file_llseek_size(file, offset, whence,
file              224 fs/read_write.c loff_t noop_llseek(struct file *file, loff_t offset, int whence)
file              226 fs/read_write.c 	return file->f_pos;
file              230 fs/read_write.c loff_t no_llseek(struct file *file, loff_t offset, int whence)
file              236 fs/read_write.c loff_t default_llseek(struct file *file, loff_t offset, int whence)
file              238 fs/read_write.c 	struct inode *inode = file_inode(file);
file              248 fs/read_write.c 				retval = file->f_pos;
file              251 fs/read_write.c 			offset += file->f_pos;
file              278 fs/read_write.c 	if (offset >= 0 || unsigned_offsets(file)) {
file              279 fs/read_write.c 		if (offset != file->f_pos) {
file              280 fs/read_write.c 			file->f_pos = offset;
file              281 fs/read_write.c 			file->f_version = 0;
file              291 fs/read_write.c loff_t vfs_llseek(struct file *file, loff_t offset, int whence)
file              293 fs/read_write.c 	loff_t (*fn)(struct file *, loff_t, int);
file              296 fs/read_write.c 	if (file->f_mode & FMODE_LSEEK) {
file              297 fs/read_write.c 		if (file->f_op->llseek)
file              298 fs/read_write.c 			fn = file->f_op->llseek;
file              300 fs/read_write.c 	return fn(file, offset, whence);
file              308 fs/read_write.c 	if (!f.file)
file              313 fs/read_write.c 		loff_t res = vfs_llseek(f.file, offset, whence);
file              343 fs/read_write.c 	if (!f.file)
file              350 fs/read_write.c 	offset = vfs_llseek(f.file, ((loff_t) offset_high << 32) | offset_low,
file              365 fs/read_write.c int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count)
file              370 fs/read_write.c 	inode = file_inode(file);
file              382 fs/read_write.c 			if (!unsigned_offsets(file))
file              387 fs/read_write.c 			if (!unsigned_offsets(file))
file              392 fs/read_write.c 			retval = locks_mandatory_area(inode, file, pos, pos + count - 1,
file              399 fs/read_write.c 	return security_file_permission(file,
file              403 fs/read_write.c static ssize_t new_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos)
file              421 fs/read_write.c ssize_t __vfs_read(struct file *file, char __user *buf, size_t count,
file              424 fs/read_write.c 	if (file->f_op->read)
file              425 fs/read_write.c 		return file->f_op->read(file, buf, count, pos);
file              426 fs/read_write.c 	else if (file->f_op->read_iter)
file              427 fs/read_write.c 		return new_sync_read(file, buf, count, pos);
file              432 fs/read_write.c ssize_t kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
file              440 fs/read_write.c 	result = vfs_read(file, (void __user *)buf, count, pos);
file              446 fs/read_write.c ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
file              450 fs/read_write.c 	if (!(file->f_mode & FMODE_READ))
file              452 fs/read_write.c 	if (!(file->f_mode & FMODE_CAN_READ))
file              457 fs/read_write.c 	ret = rw_verify_area(READ, file, pos, count);
file              461 fs/read_write.c 		ret = __vfs_read(file, buf, count, pos);
file              463 fs/read_write.c 			fsnotify_access(file);
file              472 fs/read_write.c static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos)
file              490 fs/read_write.c static ssize_t __vfs_write(struct file *file, const char __user *p,
file              493 fs/read_write.c 	if (file->f_op->write)
file              494 fs/read_write.c 		return file->f_op->write(file, p, count, pos);
file              495 fs/read_write.c 	else if (file->f_op->write_iter)
file              496 fs/read_write.c 		return new_sync_write(file, p, count, pos);
file              501 fs/read_write.c ssize_t __kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos)
file              507 fs/read_write.c 	if (!(file->f_mode & FMODE_CAN_WRITE))
file              515 fs/read_write.c 	ret = __vfs_write(file, p, count, pos);
file              518 fs/read_write.c 		fsnotify_modify(file);
file              526 fs/read_write.c ssize_t kernel_write(struct file *file, const void *buf, size_t count,
file              535 fs/read_write.c 	res = vfs_write(file, (__force const char __user *)buf, count, pos);
file              542 fs/read_write.c ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
file              546 fs/read_write.c 	if (!(file->f_mode & FMODE_WRITE))
file              548 fs/read_write.c 	if (!(file->f_mode & FMODE_CAN_WRITE))
file              553 fs/read_write.c 	ret = rw_verify_area(WRITE, file, pos, count);
file              557 fs/read_write.c 		file_start_write(file);
file              558 fs/read_write.c 		ret = __vfs_write(file, buf, count, pos);
file              560 fs/read_write.c 			fsnotify_modify(file);
file              564 fs/read_write.c 		file_end_write(file);
file              571 fs/read_write.c static inline loff_t *file_ppos(struct file *file)
file              573 fs/read_write.c 	return file->f_mode & FMODE_STREAM ? NULL : &file->f_pos;
file              581 fs/read_write.c 	if (f.file) {
file              582 fs/read_write.c 		loff_t pos, *ppos = file_ppos(f.file);
file              587 fs/read_write.c 		ret = vfs_read(f.file, buf, count, ppos);
file              589 fs/read_write.c 			f.file->f_pos = pos;
file              605 fs/read_write.c 	if (f.file) {
file              606 fs/read_write.c 		loff_t pos, *ppos = file_ppos(f.file);
file              611 fs/read_write.c 		ret = vfs_write(f.file, buf, count, ppos);
file              613 fs/read_write.c 			f.file->f_pos = pos;
file              636 fs/read_write.c 	if (f.file) {
file              638 fs/read_write.c 		if (f.file->f_mode & FMODE_PREAD)
file              639 fs/read_write.c 			ret = vfs_read(f.file, buf, count, &pos);
file              662 fs/read_write.c 	if (f.file) {
file              664 fs/read_write.c 		if (f.file->f_mode & FMODE_PWRITE)  
file              665 fs/read_write.c 			ret = vfs_write(f.file, buf, count, &pos);
file              678 fs/read_write.c static ssize_t do_iter_readv_writev(struct file *filp, struct iov_iter *iter,
file              701 fs/read_write.c static ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter,
file              914 fs/read_write.c static ssize_t do_iter_read(struct file *file, struct iov_iter *iter,
file              920 fs/read_write.c 	if (!(file->f_mode & FMODE_READ))
file              922 fs/read_write.c 	if (!(file->f_mode & FMODE_CAN_READ))
file              928 fs/read_write.c 	ret = rw_verify_area(READ, file, pos, tot_len);
file              932 fs/read_write.c 	if (file->f_op->read_iter)
file              933 fs/read_write.c 		ret = do_iter_readv_writev(file, iter, pos, READ, flags);
file              935 fs/read_write.c 		ret = do_loop_readv_writev(file, iter, pos, READ, flags);
file              938 fs/read_write.c 		fsnotify_access(file);
file              942 fs/read_write.c ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos,
file              945 fs/read_write.c 	if (!file->f_op->read_iter)
file              947 fs/read_write.c 	return do_iter_read(file, iter, ppos, flags);
file              951 fs/read_write.c static ssize_t do_iter_write(struct file *file, struct iov_iter *iter,
file              957 fs/read_write.c 	if (!(file->f_mode & FMODE_WRITE))
file              959 fs/read_write.c 	if (!(file->f_mode & FMODE_CAN_WRITE))
file              965 fs/read_write.c 	ret = rw_verify_area(WRITE, file, pos, tot_len);
file              969 fs/read_write.c 	if (file->f_op->write_iter)
file              970 fs/read_write.c 		ret = do_iter_readv_writev(file, iter, pos, WRITE, flags);
file              972 fs/read_write.c 		ret = do_loop_readv_writev(file, iter, pos, WRITE, flags);
file              974 fs/read_write.c 		fsnotify_modify(file);
file              978 fs/read_write.c ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos,
file              981 fs/read_write.c 	if (!file->f_op->write_iter)
file              983 fs/read_write.c 	return do_iter_write(file, iter, ppos, flags);
file              987 fs/read_write.c ssize_t vfs_readv(struct file *file, const struct iovec __user *vec,
file              997 fs/read_write.c 		ret = do_iter_read(file, &iter, pos, flags);
file             1004 fs/read_write.c static ssize_t vfs_writev(struct file *file, const struct iovec __user *vec,
file             1014 fs/read_write.c 		file_start_write(file);
file             1015 fs/read_write.c 		ret = do_iter_write(file, &iter, pos, flags);
file             1016 fs/read_write.c 		file_end_write(file);
file             1028 fs/read_write.c 	if (f.file) {
file             1029 fs/read_write.c 		loff_t pos, *ppos = file_ppos(f.file);
file             1034 fs/read_write.c 		ret = vfs_readv(f.file, vec, vlen, ppos, flags);
file             1036 fs/read_write.c 			f.file->f_pos = pos;
file             1052 fs/read_write.c 	if (f.file) {
file             1053 fs/read_write.c 		loff_t pos, *ppos = file_ppos(f.file);
file             1058 fs/read_write.c 		ret = vfs_writev(f.file, vec, vlen, ppos, flags);
file             1060 fs/read_write.c 			f.file->f_pos = pos;
file             1086 fs/read_write.c 	if (f.file) {
file             1088 fs/read_write.c 		if (f.file->f_mode & FMODE_PREAD)
file             1089 fs/read_write.c 			ret = vfs_readv(f.file, vec, vlen, &pos, flags);
file             1109 fs/read_write.c 	if (f.file) {
file             1111 fs/read_write.c 		if (f.file->f_mode & FMODE_PWRITE)
file             1112 fs/read_write.c 			ret = vfs_writev(f.file, vec, vlen, &pos, flags);
file             1175 fs/read_write.c static size_t compat_readv(struct file *file,
file             1186 fs/read_write.c 		ret = do_iter_read(file, &iter, pos, flags);
file             1203 fs/read_write.c 	if (!f.file)
file             1205 fs/read_write.c 	pos = f.file->f_pos;
file             1206 fs/read_write.c 	ret = compat_readv(f.file, vec, vlen, &pos, flags);
file             1208 fs/read_write.c 		f.file->f_pos = pos;
file             1231 fs/read_write.c 	if (!f.file)
file             1234 fs/read_write.c 	if (f.file->f_mode & FMODE_PREAD)
file             1235 fs/read_write.c 		ret = compat_readv(f.file, vec, vlen, &pos, flags);
file             1283 fs/read_write.c static size_t compat_writev(struct file *file,
file             1294 fs/read_write.c 		file_start_write(file);
file             1295 fs/read_write.c 		ret = do_iter_write(file, &iter, pos, flags);
file             1296 fs/read_write.c 		file_end_write(file);
file             1313 fs/read_write.c 	if (!f.file)
file             1315 fs/read_write.c 	pos = f.file->f_pos;
file             1316 fs/read_write.c 	ret = compat_writev(f.file, vec, vlen, &pos, flags);
file             1318 fs/read_write.c 		f.file->f_pos = pos;
file             1340 fs/read_write.c 	if (!f.file)
file             1343 fs/read_write.c 	if (f.file->f_mode & FMODE_PWRITE)
file             1344 fs/read_write.c 		ret = compat_writev(f.file, vec, vlen, &pos, flags);
file             1408 fs/read_write.c 	if (!in.file)
file             1410 fs/read_write.c 	if (!(in.file->f_mode & FMODE_READ))
file             1414 fs/read_write.c 		pos = in.file->f_pos;
file             1417 fs/read_write.c 		if (!(in.file->f_mode & FMODE_PREAD))
file             1420 fs/read_write.c 	retval = rw_verify_area(READ, in.file, &pos, count);
file             1431 fs/read_write.c 	if (!out.file)
file             1433 fs/read_write.c 	if (!(out.file->f_mode & FMODE_WRITE))
file             1435 fs/read_write.c 	in_inode = file_inode(in.file);
file             1436 fs/read_write.c 	out_inode = file_inode(out.file);
file             1437 fs/read_write.c 	out_pos = out.file->f_pos;
file             1438 fs/read_write.c 	retval = rw_verify_area(WRITE, out.file, &out_pos, count);
file             1460 fs/read_write.c 	if (in.file->f_flags & O_NONBLOCK)
file             1463 fs/read_write.c 	file_start_write(out.file);
file             1464 fs/read_write.c 	retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl);
file             1465 fs/read_write.c 	file_end_write(out.file);
file             1470 fs/read_write.c 		fsnotify_access(in.file);
file             1471 fs/read_write.c 		fsnotify_modify(out.file);
file             1472 fs/read_write.c 		out.file->f_pos = out_pos;
file             1476 fs/read_write.c 			in.file->f_pos = pos;
file             1589 fs/read_write.c ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in,
file             1590 fs/read_write.c 				struct file *file_out, loff_t pos_out,
file             1598 fs/read_write.c static ssize_t do_copy_file_range(struct file *file_in, loff_t pos_in,
file             1599 fs/read_write.c 				  struct file *file_out, loff_t pos_out,
file             1625 fs/read_write.c ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in,
file             1626 fs/read_write.c 			    struct file *file_out, loff_t pos_out,
file             1701 fs/read_write.c 	if (!f_in.file)
file             1705 fs/read_write.c 	if (!f_out.file)
file             1713 fs/read_write.c 		pos_in = f_in.file->f_pos;
file             1720 fs/read_write.c 		pos_out = f_out.file->f_pos;
file             1723 fs/read_write.c 	ret = vfs_copy_file_range(f_in.file, pos_in, f_out.file, pos_out, len,
file             1733 fs/read_write.c 			f_in.file->f_pos = pos_in;
file             1740 fs/read_write.c 			f_out.file->f_pos = pos_out;
file             1752 fs/read_write.c static int remap_verify_area(struct file *file, loff_t pos, loff_t len,
file             1755 fs/read_write.c 	struct inode *inode = file_inode(file);
file             1767 fs/read_write.c 		retval = locks_mandatory_area(inode, file, pos, end,
file             1773 fs/read_write.c 	return security_file_permission(file, write ? MAY_WRITE : MAY_READ);
file             1944 fs/read_write.c int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
file             1945 fs/read_write.c 				  struct file *file_out, loff_t pos_out,
file             2027 fs/read_write.c loff_t do_clone_file_range(struct file *file_in, loff_t pos_in,
file             2028 fs/read_write.c 			   struct file *file_out, loff_t pos_out,
file             2069 fs/read_write.c loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
file             2070 fs/read_write.c 			    struct file *file_out, loff_t pos_out,
file             2085 fs/read_write.c static bool allow_file_dedupe(struct file *file)
file             2089 fs/read_write.c 	if (file->f_mode & FMODE_WRITE)
file             2091 fs/read_write.c 	if (uid_eq(current_fsuid(), file_inode(file)->i_uid))
file             2093 fs/read_write.c 	if (!inode_permission(file_inode(file), MAY_WRITE))
file             2098 fs/read_write.c loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos,
file             2099 fs/read_write.c 				 struct file *dst_file, loff_t dst_pos,
file             2145 fs/read_write.c int vfs_dedupe_file_range(struct file *file, struct file_dedupe_range *same)
file             2148 fs/read_write.c 	struct inode *src = file_inode(file);
file             2156 fs/read_write.c 	if (!(file->f_mode & FMODE_READ))
file             2171 fs/read_write.c 	if (!file->f_op->remap_file_range)
file             2174 fs/read_write.c 	ret = remap_verify_area(file, off, len, false);
file             2193 fs/read_write.c 		struct file *dst_file = dst_fd.file;
file             2205 fs/read_write.c 		deduped = vfs_dedupe_file_range_one(file, off, dst_file,
file               40 fs/readdir.c   int iterate_dir(struct file *file, struct dir_context *ctx)
file               42 fs/readdir.c   	struct inode *inode = file_inode(file);
file               45 fs/readdir.c   	if (file->f_op->iterate_shared)
file               47 fs/readdir.c   	else if (!file->f_op->iterate)
file               50 fs/readdir.c   	res = security_file_permission(file, MAY_READ);
file               63 fs/readdir.c   		ctx->pos = file->f_pos;
file               65 fs/readdir.c   			res = file->f_op->iterate_shared(file, ctx);
file               67 fs/readdir.c   			res = file->f_op->iterate(file, ctx);
file               68 fs/readdir.c   		file->f_pos = ctx->pos;
file               69 fs/readdir.c   		fsnotify_access(file);
file               70 fs/readdir.c   		file_accessed(file);
file              186 fs/readdir.c   	if (!f.file)
file              189 fs/readdir.c   	error = iterate_dir(f.file, &buf.ctx);
file              282 fs/readdir.c   	if (!f.file)
file              285 fs/readdir.c   	error = iterate_dir(f.file, &buf.ctx);
file              368 fs/readdir.c   	if (!f.file)
file              371 fs/readdir.c   	error = iterate_dir(f.file, &buf.ctx);
file              453 fs/readdir.c   	if (!f.file)
file              456 fs/readdir.c   	error = iterate_dir(f.file, &buf.ctx);
file              541 fs/readdir.c   	if (!f.file)
file              544 fs/readdir.c   	error = iterate_dir(f.file, &buf.ctx);
file               16 fs/reiserfs/dir.c static int reiserfs_readdir(struct file *, struct dir_context *);
file               17 fs/reiserfs/dir.c static int reiserfs_dir_fsync(struct file *filp, loff_t start, loff_t end,
file               31 fs/reiserfs/dir.c static int reiserfs_dir_fsync(struct file *filp, loff_t start, loff_t end,
file              272 fs/reiserfs/dir.c static int reiserfs_readdir(struct file *file, struct dir_context *ctx)
file              274 fs/reiserfs/dir.c 	return reiserfs_readdir_inode(file_inode(file), ctx);
file               32 fs/reiserfs/file.c static int reiserfs_file_release(struct inode *inode, struct file *filp)
file              123 fs/reiserfs/file.c static int reiserfs_file_open(struct inode *inode, struct file *file)
file              125 fs/reiserfs/file.c 	int err = dquot_file_open(inode, file);
file              150 fs/reiserfs/file.c static int reiserfs_sync_file(struct file *filp, loff_t start, loff_t end,
file               24 fs/reiserfs/inode.c int reiserfs_commit_write(struct file *f, struct page *page,
file             1164 fs/reiserfs/inode.c reiserfs_readpages(struct file *file, struct address_space *mapping,
file             2743 fs/reiserfs/inode.c static int reiserfs_readpage(struct file *f, struct page *page)
file             2761 fs/reiserfs/inode.c static int reiserfs_write_begin(struct file *file,
file             2895 fs/reiserfs/inode.c static int reiserfs_write_end(struct file *file, struct address_space *mapping,
file             2998 fs/reiserfs/inode.c int reiserfs_commit_write(struct file *f, struct page *page,
file             3265 fs/reiserfs/inode.c 	struct file *file = iocb->ki_filp;
file             3266 fs/reiserfs/inode.c 	struct inode *inode = file->f_mapping->host;
file               23 fs/reiserfs/ioctl.c long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              130 fs/reiserfs/ioctl.c long reiserfs_compat_ioctl(struct file *file, unsigned int cmd,
file              157 fs/reiserfs/ioctl.c 	return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file              161 fs/reiserfs/ioctl.c int reiserfs_commit_write(struct file *f, struct page *page,
file              168 fs/reiserfs/ioctl.c int reiserfs_unpack(struct inode *inode, struct file *filp)
file             3410 fs/reiserfs/reiserfs.h long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file             3411 fs/reiserfs/reiserfs.h long reiserfs_compat_ioctl(struct file *filp,
file             3413 fs/reiserfs/reiserfs.h int reiserfs_unpack(struct inode *inode, struct file *filp);
file              469 fs/reiserfs/xattr.c int reiserfs_commit_write(struct file *f, struct page *page,
file               18 fs/romfs/mmap-nommu.c static unsigned long romfs_get_unmapped_area(struct file *file,
file               24 fs/romfs/mmap-nommu.c 	struct inode *inode = file->f_mapping->host;
file               64 fs/romfs/mmap-nommu.c static int romfs_mmap(struct file *file, struct vm_area_struct *vma)
file               69 fs/romfs/mmap-nommu.c static unsigned romfs_mmap_capabilities(struct file *file)
file               71 fs/romfs/mmap-nommu.c 	struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd;
file              102 fs/romfs/super.c static int romfs_readpage(struct file *file, struct page *page)
file              151 fs/romfs/super.c static int romfs_readdir(struct file *file, struct dir_context *ctx)
file              153 fs/romfs/super.c 	struct inode *i = file_inode(file);
file              118 fs/select.c    static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
file              221 fs/select.c    static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
file              531 fs/select.c    				if (f.file) {
file              534 fs/select.c    					mask = vfs_poll(f.file, wait);
file              853 fs/select.c    	if (!f.file)
file              859 fs/select.c    	mask = vfs_poll(f.file, pwait);
file               51 fs/seq_file.c  int seq_open(struct file *file, const struct seq_operations *op)
file               55 fs/seq_file.c  	WARN_ON(file->private_data);
file               61 fs/seq_file.c  	file->private_data = p;
file               68 fs/seq_file.c  	p->file = file;
file               75 fs/seq_file.c  	file->f_version = 0;
file               86 fs/seq_file.c  	file->f_mode &= ~FMODE_PWRITE;
file              153 fs/seq_file.c  ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)
file              155 fs/seq_file.c  	struct seq_file *m = file->private_data;
file              174 fs/seq_file.c  	m->version = file->f_version;
file              290 fs/seq_file.c  	file->f_version = m->version;
file              310 fs/seq_file.c  loff_t seq_lseek(struct file *file, loff_t offset, int whence)
file              312 fs/seq_file.c  	struct seq_file *m = file->private_data;
file              316 fs/seq_file.c  	m->version = file->f_version;
file              319 fs/seq_file.c  		offset += file->f_pos;
file              330 fs/seq_file.c  				file->f_pos = 0;
file              337 fs/seq_file.c  				retval = file->f_pos = offset;
file              340 fs/seq_file.c  			file->f_pos = offset;
file              343 fs/seq_file.c  	file->f_version = m->version;
file              357 fs/seq_file.c  int seq_release(struct inode *inode, struct file *file)
file              359 fs/seq_file.c  	struct seq_file *m = file->private_data;
file              492 fs/seq_file.c  int seq_file_path(struct seq_file *m, struct file *file, const char *esc)
file              494 fs/seq_file.c  	return seq_path(m, &file->f_path, esc);
file              566 fs/seq_file.c  int single_open(struct file *file, int (*show)(struct seq_file *, void *),
file              577 fs/seq_file.c  		res = seq_open(file, op);
file              579 fs/seq_file.c  			((struct seq_file *)file->private_data)->private = data;
file              587 fs/seq_file.c  int single_open_size(struct file *file, int (*show)(struct seq_file *, void *),
file              594 fs/seq_file.c  	ret = single_open(file, show, data);
file              599 fs/seq_file.c  	((struct seq_file *)file->private_data)->buf = buf;
file              600 fs/seq_file.c  	((struct seq_file *)file->private_data)->size = size;
file              605 fs/seq_file.c  int single_release(struct inode *inode, struct file *file)
file              607 fs/seq_file.c  	const struct seq_operations *op = ((struct seq_file *)file->private_data)->op;
file              608 fs/seq_file.c  	int res = seq_release(inode, file);
file              614 fs/seq_file.c  int seq_release_private(struct inode *inode, struct file *file)
file              616 fs/seq_file.c  	struct seq_file *seq = file->private_data;
file              620 fs/seq_file.c  	return seq_release(inode, file);
file              624 fs/seq_file.c  void *__seq_open_private(struct file *f, const struct seq_operations *ops,
file              650 fs/seq_file.c  int seq_open_private(struct file *filp, const struct seq_operations *ops,
file               55 fs/signalfd.c  static int signalfd_release(struct inode *inode, struct file *file)
file               57 fs/signalfd.c  	kfree(file->private_data);
file               61 fs/signalfd.c  static __poll_t signalfd_poll(struct file *file, poll_table *wait)
file               63 fs/signalfd.c  	struct signalfd_ctx *ctx = file->private_data;
file               66 fs/signalfd.c  	poll_wait(file, &current->sighand->signalfd_wqh, wait);
file              212 fs/signalfd.c  static ssize_t signalfd_read(struct file *file, char __user *buf, size_t count,
file              215 fs/signalfd.c  	struct signalfd_ctx *ctx = file->private_data;
file              217 fs/signalfd.c  	int nonblock = file->f_flags & O_NONBLOCK;
file              242 fs/signalfd.c  static void signalfd_show_fdinfo(struct seq_file *m, struct file *f)
file              294 fs/signalfd.c  		if (!f.file)
file              296 fs/signalfd.c  		ctx = f.file->private_data;
file              297 fs/signalfd.c  		if (f.file->f_op != &signalfd_fops) {
file              295 fs/splice.c    ssize_t generic_file_splice_read(struct file *in, loff_t *ppos,
file              349 fs/splice.c    static ssize_t kernel_readv(struct file *file, const struct kvec *vec,
file              359 fs/splice.c    	res = vfs_readv(file, (const struct iovec __user *)vec, vlen, &pos, 0);
file              365 fs/splice.c    static ssize_t default_file_splice_read(struct file *in, loff_t *ppos,
file              437 fs/splice.c    	struct file *file = sd->u.file;
file              441 fs/splice.c    	if (!likely(file->f_op->sendpage))
file              449 fs/splice.c    	return file->f_op->sendpage(file, buf->page, buf->offset,
file              646 fs/splice.c    ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out,
file              655 fs/splice.c    		.u.file = out,
file              680 fs/splice.c    iter_file_splice_write(struct pipe_inode_info *pipe, struct file *out,
file              687 fs/splice.c    		.u.file = out,
file              794 fs/splice.c    	ret = __kernel_write(sd->u.file, data + buf->offset, sd->len, &tmp);
file              801 fs/splice.c    					 struct file *out, loff_t *ppos,
file              826 fs/splice.c    ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, struct file *out,
file              837 fs/splice.c    static long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
file              840 fs/splice.c    	ssize_t (*splice_write)(struct pipe_inode_info *, struct file *,
file              854 fs/splice.c    static long do_splice_to(struct file *in, loff_t *ppos,
file              858 fs/splice.c    	ssize_t (*splice_read)(struct file *, loff_t *,
file              893 fs/splice.c    ssize_t splice_direct_to_actor(struct file *in, struct splice_desc *sd,
file             1019 fs/splice.c    	struct file *file = sd->u.file;
file             1021 fs/splice.c    	return do_splice_from(pipe, file, sd->opos, sd->total_len,
file             1041 fs/splice.c    long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
file             1049 fs/splice.c    		.u.file		= out,
file             1098 fs/splice.c    static long do_splice(struct file *in, loff_t __user *off_in,
file             1099 fs/splice.c    		      struct file *out, loff_t __user *off_out,
file             1264 fs/splice.c    static long vmsplice_to_user(struct file *file, struct iov_iter *iter,
file             1267 fs/splice.c    	struct pipe_inode_info *pipe = get_pipe_info(file);
file             1292 fs/splice.c    static long vmsplice_to_pipe(struct file *file, struct iov_iter *iter,
file             1302 fs/splice.c    	pipe = get_pipe_info(file);
file             1318 fs/splice.c    	if (!f.file)
file             1320 fs/splice.c    	if (f.file->f_mode & FMODE_WRITE) {
file             1322 fs/splice.c    	} else if (f.file->f_mode & FMODE_READ) {
file             1347 fs/splice.c    static long do_vmsplice(struct file *f, struct iov_iter *iter, unsigned int flags)
file             1379 fs/splice.c    		error = do_vmsplice(f.file, &iter, flags);
file             1405 fs/splice.c    		error = do_vmsplice(f.file, &iter, flags);
file             1428 fs/splice.c    	if (in.file) {
file             1429 fs/splice.c    		if (in.file->f_mode & FMODE_READ) {
file             1431 fs/splice.c    			if (out.file) {
file             1432 fs/splice.c    				if (out.file->f_mode & FMODE_WRITE)
file             1433 fs/splice.c    					error = do_splice(in.file, off_in,
file             1434 fs/splice.c    							  out.file, off_out,
file             1734 fs/splice.c    static long do_tee(struct file *in, struct file *out, size_t len,
file             1777 fs/splice.c    	if (in.file) {
file             1778 fs/splice.c    		if (in.file->f_mode & FMODE_READ) {
file             1780 fs/splice.c    			if (out.file) {
file             1781 fs/splice.c    				if (out.file->f_mode & FMODE_WRITE)
file             1782 fs/splice.c    					error = do_tee(in.file, out.file,
file               97 fs/squashfs/dir.c static int squashfs_readdir(struct file *file, struct dir_context *ctx)
file               99 fs/squashfs/dir.c 	struct inode *inode = file_inode(file);
file              447 fs/squashfs/file.c static int squashfs_readpage(struct file *file, struct page *page)
file               33 fs/squashfs/symlink.c static int squashfs_symlink_readpage(struct file *file, struct page *page)
file              144 fs/stat.c      	if (f.file) {
file              145 fs/stat.c      		error = vfs_getattr(&f.file->f_path, stat,
file              117 fs/statfs.c    	if (f.file) {
file              118 fs/statfs.c    		error = vfs_statfs(&f.file->f_path, st);
file              166 fs/sync.c      	if (!f.file)
file              168 fs/sync.c      	sb = f.file->f_path.dentry->d_sb;
file              189 fs/sync.c      int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)
file              191 fs/sync.c      	struct inode *inode = file->f_mapping->host;
file              193 fs/sync.c      	if (!file->f_op->fsync)
file              197 fs/sync.c      	return file->f_op->fsync(file, start, end, datasync);
file              209 fs/sync.c      int vfs_fsync(struct file *file, int datasync)
file              211 fs/sync.c      	return vfs_fsync_range(file, 0, LLONG_MAX, datasync);
file              220 fs/sync.c      	if (f.file) {
file              221 fs/sync.c      		ret = vfs_fsync(f.file, datasync);
file              237 fs/sync.c      int sync_file_range(struct file *file, loff_t offset, loff_t nbytes,
file              280 fs/sync.c      	i_mode = file_inode(file)->i_mode;
file              286 fs/sync.c      	mapping = file->f_mapping;
file              289 fs/sync.c      		ret = file_fdatawait_range(file, offset, endbyte);
file              308 fs/sync.c      		ret = file_fdatawait_range(file, offset, endbyte);
file              372 fs/sync.c      	if (f.file)
file              373 fs/sync.c      		ret = sync_file_range(f.file, offset, nbytes, flags);
file               84 fs/sysfs/file.c 	loff_t size = file_inode(of->file)->i_size;
file               99 fs/sysfs/file.c 	return battr->read(of->file, kobj, battr, buf, pos, count);
file              147 fs/sysfs/file.c 	loff_t size = file_inode(of->file)->i_size;
file              160 fs/sysfs/file.c 	return battr->write(of->file, kobj, battr, buf, pos, count);
file              169 fs/sysfs/file.c 	return battr->mmap(of->file, kobj, battr, vma);
file               22 fs/sysv/dir.c  static int sysv_readdir(struct file *, struct dir_context *);
file               64 fs/sysv/dir.c  static int sysv_readdir(struct file *file, struct dir_context *ctx)
file               67 fs/sysv/dir.c  	struct inode *inode = file_inode(file);
file              459 fs/sysv/itree.c static int sysv_readpage(struct file *file, struct page *page)
file              479 fs/sysv/itree.c static int sysv_write_begin(struct file *file, struct address_space *mapping,
file              216 fs/timerfd.c   static int timerfd_release(struct inode *inode, struct file *file)
file              218 fs/timerfd.c   	struct timerfd_ctx *ctx = file->private_data;
file              230 fs/timerfd.c   static __poll_t timerfd_poll(struct file *file, poll_table *wait)
file              232 fs/timerfd.c   	struct timerfd_ctx *ctx = file->private_data;
file              236 fs/timerfd.c   	poll_wait(file, &ctx->wqh, wait);
file              246 fs/timerfd.c   static ssize_t timerfd_read(struct file *file, char __user *buf, size_t count,
file              249 fs/timerfd.c   	struct timerfd_ctx *ctx = file->private_data;
file              256 fs/timerfd.c   	if (file->f_flags & O_NONBLOCK)
file              302 fs/timerfd.c   static void timerfd_show(struct seq_file *m, struct file *file)
file              304 fs/timerfd.c   	struct timerfd_ctx *ctx = file->private_data;
file              331 fs/timerfd.c   static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              333 fs/timerfd.c   	struct timerfd_ctx *ctx = file->private_data;
file              377 fs/timerfd.c   	if (!f.file)
file              379 fs/timerfd.c   	if (f.file->f_op != &timerfd_fops) {
file              450 fs/timerfd.c   	ctx = f.file->private_data;
file              514 fs/timerfd.c   	ctx = f.file->private_data;
file               31 fs/tracefs/inode.c static ssize_t default_read_file(struct file *file, char __user *buf,
file               37 fs/tracefs/inode.c static ssize_t default_write_file(struct file *file, const char __user *buf,
file             2645 fs/ubifs/debug.c static int dfs_file_open(struct inode *inode, struct file *file)
file             2647 fs/ubifs/debug.c 	file->private_data = inode->i_private;
file             2648 fs/ubifs/debug.c 	return nonseekable_open(inode, file);
file             2678 fs/ubifs/debug.c static ssize_t dfs_file_read(struct file *file, char __user *u, size_t count,
file             2681 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
file             2682 fs/ubifs/debug.c 	struct ubifs_info *c = file->private_data;
file             2732 fs/ubifs/debug.c static ssize_t dfs_file_write(struct file *file, const char __user *u,
file             2735 fs/ubifs/debug.c 	struct ubifs_info *c = file->private_data;
file             2737 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
file             2752 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_lprops) {
file             2756 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_budg) {
file             2760 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_tnc) {
file             2885 fs/ubifs/debug.c static ssize_t dfs_global_file_read(struct file *file, char __user *u,
file             2888 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
file             2909 fs/ubifs/debug.c static ssize_t dfs_global_file_write(struct file *file, const char __user *u,
file             2912 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
file             2992 fs/ubifs/debug.c 			 const char *file, int line)
file             2994 fs/ubifs/debug.c 	ubifs_err(c, "UBIFS assert failed: %s, in %s:%u", expr, file, line);
file              140 fs/ubifs/debug.h 	const char *file, int line);
file              495 fs/ubifs/dir.c static int ubifs_readdir(struct file *file, struct dir_context *ctx)
file              502 fs/ubifs/dir.c 	struct inode *dir = file_inode(file);
file              527 fs/ubifs/dir.c 	if (file->f_version == 0) {
file              535 fs/ubifs/dir.c 		kfree(file->private_data);
file              536 fs/ubifs/dir.c 		file->private_data = NULL;
file              543 fs/ubifs/dir.c 	file->f_version = 1;
file              547 fs/ubifs/dir.c 		ubifs_assert(c, !file->private_data);
file              548 fs/ubifs/dir.c 		if (!dir_emit_dots(file, ctx)) {
file              564 fs/ubifs/dir.c 		file->private_data = dent;
file              567 fs/ubifs/dir.c 	dent = file->private_data;
file              581 fs/ubifs/dir.c 		file->private_data = dent;
file              624 fs/ubifs/dir.c 		kfree(file->private_data);
file              626 fs/ubifs/dir.c 		file->private_data = dent;
file              631 fs/ubifs/dir.c 	kfree(file->private_data);
file              632 fs/ubifs/dir.c 	file->private_data = NULL;
file              654 fs/ubifs/dir.c static int ubifs_dir_release(struct inode *dir, struct file *file)
file              656 fs/ubifs/dir.c 	kfree(file->private_data);
file              657 fs/ubifs/dir.c 	file->private_data = NULL;
file             1621 fs/ubifs/dir.c static int ubifs_dir_open(struct inode *dir, struct file *file)
file              421 fs/ubifs/file.c static int ubifs_write_begin(struct file *file, struct address_space *mapping,
file              536 fs/ubifs/file.c static int ubifs_write_end(struct file *file, struct address_space *mapping,
file              893 fs/ubifs/file.c static int ubifs_readpage(struct file *file, struct page *page)
file             1310 fs/ubifs/file.c int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file             1312 fs/ubifs/file.c 	struct inode *inode = file->f_mapping->host;
file             1325 fs/ubifs/file.c 	err = file_write_and_wait_range(file, start, end);
file             1602 fs/ubifs/file.c static int ubifs_file_mmap(struct file *file, struct vm_area_struct *vma)
file             1606 fs/ubifs/file.c 	err = generic_file_mmap(file, vma);
file             1612 fs/ubifs/file.c 		file_accessed(file);
file              137 fs/ubifs/ioctl.c long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              140 fs/ubifs/ioctl.c 	struct inode *inode = file_inode(file);
file              169 fs/ubifs/ioctl.c 		err = mnt_want_write_file(file);
file              174 fs/ubifs/ioctl.c 		mnt_drop_write_file(file);
file              184 fs/ubifs/ioctl.c 		return fscrypt_ioctl_set_policy(file, (const void __user *)arg);
file              187 fs/ubifs/ioctl.c 		return fscrypt_ioctl_get_policy(file, (void __user *)arg);
file              190 fs/ubifs/ioctl.c 		return fscrypt_ioctl_get_policy_ex(file, (void __user *)arg);
file              193 fs/ubifs/ioctl.c 		return fscrypt_ioctl_add_key(file, (void __user *)arg);
file              196 fs/ubifs/ioctl.c 		return fscrypt_ioctl_remove_key(file, (void __user *)arg);
file              199 fs/ubifs/ioctl.c 		return fscrypt_ioctl_remove_key_all_users(file,
file              202 fs/ubifs/ioctl.c 		return fscrypt_ioctl_get_key_status(file, (void __user *)arg);
file              210 fs/ubifs/ioctl.c long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              230 fs/ubifs/ioctl.c 	return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             1990 fs/ubifs/ubifs.h int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
file             2052 fs/ubifs/ubifs.h long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             2055 fs/ubifs/ubifs.h long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file               39 fs/udf/dir.c   static int udf_readdir(struct file *file, struct dir_context *ctx)
file               41 fs/udf/dir.c   	struct inode *dir = file_inode(file);
file               63 fs/udf/dir.c   		if (!dir_emit_dot(file, ctx))
file              174 fs/udf/dir.c   			if (!dir_emit_dotdot(file, ctx))
file               60 fs/udf/file.c  static int udf_adinicb_readpage(struct file *file, struct page *page)
file               89 fs/udf/file.c  static int udf_adinicb_write_begin(struct file *file,
file              114 fs/udf/file.c  static int udf_adinicb_write_end(struct file *file, struct address_space *mapping,
file              139 fs/udf/file.c  	struct file *file = iocb->ki_filp;
file              140 fs/udf/file.c  	struct inode *inode = file_inode(file);
file              181 fs/udf/file.c  long udf_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              227 fs/udf/file.c  static int udf_release_file(struct inode *inode, struct file *filp)
file              193 fs/udf/inode.c static int udf_readpage(struct file *file, struct page *page)
file              198 fs/udf/inode.c static int udf_readpages(struct file *file, struct address_space *mapping,
file              204 fs/udf/inode.c static int udf_write_begin(struct file *file, struct address_space *mapping,
file              218 fs/udf/inode.c 	struct file *file = iocb->ki_filp;
file              219 fs/udf/inode.c 	struct address_space *mapping = file->f_mapping;
file              104 fs/udf/symlink.c static int udf_symlink_filler(struct file *file, struct page *page)
file              135 fs/udf/udfdecl.h extern long udf_ioctl(struct file *, unsigned int, unsigned long);
file              423 fs/ufs/dir.c   ufs_readdir(struct file *file, struct dir_context *ctx)
file              426 fs/ufs/dir.c   	struct inode *inode = file_inode(file);
file              432 fs/ufs/dir.c   	bool need_revalidate = !inode_eq_iversion(inode, file->f_version);
file              459 fs/ufs/dir.c   			file->f_version = inode_query_iversion(inode);
file              475 fs/ufs/inode.c static int ufs_readpage(struct file *file, struct page *page)
file              497 fs/ufs/inode.c static int ufs_write_begin(struct file *file, struct address_space *mapping,
file              511 fs/ufs/inode.c static int ufs_write_end(struct file *file, struct address_space *mapping,
file              517 fs/ufs/inode.c 	ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata);
file             1933 fs/unicode/mkutf8data.c 	FILE *file;
file             1947 fs/unicode/mkutf8data.c 	file = fopen(age_name, "r");
file             1948 fs/unicode/mkutf8data.c 	if (!file)
file             1953 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             1988 fs/unicode/mkutf8data.c 	rewind(file);
file             1991 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2038 fs/unicode/mkutf8data.c 	fclose(file);
file             2054 fs/unicode/mkutf8data.c 	FILE *file;
file             2065 fs/unicode/mkutf8data.c 	file = fopen(ccc_name, "r");
file             2066 fs/unicode/mkutf8data.c 	if (!file)
file             2070 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2094 fs/unicode/mkutf8data.c 	fclose(file);
file             2118 fs/unicode/mkutf8data.c 	FILE *file;
file             2130 fs/unicode/mkutf8data.c 	file = fopen(data_name, "r");
file             2131 fs/unicode/mkutf8data.c 	if (!file)
file             2135 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2170 fs/unicode/mkutf8data.c 	fclose(file);
file             2179 fs/unicode/mkutf8data.c 	FILE *file;
file             2191 fs/unicode/mkutf8data.c 	file = fopen(fold_name, "r");
file             2192 fs/unicode/mkutf8data.c 	if (!file)
file             2196 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2226 fs/unicode/mkutf8data.c 	fclose(file);
file             2235 fs/unicode/mkutf8data.c 	FILE *file;
file             2245 fs/unicode/mkutf8data.c 	file = fopen(prop_name, "r");
file             2246 fs/unicode/mkutf8data.c 	if (!file)
file             2248 fs/unicode/mkutf8data.c 	assert(file);
file             2250 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2294 fs/unicode/mkutf8data.c 	fclose(file);
file             2304 fs/unicode/mkutf8data.c 	FILE *file;
file             2319 fs/unicode/mkutf8data.c 	file = fopen(norm_name, "r");
file             2320 fs/unicode/mkutf8data.c 	if (!file)
file             2324 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2336 fs/unicode/mkutf8data.c 	rewind(file);
file             2339 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             2371 fs/unicode/mkutf8data.c 	fclose(file);
file             3214 fs/unicode/mkutf8data.c 	FILE *file;
file             3227 fs/unicode/mkutf8data.c 	file = fopen(test_name, "r");
file             3228 fs/unicode/mkutf8data.c 	if (!file)
file             3231 fs/unicode/mkutf8data.c 	while (fgets(line, LINESIZE, file)) {
file             3266 fs/unicode/mkutf8data.c 	fclose(file);
file             3277 fs/unicode/mkutf8data.c 	FILE *file;
file             3285 fs/unicode/mkutf8data.c 	file = fopen(utf8_name, "w");
file             3286 fs/unicode/mkutf8data.c 	if (!file)
file             3289 fs/unicode/mkutf8data.c 	fprintf(file, "/* This file is generated code, do not edit. */\n");
file             3290 fs/unicode/mkutf8data.c 	fprintf(file, "#ifndef __INCLUDED_FROM_UTF8NORM_C__\n");
file             3291 fs/unicode/mkutf8data.c 	fprintf(file, "#error Only nls_utf8-norm.c should include this file.\n");
file             3292 fs/unicode/mkutf8data.c 	fprintf(file, "#endif\n");
file             3293 fs/unicode/mkutf8data.c 	fprintf(file, "\n");
file             3294 fs/unicode/mkutf8data.c 	fprintf(file, "static const unsigned int utf8vers = %#x;\n",
file             3296 fs/unicode/mkutf8data.c 	fprintf(file, "\n");
file             3297 fs/unicode/mkutf8data.c 	fprintf(file, "static const unsigned int utf8agetab[] = {\n");
file             3299 fs/unicode/mkutf8data.c 		fprintf(file, "\t%#x%s\n", ages[i],
file             3301 fs/unicode/mkutf8data.c 	fprintf(file, "};\n");
file             3302 fs/unicode/mkutf8data.c 	fprintf(file, "\n");
file             3303 fs/unicode/mkutf8data.c 	fprintf(file, "static const struct utf8data utf8nfdicfdata[] = {\n");
file             3306 fs/unicode/mkutf8data.c 		fprintf(file, "\t{ %#x, %d }%s\n",
file             3312 fs/unicode/mkutf8data.c 	fprintf(file, "};\n");
file             3313 fs/unicode/mkutf8data.c 	fprintf(file, "\n");
file             3314 fs/unicode/mkutf8data.c 	fprintf(file, "static const struct utf8data utf8nfdidata[] = {\n");
file             3317 fs/unicode/mkutf8data.c 		fprintf(file, "\t{ %#x, %d }%s\n",
file             3323 fs/unicode/mkutf8data.c 	fprintf(file, "};\n");
file             3324 fs/unicode/mkutf8data.c 	fprintf(file, "\n");
file             3325 fs/unicode/mkutf8data.c 	fprintf(file, "static const unsigned char utf8data[%zd] = {\n",
file             3330 fs/unicode/mkutf8data.c 			fprintf(file, "\t/* %s_%x */\n",
file             3335 fs/unicode/mkutf8data.c 		fprintf(file, "\t");
file             3337 fs/unicode/mkutf8data.c 			fprintf(file, "0x%.2x%s", utf8data[j],
file             3339 fs/unicode/mkutf8data.c 		fprintf(file, "\n");
file             3341 fs/unicode/mkutf8data.c 	fprintf(file, "};\n");
file             3342 fs/unicode/mkutf8data.c 	fclose(file);
file              875 fs/userfaultfd.c static int userfaultfd_release(struct inode *inode, struct file *file)
file              877 fs/userfaultfd.c 	struct userfaultfd_ctx *ctx = file->private_data;
file              976 fs/userfaultfd.c static __poll_t userfaultfd_poll(struct file *file, poll_table *wait)
file              978 fs/userfaultfd.c 	struct userfaultfd_ctx *ctx = file->private_data;
file              981 fs/userfaultfd.c 	poll_wait(file, &ctx->fd_wqh, wait);
file              991 fs/userfaultfd.c 		if (unlikely(!(file->f_flags & O_NONBLOCK)))
file             1200 fs/userfaultfd.c static ssize_t userfaultfd_read(struct file *file, char __user *buf,
file             1203 fs/userfaultfd.c 	struct userfaultfd_ctx *ctx = file->private_data;
file             1206 fs/userfaultfd.c 	int no_wait = file->f_flags & O_NONBLOCK;
file             1862 fs/userfaultfd.c static long userfaultfd_ioctl(struct file *file, unsigned cmd,
file             1866 fs/userfaultfd.c 	struct userfaultfd_ctx *ctx = file->private_data;
file             1895 fs/userfaultfd.c static void userfaultfd_show_fdinfo(struct seq_file *m, struct file *f)
file              109 fs/utimes.c    		if (!f.file)
file              112 fs/utimes.c    		error = utimes_common(&f.file->f_path, times);
file              157 fs/verity/enable.c static int enable_verity(struct file *filp,
file              299 fs/verity/enable.c int fsverity_ioctl_enable(struct file *filp, const void __user *uarg)
file               21 fs/verity/measure.c int fsverity_ioctl_measure(struct file *filp, void __user *_uarg)
file              294 fs/verity/open.c int fsverity_file_open(struct inode *inode, struct file *filp)
file              501 fs/xattr.c     	if (!f.file)
file              503 fs/xattr.c     	audit_file(f.file);
file              504 fs/xattr.c     	error = mnt_want_write_file(f.file);
file              506 fs/xattr.c     		error = setxattr(f.file->f_path.dentry, name, value, size, flags);
file              507 fs/xattr.c     		mnt_drop_write_file(f.file);
file              593 fs/xattr.c     	if (!f.file)
file              595 fs/xattr.c     	audit_file(f.file);
file              596 fs/xattr.c     	error = getxattr(f.file->f_path.dentry, name, value, size);
file              668 fs/xattr.c     	if (!f.file)
file              670 fs/xattr.c     	audit_file(f.file);
file              671 fs/xattr.c     	error = listxattr(f.file->f_path.dentry, list, size);
file              733 fs/xattr.c     	if (!f.file)
file              735 fs/xattr.c     	audit_file(f.file);
file              736 fs/xattr.c     	error = mnt_want_write_file(f.file);
file              738 fs/xattr.c     		error = removexattr(f.file->f_path.dentry, name);
file              739 fs/xattr.c     		mnt_drop_write_file(f.file);
file             1160 fs/xfs/xfs_aops.c 	struct file		*unused,
file             1169 fs/xfs/xfs_aops.c 	struct file		*unused,
file             1181 fs/xfs/xfs_aops.c 	struct file			*swap_file,
file              236 fs/xfs/xfs_error.c 	const char		*file,
file              260 fs/xfs/xfs_error.c 			expression, file, line, mp->m_fsname);
file               70 fs/xfs/xfs_error.h 		const char *file, int line, unsigned int error_tag);
file               77 fs/xfs/xfs_file.c 	struct file		*file,
file               82 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(file->f_mapping->host);
file              100 fs/xfs/xfs_file.c 	struct file		*file,
file              105 fs/xfs/xfs_file.c 	struct inode		*inode = file->f_mapping->host;
file              114 fs/xfs/xfs_file.c 	error = file_write_and_wait_range(file, start, end);
file              286 fs/xfs/xfs_file.c 	struct file		*file = iocb->ki_filp;
file              287 fs/xfs/xfs_file.c 	struct inode		*inode = file->f_mapping->host;
file              366 fs/xfs/xfs_file.c 	return file_modified(file);
file              480 fs/xfs/xfs_file.c 	struct file		*file = iocb->ki_filp;
file              481 fs/xfs/xfs_file.c 	struct address_space	*mapping = file->f_mapping;
file              621 fs/xfs/xfs_file.c 	struct file		*file = iocb->ki_filp;
file              622 fs/xfs/xfs_file.c 	struct address_space	*mapping = file->f_mapping;
file              697 fs/xfs/xfs_file.c 	struct file		*file = iocb->ki_filp;
file              698 fs/xfs/xfs_file.c 	struct address_space	*mapping = file->f_mapping;
file              798 fs/xfs/xfs_file.c 	struct file		*file,
file              803 fs/xfs/xfs_file.c 	struct inode		*inode = file_inode(file);
file              911 fs/xfs/xfs_file.c 	if (file->f_flags & O_DSYNC)
file              924 fs/xfs/xfs_file.c 		error = xfs_vn_setattr_size(file_dentry(file), &iattr);
file              945 fs/xfs/xfs_file.c 	struct file	*file,
file              950 fs/xfs/xfs_file.c 	struct xfs_inode *ip = XFS_I(file_inode(file));
file              962 fs/xfs/xfs_file.c 	ret = generic_fadvise(file, start, end, advice);
file              970 fs/xfs/xfs_file.c 	struct file		*file_in,
file              972 fs/xfs/xfs_file.c 	struct file		*file_out,
file             1033 fs/xfs/xfs_file.c 	struct file	*file)
file             1035 fs/xfs/xfs_file.c 	if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS)
file             1039 fs/xfs/xfs_file.c 	file->f_mode |= FMODE_NOWAIT;
file             1046 fs/xfs/xfs_file.c 	struct file	*file)
file             1052 fs/xfs/xfs_file.c 	error = xfs_file_open(inode, file);
file             1070 fs/xfs/xfs_file.c 	struct file	*filp)
file             1077 fs/xfs/xfs_file.c 	struct file	*file,
file             1080 fs/xfs/xfs_file.c 	struct inode	*inode = file_inode(file);
file             1103 fs/xfs/xfs_file.c 	struct file	*file,
file             1107 fs/xfs/xfs_file.c 	struct inode		*inode = file->f_mapping->host;
file             1114 fs/xfs/xfs_file.c 		return generic_file_llseek(file, offset, whence);
file             1125 fs/xfs/xfs_file.c 	return vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
file             1228 fs/xfs/xfs_file.c 	struct file	*filp,
file               66 fs/xfs/xfs_ioctl.c 		if (!f.file)
file               68 fs/xfs/xfs_ioctl.c 		inode = file_inode(f.file);
file              141 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              173 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              181 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              188 fs/xfs/xfs_ioctl.c 	struct file		*filp;
file              261 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              327 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              371 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              498 fs/xfs/xfs_ioctl.c 	struct file		*parfilp,
file              592 fs/xfs/xfs_ioctl.c 	struct file		*filp,
file             1658 fs/xfs/xfs_ioctl.c 	struct file		*filp,
file             1691 fs/xfs/xfs_ioctl.c 	struct file		*filp,
file             1775 fs/xfs/xfs_ioctl.c 	struct file		*file,
file             1789 fs/xfs/xfs_ioctl.c 		if (file->f_mode & FMODE_NOCMTIME)
file             1813 fs/xfs/xfs_ioctl.c 	error = xfs_getbmap(XFS_I(file_inode(file)), &bmx, buf);
file             1946 fs/xfs/xfs_ioctl.c 	if (!f.file) {
file             1951 fs/xfs/xfs_ioctl.c 	if (!(f.file->f_mode & FMODE_WRITE) ||
file             1952 fs/xfs/xfs_ioctl.c 	    !(f.file->f_mode & FMODE_READ) ||
file             1953 fs/xfs/xfs_ioctl.c 	    (f.file->f_flags & O_APPEND)) {
file             1959 fs/xfs/xfs_ioctl.c 	if (!tmp.file) {
file             1964 fs/xfs/xfs_ioctl.c 	if (!(tmp.file->f_mode & FMODE_WRITE) ||
file             1965 fs/xfs/xfs_ioctl.c 	    !(tmp.file->f_mode & FMODE_READ) ||
file             1966 fs/xfs/xfs_ioctl.c 	    (tmp.file->f_flags & O_APPEND)) {
file             1971 fs/xfs/xfs_ioctl.c 	if (IS_SWAPFILE(file_inode(f.file)) ||
file             1972 fs/xfs/xfs_ioctl.c 	    IS_SWAPFILE(file_inode(tmp.file))) {
file             1982 fs/xfs/xfs_ioctl.c 	if (f.file->f_op != &xfs_file_operations ||
file             1983 fs/xfs/xfs_ioctl.c 	    tmp.file->f_op != &xfs_file_operations) {
file             1988 fs/xfs/xfs_ioctl.c 	ip = XFS_I(file_inode(f.file));
file             1989 fs/xfs/xfs_ioctl.c 	tip = XFS_I(file_inode(tmp.file));
file             2040 fs/xfs/xfs_ioctl.c 	struct file		*filp,
file             2106 fs/xfs/xfs_ioctl.c 	struct file		*filp,
file               11 fs/xfs/xfs_ioctl.h 	struct file		*filp,
file               26 fs/xfs/xfs_ioctl.h 	struct file		*parfilp,
file               31 fs/xfs/xfs_ioctl.h 	struct file		*parfilp,
file               58 fs/xfs/xfs_ioctl.h 	struct file		*parfilp,
file               64 fs/xfs/xfs_ioctl.h 	struct file		*filp,
file               70 fs/xfs/xfs_ioctl.h 	struct file		*file,
file              345 fs/xfs/xfs_ioctl32.c 	struct file		*parfilp,
file              354 fs/xfs/xfs_ioctl32.c 	struct file		*parfilp,
file              411 fs/xfs/xfs_ioctl32.c 	struct file				*parfilp,
file              507 fs/xfs/xfs_ioctl32.c 	struct file		*parfilp,
file              545 fs/xfs/xfs_ioctl32.c 	struct file		*filp,
file               89 fs/xfs/xfs_message.c asswarn(char *expr, char *file, int line)
file               92 fs/xfs/xfs_message.c 		expr, file, line);
file               97 fs/xfs/xfs_message.c assfail(char *expr, char *file, int line)
file              100 fs/xfs/xfs_message.c 		expr, file, line);
file             1240 fs/xfs/xfs_reflink.c 	struct file		*file_in,
file             1241 fs/xfs/xfs_reflink.c 	struct file		*file_out)
file             1308 fs/xfs/xfs_reflink.c 	struct file		*file_in,
file             1310 fs/xfs/xfs_reflink.c 	struct file		*file_out,
file               42 fs/xfs/xfs_reflink.h extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
file               43 fs/xfs/xfs_reflink.h 		struct file *file_out, loff_t pos_out, loff_t len,
file               51 fs/xfs/xfs_reflink.h extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
file               52 fs/xfs/xfs_reflink.h 		struct file *file_out, loff_t pos_out, loff_t *len,
file               59 fs/xfs/xfs_reflink.h extern void xfs_reflink_remap_unlock(struct file *file_in,
file               60 fs/xfs/xfs_reflink.h 		struct file *file_out);
file               32 include/asm-generic/bug.h 	const char	*file;
file               83 include/asm-generic/bug.h void warn_slowpath_fmt(const char *file, const int line, unsigned taint,
file              108 include/asm-generic/bug.h void __warn(const char *file, int line, void *caller, unsigned taint,
file               91 include/asm-generic/hugetlb.h static inline int prepare_hugepage_range(struct file *file,
file               94 include/asm-generic/hugetlb.h 	struct hstate *h = hstate_file(file);
file             1120 include/asm-generic/pgtable.h struct file;
file             1121 include/asm-generic/pgtable.h int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
file              236 include/crypto/if_alg.h __poll_t af_alg_poll(struct file *file, struct socket *sock,
file               92 include/drm/drm_client.h 	struct drm_file *file;
file              260 include/drm/drm_file.h 	struct file *filp;
file              372 include/drm/drm_file.h int drm_open(struct inode *inode, struct file *filp);
file              373 include/drm/drm_file.h ssize_t drm_read(struct file *filp, char __user *buffer,
file              375 include/drm/drm_file.h int drm_release(struct inode *inode, struct file *filp);
file              376 include/drm/drm_file.h __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait);
file               64 include/drm/drm_gem.h 	int (*open)(struct drm_gem_object *obj, struct drm_file *file);
file               73 include/drm/drm_gem.h 	void (*close)(struct drm_gem_object *obj, struct drm_file *file);
file              209 include/drm/drm_gem.h 	struct file *filp;
file              338 include/drm/drm_gem.h int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
file              404 include/drm/drm_gem.h int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
file              406 include/drm/drm_gem.h int drm_gem_dumb_destroy(struct drm_file *file,
file               80 include/drm/drm_gem_cma_helper.h int drm_gem_cma_mmap(struct file *filp, struct vm_area_struct *vma);
file               89 include/drm/drm_gem_cma_helper.h unsigned long drm_gem_cma_get_unmapped_area(struct file *filp,
file               18 include/drm/drm_gem_framebuffer_helper.h int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
file               22 include/drm/drm_gem_framebuffer_helper.h drm_gem_fb_create_with_funcs(struct drm_device *dev, struct drm_file *file,
file               26 include/drm/drm_gem_framebuffer_helper.h drm_gem_fb_create(struct drm_device *dev, struct drm_file *file,
file               29 include/drm/drm_gem_framebuffer_helper.h drm_gem_fb_create_with_dirty(struct drm_device *dev, struct drm_file *file,
file              156 include/drm/drm_gem_shmem_helper.h int drm_gem_shmem_dumb_create(struct drm_file *file, struct drm_device *dev,
file              159 include/drm/drm_gem_shmem_helper.h int drm_gem_shmem_mmap(struct file *filp, struct vm_area_struct *vma);
file               87 include/drm/drm_gem_vram_helper.h int drm_gem_vram_fill_create_dumb(struct drm_file *file,
file              102 include/drm/drm_gem_vram_helper.h 					 struct file *filp);
file              110 include/drm/drm_gem_vram_helper.h int drm_gem_vram_driver_dumb_create(struct drm_file *file,
file              113 include/drm/drm_gem_vram_helper.h int drm_gem_vram_driver_dumb_mmap_offset(struct drm_file *file,
file               42 include/drm/drm_ioctl.h struct file;
file               67 include/drm/drm_ioctl.h typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
file              170 include/drm/drm_ioctl.h long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file              171 include/drm/drm_ioctl.h long drm_ioctl_kernel(struct file *, drm_ioctl_t, void *, u32);
file              173 include/drm/drm_ioctl.h long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
file               41 include/drm/drm_legacy.h struct file;
file              166 include/drm/drm_legacy.h int drm_legacy_mmap(struct file *filp, struct vm_area_struct *vma);
file               63 include/drm/drm_syncobj.h 	struct file *file;
file               25 include/drm/drm_vram_mm_helper.h 	int (*verify_access)(struct ttm_buffer_object *bo, struct file *filp);
file               68 include/drm/drm_vram_mm_helper.h int drm_vram_mm_mmap(struct file *filp, struct vm_area_struct *vma,
file               85 include/drm/drm_vram_mm_helper.h 	struct file *filp, struct vm_area_struct *vma);
file              197 include/drm/ttm/ttm_bo_api.h 	struct file *persistent_swap_storage;
file              734 include/drm/ttm/ttm_bo_api.h int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma,
file              761 include/drm/ttm/ttm_bo_api.h ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp,
file              327 include/drm/ttm/ttm_bo_driver.h 			     struct file *filp);
file              112 include/drm/ttm/ttm_tt.h 	struct file *swap_storage;
file              230 include/drm/ttm/ttm_tt.h int ttm_tt_swapout(struct ttm_tt *ttm, struct file *persistent_swap_storage);
file               14 include/linux/anon_inodes.h struct file *anon_inode_getfile(const char *name,
file              273 include/linux/audit.h extern void __audit_file(const struct file *);
file              335 include/linux/audit.h static inline void audit_file(struct file *file)
file              338 include/linux/audit.h 		__audit_file(file);
file              559 include/linux/audit.h static inline void audit_file(struct file *file)
file               52 include/linux/binfmts.h 	struct file * file;
file               85 include/linux/binfmts.h 	struct file *file;
file              100 include/linux/binfmts.h 	int (*load_shlib)(struct file *);
file              126 include/linux/binfmts.h extern void would_dump(struct linux_binprm *, struct file *);
file              145 include/linux/binfmts.h extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
file              154 include/linux/binfmts.h int do_execve_file(struct file *file, void *__argv, void *__envp);
file               35 include/linux/bpf.h 	void (*map_release)(struct bpf_map *map, struct file *map_file);
file               50 include/linux/bpf.h 	void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
file              478 include/linux/bpf.h 	struct file *perf_file;
file              479 include/linux/bpf.h 	struct file *map_file;
file              684 include/linux/bpf.h int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
file              687 include/linux/bpf.h int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
file              231 include/linux/buffer_head.h int block_write_end(struct file *, struct address_space *,
file              234 include/linux/buffer_head.h int generic_write_end(struct file *, struct address_space *,
file              239 include/linux/buffer_head.h int cont_write_begin(struct file *, struct address_space *, loff_t,
file              262 include/linux/buffer_head.h int nobh_write_end(struct file *, struct address_space *,
file               40 include/linux/capability.h struct file;
file              252 include/linux/capability.h extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
file                9 include/linux/ceph/debugfs.h static int name##_open(struct inode *inode, struct file *file)		\
file               11 include/linux/ceph/debugfs.h 	return single_open(file, name, inode->i_private);		\
file               30 include/linux/compiler.h 				.data.file = __FILE__,			\
file               66 include/linux/compiler.h 			.file = __FILE__,		\
file               87 include/linux/compiler_types.h 	const char *file;
file              150 include/linux/configfs.h struct file;
file              185 include/linux/cred.h 				    const char *file, unsigned line)
file              188 include/linux/cred.h 		__invalid_creds(cred, file, line);
file               43 include/linux/debugfs.h static int __fops ## _open(struct inode *inode, struct file *file)	\
file               46 include/linux/debugfs.h 	return simple_attr_open(inode, file, __get, __set, __fmt);	\
file               87 include/linux/debugfs.h const struct file_operations *debugfs_real_fops(const struct file *filp);
file               92 include/linux/debugfs.h ssize_t debugfs_attr_read(struct file *file, char __user *buf,
file               94 include/linux/debugfs.h ssize_t debugfs_attr_write(struct file *file, const char __user *buf,
file              146 include/linux/debugfs.h ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf,
file              149 include/linux/debugfs.h ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf,
file              218 include/linux/debugfs.h const struct file_operations *debugfs_real_fops(const struct file *filp);
file              228 include/linux/debugfs.h static inline ssize_t debugfs_attr_read(struct file *file, char __user *buf,
file              234 include/linux/debugfs.h static inline ssize_t debugfs_attr_write(struct file *file,
file              370 include/linux/debugfs.h static inline ssize_t debugfs_read_file_bool(struct file *file,
file              377 include/linux/debugfs.h static inline ssize_t debugfs_write_file_bool(struct file *file,
file               19 include/linux/devpts_fs.h struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
file               20 include/linux/devpts_fs.h struct pts_fs_info *devpts_acquire(struct file *);
file               34 include/linux/devpts_fs.h int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags);
file               38 include/linux/devpts_fs.h ptm_open_peer(struct file *master, struct tty_struct *tty, int flags)
file               10 include/linux/dlm_plock.h int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file               12 include/linux/dlm_plock.h int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file               14 include/linux/dlm_plock.h int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
file              298 include/linux/dma-buf.h 	struct file *file;
file              394 include/linux/dma-buf.h 	get_file(dmabuf->file);
file               16 include/linux/dnotify.h 	struct file *		dn_filp;
file               33 include/linux/dnotify.h extern void dnotify_flush(struct file *, fl_owner_t);
file               34 include/linux/dnotify.h extern int fcntl_dirnotify(int, struct file *, unsigned long);
file               38 include/linux/dnotify.h static inline void dnotify_flush(struct file *filp, fl_owner_t id)
file               42 include/linux/dnotify.h static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
file               49 include/linux/elf.h struct file;
file               33 include/linux/eventfd.h struct file;
file               38 include/linux/eventfd.h struct file *eventfd_fget(int fd);
file               40 include/linux/eventfd.h struct eventfd_ctx *eventfd_ctx_fileget(struct file *file);
file               16 include/linux/eventpoll.h struct file;
file               22 include/linux/eventpoll.h struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
file               26 include/linux/eventpoll.h static inline void eventpoll_init_file(struct file *file)
file               28 include/linux/eventpoll.h 	INIT_LIST_HEAD(&file->f_ep_links);
file               29 include/linux/eventpoll.h 	INIT_LIST_HEAD(&file->f_tfile_llink);
file               34 include/linux/eventpoll.h void eventpoll_release_file(struct file *file);
file               42 include/linux/eventpoll.h static inline void eventpoll_release(struct file *file)
file               53 include/linux/eventpoll.h 	if (likely(list_empty(&file->f_ep_links)))
file               61 include/linux/eventpoll.h 	eventpoll_release_file(file);
file               66 include/linux/eventpoll.h static inline void eventpoll_init_file(struct file *file) {}
file               67 include/linux/eventpoll.h static inline void eventpoll_release(struct file *file) {}
file               22 include/linux/fb.h struct file;
file              665 include/linux/fb.h 				struct file *file);
file              667 include/linux/fb.h extern int fb_deferred_io_fsync(struct file *file, loff_t start,
file               28 include/linux/fdtable.h 	struct file __rcu **fd;      /* current fd array */
file               66 include/linux/fdtable.h 	struct file __rcu * fd_array[NR_OPEN_DEFAULT];
file               82 include/linux/fdtable.h static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd)
file               93 include/linux/fdtable.h static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd)
file              115 include/linux/fdtable.h 		int (*)(const void *, struct file *, unsigned),
file              121 include/linux/fdtable.h 		      unsigned int fd, struct file *file);
file              124 include/linux/fdtable.h extern int __close_fd_get_file(unsigned int fd, struct file **res);
file               13 include/linux/file.h struct file;
file               15 include/linux/file.h extern void fput(struct file *);
file               16 include/linux/file.h extern void fput_many(struct file *, unsigned int);
file               23 include/linux/file.h extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
file               25 include/linux/file.h extern struct file *alloc_file_clone(struct file *, int flags,
file               28 include/linux/file.h static inline void fput_light(struct file *file, int fput_needed)
file               31 include/linux/file.h 		fput(file);
file               35 include/linux/file.h 	struct file *file;
file               44 include/linux/file.h 		fput(fd.file);
file               47 include/linux/file.h extern struct file *fget(unsigned int fd);
file               48 include/linux/file.h extern struct file *fget_many(unsigned int fd, unsigned int refs);
file               49 include/linux/file.h extern struct file *fget_raw(unsigned int fd);
file               53 include/linux/file.h extern void __f_unlock_pos(struct file *);
file               57 include/linux/file.h 	return (struct fd){(struct file *)(v & ~3),v & 3};
file               78 include/linux/file.h 		__f_unlock_pos(f.file);
file               82 include/linux/file.h extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
file               83 include/linux/file.h extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
file               89 include/linux/file.h extern void fd_install(unsigned int fd, struct file *file);
file               92 include/linux/file.h extern void __fput_sync(struct file *);
file              239 include/linux/fs.h 	struct file	*ia_file;
file              319 include/linux/fs.h 	struct file		*ki_filp;
file              364 include/linux/fs.h 	int (*readpage)(struct file *, struct page *);
file              376 include/linux/fs.h 	int (*readpages)(struct file *filp, struct address_space *mapping,
file              379 include/linux/fs.h 	int (*write_begin)(struct file *, struct address_space *mapping,
file              382 include/linux/fs.h 	int (*write_end)(struct file *, struct address_space *mapping,
file              407 include/linux/fs.h 	int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
file              409 include/linux/fs.h 	void (*swap_deactivate)(struct file *file);
file              418 include/linux/fs.h int pagecache_write_begin(struct file *, struct address_space *mapping,
file              422 include/linux/fs.h int pagecache_write_end(struct file *, struct address_space *mapping,
file              984 include/linux/fs.h static inline struct file *get_file(struct file *f)
file             1096 include/linux/fs.h 	struct file *fl_file;
file             1137 include/linux/fs.h extern int fcntl_getlk(struct file *, unsigned int, struct flock *);
file             1138 include/linux/fs.h extern int fcntl_setlk(unsigned int, struct file *, unsigned int,
file             1142 include/linux/fs.h extern int fcntl_getlk64(struct file *, unsigned int, struct flock64 *);
file             1143 include/linux/fs.h extern int fcntl_setlk64(unsigned int, struct file *, unsigned int,
file             1147 include/linux/fs.h extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg);
file             1148 include/linux/fs.h extern int fcntl_getlease(struct file *filp);
file             1157 include/linux/fs.h extern void locks_remove_posix(struct file *, fl_owner_t);
file             1158 include/linux/fs.h extern void locks_remove_file(struct file *);
file             1160 include/linux/fs.h extern void posix_test_lock(struct file *, struct file_lock *);
file             1161 include/linux/fs.h extern int posix_lock_file(struct file *, struct file_lock *, struct file_lock *);
file             1163 include/linux/fs.h extern int vfs_test_lock(struct file *, struct file_lock *);
file             1164 include/linux/fs.h extern int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *);
file             1165 include/linux/fs.h extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
file             1169 include/linux/fs.h extern int generic_setlease(struct file *, long, struct file_lock **, void **priv);
file             1170 include/linux/fs.h extern int vfs_setlease(struct file *, long, struct file_lock **, void **);
file             1179 include/linux/fs.h 			 struct file *filp, struct files_struct *files);
file             1181 include/linux/fs.h static inline int fcntl_getlk(struct file *file, unsigned int cmd,
file             1187 include/linux/fs.h static inline int fcntl_setlk(unsigned int fd, struct file *file,
file             1194 include/linux/fs.h static inline int fcntl_getlk64(struct file *file, unsigned int cmd,
file             1200 include/linux/fs.h static inline int fcntl_setlk64(unsigned int fd, struct file *file,
file             1206 include/linux/fs.h static inline int fcntl_setlease(unsigned int fd, struct file *filp, long arg)
file             1211 include/linux/fs.h static inline int fcntl_getlease(struct file *filp)
file             1236 include/linux/fs.h static inline void locks_remove_posix(struct file *filp, fl_owner_t owner)
file             1241 include/linux/fs.h static inline void locks_remove_file(struct file *filp)
file             1246 include/linux/fs.h static inline void posix_test_lock(struct file *filp, struct file_lock *fl)
file             1251 include/linux/fs.h static inline int posix_lock_file(struct file *filp, struct file_lock *fl,
file             1262 include/linux/fs.h static inline int vfs_test_lock(struct file *filp, struct file_lock *fl)
file             1267 include/linux/fs.h static inline int vfs_lock_file(struct file *filp, unsigned int cmd,
file             1273 include/linux/fs.h static inline int vfs_cancel_lock(struct file *filp, struct file_lock *fl)
file             1294 include/linux/fs.h static inline int generic_setlease(struct file *filp, long arg,
file             1300 include/linux/fs.h static inline int vfs_setlease(struct file *filp, long arg,
file             1314 include/linux/fs.h 			struct file *filp, struct files_struct *files) {}
file             1317 include/linux/fs.h static inline struct inode *file_inode(const struct file *f)
file             1322 include/linux/fs.h static inline struct dentry *file_dentry(const struct file *file)
file             1324 include/linux/fs.h 	return d_real(file->f_path.dentry, file_inode(file));
file             1327 include/linux/fs.h static inline int locks_lock_file_wait(struct file *filp, struct file_lock *fl)
file             1337 include/linux/fs.h 	struct file		*fa_file;
file             1344 include/linux/fs.h extern int fasync_helper(int, struct file *, int, struct fasync_struct **);
file             1345 include/linux/fs.h extern struct fasync_struct *fasync_insert_entry(int, struct file *, struct fasync_struct **, struct fasync_struct *);
file             1346 include/linux/fs.h extern int fasync_remove_entry(struct file *, struct fasync_struct **);
file             1353 include/linux/fs.h extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
file             1354 include/linux/fs.h extern int f_setown(struct file *filp, unsigned long arg, int force);
file             1355 include/linux/fs.h extern void f_delown(struct file *filp);
file             1356 include/linux/fs.h extern pid_t f_getown(struct file *filp);
file             1729 include/linux/fs.h extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             1732 include/linux/fs.h extern long compat_ptr_ioctl(struct file *file, unsigned int cmd,
file             1824 include/linux/fs.h 	loff_t (*llseek) (struct file *, loff_t, int);
file             1825 include/linux/fs.h 	ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
file             1826 include/linux/fs.h 	ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
file             1830 include/linux/fs.h 	int (*iterate) (struct file *, struct dir_context *);
file             1831 include/linux/fs.h 	int (*iterate_shared) (struct file *, struct dir_context *);
file             1832 include/linux/fs.h 	__poll_t (*poll) (struct file *, struct poll_table_struct *);
file             1833 include/linux/fs.h 	long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
file             1834 include/linux/fs.h 	long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
file             1835 include/linux/fs.h 	int (*mmap) (struct file *, struct vm_area_struct *);
file             1837 include/linux/fs.h 	int (*open) (struct inode *, struct file *);
file             1838 include/linux/fs.h 	int (*flush) (struct file *, fl_owner_t id);
file             1839 include/linux/fs.h 	int (*release) (struct inode *, struct file *);
file             1840 include/linux/fs.h 	int (*fsync) (struct file *, loff_t, loff_t, int datasync);
file             1841 include/linux/fs.h 	int (*fasync) (int, struct file *, int);
file             1842 include/linux/fs.h 	int (*lock) (struct file *, int, struct file_lock *);
file             1843 include/linux/fs.h 	ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
file             1844 include/linux/fs.h 	unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
file             1846 include/linux/fs.h 	int (*flock) (struct file *, int, struct file_lock *);
file             1847 include/linux/fs.h 	ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
file             1848 include/linux/fs.h 	ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
file             1849 include/linux/fs.h 	int (*setlease)(struct file *, long, struct file_lock **, void **);
file             1850 include/linux/fs.h 	long (*fallocate)(struct file *file, int mode, loff_t offset,
file             1852 include/linux/fs.h 	void (*show_fdinfo)(struct seq_file *m, struct file *f);
file             1854 include/linux/fs.h 	unsigned (*mmap_capabilities)(struct file *);
file             1856 include/linux/fs.h 	ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
file             1858 include/linux/fs.h 	loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
file             1859 include/linux/fs.h 				   struct file *file_out, loff_t pos_out,
file             1861 include/linux/fs.h 	int (*fadvise)(struct file *, loff_t, loff_t, int);
file             1888 include/linux/fs.h 			   struct file *, unsigned open_flag,
file             1894 include/linux/fs.h static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio,
file             1897 include/linux/fs.h 	return file->f_op->read_iter(kio, iter);
file             1900 include/linux/fs.h static inline ssize_t call_write_iter(struct file *file, struct kiocb *kio,
file             1903 include/linux/fs.h 	return file->f_op->write_iter(kio, iter);
file             1906 include/linux/fs.h static inline int call_mmap(struct file *file, struct vm_area_struct *vma)
file             1908 include/linux/fs.h 	return file->f_op->mmap(file, vma);
file             1916 include/linux/fs.h extern ssize_t __vfs_read(struct file *, char __user *, size_t, loff_t *);
file             1917 include/linux/fs.h extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *);
file             1918 include/linux/fs.h extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *);
file             1919 include/linux/fs.h extern ssize_t vfs_readv(struct file *, const struct iovec __user *,
file             1921 include/linux/fs.h extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *,
file             1923 include/linux/fs.h extern ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in,
file             1924 include/linux/fs.h 				       struct file *file_out, loff_t pos_out,
file             1926 include/linux/fs.h extern int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
file             1927 include/linux/fs.h 					 struct file *file_out, loff_t pos_out,
file             1930 include/linux/fs.h extern loff_t do_clone_file_range(struct file *file_in, loff_t pos_in,
file             1931 include/linux/fs.h 				  struct file *file_out, loff_t pos_out,
file             1933 include/linux/fs.h extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
file             1934 include/linux/fs.h 				   struct file *file_out, loff_t pos_out,
file             1936 include/linux/fs.h extern int vfs_dedupe_file_range(struct file *file,
file             1938 include/linux/fs.h extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos,
file             1939 include/linux/fs.h 					struct file *dst_file, loff_t dst_pos,
file             2053 include/linux/fs.h static inline enum rw_hint file_write_hint(struct file *file)
file             2055 include/linux/fs.h 	if (file->f_write_hint != WRITE_LIFE_NOT_SET)
file             2056 include/linux/fs.h 		return file->f_write_hint;
file             2058 include/linux/fs.h 	return file_inode(file)->i_write_hint;
file             2061 include/linux/fs.h static inline int iocb_flags(struct file *file);
file             2072 include/linux/fs.h static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp)
file             2207 include/linux/fs.h static inline void file_accessed(struct file *file)
file             2209 include/linux/fs.h 	if (!(file->f_flags & O_NOATIME))
file             2210 include/linux/fs.h 		touch_atime(&file->f_path);
file             2213 include/linux/fs.h extern int file_modified(struct file *file);
file             2304 include/linux/fs.h 		struct file *__file = (f); \
file             2343 include/linux/fs.h extern int locks_mandatory_locked(struct file *);
file             2344 include/linux/fs.h extern int locks_mandatory_area(struct inode *, struct file *, loff_t, loff_t, unsigned char);
file             2366 include/linux/fs.h static inline int locks_verify_locked(struct file *file)
file             2368 include/linux/fs.h 	if (mandatory_lock(locks_inode(file)))
file             2369 include/linux/fs.h 		return locks_mandatory_locked(file);
file             2374 include/linux/fs.h 				    struct file *f,
file             2391 include/linux/fs.h static inline int locks_mandatory_locked(struct file *file)
file             2396 include/linux/fs.h static inline int locks_mandatory_area(struct inode *inode, struct file *filp,
file             2412 include/linux/fs.h static inline int locks_verify_locked(struct file *file)
file             2417 include/linux/fs.h static inline int locks_verify_truncate(struct inode *inode, struct file *filp,
file             2529 include/linux/fs.h 		       struct file *filp);
file             2530 include/linux/fs.h extern int vfs_fallocate(struct file *file, int mode, loff_t offset,
file             2534 include/linux/fs.h extern struct file *file_open_name(struct filename *, int, umode_t);
file             2535 include/linux/fs.h extern struct file *filp_open(const char *, int, umode_t);
file             2536 include/linux/fs.h extern struct file *file_open_root(struct dentry *, struct vfsmount *,
file             2538 include/linux/fs.h extern struct file * dentry_open(const struct path *, int, const struct cred *);
file             2539 include/linux/fs.h extern struct file * open_with_fake_path(const struct path *, int,
file             2541 include/linux/fs.h static inline struct file *file_clone_open(struct file *file)
file             2543 include/linux/fs.h 	return dentry_open(&file->f_path, file->f_flags, file->f_cred);
file             2545 include/linux/fs.h extern int filp_close(struct file *, fl_owner_t id);
file             2552 include/linux/fs.h extern int finish_open(struct file *file, struct dentry *dentry,
file             2553 include/linux/fs.h 			int (*open)(struct inode *, struct file *));
file             2554 include/linux/fs.h extern int finish_no_open(struct file *file, struct dentry *dentry);
file             2558 include/linux/fs.h extern int ioctl_preallocate(struct file *filp, void __user *argp);
file             2630 include/linux/fs.h extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long);
file             2759 include/linux/fs.h extern int __must_check file_fdatawait_range(struct file *file, loff_t lstart,
file             2761 include/linux/fs.h extern int __must_check file_check_and_advance_wb_err(struct file *file);
file             2762 include/linux/fs.h extern int __must_check file_write_and_wait_range(struct file *file,
file             2765 include/linux/fs.h static inline int file_write_and_wait(struct file *file)
file             2767 include/linux/fs.h 	return file_write_and_wait_range(file, 0, LLONG_MAX);
file             2846 include/linux/fs.h extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end,
file             2848 include/linux/fs.h extern int vfs_fsync(struct file *file, int datasync);
file             2850 include/linux/fs.h extern int sync_file_range(struct file *file, loff_t offset, loff_t nbytes,
file             2886 include/linux/fs.h static inline void file_start_write(struct file *file)
file             2888 include/linux/fs.h 	if (!S_ISREG(file_inode(file)->i_mode))
file             2890 include/linux/fs.h 	__sb_start_write(file_inode(file)->i_sb, SB_FREEZE_WRITE, true);
file             2893 include/linux/fs.h static inline bool file_start_write_trylock(struct file *file)
file             2895 include/linux/fs.h 	if (!S_ISREG(file_inode(file)->i_mode))
file             2897 include/linux/fs.h 	return __sb_start_write(file_inode(file)->i_sb, SB_FREEZE_WRITE, false);
file             2900 include/linux/fs.h static inline void file_end_write(struct file *file)
file             2902 include/linux/fs.h 	if (!S_ISREG(file_inode(file)->i_mode))
file             2904 include/linux/fs.h 	__sb_end_write(file_inode(file)->i_sb, SB_FREEZE_WRITE);
file             2927 include/linux/fs.h static inline int deny_write_access(struct file *file)
file             2929 include/linux/fs.h 	struct inode *inode = file_inode(file);
file             2936 include/linux/fs.h static inline void allow_write_access(struct file *file)
file             2938 include/linux/fs.h 	if (file)
file             2939 include/linux/fs.h 		atomic_inc(&file_inode(file)->i_writecount);
file             2998 include/linux/fs.h extern int kernel_read_file(struct file *, void **, loff_t *, loff_t,
file             3004 include/linux/fs.h extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
file             3005 include/linux/fs.h extern ssize_t kernel_write(struct file *, const void *, size_t, loff_t *);
file             3006 include/linux/fs.h extern ssize_t __kernel_write(struct file *, const void *, size_t, loff_t *);
file             3007 include/linux/fs.h extern struct file * open_exec(const char *);
file             3013 include/linux/fs.h extern char *file_path(struct file *, char *, int);
file             3018 include/linux/fs.h extern loff_t default_llseek(struct file *file, loff_t offset, int whence);
file             3020 include/linux/fs.h extern loff_t vfs_llseek(struct file *file, loff_t offset, int whence);
file             3072 include/linux/fs.h extern int file_remove_privs(struct file *);
file             3096 include/linux/fs.h extern int generic_file_mmap(struct file *, struct vm_area_struct *);
file             3097 include/linux/fs.h extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *);
file             3099 include/linux/fs.h extern int generic_remap_checks(struct file *file_in, loff_t pos_in,
file             3100 include/linux/fs.h 				struct file *file_out, loff_t pos_out,
file             3102 include/linux/fs.h extern int generic_file_rw_checks(struct file *file_in, struct file *file_out);
file             3103 include/linux/fs.h extern int generic_copy_file_checks(struct file *file_in, loff_t pos_in,
file             3104 include/linux/fs.h 				    struct file *file_out, loff_t pos_out,
file             3110 include/linux/fs.h extern ssize_t generic_perform_write(struct file *, struct iov_iter *, loff_t);
file             3112 include/linux/fs.h ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos,
file             3114 include/linux/fs.h ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos,
file             3120 include/linux/fs.h extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end,
file             3125 include/linux/fs.h extern ssize_t generic_file_splice_read(struct file *, loff_t *,
file             3128 include/linux/fs.h 		struct file *, loff_t *, size_t, unsigned int);
file             3130 include/linux/fs.h 		struct file *out, loff_t *, size_t len, unsigned int flags);
file             3131 include/linux/fs.h extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
file             3137 include/linux/fs.h extern loff_t noop_llseek(struct file *file, loff_t offset, int whence);
file             3138 include/linux/fs.h extern loff_t no_llseek(struct file *file, loff_t offset, int whence);
file             3139 include/linux/fs.h extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize);
file             3140 include/linux/fs.h extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence);
file             3141 include/linux/fs.h extern loff_t generic_file_llseek_size(struct file *file, loff_t offset,
file             3143 include/linux/fs.h extern loff_t fixed_size_llseek(struct file *file, loff_t offset,
file             3145 include/linux/fs.h extern loff_t no_seek_end_llseek_size(struct file *, loff_t, int, loff_t);
file             3146 include/linux/fs.h extern loff_t no_seek_end_llseek(struct file *, loff_t, int);
file             3147 include/linux/fs.h extern int generic_file_open(struct inode * inode, struct file * filp);
file             3148 include/linux/fs.h extern int nonseekable_open(struct inode * inode, struct file * filp);
file             3149 include/linux/fs.h extern int stream_open(struct inode * inode, struct file * filp);
file             3164 include/linux/fs.h void dio_warn_stale_pagecache(struct file *filp);
file             3243 include/linux/fs.h extern int iterate_dir(struct file *, struct dir_context *);
file             3294 include/linux/fs.h extern int dcache_dir_open(struct inode *, struct file *);
file             3295 include/linux/fs.h extern int dcache_dir_close(struct inode *, struct file *);
file             3296 include/linux/fs.h extern loff_t dcache_dir_lseek(struct file *, loff_t, int);
file             3297 include/linux/fs.h extern int dcache_readdir(struct file *, struct dir_context *);
file             3301 include/linux/fs.h extern int simple_open(struct inode *inode, struct file *file);
file             3307 include/linux/fs.h extern int noop_fsync(struct file *, loff_t, loff_t, int);
file             3313 include/linux/fs.h extern int simple_readpage(struct file *file, struct page *page);
file             3314 include/linux/fs.h extern int simple_write_begin(struct file *file, struct address_space *mapping,
file             3317 include/linux/fs.h extern int simple_write_end(struct file *file, struct address_space *mapping,
file             3322 include/linux/fs.h extern int simple_nosetlease(struct file *, long, struct file_lock **, void **);
file             3326 include/linux/fs.h extern ssize_t generic_read_dir(struct file *, char __user *, size_t, loff_t *);
file             3343 include/linux/fs.h extern int __generic_file_fsync(struct file *, loff_t, loff_t, int);
file             3344 include/linux/fs.h extern int generic_file_fsync(struct file *, loff_t, loff_t, int);
file             3364 include/linux/fs.h extern int file_update_time(struct file *file);
file             3366 include/linux/fs.h static inline bool io_is_direct(struct file *filp)
file             3390 include/linux/fs.h static inline int iocb_flags(struct file *file)
file             3393 include/linux/fs.h 	if (file->f_flags & O_APPEND)
file             3395 include/linux/fs.h 	if (io_is_direct(file))
file             3397 include/linux/fs.h 	if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host))
file             3399 include/linux/fs.h 	if (file->f_flags & __O_SYNC)
file             3452 include/linux/fs.h char *simple_transaction_get(struct file *file, const char __user *buf,
file             3454 include/linux/fs.h ssize_t simple_transaction_read(struct file *file, char __user *buf,
file             3456 include/linux/fs.h int simple_transaction_release(struct inode *inode, struct file *file);
file             3458 include/linux/fs.h void simple_transaction_set(struct file *file, size_t n);
file             3477 include/linux/fs.h static int __fops ## _open(struct inode *inode, struct file *file)	\
file             3480 include/linux/fs.h 	return simple_attr_open(inode, file, __get, __set, __fmt);	\
file             3497 include/linux/fs.h int simple_attr_open(struct inode *inode, struct file *file,
file             3500 include/linux/fs.h int simple_attr_release(struct inode *inode, struct file *file);
file             3501 include/linux/fs.h ssize_t simple_attr_read(struct file *file, char __user *buf,
file             3503 include/linux/fs.h ssize_t simple_attr_write(struct file *file, const char __user *buf,
file             3552 include/linux/fs.h static inline bool dir_emit_dot(struct file *file, struct dir_context *ctx)
file             3555 include/linux/fs.h 			  file->f_path.dentry->d_inode->i_ino, DT_DIR) == 0;
file             3557 include/linux/fs.h static inline bool dir_emit_dotdot(struct file *file, struct dir_context *ctx)
file             3560 include/linux/fs.h 			  parent_ino(file->f_path.dentry), DT_DIR) == 0;
file             3562 include/linux/fs.h static inline bool dir_emit_dots(struct file *file, struct dir_context *ctx)
file             3565 include/linux/fs.h 		if (!dir_emit_dot(file, ctx))
file             3570 include/linux/fs.h 		if (!dir_emit_dotdot(file, ctx))
file             3594 include/linux/fs.h extern int vfs_fadvise(struct file *file, loff_t offset, loff_t len,
file             3596 include/linux/fs.h extern int generic_fadvise(struct file *file, loff_t offset, loff_t len,
file             3600 include/linux/fs.h extern struct sock *io_uring_get_socket(struct file *file);
file             3602 include/linux/fs.h static inline struct sock *io_uring_get_socket(struct file *file)
file               71 include/linux/fs_context.h 		struct file	*file;
file              136 include/linux/fscrypt.h extern int fscrypt_ioctl_set_policy(struct file *, const void __user *);
file              137 include/linux/fscrypt.h extern int fscrypt_ioctl_get_policy(struct file *, void __user *);
file              138 include/linux/fscrypt.h extern int fscrypt_ioctl_get_policy_ex(struct file *, void __user *);
file              144 include/linux/fscrypt.h extern int fscrypt_ioctl_add_key(struct file *filp, void __user *arg);
file              145 include/linux/fscrypt.h extern int fscrypt_ioctl_remove_key(struct file *filp, void __user *arg);
file              146 include/linux/fscrypt.h extern int fscrypt_ioctl_remove_key_all_users(struct file *filp,
file              148 include/linux/fscrypt.h extern int fscrypt_ioctl_get_key_status(struct file *filp, void __user *arg);
file              253 include/linux/fscrypt.h extern int fscrypt_file_open(struct inode *inode, struct file *filp);
file              356 include/linux/fscrypt.h static inline int fscrypt_ioctl_set_policy(struct file *filp,
file              362 include/linux/fscrypt.h static inline int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg)
file              367 include/linux/fscrypt.h static inline int fscrypt_ioctl_get_policy_ex(struct file *filp,
file              391 include/linux/fscrypt.h static inline int fscrypt_ioctl_add_key(struct file *filp, void __user *arg)
file              396 include/linux/fscrypt.h static inline int fscrypt_ioctl_remove_key(struct file *filp, void __user *arg)
file              401 include/linux/fscrypt.h static inline int fscrypt_ioctl_remove_key_all_users(struct file *filp,
file              407 include/linux/fscrypt.h static inline int fscrypt_ioctl_get_key_status(struct file *filp,
file              500 include/linux/fscrypt.h static inline int fscrypt_file_open(struct inode *inode, struct file *filp)
file               58 include/linux/fsnotify.h static inline int fsnotify_perm(struct file *file, int mask)
file               61 include/linux/fsnotify.h 	const struct path *path = &file->f_path;
file               62 include/linux/fsnotify.h 	struct inode *inode = file_inode(file);
file               65 include/linux/fsnotify.h 	if (file->f_mode & FMODE_NONOTIFY)
file               72 include/linux/fsnotify.h 		if (file->f_flags & __FMODE_EXEC) {
file              230 include/linux/fsnotify.h static inline void fsnotify_access(struct file *file)
file              232 include/linux/fsnotify.h 	const struct path *path = &file->f_path;
file              233 include/linux/fsnotify.h 	struct inode *inode = file_inode(file);
file              239 include/linux/fsnotify.h 	if (!(file->f_mode & FMODE_NONOTIFY))
file              246 include/linux/fsnotify.h static inline void fsnotify_modify(struct file *file)
file              248 include/linux/fsnotify.h 	const struct path *path = &file->f_path;
file              249 include/linux/fsnotify.h 	struct inode *inode = file_inode(file);
file              255 include/linux/fsnotify.h 	if (!(file->f_mode & FMODE_NONOTIFY))
file              262 include/linux/fsnotify.h static inline void fsnotify_open(struct file *file)
file              264 include/linux/fsnotify.h 	const struct path *path = &file->f_path;
file              265 include/linux/fsnotify.h 	struct inode *inode = file_inode(file);
file              270 include/linux/fsnotify.h 	if (file->f_flags & __FMODE_EXEC)
file              279 include/linux/fsnotify.h static inline void fsnotify_close(struct file *file)
file              281 include/linux/fsnotify.h 	const struct path *path = &file->f_path;
file              282 include/linux/fsnotify.h 	struct inode *inode = file_inode(file);
file              283 include/linux/fsnotify.h 	fmode_t mode = file->f_mode;
file              289 include/linux/fsnotify.h 	if (!(file->f_mode & FMODE_NONOTIFY))
file              405 include/linux/fsnotify_backend.h extern int fsnotify_fasync(int fd, struct file *file, int on);
file               33 include/linux/fsverity.h 	int (*begin_enable_verity)(struct file *filp);
file               55 include/linux/fsverity.h 	int (*end_enable_verity)(struct file *filp, const void *desc,
file              119 include/linux/fsverity.h extern int fsverity_ioctl_enable(struct file *filp, const void __user *arg);
file              123 include/linux/fsverity.h extern int fsverity_ioctl_measure(struct file *filp, void __user *arg);
file              127 include/linux/fsverity.h extern int fsverity_file_open(struct inode *inode, struct file *filp);
file              146 include/linux/fsverity.h static inline int fsverity_ioctl_enable(struct file *filp,
file              154 include/linux/fsverity.h static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg)
file              161 include/linux/fsverity.h static inline int fsverity_file_open(struct inode *inode, struct file *filp)
file              441 include/linux/ftrace.h 		  struct inode *inode, struct file *file);
file              442 include/linux/ftrace.h ssize_t ftrace_filter_write(struct file *file, const char __user *ubuf,
file              444 include/linux/ftrace.h ssize_t ftrace_notrace_write(struct file *file, const char __user *ubuf,
file              446 include/linux/ftrace.h int ftrace_regex_release(struct inode *inode, struct file *file);
file              610 include/linux/ftrace.h #define ftrace_regex_open(ops, flag, inod, file) ({ -ENODEV; })
file              618 include/linux/ftrace.h static inline ssize_t ftrace_filter_write(struct file *file, const char __user *ubuf,
file              620 include/linux/ftrace.h static inline ssize_t ftrace_notrace_write(struct file *file, const char __user *ubuf,
file              623 include/linux/ftrace.h ftrace_regex_release(struct inode *inode, struct file *file) { return -ENODEV; }
file              157 include/linux/huge_mm.h extern unsigned long thp_get_unmapped_area(struct file *filp,
file              181 include/linux/hugetlb.h #define prepare_hugepage_range(file, addr, len)	(-EINVAL)
file              289 include/linux/hugetlb.h struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
file              293 include/linux/hugetlb.h static inline bool is_file_hugepages(struct file *file)
file              295 include/linux/hugetlb.h 	if (file->f_op == &hugetlbfs_file_operations)
file              298 include/linux/hugetlb.h 	return is_file_shm_hugepages(file);
file              307 include/linux/hugetlb.h #define is_file_hugepages(file)			false
file              308 include/linux/hugetlb.h static inline struct file *
file              323 include/linux/hugetlb.h unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
file              389 include/linux/hugetlb.h static inline struct hstate *hstate_file(struct file *f)
file              626 include/linux/hugetlb.h static inline struct hstate *hstate_file(struct file *f)
file                6 include/linux/if_tap.h struct socket *tap_get_socket(struct file *);
file                7 include/linux/if_tap.h struct ptr_ring *tap_get_ptr_ring(struct file *file);
file               11 include/linux/if_tap.h struct file;
file               13 include/linux/if_tap.h static inline struct socket *tap_get_socket(struct file *f)
file               17 include/linux/if_tap.h static inline struct ptr_ring *tap_get_ptr_ring(struct file *f)
file               67 include/linux/if_tap.h 	struct file *file;
file               28 include/linux/if_tun.h struct socket *tun_get_socket(struct file *);
file               29 include/linux/if_tun.h struct ptr_ring *tun_get_tx_ring(struct file *file);
file               37 include/linux/if_tun.h struct file;
file               39 include/linux/if_tun.h static inline struct socket *tun_get_socket(struct file *f)
file               43 include/linux/if_tun.h static inline struct ptr_ring *tun_get_tx_ring(struct file *f)
file               17 include/linux/ima.h extern int ima_file_check(struct file *file, int mask);
file               19 include/linux/ima.h extern void ima_file_free(struct file *file);
file               20 include/linux/ima.h extern int ima_file_mmap(struct file *file, unsigned long prot);
file               22 include/linux/ima.h extern int ima_read_file(struct file *file, enum kernel_read_file_id id);
file               23 include/linux/ima.h extern int ima_post_read_file(struct file *file, void *buf, loff_t size,
file               53 include/linux/ima.h static inline int ima_file_check(struct file *file, int mask)
file               62 include/linux/ima.h static inline void ima_file_free(struct file *file)
file               67 include/linux/ima.h static inline int ima_file_mmap(struct file *file, unsigned long prot)
file               77 include/linux/ima.h static inline int ima_read_file(struct file *file, enum kernel_read_file_id id)
file               82 include/linux/ima.h static inline int ima_post_read_file(struct file *file, void *buf, loff_t size,
file              181 include/linux/input.h 	int (*flush)(struct input_dev *dev, struct file *file);
file              406 include/linux/input.h int input_flush_device(struct input_handle *handle, struct file *file);
file              552 include/linux/input.h 	struct file *effect_owners[];
file              560 include/linux/input.h int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file);
file              561 include/linux/input.h int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file);
file              562 include/linux/input.h int input_ff_flush(struct input_dev *dev, struct file *file);
file              202 include/linux/iomap.h struct file;
file              206 include/linux/iomap.h 		struct file *swap_file, sector_t *pagespan,
file               57 include/linux/jbd2.h void __jbd2_debug(int level, const char *file, const char *func,
file              212 include/linux/kernel.h extern void ___might_sleep(const char *file, int line, int preempt_offset);
file              213 include/linux/kernel.h extern void __might_sleep(const char *file, int line, int preempt_offset);
file              214 include/linux/kernel.h extern void __cant_sleep(const char *file, int line, int preempt_offset);
file              256 include/linux/kernel.h   static inline void ___might_sleep(const char *file, int line,
file              258 include/linux/kernel.h   static inline void __might_sleep(const char *file, int line,
file              314 include/linux/kernel.h void __might_fault(const char *file, int line);
file               20 include/linux/kernfs.h struct file;
file              203 include/linux/kernfs.h 	struct file		*file;
file              800 include/linux/kvm_host.h long kvm_arch_dev_ioctl(struct file *filp,
file              802 include/linux/kvm_host.h long kvm_arch_vcpu_ioctl(struct file *filp,
file              830 include/linux/kvm_host.h long kvm_arch_vm_ioctl(struct file *filp,
file             1301 include/linux/kvm_host.h struct kvm_device *kvm_device_from_filp(struct file *filp);
file             1368 include/linux/kvm_host.h long kvm_arch_vcpu_async_ioctl(struct file *filp,
file             1371 include/linux/kvm_host.h static inline long kvm_arch_vcpu_async_ioctl(struct file *filp,
file               30 include/linux/lockd/bind.h 						struct file **);
file               31 include/linux/lockd/bind.h 	void			(*fclose)(struct file *);
file              159 include/linux/lockd/lockd.h 	struct file *		f_file;		/* VFS file pointer */
file              304 include/linux/lockd/lockd.h static inline struct inode *nlmsvc_file_inode(struct nlm_file *file)
file              306 include/linux/lockd/lockd.h 	return locks_inode(file->f_file);
file              659 include/linux/lockdep.h void lockdep_rcu_suspicious(const char *file, const int line, const char *s);
file              662 include/linux/lockdep.h lockdep_rcu_suspicious(const char *file, const int line, const char *s)
file               93 include/linux/lsm_audit.h 		struct file *file;
file             1466 include/linux/lsm_hooks.h 					struct file *file);
file             1600 include/linux/lsm_hooks.h 	int (*file_permission)(struct file *file, int mask);
file             1601 include/linux/lsm_hooks.h 	int (*file_alloc_security)(struct file *file);
file             1602 include/linux/lsm_hooks.h 	void (*file_free_security)(struct file *file);
file             1603 include/linux/lsm_hooks.h 	int (*file_ioctl)(struct file *file, unsigned int cmd,
file             1606 include/linux/lsm_hooks.h 	int (*mmap_file)(struct file *file, unsigned long reqprot,
file             1610 include/linux/lsm_hooks.h 	int (*file_lock)(struct file *file, unsigned int cmd);
file             1611 include/linux/lsm_hooks.h 	int (*file_fcntl)(struct file *file, unsigned int cmd,
file             1613 include/linux/lsm_hooks.h 	void (*file_set_fowner)(struct file *file);
file             1616 include/linux/lsm_hooks.h 	int (*file_receive)(struct file *file);
file             1617 include/linux/lsm_hooks.h 	int (*file_open)(struct file *file);
file             1631 include/linux/lsm_hooks.h 	int (*kernel_read_file)(struct file *file, enum kernel_read_file_id id);
file             1632 include/linux/lsm_hooks.h 	int (*kernel_post_read_file)(struct file *file, char *buf, loff_t size,
file                8 include/linux/memfd.h extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg);
file               10 include/linux/memfd.h static inline long memfd_fcntl(struct file *f, unsigned int c, unsigned long a)
file             2287 include/linux/mm.h 	unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t,
file             2320 include/linux/mm.h extern void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
file             2321 include/linux/mm.h extern struct file *get_mm_exe_file(struct mm_struct *mm);
file             2322 include/linux/mm.h extern struct file *get_task_exe_file(struct task_struct *task);
file             2340 include/linux/mm.h extern unsigned long get_unmapped_area(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
file             2342 include/linux/mm.h extern unsigned long mmap_region(struct file *file, unsigned long addr,
file             2345 include/linux/mm.h extern unsigned long do_mmap(struct file *file, unsigned long addr,
file             2355 include/linux/mm.h do_mmap_pgoff(struct file *file, unsigned long addr,
file             2360 include/linux/mm.h 	return do_mmap(file, addr, len, prot, flags, 0, pgoff, populate, uf);
file             2379 include/linux/mm.h extern unsigned long __must_check vm_mmap(struct file *, unsigned long,
file             2433 include/linux/mm.h int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
file             2438 include/linux/mm.h 			       struct file *filp,
file             2444 include/linux/mm.h 				struct file *filp,
file              269 include/linux/mm_types.h 	struct file	*vm_file;	/* the backing file or NULL */
file              343 include/linux/mm_types.h 	struct file * vm_file;		/* File we map to (can be NULL). */
file              376 include/linux/mm_types.h 		unsigned long (*get_unmapped_area) (struct file *filp,
file              491 include/linux/mm_types.h 		struct file __rcu *exe_file;
file               74 include/linux/mount.h struct file; /* forward dec */
file               78 include/linux/mount.h extern int mnt_want_write_file(struct file *file);
file               81 include/linux/mount.h extern void mnt_drop_write_file(struct file *file);
file               16 include/linux/mtd/blktrans.h struct file;
file               30 include/linux/net.h struct file;
file              119 include/linux/net.h 	struct file		*file;
file              152 include/linux/net.h 	__poll_t	(*poll)	     (struct file *file, struct socket *sock,
file              186 include/linux/net.h 	int		(*mmap)	     (struct file *file, struct socket *sock,
file              240 include/linux/net.h struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
file              242 include/linux/net.h struct socket *sock_from_file(struct file *file, int *err);
file              243 include/linux/net.h #define		     sockfd_put(sock) fput(sock->file)
file              143 include/linux/netlink.h struct sock *netlink_getsockbyfilp(struct file *filp);
file              382 include/linux/nfs_fs.h extern int nfs_open(struct inode *, struct file *);
file              396 include/linux/nfs_fs.h extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struct file *filp);
file              398 include/linux/nfs_fs.h extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
file              399 include/linux/nfs_fs.h extern void nfs_file_clear_open_context(struct file *flip);
file              461 include/linux/nfs_fs.h static inline struct nfs_open_context *nfs_file_open_context(struct file *filp)
file              466 include/linux/nfs_fs.h static inline const struct cred *nfs_file_cred(struct file *file)
file              468 include/linux/nfs_fs.h 	if (file != NULL) {
file              470 include/linux/nfs_fs.h 			nfs_file_open_context(file);
file              536 include/linux/nfs_fs.h extern int  nfs_flush_incompatible(struct file *file, struct page *page);
file              537 include/linux/nfs_fs.h extern int  nfs_updatepage(struct file *, struct page *, unsigned int, unsigned int);
file              560 include/linux/nfs_fs.h extern int  nfs_readpage(struct file *, struct page *);
file              561 include/linux/nfs_fs.h extern int  nfs_readpages(struct file *, struct address_space *,
file             1697 include/linux/nfs_xdr.h 	int	(*lock)(struct file *, int, struct file_lock *);
file               34 include/linux/nsc_gpio.h extern ssize_t nsc_gpio_write(struct file *file, const char __user *data,
file               37 include/linux/nsc_gpio.h extern ssize_t nsc_gpio_read(struct file *file, char __user *buf,
file              528 include/linux/perf_event.h struct file;
file              902 include/linux/perf_event.h extern struct file *perf_event_get(unsigned int fd);
file              903 include/linux/perf_event.h extern const struct perf_event *perf_get_event(struct file *file);
file             1363 include/linux/perf_event.h static inline struct file *perf_event_get(unsigned int fd)	{ return ERR_PTR(-EINVAL); }
file             1364 include/linux/perf_event.h static inline const struct perf_event *perf_get_event(struct file *file)
file               75 include/linux/pid.h struct file;
file               77 include/linux/pid.h extern struct pid *pidfd_pid(const struct file *file);
file              186 include/linux/pipe_fs_i.h long pipe_fcntl(struct file *, unsigned int, unsigned long arg);
file              187 include/linux/pipe_fs_i.h struct pipe_inode_info *get_pipe_info(struct file *file);
file              189 include/linux/pipe_fs_i.h int create_pipe_files(struct file **, int);
file               37 include/linux/poll.h typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *);
file               48 include/linux/poll.h static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p)
file               81 include/linux/poll.h static inline bool file_can_poll(struct file *file)
file               83 include/linux/poll.h 	return file->f_op->poll;
file               86 include/linux/poll.h static inline __poll_t vfs_poll(struct file *file, struct poll_table_struct *pt)
file               88 include/linux/poll.h 	if (unlikely(!file->f_op->poll))
file               90 include/linux/poll.h 	return file->f_op->poll(file, pt);
file               94 include/linux/poll.h 	struct file *filp;
file               59 include/linux/posix-clock.h 			    struct file *file, poll_table *wait);
file               17 include/linux/proc_fs.h typedef int (*proc_write_t)(struct file *, char *, size_t);
file               76 include/linux/proc_fs.h extern struct pid *tgid_pidfd_to_pid(const struct file *file);
file              127 include/linux/proc_fs.h static inline struct pid *tgid_pidfd_to_pid(const struct file *file)
file               77 include/linux/proc_ns.h extern struct file *proc_ns_fget(int fd);
file               36 include/linux/psi.h __poll_t psi_trigger_poll(void **trigger_ptr, struct file *file,
file              536 include/linux/psp-sev.h int sev_issue_cmd_external_user(struct file *filep, unsigned int id,
file              619 include/linux/psp-sev.h sev_issue_cmd_external_user(struct file *filep, unsigned int id, void *data, int *error) { return -ENODEV; }
file               98 include/linux/quotaops.h int dquot_file_open(struct inode *inode, struct file *file);
file              112 include/linux/relay.h 			   struct file *filp);
file              122 include/linux/relay.h 			     struct file *filp);
file              102 include/linux/ring_buffer.h 			  struct file *filp, poll_table *poll_table);
file              135 include/linux/rpmsg.h __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
file              237 include/linux/rpmsg.h 				      struct file *filp, poll_table *wait)
file               36 include/linux/rtmutex.h 	const char		*name, *file;
file               63 include/linux/rtmutex.h 	, .name = #mutexname, .file = __FILE__, .line = __LINE__
file              137 include/linux/sched/mm.h arch_get_unmapped_area(struct file *, unsigned long, unsigned long,
file              140 include/linux/sched/mm.h arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr,
file               45 include/linux/security.h struct file;
file              151 include/linux/security.h extern int cap_mmap_file(struct file *file, unsigned long reqprot,
file              258 include/linux/security.h 				  struct task_struct *to, struct file *file);
file              359 include/linux/security.h int security_file_permission(struct file *file, int mask);
file              360 include/linux/security.h int security_file_alloc(struct file *file);
file              361 include/linux/security.h void security_file_free(struct file *file);
file              362 include/linux/security.h int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              363 include/linux/security.h int security_mmap_file(struct file *file, unsigned long prot,
file              368 include/linux/security.h int security_file_lock(struct file *file, unsigned int cmd);
file              369 include/linux/security.h int security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg);
file              370 include/linux/security.h void security_file_set_fowner(struct file *file);
file              373 include/linux/security.h int security_file_receive(struct file *file);
file              374 include/linux/security.h int security_file_open(struct file *file);
file              386 include/linux/security.h int security_kernel_read_file(struct file *file, enum kernel_read_file_id id);
file              387 include/linux/security.h int security_kernel_post_read_file(struct file *file, char *buf, loff_t size,
file              503 include/linux/security.h 						struct file *file)
file              889 include/linux/security.h static inline int security_file_permission(struct file *file, int mask)
file              894 include/linux/security.h static inline int security_file_alloc(struct file *file)
file              899 include/linux/security.h static inline void security_file_free(struct file *file)
file              902 include/linux/security.h static inline int security_file_ioctl(struct file *file, unsigned int cmd,
file              908 include/linux/security.h static inline int security_mmap_file(struct file *file, unsigned long prot,
file              926 include/linux/security.h static inline int security_file_lock(struct file *file, unsigned int cmd)
file              931 include/linux/security.h static inline int security_file_fcntl(struct file *file, unsigned int cmd,
file              937 include/linux/security.h static inline void security_file_set_fowner(struct file *file)
file              949 include/linux/security.h static inline int security_file_receive(struct file *file)
file              954 include/linux/security.h static inline int security_file_open(struct file *file)
file             1009 include/linux/security.h static inline int security_kernel_read_file(struct file *file,
file             1015 include/linux/security.h static inline int security_kernel_post_read_file(struct file *file,
file               28 include/linux/seq_file.h 	const struct file *file;
file              109 include/linux/seq_file.h int seq_open(struct file *, const struct seq_operations *);
file              110 include/linux/seq_file.h ssize_t seq_read(struct file *, char __user *, size_t, loff_t *);
file              111 include/linux/seq_file.h loff_t seq_lseek(struct file *, loff_t, int);
file              112 include/linux/seq_file.h int seq_release(struct inode *, struct file *);
file              137 include/linux/seq_file.h int seq_file_path(struct seq_file *, struct file *, const char *);
file              142 include/linux/seq_file.h int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
file              143 include/linux/seq_file.h int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t);
file              144 include/linux/seq_file.h int single_release(struct inode *, struct file *);
file              145 include/linux/seq_file.h void *__seq_open_private(struct file *, const struct seq_operations *, int);
file              146 include/linux/seq_file.h int seq_open_private(struct file *, const struct seq_operations *, int);
file              147 include/linux/seq_file.h int seq_release_private(struct inode *, struct file *);
file              150 include/linux/seq_file.h static int __name ## _open(struct inode *inode, struct file *file)	\
file              152 include/linux/seq_file.h 	return single_open(file, __name ## _show, inode->i_private);	\
file              166 include/linux/seq_file.h 	return seq->file->f_cred->user_ns;
file               10 include/linux/shm.h struct file;
file               19 include/linux/shm.h bool is_file_shm_hugepages(struct file *file);
file               33 include/linux/shm.h static inline bool is_file_shm_hugepages(struct file *file)
file               55 include/linux/shmem_fs.h extern struct file *shmem_file_setup(const char *name,
file               57 include/linux/shmem_fs.h extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,
file               59 include/linux/shmem_fs.h extern struct file *shmem_file_setup_with_mnt(struct vfsmount *mnt,
file               62 include/linux/shmem_fs.h extern unsigned long shmem_get_unmapped_area(struct file *, unsigned long addr,
file               64 include/linux/shmem_fs.h extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
file              104 include/linux/shmem_fs.h static inline bool shmem_file(struct file *file)
file              108 include/linux/shmem_fs.h 	if (!file || !file->f_mapping)
file              110 include/linux/shmem_fs.h 	return shmem_mapping(file->f_mapping);
file             3484 include/linux/skbuff.h __poll_t datagram_poll(struct file *file, struct socket *sock,
file               38 include/linux/splice.h 		struct file *file;	/* file to read/write */
file               70 include/linux/splice.h extern ssize_t splice_from_pipe(struct pipe_inode_info *, struct file *,
file               79 include/linux/splice.h extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
file                7 include/linux/string_helpers.h struct file;
file               80 include/linux/string_helpers.h char *kstrdup_quotable_file(struct file *file, gfp_t gfp);
file              232 include/linux/sunrpc/cache.h extern void *cache_seq_start_rcu(struct seq_file *file, loff_t *pos);
file              233 include/linux/sunrpc/cache.h extern void *cache_seq_next_rcu(struct seq_file *file, void *p, loff_t *pos);
file              234 include/linux/sunrpc/cache.h extern void cache_seq_stop_rcu(struct seq_file *file, void *p);
file               38 include/linux/sunrpc/rpc_pipe_fs.h 	ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t);
file               39 include/linux/sunrpc/rpc_pipe_fs.h 	ssize_t (*downcall)(struct file *, const char __user *, size_t);
file               93 include/linux/sunrpc/rpc_pipe_fs.h extern ssize_t rpc_pipe_generic_upcall(struct file *, struct rpc_pipe_msg *,
file              507 include/linux/sunrpc/svc.h int		   svc_pool_stats_open(struct svc_serv *serv, struct file *file);
file               29 include/linux/sunrpc/xprtsock.h 	struct file *		file;
file              253 include/linux/swap.h 	struct file *swap_file;		/* seldom referenced */
file              397 include/linux/swap.h int generic_swapfile_activate(struct swap_info_struct *, struct file *,
file               36 include/linux/sync_file.h 	struct file		*file;
file              158 include/linux/sysfs.h struct file;
file              165 include/linux/sysfs.h 	ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
file              167 include/linux/sysfs.h 	ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
file              169 include/linux/sysfs.h 	int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
file              443 include/linux/trace_events.h event_triggers_call(struct trace_event_file *file, void *rec,
file              446 include/linux/trace_events.h event_triggers_post_call(struct trace_event_file *file,
file              461 include/linux/trace_events.h trace_trigger_soft_disabled(struct trace_event_file *file)
file              463 include/linux/trace_events.h 	unsigned long eflags = file->flags;
file              467 include/linux/trace_events.h 			event_triggers_call(file, NULL, NULL);
file              471 include/linux/trace_events.h 			return trace_event_ignore_this_pid(file);
file              346 include/linux/tty.h 	struct file *file;
file              389 include/linux/tty.h static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file)
file              391 include/linux/tty.h 	return file->f_flags & O_NONBLOCK ||
file              503 include/linux/tty.h extern int tty_hung_up_p(struct file *filp);
file              506 include/linux/tty.h extern void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty);
file              553 include/linux/tty.h extern long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              554 include/linux/tty.h extern int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
file              557 include/linux/tty.h 			      struct file *file, unsigned int cmd, unsigned long arg);
file              561 include/linux/tty.h extern int tty_alloc_file(struct file *file);
file              562 include/linux/tty.h extern void tty_add_file(struct tty_struct *tty, struct file *file);
file              563 include/linux/tty.h extern void tty_free_file(struct file *file);
file              566 include/linux/tty.h extern int tty_release(struct inode *inode, struct file *filp);
file              695 include/linux/tty.h 				struct tty_struct *tty, struct file *filp);
file              697 include/linux/tty.h 				struct tty_struct *tty, struct file *filp);
file              700 include/linux/tty.h 				struct tty_struct *tty, struct file *filp);
file              704 include/linux/tty.h 				struct tty_struct *tty, struct file *filp);
file              757 include/linux/tty.h extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
file              256 include/linux/tty_driver.h 			struct file *filp, int idx);
file              259 include/linux/tty_driver.h 	int  (*open)(struct tty_struct * tty, struct file * filp);
file              260 include/linux/tty_driver.h 	void (*close)(struct tty_struct * tty, struct file * filp);
file              187 include/linux/tty_ldisc.h 	ssize_t	(*read)(struct tty_struct *tty, struct file *file,
file              189 include/linux/tty_ldisc.h 	ssize_t	(*write)(struct tty_struct *tty, struct file *file,
file              191 include/linux/tty_ldisc.h 	int	(*ioctl)(struct tty_struct *tty, struct file *file,
file              193 include/linux/tty_ldisc.h 	int	(*compat_ioctl)(struct tty_struct *tty, struct file *file,
file              196 include/linux/tty_ldisc.h 	__poll_t (*poll)(struct tty_struct *, struct file *,
file               12 include/linux/umh.h struct file;
file               25 include/linux/umh.h 	struct file *file;
file               43 include/linux/umh.h struct subprocess_info *call_usermodehelper_setup_file(struct file *file,
file               48 include/linux/umh.h 	struct file *pipe_to_umh;
file               49 include/linux/umh.h 	struct file *pipe_from_umh;
file              129 include/linux/user_namespace.h extern ssize_t proc_uid_map_write(struct file *, const char __user *, size_t, loff_t *);
file              130 include/linux/user_namespace.h extern ssize_t proc_gid_map_write(struct file *, const char __user *, size_t, loff_t *);
file              131 include/linux/user_namespace.h extern ssize_t proc_projid_map_write(struct file *, const char __user *, size_t, loff_t *);
file              132 include/linux/user_namespace.h extern ssize_t proc_setgroups_write(struct file *, const char __user *, size_t, loff_t *);
file               95 include/linux/vfio.h extern struct vfio_group *vfio_group_get_external_user(struct file *filep);
file               98 include/linux/vfio.h 					   struct file *filep);
file               42 include/media/cec-pin.h 	void (*status)(struct cec_adapter *adap, struct seq_file *file);
file              119 include/media/cec.h 	void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
file              110 include/media/drv-intf/saa7146_vv.h 	struct file			*vbi_read_timeout_file;
file              175 include/media/drv-intf/saa7146_vv.h 	int(*open)(struct saa7146_dev *, struct file *);
file              176 include/media/drv-intf/saa7146_vv.h 	void (*release)(struct saa7146_dev *, struct file *);
file              178 include/media/drv-intf/saa7146_vv.h 	ssize_t (*read)(struct file *, char __user *, size_t, loff_t *);
file              209 include/media/drv-intf/saa7146_vv.h long saa7146_video_do_ioctl(struct file *file, unsigned int cmd, void *arg);
file               63 include/media/drv-intf/tea575x.h int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea,
file              127 include/media/dvb_vb2.h #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0)
file              130 include/media/dvb_vb2.h 				    struct file *file,
file              186 include/media/dvb_vb2.h __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
file              173 include/media/dvbdev.h 	int (*kernel_ioctl)(struct file *file, unsigned int cmd, void *arg);
file              321 include/media/dvbdev.h int dvb_generic_open(struct inode *inode, struct file *file);
file              332 include/media/dvbdev.h int dvb_generic_release(struct inode *inode, struct file *file);
file              344 include/media/dvbdev.h long dvb_generic_ioctl(struct file *file,
file              360 include/media/dvbdev.h int dvb_usercopy(struct file *file, unsigned int cmd, unsigned long arg,
file              361 include/media/dvbdev.h 		 int (*func)(struct file *file, unsigned int cmd, void *arg));
file               21 include/media/i2c/saa6588.h 	struct file   *instance;
file               49 include/media/media-devnode.h 	ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
file               50 include/media/media-devnode.h 	ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
file               51 include/media/media-devnode.h 	__poll_t (*poll) (struct file *, struct poll_table_struct *);
file               52 include/media/media-devnode.h 	long (*ioctl) (struct file *, unsigned int, unsigned long);
file               53 include/media/media-devnode.h 	long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
file               54 include/media/media-devnode.h 	int (*open) (struct file *);
file               55 include/media/media-devnode.h 	int (*release) (struct file *);
file              147 include/media/media-devnode.h static inline struct media_devnode *media_devnode_data(struct file *filp)
file               22 include/media/soc_camera.h struct file;
file               49 include/media/soc_camera.h 	struct file *streamer;		/* stream owner */
file              117 include/media/soc_camera.h 	__poll_t (*poll)(struct file *, poll_table *);
file               26 include/media/v4l2-ctrls.h struct file;
file             1103 include/media/v4l2-ctrls.h int v4l2_ctrl_log_status(struct file *file, void *fh);
file             1125 include/media/v4l2-ctrls.h __poll_t v4l2_ctrl_poll(struct file *file, struct poll_table_struct *wait);
file              195 include/media/v4l2-dev.h 	ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
file              196 include/media/v4l2-dev.h 	ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
file              197 include/media/v4l2-dev.h 	__poll_t (*poll) (struct file *, struct poll_table_struct *);
file              198 include/media/v4l2-dev.h 	long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
file              200 include/media/v4l2-dev.h 	long (*compat_ioctl32) (struct file *, unsigned int, unsigned long);
file              202 include/media/v4l2-dev.h 	unsigned long (*get_unmapped_area) (struct file *, unsigned long,
file              204 include/media/v4l2-dev.h 	int (*mmap) (struct file *, struct vm_area_struct *);
file              205 include/media/v4l2-dev.h 	int (*open) (struct file *);
file              206 include/media/v4l2-dev.h 	int (*release) (struct file *);
file              497 include/media/v4l2-dev.h struct video_device *video_devdata(struct file *file);
file              508 include/media/v4l2-dev.h static inline void *video_drvdata(struct file *file)
file              510 include/media/v4l2-dev.h 	return video_get_drvdata(video_devdata(file));
file               93 include/media/v4l2-fh.h int v4l2_fh_open(struct file *filp);
file              135 include/media/v4l2-fh.h int v4l2_fh_release(struct file *filp);
file              158 include/media/v4l2-fh.h static inline int v4l2_fh_is_singular_file(struct file *filp)
file              300 include/media/v4l2-ioctl.h 	int (*vidioc_querycap)(struct file *file, void *fh,
file              304 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh,
file              306 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh,
file              308 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh,
file              310 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh,
file              312 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh,
file              314 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh,
file              316 include/media/v4l2-ioctl.h 	int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh,
file              320 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh,
file              322 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh,
file              324 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_out)(struct file *file, void *fh,
file              326 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_out_overlay)(struct file *file, void *fh,
file              328 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vbi_cap)(struct file *file, void *fh,
file              330 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vbi_out)(struct file *file, void *fh,
file              332 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file              334 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_sliced_vbi_out)(struct file *file, void *fh,
file              336 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_cap_mplane)(struct file *file, void *fh,
file              338 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_vid_out_mplane)(struct file *file, void *fh,
file              340 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_sdr_cap)(struct file *file, void *fh,
file              342 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_sdr_out)(struct file *file, void *fh,
file              344 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_meta_cap)(struct file *file, void *fh,
file              346 include/media/v4l2-ioctl.h 	int (*vidioc_g_fmt_meta_out)(struct file *file, void *fh,
file              350 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_cap)(struct file *file, void *fh,
file              352 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_overlay)(struct file *file, void *fh,
file              354 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_out)(struct file *file, void *fh,
file              356 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_out_overlay)(struct file *file, void *fh,
file              358 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vbi_cap)(struct file *file, void *fh,
file              360 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vbi_out)(struct file *file, void *fh,
file              362 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file              364 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_sliced_vbi_out)(struct file *file, void *fh,
file              366 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_cap_mplane)(struct file *file, void *fh,
file              368 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_vid_out_mplane)(struct file *file, void *fh,
file              370 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_sdr_cap)(struct file *file, void *fh,
file              372 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_sdr_out)(struct file *file, void *fh,
file              374 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_meta_cap)(struct file *file, void *fh,
file              376 include/media/v4l2-ioctl.h 	int (*vidioc_s_fmt_meta_out)(struct file *file, void *fh,
file              380 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_cap)(struct file *file, void *fh,
file              382 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_overlay)(struct file *file, void *fh,
file              384 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_out)(struct file *file, void *fh,
file              386 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_out_overlay)(struct file *file, void *fh,
file              388 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vbi_cap)(struct file *file, void *fh,
file              390 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vbi_out)(struct file *file, void *fh,
file              392 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file              394 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_sliced_vbi_out)(struct file *file, void *fh,
file              396 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_cap_mplane)(struct file *file, void *fh,
file              398 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_vid_out_mplane)(struct file *file, void *fh,
file              400 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_sdr_cap)(struct file *file, void *fh,
file              402 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_sdr_out)(struct file *file, void *fh,
file              404 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_meta_cap)(struct file *file, void *fh,
file              406 include/media/v4l2-ioctl.h 	int (*vidioc_try_fmt_meta_out)(struct file *file, void *fh,
file              410 include/media/v4l2-ioctl.h 	int (*vidioc_reqbufs)(struct file *file, void *fh,
file              412 include/media/v4l2-ioctl.h 	int (*vidioc_querybuf)(struct file *file, void *fh,
file              414 include/media/v4l2-ioctl.h 	int (*vidioc_qbuf)(struct file *file, void *fh,
file              416 include/media/v4l2-ioctl.h 	int (*vidioc_expbuf)(struct file *file, void *fh,
file              418 include/media/v4l2-ioctl.h 	int (*vidioc_dqbuf)(struct file *file, void *fh,
file              421 include/media/v4l2-ioctl.h 	int (*vidioc_create_bufs)(struct file *file, void *fh,
file              423 include/media/v4l2-ioctl.h 	int (*vidioc_prepare_buf)(struct file *file, void *fh,
file              426 include/media/v4l2-ioctl.h 	int (*vidioc_overlay)(struct file *file, void *fh, unsigned int i);
file              427 include/media/v4l2-ioctl.h 	int (*vidioc_g_fbuf)(struct file *file, void *fh,
file              429 include/media/v4l2-ioctl.h 	int (*vidioc_s_fbuf)(struct file *file, void *fh,
file              433 include/media/v4l2-ioctl.h 	int (*vidioc_streamon)(struct file *file, void *fh,
file              435 include/media/v4l2-ioctl.h 	int (*vidioc_streamoff)(struct file *file, void *fh,
file              443 include/media/v4l2-ioctl.h 	int (*vidioc_g_std)(struct file *file, void *fh, v4l2_std_id *norm);
file              444 include/media/v4l2-ioctl.h 	int (*vidioc_s_std)(struct file *file, void *fh, v4l2_std_id norm);
file              445 include/media/v4l2-ioctl.h 	int (*vidioc_querystd)(struct file *file, void *fh, v4l2_std_id *a);
file              448 include/media/v4l2-ioctl.h 	int (*vidioc_enum_input)(struct file *file, void *fh,
file              450 include/media/v4l2-ioctl.h 	int (*vidioc_g_input)(struct file *file, void *fh, unsigned int *i);
file              451 include/media/v4l2-ioctl.h 	int (*vidioc_s_input)(struct file *file, void *fh, unsigned int i);
file              454 include/media/v4l2-ioctl.h 	int (*vidioc_enum_output)(struct file *file, void *fh,
file              456 include/media/v4l2-ioctl.h 	int (*vidioc_g_output)(struct file *file, void *fh, unsigned int *i);
file              457 include/media/v4l2-ioctl.h 	int (*vidioc_s_output)(struct file *file, void *fh, unsigned int i);
file              460 include/media/v4l2-ioctl.h 	int (*vidioc_queryctrl)(struct file *file, void *fh,
file              462 include/media/v4l2-ioctl.h 	int (*vidioc_query_ext_ctrl)(struct file *file, void *fh,
file              464 include/media/v4l2-ioctl.h 	int (*vidioc_g_ctrl)(struct file *file, void *fh,
file              466 include/media/v4l2-ioctl.h 	int (*vidioc_s_ctrl)(struct file *file, void *fh,
file              468 include/media/v4l2-ioctl.h 	int (*vidioc_g_ext_ctrls)(struct file *file, void *fh,
file              470 include/media/v4l2-ioctl.h 	int (*vidioc_s_ext_ctrls)(struct file *file, void *fh,
file              472 include/media/v4l2-ioctl.h 	int (*vidioc_try_ext_ctrls)(struct file *file, void *fh,
file              474 include/media/v4l2-ioctl.h 	int (*vidioc_querymenu)(struct file *file, void *fh,
file              478 include/media/v4l2-ioctl.h 	int (*vidioc_enumaudio)(struct file *file, void *fh,
file              480 include/media/v4l2-ioctl.h 	int (*vidioc_g_audio)(struct file *file, void *fh,
file              482 include/media/v4l2-ioctl.h 	int (*vidioc_s_audio)(struct file *file, void *fh,
file              486 include/media/v4l2-ioctl.h 	int (*vidioc_enumaudout)(struct file *file, void *fh,
file              488 include/media/v4l2-ioctl.h 	int (*vidioc_g_audout)(struct file *file, void *fh,
file              490 include/media/v4l2-ioctl.h 	int (*vidioc_s_audout)(struct file *file, void *fh,
file              492 include/media/v4l2-ioctl.h 	int (*vidioc_g_modulator)(struct file *file, void *fh,
file              494 include/media/v4l2-ioctl.h 	int (*vidioc_s_modulator)(struct file *file, void *fh,
file              497 include/media/v4l2-ioctl.h 	int (*vidioc_g_pixelaspect)(struct file *file, void *fh,
file              499 include/media/v4l2-ioctl.h 	int (*vidioc_g_selection)(struct file *file, void *fh,
file              501 include/media/v4l2-ioctl.h 	int (*vidioc_s_selection)(struct file *file, void *fh,
file              504 include/media/v4l2-ioctl.h 	int (*vidioc_g_jpegcomp)(struct file *file, void *fh,
file              506 include/media/v4l2-ioctl.h 	int (*vidioc_s_jpegcomp)(struct file *file, void *fh,
file              508 include/media/v4l2-ioctl.h 	int (*vidioc_g_enc_index)(struct file *file, void *fh,
file              510 include/media/v4l2-ioctl.h 	int (*vidioc_encoder_cmd)(struct file *file, void *fh,
file              512 include/media/v4l2-ioctl.h 	int (*vidioc_try_encoder_cmd)(struct file *file, void *fh,
file              514 include/media/v4l2-ioctl.h 	int (*vidioc_decoder_cmd)(struct file *file, void *fh,
file              516 include/media/v4l2-ioctl.h 	int (*vidioc_try_decoder_cmd)(struct file *file, void *fh,
file              520 include/media/v4l2-ioctl.h 	int (*vidioc_g_parm)(struct file *file, void *fh,
file              522 include/media/v4l2-ioctl.h 	int (*vidioc_s_parm)(struct file *file, void *fh,
file              526 include/media/v4l2-ioctl.h 	int (*vidioc_g_tuner)(struct file *file, void *fh,
file              528 include/media/v4l2-ioctl.h 	int (*vidioc_s_tuner)(struct file *file, void *fh,
file              530 include/media/v4l2-ioctl.h 	int (*vidioc_g_frequency)(struct file *file, void *fh,
file              532 include/media/v4l2-ioctl.h 	int (*vidioc_s_frequency)(struct file *file, void *fh,
file              534 include/media/v4l2-ioctl.h 	int (*vidioc_enum_freq_bands)(struct file *file, void *fh,
file              538 include/media/v4l2-ioctl.h 	int (*vidioc_g_sliced_vbi_cap)(struct file *file, void *fh,
file              542 include/media/v4l2-ioctl.h 	int (*vidioc_log_status)(struct file *file, void *fh);
file              544 include/media/v4l2-ioctl.h 	int (*vidioc_s_hw_freq_seek)(struct file *file, void *fh,
file              549 include/media/v4l2-ioctl.h 	int (*vidioc_g_register)(struct file *file, void *fh,
file              551 include/media/v4l2-ioctl.h 	int (*vidioc_s_register)(struct file *file, void *fh,
file              554 include/media/v4l2-ioctl.h 	int (*vidioc_g_chip_info)(struct file *file, void *fh,
file              558 include/media/v4l2-ioctl.h 	int (*vidioc_enum_framesizes)(struct file *file, void *fh,
file              561 include/media/v4l2-ioctl.h 	int (*vidioc_enum_frameintervals)(struct file *file, void *fh,
file              565 include/media/v4l2-ioctl.h 	int (*vidioc_s_dv_timings)(struct file *file, void *fh,
file              567 include/media/v4l2-ioctl.h 	int (*vidioc_g_dv_timings)(struct file *file, void *fh,
file              569 include/media/v4l2-ioctl.h 	int (*vidioc_query_dv_timings)(struct file *file, void *fh,
file              571 include/media/v4l2-ioctl.h 	int (*vidioc_enum_dv_timings)(struct file *file, void *fh,
file              573 include/media/v4l2-ioctl.h 	int (*vidioc_dv_timings_cap)(struct file *file, void *fh,
file              575 include/media/v4l2-ioctl.h 	int (*vidioc_g_edid)(struct file *file, void *fh,
file              577 include/media/v4l2-ioctl.h 	int (*vidioc_s_edid)(struct file *file, void *fh,
file              586 include/media/v4l2-ioctl.h 	long (*vidioc_default)(struct file *file, void *fh,
file              685 include/media/v4l2-ioctl.h long int v4l2_compat_ioctl32(struct file *file, unsigned int cmd,
file              696 include/media/v4l2-ioctl.h typedef long (*v4l2_kioctl)(struct file *file, unsigned int cmd, void *arg);
file              711 include/media/v4l2-ioctl.h long int video_usercopy(struct file *file, unsigned int cmd,
file              724 include/media/v4l2-ioctl.h long int video_ioctl2(struct file *file,
file              189 include/media/v4l2-mem2mem.h int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              201 include/media/v4l2-mem2mem.h int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              212 include/media/v4l2-mem2mem.h int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              223 include/media/v4l2-mem2mem.h int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              234 include/media/v4l2-mem2mem.h int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              245 include/media/v4l2-mem2mem.h int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              256 include/media/v4l2-mem2mem.h int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              266 include/media/v4l2-mem2mem.h int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              276 include/media/v4l2-mem2mem.h int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              291 include/media/v4l2-mem2mem.h __poll_t v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              308 include/media/v4l2-mem2mem.h int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
file              653 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv,
file              655 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_create_bufs(struct file *file, void *fh,
file              657 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_querybuf(struct file *file, void *fh,
file              659 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_expbuf(struct file *file, void *fh,
file              661 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_qbuf(struct file *file, void *fh,
file              663 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_dqbuf(struct file *file, void *fh,
file              665 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *fh,
file              667 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_streamon(struct file *file, void *fh,
file              669 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_streamoff(struct file *file, void *fh,
file              671 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_try_encoder_cmd(struct file *file, void *fh,
file              673 include/media/v4l2-mem2mem.h int v4l2_m2m_ioctl_try_decoder_cmd(struct file *file, void *fh,
file              675 include/media/v4l2-mem2mem.h int v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma);
file              676 include/media/v4l2-mem2mem.h __poll_t v4l2_m2m_fop_poll(struct file *file, poll_table *wait);
file              219 include/media/videobuf-core.h __poll_t videobuf_poll_stream(struct file *file,
file             1000 include/media/videobuf2-core.h __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file,
file              263 include/media/videobuf2-v4l2.h __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait);
file              275 include/media/videobuf2-v4l2.h int vb2_ioctl_reqbufs(struct file *file, void *priv,
file              277 include/media/videobuf2-v4l2.h int vb2_ioctl_create_bufs(struct file *file, void *priv,
file              279 include/media/videobuf2-v4l2.h int vb2_ioctl_prepare_buf(struct file *file, void *priv,
file              281 include/media/videobuf2-v4l2.h int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p);
file              282 include/media/videobuf2-v4l2.h int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p);
file              283 include/media/videobuf2-v4l2.h int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p);
file              284 include/media/videobuf2-v4l2.h int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i);
file              285 include/media/videobuf2-v4l2.h int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i);
file              286 include/media/videobuf2-v4l2.h int vb2_ioctl_expbuf(struct file *file, void *priv,
file              291 include/media/videobuf2-v4l2.h int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma);
file              292 include/media/videobuf2-v4l2.h int vb2_fop_release(struct file *file);
file              293 include/media/videobuf2-v4l2.h int _vb2_fop_release(struct file *file, struct mutex *lock);
file              294 include/media/videobuf2-v4l2.h ssize_t vb2_fop_write(struct file *file, const char __user *buf,
file              296 include/media/videobuf2-v4l2.h ssize_t vb2_fop_read(struct file *file, char __user *buf,
file              298 include/media/videobuf2-v4l2.h __poll_t vb2_fop_poll(struct file *file, poll_table *wait);
file              300 include/media/videobuf2-v4l2.h unsigned long vb2_fop_get_unmapped_area(struct file *file, unsigned long addr,
file              181 include/misc/cxl.h struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops,
file              184 include/misc/cxl.h struct cxl_context *cxl_fops_get_context(struct file *file);
file              194 include/misc/cxl.h int cxl_fd_open(struct inode *inode, struct file *file);
file              195 include/misc/cxl.h int cxl_fd_release(struct inode *inode, struct file *file);
file              196 include/misc/cxl.h long cxl_fd_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              197 include/misc/cxl.h int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm);
file              198 include/misc/cxl.h __poll_t cxl_fd_poll(struct file *file, struct poll_table_struct *poll);
file              199 include/misc/cxl.h ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
file               11 include/net/af_unix.h void unix_inflight(struct user_struct *user, struct file *fp);
file               12 include/net/af_unix.h void unix_notinflight(struct user_struct *user, struct file *fp);
file               16 include/net/af_unix.h struct sock *unix_get_socket(struct file *filp);
file              274 include/net/bluetooth/bluetooth.h __poll_t bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait);
file              161 include/net/iucv/af_iucv.h __poll_t iucv_sock_poll(struct file *file, struct socket *sock,
file               28 include/net/scm.h 	struct file		*fp[SCM_MAX_FD];
file               97 include/net/sctp/sctp.h __poll_t sctp_poll(struct file *file, struct socket *sock,
file              786 include/net/sock.h 	return sk->sk_socket->file->f_cred->user_ns;
file             1675 include/net/sock.h int sock_no_mmap(struct file *file, struct socket *sock,
file             2109 include/net/sock.h static inline void sock_poll_wait(struct file *filp, struct socket *sock,
file              392 include/net/tcp.h __poll_t tcp_poll(struct file *file, struct socket *sock,
file              409 include/net/tcp.h int tcp_mmap(struct file *file, struct socket *sock,
file              295 include/net/udp.h __poll_t udp_poll(struct file *file, struct socket *sock, poll_table *wait);
file              103 include/rdma/ib.h static inline bool ib_safe_file_access(struct file *filp)
file              166 include/rdma/uverbs_types.h void uverbs_close_fd(struct file *f);
file              236 include/sound/core.h int snd_card_file_add(struct snd_card *card, struct file *file);
file              237 include/sound/core.h int snd_card_file_remove(struct snd_card *card, struct file *file);
file              291 include/sound/core.h void __snd_printk(unsigned int level, const char *file, int line,
file              294 include/sound/core.h #define __snd_printk(level, file, line, format, ...) \
file               17 include/sound/hwdep.h 	long long (*llseek)(struct snd_hwdep *hw, struct file *file,
file               23 include/sound/hwdep.h 	int (*open)(struct snd_hwdep *hw, struct file * file);
file               24 include/sound/hwdep.h 	int (*release)(struct snd_hwdep *hw, struct file * file);
file               25 include/sound/hwdep.h 	__poll_t (*poll)(struct snd_hwdep *hw, struct file *file,
file               27 include/sound/hwdep.h 	int (*ioctl)(struct snd_hwdep *hw, struct file *file,
file               29 include/sound/hwdep.h 	int (*ioctl_compat)(struct snd_hwdep *hw, struct file *file,
file               31 include/sound/hwdep.h 	int (*mmap)(struct snd_hwdep *hw, struct file *file,
file               42 include/sound/info.h 			struct file *file, char __user *buf,
file               45 include/sound/info.h 			 struct file *file, const char __user *buf,
file               48 include/sound/info.h 			 void *file_private_data, struct file *file,
file               51 include/sound/info.h 			     void *file_private_data, struct file *file,
file               54 include/sound/info.h 		     struct file *file, unsigned int cmd, unsigned long arg);
file               56 include/sound/info.h 		    struct inode *inode, struct file *file,
file              352 include/sound/opl3.h int snd_opl3_open(struct snd_hwdep * hw, struct file *file);
file              353 include/sound/opl3.h int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file,
file              355 include/sound/opl3.h int snd_opl3_release(struct snd_hwdep * hw, struct file *file);
file              572 include/sound/pcm.h int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, struct file *file,
file              575 include/sound/pcm.h int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file,
file              578 include/sound/pcm.h int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area);
file               62 include/sound/seq_kernel.h 				  struct file *file, bool blocking);
file              123 include/sound/snd_wavefront.h 					struct file *,
file              126 include/sound/snd_wavefront.h extern int  snd_wavefront_synth_open    (struct snd_hwdep *, struct file *);
file              127 include/sound/snd_wavefront.h extern int  snd_wavefront_synth_release (struct snd_hwdep *, struct file *);
file              134 include/sound/snd_wavefront.h 				     struct file *,
file              137 include/sound/snd_wavefront.h extern int snd_wavefront_fx_open    (struct snd_hwdep *, struct file *);
file              138 include/sound/snd_wavefront.h extern int snd_wavefront_fx_release (struct snd_hwdep *, struct file *);
file               13 include/sound/wavefront.h      You will not be able to compile this file correctly without gcc, because
file              652 include/trace/events/btrfs.h 	TP_PROTO(const struct file *file, int datasync),
file              654 include/trace/events/btrfs.h 	TP_ARGS(file, datasync),
file              664 include/trace/events/btrfs.h 		const struct dentry *dentry = file->f_path.dentry;
file              667 include/trace/events/btrfs.h 		TP_fast_assign_fsid(btrfs_sb(file->f_path.dentry->d_sb));
file              884 include/trace/events/ext4.h 	TP_PROTO(struct file *file, int datasync),
file              886 include/trace/events/ext4.h 	TP_ARGS(file, datasync),
file              896 include/trace/events/ext4.h 		struct dentry *dentry = file->f_path.dentry;
file               83 include/trace/events/filemap.h 		TP_PROTO(struct file *file, errseq_t old),
file               85 include/trace/events/filemap.h 		TP_ARGS(file, old),
file               88 include/trace/events/filemap.h 			__field(struct file *, file);
file               96 include/trace/events/filemap.h 			__entry->file = file;
file               97 include/trace/events/filemap.h 			__entry->i_ino = file->f_mapping->host->i_ino;
file               98 include/trace/events/filemap.h 			if (file->f_mapping->host->i_sb)
file              100 include/trace/events/filemap.h 					file->f_mapping->host->i_sb->s_dev;
file              103 include/trace/events/filemap.h 					file->f_mapping->host->i_rdev;
file              105 include/trace/events/filemap.h 			__entry->new = file->f_wb_err;
file              109 include/trace/events/filemap.h 			__entry->file, MAJOR(__entry->s_dev),
file               17 include/trace/events/ib_umad.h 	TP_PROTO(struct ib_umad_file *file, struct ib_user_mad_hdr *umad_hdr,
file               19 include/trace/events/ib_umad.h 	TP_ARGS(file, umad_hdr, mad_hdr),
file               53 include/trace/events/ib_umad.h 		__entry->dev_index = file->port->ib_dev->index;
file               54 include/trace/events/ib_umad.h 		__entry->port_num = file->port->port_num;
file              110 include/trace/events/ib_umad.h 	TP_PROTO(struct ib_umad_file *file, struct ib_user_mad_hdr *umad_hdr,
file              112 include/trace/events/ib_umad.h 	TP_ARGS(file, umad_hdr, mad_hdr));
file              115 include/trace/events/ib_umad.h 	TP_PROTO(struct ib_umad_file *file, struct ib_user_mad_hdr *umad_hdr,
file              117 include/trace/events/ib_umad.h 	TP_ARGS(file, umad_hdr, mad_hdr));
file              120 include/trace/events/ib_umad.h 	TP_PROTO(struct ib_umad_file *file, struct ib_user_mad_hdr *umad_hdr,
file              122 include/trace/events/ib_umad.h 	TP_ARGS(file, umad_hdr, mad_hdr));
file               30 include/trace/events/vmscan.h #define trace_reclaim_flags(file) ( \
file               31 include/trace/events/vmscan.h 	(file ? RECLAIM_WB_FILE : RECLAIM_WB_ANON) | \
file              339 include/trace/events/vmscan.h 		struct reclaim_stat *stat, int priority, int file),
file              341 include/trace/events/vmscan.h 	TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
file              372 include/trace/events/vmscan.h 		__entry->reclaim_flags = trace_reclaim_flags(file);
file              390 include/trace/events/vmscan.h 		unsigned long nr_referenced, int priority, int file),
file              392 include/trace/events/vmscan.h 	TP_ARGS(nid, nr_taken, nr_active, nr_deactivated, nr_referenced, priority, file),
file              411 include/trace/events/vmscan.h 		__entry->reclaim_flags = trace_reclaim_flags(file);
file              427 include/trace/events/vmscan.h 		unsigned long ratio, int file),
file              429 include/trace/events/vmscan.h 	TP_ARGS(nid, reclaim_idx, total_inactive, inactive, total_active, active, ratio, file),
file              450 include/trace/events/vmscan.h 		__entry->reclaim_flags = trace_reclaim_flags(file) &
file              619 include/uapi/linux/coda.h     struct file *fh; /* not passed from userspace but used in-kernel only */
file               32 include/uapi/misc/fastrpc.h 	__u64 file;	/* pointer to elf file */
file              562 ipc/mqueue.c   static ssize_t mqueue_read_file(struct file *filp, char __user *u_data,
file              590 ipc/mqueue.c   static int mqueue_flush_file(struct file *filp, fl_owner_t id)
file              602 ipc/mqueue.c   static __poll_t mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab)
file              844 ipc/mqueue.c   		struct file *file = dentry_open(&path, oflag, current_cred());
file              845 ipc/mqueue.c   		if (!IS_ERR(file))
file              846 ipc/mqueue.c   			fd_install(fd, file);
file              848 ipc/mqueue.c   			error = PTR_ERR(file);
file             1006 ipc/mqueue.c   	if (unlikely(!f.file)) {
file             1011 ipc/mqueue.c   	inode = file_inode(f.file);
file             1012 ipc/mqueue.c   	if (unlikely(f.file->f_op != &mqueue_file_operations)) {
file             1017 ipc/mqueue.c   	audit_file(f.file);
file             1019 ipc/mqueue.c   	if (unlikely(!(f.file->f_mode & FMODE_WRITE))) {
file             1059 ipc/mqueue.c   		if (f.file->f_flags & O_NONBLOCK) {
file             1119 ipc/mqueue.c   	if (unlikely(!f.file)) {
file             1124 ipc/mqueue.c   	inode = file_inode(f.file);
file             1125 ipc/mqueue.c   	if (unlikely(f.file->f_op != &mqueue_file_operations)) {
file             1130 ipc/mqueue.c   	audit_file(f.file);
file             1132 ipc/mqueue.c   	if (unlikely(!(f.file->f_mode & FMODE_READ))) {
file             1162 ipc/mqueue.c   		if (f.file->f_flags & O_NONBLOCK) {
file             1275 ipc/mqueue.c   			if (!f.file) {
file             1279 ipc/mqueue.c   			sock = netlink_getsockbyfilp(f.file);
file             1298 ipc/mqueue.c   	if (!f.file) {
file             1303 ipc/mqueue.c   	inode = file_inode(f.file);
file             1304 ipc/mqueue.c   	if (unlikely(f.file->f_op != &mqueue_file_operations)) {
file             1378 ipc/mqueue.c   	if (!f.file)
file             1381 ipc/mqueue.c   	if (unlikely(f.file->f_op != &mqueue_file_operations)) {
file             1386 ipc/mqueue.c   	inode = file_inode(f.file);
file             1393 ipc/mqueue.c   		old->mq_flags = f.file->f_flags & O_NONBLOCK;
file             1397 ipc/mqueue.c   		spin_lock(&f.file->f_lock);
file             1399 ipc/mqueue.c   			f.file->f_flags |= O_NONBLOCK;
file             1401 ipc/mqueue.c   			f.file->f_flags &= ~O_NONBLOCK;
file             1402 ipc/mqueue.c   		spin_unlock(&f.file->f_lock);
file               55 ipc/shm.c      	struct file		*shm_file;
file               77 ipc/shm.c      	struct file *file;
file               81 ipc/shm.c      #define shm_file_data(file) (*((struct shm_file_data **)&(file)->private_data))
file              237 ipc/shm.c      	struct file *file = vma->vm_file;
file              238 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              246 ipc/shm.c      	if (shp->shm_file != sfd->file) {
file              281 ipc/shm.c      	struct file *shm_file;
file              324 ipc/shm.c      	struct file *file = vma->vm_file;
file              325 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              431 ipc/shm.c      	struct file *file = vmf->vma->vm_file;
file              432 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              439 ipc/shm.c      	struct file *file = vma->vm_file;
file              440 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              450 ipc/shm.c      	struct file *file = vma->vm_file;
file              451 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              462 ipc/shm.c      	struct file *file = vma->vm_file;
file              463 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              474 ipc/shm.c      	struct file *file = vma->vm_file;
file              475 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              487 ipc/shm.c      static int shm_mmap(struct file *file, struct vm_area_struct *vma)
file              489 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              501 ipc/shm.c      	ret = call_mmap(sfd->file, vma);
file              514 ipc/shm.c      static int shm_release(struct inode *ino, struct file *file)
file              516 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              519 ipc/shm.c      	fput(sfd->file);
file              520 ipc/shm.c      	shm_file_data(file) = NULL;
file              525 ipc/shm.c      static int shm_fsync(struct file *file, loff_t start, loff_t end, int datasync)
file              527 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              529 ipc/shm.c      	if (!sfd->file->f_op->fsync)
file              531 ipc/shm.c      	return sfd->file->f_op->fsync(sfd->file, start, end, datasync);
file              534 ipc/shm.c      static long shm_fallocate(struct file *file, int mode, loff_t offset,
file              537 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              539 ipc/shm.c      	if (!sfd->file->f_op->fallocate)
file              541 ipc/shm.c      	return sfd->file->f_op->fallocate(file, mode, offset, len);
file              544 ipc/shm.c      static unsigned long shm_get_unmapped_area(struct file *file,
file              548 ipc/shm.c      	struct shm_file_data *sfd = shm_file_data(file);
file              550 ipc/shm.c      	return sfd->file->f_op->get_unmapped_area(sfd->file, addr, len,
file              576 ipc/shm.c      bool is_file_shm_hugepages(struct file *file)
file              578 ipc/shm.c      	return file->f_op == &shm_file_operations_huge;
file              608 ipc/shm.c      	struct file *file;
file              652 ipc/shm.c      		file = hugetlb_file_setup(name, hugesize, acctflag,
file              663 ipc/shm.c      		file = shmem_kernel_file_setup(name, size, acctflag);
file              665 ipc/shm.c      	error = PTR_ERR(file);
file              666 ipc/shm.c      	if (IS_ERR(file))
file              675 ipc/shm.c      	shp->shm_file = file;
file              689 ipc/shm.c      	file_inode(file)->i_ino = shp->shm_perm.id;
file              701 ipc/shm.c      	if (is_file_hugepages(file) && shp->mlock_user)
file              703 ipc/shm.c      	fput(file);
file             1067 ipc/shm.c      	struct file *shm_file;
file             1424 ipc/shm.c      	struct file *file, *base;
file             1526 ipc/shm.c      	file = alloc_file_clone(base, f_flags,
file             1530 ipc/shm.c      	err = PTR_ERR(file);
file             1531 ipc/shm.c      	if (IS_ERR(file)) {
file             1539 ipc/shm.c      	sfd->file = base;
file             1541 ipc/shm.c      	file->private_data = sfd;
file             1543 ipc/shm.c      	err = security_mmap_file(file, prot, flags);
file             1561 ipc/shm.c      	addr = do_mmap_pgoff(file, addr, size, prot, flags, 0, &populate, NULL);
file             1572 ipc/shm.c      	fput(file);
file             1634 ipc/shm.c      	struct file *file;
file             1685 ipc/shm.c      			file = vma->vm_file;
file             1713 ipc/shm.c      		    (vma->vm_file == file))
file              863 ipc/util.c     static int sysvipc_proc_open(struct inode *inode, struct file *file)
file              867 ipc/util.c     	iter = __seq_open_private(file, &sysvipc_proc_seqops, sizeof(*iter));
file              878 ipc/util.c     static int sysvipc_proc_release(struct inode *inode, struct file *file)
file              880 ipc/util.c     	struct seq_file *seq = file->private_data;
file              884 ipc/util.c     	return seq_release_private(inode, file);
file               90 kernel/acct.c  	struct file		*file;
file              109 kernel/acct.c  	if (vfs_statfs(&acct->file->f_path, &sbuf))
file              186 kernel/acct.c  	struct file *file = acct->file;
file              187 kernel/acct.c  	if (file->f_op->flush)
file              188 kernel/acct.c  		file->f_op->flush(file, NULL);
file              189 kernel/acct.c  	__fput_sync(file);
file              195 kernel/acct.c  	struct file *file;
file              207 kernel/acct.c  	file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0);
file              208 kernel/acct.c  	if (IS_ERR(file)) {
file              210 kernel/acct.c  		return PTR_ERR(file);
file              213 kernel/acct.c  	if (!S_ISREG(file_inode(file)->i_mode)) {
file              215 kernel/acct.c  		filp_close(file, NULL);
file              219 kernel/acct.c  	if (!(file->f_mode & FMODE_CAN_WRITE)) {
file              221 kernel/acct.c  		filp_close(file, NULL);
file              224 kernel/acct.c  	internal = mnt_clone_internal(&file->f_path);
file              227 kernel/acct.c  		filp_close(file, NULL);
file              234 kernel/acct.c  		filp_close(file, NULL);
file              237 kernel/acct.c  	mnt = file->f_path.mnt;
file              238 kernel/acct.c  	file->f_path.mnt = internal;
file              242 kernel/acct.c  	acct->file = file;
file              476 kernel/acct.c  	struct file *file = acct->file;
file              484 kernel/acct.c  	orig_cred = override_creds(file->f_cred);
file              495 kernel/acct.c  	ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid);
file              496 kernel/acct.c  	ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid);
file              517 kernel/acct.c  	if (file_start_write_trylock(file)) {
file              520 kernel/acct.c  		__kernel_write(file, &ac, sizeof(acct_t), &pos);
file              521 kernel/acct.c  		file_end_write(file);
file             2093 kernel/audit.c 	struct file *exe_file;
file              543 kernel/audit_watch.c 	struct file *exe_file;
file             2042 kernel/auditsc.c void __audit_file(const struct file *file)
file             2044 kernel/auditsc.c 	__audit_inode(NULL, file->f_path.dentry, 0);
file             2456 kernel/auditsc.c 	get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps);
file              525 kernel/bpf/arraymap.c int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
file              569 kernel/bpf/arraymap.c 				   struct file *map_file, int fd)
file              642 kernel/bpf/arraymap.c static struct bpf_event_entry *bpf_event_entry_gen(struct file *perf_file,
file              643 kernel/bpf/arraymap.c 						   struct file *map_file)
file              672 kernel/bpf/arraymap.c 					 struct file *map_file, int fd)
file              676 kernel/bpf/arraymap.c 	struct file *perf_file;
file              703 kernel/bpf/arraymap.c 					struct file *map_file)
file              733 kernel/bpf/arraymap.c 				     struct file *map_file /* not used */,
file             3379 kernel/bpf/btf.c static void bpf_btf_show_fdinfo(struct seq_file *m, struct file *filp)
file             3387 kernel/bpf/btf.c static int btf_release(struct inode *inode, struct file *filp)
file             3443 kernel/bpf/btf.c 	if (!f.file)
file             3446 kernel/bpf/btf.c 	if (f.file->f_op != &btf_fops) {
file             3451 kernel/bpf/btf.c 	btf = f.file->private_data;
file             1433 kernel/bpf/hashtab.c int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
file              163 kernel/bpf/inode.c 	return file_inode(m->file)->i_private;
file              249 kernel/bpf/inode.c static int bpffs_map_open(struct inode *inode, struct file *file)
file              260 kernel/bpf/inode.c 	err = seq_open(file, &bpffs_map_seq_ops);
file              266 kernel/bpf/inode.c 	m = file->private_data;
file              272 kernel/bpf/inode.c static int bpffs_map_release(struct inode *inode, struct file *file)
file              274 kernel/bpf/inode.c 	struct seq_file *m = file->private_data;
file              278 kernel/bpf/inode.c 	return seq_release(inode, file);
file              297 kernel/bpf/inode.c static int bpffs_obj_open(struct inode *inode, struct file *file)
file               89 kernel/bpf/map_in_map.c 			 struct file *map_file /* not used */,
file                9 kernel/bpf/map_in_map.h struct file;
file               16 kernel/bpf/map_in_map.h void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
file              329 kernel/bpf/reuseport_array.c 	fput(socket->file);
file              348 kernel/bpf/syscall.c static int bpf_map_release(struct inode *inode, struct file *filp)
file              361 kernel/bpf/syscall.c 	fmode_t mode = f.file->f_mode;
file              372 kernel/bpf/syscall.c static void bpf_map_show_fdinfo(struct seq_file *m, struct file *filp)
file              412 kernel/bpf/syscall.c static ssize_t bpf_dummy_read(struct file *filp, char __user *buf, size_t siz,
file              421 kernel/bpf/syscall.c static ssize_t bpf_dummy_write(struct file *filp, const char __user *buf,
file              648 kernel/bpf/syscall.c 	if (!f.file)
file              650 kernel/bpf/syscall.c 	if (f.file->f_op != &bpf_map_fops) {
file              655 kernel/bpf/syscall.c 	return f.file->private_data;
file              952 kernel/bpf/syscall.c 		err = bpf_fd_array_map_update_elem(map, f.file, key, value,
file              957 kernel/bpf/syscall.c 		err = bpf_fd_htab_map_update_elem(map, f.file, key, value,
file             1369 kernel/bpf/syscall.c static int bpf_prog_release(struct inode *inode, struct file *filp)
file             1402 kernel/bpf/syscall.c static void bpf_prog_show_fdinfo(struct seq_file *m, struct file *filp)
file             1451 kernel/bpf/syscall.c 	if (!f.file)
file             1453 kernel/bpf/syscall.c 	if (f.file->f_op != &bpf_prog_fops) {
file             1458 kernel/bpf/syscall.c 	return f.file->private_data;
file             1797 kernel/bpf/syscall.c static int bpf_raw_tracepoint_release(struct inode *inode, struct file *filp)
file             2671 kernel/bpf/syscall.c 	if (!f.file)
file             2674 kernel/bpf/syscall.c 	if (f.file->f_op == &bpf_prog_fops)
file             2675 kernel/bpf/syscall.c 		err = bpf_prog_get_info_by_fd(f.file->private_data, attr,
file             2677 kernel/bpf/syscall.c 	else if (f.file->f_op == &bpf_map_fops)
file             2678 kernel/bpf/syscall.c 		err = bpf_map_get_info_by_fd(f.file->private_data, attr,
file             2680 kernel/bpf/syscall.c 	else if (f.file->f_op == &btf_fops)
file             2681 kernel/bpf/syscall.c 		err = bpf_btf_get_info_by_fd(f.file->private_data, attr, uattr);
file             2772 kernel/bpf/syscall.c 	struct file *file;
file             2795 kernel/bpf/syscall.c 	file = fcheck_files(files, fd);
file             2796 kernel/bpf/syscall.c 	if (!file)
file             2799 kernel/bpf/syscall.c 		get_file(file);
file             2806 kernel/bpf/syscall.c 	if (file->f_op == &bpf_raw_tp_fops) {
file             2807 kernel/bpf/syscall.c 		struct bpf_raw_tracepoint *raw_tp = file->private_data;
file             2817 kernel/bpf/syscall.c 	event = perf_get_event(file);
file             2836 kernel/bpf/syscall.c 	fput(file);
file               16 kernel/bpf/sysfs_btf.c btf_vmlinux_read(struct file *file, struct kobject *kobj,
file              466 kernel/capability.c bool file_ns_capable(const struct file *file, struct user_namespace *ns,
file              473 kernel/capability.c 	if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0)
file             3675 kernel/cgroup/cgroup.c 	return psi_trigger_poll(&of->priv, of->file, pt);
file             4788 kernel/cgroup/cgroup.c 					    of->file->f_path.dentry->d_sb);
file             4832 kernel/cgroup/cgroup.c 					    of->file->f_path.dentry->d_sb);
file             6292 kernel/cgroup/cgroup.c 	struct file *f;
file               41 kernel/configs.c ikconfig_read_current(struct file *file, char __user *buf,
file              838 kernel/cred.c  void __invalid_creds(const struct cred *cred, const char *file, unsigned line)
file              841 kernel/cred.c  	printk(KERN_ERR "CRED: At %s:%u\n", file, line);
file              851 kernel/cred.c  			      const char *file, unsigned line)
file              868 kernel/cred.c  	printk(KERN_ERR "CRED: At %s:%u\n", file, line);
file              730 kernel/dma/debug.c static ssize_t filter_read(struct file *file, char __user *user_buf,
file              752 kernel/dma/debug.c static ssize_t filter_write(struct file *file, const char __user *userbuf,
file              908 kernel/events/core.c 	if (!f.file)
file              911 kernel/events/core.c 	css = css_tryget_online_from_dir(f.file->f_path.dentry,
file             4789 kernel/events/core.c static int perf_release(struct inode *inode, struct file *file)
file             4791 kernel/events/core.c 	perf_event_release_kernel(file->private_data);
file             4994 kernel/events/core.c perf_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file             4996 kernel/events/core.c 	struct perf_event *event = file->private_data;
file             5007 kernel/events/core.c static __poll_t perf_poll(struct file *file, poll_table *wait)
file             5009 kernel/events/core.c 	struct perf_event *event = file->private_data;
file             5013 kernel/events/core.c 	poll_wait(file, &event->waitq, wait);
file             5146 kernel/events/core.c 	if (!f.file)
file             5149 kernel/events/core.c 	if (f.file->f_op != &perf_fops) {
file             5204 kernel/events/core.c 			output_event = output.file->private_data;
file             5258 kernel/events/core.c static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             5260 kernel/events/core.c 	struct perf_event *event = file->private_data;
file             5272 kernel/events/core.c static long perf_compat_ioctl(struct file *file, unsigned int cmd,
file             5287 kernel/events/core.c 	return perf_ioctl(file, cmd, arg);
file             5704 kernel/events/core.c static int perf_mmap(struct file *file, struct vm_area_struct *vma)
file             5706 kernel/events/core.c 	struct perf_event *event = file->private_data;
file             5921 kernel/events/core.c static int perf_fasync(int fd, struct file *filp, int on)
file             7444 kernel/events/core.c 	struct file *file = vma->vm_file;
file             7474 kernel/events/core.c 	if (file) {
file             7488 kernel/events/core.c 		name = file_path(file, buf, PATH_MAX - sizeof(u64));
file             7565 kernel/events/core.c 				     struct file *file, unsigned long offset,
file             7572 kernel/events/core.c 	if (d_inode(filter->path.dentry) != file_inode(file))
file             7590 kernel/events/core.c 	struct file *file = vma->vm_file;
file             7592 kernel/events/core.c 	if (!perf_addr_filter_match(filter, file, off, vma_size))
file             10907 kernel/events/core.c 	struct file *event_file = NULL;
file             10975 kernel/events/core.c 		group_leader = group.file->private_data;
file             11752 kernel/events/core.c struct file *perf_event_get(unsigned int fd)
file             11754 kernel/events/core.c 	struct file *file = fget(fd);
file             11755 kernel/events/core.c 	if (!file)
file             11758 kernel/events/core.c 	if (file->f_op != &perf_fops) {
file             11759 kernel/events/core.c 		fput(file);
file             11763 kernel/events/core.c 	return file;
file             11766 kernel/events/core.c const struct perf_event *perf_get_event(struct file *file)
file             11768 kernel/events/core.c 	if (file->f_op != &perf_fops)
file             11771 kernel/events/core.c 	return file->private_data;
file              797 kernel/events/uprobes.c static int __copy_insn(struct address_space *mapping, struct file *filp,
file              819 kernel/events/uprobes.c static int copy_insn(struct uprobe *uprobe, struct file *filp)
file              845 kernel/events/uprobes.c static int prepare_uprobe(struct uprobe *uprobe, struct file *file,
file              858 kernel/events/uprobes.c 	ret = copy_insn(uprobe, file);
file             1479 kernel/exit.c  	if (!f.file)
file             1482 kernel/exit.c  	pid = pidfd_pid(f.file);
file              217 kernel/fail_function.c static int fei_open(struct inode *inode, struct file *file)
file              219 kernel/fail_function.c 	return seq_open(file, &fei_seq_ops);
file              239 kernel/fail_function.c static ssize_t fei_write(struct file *file, const char __user *buffer,
file              519 kernel/fork.c  		struct file *file;
file              560 kernel/fork.c  		file = tmp->vm_file;
file              561 kernel/fork.c  		if (file) {
file              562 kernel/fork.c  			struct inode *inode = file_inode(file);
file              563 kernel/fork.c  			struct address_space *mapping = file->f_mapping;
file              565 kernel/fork.c  			get_file(file);
file             1133 kernel/fork.c  void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file)
file             1135 kernel/fork.c  	struct file *old_exe_file;
file             1157 kernel/fork.c  struct file *get_mm_exe_file(struct mm_struct *mm)
file             1159 kernel/fork.c  	struct file *exe_file;
file             1177 kernel/fork.c  struct file *get_task_exe_file(struct task_struct *task)
file             1179 kernel/fork.c  	struct file *exe_file = NULL;
file             1676 kernel/fork.c  struct pid *pidfd_pid(const struct file *file)
file             1678 kernel/fork.c  	if (file->f_op == &pidfd_fops)
file             1679 kernel/fork.c  		return file->private_data;
file             1684 kernel/fork.c  static int pidfd_release(struct inode *inode, struct file *file)
file             1686 kernel/fork.c  	struct pid *pid = file->private_data;
file             1688 kernel/fork.c  	file->private_data = NULL;
file             1694 kernel/fork.c  static void pidfd_show_fdinfo(struct seq_file *m, struct file *f)
file             1696 kernel/fork.c  	struct pid_namespace *ns = proc_pid_ns(file_inode(m->file));
file             1707 kernel/fork.c  static __poll_t pidfd_poll(struct file *file, struct poll_table_struct *pts)
file             1710 kernel/fork.c  	struct pid *pid = file->private_data;
file             1713 kernel/fork.c  	poll_wait(file, &pid->wait_pidfd, pts);
file             1769 kernel/fork.c  	struct file *pidfile = NULL;
file              178 kernel/gcov/fs.c static int gcov_seq_open(struct inode *inode, struct file *file)
file              198 kernel/gcov/fs.c 	rc = seq_open(file, &gcov_seq_ops);
file              201 kernel/gcov/fs.c 	seq = file->private_data;
file              218 kernel/gcov/fs.c static int gcov_seq_release(struct inode *inode, struct file *file)
file              224 kernel/gcov/fs.c 	seq = file->private_data;
file              229 kernel/gcov/fs.c 	seq_release(inode, file);
file              272 kernel/gcov/fs.c static ssize_t gcov_seq_write(struct file *file, const char __user *addr,
file              279 kernel/gcov/fs.c 	seq = file->private_data;
file              525 kernel/gcov/fs.c static ssize_t reset_write(struct file *file, const char __user *addr,
file              547 kernel/gcov/fs.c static ssize_t reset_read(struct file *file, char __user *addr, size_t len,
file              176 kernel/irq/debugfs.c static int irq_debug_open(struct inode *inode, struct file *file)
file              178 kernel/irq/debugfs.c 	return single_open(file, irq_debug_show, inode->i_private);
file              181 kernel/irq/debugfs.c static ssize_t irq_debug_write(struct file *file, const char __user *user_buf,
file              184 kernel/irq/debugfs.c 	struct irq_desc *desc = file_inode(file)->i_private;
file              137 kernel/irq/proc.c static ssize_t write_irq_affinity(int type, struct file *file,
file              140 kernel/irq/proc.c 	unsigned int irq = (int)(long)PDE_DATA(file_inode(file));
file              179 kernel/irq/proc.c static ssize_t irq_affinity_proc_write(struct file *file,
file              182 kernel/irq/proc.c 	return write_irq_affinity(0, file, buffer, count, pos);
file              185 kernel/irq/proc.c static ssize_t irq_affinity_list_proc_write(struct file *file,
file              188 kernel/irq/proc.c 	return write_irq_affinity(1, file, buffer, count, pos);
file              191 kernel/irq/proc.c static int irq_affinity_proc_open(struct inode *inode, struct file *file)
file              193 kernel/irq/proc.c 	return single_open(file, irq_affinity_proc_show, PDE_DATA(inode));
file              196 kernel/irq/proc.c static int irq_affinity_list_proc_open(struct inode *inode, struct file *file)
file              198 kernel/irq/proc.c 	return single_open(file, irq_affinity_list_proc_show, PDE_DATA(inode));
file              235 kernel/irq/proc.c static ssize_t default_affinity_write(struct file *file,
file              266 kernel/irq/proc.c static int default_affinity_open(struct inode *inode, struct file *file)
file              268 kernel/irq/proc.c 	return single_open(file, default_affinity_show, PDE_DATA(inode));
file              664 kernel/kallsyms.c static int kallsyms_open(struct inode *inode, struct file *file)
file              672 kernel/kallsyms.c 	iter = __seq_open_private(file, &kallsyms_op, sizeof(*iter));
file               61 kernel/kcmp.c  static struct file *
file               64 kernel/kcmp.c  	struct file *file = NULL;
file               70 kernel/kcmp.c  		file = fcheck_files(task->files, idx);
file               75 kernel/kcmp.c  	return file;
file              108 kernel/kcmp.c  	struct file *filp, *filp_epoll, *filp_tgt;
file              188 kernel/kcmp.c  		struct file *filp1, *filp2;
file              272 kernel/kcov.c  static int kcov_mmap(struct file *filep, struct vm_area_struct *vma)
file              308 kernel/kcov.c  static int kcov_open(struct inode *inode, struct file *filep)
file              322 kernel/kcov.c  static int kcov_close(struct inode *inode, struct file *filep)
file              421 kernel/kcov.c  static long kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
file               33 kernel/kheaders.c ikheaders_read(struct file *file,  struct kobject *kobj,
file             2408 kernel/kprobes.c static int kprobes_open(struct inode *inode, struct file *filp)
file             2456 kernel/kprobes.c static int kprobe_blacklist_open(struct inode *inode, struct file *filp)
file             2565 kernel/kprobes.c static ssize_t read_enabled_file_bool(struct file *file,
file             2579 kernel/kprobes.c static ssize_t write_enabled_file_bool(struct file *file,
file              192 kernel/ksysfs.c static ssize_t notes_read(struct file *filp, struct kobject *kobj,
file              245 kernel/latencytop.c lstats_write(struct file *file, const char __user *buf, size_t count,
file              253 kernel/latencytop.c static int lstats_open(struct inode *inode, struct file *filp)
file               61 kernel/locking/lock_events.c ssize_t __weak lockevent_read(struct file *file, char __user *user_buf,
file               71 kernel/locking/lock_events.c 	id = (long)file_inode(file)->i_private;
file               88 kernel/locking/lock_events.c static ssize_t lockevent_write(struct file *file, const char __user *user_buf,
file               96 kernel/locking/lock_events.c 	if ((long)file_inode(file)->i_private != LOCKEVENT_reset_cnts)
file             5398 kernel/locking/lockdep.c void lockdep_rcu_suspicious(const char *file, const int line, const char *s)
file             5408 kernel/locking/lockdep.c 	pr_warn("%s:%d %s!\n", file, line, s);
file              587 kernel/locking/lockdep_proc.c static int lock_stat_open(struct inode *inode, struct file *file)
file              596 kernel/locking/lockdep_proc.c 	res = seq_open(file, &lockstat_ops);
file              599 kernel/locking/lockdep_proc.c 		struct seq_file *m = file->private_data;
file              619 kernel/locking/lockdep_proc.c static ssize_t lock_stat_write(struct file *file, const char __user *buf,
file              638 kernel/locking/lockdep_proc.c static int lock_stat_release(struct inode *inode, struct file *file)
file              640 kernel/locking/lockdep_proc.c 	struct seq_file *seq = file->private_data;
file              643 kernel/locking/lockdep_proc.c 	return seq_release(inode, file);
file               36 kernel/locking/qspinlock_stat.h ssize_t lockevent_read(struct file *file, char __user *user_buf,
file               46 kernel/locking/qspinlock_stat.h 	id = (long)file_inode(file)->i_private;
file               50 kernel/locking/rtmutex-debug.c 			lock, lock->file, lock->line);
file             1614 kernel/module.c static ssize_t module_notes_read(struct file *filp, struct kobject *kobj,
file             4388 kernel/module.c static int modules_open(struct inode *inode, struct file *file)
file             4390 kernel/module.c 	int err = seq_open(file, &modules_op);
file             4393 kernel/module.c 		struct seq_file *m = file->private_data;
file              237 kernel/nsproxy.c 	struct file *file;
file              241 kernel/nsproxy.c 	file = proc_ns_fget(fd);
file              242 kernel/nsproxy.c 	if (IS_ERR(file))
file              243 kernel/nsproxy.c 		return PTR_ERR(file);
file              246 kernel/nsproxy.c 	ns = get_proc_ns(file_inode(file));
file              265 kernel/nsproxy.c 	fput(file);
file              558 kernel/panic.c void __warn(const char *file, int line, void *caller, unsigned taint,
file              563 kernel/panic.c 	if (file)
file              565 kernel/panic.c 			raw_smp_processor_id(), current->pid, file, line,
file              601 kernel/panic.c void warn_slowpath_fmt(const char *file, int line, unsigned taint,
file              609 kernel/panic.c 		__warn(file, line, __builtin_return_address(0), taint,
file              616 kernel/panic.c 	__warn(file, line, __builtin_return_address(0), taint, NULL, &args);
file               86 kernel/power/qos.c static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
file               88 kernel/power/qos.c static ssize_t pm_qos_power_read(struct file *filp, char __user *buf,
file               90 kernel/power/qos.c static int pm_qos_power_open(struct inode *inode, struct file *filp);
file               91 kernel/power/qos.c static int pm_qos_power_release(struct inode *inode, struct file *filp);
file              557 kernel/power/qos.c static int pm_qos_power_open(struct inode *inode, struct file *filp)
file              575 kernel/power/qos.c static int pm_qos_power_release(struct inode *inode, struct file *filp)
file              587 kernel/power/qos.c static ssize_t pm_qos_power_read(struct file *filp, char __user *buf,
file              606 kernel/power/qos.c static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
file               44 kernel/power/user.c static int snapshot_open(struct inode *inode, struct file *filp)
file              109 kernel/power/user.c static int snapshot_release(struct inode *inode, struct file *filp)
file              134 kernel/power/user.c static ssize_t snapshot_read(struct file *filp, char __user *buf,
file              167 kernel/power/user.c static ssize_t snapshot_write(struct file *filp, const char __user *buf,
file              201 kernel/power/user.c static long snapshot_ioctl(struct file *filp, unsigned int cmd,
file              405 kernel/power/user.c snapshot_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              420 kernel/power/user.c 		err = snapshot_ioctl(file, cmd, (unsigned long) &offset);
file              428 kernel/power/user.c 		return snapshot_ioctl(file, cmd,
file              444 kernel/power/user.c 		err = snapshot_ioctl(file, SNAPSHOT_SET_SWAP_AREA,
file              451 kernel/power/user.c 		return snapshot_ioctl(file, cmd, arg);
file              822 kernel/printk/printk.c 	struct file *file = iocb->ki_filp;
file              823 kernel/printk/printk.c 	struct devkmsg_user *user = file->private_data;
file              880 kernel/printk/printk.c static ssize_t devkmsg_read(struct file *file, char __user *buf,
file              883 kernel/printk/printk.c 	struct devkmsg_user *user = file->private_data;
file              897 kernel/printk/printk.c 		if (file->f_flags & O_NONBLOCK) {
file              946 kernel/printk/printk.c static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence)
file              948 kernel/printk/printk.c 	struct devkmsg_user *user = file->private_data;
file              984 kernel/printk/printk.c static __poll_t devkmsg_poll(struct file *file, poll_table *wait)
file              986 kernel/printk/printk.c 	struct devkmsg_user *user = file->private_data;
file              992 kernel/printk/printk.c 	poll_wait(file, &log_wait, wait);
file             1007 kernel/printk/printk.c static int devkmsg_open(struct inode *inode, struct file *file)
file             1016 kernel/printk/printk.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
file             1037 kernel/printk/printk.c 	file->private_data = user;
file             1041 kernel/printk/printk.c static int devkmsg_release(struct inode *inode, struct file *file)
file             1043 kernel/printk/printk.c 	struct devkmsg_user *user = file->private_data;
file              422 kernel/profile.c static int prof_cpu_mask_proc_open(struct inode *inode, struct file *file)
file              424 kernel/profile.c 	return single_open(file, prof_cpu_mask_proc_show, NULL);
file              427 kernel/profile.c static ssize_t prof_cpu_mask_proc_write(struct file *file,
file              466 kernel/profile.c read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              499 kernel/profile.c static ssize_t write_profile(struct file *file, const char __user *buf,
file               99 kernel/relay.c 	struct file *filp = vma->vm_file;
file              289 kernel/relay.c 					struct file *filp)
file              297 kernel/relay.c 					  struct file *filp)
file              900 kernel/relay.c static int relay_file_open(struct inode *inode, struct file *filp)
file              916 kernel/relay.c static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
file              929 kernel/relay.c static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
file              954 kernel/relay.c static int relay_file_release(struct inode *inode, struct file *filp)
file             1122 kernel/relay.c static ssize_t relay_file_read(struct file *filp,
file             1198 kernel/relay.c static ssize_t subbuf_splice_actor(struct file *in,
file             1290 kernel/relay.c static ssize_t relay_file_splice_read(struct file *in,
file               91 kernel/resource.c 	struct resource *p = PDE_DATA(file_inode(m->file));
file              107 kernel/resource.c 	struct resource *root = PDE_DATA(file_inode(m->file));
file              117 kernel/resource.c 	if (file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN)) {
file             6728 kernel/sched/core.c void __might_sleep(const char *file, int line, int preempt_offset)
file             6742 kernel/sched/core.c 	___might_sleep(file, line, preempt_offset);
file             6746 kernel/sched/core.c void ___might_sleep(const char *file, int line, int preempt_offset)
file             6771 kernel/sched/core.c 			file, line);
file             6794 kernel/sched/core.c void __cant_sleep(const char *file, int line, int preempt_offset)
file             6811 kernel/sched/core.c 	printk(KERN_ERR "BUG: assuming atomic context at %s:%d\n", file, line);
file              127 kernel/sched/debug.c sched_feat_write(struct file *filp, const char __user *ubuf,
file              159 kernel/sched/debug.c static int sched_feat_open(struct inode *inode, struct file *filp)
file              766 kernel/sched/debug.c static void *sched_debug_start(struct seq_file *file, loff_t *offset)
file              788 kernel/sched/debug.c static void *sched_debug_next(struct seq_file *file, void *data, loff_t *offset)
file              791 kernel/sched/debug.c 	return sched_debug_start(file, offset);
file              794 kernel/sched/debug.c static void sched_debug_stop(struct seq_file *file, void *data)
file              992 kernel/sched/psi.c static int psi_io_open(struct inode *inode, struct file *file)
file              994 kernel/sched/psi.c 	return single_open(file, psi_io_show, NULL);
file              997 kernel/sched/psi.c static int psi_memory_open(struct inode *inode, struct file *file)
file              999 kernel/sched/psi.c 	return single_open(file, psi_memory_show, NULL);
file             1002 kernel/sched/psi.c static int psi_cpu_open(struct inode *inode, struct file *file)
file             1004 kernel/sched/psi.c 	return single_open(file, psi_cpu_show, NULL);
file             1162 kernel/sched/psi.c 				struct file *file, poll_table *wait)
file             1181 kernel/sched/psi.c 	poll_wait(file, &t->event_wait, wait);
file             1191 kernel/sched/psi.c static ssize_t psi_write(struct file *file, const char __user *user_buf,
file             1215 kernel/sched/psi.c 	seq = file->private_data;
file             1224 kernel/sched/psi.c static ssize_t psi_io_write(struct file *file, const char __user *user_buf,
file             1227 kernel/sched/psi.c 	return psi_write(file, user_buf, nbytes, PSI_IO);
file             1230 kernel/sched/psi.c static ssize_t psi_memory_write(struct file *file, const char __user *user_buf,
file             1233 kernel/sched/psi.c 	return psi_write(file, user_buf, nbytes, PSI_MEM);
file             1236 kernel/sched/psi.c static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf,
file             1239 kernel/sched/psi.c 	return psi_write(file, user_buf, nbytes, PSI_CPU);
file             1242 kernel/sched/psi.c static __poll_t psi_fop_poll(struct file *file, poll_table *wait)
file             1244 kernel/sched/psi.c 	struct seq_file *seq = file->private_data;
file             1246 kernel/sched/psi.c 	return psi_trigger_poll(&seq->private, file, wait);
file             1249 kernel/sched/psi.c static int psi_fop_release(struct inode *inode, struct file *file)
file             1251 kernel/sched/psi.c 	struct seq_file *seq = file->private_data;
file             1254 kernel/sched/psi.c 	return single_release(inode, file);
file               83 kernel/sched/stats.c static void *schedstat_start(struct seq_file *file, loff_t *offset)
file              105 kernel/sched/stats.c static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset)
file              109 kernel/sched/stats.c 	return schedstat_start(file, offset);
file              112 kernel/sched/stats.c static void schedstat_stop(struct seq_file *file, void *data)
file              979 kernel/seccomp.c static int seccomp_notify_release(struct inode *inode, struct file *file)
file              981 kernel/seccomp.c 	struct seccomp_filter *filter = file->private_data;
file             1160 kernel/seccomp.c static long seccomp_notify_ioctl(struct file *file, unsigned int cmd,
file             1163 kernel/seccomp.c 	struct seccomp_filter *filter = file->private_data;
file             1178 kernel/seccomp.c static __poll_t seccomp_notify_poll(struct file *file,
file             1181 kernel/seccomp.c 	struct seccomp_filter *filter = file->private_data;
file             1185 kernel/seccomp.c 	poll_wait(file, &filter->notif->wqh, poll_tab);
file             1211 kernel/seccomp.c static struct file *init_listener(struct seccomp_filter *filter)
file             1213 kernel/seccomp.c 	struct file *ret = ERR_PTR(-EBUSY);
file             1266 kernel/seccomp.c 	struct file *listener_f = NULL;
file             3688 kernel/signal.c static struct pid *pidfd_to_pid(const struct file *file)
file             3692 kernel/signal.c 	pid = pidfd_pid(file);
file             3696 kernel/signal.c 	return tgid_pidfd_to_pid(file);
file             3730 kernel/signal.c 	if (!f.file)
file             3734 kernel/signal.c 	pid = pidfd_to_pid(f.file);
file             1815 kernel/sys.c   	struct file *old_exe, *exe_file;
file             1820 kernel/sys.c   	if (!exe.file)
file             1823 kernel/sys.c   	inode = file_inode(exe.file);
file             1831 kernel/sys.c   	if (!S_ISREG(inode->i_mode) || path_noexec(&exe.file->f_path))
file             1861 kernel/sys.c   	get_file(exe.file);
file             1862 kernel/sys.c   	old_exe = xchg(&mm->exe_file, exe.file);
file               24 kernel/sysctl_binary.c typedef ssize_t bin_convert_t(struct file *file,
file              906 kernel/sysctl_binary.c static ssize_t bin_dir(struct file *file,
file              913 kernel/sysctl_binary.c static ssize_t bin_string(struct file *file,
file              923 kernel/sysctl_binary.c 		result = vfs_read(file, oldval, oldlen, &pos);
file              946 kernel/sysctl_binary.c 		result = vfs_write(file, newval, newlen, &pos);
file              956 kernel/sysctl_binary.c static ssize_t bin_intvec(struct file *file,
file              975 kernel/sysctl_binary.c 		result = kernel_read(file, buffer, BUFSZ - 1, &pos);
file             1018 kernel/sysctl_binary.c 		result = kernel_write(file, buffer, str - buffer, &pos);
file             1029 kernel/sysctl_binary.c static ssize_t bin_ulongvec(struct file *file,
file             1048 kernel/sysctl_binary.c 		result = kernel_read(file, buffer, BUFSZ - 1, &pos);
file             1091 kernel/sysctl_binary.c 		result = kernel_write(file, buffer, str - buffer, &pos);
file             1102 kernel/sysctl_binary.c static ssize_t bin_uuid(struct file *file,
file             1113 kernel/sysctl_binary.c 		result = kernel_read(file, buf, sizeof(buf) - 1, &pos);
file             1137 kernel/sysctl_binary.c static ssize_t bin_dn_node_address(struct file *file,
file             1148 kernel/sysctl_binary.c 		result = kernel_read(file, buf, sizeof(buf) - 1, &pos);
file             1195 kernel/sysctl_binary.c 		result = kernel_write(file, buf, len, &pos);
file             1283 kernel/sysctl_binary.c 	struct file *file;
file             1306 kernel/sysctl_binary.c 	file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0);
file             1307 kernel/sysctl_binary.c 	result = PTR_ERR(file);
file             1308 kernel/sysctl_binary.c 	if (IS_ERR(file))
file             1311 kernel/sysctl_binary.c 	result = table->convert(file, oldval, oldlen, newval, newlen);
file             1313 kernel/sysctl_binary.c 	fput(file);
file              405 kernel/taskstats.c 	if (!f.file)
file              426 kernel/taskstats.c 	rc = cgroupstats_build(stats, f.file->f_path.dentry);
file               20 kernel/time/posix-clock.c static struct posix_clock *get_posix_clock(struct file *fp)
file               39 kernel/time/posix-clock.c static ssize_t posix_clock_read(struct file *fp, char __user *buf,
file               56 kernel/time/posix-clock.c static __poll_t posix_clock_poll(struct file *fp, poll_table *wait)
file               72 kernel/time/posix-clock.c static long posix_clock_ioctl(struct file *fp,
file               90 kernel/time/posix-clock.c static long posix_clock_compat_ioctl(struct file *fp,
file              108 kernel/time/posix-clock.c static int posix_clock_open(struct inode *inode, struct file *fp)
file              134 kernel/time/posix-clock.c static int posix_clock_release(struct inode *inode, struct file *fp)
file              195 kernel/time/posix-clock.c 	struct file *fp;
file              201 kernel/time/posix-clock.c 	struct file *fp = fget(clockid_to_fd(id));
file               95 kernel/time/test_udelay.c static int udelay_test_open(struct inode *inode, struct file *file)
file               97 kernel/time/test_udelay.c 	return single_open(file, udelay_test_show, inode->i_private);
file              100 kernel/time/test_udelay.c static ssize_t udelay_test_write(struct file *file, const char __user *buf,
file              340 kernel/time/timer_list.c static void *timer_list_start(struct seq_file *file, loff_t *offset)
file              342 kernel/time/timer_list.c 	struct timer_list_iter *iter = file->private;
file              351 kernel/time/timer_list.c static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset)
file              353 kernel/time/timer_list.c 	struct timer_list_iter *iter = file->private;
file              370 kernel/trace/blktrace.c static ssize_t blk_dropped_read(struct file *filp, char __user *buffer,
file              388 kernel/trace/blktrace.c static ssize_t blk_msg_write(struct file *filp, const char __user *buffer,
file              889 kernel/trace/ftrace.c ftrace_profile_write(struct file *filp, const char __user *ubuf,
file              934 kernel/trace/ftrace.c ftrace_profile_read(struct file *filp, char __user *ubuf,
file             3487 kernel/trace/ftrace.c ftrace_avail_open(struct inode *inode, struct file *file)
file             3499 kernel/trace/ftrace.c 	iter = __seq_open_private(file, &show_ftrace_seq_ops, sizeof(*iter));
file             3510 kernel/trace/ftrace.c ftrace_enabled_open(struct inode *inode, struct file *file)
file             3523 kernel/trace/ftrace.c 	iter = __seq_open_private(file, &show_ftrace_seq_ops, sizeof(*iter));
file             3552 kernel/trace/ftrace.c 		  struct inode *inode, struct file *file)
file             3591 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_WRITE) {
file             3594 kernel/trace/ftrace.c 		if (file->f_flags & O_TRUNC) {
file             3610 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             3613 kernel/trace/ftrace.c 		ret = seq_open(file, &show_ftrace_seq_ops);
file             3615 kernel/trace/ftrace.c 			struct seq_file *m = file->private_data;
file             3623 kernel/trace/ftrace.c 		file->private_data = iter;
file             3639 kernel/trace/ftrace.c ftrace_filter_open(struct inode *inode, struct file *file)
file             3646 kernel/trace/ftrace.c 			inode, file);
file             3650 kernel/trace/ftrace.c ftrace_notrace_open(struct inode *inode, struct file *file)
file             3656 kernel/trace/ftrace.c 				 inode, file);
file             4676 kernel/trace/ftrace.c ftrace_regex_write(struct file *file, const char __user *ubuf,
file             4686 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             4687 kernel/trace/ftrace.c 		struct seq_file *m = file->private_data;
file             4690 kernel/trace/ftrace.c 		iter = file->private_data;
file             4715 kernel/trace/ftrace.c ftrace_filter_write(struct file *file, const char __user *ubuf,
file             4718 kernel/trace/ftrace.c 	return ftrace_regex_write(file, ubuf, cnt, ppos, 1);
file             4722 kernel/trace/ftrace.c ftrace_notrace_write(struct file *file, const char __user *ubuf,
file             4725 kernel/trace/ftrace.c 	return ftrace_regex_write(file, ubuf, cnt, ppos, 0);
file             5019 kernel/trace/ftrace.c int ftrace_regex_release(struct inode *inode, struct file *file)
file             5021 kernel/trace/ftrace.c 	struct seq_file *m = (struct seq_file *)file->private_data;
file             5028 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             5030 kernel/trace/ftrace.c 		seq_release(inode, file);
file             5032 kernel/trace/ftrace.c 		iter = file->private_data;
file             5043 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_WRITE) {
file             5220 kernel/trace/ftrace.c __ftrace_graph_open(struct inode *inode, struct file *file,
file             5230 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_WRITE) {
file             5236 kernel/trace/ftrace.c 		if (file->f_flags & O_TRUNC)
file             5247 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             5248 kernel/trace/ftrace.c 		ret = seq_open(file, &ftrace_graph_seq_ops);
file             5250 kernel/trace/ftrace.c 			struct seq_file *m = file->private_data;
file             5258 kernel/trace/ftrace.c 		file->private_data = fgd;
file             5261 kernel/trace/ftrace.c 	if (ret < 0 && file->f_mode & FMODE_WRITE)
file             5277 kernel/trace/ftrace.c ftrace_graph_open(struct inode *inode, struct file *file)
file             5296 kernel/trace/ftrace.c 	ret = __ftrace_graph_open(inode, file, fgd);
file             5305 kernel/trace/ftrace.c ftrace_graph_notrace_open(struct inode *inode, struct file *file)
file             5324 kernel/trace/ftrace.c 	ret = __ftrace_graph_open(inode, file, fgd);
file             5333 kernel/trace/ftrace.c ftrace_graph_release(struct inode *inode, struct file *file)
file             5340 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             5341 kernel/trace/ftrace.c 		struct seq_file *m = file->private_data;
file             5344 kernel/trace/ftrace.c 		seq_release(inode, file);
file             5346 kernel/trace/ftrace.c 		fgd = file->private_data;
file             5350 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_WRITE) {
file             5457 kernel/trace/ftrace.c ftrace_graph_write(struct file *file, const char __user *ubuf,
file             5461 kernel/trace/ftrace.c 	struct ftrace_graph_data *fgd = file->private_data;
file             5468 kernel/trace/ftrace.c 	if (file->f_mode & FMODE_READ) {
file             5469 kernel/trace/ftrace.c 		struct seq_file *m = file->private_data;
file             6572 kernel/trace/ftrace.c ftrace_pid_open(struct inode *inode, struct file *file)
file             6582 kernel/trace/ftrace.c 	if ((file->f_mode & FMODE_WRITE) &&
file             6583 kernel/trace/ftrace.c 	    (file->f_flags & O_TRUNC))
file             6586 kernel/trace/ftrace.c 	ret = seq_open(file, &ftrace_pid_sops);
file             6590 kernel/trace/ftrace.c 		m = file->private_data;
file             6615 kernel/trace/ftrace.c ftrace_pid_write(struct file *filp, const char __user *ubuf,
file             6665 kernel/trace/ftrace.c ftrace_pid_release(struct inode *inode, struct file *file)
file             6671 kernel/trace/ftrace.c 	return seq_release(inode, file);
file              688 kernel/trace/ring_buffer.c 			  struct file *filp, poll_table *poll_table)
file             4071 kernel/trace/trace.c __tracing_open(struct inode *inode, struct file *file, bool snapshot)
file             4080 kernel/trace/trace.c 	iter = __seq_open_private(file, &tracer_seq_ops, sizeof(*iter));
file             4163 kernel/trace/trace.c 	seq_release_private(inode, file);
file             4167 kernel/trace/trace.c int tracing_open_generic(struct inode *inode, struct file *filp)
file             4188 kernel/trace/trace.c int tracing_open_generic_tr(struct inode *inode, struct file *filp)
file             4202 kernel/trace/trace.c static int tracing_release(struct inode *inode, struct file *file)
file             4205 kernel/trace/trace.c 	struct seq_file *m = file->private_data;
file             4209 kernel/trace/trace.c 	if (!(file->f_mode & FMODE_READ)) {
file             4238 kernel/trace/trace.c 	seq_release_private(inode, file);
file             4243 kernel/trace/trace.c static int tracing_release_generic_tr(struct inode *inode, struct file *file)
file             4251 kernel/trace/trace.c static int tracing_single_release_tr(struct inode *inode, struct file *file)
file             4257 kernel/trace/trace.c 	return single_release(inode, file);
file             4260 kernel/trace/trace.c static int tracing_open(struct inode *inode, struct file *file)
file             4271 kernel/trace/trace.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
file             4286 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ) {
file             4287 kernel/trace/trace.c 		iter = __tracing_open(inode, file, false);
file             4378 kernel/trace/trace.c static int show_traces_open(struct inode *inode, struct file *file)
file             4388 kernel/trace/trace.c 	ret = seq_open(file, &show_traces_seq_ops);
file             4394 kernel/trace/trace.c 	m = file->private_data;
file             4400 kernel/trace/trace.c static int show_traces_release(struct inode *inode, struct file *file)
file             4405 kernel/trace/trace.c 	return seq_release(inode, file);
file             4409 kernel/trace/trace.c tracing_write_stub(struct file *filp, const char __user *ubuf,
file             4415 kernel/trace/trace.c loff_t tracing_lseek(struct file *file, loff_t offset, int whence)
file             4419 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ)
file             4420 kernel/trace/trace.c 		ret = seq_lseek(file, offset, whence);
file             4422 kernel/trace/trace.c 		file->f_pos = ret = 0;
file             4443 kernel/trace/trace.c tracing_cpumask_read(struct file *filp, char __user *ubuf,
file             4471 kernel/trace/trace.c tracing_cpumask_write(struct file *filp, const char __user *ubuf,
file             4716 kernel/trace/trace.c tracing_trace_options_write(struct file *filp, const char __user *ubuf,
file             4741 kernel/trace/trace.c static int tracing_trace_options_open(struct inode *inode, struct file *file)
file             4750 kernel/trace/trace.c 	ret = single_open(file, tracing_trace_options_show, inode->i_private);
file             5016 kernel/trace/trace.c tracing_readme_read(struct file *filp, char __user *ubuf,
file             5083 kernel/trace/trace.c static int tracing_saved_tgids_open(struct inode *inode, struct file *filp)
file             5163 kernel/trace/trace.c static int tracing_saved_cmdlines_open(struct inode *inode, struct file *filp)
file             5182 kernel/trace/trace.c tracing_saved_cmdlines_size_read(struct file *filp, char __user *ubuf,
file             5225 kernel/trace/trace.c tracing_saved_cmdlines_size_write(struct file *filp, const char __user *ubuf,
file             5331 kernel/trace/trace.c static int tracing_eval_map_open(struct inode *inode, struct file *filp)
file             5434 kernel/trace/trace.c tracing_set_trace_read(struct file *filp, char __user *ubuf,
file             5744 kernel/trace/trace.c tracing_set_trace_write(struct file *filp, const char __user *ubuf,
file             5807 kernel/trace/trace.c tracing_thresh_read(struct file *filp, char __user *ubuf,
file             5814 kernel/trace/trace.c tracing_thresh_write(struct file *filp, const char __user *ubuf,
file             5841 kernel/trace/trace.c tracing_max_lat_read(struct file *filp, char __user *ubuf,
file             5848 kernel/trace/trace.c tracing_max_lat_write(struct file *filp, const char __user *ubuf,
file             5856 kernel/trace/trace.c static int tracing_open_pipe(struct inode *inode, struct file *filp)
file             5917 kernel/trace/trace.c static int tracing_release_pipe(struct inode *inode, struct file *file)
file             5919 kernel/trace/trace.c 	struct trace_iterator *iter = file->private_data;
file             5941 kernel/trace/trace.c trace_poll(struct trace_iterator *iter, struct file *filp, poll_table *poll_table)
file             5960 kernel/trace/trace.c tracing_poll_pipe(struct file *filp, poll_table *poll_table)
file             5968 kernel/trace/trace.c static int tracing_wait_pipe(struct file *filp)
file             6008 kernel/trace/trace.c tracing_read_pipe(struct file *filp, char __user *ubuf,
file             6163 kernel/trace/trace.c static ssize_t tracing_splice_read_pipe(struct file *filp,
file             6250 kernel/trace/trace.c tracing_entries_read(struct file *filp, char __user *ubuf,
file             6298 kernel/trace/trace.c tracing_entries_write(struct file *filp, const char __user *ubuf,
file             6326 kernel/trace/trace.c tracing_total_entries_read(struct file *filp, char __user *ubuf,
file             6350 kernel/trace/trace.c tracing_free_buffer_write(struct file *filp, const char __user *ubuf,
file             6364 kernel/trace/trace.c tracing_free_buffer_release(struct inode *inode, struct file *filp)
file             6380 kernel/trace/trace.c tracing_mark_write(struct file *filp, const char __user *ubuf,
file             6461 kernel/trace/trace.c tracing_mark_raw_write(struct file *filp, const char __user *ubuf,
file             6569 kernel/trace/trace.c static ssize_t tracing_clock_write(struct file *filp, const char __user *ubuf,
file             6597 kernel/trace/trace.c static int tracing_clock_open(struct inode *inode, struct file *file)
file             6606 kernel/trace/trace.c 	ret = single_open(file, tracing_clock_show, inode->i_private);
file             6629 kernel/trace/trace.c static int tracing_time_stamp_mode_open(struct inode *inode, struct file *file)
file             6638 kernel/trace/trace.c 	ret = single_open(file, tracing_time_stamp_mode_show, inode->i_private);
file             6684 kernel/trace/trace.c static int tracing_snapshot_open(struct inode *inode, struct file *file)
file             6695 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ) {
file             6696 kernel/trace/trace.c 		iter = __tracing_open(inode, file, true);
file             6716 kernel/trace/trace.c 		file->private_data = m;
file             6726 kernel/trace/trace.c tracing_snapshot_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             6808 kernel/trace/trace.c static int tracing_snapshot_release(struct inode *inode, struct file *file)
file             6810 kernel/trace/trace.c 	struct seq_file *m = file->private_data;
file             6813 kernel/trace/trace.c 	ret = tracing_release(inode, file);
file             6815 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ)
file             6826 kernel/trace/trace.c static int tracing_buffers_open(struct inode *inode, struct file *filp);
file             6827 kernel/trace/trace.c static ssize_t tracing_buffers_read(struct file *filp, char __user *ubuf,
file             6829 kernel/trace/trace.c static int tracing_buffers_release(struct inode *inode, struct file *file);
file             6830 kernel/trace/trace.c static ssize_t tracing_buffers_splice_read(struct file *file, loff_t *ppos,
file             6833 kernel/trace/trace.c static int snapshot_raw_open(struct inode *inode, struct file *filp)
file             7153 kernel/trace/trace.c static int tracing_err_log_open(struct inode *inode, struct file *file)
file             7163 kernel/trace/trace.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC))
file             7166 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ) {
file             7167 kernel/trace/trace.c 		ret = seq_open(file, &tracing_err_log_seq_ops);
file             7169 kernel/trace/trace.c 			struct seq_file *m = file->private_data;
file             7178 kernel/trace/trace.c static ssize_t tracing_err_log_write(struct file *file,
file             7185 kernel/trace/trace.c static int tracing_err_log_release(struct inode *inode, struct file *file)
file             7191 kernel/trace/trace.c 	if (file->f_mode & FMODE_READ)
file             7192 kernel/trace/trace.c 		seq_release(inode, file);
file             7205 kernel/trace/trace.c static int tracing_buffers_open(struct inode *inode, struct file *filp)
file             7245 kernel/trace/trace.c tracing_buffers_poll(struct file *filp, poll_table *poll_table)
file             7254 kernel/trace/trace.c tracing_buffers_read(struct file *filp, char __user *ubuf,
file             7327 kernel/trace/trace.c static int tracing_buffers_release(struct inode *inode, struct file *file)
file             7329 kernel/trace/trace.c 	struct ftrace_buffer_info *info = file->private_data;
file             7406 kernel/trace/trace.c tracing_buffers_splice_read(struct file *file, loff_t *ppos,
file             7410 kernel/trace/trace.c 	struct ftrace_buffer_info *info = file->private_data;
file             7497 kernel/trace/trace.c 		if ((file->f_flags & O_NONBLOCK) || (flags & SPLICE_F_NONBLOCK))
file             7524 kernel/trace/trace.c tracing_stats_read(struct file *filp, char __user *ubuf,
file             7597 kernel/trace/trace.c tracing_read_dyn_info(struct file *filp, char __user *ubuf,
file             7867 kernel/trace/trace.c trace_options_read(struct file *filp, char __user *ubuf, size_t cnt,
file             7882 kernel/trace/trace.c trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             7952 kernel/trace/trace.c trace_options_core_read(struct file *filp, char __user *ubuf, size_t cnt,
file             7971 kernel/trace/trace.c trace_options_core_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             8161 kernel/trace/trace.c rb_simple_read(struct file *filp, char __user *ubuf,
file             8175 kernel/trace/trace.c rb_simple_write(struct file *filp, const char __user *ubuf,
file             8217 kernel/trace/trace.c buffer_percent_read(struct file *filp, char __user *ubuf,
file             8231 kernel/trace/trace.c buffer_percent_write(struct file *filp, const char __user *ubuf,
file             8558 kernel/trace/trace.c 	struct trace_event_file *file;
file             8591 kernel/trace/trace.c 	file = __find_event_file(tr, "ftrace", "print");
file             8592 kernel/trace/trace.c 	if (file && file->dir)
file             8593 kernel/trace/trace.c 		trace_create_file("trigger", 0644, file->dir, file,
file             8595 kernel/trace/trace.c 	tr->trace_marker_file = file;
file             9048 kernel/trace/trace.c ssize_t trace_parse_run_command(struct file *file, const char __user *buffer,
file              478 kernel/trace/trace.h 					struct file *filp, char __user *ubuf,
file              481 kernel/trace/trace.h 					       struct file *filp,
file              684 kernel/trace/trace.h int tracing_open_generic(struct inode *inode, struct file *filp);
file              685 kernel/trace/trace.h int tracing_open_generic_tr(struct inode *inode, struct file *filp);
file              752 kernel/trace/trace.h loff_t tracing_lseek(struct file *file, loff_t offset, int whence);
file             1419 kernel/trace/trace.h __event_trigger_test_discard(struct trace_event_file *file,
file             1425 kernel/trace/trace.h 	unsigned long eflags = file->flags;
file             1428 kernel/trace/trace.h 		*tt = event_triggers_call(file, entry, event);
file             1430 kernel/trace/trace.h 	if (test_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags) ||
file             1431 kernel/trace/trace.h 	    (unlikely(file->flags & EVENT_FILE_FL_FILTERED) &&
file             1432 kernel/trace/trace.h 	     !filter_match_preds(file->filter, entry))) {
file             1454 kernel/trace/trace.h event_trigger_unlock_commit(struct trace_event_file *file,
file             1461 kernel/trace/trace.h 	if (!__event_trigger_test_discard(file, buffer, event, entry, &tt))
file             1462 kernel/trace/trace.h 		trace_buffer_unlock_commit(file->tr, buffer, event, irq_flags, pc);
file             1465 kernel/trace/trace.h 		event_triggers_post_call(file, tt);
file             1485 kernel/trace/trace.h event_trigger_unlock_commit_regs(struct trace_event_file *file,
file             1493 kernel/trace/trace.h 	if (!__event_trigger_test_discard(file, buffer, event, entry, &tt))
file             1494 kernel/trace/trace.h 		trace_buffer_unlock_commit_regs(file->tr, buffer, event,
file             1498 kernel/trace/trace.h 		event_triggers_post_call(file, tt);
file             1563 kernel/trace/trace.h extern void print_event_filter(struct trace_event_file *file,
file             1565 kernel/trace/trace.h extern int apply_event_filter(struct trace_event_file *file,
file             1595 kernel/trace/trace.h static inline void *event_file_data(struct file *filp)
file             1640 kernel/trace/trace.h 	struct trace_event_file		*file;
file             1651 kernel/trace/trace.h 				     struct trace_event_file *file,
file             1656 kernel/trace/trace.h 					 struct trace_event_file *file);
file             1660 kernel/trace/trace.h 					    struct trace_event_file *file);
file             1664 kernel/trace/trace.h extern int trace_event_trigger_enable_disable(struct trace_event_file *file,
file             1666 kernel/trace/trace.h extern void update_cond_flag(struct trace_event_file *file);
file             1669 kernel/trace/trace.h 			      struct trace_event_file *file);
file             1816 kernel/trace/trace.h 					struct trace_event_file *file,
file             1821 kernel/trace/trace.h 				       struct trace_event_file *file);
file             1825 kernel/trace/trace.h 					 struct trace_event_file *file);
file             1826 kernel/trace/trace.h 	void			(*unreg_all)(struct trace_event_file *file);
file             1829 kernel/trace/trace.h 					      struct trace_event_file *file);
file             1876 kernel/trace/trace.h extern int trace_event_enable_disable(struct trace_event_file *file,
file             1900 kernel/trace/trace.h extern ssize_t trace_parse_run_command(struct file *file,
file               72 kernel/trace/trace_branch.c 	p = f->data.file + strlen(f->data.file);
file               73 kernel/trace/trace_branch.c 	while (p >= f->data.file && *p != '/')
file               78 kernel/trace/trace_branch.c 	strncpy(entry->file, p, TRACE_FILE_SIZE);
file               80 kernel/trace/trace_branch.c 	entry->file[TRACE_FILE_SIZE] = 0;
file              150 kernel/trace/trace_branch.c 			 field->file,
file              265 kernel/trace/trace_branch.c 	f = p->file + strlen(p->file);
file              266 kernel/trace/trace_branch.c 	while (f >= p->file && *f != '/')
file              173 kernel/trace/trace_dynevent.c static int dyn_event_open(struct inode *inode, struct file *file)
file              181 kernel/trace/trace_dynevent.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
file              187 kernel/trace/trace_dynevent.c 	return seq_open(file, &dyn_event_seq_op);
file              190 kernel/trace/trace_dynevent.c static ssize_t dyn_event_write(struct file *file, const char __user *buffer,
file              193 kernel/trace/trace_dynevent.c 	return trace_parse_run_command(file, buffer, count, ppos,
file              329 kernel/trace/trace_entries.h 		__array(	char,		file,	TRACE_FILE_SIZE+1	)
file              336 kernel/trace/trace_entries.h 		 __entry->func, __entry->file, __entry->correct,
file               62 kernel/trace/trace_events.c #define do_for_each_event_file(tr, file)			\
file               64 kernel/trace/trace_events.c 		list_for_each_entry(file, &tr->events, list)
file               66 kernel/trace/trace_events.c #define do_for_each_event_file_safe(tr, file)			\
file               69 kernel/trace/trace_events.c 		list_for_each_entry_safe(file, ___n, &tr->events, list)
file              283 kernel/trace/trace_events.c 	struct trace_event_file *file = data;
file              290 kernel/trace/trace_events.c 						 file);
file              294 kernel/trace/trace_events.c 					    file);
file              320 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              325 kernel/trace/trace_events.c 	do_for_each_event_file(tr, file) {
file              327 kernel/trace/trace_events.c 		if (!(file->flags & EVENT_FILE_FL_ENABLED))
file              332 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_RECORDED_CMD_BIT, &file->flags);
file              335 kernel/trace/trace_events.c 			clear_bit(EVENT_FILE_FL_RECORDED_CMD_BIT, &file->flags);
file              342 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              347 kernel/trace/trace_events.c 	do_for_each_event_file(tr, file) {
file              348 kernel/trace/trace_events.c 		if (!(file->flags & EVENT_FILE_FL_ENABLED))
file              353 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_RECORDED_TGID_BIT, &file->flags);
file              357 kernel/trace/trace_events.c 				  &file->flags);
file              362 kernel/trace/trace_events.c static int __ftrace_event_enable_disable(struct trace_event_file *file,
file              365 kernel/trace/trace_events.c 	struct trace_event_call *call = file->event_call;
file              366 kernel/trace/trace_events.c 	struct trace_array *tr = file->tr;
file              367 kernel/trace/trace_events.c 	unsigned long file_flags = file->flags;
file              387 kernel/trace/trace_events.c 			if (atomic_dec_return(&file->sm_ref) > 0)
file              389 kernel/trace/trace_events.c 			disable = file->flags & EVENT_FILE_FL_SOFT_DISABLED;
file              390 kernel/trace/trace_events.c 			clear_bit(EVENT_FILE_FL_SOFT_MODE_BIT, &file->flags);
file              392 kernel/trace/trace_events.c 			disable = !(file->flags & EVENT_FILE_FL_SOFT_MODE);
file              394 kernel/trace/trace_events.c 		if (disable && (file->flags & EVENT_FILE_FL_ENABLED)) {
file              395 kernel/trace/trace_events.c 			clear_bit(EVENT_FILE_FL_ENABLED_BIT, &file->flags);
file              396 kernel/trace/trace_events.c 			if (file->flags & EVENT_FILE_FL_RECORDED_CMD) {
file              398 kernel/trace/trace_events.c 				clear_bit(EVENT_FILE_FL_RECORDED_CMD_BIT, &file->flags);
file              401 kernel/trace/trace_events.c 			if (file->flags & EVENT_FILE_FL_RECORDED_TGID) {
file              403 kernel/trace/trace_events.c 				clear_bit(EVENT_FILE_FL_RECORDED_TGID_BIT, &file->flags);
file              406 kernel/trace/trace_events.c 			call->class->reg(call, TRACE_REG_UNREGISTER, file);
file              409 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_SOFT_MODE)
file              410 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags);
file              412 kernel/trace/trace_events.c 			clear_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags);
file              424 kernel/trace/trace_events.c 			clear_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags);
file              426 kernel/trace/trace_events.c 			if (atomic_inc_return(&file->sm_ref) > 1)
file              428 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_SOFT_MODE_BIT, &file->flags);
file              431 kernel/trace/trace_events.c 		if (!(file->flags & EVENT_FILE_FL_ENABLED)) {
file              436 kernel/trace/trace_events.c 				set_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags);
file              441 kernel/trace/trace_events.c 				set_bit(EVENT_FILE_FL_RECORDED_CMD_BIT, &file->flags);
file              447 kernel/trace/trace_events.c 				set_bit(EVENT_FILE_FL_RECORDED_TGID_BIT, &file->flags);
file              450 kernel/trace/trace_events.c 			ret = call->class->reg(call, TRACE_REG_REGISTER, file);
file              460 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_ENABLED_BIT, &file->flags);
file              463 kernel/trace/trace_events.c 			set_bit(EVENT_FILE_FL_WAS_ENABLED_BIT, &file->flags);
file              470 kernel/trace/trace_events.c 	    (file->flags & EVENT_FILE_FL_SOFT_DISABLED)) {
file              471 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_SOFT_DISABLED)
file              480 kernel/trace/trace_events.c int trace_event_enable_disable(struct trace_event_file *file,
file              483 kernel/trace/trace_events.c 	return __ftrace_event_enable_disable(file, enable, soft_disable);
file              486 kernel/trace/trace_events.c static int ftrace_event_enable_disable(struct trace_event_file *file,
file              489 kernel/trace/trace_events.c 	return __ftrace_event_enable_disable(file, enable, 0);
file              494 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              497 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file              498 kernel/trace/trace_events.c 		ftrace_event_enable_disable(file, 0);
file              603 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              623 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file              624 kernel/trace/trace_events.c 		clear_bit(EVENT_FILE_FL_PID_FILTER_BIT, &file->flags);
file              706 kernel/trace/trace_events.c static void remove_event_file_dir(struct trace_event_file *file)
file              708 kernel/trace/trace_events.c 	struct dentry *dir = file->dir;
file              722 kernel/trace/trace_events.c 	list_del(&file->list);
file              723 kernel/trace/trace_events.c 	remove_subsystem(file->system);
file              724 kernel/trace/trace_events.c 	free_event_filter(file->filter);
file              725 kernel/trace/trace_events.c 	kmem_cache_free(file_cachep, file);
file              735 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              741 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file              743 kernel/trace/trace_events.c 		call = file->event_call;
file              763 kernel/trace/trace_events.c 		ret = ftrace_event_enable_disable(file, set);
file              857 kernel/trace/trace_events.c ftrace_event_write(struct file *file, const char __user *ubuf,
file              861 kernel/trace/trace_events.c 	struct seq_file *m = file->private_data;
file              899 kernel/trace/trace_events.c 	struct trace_event_file *file = v;
file              905 kernel/trace/trace_events.c 	list_for_each_entry_continue(file, &tr->events, list) {
file              906 kernel/trace/trace_events.c 		call = file->event_call;
file              913 kernel/trace/trace_events.c 			return file;
file              921 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              927 kernel/trace/trace_events.c 	file = list_entry(&tr->events, struct trace_event_file, list);
file              929 kernel/trace/trace_events.c 		file = t_next(m, file, &l);
file              930 kernel/trace/trace_events.c 		if (!file)
file              933 kernel/trace/trace_events.c 	return file;
file              939 kernel/trace/trace_events.c 	struct trace_event_file *file = v;
file              944 kernel/trace/trace_events.c 	list_for_each_entry_continue(file, &tr->events, list) {
file              945 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_ENABLED)
file              946 kernel/trace/trace_events.c 			return file;
file              954 kernel/trace/trace_events.c 	struct trace_event_file *file;
file              960 kernel/trace/trace_events.c 	file = list_entry(&tr->events, struct trace_event_file, list);
file              962 kernel/trace/trace_events.c 		file = s_next(m, file, &l);
file              963 kernel/trace/trace_events.c 		if (!file)
file              966 kernel/trace/trace_events.c 	return file;
file              971 kernel/trace/trace_events.c 	struct trace_event_file *file = v;
file              972 kernel/trace/trace_events.c 	struct trace_event_call *call = file->event_call;
file             1026 kernel/trace/trace_events.c event_enable_read(struct file *filp, char __user *ubuf, size_t cnt,
file             1029 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1034 kernel/trace/trace_events.c 	file = event_file_data(filp);
file             1035 kernel/trace/trace_events.c 	if (likely(file))
file             1036 kernel/trace/trace_events.c 		flags = file->flags;
file             1039 kernel/trace/trace_events.c 	if (!file)
file             1056 kernel/trace/trace_events.c event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             1059 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1076 kernel/trace/trace_events.c 		file = event_file_data(filp);
file             1077 kernel/trace/trace_events.c 		if (likely(file))
file             1078 kernel/trace/trace_events.c 			ret = ftrace_event_enable_disable(file, val);
file             1092 kernel/trace/trace_events.c system_enable_read(struct file *filp, char __user *ubuf, size_t cnt,
file             1099 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1106 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file             1107 kernel/trace/trace_events.c 		call = file->event_call;
file             1119 kernel/trace/trace_events.c 		set |= (1 << !!(file->flags & EVENT_FILE_FL_ENABLED));
file             1138 kernel/trace/trace_events.c system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             1293 kernel/trace/trace_events.c static int trace_format_open(struct inode *inode, struct file *file)
file             1300 kernel/trace/trace_events.c 	ret = seq_open(file, &trace_format_seq_ops);
file             1304 kernel/trace/trace_events.c 	m = file->private_data;
file             1305 kernel/trace/trace_events.c 	m->private = file;
file             1311 kernel/trace/trace_events.c event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
file             1326 kernel/trace/trace_events.c event_filter_read(struct file *filp, char __user *ubuf, size_t cnt,
file             1329 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1344 kernel/trace/trace_events.c 	file = event_file_data(filp);
file             1345 kernel/trace/trace_events.c 	if (file)
file             1346 kernel/trace/trace_events.c 		print_event_filter(file, s);
file             1349 kernel/trace/trace_events.c 	if (file)
file             1359 kernel/trace/trace_events.c event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             1362 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1374 kernel/trace/trace_events.c 	file = event_file_data(filp);
file             1375 kernel/trace/trace_events.c 	if (file)
file             1376 kernel/trace/trace_events.c 		err = apply_event_filter(file, buf);
file             1390 kernel/trace/trace_events.c static int subsystem_open(struct inode *inode, struct file *filp)
file             1440 kernel/trace/trace_events.c static int system_tr_open(struct inode *inode, struct file *filp)
file             1462 kernel/trace/trace_events.c static int subsystem_release(struct inode *inode, struct file *file)
file             1464 kernel/trace/trace_events.c 	struct trace_subsystem_dir *dir = file->private_data;
file             1482 kernel/trace/trace_events.c subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt,
file             1509 kernel/trace/trace_events.c subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             1534 kernel/trace/trace_events.c show_header(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
file             1575 kernel/trace/trace_events.c ftrace_event_pid_write(struct file *filp, const char __user *ubuf,
file             1582 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             1603 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file             1604 kernel/trace/trace_events.c 		set_bit(EVENT_FILE_FL_PID_FILTER_BIT, &file->flags);
file             1654 kernel/trace/trace_events.c static int ftrace_event_avail_open(struct inode *inode, struct file *file);
file             1655 kernel/trace/trace_events.c static int ftrace_event_set_open(struct inode *inode, struct file *file);
file             1656 kernel/trace/trace_events.c static int ftrace_event_set_pid_open(struct inode *inode, struct file *file);
file             1657 kernel/trace/trace_events.c static int ftrace_event_release(struct inode *inode, struct file *file);
file             1760 kernel/trace/trace_events.c ftrace_event_open(struct inode *inode, struct file *file,
file             1770 kernel/trace/trace_events.c 	ret = seq_open(file, seq_ops);
file             1773 kernel/trace/trace_events.c 	m = file->private_data;
file             1780 kernel/trace/trace_events.c static int ftrace_event_release(struct inode *inode, struct file *file)
file             1786 kernel/trace/trace_events.c 	return seq_release(inode, file);
file             1790 kernel/trace/trace_events.c ftrace_event_avail_open(struct inode *inode, struct file *file)
file             1795 kernel/trace/trace_events.c 	return ftrace_event_open(inode, file, seq_ops);
file             1799 kernel/trace/trace_events.c ftrace_event_set_open(struct inode *inode, struct file *file)
file             1809 kernel/trace/trace_events.c 	if ((file->f_mode & FMODE_WRITE) &&
file             1810 kernel/trace/trace_events.c 	    (file->f_flags & O_TRUNC))
file             1813 kernel/trace/trace_events.c 	ret = ftrace_event_open(inode, file, seq_ops);
file             1820 kernel/trace/trace_events.c ftrace_event_set_pid_open(struct inode *inode, struct file *file)
file             1830 kernel/trace/trace_events.c 	if ((file->f_mode & FMODE_WRITE) &&
file             1831 kernel/trace/trace_events.c 	    (file->f_flags & O_TRUNC))
file             1834 kernel/trace/trace_events.c 	ret = ftrace_event_open(inode, file, seq_ops);
file             1875 kernel/trace/trace_events.c 		    struct trace_event_file *file, struct dentry *parent)
file             1886 kernel/trace/trace_events.c 			file->system = dir;
file             1922 kernel/trace/trace_events.c 	file->system = dir;
file             1949 kernel/trace/trace_events.c event_create_dir(struct dentry *parent, struct trace_event_file *file)
file             1951 kernel/trace/trace_events.c 	struct trace_event_call *call = file->event_call;
file             1952 kernel/trace/trace_events.c 	struct trace_array *tr = file->tr;
file             1963 kernel/trace/trace_events.c 		d_events = event_subsystem_dir(tr, call->class->system, file, parent);
file             1970 kernel/trace/trace_events.c 	file->dir = tracefs_create_dir(name, d_events);
file             1971 kernel/trace/trace_events.c 	if (!file->dir) {
file             1977 kernel/trace/trace_events.c 		trace_create_file("enable", 0644, file->dir, file,
file             1982 kernel/trace/trace_events.c 		trace_create_file("id", 0444, file->dir,
file             2006 kernel/trace/trace_events.c 		trace_create_file("filter", 0644, file->dir, file,
file             2009 kernel/trace/trace_events.c 		trace_create_file("trigger", 0644, file->dir, file,
file             2014 kernel/trace/trace_events.c 	trace_create_file("hist", 0444, file->dir, file,
file             2017 kernel/trace/trace_events.c 	trace_create_file("format", 0444, file->dir, call,
file             2025 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2028 kernel/trace/trace_events.c 	do_for_each_event_file_safe(tr, file) {
file             2029 kernel/trace/trace_events.c 		if (file->event_call != call)
file             2032 kernel/trace/trace_events.c 		remove_event_file_dir(file);
file             2046 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2048 kernel/trace/trace_events.c 	do_for_each_event_file(tr, file) {
file             2049 kernel/trace/trace_events.c 		if (file->event_call != call)
file             2052 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_WAS_ENABLED)
file             2055 kernel/trace/trace_events.c 		ftrace_event_enable_disable(file, 0);
file             2247 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2249 kernel/trace/trace_events.c 	file = kmem_cache_alloc(file_cachep, GFP_TRACE);
file             2250 kernel/trace/trace_events.c 	if (!file)
file             2253 kernel/trace/trace_events.c 	file->event_call = call;
file             2254 kernel/trace/trace_events.c 	file->tr = tr;
file             2255 kernel/trace/trace_events.c 	atomic_set(&file->sm_ref, 0);
file             2256 kernel/trace/trace_events.c 	atomic_set(&file->tm_ref, 0);
file             2257 kernel/trace/trace_events.c 	INIT_LIST_HEAD(&file->triggers);
file             2258 kernel/trace/trace_events.c 	list_add(&file->list, &tr->events);
file             2260 kernel/trace/trace_events.c 	return file;
file             2267 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2269 kernel/trace/trace_events.c 	file = trace_create_new_event(call, tr);
file             2270 kernel/trace/trace_events.c 	if (!file)
file             2273 kernel/trace/trace_events.c 	return event_create_dir(tr->event_dir, file);
file             2285 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2287 kernel/trace/trace_events.c 	file = trace_create_new_event(call, tr);
file             2288 kernel/trace/trace_events.c 	if (!file)
file             2328 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2334 kernel/trace/trace_events.c 	do_for_each_event_file(tr, file) {
file             2335 kernel/trace/trace_events.c 		if (file->event_call != call)
file             2342 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_ENABLED)
file             2472 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2476 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file             2478 kernel/trace/trace_events.c 		call = file->event_call;
file             2486 kernel/trace/trace_events.c 			return file;
file             2495 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2497 kernel/trace/trace_events.c 	file = __find_event_file(tr, system, event);
file             2498 kernel/trace/trace_events.c 	if (!file || !file->event_call->class->reg ||
file             2499 kernel/trace/trace_events.c 	    file->event_call->flags & TRACE_EVENT_FL_IGNORE_ENABLE)
file             2502 kernel/trace/trace_events.c 	return file;
file             2512 kernel/trace/trace_events.c 	struct trace_event_file	*file;
file             2521 kernel/trace/trace_events.c 		clear_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &data->file->flags);
file             2523 kernel/trace/trace_events.c 		set_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &data->file->flags);
file             2562 kernel/trace/trace_events.c 	if (edata->enable == !(edata->file->flags & EVENT_FILE_FL_SOFT_DISABLED))
file             2590 kernel/trace/trace_events.c 		   edata->file->event_call->class->system,
file             2591 kernel/trace/trace_events.c 		   trace_event_name(edata->file->event_call));
file             2632 kernel/trace/trace_events.c 		__ftrace_event_enable_disable(edata->file, 0, 1);
file             2633 kernel/trace/trace_events.c 		module_put(edata->file->event_call->mod);
file             2696 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2721 kernel/trace/trace_events.c 	file = find_event_file(tr, system, event);
file             2722 kernel/trace/trace_events.c 	if (!file)
file             2745 kernel/trace/trace_events.c 	data->file = file;
file             2766 kernel/trace/trace_events.c 	ret = try_module_get(file->event_call->mod);
file             2772 kernel/trace/trace_events.c 	ret = __ftrace_event_enable_disable(file, 1, 1);
file             2794 kernel/trace/trace_events.c 	__ftrace_event_enable_disable(file, 0, 1);
file             2796 kernel/trace/trace_events.c 	module_put(file->event_call->mod);
file             2838 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             2842 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file             2843 kernel/trace/trace_events.c 		ret = event_create_dir(tr->event_dir, file);
file             2846 kernel/trace/trace_events.c 				trace_event_name(file->event_call));
file             2878 kernel/trace/trace_events.c 	struct trace_event_file *file, *next;
file             2880 kernel/trace/trace_events.c 	list_for_each_entry_safe(file, next, &tr->events, list)
file             2881 kernel/trace/trace_events.c 		remove_event_file_dir(file);
file             3244 kernel/trace/trace_events.c 	struct trace_event_file *file;
file             3256 kernel/trace/trace_events.c 	list_for_each_entry(file, &tr->events, list) {
file             3258 kernel/trace/trace_events.c 		call = file->event_call;
file             3282 kernel/trace/trace_events.c 		if (file->flags & EVENT_FILE_FL_ENABLED) {
file             3288 kernel/trace/trace_events.c 		ftrace_event_enable_disable(file, 1);
file             3290 kernel/trace/trace_events.c 		ftrace_event_enable_disable(file, 0);
file              976 kernel/trace/trace_events_filter.c static inline struct event_filter *event_filter(struct trace_event_file *file)
file              978 kernel/trace/trace_events_filter.c 	return file->filter;
file              982 kernel/trace/trace_events_filter.c void print_event_filter(struct trace_event_file *file, struct trace_seq *s)
file              984 kernel/trace/trace_events_filter.c 	struct event_filter *filter = event_filter(file);
file             1020 kernel/trace/trace_events_filter.c static void filter_disable(struct trace_event_file *file)
file             1022 kernel/trace/trace_events_filter.c 	unsigned long old_flags = file->flags;
file             1024 kernel/trace/trace_events_filter.c 	file->flags &= ~EVENT_FILE_FL_FILTERED;
file             1026 kernel/trace/trace_events_filter.c 	if (old_flags != file->flags)
file             1045 kernel/trace/trace_events_filter.c static inline void __remove_filter(struct trace_event_file *file)
file             1047 kernel/trace/trace_events_filter.c 	filter_disable(file);
file             1048 kernel/trace/trace_events_filter.c 	remove_filter_string(file->filter);
file             1054 kernel/trace/trace_events_filter.c 	struct trace_event_file *file;
file             1056 kernel/trace/trace_events_filter.c 	list_for_each_entry(file, &tr->events, list) {
file             1057 kernel/trace/trace_events_filter.c 		if (file->system != dir)
file             1059 kernel/trace/trace_events_filter.c 		__remove_filter(file);
file             1063 kernel/trace/trace_events_filter.c static inline void __free_subsystem_filter(struct trace_event_file *file)
file             1065 kernel/trace/trace_events_filter.c 	__free_filter(file->filter);
file             1066 kernel/trace/trace_events_filter.c 	file->filter = NULL;
file             1072 kernel/trace/trace_events_filter.c 	struct trace_event_file *file;
file             1074 kernel/trace/trace_events_filter.c 	list_for_each_entry(file, &tr->events, list) {
file             1075 kernel/trace/trace_events_filter.c 		if (file->system != dir)
file             1077 kernel/trace/trace_events_filter.c 		__free_subsystem_filter(file);
file             1543 kernel/trace/trace_events_filter.c static inline void event_set_filtered_flag(struct trace_event_file *file)
file             1545 kernel/trace/trace_events_filter.c 	unsigned long old_flags = file->flags;
file             1547 kernel/trace/trace_events_filter.c 	file->flags |= EVENT_FILE_FL_FILTERED;
file             1549 kernel/trace/trace_events_filter.c 	if (old_flags != file->flags)
file             1553 kernel/trace/trace_events_filter.c static inline void event_set_filter(struct trace_event_file *file,
file             1556 kernel/trace/trace_events_filter.c 	rcu_assign_pointer(file->filter, filter);
file             1559 kernel/trace/trace_events_filter.c static inline void event_clear_filter(struct trace_event_file *file)
file             1561 kernel/trace/trace_events_filter.c 	RCU_INIT_POINTER(file->filter, NULL);
file             1565 kernel/trace/trace_events_filter.c event_set_no_set_filter_flag(struct trace_event_file *file)
file             1567 kernel/trace/trace_events_filter.c 	file->flags |= EVENT_FILE_FL_NO_SET_FILTER;
file             1571 kernel/trace/trace_events_filter.c event_clear_no_set_filter_flag(struct trace_event_file *file)
file             1573 kernel/trace/trace_events_filter.c 	file->flags &= ~EVENT_FILE_FL_NO_SET_FILTER;
file             1577 kernel/trace/trace_events_filter.c event_no_set_filter_flag(struct trace_event_file *file)
file             1579 kernel/trace/trace_events_filter.c 	if (file->flags & EVENT_FILE_FL_NO_SET_FILTER)
file             1595 kernel/trace/trace_events_filter.c 	struct trace_event_file *file;
file             1603 kernel/trace/trace_events_filter.c 	list_for_each_entry(file, &tr->events, list) {
file             1605 kernel/trace/trace_events_filter.c 		if (file->system != dir)
file             1616 kernel/trace/trace_events_filter.c 		err = process_preds(file->event_call, filter_string, filter, pe);
file             1618 kernel/trace/trace_events_filter.c 			filter_disable(file);
file             1622 kernel/trace/trace_events_filter.c 			event_set_filtered_flag(file);
file             1634 kernel/trace/trace_events_filter.c 		filter_item->filter = event_filter(file);
file             1635 kernel/trace/trace_events_filter.c 		event_set_filter(file, filter);
file             1797 kernel/trace/trace_events_filter.c int apply_event_filter(struct trace_event_file *file, char *filter_string)
file             1799 kernel/trace/trace_events_filter.c 	struct trace_event_call *call = file->event_call;
file             1804 kernel/trace/trace_events_filter.c 		filter_disable(file);
file             1805 kernel/trace/trace_events_filter.c 		filter = event_filter(file);
file             1810 kernel/trace/trace_events_filter.c 		event_clear_filter(file);
file             1819 kernel/trace/trace_events_filter.c 	err = create_filter(file->tr, call, filter_string, true, &filter);
file             1830 kernel/trace/trace_events_filter.c 		tmp = event_filter(file);
file             1832 kernel/trace/trace_events_filter.c 			event_set_filtered_flag(file);
file             1834 kernel/trace/trace_events_filter.c 			filter_disable(file);
file             1836 kernel/trace/trace_events_filter.c 		event_set_filter(file, filter);
file              604 kernel/trace/trace_events_hist.c static void last_cmd_set(struct trace_event_file *file, char *str)
file              614 kernel/trace/trace_events_hist.c 	if (file) {
file              615 kernel/trace/trace_events_hist.c 		call = file->event_call;
file             1498 kernel/trace/trace_events_hist.c static int synth_events_open(struct inode *inode, struct file *file)
file             1506 kernel/trace/trace_events_hist.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
file             1512 kernel/trace/trace_events_hist.c 	return seq_open(file, &synth_events_seq_op);
file             1515 kernel/trace/trace_events_hist.c static ssize_t synth_events_write(struct file *file,
file             1519 kernel/trace/trace_events_hist.c 	return trace_parse_run_command(file, buffer, count, ppos,
file             1791 kernel/trace/trace_events_hist.c 				   struct trace_event_file *file,
file             1804 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             1823 kernel/trace/trace_events_hist.c 	struct trace_event_file *file, *found = NULL;
file             1830 kernel/trace/trace_events_hist.c 		file = var_hist_data->event_file;
file             1831 kernel/trace/trace_events_hist.c 		if (file == found)
file             1840 kernel/trace/trace_events_hist.c 			found = file;
file             1847 kernel/trace/trace_events_hist.c static struct hist_field *find_file_var(struct trace_event_file *file,
file             1856 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             1873 kernel/trace/trace_events_hist.c 	struct trace_event_file *file;
file             1883 kernel/trace/trace_events_hist.c 			file = find_var_file(tr, system, event_name, var_name);
file             1884 kernel/trace/trace_events_hist.c 			if (!file)
file             1886 kernel/trace/trace_events_hist.c 			hist_field = find_file_var(file, var_name);
file             1908 kernel/trace/trace_events_hist.c 	struct trace_event_file *file;
file             1918 kernel/trace/trace_events_hist.c 	file = find_var_file(tr, system, event_name, var_name);
file             1919 kernel/trace/trace_events_hist.c 	if (!file)
file             1922 kernel/trace/trace_events_hist.c 	hist_field = find_file_var(file, var_name);
file             2827 kernel/trace/trace_events_hist.c parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file,
file             2832 kernel/trace/trace_events_hist.c 	struct trace_array *tr = file->tr;
file             2870 kernel/trace/trace_events_hist.c 		field = trace_find_event_field(file->event_call, field_name);
file             2908 kernel/trace/trace_events_hist.c 				     struct trace_event_file *file, char *str,
file             2951 kernel/trace/trace_events_hist.c 	field = parse_field(hist_data, file, str, flags);
file             2969 kernel/trace/trace_events_hist.c 				     struct trace_event_file *file,
file             2974 kernel/trace/trace_events_hist.c 				      struct trace_event_file *file,
file             2986 kernel/trace/trace_events_hist.c 		hist_err(file->tr, HIST_ERR_TOO_MANY_SUBEXPR, errpos(str));
file             3017 kernel/trace/trace_events_hist.c 	operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level);
file             3078 kernel/trace/trace_events_hist.c 				     struct trace_event_file *file,
file             3088 kernel/trace/trace_events_hist.c 		hist_err(file->tr, HIST_ERR_TOO_MANY_SUBEXPR, errpos(str));
file             3095 kernel/trace/trace_events_hist.c 		return parse_atom(hist_data, file, str, &flags, var_name);
file             3098 kernel/trace/trace_events_hist.c 		return parse_unary(hist_data, file, str, flags, var_name, ++level);
file             3116 kernel/trace/trace_events_hist.c 	operand1 = parse_atom(hist_data, file, operand1_str,
file             3126 kernel/trace/trace_events_hist.c 	operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level);
file             3133 kernel/trace/trace_events_hist.c 	ret = check_expr_operands(file->tr, operand1, operand2);
file             3183 kernel/trace/trace_events_hist.c 				 struct trace_event_file *file)
file             3189 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             3201 kernel/trace/trace_events_hist.c 				   struct trace_event_file *file,
file             3234 kernel/trace/trace_events_hist.c 		     struct trace_event_file *file)
file             3244 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             3259 kernel/trace/trace_events_hist.c 	struct trace_event_file *file;
file             3261 kernel/trace/trace_events_hist.c 	file = __find_event_file(tr, system, event_name);
file             3262 kernel/trace/trace_events_hist.c 	if (!file)
file             3265 kernel/trace/trace_events_hist.c 	return file;
file             3323 kernel/trace/trace_events_hist.c 	struct trace_event_file *file;
file             3334 kernel/trace/trace_events_hist.c 	file = event_file(tr, subsys_name, event_name);
file             3336 kernel/trace/trace_events_hist.c 	if (IS_ERR(file)) {
file             3338 kernel/trace/trace_events_hist.c 		ret = PTR_ERR(file);
file             3348 kernel/trace/trace_events_hist.c 	hist_data = find_compatible_hist(target_hist_data, file);
file             3388 kernel/trace/trace_events_hist.c 	saved_filter = find_trigger_filter(hist_data, file);
file             3405 kernel/trace/trace_events_hist.c 	ret = event_hist_trigger_func(&trigger_hist_cmd, file,
file             3438 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             3447 kernel/trace/trace_events_hist.c 		call = file->event_call;
file             3510 kernel/trace/trace_events_hist.c 				     struct trace_event_file *file,
file             3516 kernel/trace/trace_events_hist.c 	if (find_var(hist_data, file, name) && !hist_data->remove) {
file             3552 kernel/trace/trace_events_hist.c 					  struct trace_event_file *file,
file             3557 kernel/trace/trace_events_hist.c 	struct trace_array *tr = file->tr;
file             3567 kernel/trace/trace_events_hist.c 	val = parse_atom(hist_data, file, field_name, &flags, NULL);
file             3574 kernel/trace/trace_events_hist.c 	var = create_var(hist_data, file, field_name, val->size, val->type);
file             3623 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = target_hist_data->event_file;
file             3631 kernel/trace/trace_events_hist.c 		call = file->event_call;
file             3640 kernel/trace/trace_events_hist.c 	return create_field_var(target_hist_data, file, var_name);
file             3742 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             3748 kernel/trace/trace_events_hist.c 	tracing_snapshot_cond(file->tr, &context);
file             3776 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             3780 kernel/trace/trace_events_hist.c 	track_data = tracing_cond_snapshot_data(file->tr);
file             3882 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             3889 kernel/trace/trace_events_hist.c 		track_data = tracing_cond_snapshot_data(file->tr);
file             3891 kernel/trace/trace_events_hist.c 			tracing_snapshot_cond_disable(file->tr);
file             3908 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             3909 kernel/trace/trace_events_hist.c 	struct trace_array *tr = file->tr;
file             3933 kernel/trace/trace_events_hist.c 		track_var = create_var(hist_data, file, "__max", sizeof(u64), "u64");
file             3941 kernel/trace/trace_events_hist.c 		track_var = create_var(hist_data, file, "__change", sizeof(u64), "u64");
file             4384 kernel/trace/trace_events_hist.c 	struct trace_event_file *file = hist_data->event_file;
file             4385 kernel/trace/trace_events_hist.c 	struct trace_array *tr = file->tr;
file             4402 kernel/trace/trace_events_hist.c 		ret = tracing_snapshot_cond_enable(file->tr, track_data,
file             4517 kernel/trace/trace_events_hist.c 			      struct trace_event_file *file,
file             4524 kernel/trace/trace_events_hist.c 	hist_field = parse_expr(hist_data, file, field_str, flags, var_name, 0);
file             4543 kernel/trace/trace_events_hist.c 			    struct trace_event_file *file,
file             4549 kernel/trace/trace_events_hist.c 	return __create_val_field(hist_data, val_idx, file, NULL, field_str, 0);
file             4554 kernel/trace/trace_events_hist.c 			    struct trace_event_file *file,
file             4563 kernel/trace/trace_events_hist.c 	if (find_var(hist_data, file, var_name) && !hist_data->remove) {
file             4573 kernel/trace/trace_events_hist.c 	return __create_val_field(hist_data, val_idx, file, var_name, expr_str, flags);
file             4577 kernel/trace/trace_events_hist.c 			     struct trace_event_file *file)
file             4600 kernel/trace/trace_events_hist.c 		ret = create_val_field(hist_data, j++, file, field_str);
file             4614 kernel/trace/trace_events_hist.c 			    struct trace_event_file *file,
file             4633 kernel/trace/trace_events_hist.c 		hist_field = parse_expr(hist_data, file, field_str, flags,
file             4675 kernel/trace/trace_events_hist.c 			     struct trace_event_file *file)
file             4690 kernel/trace/trace_events_hist.c 				       file, field_str);
file             4705 kernel/trace/trace_events_hist.c 			     struct trace_event_file *file)
file             4716 kernel/trace/trace_events_hist.c 		ret = create_var_field(hist_data, j++, file, var_name, expr);
file             4791 kernel/trace/trace_events_hist.c 			      struct trace_event_file *file)
file             4799 kernel/trace/trace_events_hist.c 	ret = create_val_fields(hist_data, file);
file             4803 kernel/trace/trace_events_hist.c 	ret = create_var_fields(hist_data, file);
file             4807 kernel/trace/trace_events_hist.c 	ret = create_key_fields(hist_data, file);
file             5224 kernel/trace/trace_events_hist.c 		 struct trace_event_file *file,
file             5237 kernel/trace/trace_events_hist.c 	hist_data->event_file = file;
file             5243 kernel/trace/trace_events_hist.c 	ret = create_hist_fields(hist_data, file);
file             5612 kernel/trace/trace_events_hist.c static int event_hist_open(struct inode *inode, struct file *file)
file             5620 kernel/trace/trace_events_hist.c 	return single_open(file, hist_show, file);
file             5782 kernel/trace/trace_events_hist.c 	struct trace_event_file *file;
file             5788 kernel/trace/trace_events_hist.c 		file = hist_data->field_var_hists[i]->hist_data->event_file;
file             5790 kernel/trace/trace_events_hist.c 		ret = event_hist_trigger_func(&trigger_hist_cmd, file,
file             5972 kernel/trace/trace_events_hist.c 				 struct trace_event_file *file)
file             5976 kernel/trace/trace_events_hist.c 	struct trace_array *tr = file->tr;
file             5996 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             6038 kernel/trace/trace_events_hist.c 		ret = tracing_set_clock(file->tr, hist_data->attrs->clock);
file             6044 kernel/trace/trace_events_hist.c 		tracing_set_time_stamp_abs(file->tr, true);
file             6056 kernel/trace/trace_events_hist.c 			       struct trace_event_file *file)
file             6060 kernel/trace/trace_events_hist.c 	list_add_tail_rcu(&data->list, &file->triggers);
file             6062 kernel/trace/trace_events_hist.c 	update_cond_flag(file);
file             6064 kernel/trace/trace_events_hist.c 	if (trace_event_trigger_enable_disable(file, 1) < 0) {
file             6066 kernel/trace/trace_events_hist.c 		update_cond_flag(file);
file             6074 kernel/trace/trace_events_hist.c 				    struct trace_event_file *file)
file             6085 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             6098 kernel/trace/trace_events_hist.c 				    struct trace_event_file *file)
file             6108 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             6124 kernel/trace/trace_events_hist.c 				    struct trace_event_file *file)
file             6135 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             6141 kernel/trace/trace_events_hist.c 			trace_event_trigger_enable_disable(file, 0);
file             6142 kernel/trace/trace_events_hist.c 			update_cond_flag(file);
file             6152 kernel/trace/trace_events_hist.c 			tracing_set_time_stamp_abs(file->tr, false);
file             6156 kernel/trace/trace_events_hist.c static bool hist_file_check_refs(struct trace_event_file *file)
file             6163 kernel/trace/trace_events_hist.c 	list_for_each_entry(test, &file->triggers, list) {
file             6174 kernel/trace/trace_events_hist.c static void hist_unreg_all(struct trace_event_file *file)
file             6183 kernel/trace/trace_events_hist.c 	if (hist_file_check_refs(file))
file             6186 kernel/trace/trace_events_hist.c 	list_for_each_entry_safe(test, n, &file->triggers, list) {
file             6190 kernel/trace/trace_events_hist.c 			trace_event_trigger_enable_disable(file, 0);
file             6192 kernel/trace/trace_events_hist.c 			se_name = trace_event_name(file->event_call);
file             6197 kernel/trace/trace_events_hist.c 			update_cond_flag(file);
file             6199 kernel/trace/trace_events_hist.c 				tracing_set_time_stamp_abs(file->tr, false);
file             6207 kernel/trace/trace_events_hist.c 				   struct trace_event_file *file,
file             6225 kernel/trace/trace_events_hist.c 		last_cmd_set(file, param);
file             6266 kernel/trace/trace_events_hist.c 	attrs = parse_hist_trigger_attrs(file->tr, trigger);
file             6273 kernel/trace/trace_events_hist.c 	hist_data = create_hist_data(hist_trigger_bits, attrs, file, remove);
file             6298 kernel/trace/trace_events_hist.c 		ret = cmd_ops->set_filter(param, trigger_data, file);
file             6304 kernel/trace/trace_events_hist.c 		if (!have_hist_trigger_match(trigger_data, file))
file             6307 kernel/trace/trace_events_hist.c 		if (hist_trigger_check_refs(trigger_data, file)) {
file             6312 kernel/trace/trace_events_hist.c 		cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file);
file             6313 kernel/trace/trace_events_hist.c 		se_name = trace_event_name(file->event_call);
file             6321 kernel/trace/trace_events_hist.c 	ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file);
file             6348 kernel/trace/trace_events_hist.c 	ret = hist_trigger_enable(trigger_data, file);
file             6352 kernel/trace/trace_events_hist.c 	se_name = trace_event_name(file->event_call);
file             6364 kernel/trace/trace_events_hist.c 	cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file);
file             6406 kernel/trace/trace_events_hist.c 	list_for_each_entry_rcu(test, &enable_data->file->triggers, list,
file             6476 kernel/trace/trace_events_hist.c static void hist_enable_unreg_all(struct trace_event_file *file)
file             6480 kernel/trace/trace_events_hist.c 	list_for_each_entry_safe(test, n, &file->triggers, list) {
file             6483 kernel/trace/trace_events_hist.c 			update_cond_flag(file);
file             6484 kernel/trace/trace_events_hist.c 			trace_event_trigger_enable_disable(file, 0);
file               56 kernel/trace/trace_events_trigger.c event_triggers_call(struct trace_event_file *file, void *rec,
file               63 kernel/trace/trace_events_trigger.c 	if (list_empty(&file->triggers))
file               66 kernel/trace/trace_events_trigger.c 	list_for_each_entry_rcu(data, &file->triggers, list) {
file               99 kernel/trace/trace_events_trigger.c event_triggers_post_call(struct trace_event_file *file,
file              104 kernel/trace/trace_events_trigger.c 	list_for_each_entry_rcu(data, &file->triggers, list) {
file              176 kernel/trace/trace_events_trigger.c static int event_trigger_regex_open(struct inode *inode, struct file *file)
file              186 kernel/trace/trace_events_trigger.c 	if (unlikely(!event_file_data(file))) {
file              191 kernel/trace/trace_events_trigger.c 	if ((file->f_mode & FMODE_WRITE) &&
file              192 kernel/trace/trace_events_trigger.c 	    (file->f_flags & O_TRUNC)) {
file              196 kernel/trace/trace_events_trigger.c 		event_file = event_file_data(file);
file              204 kernel/trace/trace_events_trigger.c 	if (file->f_mode & FMODE_READ) {
file              205 kernel/trace/trace_events_trigger.c 		ret = seq_open(file, &event_triggers_seq_ops);
file              207 kernel/trace/trace_events_trigger.c 			struct seq_file *m = file->private_data;
file              208 kernel/trace/trace_events_trigger.c 			m->private = file;
file              217 kernel/trace/trace_events_trigger.c static int trigger_process_regex(struct trace_event_file *file, char *buff)
file              229 kernel/trace/trace_events_trigger.c 			ret = p->func(p, file, buff, command, next);
file              239 kernel/trace/trace_events_trigger.c static ssize_t event_trigger_regex_write(struct file *file,
file              260 kernel/trace/trace_events_trigger.c 	event_file = event_file_data(file);
file              279 kernel/trace/trace_events_trigger.c static int event_trigger_regex_release(struct inode *inode, struct file *file)
file              283 kernel/trace/trace_events_trigger.c 	if (file->f_mode & FMODE_READ)
file              284 kernel/trace/trace_events_trigger.c 		seq_release(inode, file);
file              292 kernel/trace/trace_events_trigger.c event_trigger_write(struct file *filp, const char __user *ubuf,
file              299 kernel/trace/trace_events_trigger.c event_trigger_open(struct inode *inode, struct file *filp)
file              306 kernel/trace/trace_events_trigger.c event_trigger_release(struct inode *inode, struct file *file)
file              308 kernel/trace/trace_events_trigger.c 	return event_trigger_regex_release(inode, file);
file              441 kernel/trace/trace_events_trigger.c int trace_event_trigger_enable_disable(struct trace_event_file *file,
file              447 kernel/trace/trace_events_trigger.c 		if (atomic_inc_return(&file->tm_ref) > 1)
file              449 kernel/trace/trace_events_trigger.c 		set_bit(EVENT_FILE_FL_TRIGGER_MODE_BIT, &file->flags);
file              450 kernel/trace/trace_events_trigger.c 		ret = trace_event_enable_disable(file, 1, 1);
file              452 kernel/trace/trace_events_trigger.c 		if (atomic_dec_return(&file->tm_ref) > 0)
file              454 kernel/trace/trace_events_trigger.c 		clear_bit(EVENT_FILE_FL_TRIGGER_MODE_BIT, &file->flags);
file              455 kernel/trace/trace_events_trigger.c 		ret = trace_event_enable_disable(file, 0, 1);
file              477 kernel/trace/trace_events_trigger.c 	struct trace_event_file *file;
file              479 kernel/trace/trace_events_trigger.c 	list_for_each_entry(file, &tr->events, list) {
file              481 kernel/trace/trace_events_trigger.c 		list_for_each_entry_safe(data, n, &file->triggers, list) {
file              482 kernel/trace/trace_events_trigger.c 			trace_event_trigger_enable_disable(file, 0);
file              500 kernel/trace/trace_events_trigger.c void update_cond_flag(struct trace_event_file *file)
file              507 kernel/trace/trace_events_trigger.c 	list_for_each_entry(data, &file->triggers, list) {
file              516 kernel/trace/trace_events_trigger.c 		set_bit(EVENT_FILE_FL_TRIGGER_COND_BIT, &file->flags);
file              518 kernel/trace/trace_events_trigger.c 		clear_bit(EVENT_FILE_FL_TRIGGER_COND_BIT, &file->flags);
file              537 kernel/trace/trace_events_trigger.c 			    struct trace_event_file *file)
file              544 kernel/trace/trace_events_trigger.c 	list_for_each_entry(test, &file->triggers, list) {
file              557 kernel/trace/trace_events_trigger.c 	list_add_rcu(&data->list, &file->triggers);
file              560 kernel/trace/trace_events_trigger.c 	update_cond_flag(file);
file              561 kernel/trace/trace_events_trigger.c 	if (trace_event_trigger_enable_disable(file, 1) < 0) {
file              563 kernel/trace/trace_events_trigger.c 		update_cond_flag(file);
file              584 kernel/trace/trace_events_trigger.c 			       struct trace_event_file *file)
file              591 kernel/trace/trace_events_trigger.c 	list_for_each_entry(data, &file->triggers, list) {
file              595 kernel/trace/trace_events_trigger.c 			trace_event_trigger_enable_disable(file, 0);
file              596 kernel/trace/trace_events_trigger.c 			update_cond_flag(file);
file              623 kernel/trace/trace_events_trigger.c 		       struct trace_event_file *file,
file              646 kernel/trace/trace_events_trigger.c 	trigger_data->private_data = file;
file              651 kernel/trace/trace_events_trigger.c 		cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file);
file              679 kernel/trace/trace_events_trigger.c 	ret = cmd_ops->set_filter(param, trigger_data, file);
file              686 kernel/trace/trace_events_trigger.c 	ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file);
file              693 kernel/trace/trace_events_trigger.c 		cmd_ops->unreg(glob, trigger_ops, trigger_data, file);
file              728 kernel/trace/trace_events_trigger.c 		       struct trace_event_file *file)
file              747 kernel/trace/trace_events_trigger.c 	ret = create_event_filter(file->tr, file->event_call,
file             1065 kernel/trace/trace_events_trigger.c 	struct trace_event_file *file = data->private_data;
file             1067 kernel/trace/trace_events_trigger.c 	if (file)
file             1068 kernel/trace/trace_events_trigger.c 		tracing_snapshot_instance(file->tr);
file             1089 kernel/trace/trace_events_trigger.c 			  struct trace_event_file *file)
file             1091 kernel/trace/trace_events_trigger.c 	if (tracing_alloc_snapshot_instance(file->tr) != 0)
file             1094 kernel/trace/trace_events_trigger.c 	return register_trigger(glob, ops, data, file);
file             1251 kernel/trace/trace_events_trigger.c 		clear_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &enable_data->file->flags);
file             1253 kernel/trace/trace_events_trigger.c 		set_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &enable_data->file->flags);
file             1266 kernel/trace/trace_events_trigger.c 	if (enable_data->enable == !(enable_data->file->flags & EVENT_FILE_FL_SOFT_DISABLED))
file             1285 kernel/trace/trace_events_trigger.c 		   enable_data->file->event_call->class->system,
file             1286 kernel/trace/trace_events_trigger.c 		   trace_event_name(enable_data->file->event_call));
file             1312 kernel/trace/trace_events_trigger.c 		trace_event_enable_disable(enable_data->file, 0, 1);
file             1313 kernel/trace/trace_events_trigger.c 		module_put(enable_data->file->event_call->mod);
file             1348 kernel/trace/trace_events_trigger.c 			      struct trace_event_file *file,
file             1355 kernel/trace/trace_events_trigger.c 	struct trace_array *tr = file->tr;
file             1413 kernel/trace/trace_events_trigger.c 	enable_data->file = event_enable_file;
file             1417 kernel/trace/trace_events_trigger.c 		cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file);
file             1449 kernel/trace/trace_events_trigger.c 	ret = cmd_ops->set_filter(param, trigger_data, file);
file             1464 kernel/trace/trace_events_trigger.c 	ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file);
file             1496 kernel/trace/trace_events_trigger.c 				  struct trace_event_file *file)
file             1505 kernel/trace/trace_events_trigger.c 	list_for_each_entry(test, &file->triggers, list) {
file             1510 kernel/trace/trace_events_trigger.c 		    (test_enable_data->file == enable_data->file)) {
file             1522 kernel/trace/trace_events_trigger.c 	list_add_rcu(&data->list, &file->triggers);
file             1525 kernel/trace/trace_events_trigger.c 	update_cond_flag(file);
file             1526 kernel/trace/trace_events_trigger.c 	if (trace_event_trigger_enable_disable(file, 1) < 0) {
file             1528 kernel/trace/trace_events_trigger.c 		update_cond_flag(file);
file             1538 kernel/trace/trace_events_trigger.c 				     struct trace_event_file *file)
file             1547 kernel/trace/trace_events_trigger.c 	list_for_each_entry(data, &file->triggers, list) {
file             1552 kernel/trace/trace_events_trigger.c 		    (enable_data->file == test_enable_data->file)) {
file             1555 kernel/trace/trace_events_trigger.c 			trace_event_trigger_enable_disable(file, 0);
file             1556 kernel/trace/trace_events_trigger.c 			update_cond_flag(file);
file             1301 kernel/trace/trace_functions_graph.c graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt,
file             1319 kernel/trace/trace_functions_graph.c graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt,
file              407 kernel/trace/trace_hwlat.c static ssize_t hwlat_read(struct file *filp, char __user *ubuf,
file              444 kernel/trace/trace_hwlat.c hwlat_width_write(struct file *filp, const char __user *ubuf,
file              483 kernel/trace/trace_hwlat.c hwlat_window_write(struct file *filp, const char __user *ubuf,
file              352 kernel/trace/trace_kprobe.c 				struct trace_event_file *file)
file              365 kernel/trace/trace_kprobe.c 	if (file) {
file              366 kernel/trace/trace_kprobe.c 		ret = trace_probe_add_file(tp, file);
file              389 kernel/trace/trace_kprobe.c 		if (file)
file              390 kernel/trace/trace_kprobe.c 			trace_probe_remove_file(tp, file);
file              403 kernel/trace/trace_kprobe.c 				struct trace_event_file *file)
file              411 kernel/trace/trace_kprobe.c 	if (file) {
file              412 kernel/trace/trace_kprobe.c 		if (!trace_probe_get_file_link(tp, file))
file              424 kernel/trace/trace_kprobe.c 	if (file)
file              431 kernel/trace/trace_kprobe.c 		trace_probe_remove_file(tp, file);
file              958 kernel/trace/trace_kprobe.c static int probes_open(struct inode *inode, struct file *file)
file              966 kernel/trace/trace_kprobe.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
file              972 kernel/trace/trace_kprobe.c 	return seq_open(file, &probes_seq_op);
file              975 kernel/trace/trace_kprobe.c static ssize_t probes_write(struct file *file, const char __user *buffer,
file              978 kernel/trace/trace_kprobe.c 	return trace_parse_run_command(file, buffer, count, ppos,
file             1016 kernel/trace/trace_kprobe.c static int profile_open(struct inode *inode, struct file *file)
file             1024 kernel/trace/trace_kprobe.c 	return seq_open(file, &profile_seq_op);
file             1217 kernel/trace/trace_kprobe.c 		__kprobe_trace_func(tk, regs, link->file);
file             1267 kernel/trace/trace_kprobe.c 		__kretprobe_trace_func(tk, ri, regs, link->file);
file             1495 kernel/trace/trace_kprobe.c 	struct trace_event_file *file = data;
file             1499 kernel/trace/trace_kprobe.c 		return enable_trace_kprobe(event, file);
file             1501 kernel/trace/trace_kprobe.c 		return disable_trace_kprobe(event, file);
file             1654 kernel/trace/trace_kprobe.c 	struct trace_event_file *file;
file             1660 kernel/trace/trace_kprobe.c 		list_for_each_entry(file, &tr->events, list)
file             1661 kernel/trace/trace_kprobe.c 			if (file->event_call == trace_probe_event_call(&tk->tp))
file             1662 kernel/trace/trace_kprobe.c 				trace_event_enable_disable(file, 1, 0);
file             1734 kernel/trace/trace_kprobe.c 	struct trace_event_file *file;
file             1736 kernel/trace/trace_kprobe.c 	list_for_each_entry(file, &tr->events, list)
file             1737 kernel/trace/trace_kprobe.c 		if (file->event_call == trace_probe_event_call(&tk->tp))
file             1738 kernel/trace/trace_kprobe.c 			return file;
file             1752 kernel/trace/trace_kprobe.c 	struct trace_event_file *file;
file             1778 kernel/trace/trace_kprobe.c 			file = find_trace_probe_file(tk, top_trace_array());
file             1779 kernel/trace/trace_kprobe.c 			if (WARN_ON_ONCE(file == NULL)) {
file             1784 kernel/trace/trace_kprobe.c 					trace_probe_event_call(&tk->tp), file);
file             1800 kernel/trace/trace_kprobe.c 			file = find_trace_probe_file(tk, top_trace_array());
file             1801 kernel/trace/trace_kprobe.c 			if (WARN_ON_ONCE(file == NULL)) {
file             1806 kernel/trace/trace_kprobe.c 					trace_probe_event_call(&tk->tp), file);
file             1834 kernel/trace/trace_kprobe.c 		file = find_trace_probe_file(tk, top_trace_array());
file             1835 kernel/trace/trace_kprobe.c 		if (WARN_ON_ONCE(file == NULL)) {
file             1840 kernel/trace/trace_kprobe.c 				trace_probe_event_call(&tk->tp), file);
file             1853 kernel/trace/trace_kprobe.c 		file = find_trace_probe_file(tk, top_trace_array());
file             1854 kernel/trace/trace_kprobe.c 		if (WARN_ON_ONCE(file == NULL)) {
file             1859 kernel/trace/trace_kprobe.c 				trace_probe_event_call(&tk->tp), file);
file              133 kernel/trace/trace_mmiotrace.c static ssize_t mmio_read(struct trace_iterator *iter, struct file *filp,
file              371 kernel/trace/trace_output.c 	struct file *file = NULL;
file              384 kernel/trace/trace_output.c 			file = vma->vm_file;
file              387 kernel/trace/trace_output.c 		if (file) {
file              388 kernel/trace/trace_output.c 			ret = trace_seq_path(s, &file->f_path);
file              395 kernel/trace/trace_output.c 	if (ret && ((sym_flags & TRACE_ITER_SYM_ADDR) || !file))
file              350 kernel/trace/trace_printk.c ftrace_formats_open(struct inode *inode, struct file *file)
file              358 kernel/trace/trace_printk.c 	return seq_open(file, &show_format_seq_ops);
file             1048 kernel/trace/trace_probe.c int trace_probe_add_file(struct trace_probe *tp, struct trace_event_file *file)
file             1056 kernel/trace/trace_probe.c 	link->file = file;
file             1064 kernel/trace/trace_probe.c 						  struct trace_event_file *file)
file             1069 kernel/trace/trace_probe.c 		if (link->file == file)
file             1077 kernel/trace/trace_probe.c 			    struct trace_event_file *file)
file             1081 kernel/trace/trace_probe.c 	link = trace_probe_get_file_link(tp, file);
file              251 kernel/trace/trace_probe.h 	struct trace_event_file		*file;
file              337 kernel/trace/trace_probe.h int trace_probe_add_file(struct trace_probe *tp, struct trace_event_file *file);
file              339 kernel/trace/trace_probe.h 			    struct trace_event_file *file);
file              341 kernel/trace/trace_probe.h 						struct trace_event_file *file);
file              325 kernel/trace/trace_stack.c stack_max_size_read(struct file *filp, char __user *ubuf,
file              339 kernel/trace/trace_stack.c stack_max_size_write(struct file *filp, const char __user *ubuf,
file              477 kernel/trace/trace_stack.c static int stack_trace_open(struct inode *inode, struct file *file)
file              485 kernel/trace/trace_stack.c 	return seq_open(file, &stack_trace_seq_ops);
file              498 kernel/trace/trace_stack.c stack_trace_filter_open(struct inode *inode, struct file *file)
file              504 kernel/trace/trace_stack.c 				 inode, file);
file               37 kernel/trace/trace_stat.c 	struct dentry		*file;
file               69 kernel/trace/trace_stat.c 	tracefs_remove(session->file);
file              235 kernel/trace/trace_stat.c static int tracing_stat_open(struct inode *inode, struct file *file)
file              249 kernel/trace/trace_stat.c 	ret = seq_open(file, &trace_stat_seq_ops);
file              255 kernel/trace/trace_stat.c 	m = file->private_data;
file              263 kernel/trace/trace_stat.c static int tracing_stat_release(struct inode *i, struct file *f)
file              302 kernel/trace/trace_stat.c 	session->file = tracefs_create_file(session->ts->name, 0644,
file              305 kernel/trace/trace_stat.c 	if (!session->file)
file              404 kernel/trace/trace_syscalls.c static int reg_event_syscall_enter(struct trace_event_file *file,
file              407 kernel/trace/trace_syscalls.c 	struct trace_array *tr = file->tr;
file              418 kernel/trace/trace_syscalls.c 		rcu_assign_pointer(tr->enter_syscall_files[num], file);
file              425 kernel/trace/trace_syscalls.c static void unreg_event_syscall_enter(struct trace_event_file *file,
file              428 kernel/trace/trace_syscalls.c 	struct trace_array *tr = file->tr;
file              442 kernel/trace/trace_syscalls.c static int reg_event_syscall_exit(struct trace_event_file *file,
file              445 kernel/trace/trace_syscalls.c 	struct trace_array *tr = file->tr;
file              456 kernel/trace/trace_syscalls.c 		rcu_assign_pointer(tr->exit_syscall_files[num], file);
file              463 kernel/trace/trace_syscalls.c static void unreg_event_syscall_exit(struct trace_event_file *file,
file              466 kernel/trace/trace_syscalls.c 	struct trace_array *tr = file->tr;
file              769 kernel/trace/trace_syscalls.c 	struct trace_event_file *file = data;
file              773 kernel/trace/trace_syscalls.c 		return reg_event_syscall_enter(file, event);
file              775 kernel/trace/trace_syscalls.c 		unreg_event_syscall_enter(file, event);
file              797 kernel/trace/trace_syscalls.c 	struct trace_event_file *file = data;
file              801 kernel/trace/trace_syscalls.c 		return reg_event_syscall_exit(file, event);
file              803 kernel/trace/trace_syscalls.c 		unreg_event_syscall_exit(file, event);
file              762 kernel/trace/trace_uprobe.c static int probes_open(struct inode *inode, struct file *file)
file              770 kernel/trace/trace_uprobe.c 	if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
file              776 kernel/trace/trace_uprobe.c 	return seq_open(file, &probes_seq_op);
file              779 kernel/trace/trace_uprobe.c static ssize_t probes_write(struct file *file, const char __user *buffer,
file              782 kernel/trace/trace_uprobe.c 	return trace_parse_run_command(file, buffer, count, ppos,
file              817 kernel/trace/trace_uprobe.c static int profile_open(struct inode *inode, struct file *file)
file              825 kernel/trace/trace_uprobe.c 	return seq_open(file, &profile_seq_op);
file              981 kernel/trace/trace_uprobe.c 		__uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file);
file              995 kernel/trace/trace_uprobe.c 		__uprobe_trace_func(tu, func, regs, ucb, dsize, link->file);
file             1077 kernel/trace/trace_uprobe.c 			struct trace_event_file *file, filter_func_t filter)
file             1090 kernel/trace/trace_uprobe.c 	if (file) {
file             1094 kernel/trace/trace_uprobe.c 		ret = trace_probe_add_file(tp, file);
file             1129 kernel/trace/trace_uprobe.c 	if (file)
file             1130 kernel/trace/trace_uprobe.c 		trace_probe_remove_file(tp, file);
file             1138 kernel/trace/trace_uprobe.c 				struct trace_event_file *file)
file             1149 kernel/trace/trace_uprobe.c 	if (file) {
file             1150 kernel/trace/trace_uprobe.c 		if (trace_probe_remove_file(tp, file) < 0)
file             1424 kernel/trace/trace_uprobe.c 	struct trace_event_file *file = data;
file             1428 kernel/trace/trace_uprobe.c 		return probe_event_enable(event, file, NULL);
file             1431 kernel/trace/trace_uprobe.c 		probe_event_disable(event, file);
file              106 kernel/umh.c   	if (sub_info->file) {
file              107 kernel/umh.c   		retval = do_execve_file(sub_info->file,
file              408 kernel/umh.c   struct subprocess_info *call_usermodehelper_setup_file(struct file *file,
file              428 kernel/umh.c   	sub_info->file = file;
file              438 kernel/umh.c   	struct file *from_umh[2];
file              439 kernel/umh.c   	struct file *to_umh[2];
file              507 kernel/umh.c   	struct file *file;
file              512 kernel/umh.c   	file = shmem_kernel_file_setup("", len, 0);
file              513 kernel/umh.c   	if (IS_ERR(file))
file              514 kernel/umh.c   		return PTR_ERR(file);
file              516 kernel/umh.c   	written = kernel_write(file, data, len, &pos);
file              525 kernel/umh.c   	sub_info = call_usermodehelper_setup_file(file, umh_pipe_setup,
file              537 kernel/umh.c   	fput(file);
file               27 kernel/user_namespace.c static bool new_idmap_permitted(const struct file *file,
file              844 kernel/user_namespace.c static ssize_t map_write(struct file *file, const char __user *buf,
file              850 kernel/user_namespace.c 	struct seq_file *seq = file->private_data;
file              898 kernel/user_namespace.c 	if (cap_valid(cap_setid) && !file_ns_capable(file, ns, CAP_SYS_ADMIN))
file              968 kernel/user_namespace.c 	if (!new_idmap_permitted(file, ns, cap_setid, &new_map))
file             1032 kernel/user_namespace.c ssize_t proc_uid_map_write(struct file *file, const char __user *buf,
file             1035 kernel/user_namespace.c 	struct seq_file *seq = file->private_data;
file             1045 kernel/user_namespace.c 	return map_write(file, buf, size, ppos, CAP_SETUID,
file             1049 kernel/user_namespace.c ssize_t proc_gid_map_write(struct file *file, const char __user *buf,
file             1052 kernel/user_namespace.c 	struct seq_file *seq = file->private_data;
file             1062 kernel/user_namespace.c 	return map_write(file, buf, size, ppos, CAP_SETGID,
file             1066 kernel/user_namespace.c ssize_t proc_projid_map_write(struct file *file, const char __user *buf,
file             1069 kernel/user_namespace.c 	struct seq_file *seq = file->private_data;
file             1080 kernel/user_namespace.c 	return map_write(file, buf, size, ppos, -1,
file             1084 kernel/user_namespace.c static bool new_idmap_permitted(const struct file *file,
file             1088 kernel/user_namespace.c 	const struct cred *cred = file->f_cred;
file             1116 kernel/user_namespace.c 	    file_ns_capable(file, ns->parent, cap_setid))
file             1133 kernel/user_namespace.c ssize_t proc_setgroups_write(struct file *file, const char __user *buf,
file             1136 kernel/user_namespace.c 	struct seq_file *seq = file->private_data;
file              146 lib/bug.c      	const char *file;
file              156 lib/bug.c      	file = NULL;
file              163 lib/bug.c      		file = bug->file;
file              165 lib/bug.c      		file = (const char *)bug + bug->file_disp;
file              195 lib/bug.c      		__warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs,
file              200 lib/bug.c      	if (file)
file              201 lib/bug.c      		pr_crit("kernel BUG at %s:%u!\n", file, line);
file             1026 lib/debugobjects.c static int debug_stats_open(struct inode *inode, struct file *filp)
file              696 lib/dynamic_debug.c static ssize_t ddebug_proc_write(struct file *file, const char __user *ubuf,
file              863 lib/dynamic_debug.c static int ddebug_proc_open(struct inode *inode, struct file *file)
file              866 lib/dynamic_debug.c 	return seq_open_private(file, &ddebug_proc_seqops,
file              204 lib/error-inject.c static int ei_open(struct inode *inode, struct file *filp)
file              218 lib/error-inject.c 	struct dentry *dir, *file;
file              224 lib/error-inject.c 	file = debugfs_create_file("list", 0444, dir, NULL, &debugfs_ei_ops);
file              225 lib/error-inject.c 	if (!file) {
file              630 lib/string_helpers.c char *kstrdup_quotable_file(struct file *file, gfp_t gfp)
file              634 lib/string_helpers.c 	if (!file)
file              642 lib/string_helpers.c 	pathname = file_path(file, temp, PATH_MAX + 11);
file              108 lib/test_firmware.c static ssize_t test_fw_misc_read(struct file *f, char __user *buf,
file              880 lib/vsprintf.c char *file_dentry_name(char *buf, char *end, const struct file *f,
file               64 lib/xz/xz_dec_test.c static int xz_dec_test_open(struct inode *i, struct file *f)
file               83 lib/xz/xz_dec_test.c static int xz_dec_test_release(struct inode *i, struct file *f)
file              102 lib/xz/xz_dec_test.c static ssize_t xz_dec_test_write(struct file *file, const char __user *buf,
file               30 mm/fadvise.c   int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
file               40 mm/fadvise.c   	inode = file_inode(file);
file               44 mm/fadvise.c   	mapping = file->f_mapping;
file               79 mm/fadvise.c   		file->f_ra.ra_pages = bdi->ra_pages;
file               80 mm/fadvise.c   		spin_lock(&file->f_lock);
file               81 mm/fadvise.c   		file->f_mode &= ~FMODE_RANDOM;
file               82 mm/fadvise.c   		spin_unlock(&file->f_lock);
file               85 mm/fadvise.c   		spin_lock(&file->f_lock);
file               86 mm/fadvise.c   		file->f_mode |= FMODE_RANDOM;
file               87 mm/fadvise.c   		spin_unlock(&file->f_lock);
file               90 mm/fadvise.c   		file->f_ra.ra_pages = bdi->ra_pages * 2;
file               91 mm/fadvise.c   		spin_lock(&file->f_lock);
file               92 mm/fadvise.c   		file->f_mode &= ~FMODE_RANDOM;
file               93 mm/fadvise.c   		spin_unlock(&file->f_lock);
file              109 mm/fadvise.c   		force_page_cache_readahead(mapping, file, start_index, nrpages);
file              182 mm/fadvise.c   int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
file              184 mm/fadvise.c   	if (file->f_op->fadvise)
file              185 mm/fadvise.c   		return file->f_op->fadvise(file, offset, len, advice);
file              187 mm/fadvise.c   	return generic_fadvise(file, offset, len, advice);
file              198 mm/fadvise.c   	if (!f.file)
file              201 mm/fadvise.c   	ret = vfs_fadvise(f.file, offset, len, advice);
file              596 mm/filemap.c   int file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte)
file              598 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file              601 mm/filemap.c   	return file_check_and_advance_wb_err(file);
file              732 mm/filemap.c   int file_check_and_advance_wb_err(struct file *file)
file              735 mm/filemap.c   	errseq_t old = READ_ONCE(file->f_wb_err);
file              736 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file              741 mm/filemap.c   		spin_lock(&file->f_lock);
file              742 mm/filemap.c   		old = file->f_wb_err;
file              744 mm/filemap.c   						&file->f_wb_err);
file              745 mm/filemap.c   		trace_file_check_and_advance_wb_err(file, old);
file              746 mm/filemap.c   		spin_unlock(&file->f_lock);
file              776 mm/filemap.c   int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend)
file              779 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file              788 mm/filemap.c   	err2 = file_check_and_advance_wb_err(file);
file             1987 mm/filemap.c   static void shrink_readahead_size_eio(struct file *filp,
file             2012 mm/filemap.c   	struct file *filp = iocb->ki_filp;
file             2283 mm/filemap.c   		struct file *file = iocb->ki_filp;
file             2284 mm/filemap.c   		struct address_space *mapping = file->f_mapping;
file             2301 mm/filemap.c   		file_accessed(file);
file             2344 mm/filemap.c   				     struct file **fpin)
file             2383 mm/filemap.c   static struct file *do_sync_mmap_readahead(struct vm_fault *vmf)
file             2385 mm/filemap.c   	struct file *file = vmf->vma->vm_file;
file             2386 mm/filemap.c   	struct file_ra_state *ra = &file->f_ra;
file             2387 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             2388 mm/filemap.c   	struct file *fpin = NULL;
file             2399 mm/filemap.c   		page_cache_sync_readahead(mapping, ra, file, offset,
file             2422 mm/filemap.c   	ra_submit(ra, mapping, file);
file             2431 mm/filemap.c   static struct file *do_async_mmap_readahead(struct vm_fault *vmf,
file             2434 mm/filemap.c   	struct file *file = vmf->vma->vm_file;
file             2435 mm/filemap.c   	struct file_ra_state *ra = &file->f_ra;
file             2436 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             2437 mm/filemap.c   	struct file *fpin = NULL;
file             2447 mm/filemap.c   		page_cache_async_readahead(mapping, ra, file,
file             2479 mm/filemap.c   	struct file *file = vmf->vma->vm_file;
file             2480 mm/filemap.c   	struct file *fpin = NULL;
file             2481 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             2482 mm/filemap.c   	struct file_ra_state *ra = &file->f_ra;
file             2571 mm/filemap.c   	error = mapping->a_ops->readpage(file, page);
file             2585 mm/filemap.c   	shrink_readahead_size_eio(file, ra);
file             2605 mm/filemap.c   	struct file *file = vmf->vma->vm_file;
file             2606 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             2647 mm/filemap.c   		if (file->f_ra.mmap_miss > 0)
file             2648 mm/filemap.c   			file->f_ra.mmap_miss--;
file             2705 mm/filemap.c   int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
file             2707 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             2711 mm/filemap.c   	file_accessed(file);
file             2719 mm/filemap.c   int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma)
file             2723 mm/filemap.c   	return generic_file_mmap(file, vma);
file             2730 mm/filemap.c   int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
file             2734 mm/filemap.c   int generic_file_readonly_mmap(struct file * file, struct vm_area_struct * vma)
file             2905 mm/filemap.c   static int generic_write_check_limits(struct file *file, loff_t pos,
file             2908 mm/filemap.c   	struct inode *inode = file->f_mapping->host;
file             2920 mm/filemap.c   	if (!(file->f_flags & O_LARGEFILE))
file             2940 mm/filemap.c   	struct file *file = iocb->ki_filp;
file             2941 mm/filemap.c   	struct inode *inode = file->f_mapping->host;
file             2959 mm/filemap.c   	ret = generic_write_check_limits(file, iocb->ki_pos, &count);
file             2975 mm/filemap.c   int generic_remap_checks(struct file *file_in, loff_t pos_in,
file             2976 mm/filemap.c   			 struct file *file_out, loff_t pos_out,
file             3050 mm/filemap.c   int generic_file_rw_checks(struct file *file_in, struct file *file_out)
file             3076 mm/filemap.c   int generic_copy_file_checks(struct file *file_in, loff_t pos_in,
file             3077 mm/filemap.c   			     struct file *file_out, loff_t pos_out,
file             3122 mm/filemap.c   int pagecache_write_begin(struct file *file, struct address_space *mapping,
file             3128 mm/filemap.c   	return aops->write_begin(file, mapping, pos, len, flags,
file             3133 mm/filemap.c   int pagecache_write_end(struct file *file, struct address_space *mapping,
file             3139 mm/filemap.c   	return aops->write_end(file, mapping, pos, len, copied, page, fsdata);
file             3146 mm/filemap.c   	struct file	*file = iocb->ki_filp;
file             3147 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             3243 mm/filemap.c   ssize_t generic_perform_write(struct file *file,
file             3246 mm/filemap.c   	struct address_space *mapping = file->f_mapping;
file             3284 mm/filemap.c   		status = a_ops->write_begin(file, mapping, pos, bytes, flags,
file             3295 mm/filemap.c   		status = a_ops->write_end(file, mapping, pos, bytes, copied,
file             3350 mm/filemap.c   	struct file *file = iocb->ki_filp;
file             3351 mm/filemap.c   	struct address_space * mapping = file->f_mapping;
file             3359 mm/filemap.c   	err = file_remove_privs(file);
file             3363 mm/filemap.c   	err = file_update_time(file);
file             3381 mm/filemap.c   		status = generic_perform_write(file, from, pos = iocb->ki_pos);
file             3413 mm/filemap.c   		written = generic_perform_write(file, from, iocb->ki_pos);
file             3438 mm/filemap.c   	struct file *file = iocb->ki_filp;
file             3439 mm/filemap.c   	struct inode *inode = file->f_mapping->host;
file               95 mm/gup_benchmark.c static long gup_benchmark_ioctl(struct file *filep, unsigned int cmd,
file              522 mm/huge_memory.c static unsigned long __thp_get_unmapped_area(struct file *filp,
file              558 mm/huge_memory.c unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr,
file               53 mm/internal.h  		struct file *filp, pgoff_t offset, unsigned long nr_to_read,
file               60 mm/internal.h  		struct address_space *mapping, struct file *filp)
file              365 mm/internal.h  static inline struct file *maybe_unlock_mmap_for_io(struct vm_fault *vmf,
file              366 mm/internal.h  						    struct file *fpin)
file              495 mm/internal.h  extern unsigned long  __must_check vm_mmap_pgoff(struct file *, unsigned long,
file             1493 mm/khugepaged.c 		struct file *file, pgoff_t start,
file             1496 mm/khugepaged.c 	struct address_space *mapping = file->f_mapping;
file             1504 mm/khugepaged.c 	bool is_shmem = shmem_file(file);
file             1595 mm/khugepaged.c 				page_cache_sync_readahead(mapping, &file->f_ra,
file             1596 mm/khugepaged.c 							  file, index,
file             1816 mm/khugepaged.c 		struct file *file, pgoff_t start, struct page **hpage)
file             1819 mm/khugepaged.c 	struct address_space *mapping = file->f_mapping;
file             1884 mm/khugepaged.c 			collapse_file(mm, file, start, hpage, node);
file             1892 mm/khugepaged.c 		struct file *file, pgoff_t start, struct page **hpage)
file             1972 mm/khugepaged.c 				struct file *file;
file             1979 mm/khugepaged.c 				file = get_file(vma->vm_file);
file             1982 mm/khugepaged.c 				khugepaged_scan_file(mm, file, pgoff, hpage);
file             1983 mm/khugepaged.c 				fput(file);
file             1698 mm/kmemleak.c  static int kmemleak_open(struct inode *inode, struct file *file)
file             1700 mm/kmemleak.c  	return seq_open(file, &kmemleak_seq_ops);
file             1767 mm/kmemleak.c  static ssize_t kmemleak_write(struct file *file, const char __user *user_buf,
file              257 mm/madvise.c   	struct file *file = vma->vm_file;
file              262 mm/madvise.c   	if (!file) {
file              268 mm/madvise.c   	if (shmem_mapping(file->f_mapping)) {
file              270 mm/madvise.c   					file->f_mapping);
file              274 mm/madvise.c   	if (!file)
file              278 mm/madvise.c   	if (IS_DAX(file_inode(file))) {
file              290 mm/madvise.c   	get_file(file);
file              294 mm/madvise.c   	vfs_fadvise(file, offset, end - start, POSIX_FADV_WILLNEED);
file              295 mm/madvise.c   	fput(file);
file              826 mm/madvise.c   	struct file *f;
file             4677 mm/memcontrol.c static void memcg_event_ptable_queue_proc(struct file *file,
file             4732 mm/memcontrol.c 	if (!efile.file) {
file             4737 mm/memcontrol.c 	event->eventfd = eventfd_ctx_fileget(efile.file);
file             4744 mm/memcontrol.c 	if (!cfile.file) {
file             4751 mm/memcontrol.c 	ret = inode_permission(file_inode(cfile.file), MAY_READ);
file             4763 mm/memcontrol.c 	name = cfile.file->f_path.dentry->d_name.name;
file             4787 mm/memcontrol.c 	cfile_css = css_tryget_online_from_dir(cfile.file->f_path.dentry->d_parent,
file             4801 mm/memcontrol.c 	vfs_poll(efile.file, &event->pt);
file              120 mm/memfd.c     static unsigned int *memfd_file_seals_ptr(struct file *file)
file              122 mm/memfd.c     	if (shmem_file(file))
file              123 mm/memfd.c     		return &SHMEM_I(file_inode(file))->seals;
file              126 mm/memfd.c     	if (is_file_hugepages(file))
file              127 mm/memfd.c     		return &HUGETLBFS_I(file_inode(file))->seals;
file              139 mm/memfd.c     static int memfd_add_seals(struct file *file, unsigned int seals)
file              141 mm/memfd.c     	struct inode *inode = file_inode(file);
file              176 mm/memfd.c     	if (!(file->f_mode & FMODE_WRITE))
file              183 mm/memfd.c     	file_seals = memfd_file_seals_ptr(file);
file              195 mm/memfd.c     		error = mapping_deny_writable(file->f_mapping);
file              199 mm/memfd.c     		error = memfd_wait_for_pins(file->f_mapping);
file              201 mm/memfd.c     			mapping_allow_writable(file->f_mapping);
file              214 mm/memfd.c     static int memfd_get_seals(struct file *file)
file              216 mm/memfd.c     	unsigned int *seals = memfd_file_seals_ptr(file);
file              221 mm/memfd.c     long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
file              231 mm/memfd.c     		error = memfd_add_seals(file, arg);
file              234 mm/memfd.c     		error = memfd_get_seals(file);
file              255 mm/memfd.c     	struct file *file;
file              302 mm/memfd.c     		file = hugetlb_file_setup(name, 0, VM_NORESERVE, &user,
file              307 mm/memfd.c     		file = shmem_file_setup(name, 0, VM_NORESERVE);
file              308 mm/memfd.c     	if (IS_ERR(file)) {
file              309 mm/memfd.c     		error = PTR_ERR(file);
file              312 mm/memfd.c     	file->f_mode |= FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE;
file              313 mm/memfd.c     	file->f_flags |= O_LARGEFILE;
file              316 mm/memfd.c     		file_seals = memfd_file_seals_ptr(file);
file              320 mm/memfd.c     	fd_install(fd, file);
file             2178 mm/memory.c    	struct file *vm_file = vma->vm_file;
file             2262 mm/memory.c    		struct file *fpin;
file             4433 mm/memory.c    		struct file *f = vma->vm_file;
file             4451 mm/memory.c    void __might_fault(const char *file, int line)
file             4463 mm/memory.c    	__might_sleep(file, line, 0);
file              140 mm/mmap.c      		struct file *file, struct address_space *mapping)
file              143 mm/mmap.c      		atomic_inc(&file_inode(file)->i_writecount);
file              158 mm/mmap.c      	struct file *file = vma->vm_file;
file              160 mm/mmap.c      	if (file) {
file              161 mm/mmap.c      		struct address_space *mapping = file->f_mapping;
file              163 mm/mmap.c      		__remove_shared_vm_struct(vma, file, mapping);
file              614 mm/mmap.c      	struct file *file;
file              616 mm/mmap.c      	file = vma->vm_file;
file              617 mm/mmap.c      	if (file) {
file              618 mm/mmap.c      		struct address_space *mapping = file->f_mapping;
file              621 mm/mmap.c      			atomic_dec(&file_inode(file)->i_writecount);
file              726 mm/mmap.c      	struct file *file = vma->vm_file;
file              753 mm/mmap.c      				VM_WARN_ON(file != next->vm_file);
file              818 mm/mmap.c      	if (file) {
file              819 mm/mmap.c      		mapping = file->f_mapping;
file              896 mm/mmap.c      		if (file)
file              897 mm/mmap.c      			__remove_shared_vm_struct(next, file, mapping);
file              933 mm/mmap.c      		if (file) {
file              935 mm/mmap.c      			fput(file);
file              998 mm/mmap.c      	if (insert && file)
file             1011 mm/mmap.c      				struct file *file, unsigned long vm_flags,
file             1024 mm/mmap.c      	if (vma->vm_file != file)
file             1060 mm/mmap.c      		     struct anon_vma *anon_vma, struct file *file,
file             1064 mm/mmap.c      	if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) &&
file             1081 mm/mmap.c      		    struct anon_vma *anon_vma, struct file *file,
file             1085 mm/mmap.c      	if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) &&
file             1138 mm/mmap.c      			struct anon_vma *anon_vma, struct file *file,
file             1172 mm/mmap.c      					    anon_vma, file, pgoff,
file             1180 mm/mmap.c      						     anon_vma, file,
file             1204 mm/mmap.c      					     anon_vma, file, pgoff+pglen,
file             1354 mm/mmap.c      static inline u64 file_mmap_size_max(struct file *file, struct inode *inode)
file             1366 mm/mmap.c      	if (file->f_mode & FMODE_UNSIGNED_OFFSET)
file             1373 mm/mmap.c      static inline bool file_mmap_ok(struct file *file, struct inode *inode,
file             1376 mm/mmap.c      	u64 maxsize = file_mmap_size_max(file, inode);
file             1389 mm/mmap.c      unsigned long do_mmap(struct file *file, unsigned long addr,
file             1410 mm/mmap.c      		if (!(file && path_noexec(&file->f_path)))
file             1436 mm/mmap.c      	addr = get_unmapped_area(file, addr, len, pgoff, flags);
file             1467 mm/mmap.c      	if (file) {
file             1468 mm/mmap.c      		struct inode *inode = file_inode(file);
file             1471 mm/mmap.c      		if (!file_mmap_ok(file, inode, pgoff, len))
file             1474 mm/mmap.c      		flags_mask = LEGACY_MAP_MASK | file->f_op->mmap_supported_flags;
file             1491 mm/mmap.c      				if (!(file->f_mode & FMODE_WRITE))
file             1493 mm/mmap.c      				if (IS_SWAPFILE(file->f_mapping->host))
file             1501 mm/mmap.c      			if (IS_APPEND(inode) && (file->f_mode & FMODE_WRITE))
file             1507 mm/mmap.c      			if (locks_verify_locked(file))
file             1511 mm/mmap.c      			if (!(file->f_mode & FMODE_WRITE))
file             1516 mm/mmap.c      			if (!(file->f_mode & FMODE_READ))
file             1518 mm/mmap.c      			if (path_noexec(&file->f_path)) {
file             1524 mm/mmap.c      			if (!file->f_op->mmap)
file             1565 mm/mmap.c      		if (file && is_file_hugepages(file))
file             1569 mm/mmap.c      	addr = mmap_region(file, addr, len, vm_flags, pgoff, uf);
file             1581 mm/mmap.c      	struct file *file = NULL;
file             1586 mm/mmap.c      		file = fget(fd);
file             1587 mm/mmap.c      		if (!file)
file             1589 mm/mmap.c      		if (is_file_hugepages(file))
file             1590 mm/mmap.c      			len = ALIGN(len, huge_page_size(hstate_file(file)));
file             1592 mm/mmap.c      		if (unlikely(flags & MAP_HUGETLB && !is_file_hugepages(file)))
file             1609 mm/mmap.c      		file = hugetlb_file_setup(HUGETLB_ANON_FILE, len,
file             1613 mm/mmap.c      		if (IS_ERR(file))
file             1614 mm/mmap.c      			return PTR_ERR(file);
file             1619 mm/mmap.c      	retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff);
file             1621 mm/mmap.c      	if (file)
file             1622 mm/mmap.c      		fput(file);
file             1699 mm/mmap.c      static inline int accountable_mapping(struct file *file, vm_flags_t vm_flags)
file             1705 mm/mmap.c      	if (file && is_file_hugepages(file))
file             1711 mm/mmap.c      unsigned long mmap_region(struct file *file, unsigned long addr,
file             1746 mm/mmap.c      	if (accountable_mapping(file, vm_flags)) {
file             1757 mm/mmap.c      			NULL, file, pgoff, NULL, NULL_VM_UFFD_CTX);
file             1778 mm/mmap.c      	if (file) {
file             1780 mm/mmap.c      			error = deny_write_access(file);
file             1785 mm/mmap.c      			error = mapping_map_writable(file->f_mapping);
file             1795 mm/mmap.c      		vma->vm_file = get_file(file);
file             1796 mm/mmap.c      		error = call_mmap(file, vma);
file             1821 mm/mmap.c      	if (file) {
file             1823 mm/mmap.c      			mapping_unmap_writable(file->f_mapping);
file             1825 mm/mmap.c      			allow_write_access(file);
file             1827 mm/mmap.c      	file = vma->vm_file;
file             1841 mm/mmap.c      	if (file)
file             1859 mm/mmap.c      	fput(file);
file             1865 mm/mmap.c      		mapping_unmap_writable(file->f_mapping);
file             1868 mm/mmap.c      		allow_write_access(file);
file             2101 mm/mmap.c      arch_get_unmapped_area(struct file *filp, unsigned long addr,
file             2139 mm/mmap.c      arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr,
file             2191 mm/mmap.c      get_unmapped_area(struct file *file, unsigned long addr, unsigned long len,
file             2194 mm/mmap.c      	unsigned long (*get_area)(struct file *, unsigned long,
file             2206 mm/mmap.c      	if (file) {
file             2207 mm/mmap.c      		if (file->f_op->get_unmapped_area)
file             2208 mm/mmap.c      			get_area = file->f_op->get_unmapped_area;
file             2219 mm/mmap.c      	addr = get_area(file, addr, len, pgoff, flags);
file             2899 mm/mmap.c      	struct file *file;
file             2974 mm/mmap.c      	file = get_file(vma->vm_file);
file             2977 mm/mmap.c      	fput(file);
file               63 mm/msync.c     		struct file *file;
file               83 mm/msync.c     		file = vma->vm_file;
file               88 mm/msync.c     		if ((flags & MS_SYNC) && file &&
file               90 mm/msync.c     			get_file(file);
file               92 mm/msync.c     			error = vfs_fsync_range(file, fstart, fend, 1);
file               93 mm/msync.c     			fput(file);
file              784 mm/nommu.c     static int validate_mmap_request(struct file *file,
file              815 mm/nommu.c     	if (file) {
file              817 mm/nommu.c     		if (!file->f_op->mmap)
file              824 mm/nommu.c     		if (file->f_op->mmap_capabilities) {
file              825 mm/nommu.c     			capabilities = file->f_op->mmap_capabilities(file);
file              829 mm/nommu.c     			switch (file_inode(file)->i_mode & S_IFMT) {
file              849 mm/nommu.c     		if (!file->f_op->get_unmapped_area)
file              851 mm/nommu.c     		if (!(file->f_mode & FMODE_CAN_READ))
file              855 mm/nommu.c     		if (!(file->f_mode & FMODE_READ))
file              861 mm/nommu.c     			    !(file->f_mode & FMODE_WRITE))
file              864 mm/nommu.c     			if (IS_APPEND(file_inode(file)) &&
file              865 mm/nommu.c     			    (file->f_mode & FMODE_WRITE))
file              868 mm/nommu.c     			if (locks_verify_locked(file))
file              903 mm/nommu.c     		if (path_noexec(&file->f_path)) {
file              945 mm/nommu.c     static unsigned long determine_vm_flags(struct file *file,
file              958 mm/nommu.c     		if (file && !(prot & PROT_WRITE))
file             1098 mm/nommu.c     unsigned long do_mmap(struct file *file,
file             1118 mm/nommu.c     	ret = validate_mmap_request(file, addr, len, prot, flags, pgoff,
file             1129 mm/nommu.c     	vm_flags |= determine_vm_flags(file, prot, flags, capabilities);
file             1147 mm/nommu.c     	if (file) {
file             1148 mm/nommu.c     		region->vm_file = get_file(file);
file             1149 mm/nommu.c     		vma->vm_file = get_file(file);
file             1177 mm/nommu.c     			    file_inode(file))
file             1232 mm/nommu.c     			addr = file->f_op->get_unmapped_area(file, addr, len,
file             1259 mm/nommu.c     	if (file && vma->vm_flags & VM_SHARED)
file             1328 mm/nommu.c     	struct file *file = NULL;
file             1333 mm/nommu.c     		file = fget(fd);
file             1334 mm/nommu.c     		if (!file)
file             1340 mm/nommu.c     	retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff);
file             1342 mm/nommu.c     	if (file)
file             1343 mm/nommu.c     		fput(file);
file             1687 mm/nommu.c     unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
file              121 mm/page_idle.c static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj,
file              166 mm/page_idle.c static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj,
file              147 mm/page_io.c   				struct file *swap_file,
file              287 mm/page_io.c   		struct file *swap_file = sis->swap_file;
file              368 mm/page_io.c   		struct file *swap_file = sis->swap_file;
file              457 mm/page_owner.c read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos)
file              116 mm/readahead.c static int read_pages(struct address_space *mapping, struct file *filp,
file              156 mm/readahead.c 		struct file *filp, pgoff_t offset, unsigned long nr_to_read,
file              222 mm/readahead.c int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
file              383 mm/readahead.c 		   struct file_ra_state *ra, struct file *filp,
file              510 mm/readahead.c 			       struct file_ra_state *ra, struct file *filp,
file              548 mm/readahead.c 			   struct file_ra_state *ra, struct file *filp,
file              585 mm/readahead.c 	if (!f.file || !(f.file->f_mode & FMODE_READ))
file              594 mm/readahead.c 	if (!f.file->f_mapping || !f.file->f_mapping->a_ops ||
file              595 mm/readahead.c 	    !S_ISREG(file_inode(f.file)->i_mode))
file              598 mm/readahead.c 	ret = vfs_fadvise(f.file, offset, count, POSIX_FADV_WILLNEED);
file             2025 mm/shmem.c     			struct file *fpin;
file             2073 mm/shmem.c     unsigned long shmem_get_unmapped_area(struct file *file,
file             2077 mm/shmem.c     	unsigned long (*get_area)(struct file *,
file             2089 mm/shmem.c     	addr = get_area(file, uaddr, len, pgoff, flags);
file             2118 mm/shmem.c     		if (file) {
file             2119 mm/shmem.c     			VM_BUG_ON(file->f_op != &shmem_file_operations);
file             2120 mm/shmem.c     			sb = file_inode(file)->i_sb;
file             2180 mm/shmem.c     int shmem_lock(struct file *file, int lock, struct user_struct *user)
file             2182 mm/shmem.c     	struct inode *inode = file_inode(file);
file             2195 mm/shmem.c     		mapping_set_unevictable(file->f_mapping);
file             2200 mm/shmem.c     		mapping_clear_unevictable(file->f_mapping);
file             2208 mm/shmem.c     static int shmem_mmap(struct file *file, struct vm_area_struct *vma)
file             2210 mm/shmem.c     	struct shmem_inode_info *info = SHMEM_I(file_inode(file));
file             2231 mm/shmem.c     	file_accessed(file);
file             2473 mm/shmem.c     shmem_write_begin(struct file *file, struct address_space *mapping,
file             2494 mm/shmem.c     shmem_write_end(struct file *file, struct address_space *mapping,
file             2531 mm/shmem.c     	struct file *file = iocb->ki_filp;
file             2532 mm/shmem.c     	struct inode *inode = file_inode(file);
file             2635 mm/shmem.c     	file_accessed(file);
file             2689 mm/shmem.c     static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence)
file             2691 mm/shmem.c     	struct address_space *mapping = file->f_mapping;
file             2697 mm/shmem.c     		return generic_file_llseek_size(file, offset, whence,
file             2720 mm/shmem.c     		offset = vfs_setpos(file, offset, MAX_LFS_FILESIZE);
file             2725 mm/shmem.c     static long shmem_fallocate(struct file *file, int mode, loff_t offset,
file             2728 mm/shmem.c     	struct inode *inode = file_inode(file);
file             2741 mm/shmem.c     		struct address_space *mapping = file->f_mapping;
file             4061 mm/shmem.c     int shmem_lock(struct file *file, int lock, struct user_struct *user)
file             4071 mm/shmem.c     unsigned long shmem_get_unmapped_area(struct file *file,
file             4075 mm/shmem.c     	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
file             4095 mm/shmem.c     static struct file *__shmem_file_setup(struct vfsmount *mnt, const char *name, loff_t size,
file             4099 mm/shmem.c     	struct file *res;
file             4138 mm/shmem.c     struct file *shmem_kernel_file_setup(const char *name, loff_t size, unsigned long flags)
file             4149 mm/shmem.c     struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags)
file             4162 mm/shmem.c     struct file *shmem_file_setup_with_mnt(struct vfsmount *mnt, const char *name,
file             4175 mm/shmem.c     	struct file *file;
file             4184 mm/shmem.c     	file = shmem_kernel_file_setup("dev/zero", size, vma->vm_flags);
file             4185 mm/shmem.c     	if (IS_ERR(file))
file             4186 mm/shmem.c     		return PTR_ERR(file);
file             4190 mm/shmem.c     	vma->vm_file = file;
file             4115 mm/slab.c      ssize_t slabinfo_write(struct file *file, const char __user *buffer,
file              243 mm/slab.h      struct file;
file              260 mm/slab.h      ssize_t slabinfo_write(struct file *file, const char __user *buffer,
file             1571 mm/slab_common.c static int slabinfo_open(struct inode *inode, struct file *file)
file             1573 mm/slab_common.c 	return seq_open(file, &slabinfo_op);
file             5944 mm/slub.c      ssize_t slabinfo_write(struct file *file, const char __user *buffer,
file              266 mm/swap.c      				     int file, int rotated)
file              270 mm/swap.c      	reclaim_stat->recent_scanned[file]++;
file              272 mm/swap.c      		reclaim_stat->recent_rotated[file]++;
file              279 mm/swap.c      		int file = page_is_file_cache(page);
file              289 mm/swap.c      		update_page_reclaim_stat(lruvec, file, 1);
file              499 mm/swap.c      	int lru, file;
file              513 mm/swap.c      	file = page_is_file_cache(page);
file              539 mm/swap.c      	update_page_reclaim_stat(lruvec, file, 0);
file              546 mm/swap.c      		int file = page_is_file_cache(page);
file              555 mm/swap.c      		update_page_reclaim_stat(lruvec, file, 0);
file              872 mm/swap.c      	const int file = 0;
file              901 mm/swap.c      		update_page_reclaim_stat(lruvec, file, PageActive(page_tail));
file             2295 mm/swapfile.c  		struct file *swap_file = sis->swap_file;
file             2383 mm/swapfile.c  	struct file *swap_file = sis->swap_file;
file             2521 mm/swapfile.c  	struct file *swap_file, *victim;
file             2694 mm/swapfile.c  static __poll_t swaps_poll(struct file *file, poll_table *wait)
file             2696 mm/swapfile.c  	struct seq_file *seq = file->private_data;
file             2698 mm/swapfile.c  	poll_wait(file, &proc_poll_wait, wait);
file             2758 mm/swapfile.c  	struct file *file;
file             2766 mm/swapfile.c  	file = si->swap_file;
file             2767 mm/swapfile.c  	len = seq_file_path(swap, file, " \t\n\\");
file             2770 mm/swapfile.c  			S_ISBLK(file_inode(file)->i_mode) ?
file             2785 mm/swapfile.c  static int swaps_open(struct inode *inode, struct file *file)
file             2790 mm/swapfile.c  	ret = seq_open(file, &swaps_op);
file             2794 mm/swapfile.c  	seq = file->private_data;
file             3102 mm/swapfile.c  	struct file *swap_file = NULL;
file              483 mm/util.c      unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr,
file              492 mm/util.c      	ret = security_mmap_file(file, prot, flag);
file              496 mm/util.c      		ret = do_mmap_pgoff(file, addr, len, prot, flag, pgoff,
file              506 mm/util.c      unsigned long vm_mmap(struct file *file, unsigned long addr,
file              515 mm/util.c      	return vm_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
file             1828 mm/vmscan.c    static int too_many_isolated(struct pglist_data *pgdat, int file,
file             1839 mm/vmscan.c    	if (file) {
file             1956 mm/vmscan.c    	int file = is_file_lru(lru);
file             1962 mm/vmscan.c    	while (unlikely(too_many_isolated(pgdat, file, sc))) {
file             1982 mm/vmscan.c    	__mod_node_page_state(pgdat, NR_ISOLATED_ANON + file, nr_taken);
file             1983 mm/vmscan.c    	reclaim_stat->recent_scanned[file] += nr_taken;
file             2008 mm/vmscan.c    	__mod_node_page_state(pgdat, NR_ISOLATED_ANON + file, -nr_taken);
file             2035 mm/vmscan.c    	if (file)
file             2039 mm/vmscan.c    			nr_scanned, nr_reclaimed, &stat, sc->priority, file);
file             2058 mm/vmscan.c    	int file = is_file_lru(lru);
file             2068 mm/vmscan.c    	__mod_node_page_state(pgdat, NR_ISOLATED_ANON + file, nr_taken);
file             2069 mm/vmscan.c    	reclaim_stat->recent_scanned[file] += nr_taken;
file             2127 mm/vmscan.c    	reclaim_stat->recent_rotated[file] += nr_rotated;
file             2137 mm/vmscan.c    	__mod_node_page_state(pgdat, NR_ISOLATED_ANON + file, -nr_taken);
file             2143 mm/vmscan.c    			nr_deactivate, nr_rotated, sc->priority, file);
file             2230 mm/vmscan.c    static bool inactive_list_is_low(struct lruvec *lruvec, bool file,
file             2233 mm/vmscan.c    	enum lru_list active_lru = file * LRU_FILE + LRU_ACTIVE;
file             2235 mm/vmscan.c    	enum lru_list inactive_lru = file * LRU_FILE;
file             2245 mm/vmscan.c    	if (!file && !total_swap_pages)
file             2257 mm/vmscan.c    	if (file && lruvec->refaults != refaults) {
file             2271 mm/vmscan.c    			inactive_ratio, file);
file             2315 mm/vmscan.c    	unsigned long anon, file;
file             2427 mm/vmscan.c    	file  = lruvec_lru_size(lruvec, LRU_ACTIVE_FILE, MAX_NR_ZONES) +
file             2436 mm/vmscan.c    	if (unlikely(reclaim_stat->recent_scanned[1] > file / 4)) {
file             2459 mm/vmscan.c    		int file = is_file_lru(lru);
file             2538 mm/vmscan.c    			       div64_u64(scan * fraction[file], denominator) :
file             2539 mm/vmscan.c    			       DIV64_U64_ROUND_UP(scan * fraction[file],
file             2545 mm/vmscan.c    			if ((scan_balance == SCAN_FILE) != file) {
file             2070 mm/vmstat.c    static int unusable_open(struct inode *inode, struct file *file)
file             2072 mm/vmstat.c    	return seq_open(file, &unusable_op);
file             2122 mm/vmstat.c    static int extfrag_open(struct inode *inode, struct file *file)
file             2124 mm/vmstat.c    	return seq_open(file, &extfrag_op);
file               97 net/6lowpan/debugfs.c static int lowpan_ctx_pfx_show(struct seq_file *file, void *offset)
file               99 net/6lowpan/debugfs.c 	struct lowpan_iphc_ctx *ctx = file->private;
file              104 net/6lowpan/debugfs.c 	seq_printf(file, "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",
file              118 net/6lowpan/debugfs.c static int lowpan_ctx_pfx_open(struct inode *inode, struct file *file)
file              120 net/6lowpan/debugfs.c 	return single_open(file, lowpan_ctx_pfx_show, inode->i_private);
file              123 net/6lowpan/debugfs.c static ssize_t lowpan_ctx_pfx_write(struct file *fp,
file              128 net/6lowpan/debugfs.c 	struct seq_file *file = fp->private_data;
file              129 net/6lowpan/debugfs.c 	struct lowpan_iphc_ctx *ctx = file->private;
file              192 net/6lowpan/debugfs.c static int lowpan_context_show(struct seq_file *file, void *offset)
file              194 net/6lowpan/debugfs.c 	struct lowpan_iphc_ctx_table *t = file->private;
file              197 net/6lowpan/debugfs.c 	seq_printf(file, "%3s|%-43s|%c\n", "cid", "prefix", 'C');
file              198 net/6lowpan/debugfs.c 	seq_puts(file, "-------------------------------------------------\n");
file              205 net/6lowpan/debugfs.c 		seq_printf(file, "%3d|%39pI6c/%-3d|%d\n", t->table[i].id,
file              143 net/9p/trans_fd.c 	struct file *rd;
file              144 net/9p/trans_fd.c 	struct file *wr;
file              544 net/9p/trans_fd.c p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p)
file              825 net/9p/trans_fd.c 	struct file *file;
file              832 net/9p/trans_fd.c 	file = sock_alloc_file(csocket, 0, NULL);
file              833 net/9p/trans_fd.c 	if (IS_ERR(file)) {
file              837 net/9p/trans_fd.c 		return PTR_ERR(file);
file              840 net/9p/trans_fd.c 	get_file(file);
file              841 net/9p/trans_fd.c 	p->wr = p->rd = file;
file              651 net/atm/common.c __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait)
file              657 net/atm/common.c 	sock_poll_wait(file, sock, wait);
file               20 net/atm/common.h __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait);
file               50 net/atm/mpoa_proc.c static int proc_mpc_open(struct inode *inode, struct file *file);
file               51 net/atm/mpoa_proc.c static ssize_t proc_mpc_write(struct file *file, const char __user *buff,
file              204 net/atm/mpoa_proc.c static int proc_mpc_open(struct inode *inode, struct file *file)
file              206 net/atm/mpoa_proc.c 	return seq_open(file, &mpc_op);
file              209 net/atm/mpoa_proc.c static ssize_t proc_mpc_write(struct file *file, const char __user *buff,
file               36 net/atm/proc.c static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
file              111 net/atm/proc.c 	int family = (uintptr_t)(PDE_DATA(file_inode(seq->file)));
file              316 net/atm/proc.c static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
file              328 net/atm/proc.c 	dev = PDE_DATA(file_inode(file));
file               44 net/batman-adv/debugfs.c void batadv_debugfs_deprecated(struct file *file, const char *alt)
file               46 net/batman-adv/debugfs.c 	struct dentry *dentry = file_dentry(file);
file               53 net/batman-adv/debugfs.c static int batadv_algorithms_open(struct inode *inode, struct file *file)
file               55 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file               57 net/batman-adv/debugfs.c 	return single_open(file, batadv_algo_seq_print_text, NULL);
file               60 net/batman-adv/debugfs.c static int neighbors_open(struct inode *inode, struct file *file)
file               64 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file               66 net/batman-adv/debugfs.c 	return single_open(file, batadv_hardif_neigh_seq_print_text, net_dev);
file               69 net/batman-adv/debugfs.c static int batadv_originators_open(struct inode *inode, struct file *file)
file               73 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file               75 net/batman-adv/debugfs.c 	return single_open(file, batadv_orig_seq_print_text, net_dev);
file               87 net/batman-adv/debugfs.c 					  struct file *file)
file               91 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file               93 net/batman-adv/debugfs.c 	return single_open(file, batadv_orig_hardif_seq_print_text, net_dev);
file               96 net/batman-adv/debugfs.c static int batadv_gateways_open(struct inode *inode, struct file *file)
file              100 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              102 net/batman-adv/debugfs.c 	return single_open(file, batadv_gw_client_seq_print_text, net_dev);
file              105 net/batman-adv/debugfs.c static int batadv_transtable_global_open(struct inode *inode, struct file *file)
file              109 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              111 net/batman-adv/debugfs.c 	return single_open(file, batadv_tt_global_seq_print_text, net_dev);
file              115 net/batman-adv/debugfs.c static int batadv_bla_claim_table_open(struct inode *inode, struct file *file)
file              119 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              121 net/batman-adv/debugfs.c 	return single_open(file, batadv_bla_claim_table_seq_print_text,
file              126 net/batman-adv/debugfs.c 					  struct file *file)
file              130 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              132 net/batman-adv/debugfs.c 	return single_open(file, batadv_bla_backbone_table_seq_print_text,
file              146 net/batman-adv/debugfs.c static int batadv_dat_cache_open(struct inode *inode, struct file *file)
file              150 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              152 net/batman-adv/debugfs.c 	return single_open(file, batadv_dat_cache_seq_print_text, net_dev);
file              156 net/batman-adv/debugfs.c static int batadv_transtable_local_open(struct inode *inode, struct file *file)
file              160 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              162 net/batman-adv/debugfs.c 	return single_open(file, batadv_tt_local_seq_print_text, net_dev);
file              171 net/batman-adv/debugfs.c static int batadv_nc_nodes_open(struct inode *inode, struct file *file)
file              175 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file, "");
file              176 net/batman-adv/debugfs.c 	return single_open(file, batadv_nc_nodes_seq_print_text, net_dev);
file              188 net/batman-adv/debugfs.c static int batadv_mcast_flags_open(struct inode *inode, struct file *file)
file              192 net/batman-adv/debugfs.c 	batadv_debugfs_deprecated(file,
file              194 net/batman-adv/debugfs.c 	return single_open(file, batadv_mcast_flags_seq_print_text, net_dev);
file               19 net/batman-adv/debugfs.h void batadv_debugfs_deprecated(struct file *file, const char *alt);
file               31 net/batman-adv/debugfs.h static inline void batadv_debugfs_deprecated(struct file *file, const char *alt)
file               89 net/batman-adv/distributed-arp-table.c 	__u8 file[128];
file               58 net/batman-adv/icmp_socket.c static int batadv_socket_open(struct inode *inode, struct file *file)
file               66 net/batman-adv/icmp_socket.c 	batadv_debugfs_deprecated(file, "");
file               68 net/batman-adv/icmp_socket.c 	stream_open(inode, file);
file               97 net/batman-adv/icmp_socket.c 	file->private_data = socket_client;
file              102 net/batman-adv/icmp_socket.c static int batadv_socket_release(struct inode *inode, struct file *file)
file              104 net/batman-adv/icmp_socket.c 	struct batadv_socket_client *client = file->private_data;
file              124 net/batman-adv/icmp_socket.c static ssize_t batadv_socket_read(struct file *file, char __user *buf,
file              127 net/batman-adv/icmp_socket.c 	struct batadv_socket_client *socket_client = file->private_data;
file              132 net/batman-adv/icmp_socket.c 	if ((file->f_flags & O_NONBLOCK) && socket_client->queue_len == 0)
file              167 net/batman-adv/icmp_socket.c static ssize_t batadv_socket_write(struct file *file, const char __user *buff,
file              170 net/batman-adv/icmp_socket.c 	struct batadv_socket_client *socket_client = file->private_data;
file              292 net/batman-adv/icmp_socket.c static __poll_t batadv_socket_poll(struct file *file, poll_table *wait)
file              294 net/batman-adv/icmp_socket.c 	struct batadv_socket_client *socket_client = file->private_data;
file              296 net/batman-adv/icmp_socket.c 	poll_wait(file, &socket_client->queue_wait, wait);
file               85 net/batman-adv/log.c static int batadv_log_open(struct inode *inode, struct file *file)
file               90 net/batman-adv/log.c 	batadv_debugfs_deprecated(file,
file               93 net/batman-adv/log.c 	stream_open(inode, file);
file               94 net/batman-adv/log.c 	file->private_data = inode->i_private;
file               98 net/batman-adv/log.c static int batadv_log_release(struct inode *inode, struct file *file)
file              109 net/batman-adv/log.c static ssize_t batadv_log_read(struct file *file, char __user *buf,
file              112 net/batman-adv/log.c 	struct batadv_priv *bat_priv = file->private_data;
file              118 net/batman-adv/log.c 	if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log))
file              164 net/batman-adv/log.c static __poll_t batadv_log_poll(struct file *file, poll_table *wait)
file              166 net/batman-adv/log.c 	struct batadv_priv *bat_priv = file->private_data;
file              169 net/batman-adv/log.c 	poll_wait(file, &debug_log->queue_wait, wait);
file             1108 net/bluetooth/6lowpan.c static ssize_t lowpan_control_write(struct file *fp,
file             1193 net/bluetooth/6lowpan.c static int lowpan_control_open(struct inode *inode, struct file *file)
file             1195 net/bluetooth/6lowpan.c 	return single_open(file, lowpan_control_show, inode->i_private);
file              450 net/bluetooth/af_bluetooth.c __poll_t bt_sock_poll(struct file *file, struct socket *sock,
file              458 net/bluetooth/af_bluetooth.c 	poll_wait(file, sk_sleep(sk), wait);
file              613 net/bluetooth/af_bluetooth.c 	struct bt_sock_list *l = PDE_DATA(file_inode(seq->file));
file              621 net/bluetooth/af_bluetooth.c 	struct bt_sock_list *l = PDE_DATA(file_inode(seq->file));
file              629 net/bluetooth/af_bluetooth.c 	struct bt_sock_list *l = PDE_DATA(file_inode(seq->file));
file              636 net/bluetooth/af_bluetooth.c 	struct bt_sock_list *l = PDE_DATA(file_inode(seq->file));
file              532 net/bluetooth/bnep/core.c 	fput(s->sock->file);
file              319 net/bluetooth/cmtp/core.c 	fput(session->sock->file);
file               63 net/bluetooth/hci_core.c static ssize_t dut_mode_read(struct file *file, char __user *user_buf,
file               66 net/bluetooth/hci_core.c 	struct hci_dev *hdev = file->private_data;
file               75 net/bluetooth/hci_core.c static ssize_t dut_mode_write(struct file *file, const char __user *user_buf,
file               78 net/bluetooth/hci_core.c 	struct hci_dev *hdev = file->private_data;
file              119 net/bluetooth/hci_core.c static ssize_t vendor_diag_read(struct file *file, char __user *user_buf,
file              122 net/bluetooth/hci_core.c 	struct hci_dev *hdev = file->private_data;
file              131 net/bluetooth/hci_core.c static ssize_t vendor_diag_write(struct file *file, const char __user *user_buf,
file              134 net/bluetooth/hci_core.c 	struct hci_dev *hdev = file->private_data;
file               32 net/bluetooth/hci_debugfs.c static ssize_t __name ## _read(struct file *file,			      \
file               36 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;			      \
file               45 net/bluetooth/hci_debugfs.c static ssize_t __name ## _write(struct file *file,			      \
file               49 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;			      \
file              255 net/bluetooth/hci_debugfs.c static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf,
file              258 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;
file              273 net/bluetooth/hci_debugfs.c static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf,
file              276 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;
file              407 net/bluetooth/hci_debugfs.c static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf,
file              410 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;
file              670 net/bluetooth/hci_debugfs.c static ssize_t force_static_address_read(struct file *file,
file              674 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;
file              683 net/bluetooth/hci_debugfs.c static ssize_t force_static_address_write(struct file *file,
file              687 net/bluetooth/hci_debugfs.c 	struct hci_dev *hdev = file->private_data;
file              962 net/bluetooth/hidp/core.c 	get_file(session->intr_sock->file);
file              963 net/bluetooth/hidp/core.c 	get_file(session->ctrl_sock->file);
file              988 net/bluetooth/hidp/core.c 	fput(session->intr_sock->file);
file              989 net/bluetooth/hidp/core.c 	fput(session->ctrl_sock->file);
file              745 net/bluetooth/rfcomm/tty.c static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp)
file              771 net/bluetooth/rfcomm/tty.c static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp)
file              186 net/bluetooth/selftest.c static ssize_t test_ecdh_read(struct file *file, char __user *user_buf,
file             3308 net/bluetooth/smp.c static ssize_t force_bredr_smp_read(struct file *file,
file             3312 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3321 net/bluetooth/smp.c static ssize_t force_bredr_smp_write(struct file *file,
file             3325 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3364 net/bluetooth/smp.c static ssize_t le_min_key_size_read(struct file *file,
file             3368 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3376 net/bluetooth/smp.c static ssize_t le_min_key_size_write(struct file *file,
file             3380 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3408 net/bluetooth/smp.c static ssize_t le_max_key_size_read(struct file *file,
file             3412 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3420 net/bluetooth/smp.c static ssize_t le_max_key_size_write(struct file *file,
file             3424 net/bluetooth/smp.c 	struct hci_dev *hdev = file->private_data;
file             3788 net/bluetooth/smp.c static ssize_t test_smp_read(struct file *file, char __user *user_buf,
file              915 net/bridge/br_sysfs_br.c static ssize_t brforward_read(struct file *filp, struct kobject *kobj,
file              937 net/caif/caif_socket.c static __poll_t caif_poll(struct file *file,
file              944 net/caif/caif_socket.c 	sock_poll_wait(file, sock, wait);
file              192 net/can/bcm.c  	struct sock *sk = (struct sock *)PDE_DATA(m->file->f_inode);
file              317 net/can/proc.c 	int idx = (int)(long)PDE_DATA(m->file->f_inode);
file              271 net/compat.c   	struct file **fp = scm->fp->fp;
file              768 net/core/datagram.c __poll_t datagram_poll(struct file *file, struct socket *sock,
file              774 net/core/datagram.c 	sock_poll_wait(file, sock, wait);
file             3267 net/core/neighbour.c 	struct neigh_table *tbl = PDE_DATA(file_inode(seq->file));
file             3284 net/core/neighbour.c 	struct neigh_table *tbl = PDE_DATA(file_inode(seq->file));
file             3303 net/core/neighbour.c 	struct neigh_table *tbl = PDE_DATA(file_inode(seq->file));
file              648 net/core/net_namespace.c 	struct file *file;
file              652 net/core/net_namespace.c 	file = proc_ns_fget(fd);
file              653 net/core/net_namespace.c 	if (IS_ERR(file))
file              654 net/core/net_namespace.c 		return ERR_CAST(file);
file              656 net/core/net_namespace.c 	ns = get_proc_ns(file_inode(file));
file              662 net/core/net_namespace.c 	fput(file);
file               69 net/core/netclassid_cgroup.c static int update_classid_sock(const void *v, struct file *file, unsigned n)
file               73 net/core/netclassid_cgroup.c 	struct socket *sock = sock_from_file(file, &err);
file              221 net/core/netprio_cgroup.c static int update_netprio(const void *v, struct file *file, unsigned n)
file              224 net/core/netprio_cgroup.c 	struct socket *sock = sock_from_file(file, &err);
file              498 net/core/pktgen.c static ssize_t pgctrl_write(struct file *file, const char __user *buf,
file              533 net/core/pktgen.c static int pgctrl_open(struct inode *inode, struct file *file)
file              535 net/core/pktgen.c 	return single_open(file, pgctrl_show, PDE_DATA(inode));
file              856 net/core/pktgen.c static ssize_t pktgen_if_write(struct file *file,
file              860 net/core/pktgen.c 	struct seq_file *seq = file->private_data;
file             1705 net/core/pktgen.c static int pktgen_if_open(struct inode *inode, struct file *file)
file             1707 net/core/pktgen.c 	return single_open(file, pktgen_if_show, PDE_DATA(inode));
file             1748 net/core/pktgen.c static ssize_t pktgen_thread_write(struct file *file,
file             1752 net/core/pktgen.c 	struct seq_file *seq = file->private_data;
file             1842 net/core/pktgen.c static int pktgen_thread_open(struct inode *inode, struct file *file)
file             1844 net/core/pktgen.c 	return single_open(file, pktgen_thread_show, PDE_DATA(inode));
file               69 net/core/scm.c 	struct file **fpp;
file              102 net/core/scm.c 		struct file *file;
file              104 net/core/scm.c 		if (fd < 0 || !(file = fget_raw(fd)))
file              106 net/core/scm.c 		*fpp++ = file;
file              285 net/core/scm.c 	struct file **fp = scm->fp->fp;
file             4541 net/core/skbuff.c 	ret = sk->sk_socket && sk->sk_socket->file &&
file             4542 net/core/skbuff.c 	      file_ns_capable(sk->sk_socket->file, &init_user_ns, CAP_NET_RAW);
file              159 net/core/sock.c 	return file_ns_capable(sk->sk_socket->file, user_ns, cap) &&
file             2730 net/core/sock.c int sock_no_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma)
file             2836 net/core/sock.c 	if (sk->sk_socket && sk->sk_socket->file)
file             2837 net/core/sock.c 		if (send_sigurg(&sk->sk_socket->file->f_owner))
file              434 net/core/sock_map.c 	fput(sock->file);
file              759 net/core/sock_map.c 	fput(sock->file);
file              316 net/dccp/dccp.h __poll_t dccp_poll(struct file *file, struct socket *sock,
file              318 net/dccp/proto.c __poll_t dccp_poll(struct file *file, struct socket *sock,
file              324 net/dccp/proto.c 	sock_poll_wait(file, sock, wait);
file             1202 net/decnet/af_decnet.c static __poll_t dn_poll(struct file *file, struct socket *sock, poll_table  *wait)
file             1206 net/decnet/af_decnet.c 	__poll_t mask = datagram_poll(file, sock, wait);
file               63 net/hsr/hsr_debugfs.c hsr_node_table_open(struct inode *inode, struct file *filp)
file              745 net/ipv4/netfilter/ipt_CLUSTERIP.c static int clusterip_proc_open(struct inode *inode, struct file *file)
file              747 net/ipv4/netfilter/ipt_CLUSTERIP.c 	int ret = seq_open(file, &clusterip_seq_ops);
file              750 net/ipv4/netfilter/ipt_CLUSTERIP.c 		struct seq_file *sf = file->private_data;
file              761 net/ipv4/netfilter/ipt_CLUSTERIP.c static int clusterip_proc_release(struct inode *inode, struct file *file)
file              766 net/ipv4/netfilter/ipt_CLUSTERIP.c 	ret = seq_release(inode, file);
file              774 net/ipv4/netfilter/ipt_CLUSTERIP.c static ssize_t clusterip_proc_write(struct file *file, const char __user *input,
file              777 net/ipv4/netfilter/ipt_CLUSTERIP.c 	struct clusterip_config *c = PDE_DATA(file_inode(file));
file              994 net/ipv4/raw.c 	struct raw_hashinfo *h = PDE_DATA(file_inode(seq->file));
file             1010 net/ipv4/raw.c 	struct raw_hashinfo *h = PDE_DATA(file_inode(seq->file));
file             1038 net/ipv4/raw.c 	struct raw_hashinfo *h = PDE_DATA(file_inode(seq->file));
file             1060 net/ipv4/raw.c 	struct raw_hashinfo *h = PDE_DATA(file_inode(seq->file));
file              235 net/ipv4/route.c static int rt_cache_seq_open(struct inode *inode, struct file *file)
file              237 net/ipv4/route.c 	return seq_open(file, &rt_cache_seq_ops);
file              325 net/ipv4/route.c static int rt_cpu_seq_open(struct inode *inode, struct file *file)
file              327 net/ipv4/route.c 	return seq_open(file, &rt_cpu_seq_ops);
file              500 net/ipv4/tcp.c __poll_t tcp_poll(struct file *file, struct socket *sock, poll_table *wait)
file              507 net/ipv4/tcp.c 	sock_poll_wait(file, sock, wait);
file              798 net/ipv4/tcp.c 	timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK);
file             1731 net/ipv4/tcp.c int tcp_mmap(struct file *file, struct socket *sock,
file             2148 net/ipv4/tcp_ipv4.c 	struct tcp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file             2209 net/ipv4/tcp_ipv4.c 	struct tcp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file             2241 net/ipv4/tcp_ipv4.c 	struct tcp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file             2743 net/ipv4/udp.c __poll_t udp_poll(struct file *file, struct socket *sock, poll_table *wait)
file             2745 net/ipv4/udp.c 	__poll_t mask = datagram_poll(file, sock, wait);
file             2752 net/ipv4/udp.c 	if ((mask & EPOLLRDNORM) && !(file->f_flags & O_NONBLOCK) &&
file             2815 net/ipv4/udp.c 	struct udp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file             2842 net/ipv4/udp.c 	struct udp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file             2893 net/ipv4/udp.c 	struct udp_seq_afinfo *afinfo = PDE_DATA(file_inode(seq->file));
file              782 net/ipv6/ip6_flowlabel.c 	state->pid_ns = proc_pid_ns(file_inode(seq->file));
file             1514 net/iucv/af_iucv.c __poll_t iucv_sock_poll(struct file *file, struct socket *sock,
file             1520 net/iucv/af_iucv.c 	sock_poll_wait(file, sock, wait);
file              547 net/kcm/kcmsock.c 			fput(psock->sk->sk_socket->file);
file             1501 net/kcm/kcmsock.c 	fput(csock->file);
file             1594 net/kcm/kcmsock.c 		fput(csk->sk_socket->file);
file             1649 net/kcm/kcmsock.c 	fput(csock->file);
file             1660 net/kcm/kcmsock.c static struct file *kcm_clone(struct socket *osock)
file             1713 net/kcm/kcmsock.c 		struct file *file;
file             1719 net/kcm/kcmsock.c 		file = kcm_clone(sock);
file             1720 net/kcm/kcmsock.c 		if (IS_ERR(file)) {
file             1722 net/kcm/kcmsock.c 			return PTR_ERR(file);
file             1727 net/kcm/kcmsock.c 			fput(file);
file             1730 net/kcm/kcmsock.c 		fd_install(info.fd, file);
file              267 net/l2tp/l2tp_debugfs.c static int l2tp_dfs_seq_open(struct inode *inode, struct file *file)
file              286 net/l2tp/l2tp_debugfs.c 	rc = seq_open(file, &l2tp_dfs_seq_ops);
file              290 net/l2tp/l2tp_debugfs.c 	seq = file->private_data;
file              303 net/l2tp/l2tp_debugfs.c static int l2tp_dfs_seq_release(struct inode *inode, struct file *file)
file              308 net/l2tp/l2tp_debugfs.c 	seq = file->private_data;
file              313 net/l2tp/l2tp_debugfs.c 	seq_release(inode, file);
file               35 net/mac80211/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf,	\
file               38 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;		\
file               73 net/mac80211/debugfs.c static ssize_t aqm_read(struct file *file,
file               78 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              114 net/mac80211/debugfs.c static ssize_t aqm_write(struct file *file,
file              119 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              151 net/mac80211/debugfs.c static ssize_t force_tx_status_read(struct file *file,
file              156 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              166 net/mac80211/debugfs.c static ssize_t force_tx_status_write(struct file *file,
file              171 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              204 net/mac80211/debugfs.c static ssize_t reset_write(struct file *file, const char __user *user_buf,
file              207 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              278 net/mac80211/debugfs.c static ssize_t hwflags_read(struct file *file, char __user *user_buf,
file              281 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              307 net/mac80211/debugfs.c static ssize_t misc_read(struct file *file, char __user *user_buf,
file              310 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              339 net/mac80211/debugfs.c static ssize_t queues_read(struct file *file, char __user *user_buf,
file              342 net/mac80211/debugfs.c 	struct ieee80211_local *local = file->private_data;
file              388 net/mac80211/debugfs.c static ssize_t stats_ ##name## _read(struct file *file,			\
file              392 net/mac80211/debugfs.c 	return format_devstat_counter(file->private_data,		\
file               17 net/mac80211/debugfs_key.c static ssize_t key_##name##_read(struct file *file,			\
file               21 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;			\
file               69 net/mac80211/debugfs_key.c static ssize_t key_algorithm_read(struct file *file,
file               74 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file               83 net/mac80211/debugfs_key.c static ssize_t key_tx_spec_write(struct file *file, const char __user *userbuf,
file               86 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              118 net/mac80211/debugfs_key.c static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf,
file              124 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              157 net/mac80211/debugfs_key.c static ssize_t key_rx_spec_read(struct file *file, char __user *userbuf,
file              160 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              225 net/mac80211/debugfs_key.c static ssize_t key_replays_read(struct file *file, char __user *userbuf,
file              228 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              258 net/mac80211/debugfs_key.c static ssize_t key_icverrors_read(struct file *file, char __user *userbuf,
file              261 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              283 net/mac80211/debugfs_key.c static ssize_t key_mic_failures_read(struct file *file, char __user *userbuf,
file              286 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              299 net/mac80211/debugfs_key.c static ssize_t key_key_read(struct file *file, char __user *userbuf,
file              302 net/mac80211/debugfs_key.c 	struct ieee80211_key *key = file->private_data;
file              132 net/mac80211/debugfs_netdev.c static ssize_t ieee80211_if_read_##name(struct file *file,		\
file              136 net/mac80211/debugfs_netdev.c 	return ieee80211_if_read(file->private_data,			\
file              142 net/mac80211/debugfs_netdev.c static ssize_t ieee80211_if_write_##name(struct file *file,		\
file              146 net/mac80211/debugfs_netdev.c 	return ieee80211_if_write(file->private_data, userbuf, count,	\
file               22 net/mac80211/debugfs_sta.c static ssize_t sta_ ##name## _read(struct file *file,			\
file               26 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;			\
file               85 net/mac80211/debugfs_sta.c static ssize_t sta_flags_read(struct file *file, char __user *userbuf,
file               90 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              105 net/mac80211/debugfs_sta.c static ssize_t sta_num_ps_buf_frames_read(struct file *file,
file              109 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              121 net/mac80211/debugfs_sta.c static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf,
file              126 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              137 net/mac80211/debugfs_sta.c static ssize_t sta_aqm_read(struct file *file, char __user *userbuf,
file              140 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              196 net/mac80211/debugfs_sta.c static ssize_t sta_airtime_read(struct file *file, char __user *userbuf,
file              199 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              235 net/mac80211/debugfs_sta.c static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf,
file              238 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              254 net/mac80211/debugfs_sta.c static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
file              259 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              298 net/mac80211/debugfs_sta.c static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf,
file              302 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              369 net/mac80211/debugfs_sta.c static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,
file              379 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              451 net/mac80211/debugfs_sta.c static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
file              455 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              556 net/mac80211/debugfs_sta.c static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf,
file              561 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
file              207 net/mac80211/rate.c static ssize_t rcname_read(struct file *file, char __user *userbuf,
file              210 net/mac80211/rate.c 	struct rate_control_ref *ref = file->private_data;
file              133 net/mac80211/rc80211_minstrel.h int minstrel_stats_open(struct inode *inode, struct file *file);
file              134 net/mac80211/rc80211_minstrel.h int minstrel_stats_csv_open(struct inode *inode, struct file *file);
file               58 net/mac80211/rc80211_minstrel_debugfs.c minstrel_stats_open(struct inode *inode, struct file *file)
file               69 net/mac80211/rc80211_minstrel_debugfs.c 	file->private_data = ms;
file              120 net/mac80211/rc80211_minstrel_debugfs.c minstrel_stats_csv_open(struct inode *inode, struct file *file)
file              131 net/mac80211/rc80211_minstrel_debugfs.c 	file->private_data = ms;
file               16 net/mac80211/rc80211_minstrel_ht_debugfs.c minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos)
file               20 net/mac80211/rc80211_minstrel_ht_debugfs.c 	ms = file->private_data;
file               25 net/mac80211/rc80211_minstrel_ht_debugfs.c minstrel_stats_release(struct inode *inode, struct file *file)
file               27 net/mac80211/rc80211_minstrel_ht_debugfs.c 	kfree(file->private_data);
file              121 net/mac80211/rc80211_minstrel_ht_debugfs.c minstrel_ht_stats_open(struct inode *inode, struct file *file)
file              132 net/mac80211/rc80211_minstrel_ht_debugfs.c 		ret = minstrel_stats_open(inode, file);
file              141 net/mac80211/rc80211_minstrel_ht_debugfs.c 	file->private_data = ms;
file              167 net/mac80211/rc80211_minstrel_ht_debugfs.c 	return nonseekable_open(inode, file);
file              271 net/mac80211/rc80211_minstrel_ht_debugfs.c minstrel_ht_stats_csv_open(struct inode *inode, struct file *file)
file              282 net/mac80211/rc80211_minstrel_ht_debugfs.c 		ret = minstrel_stats_csv_open(inode, file);
file              292 net/mac80211/rc80211_minstrel_ht_debugfs.c 	file->private_data = ms;
file              305 net/mac80211/rc80211_minstrel_ht_debugfs.c 	return nonseekable_open(inode, file);
file              139 net/netfilter/nf_log_common.c 	if (sk->sk_socket && sk->sk_socket->file) {
file              140 net/netfilter/nf_log_common.c 		const struct cred *cred = sk->sk_socket->file->f_cred;
file              605 net/netfilter/nfnetlink_log.c 		if (sk->sk_socket && sk->sk_socket->file) {
file              606 net/netfilter/nfnetlink_log.c 			struct file *file = sk->sk_socket->file;
file              607 net/netfilter/nfnetlink_log.c 			const struct cred *cred = file->f_cred;
file              287 net/netfilter/nfnetlink_queue.c 	if (sk->sk_socket && sk->sk_socket->file) {
file              288 net/netfilter/nfnetlink_queue.c 		cred = sk->sk_socket->file->f_cred;
file              120 net/netfilter/nft_meta.c 		    sk->sk_socket->file == NULL) {
file              126 net/netfilter/nft_meta.c 				sk->sk_socket->file->f_cred->fsuid);
file              137 net/netfilter/nft_meta.c 		    sk->sk_socket->file == NULL) {
file              142 net/netfilter/nft_meta.c 				 sk->sk_socket->file->f_cred->fsgid);
file             1491 net/netfilter/x_tables.c 	u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file));
file             1500 net/netfilter/x_tables.c 	u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file));
file             1507 net/netfilter/x_tables.c 	u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file));
file             1551 net/netfilter/x_tables.c 	uint8_t nfproto = (unsigned long)PDE_DATA(file_inode(seq->file));
file             1600 net/netfilter/x_tables.c 	uint8_t nfproto = (unsigned long)PDE_DATA(file_inode(seq->file));
file             1055 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file             1072 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file             1086 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file             1128 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file));
file             1143 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file));
file             1158 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file));
file             1172 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file             1186 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file             1200 net/netfilter/xt_hashlimit.c 	struct xt_hashlimit_htable *htable = PDE_DATA(file_inode(s->file));
file               66 net/netfilter/xt_owner.c 	const struct file *filp;
file               79 net/netfilter/xt_owner.c 	filp = sk->sk_socket->file;
file              538 net/netfilter/xt_recent.c static int recent_seq_open(struct inode *inode, struct file *file)
file              542 net/netfilter/xt_recent.c 	st = __seq_open_private(file, &recent_seq_ops, sizeof(*st));
file              551 net/netfilter/xt_recent.c recent_mt_proc_write(struct file *file, const char __user *input,
file              554 net/netfilter/xt_recent.c 	struct recent_table *t = PDE_DATA(file_inode(file));
file              856 net/netlink/af_netlink.c 		file_ns_capable(nsp->sk->sk_socket->file, user_ns, cap)) &&
file             1152 net/netlink/af_netlink.c struct sock *netlink_getsockbyfilp(struct file *filp)
file             1423 net/netlink/af_netlink.c 		if (!file_ns_capable(sk->sk_socket->file, p->net->user_ns,
file              544 net/nfc/llcp_sock.c static __poll_t llcp_sock_poll(struct file *file, struct socket *sock,
file              552 net/nfc/llcp_sock.c 	sock_poll_wait(file, sock, wait);
file              272 net/nfc/nci/uart.c static int nci_uart_tty_ioctl(struct tty_struct *tty, struct file *file,
file              286 net/nfc/nci/uart.c 		err = n_tty_ioctl_helper(tty, file, cmd, arg);
file              294 net/nfc/nci/uart.c static ssize_t nci_uart_tty_read(struct tty_struct *tty, struct file *file,
file              300 net/nfc/nci/uart.c static ssize_t nci_uart_tty_write(struct tty_struct *tty, struct file *file,
file              307 net/nfc/nci/uart.c 				      struct file *filp, poll_table *wait)
file             4163 net/packet/af_packet.c static __poll_t packet_poll(struct file *file, struct socket *sock,
file             4168 net/packet/af_packet.c 	__poll_t mask = datagram_poll(file, sock, wait);
file             4194 net/packet/af_packet.c 	struct file *file = vma->vm_file;
file             4195 net/packet/af_packet.c 	struct socket *sock = file->private_data;
file             4204 net/packet/af_packet.c 	struct file *file = vma->vm_file;
file             4205 net/packet/af_packet.c 	struct socket *sock = file->private_data;
file             4451 net/packet/af_packet.c static int packet_mmap(struct file *file, struct socket *sock,
file              330 net/phonet/socket.c static __poll_t pn_socket_poll(struct file *file, struct socket *sock,
file              337 net/phonet/socket.c 	poll_wait(file, sk_sleep(sk), wait);
file               31 net/qrtr/tun.c static int qrtr_tun_open(struct inode *inode, struct file *filp)
file               51 net/qrtr/tun.c 	struct file *filp = iocb->ki_filp;
file               77 net/qrtr/tun.c 	struct file *filp = iocb->ki_filp;
file               98 net/qrtr/tun.c static __poll_t qrtr_tun_poll(struct file *filp, poll_table *wait)
file              111 net/qrtr/tun.c static int qrtr_tun_release(struct inode *inode, struct file *filp)
file              212 net/rds/af_rds.c static __poll_t rds_poll(struct file *file, struct socket *sock,
file              220 net/rds/af_rds.c 	poll_wait(file, sk_sleep(sk), wait);
file              223 net/rds/af_rds.c 		poll_wait(file, &rds_poll_waitq, wait);
file             1103 net/rfkill/core.c static int rfkill_fop_open(struct inode *inode, struct file *file)
file             1135 net/rfkill/core.c 	file->private_data = data;
file             1137 net/rfkill/core.c 	return stream_open(inode, file);
file             1149 net/rfkill/core.c static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait)
file             1151 net/rfkill/core.c 	struct rfkill_data *data = file->private_data;
file             1154 net/rfkill/core.c 	poll_wait(file, &data->read_wait, wait);
file             1164 net/rfkill/core.c static ssize_t rfkill_fop_read(struct file *file, char __user *buf,
file             1167 net/rfkill/core.c 	struct rfkill_data *data = file->private_data;
file             1175 net/rfkill/core.c 		if (file->f_flags & O_NONBLOCK) {
file             1206 net/rfkill/core.c static ssize_t rfkill_fop_write(struct file *file, const char __user *buf,
file             1258 net/rfkill/core.c static int rfkill_fop_release(struct inode *inode, struct file *file)
file             1260 net/rfkill/core.c 	struct rfkill_data *data = file->private_data;
file             1283 net/rfkill/core.c static long rfkill_fop_ioctl(struct file *file, unsigned int cmd,
file             1286 net/rfkill/core.c 	struct rfkill_data *data = file->private_data;
file              704 net/rxrpc/af_rxrpc.c static __poll_t rxrpc_poll(struct file *file, struct socket *sock,
file              711 net/rxrpc/af_rxrpc.c 	sock_poll_wait(file, sock, wait);
file              206 net/sched/cls_flow.c 	if (sk && sk->sk_socket && sk->sk_socket->file) {
file              207 net/sched/cls_flow.c 		kuid_t skuid = sk->sk_socket->file->f_cred->fsuid;
file              218 net/sched/cls_flow.c 	if (sk && sk->sk_socket && sk->sk_socket->file) {
file              219 net/sched/cls_flow.c 		kgid_t skgid = sk->sk_socket->file->f_cred->fsgid;
file              158 net/sched/sch_atm.c 			file_count(flow->sock->file));
file              256 net/sched/sch_atm.c 	pr_debug("atm_tc_change: f_count %ld\n", file_count(sock->file));
file             1334 net/sctp/socket.c 	if (sk->sk_socket->file)
file             1335 net/sctp/socket.c 		flags = sk->sk_socket->file->f_flags;
file             5697 net/sctp/socket.c 					  struct file **newfile, unsigned flags)
file             5735 net/sctp/socket.c 	struct file *newfile = NULL;
file             5769 net/sctp/socket.c 	struct file *newfile = NULL;
file             8474 net/sctp/socket.c __poll_t sctp_poll(struct file *file, struct socket *sock, poll_table *wait)
file             8480 net/sctp/socket.c 	poll_wait(file, sk_sleep(sk), wait);
file              128 net/smc/af_smc.c 	smc->clcsock->file->private_data = smc->sk.sk_socket;
file              129 net/smc/af_smc.c 	smc->clcsock->file = NULL;
file              467 net/smc/af_smc.c 	if (smc->sk.sk_socket && smc->sk.sk_socket->file) {
file              468 net/smc/af_smc.c 		smc->clcsock->file = smc->sk.sk_socket->file;
file              469 net/smc/af_smc.c 		smc->clcsock->file->private_data = smc->clcsock;
file              971 net/smc/af_smc.c 				smc_sk(new_sk)->clcsock->file = new_sock->file;
file              972 net/smc/af_smc.c 				isk->clcsock->file->private_data = isk->clcsock;
file             1601 net/smc/af_smc.c static __poll_t smc_poll(struct file *file, struct socket *sock,
file             1614 net/smc/af_smc.c 		mask = smc->clcsock->ops->poll(file, smc->clcsock, wait);
file             1618 net/smc/af_smc.c 			sock_poll_wait(file, sock, wait);
file             1628 net/smc/af_smc.c 			mask |= smc->clcsock->ops->poll(file, smc->clcsock,
file              114 net/socket.c   static int sock_mmap(struct file *file, struct vm_area_struct *vma);
file              116 net/socket.c   static int sock_close(struct inode *inode, struct file *file);
file              117 net/socket.c   static __poll_t sock_poll(struct file *file,
file              119 net/socket.c   static long sock_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file              121 net/socket.c   static long compat_sock_ioctl(struct file *file,
file              124 net/socket.c   static int sock_fasync(int fd, struct file *filp, int on);
file              125 net/socket.c   static ssize_t sock_sendpage(struct file *file, struct page *page,
file              127 net/socket.c   static ssize_t sock_splice_read(struct file *file, loff_t *ppos,
file              250 net/socket.c   	ei->socket.file = NULL;
file              390 net/socket.c   struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)
file              392 net/socket.c   	struct file *file;
file              397 net/socket.c   	file = alloc_file_pseudo(SOCK_INODE(sock), sock_mnt, dname,
file              400 net/socket.c   	if (IS_ERR(file)) {
file              402 net/socket.c   		return file;
file              405 net/socket.c   	sock->file = file;
file              406 net/socket.c   	file->private_data = sock;
file              407 net/socket.c   	return file;
file              413 net/socket.c   	struct file *newfile;
file              438 net/socket.c   struct socket *sock_from_file(struct file *file, int *err)
file              440 net/socket.c   	if (file->f_op == &socket_file_ops)
file              441 net/socket.c   		return file->private_data;	/* set in sock_map_fd */
file              463 net/socket.c   	struct file *file;
file              466 net/socket.c   	file = fget(fd);
file              467 net/socket.c   	if (!file) {
file              472 net/socket.c   	sock = sock_from_file(file, err);
file              474 net/socket.c   		fput(file);
file              485 net/socket.c   	if (f.file) {
file              486 net/socket.c   		sock = sock_from_file(f.file, err);
file              601 net/socket.c   	if (!sock->file) {
file              605 net/socket.c   	sock->file = NULL;
file              923 net/socket.c   static ssize_t sock_sendpage(struct file *file, struct page *page,
file              929 net/socket.c   	sock = file->private_data;
file              931 net/socket.c   	flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0;
file              938 net/socket.c   static ssize_t sock_splice_read(struct file *file, loff_t *ppos,
file              942 net/socket.c   	struct socket *sock = file->private_data;
file              945 net/socket.c   		return generic_file_splice_read(file, ppos, pipe, len, flags);
file              952 net/socket.c   	struct file *file = iocb->ki_filp;
file              953 net/socket.c   	struct socket *sock = file->private_data;
file              958 net/socket.c   	if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT))
file              974 net/socket.c   	struct file *file = iocb->ki_filp;
file              975 net/socket.c   	struct socket *sock = file->private_data;
file              983 net/socket.c   	if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT))
file             1087 net/socket.c   static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg)
file             1095 net/socket.c   	sock = file->private_data;
file             1119 net/socket.c   			err = f_setown(sock->file, pid, 1);
file             1123 net/socket.c   			err = put_user(f_getown(sock->file),
file             1239 net/socket.c   static __poll_t sock_poll(struct file *file, poll_table *wait)
file             1241 net/socket.c   	struct socket *sock = file->private_data;
file             1256 net/socket.c   	return sock->ops->poll(file, sock, wait) | flag;
file             1259 net/socket.c   static int sock_mmap(struct file *file, struct vm_area_struct *vma)
file             1261 net/socket.c   	struct socket *sock = file->private_data;
file             1263 net/socket.c   	return sock->ops->mmap(file, sock, vma);
file             1266 net/socket.c   static int sock_close(struct inode *inode, struct file *filp)
file             1283 net/socket.c   static int sock_fasync(int fd, struct file *filp, int on)
file             1531 net/socket.c   	struct file *newfile1, *newfile2;
file             1651 net/socket.c   		fput_light(sock->file, fput_needed);
file             1683 net/socket.c   		fput_light(sock->file, fput_needed);
file             1709 net/socket.c   	struct file *newfile;
file             1754 net/socket.c   	err = sock->ops->accept(sock, newsock, sock->file->f_flags, false);
file             1777 net/socket.c   	fput_light(sock->file, fput_needed);
file             1829 net/socket.c   				 sock->file->f_flags);
file             1831 net/socket.c   	fput_light(sock->file, fput_needed);
file             1869 net/socket.c   	fput_light(sock->file, fput_needed);
file             1896 net/socket.c   			fput_light(sock->file, fput_needed);
file             1905 net/socket.c   		fput_light(sock->file, fput_needed);
file             1949 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
file             1955 net/socket.c   	fput_light(sock->file, fput_needed);
file             2007 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
file             2018 net/socket.c   	fput_light(sock->file, fput_needed);
file             2092 net/socket.c   		fput_light(sock->file, fput_needed);
file             2136 net/socket.c   		fput_light(sock->file, fput_needed);
file             2161 net/socket.c   		fput_light(sock->file, fput_needed);
file             2282 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
file             2399 net/socket.c   	fput_light(sock->file, fput_needed);
file             2471 net/socket.c   	fput_light(sock->file, fput_needed);
file             2527 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
file             2619 net/socket.c   	fput_light(sock->file, fput_needed);
file             2740 net/socket.c   	fput_light(sock->file, fput_needed);
file             3438 net/socket.c   static int compat_sock_ioctl_trans(struct file *file, struct socket *sock,
file             3490 net/socket.c   		return sock_ioctl(file, cmd, arg);
file             3543 net/socket.c   static long compat_sock_ioctl(struct file *file, unsigned int cmd,
file             3546 net/socket.c   	struct socket *sock = file->private_data;
file             3562 net/socket.c   		ret = compat_sock_ioctl_trans(file, sock, cmd, arg);
file              430 net/sunrpc/auth_gss/auth_gss.c gss_v0_upcall(struct file *file, struct rpc_pipe_msg *msg,
file              437 net/sunrpc/auth_gss/auth_gss.c 		gss_encode_v0_msg(gss_msg, file->f_cred);
file              438 net/sunrpc/auth_gss/auth_gss.c 	return rpc_pipe_generic_upcall(file, msg, buf, buflen);
file              515 net/sunrpc/auth_gss/auth_gss.c gss_v1_upcall(struct file *file, struct rpc_pipe_msg *msg,
file              526 net/sunrpc/auth_gss/auth_gss.c 					file->f_cred);
file              530 net/sunrpc/auth_gss/auth_gss.c 	return rpc_pipe_generic_upcall(file, msg, buf, buflen);
file              717 net/sunrpc/auth_gss/auth_gss.c gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
file             1379 net/sunrpc/auth_gss/svcauth_gss.c static ssize_t write_gssp(struct file *file, const char __user *buf,
file             1382 net/sunrpc/auth_gss/svcauth_gss.c 	struct net *net = PDE_DATA(file_inode(file));
file             1407 net/sunrpc/auth_gss/svcauth_gss.c static ssize_t read_gssp(struct file *file, char __user *buf,
file             1410 net/sunrpc/auth_gss/svcauth_gss.c 	struct net *net = PDE_DATA(file_inode(file));
file              796 net/sunrpc/cache.c static ssize_t cache_read(struct file *filp, char __user *buf, size_t count,
file              934 net/sunrpc/cache.c static ssize_t cache_write(struct file *filp, const char __user *buf,
file              954 net/sunrpc/cache.c static __poll_t cache_poll(struct file *filp, poll_table *wait,
file              981 net/sunrpc/cache.c static int cache_ioctl(struct inode *ino, struct file *filp,
file             1010 net/sunrpc/cache.c static int cache_open(struct inode *inode, struct file *filp,
file             1037 net/sunrpc/cache.c static int cache_release(struct inode *inode, struct file *filp,
file             1385 net/sunrpc/cache.c void *cache_seq_next_rcu(struct seq_file *file, void *p, loff_t *pos)
file             1387 net/sunrpc/cache.c 	return cache_seq_next(file, p, pos);
file             1430 net/sunrpc/cache.c static int content_open(struct inode *inode, struct file *file,
file             1439 net/sunrpc/cache.c 	err = seq_open(file, &cache_content_op);
file             1445 net/sunrpc/cache.c 	seq = file->private_data;
file             1450 net/sunrpc/cache.c static int content_release(struct inode *inode, struct file *file,
file             1453 net/sunrpc/cache.c 	int ret = seq_release(inode, file);
file             1458 net/sunrpc/cache.c static int open_flush(struct inode *inode, struct file *file,
file             1463 net/sunrpc/cache.c 	return nonseekable_open(inode, file);
file             1466 net/sunrpc/cache.c static int release_flush(struct inode *inode, struct file *file,
file             1473 net/sunrpc/cache.c static ssize_t read_flush(struct file *file, char __user *buf,
file             1485 net/sunrpc/cache.c static ssize_t write_flush(struct file *file, const char __user *buf,
file             1528 net/sunrpc/cache.c static ssize_t cache_read_procfs(struct file *filp, char __user *buf,
file             1536 net/sunrpc/cache.c static ssize_t cache_write_procfs(struct file *filp, const char __user *buf,
file             1544 net/sunrpc/cache.c static __poll_t cache_poll_procfs(struct file *filp, poll_table *wait)
file             1551 net/sunrpc/cache.c static long cache_ioctl_procfs(struct file *filp,
file             1560 net/sunrpc/cache.c static int cache_open_procfs(struct inode *inode, struct file *filp)
file             1567 net/sunrpc/cache.c static int cache_release_procfs(struct inode *inode, struct file *filp)
file             1585 net/sunrpc/cache.c static int content_open_procfs(struct inode *inode, struct file *filp)
file             1592 net/sunrpc/cache.c static int content_release_procfs(struct inode *inode, struct file *filp)
file             1606 net/sunrpc/cache.c static int open_flush_procfs(struct inode *inode, struct file *filp)
file             1613 net/sunrpc/cache.c static int release_flush_procfs(struct inode *inode, struct file *filp)
file             1620 net/sunrpc/cache.c static ssize_t read_flush_procfs(struct file *filp, char __user *buf,
file             1628 net/sunrpc/cache.c static ssize_t write_flush_procfs(struct file *filp,
file             1747 net/sunrpc/cache.c static ssize_t cache_read_pipefs(struct file *filp, char __user *buf,
file             1755 net/sunrpc/cache.c static ssize_t cache_write_pipefs(struct file *filp, const char __user *buf,
file             1763 net/sunrpc/cache.c static __poll_t cache_poll_pipefs(struct file *filp, poll_table *wait)
file             1770 net/sunrpc/cache.c static long cache_ioctl_pipefs(struct file *filp,
file             1779 net/sunrpc/cache.c static int cache_open_pipefs(struct inode *inode, struct file *filp)
file             1786 net/sunrpc/cache.c static int cache_release_pipefs(struct inode *inode, struct file *filp)
file             1804 net/sunrpc/cache.c static int content_open_pipefs(struct inode *inode, struct file *filp)
file             1811 net/sunrpc/cache.c static int content_release_pipefs(struct inode *inode, struct file *filp)
file             1825 net/sunrpc/cache.c static int open_flush_pipefs(struct inode *inode, struct file *filp)
file             1832 net/sunrpc/cache.c static int release_flush_pipefs(struct inode *inode, struct file *filp)
file             1839 net/sunrpc/cache.c static ssize_t read_flush_pipefs(struct file *filp, char __user *buf,
file             1847 net/sunrpc/cache.c static ssize_t write_flush_pipefs(struct file *filp,
file               86 net/sunrpc/debugfs.c static int tasks_open(struct inode *inode, struct file *filp)
file              103 net/sunrpc/debugfs.c tasks_release(struct inode *inode, struct file *filp)
file              186 net/sunrpc/debugfs.c xprt_info_open(struct inode *inode, struct file *filp)
file              203 net/sunrpc/debugfs.c xprt_info_release(struct inode *inode, struct file *filp)
file              250 net/sunrpc/debugfs.c fault_open(struct inode *inode, struct file *filp)
file              259 net/sunrpc/debugfs.c fault_release(struct inode *inode, struct file *filp)
file              266 net/sunrpc/debugfs.c fault_disconnect_read(struct file *filp, char __user *user_buf,
file              277 net/sunrpc/debugfs.c fault_disconnect_write(struct file *filp, const char __user *user_buf,
file              104 net/sunrpc/rpc_pipe.c ssize_t rpc_pipe_generic_upcall(struct file *filp, struct rpc_pipe_msg *msg,
file              213 net/sunrpc/rpc_pipe.c rpc_pipe_open(struct inode *inode, struct file *filp)
file              240 net/sunrpc/rpc_pipe.c rpc_pipe_release(struct inode *inode, struct file *filp)
file              281 net/sunrpc/rpc_pipe.c rpc_pipe_read(struct file *filp, char __user *buf, size_t len, loff_t *offset)
file              325 net/sunrpc/rpc_pipe.c rpc_pipe_write(struct file *filp, const char __user *buf, size_t len, loff_t *offset)
file              339 net/sunrpc/rpc_pipe.c rpc_pipe_poll(struct file *filp, struct poll_table_struct *wait)
file              357 net/sunrpc/rpc_pipe.c rpc_pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
file              415 net/sunrpc/rpc_pipe.c rpc_info_open(struct inode *inode, struct file *file)
file              418 net/sunrpc/rpc_pipe.c 	int ret = single_open(file, rpc_show_info, NULL);
file              421 net/sunrpc/rpc_pipe.c 		struct seq_file *m = file->private_data;
file              423 net/sunrpc/rpc_pipe.c 		spin_lock(&file->f_path.dentry->d_lock);
file              424 net/sunrpc/rpc_pipe.c 		if (!d_unhashed(file->f_path.dentry))
file              427 net/sunrpc/rpc_pipe.c 			spin_unlock(&file->f_path.dentry->d_lock);
file              430 net/sunrpc/rpc_pipe.c 			spin_unlock(&file->f_path.dentry->d_lock);
file              431 net/sunrpc/rpc_pipe.c 			single_release(inode, file);
file              439 net/sunrpc/rpc_pipe.c rpc_info_release(struct inode *inode, struct file *file)
file              441 net/sunrpc/rpc_pipe.c 	struct seq_file *m = file->private_data;
file              446 net/sunrpc/rpc_pipe.c 	return single_release(inode, file);
file             1252 net/sunrpc/rpc_pipe.c dummy_downcall(struct file *filp, const char __user *src, size_t len)
file               67 net/sunrpc/stats.c static int rpc_proc_open(struct inode *inode, struct file *file)
file               69 net/sunrpc/stats.c 	return single_open(file, rpc_proc_show, PDE_DATA(inode));
file             1425 net/sunrpc/svc_xprt.c int svc_pool_stats_open(struct svc_serv *serv, struct file *file)
file             1429 net/sunrpc/svc_xprt.c 	err = seq_open(file, &svc_pool_stats_seq_ops);
file             1431 net/sunrpc/svc_xprt.c 		((struct seq_file *) file->private_data)->private = serv;
file              559 net/sunrpc/svcauth_unix.c 	struct user_namespace *user_ns = m->file->f_cred->user_ns;
file             1521 net/sunrpc/svcsock.c 	if (svsk->sk_sock->file)
file              679 net/sunrpc/xprtsock.c 	return transport->sock->ops->poll(transport->file, transport->sock,
file             1277 net/sunrpc/xprtsock.c 	struct file *filp = transport->file;
file             1291 net/sunrpc/xprtsock.c 	transport->file = NULL;
file             1900 net/sunrpc/xprtsock.c 	struct file *filp;
file             1924 net/sunrpc/xprtsock.c 	transport->file = filp;
file             1971 net/sunrpc/xprtsock.c 	struct file *filp;
file             1989 net/sunrpc/xprtsock.c 	transport->file = filp;
file              721 net/tipc/socket.c static __poll_t tipc_poll(struct file *file, struct socket *sock,
file              728 net/tipc/socket.c 	sock_poll_wait(file, sock, wait);
file              645 net/unix/af_unix.c static __poll_t unix_poll(struct file *, struct socket *, poll_table *);
file              646 net/unix/af_unix.c static __poll_t unix_dgram_poll(struct file *, struct socket *,
file             2450 net/unix/af_unix.c 	if (sock->file->f_flags & O_NONBLOCK ||
file             2536 net/unix/af_unix.c 	struct file *f;
file             2604 net/unix/af_unix.c static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait)
file             2609 net/unix/af_unix.c 	sock_poll_wait(file, sock, wait);
file             2639 net/unix/af_unix.c static __poll_t unix_dgram_poll(struct file *file, struct socket *sock,
file             2646 net/unix/af_unix.c 	sock_poll_wait(file, sock, wait);
file              104 net/unix/garbage.c 			struct file **fp = UNIXCB(skb).fp->fp;
file              236 net/unix/garbage.c 		total_refs = file_count(u->sk.sk_socket->file);
file               23 net/unix/scm.c struct sock *unix_get_socket(struct file *filp)
file               47 net/unix/scm.c void unix_inflight(struct user_struct *user, struct file *fp)
file               68 net/unix/scm.c void unix_notinflight(struct user_struct *user, struct file *fp)
file              837 net/vmw_vsock/af_vsock.c static __poll_t vsock_poll(struct file *file, struct socket *sock,
file              847 net/vmw_vsock/af_vsock.c 	poll_wait(file, sk_sleep(sk), wait);
file             1877 net/vmw_vsock/af_vsock.c static long vsock_dev_do_ioctl(struct file *filp,
file             1897 net/vmw_vsock/af_vsock.c static long vsock_dev_ioctl(struct file *filp,
file             1904 net/vmw_vsock/af_vsock.c static long vsock_dev_compat_ioctl(struct file *filp,
file               14 net/wireless/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf,	\
file               17 net/wireless/debugfs.c 	struct wiphy *wiphy = file->private_data;			\
file               62 net/wireless/debugfs.c static ssize_t ht40allow_map_read(struct file *file,
file               66 net/wireless/debugfs.c 	struct wiphy *wiphy = file->private_data;
file              431 net/xdp/xsk.c  static unsigned int xsk_poll(struct file *file, struct socket *sock,
file              434 net/xdp/xsk.c  	unsigned int mask = datagram_poll(file, sock, wait);
file              962 net/xdp/xsk.c  static int xsk_mmap(struct file *file, struct socket *sock,
file              167 samples/bpf/cookie_uid_helper_example.c static void prog_attach_iptables(char *file)
file              172 samples/bpf/cookie_uid_helper_example.c 	if (bpf_obj_pin(prog_fd, file))
file              174 samples/bpf/cookie_uid_helper_example.c 	if (strlen(file) > 50) {
file              175 samples/bpf/cookie_uid_helper_example.c 		printf("file path too long: %s\n", file);
file              179 samples/bpf/cookie_uid_helper_example.c 		file);
file               75 samples/bpf/fds_example.c static int bpf_do_map(const char *file, uint32_t flags, uint32_t key,
file               85 samples/bpf/fds_example.c 		ret = bpf_obj_pin(fd, file);
file               89 samples/bpf/fds_example.c 		fd = bpf_obj_get(file);
file              109 samples/bpf/fds_example.c static int bpf_do_prog(const char *file, uint32_t flags, const char *object)
file              118 samples/bpf/fds_example.c 		ret = bpf_obj_pin(fd, file);
file              122 samples/bpf/fds_example.c 		fd = bpf_obj_get(file);
file              140 samples/bpf/fds_example.c 	const char *file = NULL, *object = NULL;
file              148 samples/bpf/fds_example.c 			file = optarg;
file              180 samples/bpf/fds_example.c 	if (!(flags & BPF_F_PIN_GET) || !file)
file              185 samples/bpf/fds_example.c 		return bpf_do_map(file, flags, key, value);
file              187 samples/bpf/fds_example.c 		return bpf_do_prog(file, flags, object);
file              126 samples/bpf/hbm.c 		.file = prog,
file              129 samples/bpf/xdp1_user.c 	prog_load_attr.file = filename;
file              148 samples/bpf/xdp_adjust_tail_user.c 	prog_load_attr.file = filename;
file              107 samples/bpf/xdp_fwd_user.c 		prog_load_attr.file = filename;
file              700 samples/bpf/xdp_redirect_cpu_user.c 	prog_load_attr.file = filename;
file              151 samples/bpf/xdp_redirect_map_user.c 	prog_load_attr.file = filename;
file              152 samples/bpf/xdp_redirect_user.c 	prog_load_attr.file = filename;
file              642 samples/bpf/xdp_router_ipv4_user.c 	prog_load_attr.file = filename;
file              482 samples/bpf/xdp_rxq_info_user.c 	prog_load_attr.file = filename;
file              147 samples/bpf/xdp_sample_pkts_user.c 	prog_load_attr.file = filename;
file              265 samples/bpf/xdp_tx_iptunnel_user.c 	prog_load_attr.file = filename;
file              210 samples/bpf/xdpsock_user.c static void __exit_with_error(int error, const char *file, const char *func,
file              213 samples/bpf/xdpsock_user.c 	fprintf(stderr, "%s:%s:%i: errno: %d/\"%s\"\n", file, func,
file              113 samples/kfifo/bytestream-example.c static ssize_t fifo_write(struct file *file, const char __user *buf,
file              129 samples/kfifo/bytestream-example.c static ssize_t fifo_read(struct file *file, char __user *buf,
file              106 samples/kfifo/inttype-example.c static ssize_t fifo_write(struct file *file, const char __user *buf,
file              122 samples/kfifo/inttype-example.c static ssize_t fifo_read(struct file *file, char __user *buf,
file              120 samples/kfifo/record-example.c static ssize_t fifo_write(struct file *file, const char __user *buf,
file              136 samples/kfifo/record-example.c static ssize_t fifo_read(struct file *file, char __user *buf,
file             1729 samples/mic/mpssd/mpssd.c 	struct dirent *file;
file             1737 samples/mic/mpssd/mpssd.c 	while ((file = readdir(dp)) != NULL) {
file             1738 samples/mic/mpssd/mpssd.c 		if (!strncmp(file->d_name, "mic", 3)) {
file             1742 samples/mic/mpssd/mpssd.c 				mic->id = atoi(&file->d_name[3]);
file             1743 samples/mic/mpssd/mpssd.c 				mic->name = malloc(strlen(file->d_name) + 16);
file             1745 samples/mic/mpssd/mpssd.c 					strcpy(mic->name, file->d_name);
file              301 samples/qmi/qmi_sample_client.c static ssize_t ping_write(struct file *file, const char __user *user_buf,
file              304 samples/qmi/qmi_sample_client.c 	struct qmi_handle *qmi = file->private_data;
file              368 samples/qmi/qmi_sample_client.c static ssize_t data_write(struct file *file, const char __user *user_buf,
file              372 samples/qmi/qmi_sample_client.c 	struct qmi_handle *qmi = file->private_data;
file              301 samples/v4l/v4l2-pci-skeleton.c static int skeleton_querycap(struct file *file, void *priv,
file              304 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              351 samples/v4l/v4l2-pci-skeleton.c static int skeleton_try_fmt_vid_cap(struct file *file, void *priv,
file              354 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              369 samples/v4l/v4l2-pci-skeleton.c static int skeleton_s_fmt_vid_cap(struct file *file, void *priv,
file              372 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              375 samples/v4l/v4l2-pci-skeleton.c 	ret = skeleton_try_fmt_vid_cap(file, priv, f);
file              391 samples/v4l/v4l2-pci-skeleton.c static int skeleton_g_fmt_vid_cap(struct file *file, void *priv,
file              394 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              400 samples/v4l/v4l2-pci-skeleton.c static int skeleton_enum_fmt_vid_cap(struct file *file, void *priv,
file              410 samples/v4l/v4l2-pci-skeleton.c static int skeleton_s_std(struct file *file, void *priv, v4l2_std_id std)
file              412 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              442 samples/v4l/v4l2-pci-skeleton.c static int skeleton_g_std(struct file *file, void *priv, v4l2_std_id *std)
file              444 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              461 samples/v4l/v4l2-pci-skeleton.c static int skeleton_querystd(struct file *file, void *priv, v4l2_std_id *std)
file              463 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              488 samples/v4l/v4l2-pci-skeleton.c static int skeleton_s_dv_timings(struct file *file, void *_fh,
file              491 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              527 samples/v4l/v4l2-pci-skeleton.c static int skeleton_g_dv_timings(struct file *file, void *_fh,
file              530 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              540 samples/v4l/v4l2-pci-skeleton.c static int skeleton_enum_dv_timings(struct file *file, void *_fh,
file              543 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              562 samples/v4l/v4l2-pci-skeleton.c static int skeleton_query_dv_timings(struct file *file, void *_fh,
file              565 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              591 samples/v4l/v4l2-pci-skeleton.c static int skeleton_dv_timings_cap(struct file *file, void *fh,
file              594 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              603 samples/v4l/v4l2-pci-skeleton.c static int skeleton_enum_input(struct file *file, void *priv,
file              622 samples/v4l/v4l2-pci-skeleton.c static int skeleton_s_input(struct file *file, void *priv, unsigned int i)
file              624 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              649 samples/v4l/v4l2-pci-skeleton.c static int skeleton_g_input(struct file *file, void *priv, unsigned int *i)
file              651 samples/v4l/v4l2-pci-skeleton.c 	struct skeleton *skel = video_drvdata(file);
file              236 scripts/dtc/srcpos.c 	pos->file = current_srcfile;
file              268 scripts/dtc/srcpos.c 	memcpy(srcfile_state, pos->file, sizeof(struct srcfile_state));
file              269 scripts/dtc/srcpos.c 	pos_new->file = srcfile_state;
file              292 scripts/dtc/srcpos.c 	if (pos->file && pos->file->name)
file              293 scripts/dtc/srcpos.c 		fname = pos->file->name;
file              326 scripts/dtc/srcpos.c 	if (!pos->file)
file              328 scripts/dtc/srcpos.c 	else if (!pos->file->name)
file              331 scripts/dtc/srcpos.c 		fname = pos->file->name;
file              333 scripts/dtc/srcpos.c 		fname = shorten_to_initial_path(pos->file->name);
file              337 scripts/dtc/srcpos.c 			fname = pos->file->name;
file               62 scripts/dtc/srcpos.h     struct srcfile_state *file;
file               75 scripts/dtc/srcpos.h 			(Current).file = YYRHSLOC(Rhs, N).file;			\
file               81 scripts/dtc/srcpos.h 			(Current).file = YYRHSLOC (Rhs, 0).file;		\
file               23 scripts/dtc/treesource.c 	yylloc.file = current_srcfile;
file               38 scripts/extract-cert.c 	const char *file;
file               46 scripts/extract-cert.c 	while ((e = ERR_get_error_line(&file, &line))) {
file               48 scripts/extract-cert.c 		fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line);
file               54 scripts/extract-cert.c 	const char *file;
file               59 scripts/extract-cert.c 	while (ERR_get_error_line(&file, &line)) {}
file               40 scripts/gcc-plugins/cyc_complexity_plugin.c 		xloc.file, DECL_NAME_POINTER(current_function_decl));
file              723 scripts/gcc-plugins/gcc-common.h #define dump_varpool_node(file, node) (node)->dump(file)
file              355 scripts/gcc-plugins/randomize_layout_plugin.c 	if (strstr(xloc.file, "/uapi/"))
file              793 scripts/gcc-plugins/randomize_layout_plugin.c 		if (!strstr(xloc.file, entry->pathname))
file              961 scripts/kconfig/confdata.c 	struct file *file;
file              968 scripts/kconfig/confdata.c 	for (file = file_list; file; file = file->next) {
file              969 scripts/kconfig/confdata.c 		if (file->next)
file              970 scripts/kconfig/confdata.c 			fprintf(out, "\t%s \\\n", file->name);
file              972 scripts/kconfig/confdata.c 			fprintf(out, "\t%s\n", file->name);
file               21 scripts/kconfig/expr.h 	struct file *next;
file               22 scripts/kconfig/expr.h 	struct file *parent;
file              202 scripts/kconfig/expr.h 	struct file *file;         /* what file was this property defined */
file              263 scripts/kconfig/expr.h 	struct file *file;
file              287 scripts/kconfig/expr.h extern struct file *file_list;
file              288 scripts/kconfig/expr.h extern struct file *current_file;
file              289 scripts/kconfig/expr.h struct file *lookup_file(const char *name);
file               84 scripts/kconfig/lkc.h struct file *file_lookup(const char *name);
file               18 scripts/kconfig/menu.c struct file *file_list;
file               19 scripts/kconfig/menu.c struct file *current_file;
file               25 scripts/kconfig/menu.c 	fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno);
file               35 scripts/kconfig/menu.c 	fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno);
file               55 scripts/kconfig/menu.c 	menu->file = current_file;
file              814 scripts/kconfig/menu.c 		str_printf(r, "  Defined at %s:%d\n", prop->menu->file->name,
file              106 scripts/kconfig/parser.y 		$$->file->name, $$->lineno);
file              535 scripts/kconfig/parser.y 	if (current_menu->file != current_file) {
file              539 scripts/kconfig/parser.y 			current_menu->file->name, current_menu->lineno,
file             1122 scripts/kconfig/qconf.cc 		debug += QString().sprintf("defined at %s:%d<br><br>", _menu->file->name, _menu->lineno);
file             1074 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno);
file             1078 scripts/kconfig/symbol.c 				menu->file->name, menu->lineno,
file             1083 scripts/kconfig/symbol.c 				menu->file->name, menu->lineno,
file             1088 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno,
file             1093 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno,
file             1098 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno,
file             1103 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno,
file             1109 scripts/kconfig/symbol.c 				prop->file->name, prop->lineno,
file             1285 scripts/kconfig/symbol.c 	prop->file = current_file;
file               13 scripts/kconfig/util.c struct file *file_lookup(const char *name)
file               15 scripts/kconfig/util.c 	struct file *file;
file               17 scripts/kconfig/util.c 	for (file = file_list; file; file = file->next) {
file               18 scripts/kconfig/util.c 		if (!strcmp(name, file->name)) {
file               19 scripts/kconfig/util.c 			return file;
file               23 scripts/kconfig/util.c 	file = xmalloc(sizeof(*file));
file               24 scripts/kconfig/util.c 	memset(file, 0, sizeof(*file));
file               25 scripts/kconfig/util.c 	file->name = xstrdup(name);
file               26 scripts/kconfig/util.c 	file->next = file_list;
file               27 scripts/kconfig/util.c 	file_list = file;
file               28 scripts/kconfig/util.c 	return file;
file              446 scripts/mod/modpost.c char *get_next_line(unsigned long *pos, void *file, unsigned long size)
file              451 scripts/mod/modpost.c 	signed char *p = (signed char *)file + *pos;
file              475 scripts/mod/modpost.c void release_file(void *file, unsigned long size)
file              477 scripts/mod/modpost.c 	munmap(file, size);
file             2395 scripts/mod/modpost.c 	FILE *file;
file             2398 scripts/mod/modpost.c 	file = fopen(fname, "r");
file             2399 scripts/mod/modpost.c 	if (!file)
file             2402 scripts/mod/modpost.c 	if (fstat(fileno(file), &st) < 0)
file             2409 scripts/mod/modpost.c 	if (fread(tmp, 1, b->pos, file) != b->pos)
file             2416 scripts/mod/modpost.c 	fclose(file);
file             2422 scripts/mod/modpost.c 	fclose(file);
file             2424 scripts/mod/modpost.c 	file = fopen(fname, "w");
file             2425 scripts/mod/modpost.c 	if (!file) {
file             2429 scripts/mod/modpost.c 	if (fwrite(b->p, 1, b->pos, file) != b->pos) {
file             2433 scripts/mod/modpost.c 	fclose(file);
file             2442 scripts/mod/modpost.c 	void *file = grab_file(fname, &size);
file             2445 scripts/mod/modpost.c 	if (!file)
file             2449 scripts/mod/modpost.c 	while ((line = get_next_line(&pos, file, size))) {
file             2485 scripts/mod/modpost.c 	release_file(file, size);
file             2488 scripts/mod/modpost.c 	release_file(file, size);
file             2557 scripts/mod/modpost.c 	const char *file;
file             2586 scripts/mod/modpost.c 			extsym_iter->file = optarg;
file             2626 scripts/mod/modpost.c 		read_dump(extsym_start->file, 0);
file              199 scripts/mod/modpost.h char* get_next_line(unsigned long *pos, void *file, unsigned long size);
file              200 scripts/mod/modpost.h void release_file(void *file, unsigned long size);
file              230 scripts/mod/sumversion.c static int parse_string(const char *file, unsigned long len,
file              235 scripts/mod/sumversion.c 	add_char(file[0], md);
file              237 scripts/mod/sumversion.c 		add_char(file[i], md);
file              238 scripts/mod/sumversion.c 		if (file[i] == '"' && file[i-1] != '\\')
file              244 scripts/mod/sumversion.c static int parse_comment(const char *file, unsigned long len)
file              249 scripts/mod/sumversion.c 		if (file[i-1] == '*' && file[i] == '/')
file              258 scripts/mod/sumversion.c 	char *file;
file              261 scripts/mod/sumversion.c 	file = grab_file(fname, &len);
file              262 scripts/mod/sumversion.c 	if (!file)
file              267 scripts/mod/sumversion.c 		if (file[i] == '\\' && (i+1 < len) && file[i+1] == '\n') {
file              273 scripts/mod/sumversion.c 		if (isspace(file[i]))
file              277 scripts/mod/sumversion.c 		if (file[i] == '"') {
file              278 scripts/mod/sumversion.c 			i += parse_string(file+i, len - i, md);
file              283 scripts/mod/sumversion.c 		if (file[i] == '/' && file[i+1] == '*') {
file              284 scripts/mod/sumversion.c 			i += parse_comment(file+i, len - i);
file              288 scripts/mod/sumversion.c 		add_char(file[i], md);
file              290 scripts/mod/sumversion.c 	release_file(file, len);
file              307 scripts/mod/sumversion.c 	char *cmd, *file, *line, *dir;
file              327 scripts/mod/sumversion.c 	file = grab_file(cmd, &flen);
file              328 scripts/mod/sumversion.c 	if (!file) {
file              334 scripts/mod/sumversion.c 	while ((line = get_next_line(&pos, file, flen)) != NULL) {
file              385 scripts/mod/sumversion.c 	release_file(file, flen);
file              395 scripts/mod/sumversion.c 	void *file;
file              405 scripts/mod/sumversion.c 	file = grab_file(filelist, &len);
file              406 scripts/mod/sumversion.c 	if (!file)
file              410 scripts/mod/sumversion.c 	sources = file;
file              430 scripts/mod/sumversion.c 	release_file(file, len);
file              644 scripts/recordmcount.c 		char *file = argv[i];
file              652 scripts/recordmcount.c 		len = strlen(file);
file              654 scripts/recordmcount.c 		    strcmp(file + (len - ftrace_size), ftrace) == 0)
file              657 scripts/recordmcount.c 		if (do_file(file)) {
file              658 scripts/recordmcount.c 			fprintf(stderr, "%s: failed\n", file);
file               81 scripts/sign-file.c 	const char *file;
file               89 scripts/sign-file.c 	while ((e = ERR_get_error_line(&file, &line))) {
file               91 scripts/sign-file.c 		fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line);
file               97 scripts/sign-file.c 	const char *file;
file              102 scripts/sign-file.c 	while (ERR_get_error_line(&file, &line)) {}
file              376 scripts/sortextable.c 		char *file = argv[i];
file              381 scripts/sortextable.c 			fprintf(stderr, "internal error: %s\n", file);
file              389 scripts/sortextable.c 			do_file(file);
file              442 security/apparmor/apparmorfs.c static ssize_t profile_load(struct file *f, const char __user *buf, size_t size,
file              459 security/apparmor/apparmorfs.c static ssize_t profile_replace(struct file *f, const char __user *buf,
file              476 security/apparmor/apparmorfs.c static ssize_t profile_remove(struct file *f, const char __user *buf,
file              521 security/apparmor/apparmorfs.c static int ns_revision_release(struct inode *inode, struct file *file)
file              523 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
file              533 security/apparmor/apparmorfs.c static ssize_t ns_revision_read(struct file *file, char __user *buf,
file              536 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
file              545 security/apparmor/apparmorfs.c 		if (file->f_flags & O_NONBLOCK)
file              564 security/apparmor/apparmorfs.c static int ns_revision_open(struct inode *inode, struct file *file)
file              574 security/apparmor/apparmorfs.c 	file->private_data = rev;
file              579 security/apparmor/apparmorfs.c static __poll_t ns_revision_poll(struct file *file, poll_table *pt)
file              581 security/apparmor/apparmorfs.c 	struct aa_revision *rev = file->private_data;
file              586 security/apparmor/apparmorfs.c 		poll_wait(file, &rev->ns->wait, pt);
file              619 security/apparmor/apparmorfs.c 	if (profile->file.dfa && *match_str == AA_CLASS_FILE) {
file              620 security/apparmor/apparmorfs.c 		dfa = profile->file.dfa;
file              621 security/apparmor/apparmorfs.c 		state = aa_dfa_match_len(dfa, profile->file.start,
file              844 security/apparmor/apparmorfs.c static void multi_transaction_set(struct file *file,
file              853 security/apparmor/apparmorfs.c 	old = (struct multi_transaction *) file->private_data;
file              854 security/apparmor/apparmorfs.c 	file->private_data = new;
file              859 security/apparmor/apparmorfs.c static struct multi_transaction *multi_transaction_new(struct file *file,
file              878 security/apparmor/apparmorfs.c static ssize_t multi_transaction_read(struct file *file, char __user *buf,
file              885 security/apparmor/apparmorfs.c 	t = get_multi_transaction(file->private_data);
file              896 security/apparmor/apparmorfs.c static int multi_transaction_release(struct inode *inode, struct file *file)
file              898 security/apparmor/apparmorfs.c 	put_multi_transaction(file->private_data);
file              933 security/apparmor/apparmorfs.c static ssize_t aa_write_access(struct file *file, const char __user *ubuf,
file              942 security/apparmor/apparmorfs.c 	t = multi_transaction_new(file, ubuf, count);
file              975 security/apparmor/apparmorfs.c 	multi_transaction_set(file, t, len);
file             1012 security/apparmor/apparmorfs.c static int aa_sfs_seq_open(struct inode *inode, struct file *file)
file             1014 security/apparmor/apparmorfs.c 	return single_open(file, aa_sfs_seq_show, inode->i_private);
file             1031 security/apparmor/apparmorfs.c static int seq_profile_ ##NAME ##_open(struct inode *inode, struct file *file)\
file             1033 security/apparmor/apparmorfs.c 	return seq_profile_open(inode, file, seq_profile_ ##NAME ##_show);    \
file             1044 security/apparmor/apparmorfs.c static int seq_profile_open(struct inode *inode, struct file *file,
file             1048 security/apparmor/apparmorfs.c 	int error = single_open(file, show, proxy);
file             1051 security/apparmor/apparmorfs.c 		file->private_data = NULL;
file             1058 security/apparmor/apparmorfs.c static int seq_profile_release(struct inode *inode, struct file *file)
file             1060 security/apparmor/apparmorfs.c 	struct seq_file *seq = (struct seq_file *) file->private_data;
file             1063 security/apparmor/apparmorfs.c 	return single_release(inode, file);
file             1133 security/apparmor/apparmorfs.c static int seq_ns_ ##NAME ##_open(struct inode *inode, struct file *file)     \
file             1135 security/apparmor/apparmorfs.c 	return single_open(file, seq_ns_ ##NAME ##_show, inode->i_private);   \
file             1209 security/apparmor/apparmorfs.c static int seq_rawdata_ ##NAME ##_open(struct inode *inode, struct file *file)\
file             1211 security/apparmor/apparmorfs.c 	return seq_rawdata_open(inode, file, seq_rawdata_ ##NAME ##_show);    \
file             1222 security/apparmor/apparmorfs.c static int seq_rawdata_open(struct inode *inode, struct file *file,
file             1232 security/apparmor/apparmorfs.c 	error = single_open(file, show, data);
file             1234 security/apparmor/apparmorfs.c 		AA_BUG(file->private_data &&
file             1235 security/apparmor/apparmorfs.c 		       ((struct seq_file *)file->private_data)->private);
file             1242 security/apparmor/apparmorfs.c static int seq_rawdata_release(struct inode *inode, struct file *file)
file             1244 security/apparmor/apparmorfs.c 	struct seq_file *seq = (struct seq_file *) file->private_data;
file             1249 security/apparmor/apparmorfs.c 	return single_release(inode, file);
file             1288 security/apparmor/apparmorfs.c static ssize_t rawdata_read(struct file *file, char __user *buf, size_t size,
file             1291 security/apparmor/apparmorfs.c 	struct aa_loaddata *rawdata = file->private_data;
file             1297 security/apparmor/apparmorfs.c static int rawdata_release(struct inode *inode, struct file *file)
file             1299 security/apparmor/apparmorfs.c 	aa_put_loaddata(file->private_data);
file             1304 security/apparmor/apparmorfs.c static int rawdata_open(struct inode *inode, struct file *file)
file             1308 security/apparmor/apparmorfs.c 	file->private_data = __aa_get_loaddata(inode->i_private);
file             1309 security/apparmor/apparmorfs.c 	if (!file->private_data)
file             2182 security/apparmor/apparmorfs.c static int profiles_open(struct inode *inode, struct file *file)
file             2187 security/apparmor/apparmorfs.c 	return seq_open(file, &aa_sfs_profiles_op);
file             2190 security/apparmor/apparmorfs.c static int profiles_release(struct inode *inode, struct file *file)
file             2192 security/apparmor/apparmorfs.c 	return seq_release(inode, file);
file              104 security/apparmor/domain.c 		state = aa_dfa_match(profile->file.dfa, state, "&");
file              106 security/apparmor/domain.c 		return aa_dfa_match(profile->file.dfa, state, tp->base.hname);
file              110 security/apparmor/domain.c 	state = aa_dfa_match_len(profile->file.dfa, state, ":", 1);
file              111 security/apparmor/domain.c 	state = aa_dfa_match(profile->file.dfa, state, ns_name);
file              112 security/apparmor/domain.c 	state = aa_dfa_match_len(profile->file.dfa, state, ":", 1);
file              113 security/apparmor/domain.c 	return aa_dfa_match(profile->file.dfa, state, tp->base.hname);
file              159 security/apparmor/domain.c 		state = aa_dfa_match(profile->file.dfa, state, "//&");
file              164 security/apparmor/domain.c 	*perms = aa_compute_fperms(profile->file.dfa, state, &cond);
file              217 security/apparmor/domain.c 	tmp = aa_compute_fperms(profile->file.dfa, state, &cond);
file              226 security/apparmor/domain.c 		tmp = aa_compute_fperms(profile->file.dfa, state, &cond);
file              325 security/apparmor/domain.c 	d = bprm->file->f_path.dentry;
file              517 security/apparmor/domain.c 	for (*name = profile->file.trans.table[index]; !label && *name;
file              568 security/apparmor/domain.c 		stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK];
file              626 security/apparmor/domain.c 	unsigned int state = profile->file.start;
file              635 security/apparmor/domain.c 	error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer,
file              660 security/apparmor/domain.c 	state = aa_str_perms(profile->file.dfa, state, name, cond, &perms);
file              748 security/apparmor/domain.c 	unsigned int state = profile->file.start;
file              768 security/apparmor/domain.c 	error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer,
file              781 security/apparmor/domain.c 	state = aa_str_perms(profile->file.dfa, state, xname, cond, &perms);
file              790 security/apparmor/domain.c 	state = aa_dfa_null_transition(profile->file.dfa, state);
file              885 security/apparmor/domain.c 		file_inode(bprm->file)->i_uid,
file              886 security/apparmor/domain.c 		file_inode(bprm->file)->i_mode
file              990 security/apparmor/domain.c 				      file_inode(bprm->file)->i_uid, info,
file             1288 security/apparmor/domain.c 					     profile->file.start, perms);
file              285 security/apparmor/file.c 	aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms);
file              390 security/apparmor/file.c 	state = aa_str_perms(profile->file.dfa, profile->file.start, lname,
file              397 security/apparmor/file.c 	state = aa_dfa_null_transition(profile->file.dfa, state);
file              398 security/apparmor/file.c 	aa_str_perms(profile->file.dfa, state, tname, cond, &perms);
file              420 security/apparmor/file.c 	aa_str_perms(profile->file.dfa, profile->file.start, tname, cond,
file              509 security/apparmor/file.c 			    struct aa_label *flabel, struct file *file,
file              515 security/apparmor/file.c 		.uid = file_inode(file)->i_uid,
file              516 security/apparmor/file.c 		.mode = file_inode(file)->i_mode
file              531 security/apparmor/file.c 			profile_path_perm(op, profile, &file->f_path, buffer,
file              544 security/apparmor/file.c 				profile_path_perm(op, profile, &file->f_path,
file              549 security/apparmor/file.c 				profile_path_perm(op, profile, &file->f_path,
file              554 security/apparmor/file.c 		update_file_ctx(file_ctx(file), label, request);
file              562 security/apparmor/file.c 			    struct aa_label *flabel, struct file *file,
file              565 security/apparmor/file.c 	struct socket *sock = (struct socket *) file->private_data;
file              582 security/apparmor/file.c 		update_file_ctx(file_ctx(file), label, request);
file              596 security/apparmor/file.c int aa_file_perm(const char *op, struct aa_label *label, struct file *file,
file              605 security/apparmor/file.c 	AA_BUG(!file);
file              607 security/apparmor/file.c 	fctx = file_ctx(file);
file              627 security/apparmor/file.c 	if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry))
file              628 security/apparmor/file.c 		error = __file_path_perm(op, label, flabel, file, request,
file              631 security/apparmor/file.c 	else if (S_ISSOCK(file_inode(file)->i_mode))
file              632 security/apparmor/file.c 		error = __file_sock_perm(op, label, flabel, file, request,
file              652 security/apparmor/file.c 		struct file *file;
file              656 security/apparmor/file.c 		file = file_priv->file;
file              658 security/apparmor/file.c 		if (aa_file_perm(OP_INHERIT, label, file, MAY_READ | MAY_WRITE))
file              668 security/apparmor/file.c static int match_file(const void *p, struct file *file, unsigned int fd)
file              672 security/apparmor/file.c 	if (aa_file_perm(OP_INHERIT, label, file, aa_map_file_to_perms(file)))
file              682 security/apparmor/file.c 	struct file *devnull = NULL;
file               31 security/apparmor/include/file.h static inline struct aa_file_ctx *file_ctx(struct file *file)
file               33 security/apparmor/include/file.h 	return file->f_security + apparmor_blob_sizes.lbs_file;
file              199 security/apparmor/include/file.h int aa_file_perm(const char *op, struct aa_label *label, struct file *file,
file              216 security/apparmor/include/file.h static inline u32 aa_map_file_to_perms(struct file *file)
file              218 security/apparmor/include/file.h 	int flags = file->f_flags;
file              221 security/apparmor/include/file.h 	if (file->f_mode & FMODE_WRITE)
file              223 security/apparmor/include/file.h 	if (file->f_mode & FMODE_READ)
file              146 security/apparmor/include/policy.h 	struct aa_file_rules file;
file              392 security/apparmor/lsm.c static int apparmor_file_open(struct file *file)
file              394 security/apparmor/lsm.c 	struct aa_file_ctx *fctx = file_ctx(file);
file              398 security/apparmor/lsm.c 	if (!path_mediated_fs(file->f_path.dentry))
file              411 security/apparmor/lsm.c 	label = aa_get_newest_cred_label(file->f_cred);
file              413 security/apparmor/lsm.c 		struct inode *inode = file_inode(file);
file              416 security/apparmor/lsm.c 		error = aa_path_perm(OP_OPEN, label, &file->f_path, 0,
file              417 security/apparmor/lsm.c 				     aa_map_file_to_perms(file), &cond);
file              419 security/apparmor/lsm.c 		fctx->allow = aa_map_file_to_perms(file);
file              426 security/apparmor/lsm.c static int apparmor_file_alloc_security(struct file *file)
file              428 security/apparmor/lsm.c 	struct aa_file_ctx *ctx = file_ctx(file);
file              437 security/apparmor/lsm.c static void apparmor_file_free_security(struct file *file)
file              439 security/apparmor/lsm.c 	struct aa_file_ctx *ctx = file_ctx(file);
file              445 security/apparmor/lsm.c static int common_file_perm(const char *op, struct file *file, u32 mask)
file              451 security/apparmor/lsm.c 	if (file->f_path.dentry == aa_null.dentry)
file              455 security/apparmor/lsm.c 	error = aa_file_perm(op, label, file, mask);
file              461 security/apparmor/lsm.c static int apparmor_file_receive(struct file *file)
file              463 security/apparmor/lsm.c 	return common_file_perm(OP_FRECEIVE, file, aa_map_file_to_perms(file));
file              466 security/apparmor/lsm.c static int apparmor_file_permission(struct file *file, int mask)
file              468 security/apparmor/lsm.c 	return common_file_perm(OP_FPERM, file, mask);
file              471 security/apparmor/lsm.c static int apparmor_file_lock(struct file *file, unsigned int cmd)
file              478 security/apparmor/lsm.c 	return common_file_perm(OP_FLOCK, file, mask);
file              481 security/apparmor/lsm.c static int common_mmap(const char *op, struct file *file, unsigned long prot,
file              486 security/apparmor/lsm.c 	if (!file || !file_ctx(file))
file              500 security/apparmor/lsm.c 	return common_file_perm(op, file, mask);
file              503 security/apparmor/lsm.c static int apparmor_mmap_file(struct file *file, unsigned long reqprot,
file              506 security/apparmor/lsm.c 	return common_mmap(OP_FMMAP, file, prot, flags);
file              222 security/apparmor/policy.c 	aa_free_file_rules(&profile->file);
file              547 security/apparmor/policy.c 	profile->file.dfa = aa_get_dfa(nulldfa);
file              111 security/apparmor/policy_ns.c 	ns->unconfined->file.dfa = aa_get_dfa(nulldfa);
file              486 security/apparmor/policy_unpack.c 		profile->file.trans.table = kcalloc(size, sizeof(char *),
file              488 security/apparmor/policy_unpack.c 		if (!profile->file.trans.table)
file              491 security/apparmor/policy_unpack.c 		profile->file.trans.size = size;
file              500 security/apparmor/policy_unpack.c 			profile->file.trans.table[i] = str;
file              538 security/apparmor/policy_unpack.c 	aa_free_domain_entries(&profile->file.trans);
file              847 security/apparmor/policy_unpack.c 	profile->file.dfa = unpack_dfa(e);
file              848 security/apparmor/policy_unpack.c 	if (IS_ERR(profile->file.dfa)) {
file              849 security/apparmor/policy_unpack.c 		error = PTR_ERR(profile->file.dfa);
file              850 security/apparmor/policy_unpack.c 		profile->file.dfa = NULL;
file              853 security/apparmor/policy_unpack.c 	} else if (profile->file.dfa) {
file              854 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &profile->file.start, "dfa_start"))
file              856 security/apparmor/policy_unpack.c 			profile->file.start = DFA_START;
file              859 security/apparmor/policy_unpack.c 		profile->file.dfa = aa_get_dfa(profile->policy.dfa);
file              860 security/apparmor/policy_unpack.c 		profile->file.start = profile->policy.start[AA_CLASS_FILE];
file              862 security/apparmor/policy_unpack.c 		profile->file.dfa = aa_get_dfa(nulldfa);
file             1012 security/apparmor/policy_unpack.c 	if (profile->file.dfa &&
file             1013 security/apparmor/policy_unpack.c 	    !verify_dfa_xindex(profile->file.dfa,
file             1014 security/apparmor/policy_unpack.c 			       profile->file.trans.size)) {
file              660 security/commoncap.c 	if (!mnt_may_suid(bprm->file->f_path.mnt))
file              668 security/commoncap.c 	if (!current_in_userns(bprm->file->f_path.mnt->mnt_sb->s_user_ns))
file              671 security/commoncap.c 	rc = get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps);
file             1335 security/commoncap.c int cap_mmap_file(struct file *file, unsigned long reqprot,
file              318 security/inode.c static ssize_t lsm_read(struct file *filp, char __user *buf, size_t count,
file               41 security/integrity/evm/evm_secfs.c static ssize_t evm_read_key(struct file *filp, char __user *buf,
file               68 security/integrity/evm/evm_secfs.c static ssize_t evm_write_key(struct file *file, const char __user *buf,
file              128 security/integrity/evm/evm_secfs.c static ssize_t evm_read_xattrs(struct file *filp, char __user *buf,
file              174 security/integrity/evm/evm_secfs.c static ssize_t evm_write_xattrs(struct file *file, const char __user *buf,
file              188 security/integrity/iint.c int integrity_kernel_read(struct file *file, loff_t offset,
file              195 security/integrity/iint.c 	if (!(file->f_mode & FMODE_READ))
file              200 security/integrity/iint.c 	ret = __vfs_read(file, buf, count, &offset);
file               59 security/integrity/ima/ima.h 	struct file *file;
file              137 security/integrity/ima/ima.h int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash);
file              144 security/integrity/ima/ima.h void ima_add_violation(struct file *file, const unsigned char *filename,
file              213 security/integrity/ima/ima.h 			    struct file *file, void *buf, loff_t size,
file              215 security/integrity/ima/ima.h void ima_store_measurement(struct integrity_iint_cache *iint, struct file *file,
file              258 security/integrity/ima/ima.h 			     struct file *file, const unsigned char *filename,
file              262 security/integrity/ima/ima.h void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file);
file              273 security/integrity/ima/ima.h 					   struct file *file,
file              289 security/integrity/ima/ima.h 				    struct file *file)
file              132 security/integrity/ima/ima_api.c void ima_add_violation(struct file *file, const unsigned char *filename,
file              137 security/integrity/ima/ima_api.c 	struct inode *inode = file_inode(file);
file              139 security/integrity/ima/ima_api.c 					     .file = file,
file              207 security/integrity/ima/ima_api.c 			    struct file *file, void *buf, loff_t size,
file              211 security/integrity/ima/ima_api.c 	struct inode *inode = file_inode(file);
file              212 security/integrity/ima/ima_api.c 	const char *filename = file->f_path.dentry->d_name.name;
file              247 security/integrity/ima/ima_api.c 		result = ima_calc_file_hash(file, &hash.hdr);
file              268 security/integrity/ima/ima_api.c 		if (file->f_flags & O_DIRECT)
file              294 security/integrity/ima/ima_api.c 			   struct file *file, const unsigned char *filename,
file              302 security/integrity/ima/ima_api.c 	struct inode *inode = file_inode(file);
file              305 security/integrity/ima/ima_api.c 					     .file = file,
file              329 security/integrity/ima/ima_api.c 	if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) {
file              316 security/integrity/ima/ima_appraise.c 			     struct file *file, const unsigned char *filename,
file              322 security/integrity/ima/ima_appraise.c 	struct dentry *dentry = file_dentry(file);
file              340 security/integrity/ima/ima_appraise.c 		if (file->f_mode & FMODE_CREATED)
file              425 security/integrity/ima/ima_appraise.c void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file)
file              427 security/integrity/ima/ima_appraise.c 	struct dentry *dentry = file_dentry(file);
file              438 security/integrity/ima/ima_appraise.c 	rc = ima_collect_measurement(iint, file, NULL, 0, ima_hash_algo, NULL);
file              442 security/integrity/ima/ima_appraise.c 	inode_lock(file_inode(file));
file              444 security/integrity/ima/ima_appraise.c 	inode_unlock(file_inode(file));
file              204 security/integrity/ima/ima_crypto.c static int ima_calc_file_hash_atfm(struct file *file,
file              231 security/integrity/ima/ima_crypto.c 	i_size = i_size_read(file_inode(file));
file              269 security/integrity/ima/ima_crypto.c 		rc = integrity_kernel_read(file, offset, rbuf[active],
file              315 security/integrity/ima/ima_crypto.c static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash)
file              324 security/integrity/ima/ima_crypto.c 	rc = ima_calc_file_hash_atfm(file, hash, tfm);
file              331 security/integrity/ima/ima_crypto.c static int ima_calc_file_hash_tfm(struct file *file,
file              348 security/integrity/ima/ima_crypto.c 	i_size = i_size_read(file_inode(file));
file              360 security/integrity/ima/ima_crypto.c 		rbuf_len = integrity_kernel_read(file, offset, rbuf, PAGE_SIZE);
file              380 security/integrity/ima/ima_crypto.c static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash)
file              389 security/integrity/ima/ima_crypto.c 	rc = ima_calc_file_hash_tfm(file, hash, tfm);
file              409 security/integrity/ima/ima_crypto.c int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash)
file              413 security/integrity/ima/ima_crypto.c 	struct file *f = file;
file              420 security/integrity/ima/ima_crypto.c 	if (file->f_flags & O_DIRECT) {
file              427 security/integrity/ima/ima_crypto.c 	if (!(file->f_mode & FMODE_READ)) {
file              428 security/integrity/ima/ima_crypto.c 		int flags = file->f_flags & ~(O_WRONLY | O_APPEND |
file              431 security/integrity/ima/ima_crypto.c 		f = dentry_open(&file->f_path, flags, file->f_cred);
file              438 security/integrity/ima/ima_crypto.c 			f = file;
file               52 security/integrity/ima/ima_fs.c static ssize_t ima_show_htable_violations(struct file *filp,
file               64 security/integrity/ima/ima_fs.c static ssize_t ima_show_measurements_count(struct file *filp,
file              197 security/integrity/ima/ima_fs.c static int ima_measurements_open(struct inode *inode, struct file *file)
file              199 security/integrity/ima/ima_fs.c 	return seq_open(file, &ima_measurments_seqops);
file              263 security/integrity/ima/ima_fs.c static int ima_ascii_measurements_open(struct inode *inode, struct file *file)
file              265 security/integrity/ima/ima_fs.c 	return seq_open(file, &ima_ascii_measurements_seqops);
file              312 security/integrity/ima/ima_fs.c static ssize_t ima_write_policy(struct file *file, const char __user *buf,
file              383 security/integrity/ima/ima_fs.c static int ima_open_policy(struct inode *inode, struct file *filp)
file              408 security/integrity/ima/ima_fs.c static int ima_release_policy(struct inode *inode, struct file *file)
file              412 security/integrity/ima/ima_fs.c 	if ((file->f_flags & O_ACCMODE) == O_RDONLY)
file              413 security/integrity/ima/ima_fs.c 		return seq_release(inode, file);
file               21 security/integrity/ima/ima_kexec.c 	struct seq_file file;
file               26 security/integrity/ima/ima_kexec.c 	file.buf = vmalloc(segment_size);
file               27 security/integrity/ima/ima_kexec.c 	if (!file.buf) {
file               32 security/integrity/ima/ima_kexec.c 	file.size = segment_size;
file               33 security/integrity/ima/ima_kexec.c 	file.read_pos = 0;
file               34 security/integrity/ima/ima_kexec.c 	file.count = sizeof(khdr);	/* reserved space */
file               39 security/integrity/ima/ima_kexec.c 		if (file.count < file.size) {
file               41 security/integrity/ima/ima_kexec.c 			ima_measurements_show(&file, qe);
file               55 security/integrity/ima/ima_kexec.c 	khdr.buffer_size = file.count;
file               61 security/integrity/ima/ima_kexec.c 	memcpy(file.buf, &khdr, sizeof(khdr));
file               64 security/integrity/ima/ima_kexec.c 			16, 1, file.buf,
file               65 security/integrity/ima/ima_kexec.c 			file.count < 100 ? file.count : 100, true);
file               67 security/integrity/ima/ima_kexec.c 	*buffer_size = file.count;
file               68 security/integrity/ima/ima_kexec.c 	*buffer = file.buf;
file               71 security/integrity/ima/ima_kexec.c 		vfree(file.buf);
file               76 security/integrity/ima/ima_main.c static int mmap_violation_check(enum ima_hooks func, struct file *file,
file               83 security/integrity/ima/ima_main.c 	if ((func == MMAP_CHECK) && mapping_writably_mapped(file->f_mapping)) {
file               85 security/integrity/ima/ima_main.c 		inode = file_inode(file);
file               88 security/integrity/ima/ima_main.c 			*pathname = ima_d_path(&file->f_path, pathbuf,
file              106 security/integrity/ima/ima_main.c static void ima_rdwr_violation_check(struct file *file,
file              113 security/integrity/ima/ima_main.c 	struct inode *inode = file_inode(file);
file              114 security/integrity/ima/ima_main.c 	fmode_t mode = file->f_mode;
file              136 security/integrity/ima/ima_main.c 	*pathname = ima_d_path(&file->f_path, pathbuf, filename);
file              139 security/integrity/ima/ima_main.c 		ima_add_violation(file, *pathname, iint,
file              142 security/integrity/ima/ima_main.c 		ima_add_violation(file, *pathname, iint,
file              147 security/integrity/ima/ima_main.c 				  struct inode *inode, struct file *file)
file              149 security/integrity/ima/ima_main.c 	fmode_t mode = file->f_mode;
file              165 security/integrity/ima/ima_main.c 				ima_update_xattr(iint, file);
file              177 security/integrity/ima/ima_main.c void ima_file_free(struct file *file)
file              179 security/integrity/ima/ima_main.c 	struct inode *inode = file_inode(file);
file              189 security/integrity/ima/ima_main.c 	ima_check_last_writer(iint, inode, file);
file              192 security/integrity/ima/ima_main.c static int process_measurement(struct file *file, const struct cred *cred,
file              196 security/integrity/ima/ima_main.c 	struct inode *inode = file_inode(file);
file              239 security/integrity/ima/ima_main.c 		ima_rdwr_violation_check(file, iint, action & IMA_MEASURE,
file              285 security/integrity/ima/ima_main.c 		xattr_len = ima_read_xattr(file_dentry(file), &xattr_value);
file              297 security/integrity/ima/ima_main.c 			rc = mmap_violation_check(func, file, &pathbuf,
file              308 security/integrity/ima/ima_main.c 		xattr_len = ima_read_xattr(file_dentry(file), &xattr_value);
file              326 security/integrity/ima/ima_main.c 	rc = ima_collect_measurement(iint, file, buf, size, hash_algo, modsig);
file              331 security/integrity/ima/ima_main.c 		pathname = ima_d_path(&file->f_path, &pathbuf, filename);
file              334 security/integrity/ima/ima_main.c 		ima_store_measurement(iint, file, pathname,
file              339 security/integrity/ima/ima_main.c 		rc = ima_appraise_measurement(func, iint, file, pathname,
file              343 security/integrity/ima/ima_main.c 			rc = mmap_violation_check(func, file, &pathbuf,
file              349 security/integrity/ima/ima_main.c 	if ((file->f_flags & O_DIRECT) && (iint->flags & IMA_PERMIT_DIRECTIO))
file              364 security/integrity/ima/ima_main.c 		if (file->f_mode & FMODE_WRITE)
file              381 security/integrity/ima/ima_main.c int ima_file_mmap(struct file *file, unsigned long prot)
file              385 security/integrity/ima/ima_main.c 	if (file && (prot & PROT_EXEC)) {
file              387 security/integrity/ima/ima_main.c 		return process_measurement(file, current_cred(), secid, NULL,
file              413 security/integrity/ima/ima_main.c 	ret = process_measurement(bprm->file, current_cred(), secid, NULL, 0,
file              419 security/integrity/ima/ima_main.c 	return process_measurement(bprm->file, bprm->cred, secid, NULL, 0,
file              433 security/integrity/ima/ima_main.c int ima_file_check(struct file *file, int mask)
file              438 security/integrity/ima/ima_main.c 	return process_measurement(file, current_cred(), secid, NULL, 0,
file              508 security/integrity/ima/ima_main.c int ima_read_file(struct file *file, enum kernel_read_file_id read_id)
file              543 security/integrity/ima/ima_main.c int ima_post_read_file(struct file *file, void *buf, loff_t size,
file              549 security/integrity/ima/ima_main.c 	if (!file && read_id == READING_FIRMWARE) {
file              559 security/integrity/ima/ima_main.c 	if (!file && read_id == READING_X509_CERTIFICATE)
file              562 security/integrity/ima/ima_main.c 	if (!file || !buf || size == 0) { /* should never happen */
file              570 security/integrity/ima/ima_main.c 	return process_measurement(file, current_cred(), secid, buf, size,
file              291 security/integrity/ima/ima_template_lib.c 	if (!event_data->file)	/* missing info to re-calculate the digest */
file              294 security/integrity/ima/ima_template_lib.c 	inode = file_inode(event_data->file);
file              297 security/integrity/ima/ima_template_lib.c 	result = ima_calc_file_hash(event_data->file, &hash.hdr);
file              374 security/integrity/ima/ima_template_lib.c 	BUG_ON(event_data->filename == NULL && event_data->file == NULL);
file              384 security/integrity/ima/ima_template_lib.c 	if (event_data->file) {
file              385 security/integrity/ima/ima_template_lib.c 		cur_filename = event_data->file->f_path.dentry->d_name.name;
file              141 security/integrity/integrity.h int integrity_kernel_read(struct file *file, loff_t offset,
file              204 security/keys/big_key.c 	struct file *file;
file              247 security/keys/big_key.c 		file = shmem_kernel_file_setup("", enclen, 0);
file              248 security/keys/big_key.c 		if (IS_ERR(file)) {
file              249 security/keys/big_key.c 			ret = PTR_ERR(file);
file              253 security/keys/big_key.c 		written = kernel_write(file, buf->virt, enclen, &pos);
file              265 security/keys/big_key.c 		*path = file->f_path;
file              267 security/keys/big_key.c 		fput(file);
file              282 security/keys/big_key.c 	fput(file);
file              366 security/keys/big_key.c 		struct file *file;
file              375 security/keys/big_key.c 		file = dentry_open(path, O_RDONLY, current_cred());
file              376 security/keys/big_key.c 		if (IS_ERR(file)) {
file              377 security/keys/big_key.c 			ret = PTR_ERR(file);
file              382 security/keys/big_key.c 		ret = kernel_read(file, buf->virt, enclen, &pos);
file              398 security/keys/big_key.c 		fput(file);
file              167 security/keys/proc.c 		.cred			= m->file->f_cred,
file               20 security/loadpin/loadpin.c static void report_load(const char *origin, struct file *file, char *operation)
file               24 security/loadpin/loadpin.c 	pathname = kstrdup_quotable_file(file, GFP_KERNEL);
file              119 security/loadpin/loadpin.c static int loadpin_read_file(struct file *file, enum kernel_read_file_id id)
file              127 security/loadpin/loadpin.c 		report_load(origin, file, "pinning-excluded");
file              132 security/loadpin/loadpin.c 	if (!file) {
file              142 security/loadpin/loadpin.c 	load_root = file->f_path.mnt->mnt_sb;
file              160 security/loadpin/loadpin.c 		report_load(origin, file, "pinned");
file              167 security/loadpin/loadpin.c 			report_load(origin, file, "pinning-ignored");
file              171 security/loadpin/loadpin.c 		report_load(origin, file, "denied");
file              117 security/lockdown/lockdown.c static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count,
file              143 security/lockdown/lockdown.c static ssize_t lockdown_write(struct file *file, const char __user *buf,
file              248 security/lsm_audit.c 		audit_log_d_path(ab, " path=", &a->u.file->f_path);
file              250 security/lsm_audit.c 		inode = file_inode(a->u.file);
file               30 security/safesetid/securityfs.c static int parse_policy_line(struct file *file, char *buf,
file               52 security/safesetid/securityfs.c 	rule->src_uid = make_kuid(file->f_cred->user_ns, parsed_parent);
file               53 security/safesetid/securityfs.c 	rule->dst_uid = make_kuid(file->f_cred->user_ns, parsed_child);
file              110 security/safesetid/securityfs.c static ssize_t handle_policy_update(struct file *file,
file              151 security/safesetid/securityfs.c 		err = parse_policy_line(file, p, rule);
file              195 security/safesetid/securityfs.c static ssize_t safesetid_file_write(struct file *file,
file              200 security/safesetid/securityfs.c 	if (!file_ns_capable(file, &init_user_ns, CAP_MAC_ADMIN))
file              206 security/safesetid/securityfs.c 	return handle_policy_update(file, buf, len);
file              209 security/safesetid/securityfs.c static ssize_t safesetid_file_read(struct file *file, char __user *buf,
file              528 security/security.c static int lsm_file_alloc(struct file *file)
file              531 security/security.c 		file->f_security = NULL;
file              535 security/security.c 	file->f_security = kmem_cache_zalloc(lsm_file_cache, GFP_KERNEL);
file              536 security/security.c 	if (file->f_security == NULL)
file              691 security/security.c 				  struct task_struct *to, struct file *file)
file              693 security/security.c 	return call_int_hook(binder_transfer_file, 0, from, to, file);
file             1371 security/security.c int security_file_permission(struct file *file, int mask)
file             1375 security/security.c 	ret = call_int_hook(file_permission, 0, file, mask);
file             1379 security/security.c 	return fsnotify_perm(file, mask);
file             1382 security/security.c int security_file_alloc(struct file *file)
file             1384 security/security.c 	int rc = lsm_file_alloc(file);
file             1388 security/security.c 	rc = call_int_hook(file_alloc_security, 0, file);
file             1390 security/security.c 		security_file_free(file);
file             1394 security/security.c void security_file_free(struct file *file)
file             1398 security/security.c 	call_void_hook(file_free_security, file);
file             1400 security/security.c 	blob = file->f_security;
file             1402 security/security.c 		file->f_security = NULL;
file             1407 security/security.c int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1409 security/security.c 	return call_int_hook(file_ioctl, 0, file, cmd, arg);
file             1412 security/security.c static inline unsigned long mmap_prot(struct file *file, unsigned long prot)
file             1425 security/security.c 	if (!file)
file             1431 security/security.c 	if (!path_noexec(&file->f_path)) {
file             1433 security/security.c 		if (file->f_op->mmap_capabilities) {
file             1434 security/security.c 			unsigned caps = file->f_op->mmap_capabilities(file);
file             1445 security/security.c int security_mmap_file(struct file *file, unsigned long prot,
file             1449 security/security.c 	ret = call_int_hook(mmap_file, 0, file, prot,
file             1450 security/security.c 					mmap_prot(file, prot), flags);
file             1453 security/security.c 	return ima_file_mmap(file, prot);
file             1467 security/security.c int security_file_lock(struct file *file, unsigned int cmd)
file             1469 security/security.c 	return call_int_hook(file_lock, 0, file, cmd);
file             1472 security/security.c int security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
file             1474 security/security.c 	return call_int_hook(file_fcntl, 0, file, cmd, arg);
file             1477 security/security.c void security_file_set_fowner(struct file *file)
file             1479 security/security.c 	call_void_hook(file_set_fowner, file);
file             1488 security/security.c int security_file_receive(struct file *file)
file             1490 security/security.c 	return call_int_hook(file_receive, 0, file);
file             1493 security/security.c int security_file_open(struct file *file)
file             1497 security/security.c 	ret = call_int_hook(file_open, 0, file);
file             1501 security/security.c 	return fsnotify_perm(file, MAY_OPEN);
file             1597 security/security.c int security_kernel_read_file(struct file *file, enum kernel_read_file_id id)
file             1601 security/security.c 	ret = call_int_hook(kernel_read_file, 0, file, id);
file             1604 security/security.c 	return ima_read_file(file, id);
file             1608 security/security.c int security_kernel_post_read_file(struct file *file, char *buf, loff_t size,
file             1613 security/security.c 	ret = call_int_hook(kernel_post_read_file, 0, file, buf, size, id);
file             1616 security/security.c 	return ima_post_read_file(file, buf, size, id);
file              357 security/selinux/hooks.c static int file_alloc_security(struct file *file)
file              359 security/selinux/hooks.c 	struct file_security_struct *fsec = selinux_file(file);
file             1722 security/selinux/hooks.c 				     struct file *file,
file             1728 security/selinux/hooks.c 	ad.u.file = file;
file             1729 security/selinux/hooks.c 	return inode_has_perm(cred, file_inode(file), av, &ad);
file             1733 security/selinux/hooks.c static int bpf_fd_pass(struct file *file, u32 sid);
file             1745 security/selinux/hooks.c 			 struct file *file,
file             1748 security/selinux/hooks.c 	struct file_security_struct *fsec = selinux_file(file);
file             1749 security/selinux/hooks.c 	struct inode *inode = file_inode(file);
file             1755 security/selinux/hooks.c 	ad.u.file = file;
file             1768 security/selinux/hooks.c 	rc = bpf_fd_pass(file, cred_sid(cred));
file             2005 security/selinux/hooks.c static inline u32 file_to_av(struct file *file)
file             2009 security/selinux/hooks.c 	if (file->f_mode & FMODE_READ)
file             2011 security/selinux/hooks.c 	if (file->f_mode & FMODE_WRITE) {
file             2012 security/selinux/hooks.c 		if (file->f_flags & O_APPEND)
file             2031 security/selinux/hooks.c static inline u32 open_file_to_av(struct file *file)
file             2033 security/selinux/hooks.c 	u32 av = file_to_av(file);
file             2034 security/selinux/hooks.c 	struct inode *inode = file_inode(file);
file             2089 security/selinux/hooks.c 					struct file *file)
file             2092 security/selinux/hooks.c 	struct file_security_struct *fsec = selinux_file(file);
file             2093 security/selinux/hooks.c 	struct dentry *dentry = file->f_path.dentry;
file             2099 security/selinux/hooks.c 	ad.u.path = file->f_path;
file             2112 security/selinux/hooks.c 	rc = bpf_fd_pass(file, sid);
file             2122 security/selinux/hooks.c 			    sid, isec->sid, isec->sclass, file_to_av(file),
file             2280 security/selinux/hooks.c 	int nosuid = !mnt_may_suid(bprm->file->f_path.mnt);
file             2335 security/selinux/hooks.c 	struct inode *inode = file_inode(bprm->file);
file             2383 security/selinux/hooks.c 	ad.u.file = bprm->file;
file             2445 security/selinux/hooks.c static int match_file(const void *p, struct file *file, unsigned fd)
file             2447 security/selinux/hooks.c 	return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0;
file             2454 security/selinux/hooks.c 	struct file *file, *devnull = NULL;
file             2472 security/selinux/hooks.c 			file = file_priv->file;
file             2473 security/selinux/hooks.c 			if (file_path_has_perm(cred, file, FILE__READ | FILE__WRITE))
file             3522 security/selinux/hooks.c static int selinux_revalidate_file_permission(struct file *file, int mask)
file             3525 security/selinux/hooks.c 	struct inode *inode = file_inode(file);
file             3528 security/selinux/hooks.c 	if ((file->f_flags & O_APPEND) && (mask & MAY_WRITE))
file             3531 security/selinux/hooks.c 	return file_has_perm(cred, file,
file             3535 security/selinux/hooks.c static int selinux_file_permission(struct file *file, int mask)
file             3537 security/selinux/hooks.c 	struct inode *inode = file_inode(file);
file             3538 security/selinux/hooks.c 	struct file_security_struct *fsec = selinux_file(file);
file             3552 security/selinux/hooks.c 	return selinux_revalidate_file_permission(file, mask);
file             3555 security/selinux/hooks.c static int selinux_file_alloc_security(struct file *file)
file             3557 security/selinux/hooks.c 	return file_alloc_security(file);
file             3564 security/selinux/hooks.c static int ioctl_has_perm(const struct cred *cred, struct file *file,
file             3568 security/selinux/hooks.c 	struct file_security_struct *fsec = selinux_file(file);
file             3569 security/selinux/hooks.c 	struct inode *inode = file_inode(file);
file             3580 security/selinux/hooks.c 	ad.u.op->path = file->f_path;
file             3603 security/selinux/hooks.c static int selinux_file_ioctl(struct file *file, unsigned int cmd,
file             3619 security/selinux/hooks.c 		error = file_has_perm(cred, file, FILE__GETATTR);
file             3625 security/selinux/hooks.c 		error = file_has_perm(cred, file, FILE__SETATTR);
file             3632 security/selinux/hooks.c 		error = file_has_perm(cred, file, 0);
file             3645 security/selinux/hooks.c 		error = ioctl_has_perm(cred, file, FILE__IOCTL, (u16) cmd);
file             3652 security/selinux/hooks.c static int file_map_prot_check(struct file *file, unsigned long prot, int shared)
file             3659 security/selinux/hooks.c 	    (prot & PROT_EXEC) && (!file || IS_PRIVATE(file_inode(file)) ||
file             3673 security/selinux/hooks.c 	if (file) {
file             3684 security/selinux/hooks.c 		return file_has_perm(cred, file, av);
file             3705 security/selinux/hooks.c static int selinux_mmap_file(struct file *file, unsigned long reqprot,
file             3711 security/selinux/hooks.c 	if (file) {
file             3713 security/selinux/hooks.c 		ad.u.file = file;
file             3714 security/selinux/hooks.c 		rc = inode_has_perm(current_cred(), file_inode(file),
file             3723 security/selinux/hooks.c 	return file_map_prot_check(file, prot,
file             3769 security/selinux/hooks.c static int selinux_file_lock(struct file *file, unsigned int cmd)
file             3773 security/selinux/hooks.c 	return file_has_perm(cred, file, FILE__LOCK);
file             3776 security/selinux/hooks.c static int selinux_file_fcntl(struct file *file, unsigned int cmd,
file             3784 security/selinux/hooks.c 		if ((file->f_flags & O_APPEND) && !(arg & O_APPEND)) {
file             3785 security/selinux/hooks.c 			err = file_has_perm(cred, file, FILE__WRITE);
file             3796 security/selinux/hooks.c 		err = file_has_perm(cred, file, 0);
file             3809 security/selinux/hooks.c 		err = file_has_perm(cred, file, FILE__LOCK);
file             3816 security/selinux/hooks.c static void selinux_file_set_fowner(struct file *file)
file             3820 security/selinux/hooks.c 	fsec = selinux_file(file);
file             3827 security/selinux/hooks.c 	struct file *file;
file             3833 security/selinux/hooks.c 	file = container_of(fown, struct file, f_owner);
file             3835 security/selinux/hooks.c 	fsec = selinux_file(file);
file             3847 security/selinux/hooks.c static int selinux_file_receive(struct file *file)
file             3851 security/selinux/hooks.c 	return file_has_perm(cred, file, file_to_av(file));
file             3854 security/selinux/hooks.c static int selinux_file_open(struct file *file)
file             3859 security/selinux/hooks.c 	fsec = selinux_file(file);
file             3860 security/selinux/hooks.c 	isec = inode_security(file_inode(file));
file             3878 security/selinux/hooks.c 	return file_path_has_perm(file->f_cred, file, open_file_to_av(file));
file             3979 security/selinux/hooks.c static int selinux_kernel_module_from_file(struct file *file)
file             3988 security/selinux/hooks.c 	if (file == NULL)
file             3996 security/selinux/hooks.c 	ad.u.file = file;
file             3998 security/selinux/hooks.c 	fsec = selinux_file(file);
file             4006 security/selinux/hooks.c 	isec = inode_security(file_inode(file));
file             4012 security/selinux/hooks.c static int selinux_kernel_read_file(struct file *file,
file             4019 security/selinux/hooks.c 		rc = selinux_kernel_module_from_file(file);
file             6728 security/selinux/hooks.c static int bpf_fd_pass(struct file *file, u32 sid)
file             6735 security/selinux/hooks.c 	if (file->f_op == &bpf_map_fops) {
file             6736 security/selinux/hooks.c 		map = file->private_data;
file             6740 security/selinux/hooks.c 				   bpf_map_fmode_to_av(file->f_mode), NULL);
file             6743 security/selinux/hooks.c 	} else if (file->f_op == &bpf_prog_fops) {
file             6744 security/selinux/hooks.c 		prog = file->private_data;
file              153 security/selinux/include/objsec.h static inline struct file_security_struct *selinux_file(const struct file *file)
file              155 security/selinux/include/objsec.h 	return file->f_security + selinux_blob_sizes.lbs_file;
file              121 security/selinux/selinuxfs.c static ssize_t sel_read_enforce(struct file *filp, char __user *buf,
file              134 security/selinux/selinuxfs.c static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
file              138 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              199 security/selinux/selinuxfs.c static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf,
file              220 security/selinux/selinuxfs.c static int sel_open_handle_status(struct inode *inode, struct file *filp)
file              233 security/selinux/selinuxfs.c static ssize_t sel_read_handle_status(struct file *filp, char __user *buf,
file              245 security/selinux/selinuxfs.c static int sel_mmap_handle_status(struct file *filp,
file              275 security/selinux/selinuxfs.c static ssize_t sel_write_disable(struct file *file, const char __user *buf,
file              279 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              327 security/selinux/selinuxfs.c static ssize_t sel_read_policyvers(struct file *filp, char __user *buf,
file              351 security/selinux/selinuxfs.c static ssize_t sel_read_mls(struct file *filp, char __user *buf,
file              373 security/selinux/selinuxfs.c static int sel_open_policy(struct inode *inode, struct file *filp)
file              425 security/selinux/selinuxfs.c static int sel_release_policy(struct inode *inode, struct file *filp)
file              440 security/selinux/selinuxfs.c static ssize_t sel_read_policy(struct file *filp, char __user *buf,
file              481 security/selinux/selinuxfs.c static int sel_mmap_policy(struct file *filp, struct vm_area_struct *vma)
file              530 security/selinux/selinuxfs.c static ssize_t sel_write_load(struct file *file, const char __user *buf,
file              534 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              592 security/selinux/selinuxfs.c static ssize_t sel_write_context(struct file *file, char *buf, size_t size)
file              594 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              628 security/selinux/selinuxfs.c static ssize_t sel_read_checkreqprot(struct file *filp, char __user *buf,
file              639 security/selinux/selinuxfs.c static ssize_t sel_write_checkreqprot(struct file *file, const char __user *buf,
file              642 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              681 security/selinux/selinuxfs.c static ssize_t sel_write_validatetrans(struct file *file,
file              685 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              763 security/selinux/selinuxfs.c static ssize_t sel_write_access(struct file *file, char *buf, size_t size);
file              764 security/selinux/selinuxfs.c static ssize_t sel_write_create(struct file *file, char *buf, size_t size);
file              765 security/selinux/selinuxfs.c static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size);
file              766 security/selinux/selinuxfs.c static ssize_t sel_write_user(struct file *file, char *buf, size_t size);
file              767 security/selinux/selinuxfs.c static ssize_t sel_write_member(struct file *file, char *buf, size_t size);
file              769 security/selinux/selinuxfs.c static ssize_t (*const write_op[])(struct file *, char *, size_t) = {
file              778 security/selinux/selinuxfs.c static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos)
file              780 security/selinux/selinuxfs.c 	ino_t ino = file_inode(file)->i_ino;
file              787 security/selinux/selinuxfs.c 	data = simple_transaction_get(file, buf, size);
file              791 security/selinux/selinuxfs.c 	rv = write_op[ino](file, data, size);
file              793 security/selinux/selinuxfs.c 		simple_transaction_set(file, rv);
file              812 security/selinux/selinuxfs.c static ssize_t sel_write_access(struct file *file, char *buf, size_t size)
file              814 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              863 security/selinux/selinuxfs.c static ssize_t sel_write_create(struct file *file, char *buf, size_t size)
file              865 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file              967 security/selinux/selinuxfs.c static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size)
file              969 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1028 security/selinux/selinuxfs.c static ssize_t sel_write_user(struct file *file, char *buf, size_t size)
file             1030 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1093 security/selinux/selinuxfs.c static ssize_t sel_write_member(struct file *file, char *buf, size_t size)
file             1095 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1168 security/selinux/selinuxfs.c static ssize_t sel_read_bool(struct file *filep, char __user *buf,
file             1209 security/selinux/selinuxfs.c static ssize_t sel_write_bool(struct file *filep, const char __user *buf,
file             1266 security/selinux/selinuxfs.c static ssize_t sel_commit_bools_write(struct file *filep,
file             1415 security/selinux/selinuxfs.c static ssize_t sel_read_avc_cache_threshold(struct file *filp, char __user *buf,
file             1428 security/selinux/selinuxfs.c static ssize_t sel_write_avc_cache_threshold(struct file *file,
file             1433 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1469 security/selinux/selinuxfs.c static ssize_t sel_read_avc_hash_stats(struct file *filp, char __user *buf,
file             1557 security/selinux/selinuxfs.c static int sel_open_avc_cache_stats(struct inode *inode, struct file *file)
file             1559 security/selinux/selinuxfs.c 	return seq_open(file, &sel_avc_cache_stats_seq_ops);
file             1606 security/selinux/selinuxfs.c static ssize_t sel_read_initcon(struct file *file, char __user *buf,
file             1609 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1614 security/selinux/selinuxfs.c 	sid = file_inode(file)->i_ino&SEL_INO_MASK;
file             1674 security/selinux/selinuxfs.c static ssize_t sel_read_class(struct file *file, char __user *buf,
file             1677 security/selinux/selinuxfs.c 	unsigned long ino = file_inode(file)->i_ino;
file             1688 security/selinux/selinuxfs.c static ssize_t sel_read_perm(struct file *file, char __user *buf,
file             1691 security/selinux/selinuxfs.c 	unsigned long ino = file_inode(file)->i_ino;
file             1702 security/selinux/selinuxfs.c static ssize_t sel_read_policycap(struct file *file, char __user *buf,
file             1705 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info;
file             1709 security/selinux/selinuxfs.c 	unsigned long i_ino = file_inode(file)->i_ino;
file             2095 security/selinux/ss/services.c 	struct policy_file file = { data, len }, *fp = &file;
file              348 security/smack/smack.h static inline struct smack_known **smack_file(const struct file *file)
file              350 security/smack/smack.h 	return (struct smack_known **)(file->f_security +
file              212 security/smack/smack_lsm.c static int smk_bu_file(struct file *file, int mode, int rc)
file              216 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file              232 security/smack/smack_lsm.c 		inode->i_sb->s_id, inode->i_ino, file,
file              237 security/smack/smack_lsm.c #define smk_bu_file(file, mode, RC) (RC)
file              241 security/smack/smack_lsm.c static int smk_bu_credfile(const struct cred *cred, struct file *file,
file              246 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file              262 security/smack/smack_lsm.c 		inode->i_sb->s_id, inode->i_ino, file,
file              267 security/smack/smack_lsm.c #define smk_bu_credfile(cred, file, mode, RC) (RC)
file              905 security/smack/smack_lsm.c 	struct inode *inode = file_inode(bprm->file);
file             1533 security/smack/smack_lsm.c static int smack_file_alloc_security(struct file *file)
file             1535 security/smack/smack_lsm.c 	struct smack_known **blob = smack_file(file);
file             1551 security/smack/smack_lsm.c static int smack_file_ioctl(struct file *file, unsigned int cmd,
file             1556 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file             1562 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1566 security/smack/smack_lsm.c 		rc = smk_bu_file(file, MAY_WRITE, rc);
file             1571 security/smack/smack_lsm.c 		rc = smk_bu_file(file, MAY_READ, rc);
file             1584 security/smack/smack_lsm.c static int smack_file_lock(struct file *file, unsigned int cmd)
file             1588 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file             1594 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1596 security/smack/smack_lsm.c 	rc = smk_bu_file(file, MAY_LOCK, rc);
file             1612 security/smack/smack_lsm.c static int smack_file_fcntl(struct file *file, unsigned int cmd,
file             1617 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file             1628 security/smack/smack_lsm.c 		smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1630 security/smack/smack_lsm.c 		rc = smk_bu_file(file, MAY_LOCK, rc);
file             1635 security/smack/smack_lsm.c 		smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1637 security/smack/smack_lsm.c 		rc = smk_bu_file(file, MAY_WRITE, rc);
file             1656 security/smack/smack_lsm.c static int smack_mmap_file(struct file *file,
file             1672 security/smack/smack_lsm.c 	if (file == NULL)
file             1675 security/smack/smack_lsm.c 	if (unlikely(IS_PRIVATE(file_inode(file))))
file             1678 security/smack/smack_lsm.c 	isp = smack_inode(file_inode(file));
file             1681 security/smack/smack_lsm.c 	sbsp = file_inode(file)->i_sb->s_security;
file             1763 security/smack/smack_lsm.c static void smack_file_set_fowner(struct file *file)
file             1765 security/smack/smack_lsm.c 	struct smack_known **blob = smack_file(file);
file             1788 security/smack/smack_lsm.c 	struct file *file;
file             1795 security/smack/smack_lsm.c 	file = container_of(fown, struct file, f_owner);
file             1798 security/smack/smack_lsm.c 	blob = smack_file(file);
file             1821 security/smack/smack_lsm.c static int smack_file_receive(struct file *file)
file             1826 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file             1835 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1848 security/smack/smack_lsm.c 		rc = smk_bu_file(file, may, rc);
file             1852 security/smack/smack_lsm.c 		rc = smk_bu_file(file, may, rc);
file             1858 security/smack/smack_lsm.c 	if (file->f_mode & FMODE_READ)
file             1860 security/smack/smack_lsm.c 	if (file->f_mode & FMODE_WRITE)
file             1864 security/smack/smack_lsm.c 	rc = smk_bu_file(file, may, rc);
file             1879 security/smack/smack_lsm.c static int smack_file_open(struct file *file)
file             1881 security/smack/smack_lsm.c 	struct task_smack *tsp = smack_cred(file->f_cred);
file             1882 security/smack/smack_lsm.c 	struct inode *inode = file_inode(file);
file             1887 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path(&ad, file->f_path);
file             1889 security/smack/smack_lsm.c 	rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc);
file              443 security/smack/smackfs.c static ssize_t smk_write_rules_list(struct file *file, const char __user *buf,
file              644 security/smack/smackfs.c static int smk_open_load(struct inode *inode, struct file *file)
file              646 security/smack/smackfs.c 	return seq_open(file, &load_seq_ops);
file              657 security/smack/smackfs.c static ssize_t smk_write_load(struct file *file, const char __user *buf,
file              668 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
file              815 security/smack/smackfs.c static int smk_open_cipso(struct inode *inode, struct file *file)
file              817 security/smack/smackfs.c 	return seq_open(file, &cipso_seq_ops);
file              831 security/smack/smackfs.c static ssize_t smk_set_cipso(struct file *file, const char __user *buf,
file              939 security/smack/smackfs.c static ssize_t smk_write_cipso(struct file *file, const char __user *buf,
file              942 security/smack/smackfs.c 	return smk_set_cipso(file, buf, count, ppos, SMK_FIXED24_FMT);
file              998 security/smack/smackfs.c static int smk_open_cipso2(struct inode *inode, struct file *file)
file             1000 security/smack/smackfs.c 	return seq_open(file, &cipso2_seq_ops);
file             1013 security/smack/smackfs.c static ssize_t smk_write_cipso2(struct file *file, const char __user *buf,
file             1016 security/smack/smackfs.c 	return smk_set_cipso(file, buf, count, ppos, SMK_LONG_FMT);
file             1074 security/smack/smackfs.c static int smk_open_net4addr(struct inode *inode, struct file *file)
file             1076 security/smack/smackfs.c 	return seq_open(file, &net4addr_seq_ops);
file             1132 security/smack/smackfs.c static ssize_t smk_write_net4addr(struct file *file, const char __user *buf,
file             1338 security/smack/smackfs.c static int smk_open_net6addr(struct inode *inode, struct file *file)
file             1340 security/smack/smackfs.c 	return seq_open(file, &net6addr_seq_ops);
file             1395 security/smack/smackfs.c static ssize_t smk_write_net6addr(struct file *file, const char __user *buf,
file             1559 security/smack/smackfs.c static ssize_t smk_read_doi(struct file *filp, char __user *buf,
file             1583 security/smack/smackfs.c static ssize_t smk_write_doi(struct file *file, const char __user *buf,
file             1625 security/smack/smackfs.c static ssize_t smk_read_direct(struct file *filp, char __user *buf,
file             1649 security/smack/smackfs.c static ssize_t smk_write_direct(struct file *file, const char __user *buf,
file             1703 security/smack/smackfs.c static ssize_t smk_read_mapped(struct file *filp, char __user *buf,
file             1727 security/smack/smackfs.c static ssize_t smk_write_mapped(struct file *file, const char __user *buf,
file             1781 security/smack/smackfs.c static ssize_t smk_read_ambient(struct file *filp, char __user *buf,
file             1818 security/smack/smackfs.c static ssize_t smk_write_ambient(struct file *file, const char __user *buf,
file             1890 security/smack/smackfs.c static int smk_open_onlycap(struct inode *inode, struct file *file)
file             1892 security/smack/smackfs.c 	return seq_open(file, &onlycap_seq_ops);
file             1990 security/smack/smackfs.c static ssize_t smk_write_onlycap(struct file *file, const char __user *buf,
file             2047 security/smack/smackfs.c static ssize_t smk_read_unconfined(struct file *filp, char __user *buf,
file             2077 security/smack/smackfs.c static ssize_t smk_write_unconfined(struct file *file, const char __user *buf,
file             2131 security/smack/smackfs.c static ssize_t smk_read_logging(struct file *filp, char __user *buf,
file             2154 security/smack/smackfs.c static ssize_t smk_write_logging(struct file *file, const char __user *buf,
file             2231 security/smack/smackfs.c static int smk_open_load_self(struct inode *inode, struct file *file)
file             2233 security/smack/smackfs.c 	return seq_open(file, &load_self_seq_ops);
file             2244 security/smack/smackfs.c static ssize_t smk_write_load_self(struct file *file, const char __user *buf,
file             2249 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules,
file             2268 security/smack/smackfs.c static ssize_t smk_user_access(struct file *file, const char __user *buf,
file             2275 security/smack/smackfs.c 	data = simple_transaction_get(file, buf, count);
file             2302 security/smack/smackfs.c 	simple_transaction_set(file, 2);
file             2316 security/smack/smackfs.c static ssize_t smk_write_access(struct file *file, const char __user *buf,
file             2319 security/smack/smackfs.c 	return smk_user_access(file, buf, count, ppos, SMK_FIXED24_FMT);
file             2361 security/smack/smackfs.c static int smk_open_load2(struct inode *inode, struct file *file)
file             2363 security/smack/smackfs.c 	return seq_open(file, &load2_seq_ops);
file             2374 security/smack/smackfs.c static ssize_t smk_write_load2(struct file *file, const char __user *buf,
file             2383 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
file             2438 security/smack/smackfs.c static int smk_open_load_self2(struct inode *inode, struct file *file)
file             2440 security/smack/smackfs.c 	return seq_open(file, &load_self2_seq_ops);
file             2451 security/smack/smackfs.c static ssize_t smk_write_load_self2(struct file *file, const char __user *buf,
file             2456 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules,
file             2475 security/smack/smackfs.c static ssize_t smk_write_access2(struct file *file, const char __user *buf,
file             2478 security/smack/smackfs.c 	return smk_user_access(file, buf, count, ppos, SMK_LONG_FMT);
file             2495 security/smack/smackfs.c static ssize_t smk_write_revoke_subj(struct file *file, const char __user *buf,
file             2570 security/smack/smackfs.c static ssize_t smk_write_change_rule(struct file *file, const char __user *buf,
file             2579 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
file             2599 security/smack/smackfs.c static ssize_t smk_read_syslog(struct file *filp, char __user *buf,
file             2632 security/smack/smackfs.c static ssize_t smk_write_syslog(struct file *file, const char __user *buf,
file             2707 security/smack/smackfs.c static int smk_open_relabel_self(struct inode *inode, struct file *file)
file             2709 security/smack/smackfs.c 	return seq_open(file, &relabel_self_seq_ops);
file             2720 security/smack/smackfs.c static ssize_t smk_write_relabel_self(struct file *file, const char __user *buf,
file             2774 security/smack/smackfs.c static ssize_t smk_read_ptrace(struct file *filp, char __user *buf,
file             2795 security/smack/smackfs.c static ssize_t smk_write_ptrace(struct file *file, const char __user *buf,
file              261 security/tomoyo/audit.c 		struct file *file = r->ee->bprm->file;
file              263 security/tomoyo/audit.c 		realpath = tomoyo_realpath_from_path(&file->f_path);
file              470 security/tomoyo/audit.c __poll_t tomoyo_poll_log(struct file *file, poll_table *wait)
file              474 security/tomoyo/audit.c 	poll_wait(file, &tomoyo_log_wait, wait);
file             2187 security/tomoyo/common.c static __poll_t tomoyo_poll_query(struct file *file, poll_table *wait)
file             2191 security/tomoyo/common.c 	poll_wait(file, &tomoyo_query_wait, wait);
file             2414 security/tomoyo/common.c int tomoyo_open_control(const u8 type, struct file *file)
file             2470 security/tomoyo/common.c 	if (!(file->f_mode & FMODE_READ)) {
file             2487 security/tomoyo/common.c 	if (!(file->f_mode & FMODE_WRITE)) {
file             2510 security/tomoyo/common.c 	file->private_data = head;
file             2524 security/tomoyo/common.c __poll_t tomoyo_poll_control(struct file *file, poll_table *wait)
file             2526 security/tomoyo/common.c 	struct tomoyo_io_buffer *head = file->private_data;
file             2529 security/tomoyo/common.c 		return head->poll(file, wait) | EPOLLOUT | EPOLLWRNORM;
file              796 security/tomoyo/common.h 	__poll_t (*poll)(struct file *file, poll_table *wait);
file              987 security/tomoyo/common.h int tomoyo_open_control(const u8 type, struct file *file);
file              994 security/tomoyo/common.h __poll_t tomoyo_poll_control(struct file *file, poll_table *wait);
file              995 security/tomoyo/common.h __poll_t tomoyo_poll_log(struct file *file, poll_table *wait);
file              234 security/tomoyo/condition.c static bool tomoyo_scan_exec_realpath(struct file *file,
file              241 security/tomoyo/condition.c 	if (!file)
file              243 security/tomoyo/condition.c 	exe.name = tomoyo_realpath_from_path(&file->f_path);
file              814 security/tomoyo/condition.c 			struct file *file;
file              826 security/tomoyo/condition.c 				file = ee ? ee->bprm->file : NULL;
file              827 security/tomoyo/condition.c 				if (!tomoyo_scan_exec_realpath(file, ptr,
file              726 security/tomoyo/domain.c 	ee->obj.path1 = bprm->file->f_path;
file               41 security/tomoyo/securityfs_if.c static ssize_t tomoyo_write_self(struct file *file, const char __user *buf,
file              100 security/tomoyo/securityfs_if.c static ssize_t tomoyo_read_self(struct file *file, char __user *buf,
file              132 security/tomoyo/securityfs_if.c static int tomoyo_open(struct inode *inode, struct file *file)
file              134 security/tomoyo/securityfs_if.c 	const int key = ((u8 *) file_inode(file)->i_private)
file              136 security/tomoyo/securityfs_if.c 	return tomoyo_open_control(key, file);
file              145 security/tomoyo/securityfs_if.c static int tomoyo_release(struct inode *inode, struct file *file)
file              147 security/tomoyo/securityfs_if.c 	tomoyo_close_control(file->private_data);
file              160 security/tomoyo/securityfs_if.c static __poll_t tomoyo_poll(struct file *file, poll_table *wait)
file              162 security/tomoyo/securityfs_if.c 	return tomoyo_poll_control(file, wait);
file              175 security/tomoyo/securityfs_if.c static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count,
file              178 security/tomoyo/securityfs_if.c 	return tomoyo_read_control(file->private_data, buf, count);
file              191 security/tomoyo/securityfs_if.c static ssize_t tomoyo_write(struct file *file, const char __user *buf,
file              194 security/tomoyo/securityfs_if.c 	return tomoyo_write_control(file->private_data, buf, count);
file              116 security/tomoyo/tomoyo.c 					    &bprm->file->f_path, O_RDONLY);
file              297 security/tomoyo/tomoyo.c static int tomoyo_file_fcntl(struct file *file, unsigned int cmd,
file              300 security/tomoyo/tomoyo.c 	if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND)))
file              302 security/tomoyo/tomoyo.c 	return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path,
file              314 security/tomoyo/tomoyo.c static int tomoyo_file_open(struct file *f)
file              332 security/tomoyo/tomoyo.c static int tomoyo_file_ioctl(struct file *file, unsigned int cmd,
file              335 security/tomoyo/tomoyo.c 	return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd);
file              946 security/tomoyo/util.c 	struct file *exe_file;
file               77 sound/core/compress_offload.c static int snd_compr_open(struct inode *inode, struct file *f)
file              143 sound/core/compress_offload.c static int snd_compr_free(struct inode *inode, struct file *f)
file              281 sound/core/compress_offload.c static ssize_t snd_compr_write(struct file *f, const char __user *buf,
file              332 sound/core/compress_offload.c static ssize_t snd_compr_read(struct file *f, char __user *buf,
file              382 sound/core/compress_offload.c static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma)
file              395 sound/core/compress_offload.c static __poll_t snd_compr_poll(struct file *f, poll_table *wait)
file              893 sound/core/compress_offload.c static long snd_compr_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
file              965 sound/core/compress_offload.c static long snd_compr_ioctl_compat(struct file *file, unsigned int cmd,
file              968 sound/core/compress_offload.c 	return snd_compr_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file               35 sound/core/control.c static int snd_ctl_open(struct inode *inode, struct file *file)
file               42 sound/core/control.c 	err = stream_open(inode, file);
file               51 sound/core/control.c 	err = snd_card_file_add(card, file);
file               72 sound/core/control.c 	file->private_data = ctl;
file               82 sound/core/control.c 	snd_card_file_remove(card, file);
file              103 sound/core/control.c static int snd_ctl_release(struct inode *inode, struct file *file)
file              111 sound/core/control.c 	ctl = file->private_data;
file              112 sound/core/control.c 	file->private_data = NULL;
file              127 sound/core/control.c 	snd_card_file_remove(card, file);
file              197 sound/core/control.c 		       unsigned int access, struct snd_ctl_file *file)
file              210 sound/core/control.c 		(*kctl)->vd[idx].owner = file;
file              515 sound/core/control.c static int snd_ctl_remove_user_ctl(struct snd_ctl_file * file,
file              518 sound/core/control.c 	struct snd_card *card = file->card;
file              533 sound/core/control.c 		if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) {
file              895 sound/core/control.c static int snd_ctl_elem_write(struct snd_card *card, struct snd_ctl_file *file,
file              910 sound/core/control.c 	    (file && vd->owner && vd->owner != file)) {
file              927 sound/core/control.c static int snd_ctl_elem_write_user(struct snd_ctl_file *file,
file              938 sound/core/control.c 	card = file->card;
file              944 sound/core/control.c 	result = snd_ctl_elem_write(card, file, control);
file              956 sound/core/control.c static int snd_ctl_elem_lock(struct snd_ctl_file *file,
file              959 sound/core/control.c 	struct snd_card *card = file->card;
file              976 sound/core/control.c 			vd->owner = file;
file              984 sound/core/control.c static int snd_ctl_elem_unlock(struct snd_ctl_file *file,
file              987 sound/core/control.c 	struct snd_card *card = file->card;
file             1003 sound/core/control.c 		else if (vd->owner != file)
file             1203 sound/core/control.c static int snd_ctl_elem_add(struct snd_ctl_file *file,
file             1223 sound/core/control.c 	struct snd_card *card = file->card;
file             1240 sound/core/control.c 		err = snd_ctl_remove_user_ctl(file, &info->id);
file             1293 sound/core/control.c 	err = snd_ctl_new(&kctl, count, access, file);
file             1356 sound/core/control.c static int snd_ctl_elem_add_user(struct snd_ctl_file *file,
file             1364 sound/core/control.c 	err = snd_ctl_elem_add(file, &info, replace);
file             1368 sound/core/control.c 		snd_ctl_remove_user_ctl(file, &info.id);
file             1375 sound/core/control.c static int snd_ctl_elem_remove(struct snd_ctl_file *file,
file             1382 sound/core/control.c 	return snd_ctl_remove_user_ctl(file, &id);
file             1385 sound/core/control.c static int snd_ctl_subscribe_events(struct snd_ctl_file *file, int __user *ptr)
file             1391 sound/core/control.c 		subscribe = file->subscribed;
file             1397 sound/core/control.c 		file->subscribed = 1;
file             1399 sound/core/control.c 	} else if (file->subscribed) {
file             1400 sound/core/control.c 		snd_ctl_empty_read_queue(file);
file             1401 sound/core/control.c 		file->subscribed = 0;
file             1406 sound/core/control.c static int call_tlv_handler(struct snd_ctl_file *file, int op_flag,
file             1435 sound/core/control.c 	    vd->owner != NULL && vd->owner != file)
file             1463 sound/core/control.c static int snd_ctl_tlv_ioctl(struct snd_ctl_file *file,
file             1487 sound/core/control.c 	kctl = snd_ctl_find_numid(file->card, header.numid);
file             1497 sound/core/control.c 		return call_tlv_handler(file, op_flag, kctl, &id, container,
file             1510 sound/core/control.c static long snd_ctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             1519 sound/core/control.c 	ctl = file->private_data;
file             1585 sound/core/control.c static ssize_t snd_ctl_read(struct file *file, char __user *buffer,
file             1592 sound/core/control.c 	ctl = file->private_data;
file             1605 sound/core/control.c 			if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file             1643 sound/core/control.c static __poll_t snd_ctl_poll(struct file *file, poll_table * wait)
file             1648 sound/core/control.c 	ctl = file->private_data;
file             1651 sound/core/control.c 	poll_wait(file, &ctl->change_sleep, wait);
file             1750 sound/core/control.c static int snd_ctl_fasync(int fd, struct file * file, int on)
file             1754 sound/core/control.c 	ctl = file->private_data;
file             1755 sound/core/control.c 	return fasync_helper(fd, file, on, &ctl->fasync);
file              315 sound/core/control_compat.c static int ctl_elem_write_user(struct snd_ctl_file *file,
file              319 sound/core/control_compat.c 	struct snd_card *card = file->card;
file              334 sound/core/control_compat.c 	err = snd_ctl_elem_write(card, file, data);
file              349 sound/core/control_compat.c static int snd_ctl_elem_write_user_compat(struct snd_ctl_file *file,
file              352 sound/core/control_compat.c 	return ctl_elem_write_user(file, data32, &data32->value);
file              362 sound/core/control_compat.c static int snd_ctl_elem_write_user_x32(struct snd_ctl_file *file,
file              365 sound/core/control_compat.c 	return ctl_elem_write_user(file, data32, &data32->value);
file              370 sound/core/control_compat.c static int snd_ctl_elem_add_compat(struct snd_ctl_file *file,
file              413 sound/core/control_compat.c 	err = snd_ctl_elem_add(file, data, replace);
file              432 sound/core/control_compat.c static inline long snd_ctl_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg)
file              439 sound/core/control_compat.c 	ctl = file->private_data;
file              455 sound/core/control_compat.c 		return snd_ctl_ioctl(file, cmd, (unsigned long)argp);
file               42 sound/core/hwdep.c static loff_t snd_hwdep_llseek(struct file * file, loff_t offset, int orig)
file               44 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file               46 sound/core/hwdep.c 		return hw->ops.llseek(hw, file, offset, orig);
file               50 sound/core/hwdep.c static ssize_t snd_hwdep_read(struct file * file, char __user *buf,
file               53 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file               59 sound/core/hwdep.c static ssize_t snd_hwdep_write(struct file * file, const char __user *buf,
file               62 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file               68 sound/core/hwdep.c static int snd_hwdep_open(struct inode *inode, struct file * file)
file              105 sound/core/hwdep.c 		err = hw->ops.open(hw, file);
file              109 sound/core/hwdep.c 			if (file->f_flags & O_NONBLOCK) {
file              130 sound/core/hwdep.c 		err = snd_card_file_add(hw->card, file);
file              132 sound/core/hwdep.c 			file->private_data = hw;
file              136 sound/core/hwdep.c 				hw->ops.release(hw, file);
file              146 sound/core/hwdep.c static int snd_hwdep_release(struct inode *inode, struct file * file)
file              149 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file              154 sound/core/hwdep.c 		err = hw->ops.release(hw, file);
file              160 sound/core/hwdep.c 	snd_card_file_remove(hw->card, file);
file              165 sound/core/hwdep.c static __poll_t snd_hwdep_poll(struct file * file, poll_table * wait)
file              167 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file              169 sound/core/hwdep.c 		return hw->ops.poll(hw, file, wait);
file              228 sound/core/hwdep.c static long snd_hwdep_ioctl(struct file * file, unsigned int cmd,
file              231 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file              244 sound/core/hwdep.c 		return hw->ops.ioctl(hw, file, cmd, arg);
file              248 sound/core/hwdep.c static int snd_hwdep_mmap(struct file * file, struct vm_area_struct * vma)
file              250 sound/core/hwdep.c 	struct snd_hwdep *hw = file->private_data;
file              252 sound/core/hwdep.c 		return hw->ops.mmap(hw, file, vma);
file               48 sound/core/hwdep_compat.c static long snd_hwdep_ioctl_compat(struct file * file, unsigned int cmd,
file               51 sound/core/hwdep_compat.c 	struct snd_hwdep *hw = file->private_data;
file               57 sound/core/hwdep_compat.c 		return snd_hwdep_ioctl(file, cmd, (unsigned long)argp);
file               62 sound/core/hwdep_compat.c 		return hw->ops.ioctl_compat(hw, file, cmd, arg);
file              105 sound/core/info.c static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig)
file              111 sound/core/info.c 	data = file->private_data;
file              117 sound/core/info.c 					      file, offset, orig);
file              126 sound/core/info.c 		offset += file->f_pos;
file              140 sound/core/info.c 	file->f_pos = offset;
file              147 sound/core/info.c static ssize_t snd_info_entry_read(struct file *file, char __user *buffer,
file              150 sound/core/info.c 	struct snd_info_private_data *data = file->private_data;
file              163 sound/core/info.c 				  file, buffer, size, pos);
file              169 sound/core/info.c static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer,
file              172 sound/core/info.c 	struct snd_info_private_data *data = file->private_data;
file              184 sound/core/info.c 					   file, buffer, count, pos);
file              191 sound/core/info.c static __poll_t snd_info_entry_poll(struct file *file, poll_table *wait)
file              193 sound/core/info.c 	struct snd_info_private_data *data = file->private_data;
file              200 sound/core/info.c 					  file, wait);
file              208 sound/core/info.c static long snd_info_entry_ioctl(struct file *file, unsigned int cmd,
file              211 sound/core/info.c 	struct snd_info_private_data *data = file->private_data;
file              217 sound/core/info.c 				   file, cmd, arg);
file              220 sound/core/info.c static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma)
file              222 sound/core/info.c 	struct inode *inode = file_inode(file);
file              226 sound/core/info.c 	data = file->private_data;
file              233 sound/core/info.c 				  inode, file, vma);
file              236 sound/core/info.c static int snd_info_entry_open(struct inode *inode, struct file *file)
file              247 sound/core/info.c 	mode = file->f_flags & O_ACCMODE;
file              260 sound/core/info.c 	file->private_data = data;
file              272 sound/core/info.c static int snd_info_entry_release(struct inode *inode, struct file *file)
file              274 sound/core/info.c 	struct snd_info_private_data *data = file->private_data;
file              278 sound/core/info.c 		entry->c.ops->release(entry, file->f_flags & O_ACCMODE,
file              301 sound/core/info.c static ssize_t snd_info_text_entry_write(struct file *file,
file              305 sound/core/info.c 	struct seq_file *m = file->private_data;
file              368 sound/core/info.c static int snd_info_text_entry_open(struct inode *inode, struct file *file)
file              385 sound/core/info.c 		err = single_open_size(file, snd_info_seq_show, data,
file              388 sound/core/info.c 		err = single_open(file, snd_info_seq_show, data);
file              403 sound/core/info.c static int snd_info_text_entry_release(struct inode *inode, struct file *file)
file              405 sound/core/info.c 	struct seq_file *m = file->private_data;
file              412 sound/core/info.c 	single_release(inode, file);
file               24 sound/core/init.c 	struct file *file;
file              286 sound/core/init.c static loff_t snd_disconnect_llseek(struct file *file, loff_t offset, int orig)
file              291 sound/core/init.c static ssize_t snd_disconnect_read(struct file *file, char __user *buf,
file              297 sound/core/init.c static ssize_t snd_disconnect_write(struct file *file, const char __user *buf,
file              303 sound/core/init.c static int snd_disconnect_release(struct inode *inode, struct file *file)
file              309 sound/core/init.c 		if (_df->file == file) {
file              318 sound/core/init.c 		if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync)
file              319 sound/core/init.c 			df->disconnected_f_op->fasync(-1, file, 0);
file              320 sound/core/init.c 		return df->disconnected_f_op->release(inode, file);
file              323 sound/core/init.c 	panic("%s(%p, %p) failed!", __func__, inode, file);
file              326 sound/core/init.c static __poll_t snd_disconnect_poll(struct file * file, poll_table * wait)
file              331 sound/core/init.c static long snd_disconnect_ioctl(struct file *file,
file              337 sound/core/init.c static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma)
file              342 sound/core/init.c static int snd_disconnect_fasync(int fd, struct file *file, int on)
file              394 sound/core/init.c 		mfile->disconnected_f_op = mfile->file->f_op;
file              400 sound/core/init.c 		mfile->file->f_op = &snd_shutdown_f_ops;
file              401 sound/core/init.c 		fops_get(mfile->file->f_op);
file              918 sound/core/init.c int snd_card_file_add(struct snd_card *card, struct file *file)
file              925 sound/core/init.c 	mfile->file = file;
file              954 sound/core/init.c int snd_card_file_remove(struct snd_card *card, struct file *file)
file              960 sound/core/init.c 		if (mfile->file == file) {
file              975 sound/core/init.c 		dev_err(card->dev, "card file remove problem (%p)\n", file);
file               27 sound/core/oss/mixer_oss.c static int snd_mixer_oss_open(struct inode *inode, struct file *file)
file               33 sound/core/oss/mixer_oss.c 	err = nonseekable_open(inode, file);
file               45 sound/core/oss/mixer_oss.c 	err = snd_card_file_add(card, file);
file               52 sound/core/oss/mixer_oss.c 		snd_card_file_remove(card, file);
file               58 sound/core/oss/mixer_oss.c 	file->private_data = fmixer;
file               61 sound/core/oss/mixer_oss.c 		snd_card_file_remove(card, file);
file               69 sound/core/oss/mixer_oss.c static int snd_mixer_oss_release(struct inode *inode, struct file *file)
file               73 sound/core/oss/mixer_oss.c 	if (file->private_data) {
file               74 sound/core/oss/mixer_oss.c 		fmixer = file->private_data;
file               76 sound/core/oss/mixer_oss.c 		snd_card_file_remove(fmixer->card, file);
file              365 sound/core/oss/mixer_oss.c static long snd_mixer_oss_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              367 sound/core/oss/mixer_oss.c 	return snd_mixer_oss_ioctl1(file->private_data, cmd, arg);
file              387 sound/core/oss/mixer_oss.c static long snd_mixer_oss_ioctl_compat(struct file *file, unsigned int cmd,
file              390 sound/core/oss/mixer_oss.c 	return snd_mixer_oss_ioctl1(file->private_data, cmd,
file             1973 sound/core/oss/pcm_oss.c static int snd_pcm_oss_nonblock(struct file * file)
file             1975 sound/core/oss/pcm_oss.c 	spin_lock(&file->f_lock);
file             1976 sound/core/oss/pcm_oss.c 	file->f_flags |= O_NONBLOCK;
file             1977 sound/core/oss/pcm_oss.c 	spin_unlock(&file->f_lock);
file             2374 sound/core/oss/pcm_oss.c static int snd_pcm_oss_open_file(struct file *file,
file             2383 sound/core/oss/pcm_oss.c 	fmode_t f_mode = file->f_mode;
file             2396 sound/core/oss/pcm_oss.c 	file->f_flags &= ~O_APPEND;
file             2409 sound/core/oss/pcm_oss.c 		err = snd_pcm_open_substream(pcm, idx, file, &substream);
file             2424 sound/core/oss/pcm_oss.c 	file->private_data = pcm_oss_file;
file             2443 sound/core/oss/pcm_oss.c static int snd_pcm_oss_open(struct inode *inode, struct file *file)
file             2453 sound/core/oss/pcm_oss.c 	err = nonseekable_open(inode, file);
file             2463 sound/core/oss/pcm_oss.c 	err = snd_card_file_add(pcm->card, file);
file             2475 sound/core/oss/pcm_oss.c 	if (file->f_mode & FMODE_WRITE)
file             2478 sound/core/oss/pcm_oss.c 	if (file->f_mode & FMODE_READ)
file             2482 sound/core/oss/pcm_oss.c 	nonblock = !!(file->f_flags & O_NONBLOCK);
file             2490 sound/core/oss/pcm_oss.c 		err = snd_pcm_oss_open_file(file, pcm, &pcm_oss_file,
file             2524 sound/core/oss/pcm_oss.c       	snd_card_file_remove(pcm->card, file);
file             2531 sound/core/oss/pcm_oss.c static int snd_pcm_oss_release(struct inode *inode, struct file *file)
file             2537 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2551 sound/core/oss/pcm_oss.c 	snd_card_file_remove(pcm->card, file);
file             2555 sound/core/oss/pcm_oss.c static long snd_pcm_oss_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file             2561 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2665 sound/core/oss/pcm_oss.c 		return snd_pcm_oss_nonblock(file);
file             2717 sound/core/oss/pcm_oss.c static long snd_pcm_oss_ioctl_compat(struct file *file, unsigned int cmd,
file             2720 sound/core/oss/pcm_oss.c 	return snd_pcm_oss_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file             2726 sound/core/oss/pcm_oss.c static ssize_t snd_pcm_oss_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file             2731 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2735 sound/core/oss/pcm_oss.c 	substream->f_flags = file->f_flags & O_NONBLOCK;
file             2749 sound/core/oss/pcm_oss.c static ssize_t snd_pcm_oss_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
file             2755 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2759 sound/core/oss/pcm_oss.c 	substream->f_flags = file->f_flags & O_NONBLOCK;
file             2790 sound/core/oss/pcm_oss.c static __poll_t snd_pcm_oss_poll(struct file *file, poll_table * wait)
file             2796 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2804 sound/core/oss/pcm_oss.c 		poll_wait(file, &runtime->sleep, wait);
file             2815 sound/core/oss/pcm_oss.c 		poll_wait(file, &runtime->sleep, wait);
file             2833 sound/core/oss/pcm_oss.c static int snd_pcm_oss_mmap(struct file *file, struct vm_area_struct *area)
file             2843 sound/core/oss/pcm_oss.c 	pcm_oss_file = file->private_data;
file             2889 sound/core/oss/pcm_oss.c 	err = snd_pcm_mmap_data(substream, file, area);
file              880 sound/core/pcm.c 			     struct file *file,
file              913 sound/core/pcm.c 	if (file->f_flags & O_APPEND) {
file              972 sound/core/pcm.c 	substream->f_flags = file->f_flags;
file              638 sound/core/pcm_compat.c static long snd_pcm_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg)
file              644 sound/core/pcm_compat.c 	pcm_file = file->private_data;
file              676 sound/core/pcm_compat.c 		return snd_pcm_common_ioctl(file, substream, cmd, argp);
file               67 sound/core/pcm_native.c static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream);
file             1729 sound/core/pcm_native.c 			   struct file *file)
file             1733 sound/core/pcm_native.c 	if (file)
file             1734 sound/core/pcm_native.c 		f_flags = file->f_flags;
file             1830 sound/core/pcm_native.c 			 struct file *file)
file             1846 sound/core/pcm_native.c 	if (file) {
file             1847 sound/core/pcm_native.c 		if (file->f_flags & O_NONBLOCK)
file             1969 sound/core/pcm_native.c static bool is_pcm_file(struct file *file)
file             1971 sound/core/pcm_native.c 	struct inode *inode = file_inode(file);
file             1999 sound/core/pcm_native.c 	if (!f.file)
file             2001 sound/core/pcm_native.c 	if (!is_pcm_file(f.file)) {
file             2005 sound/core/pcm_native.c 	pcm_file = f.file->private_data;
file             2461 sound/core/pcm_native.c 			   struct file *file,
file             2467 sound/core/pcm_native.c 	err = snd_pcm_attach_substream(pcm, stream, file, &substream);
file             2501 sound/core/pcm_native.c static int snd_pcm_open_file(struct file *file,
file             2509 sound/core/pcm_native.c 	err = snd_pcm_open_substream(pcm, stream, file, &substream);
file             2521 sound/core/pcm_native.c 	file->private_data = pcm_file;
file             2526 sound/core/pcm_native.c static int snd_pcm_playback_open(struct inode *inode, struct file *file)
file             2529 sound/core/pcm_native.c 	int err = nonseekable_open(inode, file);
file             2534 sound/core/pcm_native.c 	err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_PLAYBACK);
file             2540 sound/core/pcm_native.c static int snd_pcm_capture_open(struct inode *inode, struct file *file)
file             2543 sound/core/pcm_native.c 	int err = nonseekable_open(inode, file);
file             2548 sound/core/pcm_native.c 	err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_CAPTURE);
file             2554 sound/core/pcm_native.c static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream)
file             2563 sound/core/pcm_native.c 	err = snd_card_file_add(pcm->card, file);
file             2574 sound/core/pcm_native.c 		err = snd_pcm_open_file(file, pcm, stream);
file             2578 sound/core/pcm_native.c 			if (file->f_flags & O_NONBLOCK) {
file             2606 sound/core/pcm_native.c       	snd_card_file_remove(pcm->card, file);
file             2611 sound/core/pcm_native.c static int snd_pcm_release(struct inode *inode, struct file *file)
file             2617 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             2628 sound/core/pcm_native.c 	snd_card_file_remove(pcm->card, file);
file             2901 sound/core/pcm_native.c static int snd_pcm_common_ioctl(struct file *file,
file             2905 sound/core/pcm_native.c 	struct snd_pcm_file *pcm_file = file->private_data;
file             2944 sound/core/pcm_native.c 		return snd_pcm_prepare(substream, file);
file             2981 sound/core/pcm_native.c 		return snd_pcm_drain(substream, file);
file             3003 sound/core/pcm_native.c static long snd_pcm_ioctl(struct file *file, unsigned int cmd,
file             3008 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3013 sound/core/pcm_native.c 	return snd_pcm_common_ioctl(file, pcm_file->substream, cmd,
file             3062 sound/core/pcm_native.c static ssize_t snd_pcm_read(struct file *file, char __user *buf, size_t count,
file             3070 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3086 sound/core/pcm_native.c static ssize_t snd_pcm_write(struct file *file, const char __user *buf,
file             3094 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3181 sound/core/pcm_native.c static __poll_t snd_pcm_poll(struct file *file, poll_table *wait)
file             3189 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3200 sound/core/pcm_native.c 	poll_wait(file, &runtime->sleep, wait);
file             3257 sound/core/pcm_native.c static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file,
file             3293 sound/core/pcm_native.c static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file,
file             3342 sound/core/pcm_native.c static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file,
file             3347 sound/core/pcm_native.c static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file,
file             3468 sound/core/pcm_native.c int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file,
file             3512 sound/core/pcm_native.c static int snd_pcm_mmap(struct file *file, struct vm_area_struct *area)
file             3518 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3528 sound/core/pcm_native.c 		return snd_pcm_mmap_status(substream, file, area);
file             3532 sound/core/pcm_native.c 		return snd_pcm_mmap_control(substream, file, area);
file             3534 sound/core/pcm_native.c 		return snd_pcm_mmap_data(substream, file, area);
file             3539 sound/core/pcm_native.c static int snd_pcm_fasync(int fd, struct file * file, int on)
file             3545 sound/core/pcm_native.c 	pcm_file = file->private_data;
file             3550 sound/core/pcm_native.c 	return fasync_helper(fd, file, on, &runtime->fasync);
file             3677 sound/core/pcm_native.c static unsigned long snd_pcm_get_unmapped_area(struct file *file,
file             3683 sound/core/pcm_native.c 	struct snd_pcm_file *pcm_file = file->private_data;
file               63 sound/core/rawmidi.c static inline unsigned short snd_rawmidi_file_flags(struct file *file)
file               65 sound/core/rawmidi.c 	switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) {
file              367 sound/core/rawmidi.c static int snd_rawmidi_open(struct inode *inode, struct file *file)
file              378 sound/core/rawmidi.c 	if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK))
file              381 sound/core/rawmidi.c 	err = stream_open(inode, file);
file              406 sound/core/rawmidi.c 	err = snd_card_file_add(card, file);
file              409 sound/core/rawmidi.c 	fflags = snd_rawmidi_file_flags(file);
file              410 sound/core/rawmidi.c 	if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */
file              425 sound/core/rawmidi.c 			if (file->f_flags & O_NONBLOCK) {
file              455 sound/core/rawmidi.c 	file->private_data = rawmidi_file;
file              461 sound/core/rawmidi.c 	snd_card_file_remove(card, file);
file              536 sound/core/rawmidi.c static int snd_rawmidi_release(struct inode *inode, struct file *file)
file              542 sound/core/rawmidi.c 	rfile = file->private_data;
file              547 sound/core/rawmidi.c 	snd_card_file_remove(rmidi->card, file);
file              723 sound/core/rawmidi.c static long snd_rawmidi_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              728 sound/core/rawmidi.c 	rfile = file->private_data;
file             1009 sound/core/rawmidi.c static ssize_t snd_rawmidi_read(struct file *file, char __user *buf, size_t count,
file             1018 sound/core/rawmidi.c 	rfile = file->private_data;
file             1030 sound/core/rawmidi.c 			if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file             1338 sound/core/rawmidi.c static ssize_t snd_rawmidi_write(struct file *file, const char __user *buf,
file             1347 sound/core/rawmidi.c 	rfile = file->private_data;
file             1359 sound/core/rawmidi.c 			if (file->f_flags & O_NONBLOCK) {
file             1383 sound/core/rawmidi.c 		if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK))
file             1387 sound/core/rawmidi.c 	if (file->f_flags & O_DSYNC) {
file             1410 sound/core/rawmidi.c static __poll_t snd_rawmidi_poll(struct file *file, poll_table *wait)
file             1416 sound/core/rawmidi.c 	rfile = file->private_data;
file             1420 sound/core/rawmidi.c 		poll_wait(file, &runtime->sleep, wait);
file             1424 sound/core/rawmidi.c 		poll_wait(file, &runtime->sleep, wait);
file              142 sound/core/rawmidi_compat.c static long snd_rawmidi_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg)
file              147 sound/core/rawmidi_compat.c 	rfile = file->private_data;
file              153 sound/core/rawmidi_compat.c 		return snd_rawmidi_ioctl(file, cmd, (unsigned long)argp);
file               44 sound/core/seq/oss/seq_oss.c static int odev_open(struct inode *inode, struct file *file);
file               45 sound/core/seq/oss/seq_oss.c static int odev_release(struct inode *inode, struct file *file);
file               46 sound/core/seq/oss/seq_oss.c static ssize_t odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset);
file               47 sound/core/seq/oss/seq_oss.c static ssize_t odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset);
file               48 sound/core/seq/oss/seq_oss.c static long odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file               49 sound/core/seq/oss/seq_oss.c static __poll_t odev_poll(struct file *file, poll_table * wait);
file              115 sound/core/seq/oss/seq_oss.c odev_open(struct inode *inode, struct file *file)
file              125 sound/core/seq/oss/seq_oss.c 	rc = snd_seq_oss_open(file, level);
file              132 sound/core/seq/oss/seq_oss.c odev_release(struct inode *inode, struct file *file)
file              136 sound/core/seq/oss/seq_oss.c 	if ((dp = file->private_data) == NULL)
file              147 sound/core/seq/oss/seq_oss.c odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
file              150 sound/core/seq/oss/seq_oss.c 	dp = file->private_data;
file              158 sound/core/seq/oss/seq_oss.c odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
file              161 sound/core/seq/oss/seq_oss.c 	dp = file->private_data;
file              164 sound/core/seq/oss/seq_oss.c 	return snd_seq_oss_write(dp, buf, count, file);
file              168 sound/core/seq/oss/seq_oss.c odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              171 sound/core/seq/oss/seq_oss.c 	dp = file->private_data;
file              178 sound/core/seq/oss/seq_oss.c static long odev_ioctl_compat(struct file *file, unsigned int cmd,
file              181 sound/core/seq/oss/seq_oss.c 	return odev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file              188 sound/core/seq/oss/seq_oss.c odev_poll(struct file *file, poll_table * wait)
file              191 sound/core/seq/oss/seq_oss.c 	dp = file->private_data;
file              194 sound/core/seq/oss/seq_oss.c 	return snd_seq_oss_poll(dp, file, wait);
file              110 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_open(struct file *file, int level);
file              114 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt);
file              115 sound/core/seq/oss/seq_oss_device.h __poll_t snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
file               41 sound/core/seq/oss/seq_oss_init.c static int translate_mode(struct file *file);
file              172 sound/core/seq/oss/seq_oss_init.c snd_seq_oss_open(struct file *file, int level)
file              228 sound/core/seq/oss/seq_oss_init.c 	dp->file_mode = translate_mode(file);
file              257 sound/core/seq/oss/seq_oss_init.c 	file->private_data = dp;
file              283 sound/core/seq/oss/seq_oss_init.c translate_mode(struct file *file)
file              286 sound/core/seq/oss/seq_oss_init.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY)
file              288 sound/core/seq/oss/seq_oss_init.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY)
file              290 sound/core/seq/oss/seq_oss_init.c 	if (file->f_flags & O_NONBLOCK)
file              206 sound/core/seq/oss/seq_oss_readq.c snd_seq_oss_readq_poll(struct seq_oss_readq *q, struct file *file, poll_table *wait)
file              208 sound/core/seq/oss/seq_oss_readq.c 	poll_wait(file, &q->midi_sleep, wait);
file               32 sound/core/seq/oss/seq_oss_readq.h unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wait);
file               23 sound/core/seq/oss/seq_oss_rw.c static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt);
file               83 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt)
file              151 sound/core/seq/oss/seq_oss_rw.c insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt)
file              184 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait)
file              190 sound/core/seq/oss/seq_oss_rw.c 		if (snd_seq_oss_readq_poll(dp->readq, file, wait))
file              196 sound/core/seq/oss/seq_oss_rw.c 		if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait))
file               75 sound/core/seq/seq_clientmgr.c static inline unsigned short snd_seq_file_flags(struct file *file)
file               77 sound/core/seq/seq_clientmgr.c         switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) {
file              320 sound/core/seq/seq_clientmgr.c static int snd_seq_open(struct inode *inode, struct file *file)
file              327 sound/core/seq/seq_clientmgr.c 	err = stream_open(inode, file);
file              338 sound/core/seq/seq_clientmgr.c 	mode = snd_seq_file_flags(file);
file              364 sound/core/seq/seq_clientmgr.c 	file->private_data = client;
file              367 sound/core/seq/seq_clientmgr.c 	user->file = file;
file              378 sound/core/seq/seq_clientmgr.c static int snd_seq_release(struct inode *inode, struct file *file)
file              380 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
file              401 sound/core/seq/seq_clientmgr.c static ssize_t snd_seq_read(struct file *file, char __user *buf, size_t count,
file              404 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
file              410 sound/core/seq/seq_clientmgr.c 	if (!(snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_INPUT))
file              438 sound/core/seq/seq_clientmgr.c 		nonblock = (file->f_flags & O_NONBLOCK) || result > 0;
file              928 sound/core/seq/seq_clientmgr.c 					struct file *file, int blocking,
file              969 sound/core/seq/seq_clientmgr.c 				file, mutexp);
file             1019 sound/core/seq/seq_clientmgr.c static ssize_t snd_seq_write(struct file *file, const char __user *buf,
file             1022 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
file             1027 sound/core/seq/seq_clientmgr.c 	if (!(snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_OUTPUT))
file             1093 sound/core/seq/seq_clientmgr.c 		err = snd_seq_client_enqueue_event(client, &event, file,
file             1094 sound/core/seq/seq_clientmgr.c 						   !(file->f_flags & O_NONBLOCK),
file             1122 sound/core/seq/seq_clientmgr.c static __poll_t snd_seq_poll(struct file *file, poll_table * wait)
file             1124 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
file             1131 sound/core/seq/seq_clientmgr.c 	if ((snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_INPUT) &&
file             1135 sound/core/seq/seq_clientmgr.c 		if (snd_seq_fifo_poll_wait(client->data.user.fifo, file, wait))
file             1139 sound/core/seq/seq_clientmgr.c 	if (snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_OUTPUT) {
file             1143 sound/core/seq/seq_clientmgr.c 		    snd_seq_pool_poll_wait(client->pool, file, wait))
file             2108 sound/core/seq/seq_clientmgr.c static long snd_seq_ioctl(struct file *file, unsigned int cmd,
file             2111 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
file             2255 sound/core/seq/seq_clientmgr.c 				  struct file *file, bool blocking)
file             2282 sound/core/seq/seq_clientmgr.c 		result = snd_seq_client_enqueue_event(cptr, ev, file, blocking,
file             2363 sound/core/seq/seq_clientmgr.c int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait)
file             2373 sound/core/seq/seq_clientmgr.c 	if (snd_seq_pool_poll_wait(client->pool, file, wait))
file               19 sound/core/seq/seq_clientmgr.h 	struct file *file;	/* file struct of client */
file               81 sound/core/seq/seq_clientmgr.h int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);
file               74 sound/core/seq/seq_compat.c static long snd_seq_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg)
file               76 sound/core/seq/seq_compat.c 	struct snd_seq_client *client = file->private_data;
file              109 sound/core/seq/seq_compat.c 		return snd_seq_ioctl(file, cmd, arg);
file              216 sound/core/seq/seq_fifo.c int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file,
file              219 sound/core/seq/seq_fifo.c 	poll_wait(file, &f->input_sleep, wait);
file               51 sound/core/seq/seq_fifo.h int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);
file               12 sound/core/seq/seq_lock.c void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line)
file               17 sound/core/seq/seq_lock.c 		pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line);
file               22 sound/core/seq/seq_lock.c 			pr_warn("ALSA: seq_lock: waiting [%d left] in %s:%d\n", atomic_read(lockp), file, line);
file               19 sound/core/seq/seq_lock.h void snd_use_lock_sync_helper(snd_use_lock_t *lock, const char *file, int line);
file              209 sound/core/seq/seq_memory.c 			      int nonblock, struct file *file,
file              281 sound/core/seq/seq_memory.c 		      struct file *file, struct mutex *mutexp)
file              298 sound/core/seq/seq_memory.c 	err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp);
file              324 sound/core/seq/seq_memory.c 			err = snd_seq_cell_alloc(pool, &tmp, nonblock, file,
file              360 sound/core/seq/seq_memory.c int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file,
file              363 sound/core/seq/seq_memory.c 	poll_wait(file, &pool->output_sleep, wait);
file               55 sound/core/seq/seq_memory.h 		      struct file *file, struct mutex *mutexp);
file               83 sound/core/seq/seq_memory.h int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait);
file              138 sound/core/sound.c static int snd_open(struct inode *inode, struct file *file)
file              160 sound/core/sound.c 	replace_fops(file, new_fops);
file              162 sound/core/sound.c 	if (file->f_op->open)
file              163 sound/core/sound.c 		err = file->f_op->open(inode, file);
file             1455 sound/core/timer.c static int snd_timer_user_open(struct inode *inode, struct file *file)
file             1460 sound/core/timer.c 	err = stream_open(inode, file);
file             1475 sound/core/timer.c 	file->private_data = tu;
file             1479 sound/core/timer.c static int snd_timer_user_release(struct inode *inode, struct file *file)
file             1483 sound/core/timer.c 	if (file->private_data) {
file             1484 sound/core/timer.c 		tu = file->private_data;
file             1485 sound/core/timer.c 		file->private_data = NULL;
file             1606 sound/core/timer.c static int snd_timer_user_ginfo(struct file *file,
file             1673 sound/core/timer.c static int snd_timer_user_gparams(struct file *file,
file             1683 sound/core/timer.c static int snd_timer_user_gstatus(struct file *file,
file             1718 sound/core/timer.c static int snd_timer_user_tselect(struct file *file,
file             1726 sound/core/timer.c 	tu = file->private_data;
file             1753 sound/core/timer.c static int snd_timer_user_info(struct file *file,
file             1761 sound/core/timer.c 	tu = file->private_data;
file             1783 sound/core/timer.c static int snd_timer_user_params(struct file *file,
file             1791 sound/core/timer.c 	tu = file->private_data;
file             1884 sound/core/timer.c static int snd_timer_user_status(struct file *file,
file             1890 sound/core/timer.c 	tu = file->private_data;
file             1906 sound/core/timer.c static int snd_timer_user_start(struct file *file)
file             1911 sound/core/timer.c 	tu = file->private_data;
file             1923 sound/core/timer.c static int snd_timer_user_stop(struct file *file)
file             1928 sound/core/timer.c 	tu = file->private_data;
file             1937 sound/core/timer.c static int snd_timer_user_continue(struct file *file)
file             1942 sound/core/timer.c 	tu = file->private_data;
file             1947 sound/core/timer.c 		return snd_timer_user_start(file);
file             1955 sound/core/timer.c static int snd_timer_user_pause(struct file *file)
file             1960 sound/core/timer.c 	tu = file->private_data;
file             1976 sound/core/timer.c static long __snd_timer_user_ioctl(struct file *file, unsigned int cmd,
file             1983 sound/core/timer.c 	tu = file->private_data;
file             2007 sound/core/timer.c 		return snd_timer_user_ginfo(file, argp);
file             2009 sound/core/timer.c 		return snd_timer_user_gparams(file, argp);
file             2011 sound/core/timer.c 		return snd_timer_user_gstatus(file, argp);
file             2013 sound/core/timer.c 		return snd_timer_user_tselect(file, argp);
file             2015 sound/core/timer.c 		return snd_timer_user_info(file, argp);
file             2017 sound/core/timer.c 		return snd_timer_user_params(file, argp);
file             2019 sound/core/timer.c 		return snd_timer_user_status(file, argp);
file             2022 sound/core/timer.c 		return snd_timer_user_start(file);
file             2025 sound/core/timer.c 		return snd_timer_user_stop(file);
file             2028 sound/core/timer.c 		return snd_timer_user_continue(file);
file             2031 sound/core/timer.c 		return snd_timer_user_pause(file);
file             2036 sound/core/timer.c static long snd_timer_user_ioctl(struct file *file, unsigned int cmd,
file             2039 sound/core/timer.c 	struct snd_timer_user *tu = file->private_data;
file             2043 sound/core/timer.c 	ret = __snd_timer_user_ioctl(file, cmd, arg);
file             2048 sound/core/timer.c static int snd_timer_user_fasync(int fd, struct file * file, int on)
file             2052 sound/core/timer.c 	tu = file->private_data;
file             2053 sound/core/timer.c 	return fasync_helper(fd, file, on, &tu->fasync);
file             2056 sound/core/timer.c static ssize_t snd_timer_user_read(struct file *file, char __user *buffer,
file             2064 sound/core/timer.c 	tu = file->private_data;
file             2072 sound/core/timer.c 			if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file             2126 sound/core/timer.c static __poll_t snd_timer_user_poll(struct file *file, poll_table * wait)
file             2131 sound/core/timer.c         tu = file->private_data;
file             2133 sound/core/timer.c         poll_wait(file, &tu->qchange_sleep, wait);
file               34 sound/core/timer_compat.c static int snd_timer_user_gparams_compat(struct file *file,
file               47 sound/core/timer_compat.c static int snd_timer_user_info_compat(struct file *file,
file               54 sound/core/timer_compat.c 	tu = file->private_data;
file               81 sound/core/timer_compat.c static int snd_timer_user_status_compat(struct file *file,
file               87 sound/core/timer_compat.c 	tu = file->private_data;
file              106 sound/core/timer_compat.c #define snd_timer_user_status_x32(file, s) \
file              107 sound/core/timer_compat.c 	snd_timer_user_status(file, s)
file              122 sound/core/timer_compat.c static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd,
file              143 sound/core/timer_compat.c 		return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp);
file              145 sound/core/timer_compat.c 		return snd_timer_user_gparams_compat(file, argp);
file              147 sound/core/timer_compat.c 		return snd_timer_user_info_compat(file, argp);
file              149 sound/core/timer_compat.c 		return snd_timer_user_status_compat(file, argp);
file              152 sound/core/timer_compat.c 		return snd_timer_user_status_x32(file, argp);
file              158 sound/core/timer_compat.c static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd,
file              161 sound/core/timer_compat.c 	struct snd_timer_user *tu = file->private_data;
file              165 sound/core/timer_compat.c 	ret = __snd_timer_user_ioctl_compat(file, cmd, arg);
file               71 sound/drivers/opl3/opl3_synth.c int snd_opl3_open(struct snd_hwdep * hw, struct file *file)
file               79 sound/drivers/opl3/opl3_synth.c int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file,
file              170 sound/drivers/opl3/opl3_synth.c int snd_opl3_release(struct snd_hwdep * hw, struct file *file)
file               40 sound/drivers/opl4/opl4_proc.c 				      struct file *file, char __user *_buf,
file               60 sound/drivers/opl4/opl4_proc.c 				       struct file *file,
file               56 sound/firewire/bebob/bebob_hwdep.c hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
file               61 sound/firewire/bebob/bebob_hwdep.c 	poll_wait(file, &bebob->hwdep_wait, wait);
file              132 sound/firewire/bebob/bebob_hwdep.c hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              145 sound/firewire/bebob/bebob_hwdep.c hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              164 sound/firewire/bebob/bebob_hwdep.c hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              167 sound/firewire/bebob/bebob_hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               54 sound/firewire/dice/dice-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file               60 sound/firewire/dice/dice-hwdep.c 	poll_wait(file, &dice->hwdep_wait, wait);
file              127 sound/firewire/dice/dice-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              139 sound/firewire/dice/dice-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              157 sound/firewire/dice/dice-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              160 sound/firewire/dice/dice-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               62 sound/firewire/digi00x/digi00x-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file               68 sound/firewire/digi00x/digi00x-hwdep.c 	poll_wait(file, &dg00x->hwdep_wait, wait);
file              135 sound/firewire/digi00x/digi00x-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              147 sound/firewire/digi00x/digi00x-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              165 sound/firewire/digi00x/digi00x-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              168 sound/firewire/digi00x/digi00x-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               54 sound/firewire/fireface/ff-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file               60 sound/firewire/fireface/ff-hwdep.c 	poll_wait(file, &ff->hwdep_wait, wait);
file              127 sound/firewire/fireface/ff-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              139 sound/firewire/fireface/ff-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              157 sound/firewire/fireface/ff-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              160 sound/firewire/fireface/ff-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file              187 sound/firewire/fireworks/fireworks_hwdep.c hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
file              192 sound/firewire/fireworks/fireworks_hwdep.c 	poll_wait(file, &efw->hwdep_wait, wait);
file              263 sound/firewire/fireworks/fireworks_hwdep.c hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              276 sound/firewire/fireworks/fireworks_hwdep.c hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              295 sound/firewire/fireworks/fireworks_hwdep.c hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              298 sound/firewire/fireworks/fireworks_hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               61 sound/firewire/motu/motu-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file               67 sound/firewire/motu/motu-hwdep.c 	poll_wait(file, &motu->hwdep_wait, wait);
file              134 sound/firewire/motu/motu-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              146 sound/firewire/motu/motu-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              164 sound/firewire/motu/motu-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              167 sound/firewire/motu/motu-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               54 sound/firewire/oxfw/oxfw-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file               60 sound/firewire/oxfw/oxfw-hwdep.c 	poll_wait(file, &oxfw->hwdep_wait, wait);
file              127 sound/firewire/oxfw/oxfw-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              139 sound/firewire/oxfw/oxfw-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              157 sound/firewire/oxfw/oxfw-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              160 sound/firewire/oxfw/oxfw-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file              127 sound/firewire/tascam/tascam-hwdep.c static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
file              133 sound/firewire/tascam/tascam-hwdep.c 	poll_wait(file, &tscm->hwdep_wait, wait);
file              208 sound/firewire/tascam/tascam-hwdep.c static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
file              220 sound/firewire/tascam/tascam-hwdep.c static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              240 sound/firewire/tascam/tascam-hwdep.c static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
file              243 sound/firewire/tascam/tascam-hwdep.c 	return hwdep_ioctl(hwdep, file, cmd,
file               21 sound/isa/gus/gus_mem_proc.c 				     struct file *file, char __user *buf,
file              216 sound/isa/msnd/msnd.c void snd_msnd_dsp_halt(struct snd_msnd *chip, struct file *file)
file              218 sound/isa/msnd/msnd.c 	if ((file ? file->f_mode : chip->mode) & FMODE_READ) {
file              222 sound/isa/msnd/msnd.c 		if (file) {
file              224 sound/isa/msnd/msnd.c 				   ": Stopping read for %p\n", file);
file              229 sound/isa/msnd/msnd.c 	if ((file ? file->f_mode : chip->mode) & FMODE_WRITE) {
file              235 sound/isa/msnd/msnd.c 		if (file) {
file              237 sound/isa/msnd/msnd.c 				   LOGNAME ": Stopping write for %p\n", file);
file              284 sound/isa/msnd/msnd.h void snd_msnd_dsp_halt(struct snd_msnd *chip, struct file *file);
file               67 sound/isa/sb/sb16_csp.c static int snd_sb_csp_open(struct snd_hwdep * hw, struct file *file);
file               68 sound/isa/sb/sb16_csp.c static int snd_sb_csp_ioctl(struct snd_hwdep * hw, struct file *file, unsigned int cmd, unsigned long arg);
file               69 sound/isa/sb/sb16_csp.c static int snd_sb_csp_release(struct snd_hwdep * hw, struct file *file);
file              172 sound/isa/sb/sb16_csp.c static int snd_sb_csp_open(struct snd_hwdep * hw, struct file *file)
file              181 sound/isa/sb/sb16_csp.c static int snd_sb_csp_ioctl(struct snd_hwdep * hw, struct file *file, unsigned int cmd, unsigned long arg)
file              252 sound/isa/sb/sb16_csp.c static int snd_sb_csp_release(struct snd_hwdep * hw, struct file *file)
file              134 sound/isa/wavefront/wavefront_fx.c snd_wavefront_fx_open (struct snd_hwdep *hw, struct file *file)
file              139 sound/isa/wavefront/wavefront_fx.c 	file->private_data = hw;
file              144 sound/isa/wavefront/wavefront_fx.c snd_wavefront_fx_release (struct snd_hwdep *hw, struct file *file)
file              152 sound/isa/wavefront/wavefront_fx.c snd_wavefront_fx_ioctl (struct snd_hwdep *sdev, struct file *file,
file             1628 sound/isa/wavefront/wavefront_synth.c snd_wavefront_synth_open (struct snd_hwdep *hw, struct file *file)
file             1633 sound/isa/wavefront/wavefront_synth.c 	file->private_data = hw;
file             1638 sound/isa/wavefront/wavefront_synth.c snd_wavefront_synth_release (struct snd_hwdep *hw, struct file *file)
file             1646 sound/isa/wavefront/wavefront_synth.c snd_wavefront_synth_ioctl (struct snd_hwdep *hw, struct file *file,
file              326 sound/oss/dmasound/dmasound_core.c static int mixer_open(struct inode *inode, struct file *file)
file              338 sound/oss/dmasound/dmasound_core.c static int mixer_release(struct inode *inode, struct file *file)
file              347 sound/oss/dmasound/dmasound_core.c static int mixer_ioctl(struct file *file, u_int cmd, u_long arg)
file              371 sound/oss/dmasound/dmasound_core.c static long mixer_unlocked_ioctl(struct file *file, u_int cmd, u_long arg)
file              376 sound/oss/dmasound/dmasound_core.c 	ret = mixer_ioctl(file, cmd, arg);
file              547 sound/oss/dmasound/dmasound_core.c static ssize_t sq_write(struct file *file, const char __user *src, size_t uLeft,
file              673 sound/oss/dmasound/dmasound_core.c static __poll_t sq_poll(struct file *file, struct poll_table_struct *wait)
file              683 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & FMODE_WRITE )
file              684 sound/oss/dmasound/dmasound_core.c 		poll_wait(file, &write_sq.action_queue, wait);
file              685 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & FMODE_WRITE)
file              701 sound/oss/dmasound/dmasound_core.c static inline void sq_wake_up(struct sound_queue *sq, struct file *file,
file              704 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & mode) {
file              711 sound/oss/dmasound/dmasound_core.c static int sq_open2(struct sound_queue *sq, struct file *file, fmode_t mode,
file              716 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & mode) {
file              720 sound/oss/dmasound/dmasound_core.c 			if (file->f_flags & O_NONBLOCK)
file              742 sound/oss/dmasound/dmasound_core.c 			sq_wake_up(sq, file, mode);
file              749 sound/oss/dmasound/dmasound_core.c 		sq->non_blocking = file->f_flags & O_NONBLOCK;
file              756 sound/oss/dmasound/dmasound_core.c #define write_sq_wake_up(file)		sq_wake_up(&write_sq, file, FMODE_WRITE)
file              759 sound/oss/dmasound/dmasound_core.c #define write_sq_open(file)	\
file              760 sound/oss/dmasound/dmasound_core.c 	sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize )
file              762 sound/oss/dmasound/dmasound_core.c static int sq_open(struct inode *inode, struct file *file)
file              772 sound/oss/dmasound/dmasound_core.c 	rc = write_sq_open(file); /* checks the f_mode */
file              775 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & FMODE_READ) {
file              782 sound/oss/dmasound/dmasound_core.c 	    dmasound.mach.sq_open(file->f_mode);
file              880 sound/oss/dmasound/dmasound_core.c static int sq_release(struct inode *inode, struct file *file)
file              886 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & FMODE_WRITE) {
file              895 sound/oss/dmasound/dmasound_core.c 	if (file->f_mode & shared_resource_owner) { /* it's us that has them */
file              911 sound/oss/dmasound/dmasound_core.c 	read_sq_wake_up(file); /* checks f_mode */
file              912 sound/oss/dmasound/dmasound_core.c 	write_sq_wake_up(file); /* checks f_mode */
file              989 sound/oss/dmasound/dmasound_core.c static int sq_ioctl(struct file *file, u_int cmd, u_long arg)
file             1016 sound/oss/dmasound/dmasound_core.c 		if (file->f_mode & FMODE_WRITE) {
file             1038 sound/oss/dmasound/dmasound_core.c 		if (file->f_mode & FMODE_WRITE) {
file             1043 sound/oss/dmasound/dmasound_core.c 		if (file->f_mode & shared_resource_owner)
file             1056 sound/oss/dmasound/dmasound_core.c 		if (shared_resources_are_mine(file->f_mode)) {
file             1070 sound/oss/dmasound/dmasound_core.c 		if (shared_resources_are_mine(file->f_mode) &&
file             1079 sound/oss/dmasound/dmasound_core.c 		if (shared_resources_are_mine(file->f_mode) &&
file             1089 sound/oss/dmasound/dmasound_core.c 		if (shared_resources_are_mine(file->f_mode) &&
file             1116 sound/oss/dmasound/dmasound_core.c 		if (file->f_mode & FMODE_WRITE) {
file             1129 sound/oss/dmasound/dmasound_core.c 		if (file->f_mode & FMODE_WRITE) {
file             1147 sound/oss/dmasound/dmasound_core.c 		return mixer_ioctl(file, cmd, arg);
file             1152 sound/oss/dmasound/dmasound_core.c static long sq_unlocked_ioctl(struct file *file, u_int cmd, u_long arg)
file             1157 sound/oss/dmasound/dmasound_core.c 	ret = sq_ioctl(file, cmd, arg);
file             1266 sound/oss/dmasound/dmasound_core.c static int state_open(struct inode *inode, struct file *file)
file             1348 sound/oss/dmasound/dmasound_core.c static int state_release(struct inode *inode, struct file *file)
file             1357 sound/oss/dmasound/dmasound_core.c static ssize_t state_read(struct file *file, char __user *buf, size_t count,
file             2777 sound/pci/asihpi/asihpi.c static int snd_asihpi_hpi_open(struct snd_hwdep *hw, struct file *file)
file             2786 sound/pci/asihpi/asihpi.c static int snd_asihpi_hpi_release(struct snd_hwdep *hw, struct file *file)
file             2789 sound/pci/asihpi/asihpi.c 		return asihpi_hpi_release(file);
file             2794 sound/pci/asihpi/asihpi.c static int snd_asihpi_hpi_ioctl(struct snd_hwdep *hw, struct file *file,
file             2798 sound/pci/asihpi/asihpi.c 		return asihpi_hpi_ioctl(file, cmd, arg);
file               59 sound/pci/asihpi/hpioctl.c 	struct file *file)
file               65 sound/pci/asihpi/hpioctl.c 		hpi_send_recv_ex(phm, phr, file);
file               80 sound/pci/asihpi/hpioctl.c int asihpi_hpi_release(struct file *file)
file               89 sound/pci/asihpi/hpioctl.c 	hpi_send_recv_ex(&hm, &hr, file);
file               93 sound/pci/asihpi/hpioctl.c long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
file              174 sound/pci/asihpi/hpioctl.c 		hpi_send_recv_f(&hm->m0, &hr->r0, file);
file              265 sound/pci/asihpi/hpioctl.c 		hpi_send_recv_f(&hm->m0, &hr->r0, file);
file               17 sound/pci/asihpi/hpioctl.h int asihpi_hpi_release(struct file *file);
file               19 sound/pci/asihpi/hpioctl.h long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
file             1127 sound/pci/cs4281.c 				   struct file *file, char __user *buf,
file             1139 sound/pci/cs4281.c 				   struct file *file, char __user *buf,
file             2814 sound/pci/cs46xx/cs46xx_lib.c 				  struct file *file, char __user *buf,
file             2481 sound/pci/emu10k1/emufx.c static int snd_emu10k1_fx8010_open(struct snd_hwdep * hw, struct file *file)
file             2519 sound/pci/emu10k1/emufx.c static int snd_emu10k1_fx8010_ioctl(struct snd_hwdep * hw, struct file *file, unsigned int cmd, unsigned long arg)
file             2650 sound/pci/emu10k1/emufx.c static int snd_emu10k1_fx8010_release(struct snd_hwdep * hw, struct file *file)
file              321 sound/pci/emu10k1/emuproc.c 				       struct file *file, char __user *buf,
file               60 sound/pci/hda/hda_hwdep.c static int hda_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
file               78 sound/pci/hda/hda_hwdep.c static int hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file,
file               81 sound/pci/hda/hda_hwdep.c 	return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg));
file               85 sound/pci/hda/hda_hwdep.c static int hda_hwdep_open(struct snd_hwdep *hw, struct file *file)
file             1133 sound/pci/mixart/mixart.c 				   struct file *file, char __user *buf,
file             1149 sound/pci/mixart/mixart.c 				   struct file *file, char __user *buf,
file             4690 sound/pci/rme9652/hdsp.c static int snd_hdsp_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg)
file             6148 sound/pci/rme9652/hdspm.c static int snd_hdspm_hwdep_dummy_op(struct snd_hwdep *hw, struct file *file)
file             6160 sound/pci/rme9652/hdspm.c static int snd_hdspm_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
file              562 sound/soc/codecs/wm_adsp.c 	const char *file;
file              568 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_MBC_VSS] =  { .file = "mbc-vss" },
file              569 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_HIFI] =     { .file = "hifi" },
file              570 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_TX] =       { .file = "tx" },
file              571 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_TX_SPK] =   { .file = "tx-spk" },
file              572 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_RX] =       { .file = "rx" },
file              573 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_RX_ANC] =   { .file = "rx-anc" },
file              575 sound/soc/codecs/wm_adsp.c 		.file = "ctrl",
file              581 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_ASR] =      { .file = "asr" },
file              583 sound/soc/codecs/wm_adsp.c 		.file = "trace",
file              588 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_SPK_PROT] = { .file = "spk-prot" },
file              589 sound/soc/codecs/wm_adsp.c 	[WM_ADSP_FW_MISC] =     { .file = "misc" },
file              665 sound/soc/codecs/wm_adsp.c static ssize_t wm_adsp_debugfs_wmfw_read(struct file *file,
file              669 sound/soc/codecs/wm_adsp.c 	struct wm_adsp *dsp = file->private_data;
file              685 sound/soc/codecs/wm_adsp.c static ssize_t wm_adsp_debugfs_bin_read(struct file *file,
file              689 sound/soc/codecs/wm_adsp.c 	struct wm_adsp *dsp = file->private_data;
file             1742 sound/soc/codecs/wm_adsp.c 					 const char * const file,
file             1750 sound/soc/codecs/wm_adsp.c 	adsp_dbg(dsp, "%s: %d DM, %d PM, %d ZM\n", file,
file             1758 sound/soc/codecs/wm_adsp.c 					 const char * const file,
file             1766 sound/soc/codecs/wm_adsp.c 	adsp_dbg(dsp, "%s: %d XM, %d YM %d PM, %d ZM\n", file,
file             1809 sound/soc/codecs/wm_adsp.c 	char *file, *text = NULL;
file             1815 sound/soc/codecs/wm_adsp.c 	file = kzalloc(PAGE_SIZE, GFP_KERNEL);
file             1816 sound/soc/codecs/wm_adsp.c 	if (file == NULL)
file             1819 sound/soc/codecs/wm_adsp.c 	snprintf(file, PAGE_SIZE, "%s-%s-%s.wmfw", dsp->part, dsp->fwf_name,
file             1820 sound/soc/codecs/wm_adsp.c 		 wm_adsp_fw[dsp->fw].file);
file             1821 sound/soc/codecs/wm_adsp.c 	file[PAGE_SIZE - 1] = '\0';
file             1823 sound/soc/codecs/wm_adsp.c 	ret = request_firmware(&firmware, file, dsp->dev);
file             1825 sound/soc/codecs/wm_adsp.c 		adsp_err(dsp, "Failed to request '%s'\n", file);
file             1833 sound/soc/codecs/wm_adsp.c 			 file, firmware->size);
file             1840 sound/soc/codecs/wm_adsp.c 		adsp_err(dsp, "%s: invalid magic\n", file);
file             1846 sound/soc/codecs/wm_adsp.c 			 file, header->ver);
file             1855 sound/soc/codecs/wm_adsp.c 			 file, header->core, dsp->type);
file             1860 sound/soc/codecs/wm_adsp.c 	pos = dsp->ops->parse_sizes(dsp, file, pos, firmware);
file             1867 sound/soc/codecs/wm_adsp.c 			 file, le32_to_cpu(header->len));
file             1871 sound/soc/codecs/wm_adsp.c 	adsp_dbg(dsp, "%s: timestamp %llu\n", file,
file             1924 sound/soc/codecs/wm_adsp.c 				  file, regions, type, pos, pos);
file             1928 sound/soc/codecs/wm_adsp.c 		adsp_dbg(dsp, "%s.%d: %d bytes at %d in %s\n", file,
file             1936 sound/soc/codecs/wm_adsp.c 				 file, regions, region_name,
file             1944 sound/soc/codecs/wm_adsp.c 			adsp_info(dsp, "%s: %s\n", file, text);
file             1964 sound/soc/codecs/wm_adsp.c 					file, regions,
file             1983 sound/soc/codecs/wm_adsp.c 			  file, regions, pos - firmware->size);
file             1985 sound/soc/codecs/wm_adsp.c 	wm_adsp_debugfs_save_wmfwname(dsp, file);
file             1993 sound/soc/codecs/wm_adsp.c 	kfree(file);
file             2466 sound/soc/codecs/wm_adsp.c 	char *file;
file             2469 sound/soc/codecs/wm_adsp.c 	file = kzalloc(PAGE_SIZE, GFP_KERNEL);
file             2470 sound/soc/codecs/wm_adsp.c 	if (file == NULL)
file             2473 sound/soc/codecs/wm_adsp.c 	snprintf(file, PAGE_SIZE, "%s-%s-%s.bin", dsp->part, dsp->fwf_name,
file             2474 sound/soc/codecs/wm_adsp.c 		 wm_adsp_fw[dsp->fw].file);
file             2475 sound/soc/codecs/wm_adsp.c 	file[PAGE_SIZE - 1] = '\0';
file             2477 sound/soc/codecs/wm_adsp.c 	ret = request_firmware(&firmware, file, dsp->dev);
file             2479 sound/soc/codecs/wm_adsp.c 		adsp_warn(dsp, "Failed to request '%s'\n", file);
file             2487 sound/soc/codecs/wm_adsp.c 			file, firmware->size);
file             2493 sound/soc/codecs/wm_adsp.c 		adsp_err(dsp, "%s: invalid magic\n", file);
file             2502 sound/soc/codecs/wm_adsp.c 			 file, be32_to_cpu(hdr->rev) & 0xff);
file             2507 sound/soc/codecs/wm_adsp.c 	adsp_dbg(dsp, "%s: v%d.%d.%d\n", file,
file             2523 sound/soc/codecs/wm_adsp.c 			 file, blocks, le32_to_cpu(blk->id),
file             2528 sound/soc/codecs/wm_adsp.c 			 file, blocks, le32_to_cpu(blk->len), offset, type);
file             2565 sound/soc/codecs/wm_adsp.c 				 file, blocks, le32_to_cpu(blk->len),
file             2588 sound/soc/codecs/wm_adsp.c 				 file, blocks, type, pos);
file             2597 sound/soc/codecs/wm_adsp.c 					 file, blocks, region_name,
file             2614 sound/soc/codecs/wm_adsp.c 				 file, blocks, le32_to_cpu(blk->len),
file             2621 sound/soc/codecs/wm_adsp.c 					file, blocks, reg, region_name, ret);
file             2635 sound/soc/codecs/wm_adsp.c 			  file, blocks, pos - firmware->size);
file             2637 sound/soc/codecs/wm_adsp.c 	wm_adsp_debugfs_save_binname(dsp, file);
file             2644 sound/soc/codecs/wm_adsp.c 	kfree(file);
file              116 sound/soc/codecs/wm_adsp.h 				    const char * const file,
file               57 sound/soc/fsl/imx-audmux.c static ssize_t audmux_read_file(struct file *file, char __user *user_buf,
file               62 sound/soc/fsl/imx-audmux.c 	uintptr_t port = (uintptr_t)file->private_data;
file               67 sound/soc/intel/skylake/skl-debug.c static ssize_t module_read(struct file *file, char __user *user_buf,
file               70 sound/soc/intel/skylake/skl-debug.c 	struct skl_module_cfg *mconfig = file->private_data;
file              173 sound/soc/intel/skylake/skl-debug.c static ssize_t fw_softreg_read(struct file *file, char __user *user_buf,
file              176 sound/soc/intel/skylake/skl-debug.c 	struct skl_debug *d = file->private_data;
file             2095 sound/soc/soc-dapm.c static ssize_t dapm_widget_power_read_file(struct file *file,
file             2099 sound/soc/soc-dapm.c 	struct snd_soc_dapm_widget *w = file->private_data;
file             2169 sound/soc/soc-dapm.c static ssize_t dapm_bias_read_file(struct file *file, char __user *user_buf,
file             2172 sound/soc/soc-dapm.c 	struct snd_soc_dapm_context *dapm = file->private_data;
file             3225 sound/soc/soc-pcm.c static ssize_t dpcm_state_read_file(struct file *file, char __user *user_buf,
file             3228 sound/soc/soc-pcm.c 	struct snd_soc_pcm_runtime *fe = file->private_data;
file              122 sound/soc/sof/debug.c static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer,
file              126 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse = file->private_data;
file              153 sound/soc/sof/debug.c 	dentry = file->f_path.dentry;
file              221 sound/soc/sof/debug.c static ssize_t sof_dfsentry_read(struct file *file, char __user *buffer,
file              224 sound/soc/sof/debug.c 	struct snd_sof_dfsentry *dfse = file->private_data;
file              235 sound/soc/sof/debug.c 	dentry = file->f_path.dentry;
file              556 sound/soc/sof/sof-priv.h int snd_sof_load_topology(struct snd_sof_dev *sdev, const char *file);
file             3315 sound/soc/sof/topology.c int snd_sof_load_topology(struct snd_sof_dev *sdev, const char *file)
file             3320 sound/soc/sof/topology.c 	dev_dbg(sdev->dev, "loading topology:%s\n", file);
file             3322 sound/soc/sof/topology.c 	ret = request_firmware(&fw, file, sdev->dev);
file             3325 sound/soc/sof/topology.c 			file, ret);
file               69 sound/soc/sof/trace.c static ssize_t sof_dfsentry_trace_read(struct file *file, char __user *buffer,
file               72 sound/soc/sof/trace.c 	struct snd_sof_dfsentry *dfse = file->private_data;
file              116 sound/soc/sof/trace.c static int sof_dfsentry_trace_release(struct inode *inode, struct file *file)
file              147 sound/sound_core.c static int soundcore_open(struct inode *, struct file *);
file              536 sound/sound_core.c static int soundcore_open(struct inode *inode, struct file *file)
file              590 sound/sound_core.c 		replace_fops(file, new_fops);
file              592 sound/sound_core.c 		if (file->f_op->open)
file              593 sound/sound_core.c 			err = file->f_op->open(inode,file);
file               79 sound/synth/emux/emux_hwdep.c snd_emux_hwdep_ioctl(struct snd_hwdep * hw, struct file *file,
file              546 sound/usb/line6/driver.c static int line6_hwdep_open(struct snd_hwdep *hw, struct file *file)
file              558 sound/usb/line6/driver.c static int line6_hwdep_release(struct snd_hwdep *hw, struct file *file)
file              230 sound/usb/mixer_quirks.c static __poll_t snd_usb_sbrc_hwdep_poll(struct snd_hwdep *hw, struct file *file,
file              235 sound/usb/mixer_quirks.c 	poll_wait(file, &mixer->rc_waitq, wait);
file              179 sound/usb/usx2y/us122l.c static int usb_stream_hwdep_open(struct snd_hwdep *hw, struct file *file)
file              183 sound/usb/usx2y/us122l.c 	snd_printdd(KERN_DEBUG "%p %p\n", hw, file);
file              188 sound/usb/usx2y/us122l.c 		us122l->first = file;
file              199 sound/usb/usx2y/us122l.c static int usb_stream_hwdep_release(struct snd_hwdep *hw, struct file *file)
file              203 sound/usb/usx2y/us122l.c 	snd_printdd(KERN_DEBUG "%p %p\n", hw, file);
file              211 sound/usb/usx2y/us122l.c 	if (us122l->first == file)
file              214 sound/usb/usx2y/us122l.c 	if (us122l->master == file)
file              223 sound/usb/usx2y/us122l.c 				 struct file *filp, struct vm_area_struct *area)
file              262 sound/usb/usx2y/us122l.c 					  struct file *file, poll_table *wait)
file              268 sound/usb/usx2y/us122l.c 	poll_wait(file, &us122l->sk.sleep, wait);
file              274 sound/usb/usx2y/us122l.c 			if (us122l->first == file)
file              365 sound/usb/usx2y/us122l.c static int usb_stream_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
file              413 sound/usb/usx2y/us122l.c 		us122l->master = file;
file              414 sound/usb/usx2y/us122l.c 	else if (us122l->master != file) {
file              419 sound/usb/usx2y/us122l.c 		us122l->slave = file;
file               13 sound/usb/usx2y/us122l.h 	struct file		*first;
file               15 sound/usb/usx2y/us122l.h 	struct file		*master;
file               16 sound/usb/usx2y/us122l.h 	struct file		*slave;
file               47 sound/usb/usx2y/usX2Yhwdep.c static int snd_us428ctls_mmap(struct snd_hwdep * hw, struct file *filp, struct vm_area_struct *area)
file               77 sound/usb/usx2y/usX2Yhwdep.c static __poll_t snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait)
file               85 sound/usb/usx2y/usX2Yhwdep.c 	poll_wait(file, &us428->us428ctls_wait_queue_head, wait);
file              607 sound/usb/usx2y/usx2yhwdeppcm.c static int snd_usX2Y_hwdep_pcm_open(struct snd_hwdep *hw, struct file *file)
file              621 sound/usb/usx2y/usx2yhwdeppcm.c static int snd_usX2Y_hwdep_pcm_release(struct snd_hwdep *hw, struct file *file)
file              665 sound/usb/usx2y/usx2yhwdeppcm.c static int snd_usX2Y_hwdep_pcm_mmap(struct snd_hwdep * hw, struct file *filp, struct vm_area_struct *area)
file              943 tools/bpf/bpf_dbg.c static int try_load_pcap(const char *file)
file              949 tools/bpf/bpf_dbg.c 	pcap_fd = open(file, O_RDONLY);
file             1051 tools/bpf/bpf_dbg.c static int cmd_load_pcap(char *file)
file             1055 tools/bpf/bpf_dbg.c 	file_trim = strtok_r(file, " ", &tmp);
file             1320 tools/bpf/bpf_dbg.c 	char file[128];
file             1322 tools/bpf/bpf_dbg.c 	snprintf(file, sizeof(file), "%s/.bpf_dbg_history", getenv("HOME"));
file             1323 tools/bpf/bpf_dbg.c 	read_history(file);
file             1341 tools/bpf/bpf_dbg.c 	snprintf(file, sizeof(file), "%s/.bpf_dbg_init", getenv("HOME"));
file             1342 tools/bpf/bpf_dbg.c 	rl_read_init_file(file);
file             1352 tools/bpf/bpf_dbg.c 	char file[128];
file             1354 tools/bpf/bpf_dbg.c 	snprintf(file, sizeof(file), "%s/.bpf_dbg_history", getenv("HOME"));
file             1355 tools/bpf/bpf_dbg.c 	write_history(file);
file              126 tools/bpf/bpf_jit_disasm.c static char *get_flog_buff(const char *file, unsigned int *klen)
file              132 tools/bpf/bpf_jit_disasm.c 	fd = open(file, O_RDONLY);
file              160 tools/bpf/bpf_jit_disasm.c static char *get_log_buff(const char *file, unsigned int *klen)
file              162 tools/bpf/bpf_jit_disasm.c 	return file ? get_flog_buff(file, klen) : get_klog_buff(klen);
file              264 tools/bpf/bpf_jit_disasm.c 	char *kbuff, *file = NULL;
file              280 tools/bpf/bpf_jit_disasm.c 			file = optarg;
file              290 tools/bpf/bpf_jit_disasm.c 	kbuff = get_log_buff(file, &klen);
file              576 tools/bpf/bpftool/btf_dumper.c 		const char *file = btf__name_by_offset(btf, linfo->file_name_off);
file              582 tools/bpf/bpftool/btf_dumper.c 		if (!file)
file              583 tools/bpf/bpftool/btf_dumper.c 			file = "";
file              586 tools/bpf/bpftool/btf_dumper.c 		       prefix, line, file,
file              603 tools/bpf/bpftool/btf_dumper.c 		const char *file = btf__name_by_offset(btf, linfo->file_name_off);
file              605 tools/bpf/bpftool/btf_dumper.c 		if (file)
file              606 tools/bpf/bpftool/btf_dumper.c 			jsonw_string_field(json_wtr, "file", file);
file              169 tools/bpf/bpftool/common.c 	char *file;
file              173 tools/bpf/bpftool/common.c 	file = malloc(strlen(name) + 1);
file              174 tools/bpf/bpftool/common.c 	strcpy(file, name);
file              175 tools/bpf/bpftool/common.c 	dir = dirname(file);
file              195 tools/bpf/bpftool/common.c 	free(file);
file              288 tools/bpf/bpftool/feature.c static bool read_next_kernel_config_option(gzFile file, char *buf, size_t n,
file              293 tools/bpf/bpftool/feature.c 	while (gzgets(file, buf, n)) {
file              391 tools/bpf/bpftool/feature.c 	gzFile file = NULL;
file              400 tools/bpf/bpftool/feature.c 		file = gzopen(path, "r");
file              403 tools/bpf/bpftool/feature.c 	if (!file) {
file              407 tools/bpf/bpftool/feature.c 		file = gzopen("/proc/config.gz", "r");
file              409 tools/bpf/bpftool/feature.c 	if (!file) {
file              415 tools/bpf/bpftool/feature.c 	if (!gzgets(file, buf, sizeof(buf)) ||
file              416 tools/bpf/bpftool/feature.c 	    !gzgets(file, buf, sizeof(buf))) {
file              426 tools/bpf/bpftool/feature.c 	while (read_next_kernel_config_option(file, buf, sizeof(buf), &value)) {
file              436 tools/bpf/bpftool/feature.c 	if (file)
file              437 tools/bpf/bpftool/feature.c 		gzclose(file);
file             1112 tools/bpf/bpftool/prog.c 	open_attr.file = GET_ARG();
file              419 tools/hv/hv_kvp_daemon.c 	FILE	*file;
file              442 tools/hv/hv_kvp_daemon.c 	file = fopen("/etc/os-release", "r");
file              443 tools/hv/hv_kvp_daemon.c 	if (file != NULL) {
file              444 tools/hv/hv_kvp_daemon.c 		while (fgets(buf, sizeof(buf), file)) {
file              487 tools/hv/hv_kvp_daemon.c 		fclose(file);
file              492 tools/hv/hv_kvp_daemon.c 	file = fopen("/etc/SuSE-release", "r");
file              493 tools/hv/hv_kvp_daemon.c 	if (file != NULL)
file              495 tools/hv/hv_kvp_daemon.c 	file  = fopen("/etc/redhat-release", "r");
file              496 tools/hv/hv_kvp_daemon.c 	if (file != NULL)
file              506 tools/hv/hv_kvp_daemon.c 	p = fgets(buf, sizeof(buf), file);
file              517 tools/hv/hv_kvp_daemon.c 		p = fgets(buf, sizeof(buf), file);
file              528 tools/hv/hv_kvp_daemon.c 			p = fgets(buf, sizeof(buf), file);
file              541 tools/hv/hv_kvp_daemon.c 	fclose(file);
file              559 tools/hv/hv_kvp_daemon.c 	FILE    *file;
file              576 tools/hv/hv_kvp_daemon.c 		file = fopen(dev_id, "r");
file              577 tools/hv/hv_kvp_daemon.c 		if (file == NULL)
file              580 tools/hv/hv_kvp_daemon.c 		p = fgets(buf, sizeof(buf), file);
file              592 tools/hv/hv_kvp_daemon.c 				fclose(file);
file              596 tools/hv/hv_kvp_daemon.c 		fclose(file);
file              609 tools/hv/hv_kvp_daemon.c 	FILE    *file;
file              619 tools/hv/hv_kvp_daemon.c 	file = fopen(addr_file, "r");
file              620 tools/hv/hv_kvp_daemon.c 	if (file == NULL)
file              623 tools/hv/hv_kvp_daemon.c 	p = fgets(buf, sizeof(buf), file);
file              633 tools/hv/hv_kvp_daemon.c 	fclose(file);
file              644 tools/hv/hv_kvp_daemon.c 	FILE *file;
file              649 tools/hv/hv_kvp_daemon.c 	file = popen(cmd, "r");
file              650 tools/hv/hv_kvp_daemon.c 	if (file == NULL)
file              655 tools/hv/hv_kvp_daemon.c 	while ((p = fgets(buf, sizeof(buf), file)) != NULL) {
file              666 tools/hv/hv_kvp_daemon.c 	pclose(file);
file              675 tools/hv/hv_kvp_daemon.c 	FILE *file;
file              736 tools/hv/hv_kvp_daemon.c 	file = popen(cmd, "r");
file              737 tools/hv/hv_kvp_daemon.c 	if (file == NULL)
file              740 tools/hv/hv_kvp_daemon.c 	p = fgets(dhcp_info, sizeof(dhcp_info), file);
file              742 tools/hv/hv_kvp_daemon.c 		pclose(file);
file              751 tools/hv/hv_kvp_daemon.c 	pclose(file);
file              950 tools/hv/hv_kvp_daemon.c 	FILE    *file;
file              969 tools/hv/hv_kvp_daemon.c 		file = fopen(dev_id, "r");
file              970 tools/hv/hv_kvp_daemon.c 		if (file == NULL)
file              973 tools/hv/hv_kvp_daemon.c 		p = fgets(buf, sizeof(buf), file);
file              974 tools/hv/hv_kvp_daemon.c 		fclose(file);
file             1178 tools/hv/hv_kvp_daemon.c 	FILE *file;
file             1233 tools/hv/hv_kvp_daemon.c 	file = fopen(if_file, "w");
file             1235 tools/hv/hv_kvp_daemon.c 	if (file == NULL) {
file             1251 tools/hv/hv_kvp_daemon.c 	error = kvp_write_file(file, "HWADDR", "", mac_addr);
file             1256 tools/hv/hv_kvp_daemon.c 	error = kvp_write_file(file, "DEVICE", "", if_name);
file             1267 tools/hv/hv_kvp_daemon.c 		error = kvp_write_file(file, "BOOTPROTO", "", "dhcp");
file             1272 tools/hv/hv_kvp_daemon.c 		error = kvp_write_file(file, "BOOTPROTO", "", "none");
file             1282 tools/hv/hv_kvp_daemon.c 	error = process_ip_string(file, (char *)new_val->ip_addr, IPADDR);
file             1286 tools/hv/hv_kvp_daemon.c 	error = process_ip_string(file, (char *)new_val->sub_net, NETMASK);
file             1290 tools/hv/hv_kvp_daemon.c 	error = process_ip_string(file, (char *)new_val->gate_way, GATEWAY);
file             1294 tools/hv/hv_kvp_daemon.c 	error = process_ip_string(file, (char *)new_val->dns_addr, DNS);
file             1298 tools/hv/hv_kvp_daemon.c 	fclose(file);
file             1326 tools/hv/hv_kvp_daemon.c 	fclose(file);
file               88 tools/io_uring/io_uring-bench.c 	struct file files[MAX_FDS];
file              147 tools/io_uring/io_uring-bench.c 	struct file *f;
file              222 tools/io_uring/io_uring-bench.c static int get_file_size(struct file *f)
file              252 tools/io_uring/io_uring-bench.c 		struct file *f;
file              259 tools/io_uring/io_uring-bench.c 			f = (struct file *) (uintptr_t) cqe->user_data;
file              471 tools/io_uring/io_uring-bench.c 		struct file *f = &s->files[i];
file              499 tools/io_uring/io_uring-bench.c 		struct file *f;
file               75 tools/lib/api/fs/tracing_path.c 	char *file;
file               77 tools/lib/api/fs/tracing_path.c 	if (asprintf(&file, "%s/%s", tracing_path_mount(), name) < 0)
file               80 tools/lib/api/fs/tracing_path.c 	return file;
file               83 tools/lib/api/fs/tracing_path.c void put_tracing_file(char *file)
file               85 tools/lib/api/fs/tracing_path.c 	free(file);
file               90 tools/lib/api/fs/tracing_path.c 	char *file;
file               92 tools/lib/api/fs/tracing_path.c 	if (asprintf(&file, "%s/events/%s", tracing_path_mount(), name) < 0)
file               95 tools/lib/api/fs/tracing_path.c 	return file;
file               98 tools/lib/api/fs/tracing_path.c void put_events_file(char *file)
file              100 tools/lib/api/fs/tracing_path.c 	free(file);
file               14 tools/lib/api/fs/tracing_path.h void put_tracing_file(char *file);
file               17 tools/lib/api/fs/tracing_path.h void put_events_file(char *file);
file             3641 tools/lib/bpf/libbpf.c 	if (!attr->file)
file             3644 tools/lib/bpf/libbpf.c 	pr_debug("loading %s\n", attr->file);
file             3646 tools/lib/bpf/libbpf.c 	return __bpf_object__open(attr->file, NULL, 0,
file             3659 tools/lib/bpf/libbpf.c 		.file		= path,
file             4799 tools/lib/bpf/libbpf.c int bpf_prog_load(const char *file, enum bpf_prog_type type,
file             4805 tools/lib/bpf/libbpf.c 	attr.file = file;
file             4825 tools/lib/bpf/libbpf.c 	if (!attr->file)
file             4828 tools/lib/bpf/libbpf.c 	open_attr.file = attr->file;
file             4968 tools/lib/bpf/libbpf.c static int parse_uint_from_file(const char *file, const char *fmt)
file             4974 tools/lib/bpf/libbpf.c 	f = fopen(file, "r");
file             4977 tools/lib/bpf/libbpf.c 		pr_debug("failed to open '%s': %s\n", file,
file             4984 tools/lib/bpf/libbpf.c 		pr_debug("failed to parse '%s': %s\n", file,
file             4995 tools/lib/bpf/libbpf.c 	const char *file = "/sys/bus/event_source/devices/kprobe/type";
file             4997 tools/lib/bpf/libbpf.c 	return parse_uint_from_file(file, "%d\n");
file             5002 tools/lib/bpf/libbpf.c 	const char *file = "/sys/bus/event_source/devices/uprobe/type";
file             5004 tools/lib/bpf/libbpf.c 	return parse_uint_from_file(file, "%d\n");
file             5009 tools/lib/bpf/libbpf.c 	const char *file = "/sys/bus/event_source/devices/kprobe/format/retprobe";
file             5011 tools/lib/bpf/libbpf.c 	return parse_uint_from_file(file, "config:%d\n");
file             5016 tools/lib/bpf/libbpf.c 	const char *file = "/sys/bus/event_source/devices/uprobe/format/retprobe";
file             5018 tools/lib/bpf/libbpf.c 	return parse_uint_from_file(file, "config:%d\n");
file             5135 tools/lib/bpf/libbpf.c 	char file[PATH_MAX];
file             5138 tools/lib/bpf/libbpf.c 	ret = snprintf(file, sizeof(file),
file             5143 tools/lib/bpf/libbpf.c 	if (ret >= sizeof(file)) {
file             5148 tools/lib/bpf/libbpf.c 	return parse_uint_from_file(file, "%d\n");
file               66 tools/lib/bpf/libbpf.h 	const char *file;
file              346 tools/lib/bpf/libbpf.h 	const char *file;
file              356 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_prog_load(const char *file, enum bpf_prog_type type,
file              238 tools/lib/subcmd/parse-options.h extern const char *parse_options_fix_filename(const char *prefix, const char *file);
file               38 tools/lib/symbol/kallsyms.c 	FILE *file = fopen(filename, "r");
file               40 tools/lib/symbol/kallsyms.c 	if (file == NULL)
file               45 tools/lib/symbol/kallsyms.c 	while (!feof(file)) {
file               51 tools/lib/symbol/kallsyms.c 		line_len = getline(&line, &n, file);
file               83 tools/lib/symbol/kallsyms.c 	fclose(file);
file               73 tools/lib/traceevent/event-parse.h 	char				*file;
file              109 tools/lib/traceevent/event-plugin.c 			char *alias = op->plugin_alias ? op->plugin_alias : op->file;
file              154 tools/lib/traceevent/event-plugin.c update_option(const char *file, struct tep_plugin_option *option)
file              166 tools/lib/traceevent/event-plugin.c 		plugin = strdup(file);
file              273 tools/lib/traceevent/event-plugin.c 	    const char *file, void *data)
file              283 tools/lib/traceevent/event-plugin.c 	ret = asprintf(&plugin, "%s/%s", path, file);
file              298 tools/lib/traceevent/event-plugin.c 		alias = file;
file               32 tools/objtool/check.c struct instruction *find_insn(struct objtool_file *file,
file               37 tools/objtool/check.c 	hash_for_each_possible(file->insn_hash, insn, hash, offset)
file               44 tools/objtool/check.c static struct instruction *next_insn_same_sec(struct objtool_file *file,
file               49 tools/objtool/check.c 	if (!next || &next->list == &file->insn_list || next->sec != insn->sec)
file               55 tools/objtool/check.c static struct instruction *next_insn_same_func(struct objtool_file *file,
file               64 tools/objtool/check.c 	if (&next->list != &file->insn_list && next->func == func)
file               72 tools/objtool/check.c 	return find_insn(file, func->cfunc->sec, func->cfunc->offset);
file               75 tools/objtool/check.c #define func_for_each_insn_all(file, func, insn)			\
file               76 tools/objtool/check.c 	for (insn = find_insn(file, func->sec, func->offset);		\
file               78 tools/objtool/check.c 	     insn = next_insn_same_func(file, insn))
file               80 tools/objtool/check.c #define func_for_each_insn(file, func, insn)				\
file               81 tools/objtool/check.c 	for (insn = find_insn(file, func->sec, func->offset);		\
file               82 tools/objtool/check.c 	     insn && &insn->list != &file->insn_list &&			\
file               87 tools/objtool/check.c #define func_for_each_insn_continue_reverse(file, func, insn)		\
file               89 tools/objtool/check.c 	     &insn->list != &file->insn_list &&				\
file               93 tools/objtool/check.c #define sec_for_each_insn_from(file, insn)				\
file               94 tools/objtool/check.c 	for (; insn; insn = next_insn_same_sec(file, insn))
file               96 tools/objtool/check.c #define sec_for_each_insn_continue(file, insn)				\
file               97 tools/objtool/check.c 	for (insn = next_insn_same_sec(file, insn); insn;		\
file               98 tools/objtool/check.c 	     insn = next_insn_same_sec(file, insn))
file              123 tools/objtool/check.c static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
file              163 tools/objtool/check.c 	insn = find_insn(file, func->sec, func->offset);
file              167 tools/objtool/check.c 	func_for_each_insn_all(file, func, insn) {
file              182 tools/objtool/check.c 	func_for_each_insn_all(file, func, insn) {
file              200 tools/objtool/check.c 			return __dead_end_function(file, dest->func, recursion+1);
file              207 tools/objtool/check.c static bool dead_end_function(struct objtool_file *file, struct symbol *func)
file              209 tools/objtool/check.c 	return __dead_end_function(file, func, 0);
file              230 tools/objtool/check.c static int decode_instructions(struct objtool_file *file)
file              238 tools/objtool/check.c 	for_each_sec(file, sec) {
file              261 tools/objtool/check.c 			ret = arch_decode_instruction(file->elf, sec, offset,
file              269 tools/objtool/check.c 			hash_add(file->insn_hash, &insn->hash, insn->offset);
file              270 tools/objtool/check.c 			list_add_tail(&insn->list, &file->insn_list);
file              277 tools/objtool/check.c 			if (!find_insn(file, sec, func->offset)) {
file              283 tools/objtool/check.c 			func_for_each_insn(file, func, insn)
file              298 tools/objtool/check.c static int add_dead_ends(struct objtool_file *file)
file              309 tools/objtool/check.c 	for_each_insn(file, insn)
file              316 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.unreachable");
file              325 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
file              330 tools/objtool/check.c 			list_for_each_entry_reverse(insn, &file->insn_list, list) {
file              358 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.reachable");
file              367 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
file              372 tools/objtool/check.c 			list_for_each_entry_reverse(insn, &file->insn_list, list) {
file              399 tools/objtool/check.c static void add_ignores(struct objtool_file *file)
file              406 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.func_stack_frame_non_standard");
file              427 tools/objtool/check.c 		func_for_each_insn_all(file, func, insn)
file              493 tools/objtool/check.c static void add_uaccess_safe(struct objtool_file *file)
file              502 tools/objtool/check.c 		func = find_symbol_by_name(file->elf, *name);
file              516 tools/objtool/check.c static int add_ignore_alternatives(struct objtool_file *file)
file              522 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.ignore_alts");
file              532 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
file              547 tools/objtool/check.c static int add_jump_destinations(struct objtool_file *file)
file              554 tools/objtool/check.c 	for_each_insn(file, insn) {
file              591 tools/objtool/check.c 		insn->jump_dest = find_insn(file, dest_sec, dest_off);
file              649 tools/objtool/check.c static int add_call_destinations(struct objtool_file *file)
file              655 tools/objtool/check.c 	for_each_insn(file, insn) {
file              709 tools/objtool/check.c static int handle_group_alt(struct objtool_file *file,
file              719 tools/objtool/check.c 	sec_for_each_insn_from(file, insn) {
file              727 tools/objtool/check.c 	if (next_insn_same_sec(file, last_orig_insn)) {
file              757 tools/objtool/check.c 	sec_for_each_insn_from(file, insn) {
file              807 tools/objtool/check.c static int handle_jump_alt(struct objtool_file *file,
file              831 tools/objtool/check.c static int add_special_section_alts(struct objtool_file *file)
file              839 tools/objtool/check.c 	ret = special_get_alts(file->elf, &special_alts);
file              845 tools/objtool/check.c 		orig_insn = find_insn(file, special_alt->orig_sec,
file              856 tools/objtool/check.c 			new_insn = find_insn(file, special_alt->new_sec,
file              868 tools/objtool/check.c 			ret = handle_group_alt(file, special_alt, orig_insn,
file              873 tools/objtool/check.c 			ret = handle_jump_alt(file, special_alt, orig_insn,
file              899 tools/objtool/check.c static int add_jump_table(struct objtool_file *file, struct instruction *insn,
file              927 tools/objtool/check.c 		dest_insn = find_insn(file, rela->sym->sec, rela->addend);
file              998 tools/objtool/check.c static struct rela *find_jump_table(struct objtool_file *file,
file             1013 tools/objtool/check.c 	     &insn->list != &file->insn_list && insn->func && insn->func->pfunc == func;
file             1063 tools/objtool/check.c 			file->ignore_unreachables = true;
file             1075 tools/objtool/check.c static void mark_func_jump_tables(struct objtool_file *file,
file             1081 tools/objtool/check.c 	func_for_each_insn_all(file, func, insn) {
file             1102 tools/objtool/check.c 		rela = find_jump_table(file, func, insn);
file             1110 tools/objtool/check.c static int add_func_jump_tables(struct objtool_file *file,
file             1116 tools/objtool/check.c 	func_for_each_insn_all(file, func, insn) {
file             1120 tools/objtool/check.c 		ret = add_jump_table(file, insn, insn->jump_table);
file             1133 tools/objtool/check.c static int add_jump_table_alts(struct objtool_file *file)
file             1139 tools/objtool/check.c 	if (!file->rodata)
file             1142 tools/objtool/check.c 	for_each_sec(file, sec) {
file             1147 tools/objtool/check.c 			mark_func_jump_tables(file, func);
file             1148 tools/objtool/check.c 			ret = add_func_jump_tables(file, func);
file             1157 tools/objtool/check.c static int read_unwind_hints(struct objtool_file *file)
file             1166 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".discard.unwind_hints");
file             1181 tools/objtool/check.c 	file->hints = true;
file             1192 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
file             1251 tools/objtool/check.c static int read_retpoline_hints(struct objtool_file *file)
file             1257 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.retpoline_safe");
file             1267 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
file             1286 tools/objtool/check.c static void mark_rodata(struct objtool_file *file)
file             1301 tools/objtool/check.c 	for_each_sec(file, sec) {
file             1309 tools/objtool/check.c 	file->rodata = found;
file             1312 tools/objtool/check.c static int decode_sections(struct objtool_file *file)
file             1316 tools/objtool/check.c 	mark_rodata(file);
file             1318 tools/objtool/check.c 	ret = decode_instructions(file);
file             1322 tools/objtool/check.c 	ret = add_dead_ends(file);
file             1326 tools/objtool/check.c 	add_ignores(file);
file             1327 tools/objtool/check.c 	add_uaccess_safe(file);
file             1329 tools/objtool/check.c 	ret = add_ignore_alternatives(file);
file             1333 tools/objtool/check.c 	ret = add_jump_destinations(file);
file             1337 tools/objtool/check.c 	ret = add_special_section_alts(file);
file             1341 tools/objtool/check.c 	ret = add_call_destinations(file);
file             1345 tools/objtool/check.c 	ret = add_jump_table_alts(file);
file             1349 tools/objtool/check.c 	ret = read_unwind_hints(file);
file             1353 tools/objtool/check.c 	ret = read_retpoline_hints(file);
file             1940 tools/objtool/check.c static int validate_branch(struct objtool_file *file, struct symbol *func,
file             1959 tools/objtool/check.c 		next_insn = next_insn_same_sec(file, insn);
file             1961 tools/objtool/check.c 		if (file->c_file && func && insn->func && func != insn->func->pfunc) {
file             1988 tools/objtool/check.c 				func_for_each_insn_continue_reverse(file, func, i) {
file             2034 tools/objtool/check.c 				ret = validate_branch(file, func, alt->insn, state);
file             2091 tools/objtool/check.c 			if (dead_end_function(file, insn->call_dest))
file             2104 tools/objtool/check.c 				ret = validate_branch(file, func,
file             2222 tools/objtool/check.c static int validate_unwind_hints(struct objtool_file *file)
file             2228 tools/objtool/check.c 	if (!file->hints)
file             2233 tools/objtool/check.c 	for_each_insn(file, insn) {
file             2235 tools/objtool/check.c 			ret = validate_branch(file, insn->func, insn, state);
file             2245 tools/objtool/check.c static int validate_retpoline(struct objtool_file *file)
file             2250 tools/objtool/check.c 	for_each_insn(file, insn) {
file             2354 tools/objtool/check.c static int validate_functions(struct objtool_file *file)
file             2369 tools/objtool/check.c 	for_each_sec(file, sec) {
file             2383 tools/objtool/check.c 			insn = find_insn(file, sec, func->offset);
file             2389 tools/objtool/check.c 			ret = validate_branch(file, func, insn, state);
file             2399 tools/objtool/check.c static int validate_reachable_instructions(struct objtool_file *file)
file             2403 tools/objtool/check.c 	if (file->ignore_unreachables)
file             2406 tools/objtool/check.c 	for_each_insn(file, insn) {
file             2417 tools/objtool/check.c static void cleanup(struct objtool_file *file)
file             2422 tools/objtool/check.c 	list_for_each_entry_safe(insn, tmpinsn, &file->insn_list, list) {
file             2431 tools/objtool/check.c 	elf_close(file->elf);
file             2434 tools/objtool/check.c static struct objtool_file file;
file             2442 tools/objtool/check.c 	file.elf = elf_read(objname, orc ? O_RDWR : O_RDONLY);
file             2443 tools/objtool/check.c 	if (!file.elf)
file             2446 tools/objtool/check.c 	INIT_LIST_HEAD(&file.insn_list);
file             2447 tools/objtool/check.c 	hash_init(file.insn_hash);
file             2448 tools/objtool/check.c 	file.c_file = find_section_by_name(file.elf, ".comment");
file             2449 tools/objtool/check.c 	file.ignore_unreachables = no_unreachable;
file             2450 tools/objtool/check.c 	file.hints = false;
file             2454 tools/objtool/check.c 	ret = decode_sections(&file);
file             2459 tools/objtool/check.c 	if (list_empty(&file.insn_list))
file             2463 tools/objtool/check.c 		ret = validate_retpoline(&file);
file             2469 tools/objtool/check.c 	ret = validate_functions(&file);
file             2474 tools/objtool/check.c 	ret = validate_unwind_hints(&file);
file             2480 tools/objtool/check.c 		ret = validate_reachable_instructions(&file);
file             2487 tools/objtool/check.c 		ret = create_orc(&file);
file             2491 tools/objtool/check.c 		ret = create_orc_sections(&file);
file             2495 tools/objtool/check.c 		ret = elf_write(file.elf);
file             2501 tools/objtool/check.c 	cleanup(&file);
file               59 tools/objtool/check.h struct instruction *find_insn(struct objtool_file *file,
file               62 tools/objtool/check.h #define for_each_insn(file, insn)					\
file               63 tools/objtool/check.h 	list_for_each_entry(insn, &file->insn_list, list)
file               65 tools/objtool/check.h #define sec_for_each_insn(file, sec, insn)				\
file               66 tools/objtool/check.h 	for (insn = find_insn(file, sec, 0);				\
file               67 tools/objtool/check.h 	     insn && &insn->list != &file->insn_list &&			\
file               94 tools/objtool/elf.h #define for_each_sec(file, sec)						\
file               95 tools/objtool/elf.h 	list_for_each_entry(sec, &file->elf->sections, list)
file               13 tools/objtool/orc.h int create_orc(struct objtool_file *file);
file               14 tools/objtool/orc.h int create_orc_sections(struct objtool_file *file);
file               13 tools/objtool/orc_gen.c int create_orc(struct objtool_file *file)
file               17 tools/objtool/orc_gen.c 	for_each_insn(file, insn) {
file              119 tools/objtool/orc_gen.c int create_orc_sections(struct objtool_file *file)
file              131 tools/objtool/orc_gen.c 	sec = find_section_by_name(file->elf, ".orc_unwind");
file              139 tools/objtool/orc_gen.c 	for_each_sec(file, sec) {
file              144 tools/objtool/orc_gen.c 		sec_for_each_insn(file, sec, insn) {
file              162 tools/objtool/orc_gen.c 	sec = elf_create_section(file->elf, ".orc_unwind_ip", sizeof(int), idx);
file              166 tools/objtool/orc_gen.c 	ip_relasec = elf_create_rela_section(file->elf, sec);
file              171 tools/objtool/orc_gen.c 	u_sec = elf_create_section(file->elf, ".orc_unwind",
file              176 tools/objtool/orc_gen.c 	for_each_sec(file, sec) {
file              181 tools/objtool/orc_gen.c 		sec_for_each_insn(file, sec, insn) {
file               23 tools/perf/arch/arm64/util/header.c 	FILE *file;
file               38 tools/perf/arch/arm64/util/header.c 		file = fopen(path, "r");
file               39 tools/perf/arch/arm64/util/header.c 		if (!file) {
file               44 tools/perf/arch/arm64/util/header.c 		if (!fgets(buf, MIDR_SIZE, file)) {
file               45 tools/perf/arch/arm64/util/header.c 			fclose(file);
file               48 tools/perf/arch/arm64/util/header.c 		fclose(file);
file               72 tools/perf/builtin-ftrace.c 	char *file;
file               79 tools/perf/builtin-ftrace.c 	file = get_tracing_file(name);
file               80 tools/perf/builtin-ftrace.c 	if (!file) {
file               90 tools/perf/builtin-ftrace.c 	fd = open(file, flags);
file              116 tools/perf/builtin-ftrace.c 	put_tracing_file(file);
file              149 tools/perf/builtin-help.c 			const char *file = strrchr(path, '/');
file              150 tools/perf/builtin-help.c 			if (file && !strcmp(file + 1, "konqueror")) {
file              158 tools/perf/builtin-help.c 			if (file)
file              159 tools/perf/builtin-help.c 				filename = file;
file              151 tools/perf/builtin-inject.c 		offset = lseek(inject->output.file.fd, 0, SEEK_CUR);
file             1089 tools/perf/builtin-kvm.c 	struct perf_data file = {
file             1096 tools/perf/builtin-kvm.c 	kvm->session = perf_session__new(&file, false, &kvm->tool);
file              126 tools/perf/builtin-record.c 	struct perf_data_file *file = &rec->session->data->file;
file              128 tools/perf/builtin-record.c 	if (perf_data_file__write(file, bf, size) < 0) {
file              307 tools/perf/builtin-record.c 	int trace_fd = rec->session->data->file.fd;
file              953 tools/perf/builtin-record.c 	int trace_fd = rec->data.file.fd;
file             1073 tools/perf/builtin-record.c 	data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR);
file              274 tools/perf/builtin-script.c 		if (asprintf(&es->filename, "%s.%s.dump", data->file.path, perf_evsel__name(evsel)) < 0)
file             1065 tools/perf/builtin-trace.c 		struct file   *table;
file             1120 tools/perf/builtin-trace.c static struct file *thread_trace__files_entry(struct thread_trace *ttrace, int fd)
file             1126 tools/perf/builtin-trace.c 		struct file *nfiles = realloc(ttrace->files.table, (fd + 1) * sizeof(struct file));
file             1133 tools/perf/builtin-trace.c 			       (fd - ttrace->files.max) * sizeof(struct file));
file             1135 tools/perf/builtin-trace.c 			memset(nfiles, 0, (fd + 1) * sizeof(struct file));
file             1145 tools/perf/builtin-trace.c struct file *thread__files_entry(struct thread *thread, int fd)
file             1153 tools/perf/builtin-trace.c 	struct file *file = thread_trace__files_entry(ttrace, fd);
file             1155 tools/perf/builtin-trace.c 	if (file != NULL) {
file             1158 tools/perf/builtin-trace.c 			file->dev_maj = major(st.st_rdev);
file             1159 tools/perf/builtin-trace.c 		file->pathname = strdup(pathname);
file             1160 tools/perf/builtin-trace.c 		if (file->pathname)
file               85 tools/perf/lib/cpumap.c struct perf_cpu_map *perf_cpu_map__read(FILE *file)
file               97 tools/perf/lib/cpumap.c 		n = fscanf(file, "%u%c", &cpu, &sep);
file               13 tools/perf/lib/include/perf/cpumap.h LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file);
file              109 tools/perf/scripts/perl/Perf-Trace-Util/Context.c     const char* file = __FILE__;
file              115 tools/perf/scripts/perl/Perf-Trace-Util/Context.c         newXSproto("Perf::Trace::Context::common_pc", XS_Perf__Trace__Context_common_pc, file, "$");
file              116 tools/perf/scripts/perl/Perf-Trace-Util/Context.c         newXSproto("Perf::Trace::Context::common_flags", XS_Perf__Trace__Context_common_flags, file, "$");
file              117 tools/perf/scripts/perl/Perf-Trace-Util/Context.c         newXSproto("Perf::Trace::Context::common_lock_depth", XS_Perf__Trace__Context_common_lock_depth, file, "$");
file               57 tools/perf/tests/attr.c 	if (1 != fwrite(buf, size, 1, file)) {				\
file               59 tools/perf/tests/attr.c 		fclose(file);						\
file               70 tools/perf/tests/attr.c 	FILE *file;
file               79 tools/perf/tests/attr.c 	file = fopen(path, "w+");
file               80 tools/perf/tests/attr.c 	if (!file) {
file               85 tools/perf/tests/attr.c 	if (fprintf(file, "[event-%d-%llu-%d]\n",
file               88 tools/perf/tests/attr.c 		fclose(file);
file              142 tools/perf/tests/attr.c 	fclose(file);
file              506 tools/perf/tests/builtin-test.c 	const char *file;
file              515 tools/perf/tests/builtin-test.c 	path__join(script, sizeof(script), st->dir, st->file);
file              552 tools/perf/tests/builtin-test.c 		st.file = ent->d_name;
file              120 tools/perf/tests/dso-data.c 	char *file = test_file(TEST_FILE_SIZE);
file              123 tools/perf/tests/dso-data.c 	TEST_ASSERT_VAL("No test file", file);
file              127 tools/perf/tests/dso-data.c 	dso = dso__new((const char *)file);
file              173 tools/perf/tests/dso-data.c 	unlink(file);
file              212 tools/perf/tests/dso-data.c 		char *file;
file              214 tools/perf/tests/dso-data.c 		file = test_file(size);
file              215 tools/perf/tests/dso-data.c 		TEST_ASSERT_VAL("failed to get dso file", file);
file              217 tools/perf/tests/dso-data.c 		dsos[i] = dso__new(file);
file              100 tools/perf/tests/pmu.c 		FILE *file;
file              104 tools/perf/tests/pmu.c 		file = fopen(name, "w");
file              105 tools/perf/tests/pmu.c 		if (!file)
file              108 tools/perf/tests/pmu.c 		if (1 != fwrite(format->value, strlen(format->value), 1, file))
file              111 tools/perf/tests/pmu.c 		fclose(file);
file               36 tools/perf/tests/topology.c 		.file      = {
file               55 tools/perf/tests/topology.c 			!perf_session__write_header(session, session->evlist, data.file.fd, true));
file               66 tools/perf/tests/topology.c 		.file      = {
file               40 tools/perf/trace/beauty/beauty.h struct file *thread__files_entry(struct thread *thread, int fd);
file              179 tools/perf/trace/beauty/ioctl.c 	struct file *file = thread__files_entry(arg->thread, fd);
file              181 tools/perf/trace/beauty/ioctl.c 	if (file != NULL) {
file              182 tools/perf/trace/beauty/ioctl.c 		if (file->dev_maj == USB_DEVICE_MAJOR)
file             2296 tools/perf/ui/browsers/hists.c 		FILE *file;
file             2303 tools/perf/ui/browsers/hists.c 		file = fopen(path, "r");
file             2304 tools/perf/ui/browsers/hists.c 		if (!file)
file             2307 tools/perf/ui/browsers/hists.c 		if (fread(&magic, 1, 8, file) < 8)
file             2319 tools/perf/ui/browsers/hists.c 				fclose(file);
file             2327 tools/perf/ui/browsers/hists.c 		fclose(file);
file             1488 tools/perf/util/annotate.c static int symbol__parse_objdump_line(struct symbol *sym, FILE *file,
file             1500 tools/perf/util/annotate.c 	if (getline(&line, &line_len, file) < 0)
file             1866 tools/perf/util/annotate.c 	FILE *file;
file             1953 tools/perf/util/annotate.c 	file = fdopen(stdout_fd[0], "r");
file             1954 tools/perf/util/annotate.c 	if (!file) {
file             1964 tools/perf/util/annotate.c 	while (!feof(file)) {
file             1971 tools/perf/util/annotate.c 		if (symbol__parse_objdump_line(sym, file, args, &lineno) < 0)
file             1986 tools/perf/util/annotate.c 	fclose(file);
file               52 tools/perf/util/data.c 		struct perf_data_file *file = &files[i];
file               54 tools/perf/util/data.c 		if (asprintf(&file->path, "%s/data.%d", data->path, i) < 0)
file               57 tools/perf/util/data.c 		ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR);
file               61 tools/perf/util/data.c 		file->fd = ret;
file               91 tools/perf/util/data.c 		struct perf_data_file *file;
file              104 tools/perf/util/data.c 		file = realloc(files, (nr + 1) * sizeof(*files));
file              105 tools/perf/util/data.c 		if (!file)
file              108 tools/perf/util/data.c 		files = file;
file              109 tools/perf/util/data.c 		file = &files[nr++];
file              111 tools/perf/util/data.c 		file->path = strdup(path);
file              112 tools/perf/util/data.c 		if (!file->path)
file              115 tools/perf/util/data.c 		ret = open(file->path, O_RDONLY);
file              119 tools/perf/util/data.c 		file->fd = ret;
file              120 tools/perf/util/data.c 		file->size = st.st_size;
file              143 tools/perf/util/data.c 		struct perf_data_file *file = &data->dir.files[i];
file              146 tools/perf/util/data.c 		if (fstat(file->fd, &st))
file              149 tools/perf/util/data.c 		file->size = st.st_size;
file              171 tools/perf/util/data.c 		data->file.fd = fd;
file              226 tools/perf/util/data.c 	fd = open(data->file.path, O_RDONLY);
file              230 tools/perf/util/data.c 		pr_err("failed to open %s: %s", data->file.path,
file              232 tools/perf/util/data.c 		if (err == ENOENT && !strcmp(data->file.path, "perf.data"))
file              243 tools/perf/util/data.c 		       data->file.path);
file              249 tools/perf/util/data.c 			data->file.path);
file              253 tools/perf/util/data.c 	data->file.size = st.st_size;
file              266 tools/perf/util/data.c 	fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
file              270 tools/perf/util/data.c 		pr_err("failed to open %s : %s\n", data->file.path,
file              284 tools/perf/util/data.c 		zfree(&data->file.path);
file              288 tools/perf/util/data.c 	data->file.fd = fd;
file              294 tools/perf/util/data.c 	data->file.path = strdup(data->path);
file              295 tools/perf/util/data.c 	if (!data->file.path)
file              309 tools/perf/util/data.c 	if (asprintf(&data->file.path, "%s/header", data->path) < 0)
file              348 tools/perf/util/data.c 	zfree(&data->file.path);
file              349 tools/perf/util/data.c 	close(data->file.fd);
file              352 tools/perf/util/data.c ssize_t perf_data_file__write(struct perf_data_file *file,
file              355 tools/perf/util/data.c 	return writen(file->fd, buf, size);
file              361 tools/perf/util/data.c 	return perf_data_file__write(&data->file, buf, size);
file              387 tools/perf/util/data.c 		close(data->file.fd);
file              392 tools/perf/util/data.c 		if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) {
file              399 tools/perf/util/data.c 	ret = data->file.fd;
file              406 tools/perf/util/data.c 	u64 size = data->file.size;
file              413 tools/perf/util/data.c 		struct perf_data_file *file = &data->dir.files[i];
file              415 tools/perf/util/data.c 		size += file->size;
file               20 tools/perf/util/data.h 	struct perf_data_file	 file;
file               55 tools/perf/util/data.h 	return data->file.fd;
file               62 tools/perf/util/data.h ssize_t perf_data_file__write(struct perf_data_file *file,
file              376 tools/perf/util/header.c 	FILE *file;
file              386 tools/perf/util/header.c 	file = fopen("/proc/cpuinfo", "r");
file              387 tools/perf/util/header.c 	if (!file)
file              390 tools/perf/util/header.c 	while (getline(&buf, &len, file) > 0) {
file              425 tools/perf/util/header.c 	fclose(file);
file             1033 tools/perf/util/header.c 	char path[PATH_MAX], file[PATH_MAX];
file             1038 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/%s", sysfs__mountpoint(), path);
file             1040 tools/perf/util/header.c 	if (stat(file, &st))
file             1043 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/level", path);
file             1044 tools/perf/util/header.c 	if (sysfs__read_int(file, (int *) &cache->level))
file             1047 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/coherency_line_size", path);
file             1048 tools/perf/util/header.c 	if (sysfs__read_int(file, (int *) &cache->line_size))
file             1051 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/number_of_sets", path);
file             1052 tools/perf/util/header.c 	if (sysfs__read_int(file, (int *) &cache->sets))
file             1055 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/ways_of_associativity", path);
file             1056 tools/perf/util/header.c 	if (sysfs__read_int(file, (int *) &cache->ways))
file             1059 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/type", path);
file             1060 tools/perf/util/header.c 	if (sysfs__read_str(file, &cache->type, &len))
file             1066 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/size", path);
file             1067 tools/perf/util/header.c 	if (sysfs__read_str(file, &cache->size, &len)) {
file             1075 tools/perf/util/header.c 	scnprintf(file, PATH_MAX, "%s/shared_cpu_list", path);
file             1076 tools/perf/util/header.c 	if (sysfs__read_str(file, &cache->map, &len)) {
file             3561 tools/perf/util/header.c 			   data->file.path);
file             3567 tools/perf/util/header.c 		       data->file.path);
file              117 tools/perf/util/llvm-utils.c 	FILE *file = NULL;
file              121 tools/perf/util/llvm-utils.c 	file = popen(cmd, "r");
file              122 tools/perf/util/llvm-utils.c 	if (!file) {
file              128 tools/perf/util/llvm-utils.c 	while (!feof(file) && !ferror(file)) {
file              147 tools/perf/util/llvm-utils.c 		read_sz += fread(buf + read_sz, 1, READ_SIZE, file);
file              156 tools/perf/util/llvm-utils.c 	if (ferror(file)) {
file              163 tools/perf/util/llvm-utils.c 	err = WEXITSTATUS(pclose(file));
file              164 tools/perf/util/llvm-utils.c 	file = NULL;
file              187 tools/perf/util/llvm-utils.c 	if (file)
file              188 tools/perf/util/llvm-utils.c 		pclose(file);
file             1233 tools/perf/util/machine.c 	FILE *file;
file             1238 tools/perf/util/machine.c 	file = fopen(version, "r");
file             1239 tools/perf/util/machine.c 	if (!file)
file             1242 tools/perf/util/machine.c 	tmp = fgets(version, sizeof(version), file);
file             1243 tools/perf/util/machine.c 	fclose(file);
file               73 tools/perf/util/path.c bool is_regular_file(const char *file)
file               77 tools/perf/util/path.c 	if (stat(file, &st))
file               13 tools/perf/util/path.h bool is_regular_file(const char *file);
file               57 tools/perf/util/pmu.c 		FILE *file;
file               65 tools/perf/util/pmu.c 		file = fopen(path, "r");
file               66 tools/perf/util/pmu.c 		if (!file)
file               69 tools/perf/util/pmu.c 		perf_pmu_in = file;
file               71 tools/perf/util/pmu.c 		fclose(file);
file              388 tools/perf/util/pmu.c static int perf_pmu__new_alias(struct list_head *list, char *dir, char *name, FILE *file)
file              393 tools/perf/util/pmu.c 	ret = fread(buf, 1, sizeof(buf), file);
file              439 tools/perf/util/pmu.c 		FILE *file;
file              452 tools/perf/util/pmu.c 		file = fopen(path, "r");
file              453 tools/perf/util/pmu.c 		if (!file) {
file              458 tools/perf/util/pmu.c 		if (perf_pmu__new_alias(head, dir, name, file) < 0)
file              460 tools/perf/util/pmu.c 		fclose(file);
file              525 tools/perf/util/pmu.c 	FILE *file;
file              538 tools/perf/util/pmu.c 	file = fopen(path, "r");
file              539 tools/perf/util/pmu.c 	if (!file)
file              542 tools/perf/util/pmu.c 	if (1 != fscanf(file, "%u", type))
file              545 tools/perf/util/pmu.c 	fclose(file);
file              579 tools/perf/util/pmu.c 	FILE *file;
file              582 tools/perf/util/pmu.c 	file = fopen(path, "r");
file              583 tools/perf/util/pmu.c 	if (!file)
file              586 tools/perf/util/pmu.c 	cpus = perf_cpu_map__read(file);
file              587 tools/perf/util/pmu.c 	fclose(file);
file             1543 tools/perf/util/pmu.c 	FILE *file;
file             1547 tools/perf/util/pmu.c 	file = perf_pmu__open_file(pmu, name);
file             1548 tools/perf/util/pmu.c 	if (file) {
file             1549 tools/perf/util/pmu.c 		ret = vfscanf(file, fmt, args);
file             1550 tools/perf/util/pmu.c 		fclose(file);
file              219 tools/perf/util/probe-event.c 	zfree(&pp->file);
file              364 tools/perf/util/probe-event.c 	if (!pp->function || pp->file)
file              424 tools/perf/util/probe-event.c 				       .file = lr->file,
file              437 tools/perf/util/probe-event.c 		lr->file = result.file;
file             1181 tools/perf/util/probe-event.c 	zfree(&lr->file);
file             1231 tools/perf/util/probe-event.c 	char *range, *file, *name = strdup(arg);
file             1281 tools/perf/util/probe-event.c 	file = strchr(name, '@');
file             1282 tools/perf/util/probe-event.c 	if (file) {
file             1283 tools/perf/util/probe-event.c 		*file = '\0';
file             1284 tools/perf/util/probe-event.c 		lr->file = strdup(++file);
file             1285 tools/perf/util/probe-event.c 		if (lr->file == NULL) {
file             1291 tools/perf/util/probe-event.c 		lr->file = name;
file             1431 tools/perf/util/probe-event.c 		pp->file = tmp;
file             1486 tools/perf/util/probe-event.c 			if (pp->file) {
file             1490 tools/perf/util/probe-event.c 			pp->file = strdup_esc(arg);
file             1491 tools/perf/util/probe-event.c 			if (pp->file == NULL)
file             1527 tools/perf/util/probe-event.c 	if (!pp->line && !pp->lazy_line && pp->file && !pp->function) {
file             1545 tools/perf/util/probe-event.c 		 pp->function, pp->file, pp->line, pp->offset, pp->retprobe,
file             1720 tools/perf/util/probe-event.c 	if (pev->point.file || pev->point.line || pev->point.lazy_line)
file             1921 tools/perf/util/probe-event.c 	if (pp->file) {
file             1922 tools/perf/util/probe-event.c 		tmp = pp->file;
file             1925 tools/perf/util/probe-event.c 			tmp = strchr(pp->file + len - 30, '/');
file             1926 tools/perf/util/probe-event.c 			tmp = tmp ? tmp + 1 : pp->file + len - 30;
file             2244 tools/perf/util/probe-event.c 	dst->file = strdup_or_goto(src->file, out_err);
file               63 tools/perf/util/probe-event.h 	char		*file;		/* File path */
file              106 tools/perf/util/probe-event.h 	char			*file;		/* File name */
file              713 tools/perf/util/probe-finder.c 	const char *file;
file              723 tools/perf/util/probe-finder.c 	const char *file;
file              727 tools/perf/util/probe-finder.c 	if (fsp->file) {
file              728 tools/perf/util/probe-finder.c 		file = dwarf_decl_file(fn_die);
file              729 tools/perf/util/probe-finder.c 		if (!file || strcmp(fsp->file, file) != 0)
file              767 tools/perf/util/probe-finder.c 		.file = pf->fname,
file              993 tools/perf/util/probe-finder.c 	if (pp->file && strtailcmp(pp->file, dwarf_decl_file(sp_die)))
file             1048 tools/perf/util/probe-finder.c 	char *file;
file             1066 tools/perf/util/probe-finder.c 			if (param->file &&
file             1067 tools/perf/util/probe-finder.c 			    strtailcmp(param->file, dwarf_decl_file(param->sp_die)))
file             1096 tools/perf/util/probe-finder.c 			.file	  = pp->file,
file             1122 tools/perf/util/probe-finder.c 		if (pp->file)
file             1123 tools/perf/util/probe-finder.c 			pf->fname = cu_find_realpath(&pf->cu_die, pp->file);
file             1127 tools/perf/util/probe-finder.c 		if (!pp->file || pf->fname) {
file             1675 tools/perf/util/probe-finder.c 		ppt->file = strdup(fname);
file             1676 tools/perf/util/probe-finder.c 		if (ppt->file == NULL) {
file             1759 tools/perf/util/probe-finder.c 	if (lr->file && strtailcmp(lr->file, dwarf_decl_file(sp_die)))
file             1805 tools/perf/util/probe-finder.c 			.function = lr->function, .file = lr->file,
file             1831 tools/perf/util/probe-finder.c 		if (lr->file)
file             1832 tools/perf/util/probe-finder.c 			lf.fname = cu_find_realpath(&lf.cu_die, lr->file);
file             1836 tools/perf/util/probe-finder.c 		if (!lr->file || lf.fname) {
file              945 tools/perf/util/python.c 		PyObject *file;
file              952 tools/perf/util/python.c 		file = PyFile_FromFile(fp, "perf", "r", NULL);
file              954 tools/perf/util/python.c 		file = PyFile_FromFd(evlist->core.pollfd.entries[i].fd, "perf", "r", -1,
file              957 tools/perf/util/python.c 		if (file == NULL)
file              960 tools/perf/util/python.c 		if (PyList_Append(list, file) != 0) {
file              961 tools/perf/util/python.c 			Py_DECREF(file);
file              965 tools/perf/util/python.c 		Py_DECREF(file);
file               56 tools/perf/util/scripting-engines/trace-event-perl.c 	const char *file = __FILE__;
file               60 tools/perf/util/scripting-engines/trace-event-perl.c 	      file);
file               61 tools/perf/util/scripting-engines/trace-event-perl.c 	newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
file               67 tools/perf/util/srcline.c static char *srcline_from_fileline(const char *file, unsigned int line)
file               71 tools/perf/util/srcline.c 	if (!file)
file               75 tools/perf/util/srcline.c 		file = gnu_basename(file);
file               77 tools/perf/util/srcline.c 	if (asprintf(&srcline, "%s:%u", file, line) < 0)
file              293 tools/perf/util/srcline.c 		     char **file, unsigned int *line, struct dso *dso,
file              341 tools/perf/util/srcline.c 	if (file) {
file              342 tools/perf/util/srcline.c 		*file = a2l->filename ? strdup(a2l->filename) : NULL;
file              343 tools/perf/util/srcline.c 		ret = *file ? 1 : 0;
file              406 tools/perf/util/srcline.c 		     char **file, unsigned int *line_nr,
file              438 tools/perf/util/srcline.c 	*file = filename;
file              523 tools/perf/util/srcline.c 	char *file = NULL;
file              535 tools/perf/util/srcline.c 	if (!addr2line(dso_name, addr, &file, &line, dso,
file              539 tools/perf/util/srcline.c 	srcline = srcline_from_fileline(file, line);
file              540 tools/perf/util/srcline.c 	free(file);
file              571 tools/perf/util/srcline.c 	char *file = NULL;
file              581 tools/perf/util/srcline.c 	if (!addr2line(dso_name, addr, &file, line, dso, true, NULL, NULL))
file              585 tools/perf/util/srcline.c 	return file;
file              327 tools/perf/util/svghelper.c 	FILE *file;
file              331 tools/perf/util/svghelper.c 	file = fopen("/proc/cpuinfo", "r");
file              332 tools/perf/util/svghelper.c 	if (file) {
file              333 tools/perf/util/svghelper.c 		while (fgets(buf, 255, file)) {
file              339 tools/perf/util/svghelper.c 		fclose(file);
file              343 tools/perf/util/svghelper.c 	file = fopen("/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies", "r");
file              344 tools/perf/util/svghelper.c 	if (file) {
file              345 tools/perf/util/svghelper.c 		while (fgets(buf, 255, file)) {
file              351 tools/perf/util/svghelper.c 		fclose(file);
file              580 tools/perf/util/symbol.c 	FILE *file;
file              583 tools/perf/util/symbol.c 	file = fopen(filename, "r");
file              584 tools/perf/util/symbol.c 	if (file == NULL)
file              593 tools/perf/util/symbol.c 		line_len = getline(&line, &n, file);
file              595 tools/perf/util/symbol.c 			if (feof(file))
file              632 tools/perf/util/symbol.c 	fclose(file);
file             1471 tools/perf/util/symbol.c 	FILE *file;
file             1474 tools/perf/util/symbol.c 	file = fopen(map_path, "r");
file             1475 tools/perf/util/symbol.c 	if (file == NULL)
file             1478 tools/perf/util/symbol.c 	while (!feof(file)) {
file             1483 tools/perf/util/symbol.c 		line_len = getline(&line, &n, file);
file             1514 tools/perf/util/symbol.c 	fclose(file);
file             1918 tools/perf/util/symbol.c static bool filename__readable(const char *file)
file             1920 tools/perf/util/symbol.c 	int fd = open(file, O_RDONLY);
file               43 tools/perf/util/trace-event-info.c static int record_file(const char *file, ssize_t hdr_sz)
file               51 tools/perf/util/trace-event-info.c 	fd = open(file, O_RDONLY);
file               53 tools/perf/util/trace-event-info.c 		pr_debug("Can't read '%s'", file);
file              124 tools/perf/util/trace-event-parse.c 			 char *file, unsigned int size __maybe_unused)
file              133 tools/perf/util/trace-event-parse.c 	line = strtok_r(file, "\n", &next);
file              150 tools/perf/util/trace-event-parse.c 			 char *file, unsigned int size __maybe_unused)
file              157 tools/perf/util/trace-event-parse.c 	line = strtok_r(file, "\n", &next);
file               44 tools/perf/util/trace-event.h void parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size);
file               45 tools/perf/util/trace-event.h void parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size);
file               46 tools/perf/util/trace-event.h void parse_saved_cmdline(struct tep_handle *pevent, char *file, unsigned int size);
file               99 tools/perf/util/util.c static bool match_pat(char *file, const char **pat)
file              107 tools/perf/util/util.c 		if (strglobmatch(file, pat[i]))
file              343 tools/perf/util/vdso.c 		char *file;
file              345 tools/perf/util/vdso.c 		file = get_file(&vdso_info->vdso);
file              346 tools/perf/util/vdso.c 		if (file)
file              347 tools/perf/util/vdso.c 			dso = __machine__addnew_vdso(machine, DSO__NAME_VDSO, file);
file               29 tools/power/acpi/common/cmfsize.c u32 cm_get_file_size(ACPI_FILE file)
file               37 tools/power/acpi/common/cmfsize.c 	current_offset = ftell(file);
file               42 tools/power/acpi/common/cmfsize.c 	status = fseek(file, 0, SEEK_END);
file               47 tools/power/acpi/common/cmfsize.c 	file_size = ftell(file);
file               54 tools/power/acpi/common/cmfsize.c 	status = fseek(file, current_offset, SEEK_SET);
file               47 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_find_rsdp_via_efi_by_keyword(FILE * file, const char *keyword);
file              402 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_find_rsdp_via_efi_by_keyword(FILE * file, const char *keyword)
file              409 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	fseek(file, 0, SEEK_SET);
file              410 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	while (fgets(buffer, 80, file)) {
file              433 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	FILE *file;
file              436 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	file = fopen(EFI_SYSTAB, "r");
file              437 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (file) {
file              438 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		address = osl_find_rsdp_via_efi_by_keyword(file, "ACPI20");
file              441 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 			    osl_find_rsdp_via_efi_by_keyword(file, "ACPI");
file              443 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		fclose(file);
file              369 tools/power/acpi/tools/acpidbg/acpidbg.c void usage(FILE *file, char *progname)
file              371 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "usage: %s [-b cmd] [-f file] [-h]\n", progname);
file              372 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "\nOptions:\n");
file              373 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "  -b     Specify command to be executed in batch mode\n");
file              374 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "  -f     Specify interface file other than");
file              375 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "         /sys/kernel/debug/acpi/acpidbg\n");
file              376 tools/power/acpi/tools/acpidbg/acpidbg.c 	fprintf(file, "  -h     Print this help message\n");
file               67 tools/power/acpi/tools/acpidump/apfiles.c 	ACPI_FILE file;
file               77 tools/power/acpi/tools/acpidump/apfiles.c 	file = fopen(pathname, "w");
file               78 tools/power/acpi/tools/acpidump/apfiles.c 	if (!file) {
file               85 tools/power/acpi/tools/acpidump/apfiles.c 	gbl_output_file = file;
file              108 tools/power/acpi/tools/acpidump/apfiles.c 	ACPI_FILE file;
file              148 tools/power/acpi/tools/acpidump/apfiles.c 	file = fopen(filename, "wb");
file              149 tools/power/acpi/tools/acpidump/apfiles.c 	if (!file) {
file              154 tools/power/acpi/tools/acpidump/apfiles.c 	actual = fwrite(table, 1, table_length, file);
file              158 tools/power/acpi/tools/acpidump/apfiles.c 		fclose(file);
file              162 tools/power/acpi/tools/acpidump/apfiles.c 	fclose(file);
file              183 tools/power/acpi/tools/acpidump/apfiles.c 	ACPI_FILE file;
file              189 tools/power/acpi/tools/acpidump/apfiles.c 	file = fopen(pathname, "rb");
file              190 tools/power/acpi/tools/acpidump/apfiles.c 	if (!file) {
file              197 tools/power/acpi/tools/acpidump/apfiles.c 	file_size = cm_get_file_size(file);
file              216 tools/power/acpi/tools/acpidump/apfiles.c 	actual = fread(buffer, 1, file_size, file);
file              227 tools/power/acpi/tools/acpidump/apfiles.c 	fclose(file);
file               32 tools/power/cpupower/debug/i386/centrino-decode.c 	char file[20];
file               41 tools/power/cpupower/debug/i386/centrino-decode.c 	sprintf(file, "/dev/cpu/%d/msr", cpu);
file               42 tools/power/cpupower/debug/i386/centrino-decode.c 	fd = open(file, O_RDONLY);
file               32 tools/power/cpupower/debug/i386/powernow-k8-decode.c 	char file[20];
file               37 tools/power/cpupower/debug/i386/powernow-k8-decode.c 	sprintf(file, "/dev/cpu/%d/msr", cpu);
file               39 tools/power/cpupower/debug/i386/powernow-k8-decode.c 	fd = open(file, O_RDONLY);
file              468 tools/power/cpupower/lib/cpufreq.c 							const char *file)
file              477 tools/power/cpupower/lib/cpufreq.c 	len = sysfs_cpufreq_read_file(cpu, file, linebuf, sizeof(linebuf));
file              286 tools/power/cpupower/lib/cpuidle.c 	char file[SYSFS_PATH_MAX];
file              291 tools/power/cpupower/lib/cpuidle.c 	snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle");
file              292 tools/power/cpupower/lib/cpuidle.c 	if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode))
file              295 tools/power/cpupower/lib/cpuidle.c 	snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu);
file              296 tools/power/cpupower/lib/cpuidle.c 	if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode))
file              299 tools/power/cpupower/lib/cpuidle.c 	while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) {
file              300 tools/power/cpupower/lib/cpuidle.c 		snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU
file              356 tools/power/cpupower/utils/helpers/sysfs.c 	char file[SYSFS_PATH_MAX];
file              361 tools/power/cpupower/utils/helpers/sysfs.c 	snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle");
file              362 tools/power/cpupower/utils/helpers/sysfs.c 	if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode))
file              365 tools/power/cpupower/utils/helpers/sysfs.c 	snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu);
file              366 tools/power/cpupower/utils/helpers/sysfs.c 	if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode))
file              369 tools/power/cpupower/utils/helpers/sysfs.c 	while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) {
file              370 tools/power/cpupower/utils/helpers/sysfs.c 		snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU
file               51 tools/testing/selftests/bpf/get_cgroup_id_user.c 	const char *file = "get_cgroup_id_kern.o";
file               75 tools/testing/selftests/bpf/get_cgroup_id_user.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
file               33 tools/testing/selftests/bpf/prog_tests/attach_probe.c 	const char *file = "./test_attach_probe.o";
file               53 tools/testing/selftests/bpf/prog_tests/attach_probe.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_KPROBE, &obj, &prog_fd);
file                9 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c 	const char *file = "./test_obj_id.o";
file               46 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c 		err = bpf_prog_load(file, BPF_PROG_TYPE_SOCKET_FILTER,
file               18 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c static int check_load(const char *file, enum bpf_prog_type type)
file               25 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c 	attr.file = file;
file               35 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c 	const char *file;
file              102 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c 		if (!test__start_subtest(test->file))
file              105 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c 		err = check_load(test->file, test->attach_type);
file               84 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c 	const char *file = "./test_get_stack_rawtp.o";
file              101 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd);
file              126 tools/testing/selftests/bpf/prog_tests/global_data.c 	const char *file = "./test_global_data.o";
file              131 tools/testing/selftests/bpf/prog_tests/global_data.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
file              132 tools/testing/selftests/bpf/prog_tests/global_data.c 	if (CHECK(err, "load program", "error %d loading %s\n", err, file))
file                4 tools/testing/selftests/bpf/prog_tests/l4lb_all.c static void test_l4lb(const char *file)
file               32 tools/testing/selftests/bpf/prog_tests/l4lb_all.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
file               35 tools/testing/selftests/bpf/prog_tests/map_lock.c 	const char *file = "./test_map_lock.o";
file               42 tools/testing/selftests/bpf/prog_tests/map_lock.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd);
file               25 tools/testing/selftests/bpf/prog_tests/perf_buffer.c 	const char *file = "./test_perf_buffer.o";
file               49 tools/testing/selftests/bpf/prog_tests/perf_buffer.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_KPROBE, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/pkt_access.c 	const char *file = "./test_pkt_access.o";
file               11 tools/testing/selftests/bpf/prog_tests/pkt_access.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c 	const char *file = "./test_pkt_md_access.o";
file               11 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c 	const char *file = "./test_pkt_access.o";
file               18 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj,
file               14 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c 	char file[32], buf[128];
file               23 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c 		strncpy(file, "./test_queue_map.o", sizeof(file));
file               25 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c 		strncpy(file, "./test_stack_map.o", sizeof(file));
file               29 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/reference_tracking.c 	const char *file = "./test_sk_lookup_kern.o";
file               12 tools/testing/selftests/bpf/prog_tests/reference_tracking.c 	obj = bpf_object__open(file);
file               16 tools/testing/selftests/bpf/prog_tests/send_signal.c 	const char *file = "./test_send_signal_kern.o";
file               76 tools/testing/selftests/bpf/prog_tests/send_signal.c 	err = bpf_prog_load(file, prog_type, &obj, &prog_fd);
file              171 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c 		.file = "./sockopt_inherit.o",
file              300 tools/testing/selftests/bpf/prog_tests/sockopt_multi.c 		.file = "./sockopt_multi.o",
file              166 tools/testing/selftests/bpf/prog_tests/sockopt_sk.c 		.file = "./sockopt_sk.o",
file                6 tools/testing/selftests/bpf/prog_tests/spinlock.c 	const char *file = "./test_spin_lock.o";
file               13 tools/testing/selftests/bpf/prog_tests/spinlock.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd);
file                8 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c 	const char *file = "./test_stacktrace_build_id.o";
file               21 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
file               21 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c 	const char *file = "./test_stacktrace_build_id.o";
file               41 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_PERF_EVENT, &obj, &prog_fd);
file                9 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c 	const char *file = "./test_stacktrace_map.o";
file               15 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
file                8 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c 	const char *file = "./test_stacktrace_map.o";
file               15 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c 	const char *file = "./test_get_stack_rawtp.o";
file               14 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd);
file                7 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c 	const char *file = "./test_tracepoint.o";
file               16 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/tcp_estats.c 	const char *file = "./test_tcp_estats.o";
file               11 tools/testing/selftests/bpf/prog_tests/tcp_estats.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
file              123 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c 		.file = "./tcp_rtt.o",
file                9 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c 	const char *file = "./test_tracepoint.o";
file               38 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c 		err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj[i],
file               10 tools/testing/selftests/bpf/prog_tests/xdp.c 	const char *file = "./test_xdp.o";
file               18 tools/testing/selftests/bpf/prog_tests/xdp.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c 	const char *file = "./test_adjust_tail.o";
file               12 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd);
file                6 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c 	const char *file = "./test_xdp_noinline.o";
file               33 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c 	err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd);
file               40 tools/testing/selftests/bpf/progs/pyperf.h 	char file[FILE_NAME_LEN];
file              103 tools/testing/selftests/bpf/progs/pyperf.h 		bpf_probe_read_str(&symbol->file,
file              104 tools/testing/selftests/bpf/progs/pyperf.h 				   sizeof(symbol->file),
file             4102 tools/testing/selftests/bpf/test_btf.c 	const char *file;
file             4107 tools/testing/selftests/bpf/test_btf.c 	{ .file = "test_btf_haskv.o", },
file             4108 tools/testing/selftests/bpf/test_btf.c 	{ .file = "test_btf_newkv.o", },
file             4109 tools/testing/selftests/bpf/test_btf.c 	{ .file = "test_btf_nokv.o", .btf_kv_notfound = true, },
file             4131 tools/testing/selftests/bpf/test_btf.c 		test->file);
file             4133 tools/testing/selftests/bpf/test_btf.c 	btf = btf__parse_elf(test->file, &btf_ext);
file             4147 tools/testing/selftests/bpf/test_btf.c 	obj = bpf_object__open(test->file);
file               91 tools/testing/selftests/bpf/test_select_reuseport.c 		.file = "test_select_reuseport_kern.o",
file              836 tools/testing/selftests/bpf/test_sock_addr.c 	attr.file = path;
file              415 tools/testing/selftests/bpf/test_sock_fields.c 		.file = "test_sock_fields_kern.o",
file              143 tools/testing/selftests/bpf/test_socket_cookie.c 	attr.file = SOCKET_COOKIE_PROG;
file              149 tools/testing/selftests/bpf/test_socket_cookie.c 		log_err("Failed to load %s", attr.file);
file              331 tools/testing/selftests/bpf/test_sockmap.c 	FILE *file;
file              334 tools/testing/selftests/bpf/test_sockmap.c 	file = tmpfile();
file              335 tools/testing/selftests/bpf/test_sockmap.c 	if (!file) {
file              340 tools/testing/selftests/bpf/test_sockmap.c 		fwrite(&k, sizeof(char), 1, file);
file              341 tools/testing/selftests/bpf/test_sockmap.c 	fflush(file);
file              342 tools/testing/selftests/bpf/test_sockmap.c 	fseek(file, 0, SEEK_SET);
file              344 tools/testing/selftests/bpf/test_sockmap.c 	fp = fileno(file);
file              352 tools/testing/selftests/bpf/test_sockmap.c 			fclose(file);
file              356 tools/testing/selftests/bpf/test_sockmap.c 			fclose(file);
file              364 tools/testing/selftests/bpf/test_sockmap.c 	fclose(file);
file                8 tools/testing/selftests/bpf/test_stub.c int bpf_prog_test_load(const char *file, enum bpf_prog_type type,
file               14 tools/testing/selftests/bpf/test_stub.c 	attr.file = file;
file             1461 tools/testing/selftests/bpf/test_sysctl.c 	attr.file = test->prog_file;
file               92 tools/testing/selftests/bpf/test_tcpbpf_user.c 	const char *file = "test_tcpbpf_kern.o";
file              112 tools/testing/selftests/bpf/test_tcpbpf_user.c 	if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) {
file              113 tools/testing/selftests/bpf/test_tcpbpf_user.c 		printf("FAILED: load_bpf_file failed for: %s\n", file);
file               72 tools/testing/selftests/bpf/test_tcpnotify_user.c 	const char *file = "test_tcpnotify_kern.o";
file               99 tools/testing/selftests/bpf/test_tcpnotify_user.c 	if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) {
file              100 tools/testing/selftests/bpf/test_tcpnotify_user.c 		printf("FAILED: load_bpf_file failed for: %s\n", file);
file              124 tools/testing/selftests/cgroup/test_memcontrol.c 	long current, file;
file              138 tools/testing/selftests/cgroup/test_memcontrol.c 	file = cg_read_key_long(cgroup, "memory.stat", "file ");
file              139 tools/testing/selftests/cgroup/test_memcontrol.c 	if (file < 0)
file              142 tools/testing/selftests/cgroup/test_memcontrol.c 	if (!values_close(file, current, 10))
file               62 tools/testing/selftests/ia64/aliasing-test.c static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch)
file               88 tools/testing/selftests/ia64/aliasing-test.c 		if (fnmatch(file, name, 0) == 0) {
file              101 tools/testing/selftests/ia64/aliasing-test.c 				rc = scan_tree(path2, file, offset, length, touch);
file              147 tools/testing/selftests/ia64/aliasing-test.c static int scan_rom(char *path, char *file)
file              173 tools/testing/selftests/ia64/aliasing-test.c 		if (fnmatch(file, name, 0) == 0) {
file              190 tools/testing/selftests/ia64/aliasing-test.c 				rc = scan_rom(path2, file);
file               27 tools/testing/selftests/kvm/include/test_util.h 		 const char *file, unsigned int line, const char *fmt, ...);
file               65 tools/testing/selftests/kvm/lib/assert.c 	const char *file, unsigned int line, const char *fmt, ...)
file               75 tools/testing/selftests/kvm/lib/assert.c 			file, line, exp_str, getpid(), _gettid(),
file               13 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c static int check_cpu_dscr_default(char *file, unsigned long val)
file               18 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c 	fd = open(file, O_RDWR);
file               44 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c 	char file[LEN_MAX];
file               62 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c 		len = snprintf(file, LEN_MAX, "%s%s/dscr", CPU_PATH, dp->d_name);
file               65 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c 		if (access(file, F_OK))
file               68 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c 		if (check_cpu_dscr_default(file, val))
file               37 tools/testing/selftests/vm/gup_benchmark.c 	char *file = "/dev/zero";
file               67 tools/testing/selftests/vm/gup_benchmark.c 			file = optarg;
file               81 tools/testing/selftests/vm/gup_benchmark.c 	filed = open(file, O_RDWR|O_CREAT);
file               21 tools/testing/selftests/vm/mlock2-tests.c 	FILE *file;
file               32 tools/testing/selftests/vm/mlock2-tests.c 	file = fopen("/proc/self/maps", "r");
file               33 tools/testing/selftests/vm/mlock2-tests.c 	if (!file) {
file               40 tools/testing/selftests/vm/mlock2-tests.c 	while(fgets(line, 1024, file)) {
file               66 tools/testing/selftests/vm/mlock2-tests.c 	fclose(file);
file               27 tools/testing/selftests/vm/mlock2.h 	FILE *file;
file               37 tools/testing/selftests/vm/mlock2.h 	file = fopen("/proc/self/smaps", "r");
file               38 tools/testing/selftests/vm/mlock2.h 	if (!file) {
file               43 tools/testing/selftests/vm/mlock2.h 	while (getline(&line, &size, file) > 0) {
file               57 tools/testing/selftests/vm/mlock2.h 	fclose(file);
file               58 tools/testing/selftests/vm/mlock2.h 	file = NULL;
file               62 tools/testing/selftests/vm/mlock2.h 	return file;
file              101 tools/testing/selftests/watchdog/watchdog-test.c 	char *file = "/dev/watchdog";
file              108 tools/testing/selftests/watchdog/watchdog-test.c 			file = optarg;
file              111 tools/testing/selftests/watchdog/watchdog-test.c 	fd = open(file, O_WRONLY);
file              115 tools/testing/selftests/watchdog/watchdog-test.c 			printf("Watchdog device (%s) not found.\n", file);
file               79 tools/testing/selftests/x86/protection_keys.c void cat_into_file(char *str, char *file)
file               81 tools/testing/selftests/x86/protection_keys.c 	int fd = open(file, O_RDWR);
file               84 tools/testing/selftests/x86/protection_keys.c 	dprintf2("%s(): writing '%s' to '%s'\n", __func__, str, file);
file               98 tools/testing/selftests/x86/protection_keys.c 		fprintf(stderr, "filename: '%s' str: '%s'\n", file, str);
file              191 tools/usb/usbip/libsrc/vhci_driver.c 	FILE *file;
file              204 tools/usb/usbip/libsrc/vhci_driver.c 	file = fopen(path, "r");
file              205 tools/usb/usbip/libsrc/vhci_driver.c 	if (!file) {
file              211 tools/usb/usbip/libsrc/vhci_driver.c 	if (fgets(buffer, buffer_len, file) == NULL) {
file              214 tools/usb/usbip/libsrc/vhci_driver.c 		fclose(file);
file              217 tools/usb/usbip/libsrc/vhci_driver.c 	fclose(file);
file               64 tools/virtio/virtio_test.c 	struct vhost_vring_file file = { .index = info->idx };
file               83 tools/virtio/virtio_test.c 	file.fd = info->kick;
file               84 tools/virtio/virtio_test.c 	r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file);
file               86 tools/virtio/virtio_test.c 	file.fd = info->call;
file               87 tools/virtio/virtio_test.c 	r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file);
file              888 tools/vm/page-types.c 	FILE *file;
file              897 tools/vm/page-types.c 	file = fopen(buf, "r");
file              898 tools/vm/page-types.c 	if (!file) {
file              903 tools/vm/page-types.c 	while (fgets(buf, sizeof(buf), file) != NULL) {
file              930 tools/vm/page-types.c 	fclose(file);
file              303 usr/gen_init_cpio.c 	int file = -1;
file              311 usr/gen_init_cpio.c 	file = open (location, O_RDONLY);
file              312 usr/gen_init_cpio.c 	if (file < 0) {
file              317 usr/gen_init_cpio.c 	retval = fstat(file, &buf);
file              329 usr/gen_init_cpio.c 	retval = read (file, filebuf, buf.st_size);
file              379 usr/gen_init_cpio.c 	if (file >= 0) close(file);
file              234 virt/kvm/arm/arm.c long kvm_arch_dev_ioctl(struct file *filp,
file             1105 virt/kvm/arm/arm.c long kvm_arch_vcpu_ioctl(struct file *filp,
file             1297 virt/kvm/arm/arm.c long kvm_arch_vm_ioctl(struct file *filp,
file              258 virt/kvm/arm/vgic/vgic-debug.c static int debug_open(struct inode *inode, struct file *file)
file              261 virt/kvm/arm/vgic/vgic-debug.c 	ret = seq_open(file, &vgic_debug_seq_ops);
file              265 virt/kvm/arm/vgic/vgic-debug.c 		seq = file->private_data;
file              234 virt/kvm/eventfd.c irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh,
file              309 virt/kvm/eventfd.c 	if (!f.file) {
file              314 virt/kvm/eventfd.c 	eventfd = eventfd_ctx_fileget(f.file);
file              401 virt/kvm/eventfd.c 	events = vfs_poll(f.file, &irqfd->pt);
file              118 virt/kvm/kvm_main.c static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
file              121 virt/kvm/kvm_main.c static long kvm_vcpu_compat_ioctl(struct file *file, unsigned int ioctl,
file              132 virt/kvm/kvm_main.c static long kvm_no_compat_ioctl(struct file *file, unsigned int ioctl,
file              135 virt/kvm/kvm_main.c static int kvm_no_compat_open(struct inode *inode, struct file *file)
file              848 virt/kvm/kvm_main.c static int kvm_vm_release(struct inode *inode, struct file *filp)
file             2737 virt/kvm/kvm_main.c static int kvm_vcpu_mmap(struct file *file, struct vm_area_struct *vma)
file             2743 virt/kvm/kvm_main.c static int kvm_vcpu_release(struct inode *inode, struct file *filp)
file             2873 virt/kvm/kvm_main.c static long kvm_vcpu_ioctl(struct file *filp,
file             3082 virt/kvm/kvm_main.c static long kvm_vcpu_compat_ioctl(struct file *filp,
file             3123 virt/kvm/kvm_main.c static int kvm_device_mmap(struct file *filp, struct vm_area_struct *vma)
file             3149 virt/kvm/kvm_main.c static long kvm_device_ioctl(struct file *filp, unsigned int ioctl,
file             3172 virt/kvm/kvm_main.c static int kvm_device_release(struct inode *inode, struct file *filp)
file             3195 virt/kvm/kvm_main.c struct kvm_device *kvm_device_from_filp(struct file *filp)
file             3348 virt/kvm/kvm_main.c static long kvm_vm_ioctl(struct file *filp,
file             3547 virt/kvm/kvm_main.c static long kvm_vm_compat_ioctl(struct file *filp,
file             3589 virt/kvm/kvm_main.c 	struct file *file;
file             3603 virt/kvm/kvm_main.c 	file = anon_inode_getfile("kvm-vm", &kvm_vm_fops, kvm, O_RDWR);
file             3604 virt/kvm/kvm_main.c 	if (IS_ERR(file)) {
file             3606 virt/kvm/kvm_main.c 		r = PTR_ERR(file);
file             3618 virt/kvm/kvm_main.c 		fput(file);
file             3623 virt/kvm/kvm_main.c 	fd_install(r, file);
file             3631 virt/kvm/kvm_main.c static long kvm_dev_ioctl(struct file *filp,
file             4072 virt/kvm/kvm_main.c static int kvm_debugfs_open(struct inode *inode, struct file *file,
file             4087 virt/kvm/kvm_main.c 	if (simple_attr_open(inode, file, get,
file             4097 virt/kvm/kvm_main.c static int kvm_debugfs_release(struct inode *inode, struct file *file)
file             4102 virt/kvm/kvm_main.c 	simple_attr_release(inode, file);
file             4129 virt/kvm/kvm_main.c static int vm_stat_get_per_vm_open(struct inode *inode, struct file *file)
file             4132 virt/kvm/kvm_main.c 	return kvm_debugfs_open(inode, file, vm_stat_get_per_vm,
file             4174 virt/kvm/kvm_main.c static int vcpu_stat_get_per_vm_open(struct inode *inode, struct file *file)
file             4177 virt/kvm/kvm_main.c 	return kvm_debugfs_open(inode, file, vcpu_stat_get_per_vm,
file               35 virt/kvm/vfio.c static struct vfio_group *kvm_vfio_group_get_external_user(struct file *filep)
file               38 virt/kvm/vfio.c 	struct vfio_group *(*fn)(struct file *);
file               52 virt/kvm/vfio.c 					       struct file *filep)
file               54 virt/kvm/vfio.c 	bool ret, (*fn)(struct vfio_group *, struct file *);
file              200 virt/kvm/vfio.c 		if (!f.file)
file              203 virt/kvm/vfio.c 		vfio_group = kvm_vfio_group_get_external_user(f.file);
file              244 virt/kvm/vfio.c 		if (!f.file)
file              253 virt/kvm/vfio.c 								f.file))
file              291 virt/kvm/vfio.c 		if (!f.file)
file              294 virt/kvm/vfio.c 		vfio_group = kvm_vfio_group_get_external_user(f.file);