file 143 arch/x86/boot/tools/build.c FILE *file;
file 181 arch/x86/boot/tools/build.c file = fopen(argv[1], "r");
file 182 arch/x86/boot/tools/build.c if (!file)
file 184 arch/x86/boot/tools/build.c c = fread(buf, 1, sizeof(buf), file);
file 185 arch/x86/boot/tools/build.c if (ferror(file))
file 191 arch/x86/boot/tools/build.c fclose(file);
file 137 arch/x86/ia32/ia32_aout.c return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
file 141 arch/x86/ia32/ia32_aout.c if (!dump_write(file, (void *)(addr), (nr))) \
file 145 arch/x86/ia32/ia32_aout.c if (file->f_op->llseek) { \
file 146 arch/x86/ia32/ia32_aout.c if (file->f_op->llseek(file, (offset), 0) != (offset)) \
file 149 arch/x86/ia32/ia32_aout.c file->f_pos = (offset)
file 289 arch/x86/ia32/ia32_aout.c i_size_read(bprm->file->f_path.dentry->d_inode) <
file 351 arch/x86/ia32/ia32_aout.c error = bprm->file->f_op->read(bprm->file,
file 375 arch/x86/ia32/ia32_aout.c bprm->file->f_path.dentry->d_name.name);
file 380 arch/x86/ia32/ia32_aout.c if (!bprm->file->f_op->mmap || (fd_offset & ~PAGE_MASK) != 0) {
file 386 arch/x86/ia32/ia32_aout.c bprm->file->f_op->read(bprm->file,
file 396 arch/x86/ia32/ia32_aout.c error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text,
file 409 arch/x86/ia32/ia32_aout.c error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data,
file 457 arch/x86/ia32/ia32_aout.c inode = file->f_path.dentry->d_inode;
file 460 arch/x86/ia32/ia32_aout.c error = kernel_read(file, 0, (char *) &ex, sizeof(ex));
file 489 arch/x86/ia32/ia32_aout.c file->f_path.dentry->d_name.name);
file 497 arch/x86/ia32/ia32_aout.c file->f_op->read(file, (char __user *)start_addr,
file 508 arch/x86/ia32/ia32_aout.c error = do_mmap(file, start_addr, ex.a_text + ex.a_data,
file 202 arch/x86/ia32/sys_ia32.c struct file *file = NULL;
file 213 arch/x86/ia32/sys_ia32.c file = fget(a.fd);
file 214 arch/x86/ia32/sys_ia32.c if (!file)
file 220 arch/x86/ia32/sys_ia32.c retval = do_mmap_pgoff(file, a.addr, a.len, a.prot, a.flags,
file 222 arch/x86/ia32/sys_ia32.c if (file)
file 223 arch/x86/ia32/sys_ia32.c fput(file);
file 670 arch/x86/ia32/sys_ia32.c struct file *file = NULL;
file 674 arch/x86/ia32/sys_ia32.c file = fget(fd);
file 675 arch/x86/ia32/sys_ia32.c if (!file)
file 680 arch/x86/ia32/sys_ia32.c error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
file 683 arch/x86/ia32/sys_ia32.c if (file)
file 684 arch/x86/ia32/sys_ia32.c fput(file);
file 1665 arch/x86/kernel/apm_32.c return single_open(file, proc_apm_show, NULL);
file 539 arch/x86/kernel/cpu/mcheck/mce_64.c if (open_exclu || (open_count && (file->f_flags & O_EXCL))) {
file 545 arch/x86/kernel/cpu/mcheck/mce_64.c if (file->f_flags & O_EXCL)
file 552 arch/x86/kernel/cpu/mcheck/mce_64.c return nonseekable_open(inode, file);
file 642 arch/x86/kernel/cpu/mcheck/mce_64.c poll_wait(file, &mce_wait, wait);
file 39 arch/x86/kernel/cpu/mtrr/if.c unsigned int *fcount = FILE_FCOUNT(file);
file 46 arch/x86/kernel/cpu/mtrr/if.c FILE_FCOUNT(file) = fcount;
file 65 arch/x86/kernel/cpu/mtrr/if.c unsigned int *fcount = FILE_FCOUNT(file);
file 217 arch/x86/kernel/cpu/mtrr/if.c file, 0);
file 233 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_file_del(sentry.base, sentry.size, file, 0);
file 270 arch/x86/kernel/cpu/mtrr/if.c file, 1);
file 287 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_file_del(sentry.base, sentry.size, file, 1);
file 342 arch/x86/kernel/cpu/mtrr/if.c unsigned int *fcount = FILE_FCOUNT(file);
file 353 arch/x86/kernel/cpu/mtrr/if.c FILE_FCOUNT(file) = NULL;
file 355 arch/x86/kernel/cpu/mtrr/if.c return single_release(ino, file);
file 366 arch/x86/kernel/cpu/mtrr/if.c return single_open(file, mtrr_seq_show, NULL);
file 65 arch/x86/kernel/cpuid.c struct inode *inode = file->f_mapping->host;
file 70 arch/x86/kernel/cpuid.c file->f_pos = offset;
file 71 arch/x86/kernel/cpuid.c ret = file->f_pos;
file 74 arch/x86/kernel/cpuid.c file->f_pos += offset;
file 75 arch/x86/kernel/cpuid.c ret = file->f_pos;
file 89 arch/x86/kernel/cpuid.c int cpu = iminor(file->f_path.dentry->d_inode);
file 123 arch/x86/kernel/cpuid.c cpu = iminor(file->f_path.dentry->d_inode);
file 33 arch/x86/kernel/kdebugfs.c struct setup_data_node *node = file->private_data;
file 72 arch/x86/kernel/kdebugfs.c file->private_data = inode->i_private;
file 49 arch/x86/kernel/msr.c struct inode *inode = file->f_mapping->host;
file 54 arch/x86/kernel/msr.c file->f_pos = offset;
file 55 arch/x86/kernel/msr.c ret = file->f_pos;
file 58 arch/x86/kernel/msr.c file->f_pos += offset;
file 59 arch/x86/kernel/msr.c ret = file->f_pos;
file 74 arch/x86/kernel/msr.c int cpu = iminor(file->f_path.dentry->d_inode);
file 105 arch/x86/kernel/msr.c int cpu = iminor(file->f_path.dentry->d_inode);
file 132 arch/x86/kernel/msr.c unsigned int cpu = iminor(file->f_path.dentry->d_inode);
file 137 arch/x86/kernel/msr.c cpu = iminor(file->f_path.dentry->d_inode);
file 495 arch/x86/kernel/nmi.c proc_dointvec(table, write, file, buffer, length, ppos);
file 32 arch/x86/kernel/sys_i386_32.c struct file *file = NULL;
file 37 arch/x86/kernel/sys_i386_32.c file = fget(fd);
file 38 arch/x86/kernel/sys_i386_32.c if (!file)
file 43 arch/x86/kernel/sys_i386_32.c error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
file 46 arch/x86/kernel/sys_i386_32.c if (file)
file 47 arch/x86/kernel/sys_i386_32.c fput(file);
file 26 arch/x86/kernel/sys_x86_64.c struct file *file;
file 33 arch/x86/kernel/sys_x86_64.c file = NULL;
file 36 arch/x86/kernel/sys_x86_64.c file = fget(fd);
file 37 arch/x86/kernel/sys_x86_64.c if (!file)
file 41 arch/x86/kernel/sys_x86_64.c error = do_mmap_pgoff(file, addr, len, prot, flags, off >> PAGE_SHIFT);
file 44 arch/x86/kernel/sys_x86_64.c if (file)
file 45 arch/x86/kernel/sys_x86_64.c fput(file);
file 463 arch/x86/kernel/tlb_uv.c seq_printf(file,
file 465 arch/x86/kernel/tlb_uv.c seq_printf(file,
file 470 arch/x86/kernel/tlb_uv.c seq_printf(file, "cpu %d %ld %ld %ld %ld %ld %ld %ld ",
file 474 arch/x86/kernel/tlb_uv.c seq_printf(file, "%lx %ld %ld %ld %ld %ld %ld\n",
file 551 arch/x86/kernel/tlb_uv.c return seq_open(file, &uv_ptc_seq_ops);
file 263 arch/x86/mm/hugetlbpage.c struct hstate *h = hstate_file(file);
file 306 arch/x86/mm/hugetlbpage.c struct hstate *h = hstate_file(file);
file 380 arch/x86/mm/hugetlbpage.c addr = hugetlb_get_unmapped_area_bottomup(file, addr0,
file 396 arch/x86/mm/hugetlbpage.c struct hstate *h = hstate_file(file);
file 406 arch/x86/mm/hugetlbpage.c if (prepare_hugepage_range(file, addr, len))
file 419 arch/x86/mm/hugetlbpage.c return hugetlb_get_unmapped_area_bottomup(file, addr, len,
file 422 arch/x86/mm/hugetlbpage.c return hugetlb_get_unmapped_area_topdown(file, addr, len,
file 514 arch/x86/mm/pat.c if (file->f_flags & O_SYNC) {
file 662 arch/x86/mm/pat.c return seq_open(file, &memtype_seq_ops);
file 29 arch/x86/xen/debugfs.c file->private_data = NULL;
file 30 arch/x86/xen/debugfs.c return nonseekable_open(inode, file);
file 76 arch/x86/xen/debugfs.c struct inode *inode = file->f_path.dentry->d_inode;
file 81 arch/x86/xen/debugfs.c if (file->private_data) {
file 82 arch/x86/xen/debugfs.c kfree(file->private_data);
file 83 arch/x86/xen/debugfs.c file->private_data = NULL;
file 86 arch/x86/xen/debugfs.c file->private_data = format_array_alloc("%u", data->array, data->elements);
file 90 arch/x86/xen/debugfs.c if (file->private_data)
file 91 arch/x86/xen/debugfs.c size = strlen(file->private_data);
file 93 arch/x86/xen/debugfs.c return simple_read_from_buffer(buf, len, ppos, file->private_data, size);
file 98 arch/x86/xen/debugfs.c kfree(file->private_data);
file 565 block/bsg.c if (file->f_flags & O_NONBLOCK)
file 585 block/bsg.c struct bsg_device *bd = file->private_data;
file 591 block/bsg.c bsg_set_block(bd, file);
file 659 block/bsg.c struct bsg_device *bd = file->private_data;
file 665 block/bsg.c bsg_set_block(bd, file);
file 669 block/bsg.c file->f_mode & FMODE_WRITE);
file 775 block/bsg.c bsg_set_block(bd, file);
file 829 block/bsg.c bd = bsg_add_device(inode, bcd->queue, file);
file 841 block/bsg.c bd = bsg_get_device(inode, file);
file 847 block/bsg.c file->private_data = bd;
file 853 block/bsg.c struct bsg_device *bd = file->private_data;
file 855 block/bsg.c file->private_data = NULL;
file 861 block/bsg.c struct bsg_device *bd = file->private_data;
file 864 block/bsg.c poll_wait(file, &bd->wq_done, wait);
file 865 block/bsg.c poll_wait(file, &bd->wq_free, wait);
file 879 block/bsg.c struct bsg_device *bd = file->private_data;
file 916 block/bsg.c return scsi_cmd_ioctl(file, bd->queue, NULL, cmd, uarg);
file 926 block/bsg.c rq = bsg_map_hdr(bd, &hdr, file->f_mode & FMODE_WRITE);
file 83 block/compat_ioctl.c error = blkdev_driver_ioctl(inode, file, disk,
file 137 block/compat_ioctl.c return blkdev_driver_ioctl(inode, file, disk, cmd,
file 170 block/compat_ioctl.c return blkdev_driver_ioctl(inode, file, disk, cmd, (unsigned long)cgc);
file 199 block/compat_ioctl.c return blkdev_ioctl(inode, file, cmd, (unsigned long)a);
file 416 block/compat_ioctl.c err = blkdev_driver_ioctl(inode, file, disk, kcmd, (unsigned long)karg);
file 599 block/compat_ioctl.c return compat_hdio_ioctl(inode, file, disk, cmd, arg);
file 609 block/compat_ioctl.c return compat_fd_ioctl(inode, file, disk, cmd, arg);
file 611 block/compat_ioctl.c return compat_cdrom_read_audio(inode, file, disk, cmd, arg);
file 613 block/compat_ioctl.c return compat_cdrom_generic_command(inode, file, disk, cmd, arg);
file 712 block/compat_ioctl.c return disk->fops->unlocked_ioctl(file, cmd, arg);
file 716 block/compat_ioctl.c ret = disk->fops->ioctl(inode, file, cmd, arg);
file 782 block/compat_ioctl.c struct inode *inode = file->f_mapping->host;
file 797 block/compat_ioctl.c return blkdev_ioctl(inode, file, cmd,
file 800 block/compat_ioctl.c return blkdev_ioctl(inode, file, BLKBSZSET,
file 803 block/compat_ioctl.c return compat_blkpg_ioctl(inode, file, cmd, compat_ptr(arg));
file 807 block/compat_ioctl.c ret = compat_blkdev_locked_ioctl(inode, file, bdev, cmd, arg);
file 810 block/compat_ioctl.c ret = disk->fops->compat_ioctl(file, cmd, arg);
file 816 block/compat_ioctl.c return compat_blkdev_driver_ioctl(inode, file, disk, cmd, arg);
file 244 block/ioctl.c if (bd_claim(bdev, file) < 0)
file 273 block/ioctl.c return disk->fops->unlocked_ioctl(file, cmd, arg);
file 277 block/ioctl.c ret = disk->fops->ioctl(inode, file, cmd, arg);
file 302 block/ioctl.c ret = blkdev_driver_ioctl(inode, file, disk, cmd, arg);
file 314 block/ioctl.c ret = blkdev_driver_ioctl(inode, file, disk, cmd, arg);
file 330 block/ioctl.c if (!(file->f_mode & FMODE_WRITE))
file 363 block/ioctl.c ret = blkdev_locked_ioctl(file, bdev, cmd, arg);
file 368 block/ioctl.c return blkdev_driver_ioctl(inode, file, disk, cmd, arg);
file 198 block/scsi_ioctl.c file->f_mode & FMODE_WRITE))
file 296 block/scsi_ioctl.c if (blk_fill_sghdr_rq(q, rq, hdr, file)) {
file 430 block/scsi_ioctl.c if (file && (file->f_mode & FMODE_WRITE))
file 567 block/scsi_ioctl.c err = sg_io(file, q, bd_disk, &hdr);
file 615 block/scsi_ioctl.c err = sg_io(file, q, bd_disk, &hdr);
file 639 block/scsi_ioctl.c err = sg_scsi_ioctl(file, q, bd_disk, arg);
file 141 crypto/proc.c return seq_open(file, &crypto_seq_ops);
file 60 fs/9p/vfs_file.c P9_DPRINTK(P9_DEBUG_VFS, "inode: %p file: %p \n", inode, file);
file 62 fs/9p/vfs_file.c omode = v9fs_uflags2omode(file->f_flags, v9fs_extended(v9ses));
file 63 fs/9p/vfs_file.c fid = file->private_data;
file 65 fs/9p/vfs_file.c fid = v9fs_fid_clone(file->f_path.dentry);
file 78 fs/9p/vfs_file.c if ((file->f_flags & O_APPEND) && (!v9fs_extended(v9ses)))
file 79 fs/9p/vfs_file.c generic_file_llseek(file, 0, SEEK_END);
file 82 fs/9p/vfs_file.c file->private_data = fid;
file 86 fs/9p/vfs_file.c if(file->f_op == &v9fs_file_operations)
file 87 fs/9p/vfs_file.c file->f_op = &v9fs_cached_file_operations;
file 382 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %d\n", dir, file,
file 385 fs/9p/vfs_inode.c file_inode = file->d_inode;
file 387 fs/9p/vfs_inode.c v9fid = v9fs_fid_clone(file);
file 499 fs/9p/vfs_inode.c struct file *filp;
file 69 fs/adfs/inode.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 410 fs/affs/file.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 604 fs/affs/file.c err = affs_do_readpage_ofs(file, page, 0, to);
file 640 fs/affs/file.c err = affs_do_readpage_ofs(file, page, 0, PAGE_CACHE_SIZE);
file 192 fs/afs/dir.c struct file file = {
file 198 fs/afs/dir.c page = read_mapping_page(dir->i_mapping, index, &file);
file 227 fs/afs/dir.c return afs_open(inode, file);
file 398 fs/afs/dir.c file->f_pos, file->f_path.dentry->d_inode->i_ino);
file 400 fs/afs/dir.c ASSERT(file->private_data != NULL);
file 402 fs/afs/dir.c fpos = file->f_pos;
file 403 fs/afs/dir.c ret = afs_dir_iterate(file->f_path.dentry->d_inode, &fpos,
file 404 fs/afs/dir.c cookie, filldir, file->private_data);
file 405 fs/afs/dir.c file->f_pos = fpos;
file 82 fs/afs/file.c file->private_data = key;
file 96 fs/afs/file.c key_put(file->private_data);
file 150 fs/afs/file.c ASSERT(file != NULL);
file 151 fs/afs/file.c key = file->private_data;
file 256 fs/afs/flock.c struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host);
file 258 fs/afs/flock.c struct key *key = file->private_data;
file 413 fs/afs/flock.c ret = posix_lock_file(file, fl, NULL);
file 444 fs/afs/flock.c struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host);
file 445 fs/afs/flock.c struct key *key = file->private_data;
file 459 fs/afs/flock.c ret = posix_lock_file(file, fl, NULL);
file 479 fs/afs/flock.c struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host);
file 480 fs/afs/flock.c struct key *key = file->private_data;
file 491 fs/afs/flock.c posix_test_lock(file, fl);
file 519 fs/afs/flock.c struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode);
file 531 fs/afs/flock.c return afs_do_getlk(file, fl);
file 533 fs/afs/flock.c return afs_do_unlk(file, fl);
file 534 fs/afs/flock.c return afs_do_setlk(file, fl);
file 542 fs/afs/flock.c struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode);
file 559 fs/afs/flock.c fl->fl_owner = (fl_owner_t) file;
file 564 fs/afs/flock.c return afs_do_unlk(file, fl);
file 565 fs/afs/flock.c return afs_do_setlk(file, fl);
file 53 fs/afs/mntpt.c struct file file = {
file 65 fs/afs/mntpt.c page = read_mapping_page(AFS_VNODE_TO_I(vnode)->i_mapping, 0, &file);
file 125 fs/afs/mntpt.c inode, file,
file 126 fs/afs/mntpt.c file->f_path.dentry->d_parent,
file 127 fs/afs/mntpt.c file->f_path.dentry->d_parent ?
file 128 fs/afs/mntpt.c file->f_path.dentry->d_parent->d_name.name :
file 130 fs/afs/mntpt.c file->f_path.dentry->d_name.name);
file 189 fs/afs/proc.c ret = seq_open(file, &afs_proc_cells_ops);
file 193 fs/afs/proc.c m = file->private_data;
file 456 fs/afs/proc.c ret = seq_open(file, &afs_proc_cell_volumes_ops);
file 460 fs/afs/proc.c m = file->private_data;
file 471 fs/afs/proc.c return seq_release(inode, file);
file 562 fs/afs/proc.c ret = seq_open(file, &afs_proc_cell_vlservers_ops);
file 566 fs/afs/proc.c m = file->private_data;
file 578 fs/afs/proc.c return seq_release(inode, file);
file 667 fs/afs/proc.c ret = seq_open(file, &afs_proc_cell_servers_ops);
file 671 fs/afs/proc.c m = file->private_data;
file 682 fs/afs/proc.c return seq_release(inode, file);
file 182 fs/afs/write.c struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode);
file 183 fs/afs/write.c struct key *key = file->private_data;
file 295 fs/afs/write.c struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode);
file 1335 fs/aio.c struct file *file = iocb->ki_filp;
file 1336 fs/aio.c struct address_space *mapping = file->f_mapping;
file 1345 fs/aio.c rw_op = file->f_op->aio_read;
file 1348 fs/aio.c rw_op = file->f_op->aio_write;
file 1386 fs/aio.c struct file *file = iocb->ki_filp;
file 1389 fs/aio.c if (file->f_op->aio_fsync)
file 1390 fs/aio.c ret = file->f_op->aio_fsync(iocb, 1);
file 1396 fs/aio.c struct file *file = iocb->ki_filp;
file 1399 fs/aio.c if (file->f_op->aio_fsync)
file 1400 fs/aio.c ret = file->f_op->aio_fsync(iocb, 0);
file 1442 fs/aio.c struct file *file = kiocb->ki_filp;
file 1448 fs/aio.c if (unlikely(!(file->f_mode & FMODE_READ)))
file 1454 fs/aio.c ret = security_file_permission(file, MAY_READ);
file 1461 fs/aio.c if (file->f_op->aio_read)
file 1466 fs/aio.c if (unlikely(!(file->f_mode & FMODE_WRITE)))
file 1472 fs/aio.c ret = security_file_permission(file, MAY_WRITE);
file 1479 fs/aio.c if (file->f_op->aio_write)
file 1484 fs/aio.c if (unlikely(!(file->f_mode & FMODE_READ)))
file 1486 fs/aio.c ret = security_file_permission(file, MAY_READ);
file 1493 fs/aio.c if (file->f_op->aio_read)
file 1498 fs/aio.c if (unlikely(!(file->f_mode & FMODE_WRITE)))
file 1500 fs/aio.c ret = security_file_permission(file, MAY_WRITE);
file 1507 fs/aio.c if (file->f_op->aio_write)
file 1512 fs/aio.c if (file->f_op->aio_fsync)
file 1517 fs/aio.c if (file->f_op->aio_fsync)
file 1560 fs/aio.c struct file *file;
file 1579 fs/aio.c file = fget(iocb->aio_fildes);
file 1580 fs/aio.c if (unlikely(!file))
file 1585 fs/aio.c fput(file);
file 1588 fs/aio.c req->ki_filp = file;
file 76 fs/anon_inodes.c struct file *file;
file 112 fs/anon_inodes.c file = alloc_file(anon_inode_mnt, dentry,
file 114 fs/anon_inodes.c if (!file)
file 116 fs/anon_inodes.c file->f_mapping = anon_inode_inode->i_mapping;
file 118 fs/anon_inodes.c file->f_pos = 0;
file 119 fs/anon_inodes.c file->f_flags = O_RDWR | (flags & O_NONBLOCK);
file 120 fs/anon_inodes.c file->f_version = 0;
file 121 fs/anon_inodes.c file->private_data = priv;
file 123 fs/anon_inodes.c fd_install(fd, file);
file 103 fs/autofs/autofs_i.h struct file *pipe;
file 138 fs/autofs/inode.c struct file * pipe;
file 64 fs/autofs/waitq.c (wr = file->f_op->write(file,data,bytes,&file->f_pos)) > 0) {
file 102 fs/autofs4/autofs_i.h struct file *pipe;
file 319 fs/autofs4/inode.c struct file * pipe;
file 77 fs/autofs4/root.c struct dentry *dentry = file->f_path.dentry;
file 81 fs/autofs4/root.c file, dentry, dentry->d_name.len, dentry->d_name.name);
file 103 fs/autofs4/root.c return dcache_dir_open(inode, file);
file 75 fs/autofs4/waitq.c (wr = file->f_op->write(file,data,bytes,&file->f_pos)) > 0) {
file 103 fs/autofs4/waitq.c struct file *pipe = NULL;
file 173 fs/bfs/file.c return block_write_begin(file, mapping, pos, len, flags,
file 69 fs/binfmt_aout.c return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
file 73 fs/binfmt_aout.c if (!dump_write(file, (void *)(addr), (nr))) \
file 77 fs/binfmt_aout.c if (file->f_op->llseek) { \
file 78 fs/binfmt_aout.c if (file->f_op->llseek(file,(offset),0) != (offset)) \
file 80 fs/binfmt_aout.c } else file->f_pos = (offset)
file 274 fs/binfmt_aout.c i_size_read(bprm->file->f_path.dentry->d_inode) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) {
file 282 fs/binfmt_aout.c if (!bprm->file->f_op || !bprm->file->f_op->mmap)
file 333 fs/binfmt_aout.c bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex),
file 338 fs/binfmt_aout.c bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex),
file 365 fs/binfmt_aout.c error = bprm->file->f_op->read(bprm->file,
file 385 fs/binfmt_aout.c bprm->file->f_path.dentry->d_name.name);
file 388 fs/binfmt_aout.c if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) {
file 393 fs/binfmt_aout.c bprm->file->f_op->read(bprm->file,
file 403 fs/binfmt_aout.c error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text,
file 415 fs/binfmt_aout.c error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data,
file 458 fs/binfmt_aout.c inode = file->f_path.dentry->d_inode;
file 461 fs/binfmt_aout.c error = kernel_read(file, 0, (char *) &ex, sizeof(ex));
file 476 fs/binfmt_aout.c if (!file->f_op || !file->f_op->mmap)
file 494 fs/binfmt_aout.c file->f_path.dentry->d_name.name);
file 500 fs/binfmt_aout.c file->f_op->read(file, (char __user *)start_addr,
file 510 fs/binfmt_aout.c error = do_mmap(file, start_addr, ex.a_text + ex.a_data,
file 560 fs/binfmt_elf.c struct file *interpreter = NULL; /* to shut gcc up */
file 599 fs/binfmt_elf.c if (!bprm->file->f_op||!bprm->file->f_op->mmap)
file 614 fs/binfmt_elf.c retval = kernel_read(bprm->file, loc->elf_ex.e_phoff,
file 625 fs/binfmt_elf.c get_file(bprm->file);
file 626 fs/binfmt_elf.c fd_install(elf_exec_fileno = retval, bprm->file);
file 654 fs/binfmt_elf.c retval = kernel_read(bprm->file, elf_ppnt->p_offset,
file 834 fs/binfmt_elf.c error = elf_map(bprm->file, load_bias + vaddr, elf_ppnt,
file 1037 fs/binfmt_elf.c retval = kernel_read(file, 0, (char *)&elf_ex, sizeof(elf_ex));
file 1046 fs/binfmt_elf.c !elf_check_arch(&elf_ex) || !file->f_op || !file->f_op->mmap)
file 1061 fs/binfmt_elf.c retval = kernel_read(file, elf_ex.e_phoff, (char *)eppnt, j);
file 1076 fs/binfmt_elf.c error = do_mmap(file,
file 1128 fs/binfmt_elf.c return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
file 1133 fs/binfmt_elf.c if (file->f_op->llseek && file->f_op->llseek != no_llseek) {
file 1134 fs/binfmt_elf.c if (file->f_op->llseek(file, off, SEEK_CUR) < 0)
file 1144 fs/binfmt_elf.c if (!dump_write(file, buf, n))
file 1239 fs/binfmt_elf.c do { if (!dump_write(file, (addr), (nr))) return 0; *foffset += (nr); } while(0)
file 1258 fs/binfmt_elf.c if (!alignfile(file, foffset))
file 1261 fs/binfmt_elf.c if (!alignfile(file, foffset))
file 1269 fs/binfmt_elf.c if ((size += (nr)) > limit || !dump_write(file, (addr), (nr))) \
file 1272 fs/binfmt_elf.c if (!dump_seek(file, (off))) \
file 1600 fs/binfmt_elf.c if (!writenote(&t->notes[0], file, foffset))
file 1603 fs/binfmt_elf.c if (first && !writenote(&info->psinfo, file, foffset))
file 1605 fs/binfmt_elf.c if (first && !writenote(&info->auxv, file, foffset))
file 1610 fs/binfmt_elf.c !writenote(&t->notes[i], file, foffset))
file 1821 fs/binfmt_elf.c if (!writenote(info->notes + i, file, foffset))
file 1830 fs/binfmt_elf.c if (!writenote(&tmp->notes[i], file, foffset))
file 1994 fs/binfmt_elf.c if (!write_note_info(&info, file, &foffset))
file 1997 fs/binfmt_elf.c if (elf_coredump_extra_notes_write(file, &foffset))
file 2019 fs/binfmt_elf.c if (!dump_seek(file, PAGE_SIZE)) {
file 2029 fs/binfmt_elf.c !dump_write(file, kaddr,
file 111 fs/binfmt_elf_fdpic.c if (!file->f_op || !file->f_op->mmap)
file 137 fs/binfmt_elf_fdpic.c retval = kernel_read(file, params->hdr.e_phoff,
file 176 fs/binfmt_elf_fdpic.c struct file *interpreter = NULL; /* to shut gcc up */
file 191 fs/binfmt_elf_fdpic.c if (!is_elf_fdpic(&exec_params.hdr, bprm->file))
file 195 fs/binfmt_elf_fdpic.c retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file);
file 217 fs/binfmt_elf_fdpic.c retval = kernel_read(bprm->file,
file 345 fs/binfmt_elf_fdpic.c retval = elf_fdpic_map_file(&exec_params, bprm->file, current->mm,
file 739 fs/binfmt_elf_fdpic.c ret = elf_fdpic_map_file_constdisp_on_uclinux(params, file, mm);
file 745 fs/binfmt_elf_fdpic.c ret = elf_fdpic_map_file_by_direct_mmap(params, file, mm);
file 870 fs/binfmt_elf_fdpic.c what, file->f_path.dentry->d_inode->i_ino);
file 933 fs/binfmt_elf_fdpic.c ret = file->f_op->read(file, (void *) seg->addr,
file 1058 fs/binfmt_elf_fdpic.c maddr = do_mmap(file, maddr, phdr->p_memsz + disp, prot, flags,
file 1167 fs/binfmt_elf_fdpic.c return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
file 1172 fs/binfmt_elf_fdpic.c if (file->f_op->llseek) {
file 1173 fs/binfmt_elf_fdpic.c if (file->f_op->llseek(file, off, SEEK_SET) != off)
file 1176 fs/binfmt_elf_fdpic.c file->f_pos = off;
file 1260 fs/binfmt_elf_fdpic.c do { if (!dump_write(file, (addr), (nr))) return 0; } while(0)
file 1262 fs/binfmt_elf_fdpic.c do { if (!dump_seek(file, (off))) return 0; } while(0)
file 1275 fs/binfmt_elf_fdpic.c DUMP_SEEK(roundup((unsigned long)file->f_pos, 4)); /* XXX */
file 1277 fs/binfmt_elf_fdpic.c DUMP_SEEK(roundup((unsigned long)file->f_pos, 4)); /* XXX */
file 1285 fs/binfmt_elf_fdpic.c if ((size += (nr)) > limit || !dump_write(file, (addr), (nr))) \
file 1288 fs/binfmt_elf_fdpic.c if (!dump_seek(file, (off))) \
file 1493 fs/binfmt_elf_fdpic.c DUMP_SEEK(file->f_pos + PAGE_SIZE);
file 1497 fs/binfmt_elf_fdpic.c DUMP_SEEK(file->f_pos + PAGE_SIZE);
file 1505 fs/binfmt_elf_fdpic.c !dump_write(file, kaddr, PAGE_SIZE)
file 1542 fs/binfmt_elf_fdpic.c if (!dump_write(file, (void *) vma->vm_start,
file 1769 fs/binfmt_elf_fdpic.c if (!writenote(notes + i, file))
file 1778 fs/binfmt_elf_fdpic.c if (!writenote(&tmp->notes[i], file))
file 1784 fs/binfmt_elf_fdpic.c if (elf_fdpic_dump_segments(file, &size, &limit, mm_flags) < 0)
file 1791 fs/binfmt_elf_fdpic.c if (file->f_pos != offset) {
file 1795 fs/binfmt_elf_fdpic.c file->f_pos, offset);
file 29 fs/binfmt_em86.c struct file * file;
file 42 fs/binfmt_em86.c (!bprm->file->f_op || !bprm->file->f_op->mmap)) {
file 47 fs/binfmt_em86.c allow_write_access(bprm->file);
file 48 fs/binfmt_em86.c fput(bprm->file);
file 49 fs/binfmt_em86.c bprm->file = NULL;
file 84 fs/binfmt_em86.c file = open_exec(interp);
file 85 fs/binfmt_em86.c if (IS_ERR(file))
file 86 fs/binfmt_em86.c return PTR_ERR(file);
file 88 fs/binfmt_em86.c bprm->file = file;
file 197 fs/binfmt_flat.c ret = bprm->file->f_op->read(bprm->file, buf, LBUFSIZE, &fpos);
file 267 fs/binfmt_flat.c ret = bprm->file->f_op->read(bprm->file, buf, LBUFSIZE, &fpos);
file 430 fs/binfmt_flat.c inode = bprm->file->f_path.dentry->d_inode;
file 534 fs/binfmt_flat.c textpos = do_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC,
file 581 fs/binfmt_flat.c result = bprm->file->f_op->read(bprm->file, (char *) datapos,
file 640 fs/binfmt_flat.c result = bprm->file->f_op->read(bprm->file,
file 650 fs/binfmt_flat.c result = bprm->file->f_op->read(bprm->file,
file 654 fs/binfmt_flat.c result = bprm->file->f_op->read(bprm->file, (char *) datapos,
file 822 fs/binfmt_flat.c bprm.file = open_exec(bprm.filename);
file 823 fs/binfmt_flat.c res = PTR_ERR(bprm.file);
file 824 fs/binfmt_flat.c if (IS_ERR(bprm.file))
file 831 fs/binfmt_flat.c if (bprm.file) {
file 832 fs/binfmt_flat.c allow_write_access(bprm.file);
file 833 fs/binfmt_flat.c fput(bprm.file);
file 834 fs/binfmt_flat.c bprm.file = NULL;
file 109 fs/binfmt_misc.c struct file * interp_file = NULL;
file 148 fs/binfmt_misc.c fd_install(fd_binary, bprm->file);
file 152 fs/binfmt_misc.c if (file_permission(bprm->file, MAY_READ))
file 155 fs/binfmt_misc.c allow_write_access(bprm->file);
file 156 fs/binfmt_misc.c bprm->file = NULL;
file 163 fs/binfmt_misc.c allow_write_access(bprm->file);
file 164 fs/binfmt_misc.c fput(bprm->file);
file 165 fs/binfmt_misc.c bprm->file = NULL;
file 186 fs/binfmt_misc.c bprm->file = interp_file;
file 193 fs/binfmt_misc.c retval = kernel_read(bprm->file, 0, bprm->buf, BINPRM_BUF_SIZE);
file 538 fs/binfmt_misc.c Node *e = file->f_path.dentry->d_inode->i_private;
file 557 fs/binfmt_misc.c Node *e = file->f_path.dentry->d_inode->i_private;
file 565 fs/binfmt_misc.c case 3: root = dget(file->f_path.mnt->mnt_sb->s_root);
file 591 fs/binfmt_misc.c struct super_block *sb = file->f_path.mnt->mnt_sb;
file 669 fs/binfmt_misc.c case 3: root = dget(file->f_path.mnt->mnt_sb->s_root);
file 21 fs/binfmt_script.c struct file *file;
file 33 fs/binfmt_script.c allow_write_access(bprm->file);
file 34 fs/binfmt_script.c fput(bprm->file);
file 35 fs/binfmt_script.c bprm->file = NULL;
file 89 fs/binfmt_script.c file = open_exec(interp);
file 90 fs/binfmt_script.c if (IS_ERR(file))
file 91 fs/binfmt_script.c return PTR_ERR(file);
file 93 fs/binfmt_script.c bprm->file = file;
file 151 fs/binfmt_som.c retval = do_mmap(file, code_start, code_size, prot,
file 162 fs/binfmt_som.c retval = do_mmap(file, data_start, data_size,
file 215 fs/binfmt_som.c retval = kernel_read(bprm->file, som_ex->aux_header_location,
file 226 fs/binfmt_som.c get_file(bprm->file);
file 227 fs/binfmt_som.c fd_install(som_exec_fileno = retval, bprm->file);
file 250 fs/binfmt_som.c retval = map_som_binary(bprm->file, hpuxhdr);
file 170 fs/block_dev.c struct file *file = iocb->ki_filp;
file 171 fs/block_dev.c struct inode *inode = file->f_mapping->host;
file 192 fs/block_dev.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 201 fs/block_dev.c ret = block_write_end(file, mapping, pos, len, copied, page, fsdata);
file 216 fs/block_dev.c struct inode *bd_inode = file->f_mapping->host;
file 228 fs/block_dev.c offset += file->f_pos;
file 232 fs/block_dev.c if (offset != file->f_pos) {
file 233 fs/block_dev.c file->f_pos = offset;
file 997 fs/block_dev.c if (file->f_mode & FMODE_READ)
file 999 fs/block_dev.c if (file->f_mode & FMODE_WRITE)
file 1011 fs/block_dev.c file->f_mapping = bdev->bd_inode->i_mapping;
file 1030 fs/block_dev.c ret = disk->fops->open(bdev->bd_inode, file);
file 1050 fs/block_dev.c ret = __blkdev_get(whole, file->f_mode, file->f_flags, 1);
file 1071 fs/block_dev.c ret = bdev->bd_disk->fops->open(bdev->bd_inode, file);
file 1116 fs/block_dev.c struct file fake_file = {};
file 1220 fs/block_dev.c return blkdev_ioctl(file->f_mapping->host, file, cmd, arg);
file 2068 fs/buffer.c copied = block_write_end(file, mapping, pos, len, copied, page, fsdata);
file 2295 fs/buffer.c err = pagecache_write_begin(file, mapping, curpos, len,
file 2301 fs/buffer.c err = pagecache_write_end(file, mapping, curpos, len, len,
file 2324 fs/buffer.c err = pagecache_write_begin(file, mapping, curpos, len,
file 2330 fs/buffer.c err = pagecache_write_end(file, mapping, curpos, len, len,
file 2355 fs/buffer.c err = cont_expand_zero(file, mapping, pos, bytes);
file 2366 fs/buffer.c err = block_write_begin(file, mapping, pos, len,
file 2507 fs/buffer.c return block_write_begin(file, mapping, pos, len, flags, pagep,
file 2631 fs/buffer.c return generic_write_end(file, mapping, pos, len,
file 220 fs/cifs/cifs_debug.c return single_open(file, cifs_debug_data_proc_show, NULL);
file 354 fs/cifs/cifs_debug.c return single_open(file, cifs_stats_proc_show, NULL);
file 434 fs/cifs/cifs_debug.c return single_open(file, cifsFYI_proc_show, NULL);
file 473 fs/cifs/cifs_debug.c return single_open(file, cifs_oplock_proc_show, NULL);
file 510 fs/cifs/cifs_debug.c return single_open(file, cifs_experimental_proc_show, NULL);
file 549 fs/cifs/cifs_debug.c return single_open(file, cifs_linux_ext_proc_show, NULL);
file 586 fs/cifs/cifs_debug.c return single_open(file, cifs_lookup_cache_proc_show, NULL);
file 623 fs/cifs/cifs_debug.c return single_open(file, traceSMB_proc_show, NULL);
file 697 fs/cifs/cifs_debug.c return single_open(file, cifs_security_flags_proc_show, NULL);
file 611 fs/cifs/cifsfs.c CIFS_I(file->f_path.dentry->d_inode)->time = 0;
file 613 fs/cifs/cifsfs.c retval = cifs_revalidate(file->f_path.dentry);
file 617 fs/cifs/cifsfs.c return generic_file_llseek_unlocked(file, offset, origin);
file 329 fs/cifs/cifsglob.h struct file *pfile; /* needed for writepage */
file 446 fs/cifs/cifsglob.h struct file *pfile;
file 82 fs/cifs/fcntl.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 85 fs/cifs/fcntl.c full_path = build_path_from_dentry(file->f_path.dentry);
file 103 fs/cifs/fcntl.c filter, file, arg & DN_MULTISHOT,
file 52 fs/cifs/file.c private_data->pfile = file; /* needed for writepage */
file 111 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
file 129 fs/cifs/file.c if (timespec_equal(&file->f_path.dentry->d_inode->i_mtime, &temp) &&
file 130 fs/cifs/file.c (file->f_path.dentry->d_inode->i_size ==
file 134 fs/cifs/file.c if (file->f_path.dentry->d_inode->i_mapping) {
file 137 fs/cifs/file.c rc = filemap_write_and_wait(file->f_path.dentry->d_inode->i_mapping);
file 139 fs/cifs/file.c CIFS_I(file->f_path.dentry->d_inode)->write_behind_rc = rc;
file 143 fs/cifs/file.c invalidate_remote_inode(file->f_path.dentry->d_inode);
file 148 fs/cifs/file.c rc = cifs_get_inode_info_unix(&file->f_path.dentry->d_inode,
file 151 fs/cifs/file.c rc = cifs_get_inode_info(&file->f_path.dentry->d_inode,
file 158 fs/cifs/file.c file->f_path.dentry->d_inode));
file 185 fs/cifs/file.c if (file->f_flags & O_CREAT) {
file 187 fs/cifs/file.c pCifsInode = CIFS_I(file->f_path.dentry->d_inode);
file 197 fs/cifs/file.c pCifsFile->pfile = file;
file 199 fs/cifs/file.c file->private_data = pCifsFile;
file 204 fs/cifs/file.c if (file->private_data != NULL) {
file 209 fs/cifs/file.c if (file->f_flags & O_EXCL)
file 211 fs/cifs/file.c "new file %p", file));
file 215 fs/cifs/file.c full_path = build_path_from_dentry(file->f_path.dentry);
file 222 fs/cifs/file.c inode, file->f_flags, full_path));
file 223 fs/cifs/file.c desiredAccess = cifs_convert_flags(file->f_flags);
file 249 fs/cifs/file.c disposition = cifs_get_disposition(file->f_flags);
file 290 fs/cifs/file.c file->private_data =
file 292 fs/cifs/file.c if (file->private_data == NULL) {
file 296 fs/cifs/file.c pCifsFile = cifs_init_private(file->private_data, inode, file, netfid);
file 300 fs/cifs/file.c pCifsInode = CIFS_I(file->f_path.dentry->d_inode);
file 302 fs/cifs/file.c rc = cifs_open_inode_helper(inode, file, pCifsInode,
file 361 fs/cifs/file.c if (file->private_data)
file 362 fs/cifs/file.c pCifsFile = (struct cifsFileInfo *)file->private_data;
file 374 fs/cifs/file.c if (file->f_path.dentry == NULL) {
file 381 fs/cifs/file.c inode = file->f_path.dentry->d_inode;
file 396 fs/cifs/file.c full_path = build_path_from_dentry(file->f_path.dentry);
file 406 fs/cifs/file.c inode, file->f_flags, full_path));
file 407 fs/cifs/file.c desiredAccess = cifs_convert_flags(file->f_flags);
file 459 fs/cifs/file.c file->f_path.dentry->d_inode));
file 483 fs/cifs/file.c (struct cifsFileInfo *)file->private_data;
file 550 fs/cifs/file.c kfree(file->private_data);
file 551 fs/cifs/file.c file->private_data = NULL;
file 575 fs/cifs/file.c (struct cifsFileInfo *)file->private_data;
file 585 fs/cifs/file.c CIFS_SB(file->f_path.dentry->d_sb);
file 608 fs/cifs/file.c kfree(file->private_data);
file 609 fs/cifs/file.c file->private_data = NULL;
file 693 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 696 fs/cifs/file.c if (file->private_data == NULL) {
file 700 fs/cifs/file.c netfid = ((struct cifsFileInfo *)file->private_data)->netfid;
file 768 fs/cifs/file.c (struct cifsFileInfo *)file->private_data;
file 808 fs/cifs/file.c posix_lock_file_wait(file, pfLock);
file 824 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 832 fs/cifs/file.c if (file->private_data == NULL)
file 834 fs/cifs/file.c open_file = (struct cifsFileInfo *) file->private_data;
file 836 fs/cifs/file.c rc = generic_write_checks(file, poffset, &write_size, 0);
file 842 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size)
file 851 fs/cifs/file.c if (file->private_data == NULL) {
file 871 fs/cifs/file.c rc = cifs_reopen_file(file, false);
file 899 fs/cifs/file.c if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) {
file 900 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 906 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size)
file 907 fs/cifs/file.c i_size_write(file->f_path.dentry->d_inode,
file 911 fs/cifs/file.c mark_inode_dirty_sync(file->f_path.dentry->d_inode);
file 928 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 933 fs/cifs/file.c *poffset, file->f_path.dentry->d_name.name));
file 935 fs/cifs/file.c if (file->private_data == NULL)
file 937 fs/cifs/file.c open_file = (struct cifsFileInfo *)file->private_data;
file 941 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size)
file 950 fs/cifs/file.c if (file->private_data == NULL) {
file 971 fs/cifs/file.c rc = cifs_reopen_file(file, false);
file 1017 fs/cifs/file.c if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) {
file 1022 fs/cifs/file.c spin_lock(&file->f_path.dentry->d_inode->i_lock);
file 1023 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size)
file 1024 fs/cifs/file.c i_size_write(file->f_path.dentry->d_inode,
file 1026 fs/cifs/file.c spin_unlock(&file->f_path.dentry->d_inode->i_lock);
file 1028 fs/cifs/file.c mark_inode_dirty_sync(file->f_path.dentry->d_inode);
file 1483 fs/cifs/file.c rc = cifs_write(file, page_data + offset, copied, &pos);
file 1511 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1561 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1580 fs/cifs/file.c cFYI(1, ("Flush inode %p file %p rc %d", inode, file, rc));
file 1601 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 1604 fs/cifs/file.c if (file->private_data == NULL) {
file 1608 fs/cifs/file.c open_file = (struct cifsFileInfo *)file->private_data;
file 1610 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) == O_WRONLY)
file 1624 fs/cifs/file.c rc = cifs_reopen_file(file, true);
file 1681 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 1684 fs/cifs/file.c if (file->private_data == NULL) {
file 1688 fs/cifs/file.c open_file = (struct cifsFileInfo *)file->private_data;
file 1690 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) == O_WRONLY)
file 1709 fs/cifs/file.c rc = cifs_reopen_file(file, true);
file 1737 fs/cifs/file.c struct dentry *dentry = file->f_path.dentry;
file 1747 fs/cifs/file.c rc = generic_file_mmap(file, vma);
file 1818 fs/cifs/file.c if (file->private_data == NULL) {
file 1822 fs/cifs/file.c open_file = (struct cifsFileInfo *)file->private_data;
file 1823 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 1866 fs/cifs/file.c rc = cifs_reopen_file(file, true);
file 1953 fs/cifs/file.c rc = cifs_read(file, read_data, PAGE_CACHE_SIZE, poffset);
file 1960 fs/cifs/file.c file->f_path.dentry->d_inode->i_atime =
file 1961 fs/cifs/file.c current_fs_time(file->f_path.dentry->d_inode->i_sb);
file 1984 fs/cifs/file.c if (file->private_data == NULL) {
file 1992 fs/cifs/file.c rc = cifs_readpage_worker(file, page, &offset);
file 2070 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
file 2074 fs/cifs/file.c rc = cifs_readpage_worker(file, *pagep, &offset);
file 39 fs/cifs/readdir.c if (file) {
file 40 fs/cifs/readdir.c cf = file->private_data;
file 70 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 74 fs/cifs/readdir.c tmp_dentry = d_lookup(file->f_path.dentry, qstring);
file 81 fs/cifs/readdir.c *ptmp_inode = new_inode(file->f_path.dentry->d_sb);
file 86 fs/cifs/readdir.c if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME)
file 89 fs/cifs/readdir.c tmp_dentry = d_alloc(file->f_path.dentry, qstring);
file 96 fs/cifs/readdir.c *ptmp_inode = new_inode(file->f_path.dentry->d_sb);
file 103 fs/cifs/readdir.c if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME)
file 449 fs/cifs/readdir.c if (file->private_data == NULL) {
file 450 fs/cifs/readdir.c file->private_data =
file 454 fs/cifs/readdir.c if (file->private_data == NULL)
file 456 fs/cifs/readdir.c cifsFile = file->private_data;
file 460 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 468 fs/cifs/readdir.c full_path = build_path_from_dentry(file->f_path.dentry);
file 473 fs/cifs/readdir.c cFYI(1, ("Full path: %s start at: %lld", full_path, file->f_pos));
file 633 fs/cifs/readdir.c struct inode *inode = file->f_path.dentry->d_inode;
file 719 fs/cifs/readdir.c loff_t index_to_find = file->f_pos;
file 720 fs/cifs/readdir.c struct cifsFileInfo *cifsFile = file->private_data;
file 738 fs/cifs/readdir.c dump_cifs_file_struct(file, "In fce ");
file 740 fs/cifs/readdir.c is_dir_changed(file)) ||
file 759 fs/cifs/readdir.c rc = initiate_cifs_search(xid, file);
file 914 fs/cifs/readdir.c if ((direntry == NULL) || (file == NULL))
file 917 fs/cifs/readdir.c pCifsF = file->private_data;
file 927 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 939 fs/cifs/readdir.c rc = construct_dentry(&qstring, file, &tmp_inode, &tmp_dentry);
file 973 fs/cifs/readdir.c rc = filldir(direntry, qstring.name, qstring.len, file->f_pos,
file 1003 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
file 1008 fs/cifs/readdir.c switch ((int) file->f_pos) {
file 1010 fs/cifs/readdir.c if (filldir(direntry, ".", 1, file->f_pos,
file 1011 fs/cifs/readdir.c file->f_path.dentry->d_inode->i_ino, DT_DIR) < 0) {
file 1016 fs/cifs/readdir.c file->f_pos++;
file 1018 fs/cifs/readdir.c if (filldir(direntry, "..", 2, file->f_pos,
file 1019 fs/cifs/readdir.c file->f_path.dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) {
file 1024 fs/cifs/readdir.c file->f_pos++;
file 1031 fs/cifs/readdir.c if (file->private_data == NULL) {
file 1032 fs/cifs/readdir.c rc = initiate_cifs_search(xid, file);
file 1039 fs/cifs/readdir.c if (file->private_data == NULL) {
file 1044 fs/cifs/readdir.c cifsFile = file->private_data;
file 1056 fs/cifs/readdir.c rc = find_cifs_entry(xid, pTcon, file,
file 1062 fs/cifs/readdir.c cFYI(1, ("entry %lld found", file->f_pos));
file 1087 fs/cifs/readdir.c rc = cifs_filldir(current_entry, file,
file 1094 fs/cifs/readdir.c file->f_pos++;
file 1095 fs/cifs/readdir.c if (file->f_pos ==
file 1098 fs/cifs/readdir.c file->f_pos, tmp_buf));
file 432 fs/coda/dir.c struct file *host_file;
file 494 fs/coda/dir.c struct file *host_file;
file 32 fs/coda/file.c struct file *host_file;
file 50 fs/coda/file.c struct file *host_file;
file 67 fs/coda/file.c struct file *host_file;
file 95 fs/coda/file.c struct file *host_file;
file 126 fs/coda/file.c struct file *host_file = NULL;
file 202 fs/coda/file.c struct file *host_file;
file 103 fs/coda/inode.c struct file *file;
file 117 fs/coda/inode.c file = fget(data->fd);
file 119 fs/coda/inode.c if(file)
file 120 fs/coda/inode.c inode = file->f_path.dentry->d_inode;
file 124 fs/coda/inode.c if(file)
file 125 fs/coda/inode.c fput(file);
file 132 fs/coda/inode.c fput(file);
file 65 fs/coda/psdev.c struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file 68 fs/coda/psdev.c poll_wait(file, &vcp->vc_waitq, wait);
file 98 fs/coda/psdev.c struct venus_comm *vcp = (struct venus_comm *) file->private_data;
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 292 fs/coda/psdev.c file->private_data = vcp;
file 303 fs/coda/psdev.c struct venus_comm *vcp = (struct venus_comm *) file->private_data;
file 334 fs/coda/psdev.c file->private_data = NULL;
file 255 fs/compat.c struct file * file;
file 260 fs/compat.c file = fget(fd);
file 261 fs/compat.c if (!file)
file 263 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp);
file 266 fs/compat.c fput(file);
file 323 fs/compat.c struct file * file;
file 331 fs/compat.c file = fget(fd);
file 332 fs/compat.c if (!file)
file 334 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp);
file 337 fs/compat.c fput(file);
file 821 fs/compat.c struct file *file;
file 825 fs/compat.c file = fget(fd);
file 826 fs/compat.c if (!file)
file 832 fs/compat.c error = vfs_readdir(file, compat_fillonedir, &buf);
file 836 fs/compat.c fput(file);
file 900 fs/compat.c struct file * file;
file 910 fs/compat.c file = fget(fd);
file 911 fs/compat.c if (!file)
file 919 fs/compat.c error = vfs_readdir(file, compat_filldir, &buf);
file 925 fs/compat.c if (put_user(file->f_pos, &lastdirent->d_off))
file 932 fs/compat.c fput(file);
file 991 fs/compat.c struct file * file;
file 1001 fs/compat.c file = fget(fd);
file 1002 fs/compat.c if (!file)
file 1010 fs/compat.c error = vfs_readdir(file, compat_filldir64, &buf);
file 1016 fs/compat.c typeof(lastdirent->d_off) d_off = file->f_pos;
file 1024 fs/compat.c fput(file);
file 1058 fs/compat.c if (!file->f_op)
file 1105 fs/compat.c ret = rw_verify_area(type, file, pos, tot_len);
file 1111 fs/compat.c fn = file->f_op->read;
file 1112 fs/compat.c fnv = file->f_op->aio_read;
file 1114 fs/compat.c fn = (io_fn_t)file->f_op->write;
file 1115 fs/compat.c fnv = file->f_op->aio_write;
file 1119 fs/compat.c ret = do_sync_readv_writev(file, iov, nr_segs, tot_len,
file 1122 fs/compat.c ret = do_loop_readv_writev(file, iov, nr_segs, pos, fn);
file 1128 fs/compat.c struct dentry *dentry = file->f_path.dentry;
file 1140 fs/compat.c struct file *file;
file 1143 fs/compat.c file = fget(fd);
file 1144 fs/compat.c if (!file)
file 1147 fs/compat.c if (!(file->f_mode & FMODE_READ))
file 1151 fs/compat.c if (!file->f_op || (!file->f_op->aio_read && !file->f_op->read))
file 1154 fs/compat.c ret = compat_do_readv_writev(READ, file, vec, vlen, &file->f_pos);
file 1157 fs/compat.c fput(file);
file 1164 fs/compat.c struct file *file;
file 1167 fs/compat.c file = fget(fd);
file 1168 fs/compat.c if (!file)
file 1170 fs/compat.c if (!(file->f_mode & FMODE_WRITE))
file 1174 fs/compat.c if (!file->f_op || (!file->f_op->aio_write && !file->f_op->write))
file 1177 fs/compat.c ret = compat_do_readv_writev(WRITE, file, vec, vlen, &file->f_pos);
file 1180 fs/compat.c fput(file);
file 1355 fs/compat.c struct file *file;
file 1363 fs/compat.c file = open_exec(filename);
file 1364 fs/compat.c retval = PTR_ERR(file);
file 1365 fs/compat.c if (IS_ERR(file))
file 1370 fs/compat.c bprm->file = file;
file 1425 fs/compat.c if (bprm->file) {
file 1426 fs/compat.c allow_write_access(bprm->file);
file 1427 fs/compat.c fput(bprm->file);
file 1046 fs/compat_ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 1049 fs/compat_ioctl.c if (file->f_op->unlocked_ioctl != tty_ioctl)
file 1052 fs/compat_ioctl.c tty = (struct tty_struct *)file->private_data;
file 1085 fs/compat_ioctl.c perm = vt_check(file);
file 1137 fs/compat_ioctl.c int perm = vt_check(file), i;
file 1148 fs/compat_ioctl.c vc = ((struct tty_struct *)file->private_data)->driver_data;
file 1167 fs/compat_ioctl.c int perm = vt_check(file);
file 1178 fs/compat_ioctl.c vc = ((struct tty_struct *)file->private_data)->driver_data;
file 2771 fs/compat_ioctl.c struct file *filp;
file 1421 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry;
file 1432 fs/configfs/dir.c file->private_data = configfs_new_dirent(parent_sd, NULL);
file 1433 fs/configfs/dir.c if (IS_ERR(file->private_data))
file 1434 fs/configfs/dir.c err = PTR_ERR(file->private_data);
file 1445 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry;
file 1446 fs/configfs/dir.c struct configfs_dirent * cursor = file->private_data;
file 1528 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry;
file 1533 fs/configfs/dir.c offset += file->f_pos;
file 1538 fs/configfs/dir.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex);
file 1541 fs/configfs/dir.c if (offset != file->f_pos) {
file 1542 fs/configfs/dir.c file->f_pos = offset;
file 1543 fs/configfs/dir.c if (file->f_pos >= 2) {
file 1545 fs/configfs/dir.c struct configfs_dirent *cursor = file->private_data;
file 1547 fs/configfs/dir.c loff_t n = file->f_pos - 2;
file 109 fs/configfs/file.c struct configfs_buffer * buffer = file->private_data;
file 114 fs/configfs/file.c if ((retval = fill_read_buffer(file->f_path.dentry,buffer)))
file 200 fs/configfs/file.c struct configfs_buffer * buffer = file->private_data;
file 206 fs/configfs/file.c len = flush_write_buffer(file->f_path.dentry, buffer, count);
file 215 fs/configfs/file.c struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent);
file 216 fs/configfs/file.c struct configfs_attribute * attr = to_attr(file->f_path.dentry);
file 239 fs/configfs/file.c if (file->f_mode & FMODE_WRITE) {
file 250 fs/configfs/file.c if (file->f_mode & FMODE_READ) {
file 266 fs/configfs/file.c file->private_data = buffer;
file 2335 fs/dcache.c filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0,
file 37 fs/debugfs/file.c file->private_data = inode->i_private;
file 301 fs/debugfs/file.c u32 *val = file->private_data;
file 317 fs/debugfs/file.c u32 *val = file->private_data;
file 379 fs/debugfs/file.c struct debugfs_blob_wrapper *blob = file->private_data;
file 291 fs/dlm/debug_fs.c ri = rsb_iter_init(file->private);
file 330 fs/dlm/debug_fs.c seq_printf(file, "id nodeid remid pid xid exflags flags "
file 335 fs/dlm/debug_fs.c print_locks(ri->rsb, file);
file 337 fs/dlm/debug_fs.c print_resource(ri->rsb, file);
file 355 fs/dlm/debug_fs.c ret = seq_open(file, &rsb_seq_ops);
file 359 fs/dlm/debug_fs.c seq = file->private_data;
file 406 fs/dlm/debug_fs.c ri = locks_iter_init(file->private, pos);
file 432 fs/dlm/debug_fs.c ret = seq_open(file, &locks_seq_ops);
file 436 fs/dlm/debug_fs.c seq = file->private_data;
file 456 fs/dlm/debug_fs.c file->private_data = inode->i_private;
file 463 fs/dlm/debug_fs.c struct dlm_ls *ls = file->private_data;
file 418 fs/dlm/lowcomms.c struct file *file;
file 480 fs/dlm/lowcomms.c file = fget(parg.sd);
file 481 fs/dlm/lowcomms.c new_con->sock = SOCKET_I(file->f_dentry->d_inode);
file 483 fs/dlm/lowcomms.c fput(file);
file 34 fs/dlm/plock.c void *file;
file 108 fs/dlm/plock.c xop->file = file;
file 134 fs/dlm/plock.c if (posix_lock_file_wait(file, fl) < 0)
file 149 fs/dlm/plock.c struct file *file;
file 165 fs/dlm/plock.c file = xop->file;
file 177 fs/dlm/plock.c if (posix_lock_file(file, flc, NULL)) {
file 187 fs/dlm/plock.c (unsigned long long)op->info.number, file, fl);
file 220 fs/dlm/plock.c if (posix_lock_file_wait(file, fl) < 0)
file 395 fs/dlm/plock.c poll_wait(file, &send_wq, wait);
file 511 fs/dlm/user.c struct dlm_user_proc *proc = file->private_data;
file 656 fs/dlm/user.c file->private_data = proc;
file 663 fs/dlm/user.c struct dlm_user_proc *proc = file->private_data;
file 683 fs/dlm/user.c file->private_data = NULL;
file 790 fs/dlm/user.c struct dlm_user_proc *proc = file->private_data;
file 818 fs/dlm/user.c if (file->f_flags & O_NONBLOCK) {
file 876 fs/dlm/user.c struct dlm_user_proc *proc = file->private_data;
file 878 fs/dlm/user.c poll_wait(file, &proc->wait, wait);
file 911 fs/dlm/user.c file->private_data = NULL;
file 70 fs/dnotify.c struct file *f;
file 68 fs/drop_caches.c proc_dointvec_minmax(table, write, file, buffer, length, ppos);
file 183 fs/ecryptfs/ecryptfs_kernel.h struct file *lower_file;
file 264 fs/ecryptfs/ecryptfs_kernel.h struct file *lower_file;
file 357 fs/ecryptfs/ecryptfs_kernel.h struct file *wfi_file;
file 429 fs/ecryptfs/ecryptfs_kernel.h return (struct ecryptfs_file_info *)file->private_data;
file 436 fs/ecryptfs/ecryptfs_kernel.h file->private_data = file_info;
file 439 fs/ecryptfs/ecryptfs_kernel.h static inline struct file *ecryptfs_file_to_lower(struct file *file)
file 441 fs/ecryptfs/ecryptfs_kernel.h return ((struct ecryptfs_file_info *)file->private_data)->wfi_file;
file 447 fs/ecryptfs/ecryptfs_kernel.h ((struct ecryptfs_file_info *)file->private_data)->wfi_file =
file 569 fs/ecryptfs/ecryptfs_kernel.h struct file **lower_file;
file 53 fs/ecryptfs/file.c struct file *file = iocb->ki_filp;
file 63 fs/ecryptfs/file.c lower_dentry = ecryptfs_dentry_to_lower(file->f_path.dentry);
file 64 fs/ecryptfs/file.c lower_vfsmount = ecryptfs_dentry_to_lower_mnt(file->f_path.dentry);
file 117 fs/ecryptfs/file.c struct file *lower_file;
file 121 fs/ecryptfs/file.c lower_file = ecryptfs_file_to_lower(file);
file 122 fs/ecryptfs/file.c lower_file->f_pos = file->f_pos;
file 123 fs/ecryptfs/file.c inode = file->f_path.dentry->d_inode;
file 126 fs/ecryptfs/file.c buf.dentry = file->f_path.dentry;
file 137 fs/ecryptfs/file.c file->f_pos = lower_file->f_pos;
file 159 fs/ecryptfs/file.c struct dentry *ecryptfs_dentry = file->f_path.dentry;
file 168 fs/ecryptfs/file.c && ((file->f_flags & O_WRONLY) || (file->f_flags & O_RDWR)
file 169 fs/ecryptfs/file.c || (file->f_flags & O_CREAT) || (file->f_flags & O_TRUNC)
file 170 fs/ecryptfs/file.c || (file->f_flags & O_APPEND))) {
file 178 fs/ecryptfs/file.c ecryptfs_set_file_private(file, file_info);
file 196 fs/ecryptfs/file.c && !(file->f_flags & O_RDONLY)) {
file 213 fs/ecryptfs/file.c file, ecryptfs_inode_to_private(inode)->lower_file);
file 253 fs/ecryptfs/file.c ecryptfs_file_to_private(file));
file 261 fs/ecryptfs/file.c struct file *lower_file = NULL;
file 263 fs/ecryptfs/file.c lower_file = ecryptfs_file_to_lower(file);
file 272 fs/ecryptfs/file.c ecryptfs_file_to_private(file));
file 279 fs/ecryptfs/file.c struct file *lower_file = ecryptfs_file_to_lower(file);
file 296 fs/ecryptfs/file.c struct file *lower_file = NULL;
file 299 fs/ecryptfs/file.c lower_file = ecryptfs_file_to_lower(file);
file 343 fs/ecryptfs/file.c struct file *lower_file = NULL;
file 345 fs/ecryptfs/file.c if (ecryptfs_file_to_private(file))
file 346 fs/ecryptfs/file.c lower_file = ecryptfs_file_to_lower(file);
file 145 fs/ecryptfs/inode.c struct file fake_file;
file 742 fs/ecryptfs/inode.c struct file fake_ecryptfs_file;
file 65 fs/ecryptfs/miscdev.c poll_wait(file, &daemon->wait, pt);
file 53 fs/ecryptfs/mmap.c dentry = file->f_path.dentry;
file 56 fs/ecryptfs/mmap.c page = read_mapping_page(mapping, index, (void *)file);
file 196 fs/ecryptfs/mmap.c &ecryptfs_inode_to_private(file->f_path.dentry->d_inode)->crypt_stat;
file 287 fs/ecryptfs/mmap.c file->f_path.dentry->d_inode)->crypt_stat;
file 347 fs/ecryptfs/mmap.c rc = ecryptfs_truncate(file->f_path.dentry,
file 464 fs/ecryptfs/mmap.c &ecryptfs_inode_to_private(file->f_path.dentry->d_inode)->crypt_stat;
file 43 fs/eventfd.c struct eventfd_ctx *ctx = file->private_data;
file 61 fs/eventfd.c kfree(file->private_data);
file 67 fs/eventfd.c struct eventfd_ctx *ctx = file->private_data;
file 71 fs/eventfd.c poll_wait(file, &ctx->wqh, wait);
file 88 fs/eventfd.c struct eventfd_ctx *ctx = file->private_data;
file 100 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) {
file 135 fs/eventfd.c struct eventfd_ctx *ctx = file->private_data;
file 150 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) {
file 186 fs/eventfd.c struct file *eventfd_fget(int fd)
file 188 fs/eventfd.c struct file *file;
file 190 fs/eventfd.c file = fget(fd);
file 191 fs/eventfd.c if (!file)
file 193 fs/eventfd.c if (file->f_op != &eventfd_fops) {
file 194 fs/eventfd.c fput(file);
file 198 fs/eventfd.c return file;
file 106 fs/eventpoll.c struct file *file;
file 248 fs/eventpoll.c ffd->file = file;
file 256 fs/eventpoll.c return (p1->file > p2->file ? +1:
file 257 fs/eventpoll.c (p1->file < p2->file ? -1 : p1->fd - p2->fd));
file 377 fs/eventpoll.c struct file *file = epi->ffd.file;
file 390 fs/eventpoll.c spin_lock(&file->f_ep_lock);
file 393 fs/eventpoll.c spin_unlock(&file->f_ep_lock);
file 406 fs/eventpoll.c current, ep, file));
file 457 fs/eventpoll.c struct eventpoll *ep = file->private_data;
file 470 fs/eventpoll.c struct eventpoll *ep = file->private_data;
file 473 fs/eventpoll.c poll_wait(file, &ep->poll_wait, wait);
file 503 fs/eventpoll.c struct list_head *lsthead = &file->f_ep_links;
file 567 fs/eventpoll.c ep_set_ffd(&ffd, file, fd);
file 582 fs/eventpoll.c current, file, epir));
file 600 fs/eventpoll.c current, epi->ffd.file, epi, ep));
file 818 fs/eventpoll.c revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL);
file 894 fs/eventpoll.c revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL);
file 1102 fs/eventpoll.c struct file *file, *tfile;
file 1117 fs/eventpoll.c file = fget(epfd);
file 1118 fs/eventpoll.c if (!file)
file 1137 fs/eventpoll.c if (file == tfile || !is_file_epoll(file))
file 1144 fs/eventpoll.c ep = file->private_data;
file 1184 fs/eventpoll.c fput(file);
file 1200 fs/eventpoll.c struct file *file;
file 1218 fs/eventpoll.c file = fget(epfd);
file 1219 fs/eventpoll.c if (!file)
file 1227 fs/eventpoll.c if (!is_file_epoll(file))
file 1234 fs/eventpoll.c ep = file->private_data;
file 1240 fs/eventpoll.c fput(file);
file 110 fs/exec.c struct file *file;
file 136 fs/exec.c file = nameidata_to_filp(&nd, O_RDONLY|O_LARGEFILE);
file 137 fs/exec.c error = PTR_ERR(file);
file 138 fs/exec.c if (IS_ERR(file))
file 142 fs/exec.c if(file->f_op) {
file 152 fs/exec.c error = fmt->load_shlib(file);
file 160 fs/exec.c fput(file);
file 667 fs/exec.c struct file *open_exec(const char *name)
file 670 fs/exec.c struct file *file;
file 689 fs/exec.c file = nameidata_to_filp(&nd, O_RDONLY|O_LARGEFILE);
file 690 fs/exec.c if (IS_ERR(file))
file 691 fs/exec.c return file;
file 693 fs/exec.c err = deny_write_access(file);
file 695 fs/exec.c fput(file);
file 699 fs/exec.c return file;
file 719 fs/exec.c result = vfs_read(file, (void __user *)addr, count, &pos);
file 974 fs/exec.c set_mm_exe_file(bprm->mm, bprm->file);
file 1019 fs/exec.c } else if (file_permission(bprm->file, MAY_READ) ||
file 1048 fs/exec.c struct inode * inode = bprm->file->f_path.dentry->d_inode;
file 1052 fs/exec.c if (bprm->file->f_op == NULL)
file 1058 fs/exec.c if(!(bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID)) {
file 1083 fs/exec.c return kernel_read(bprm->file,0,bprm->buf,BINPRM_BUF_SIZE);
file 1177 fs/exec.c struct file * file;
file 1180 fs/exec.c allow_write_access(bprm->file);
file 1181 fs/exec.c fput(bprm->file);
file 1182 fs/exec.c bprm->file = NULL;
file 1186 fs/exec.c file = open_exec("/sbin/loader");
file 1187 fs/exec.c retval = PTR_ERR(file);
file 1188 fs/exec.c if (IS_ERR(file))
file 1194 fs/exec.c bprm->file = file;
file 1230 fs/exec.c allow_write_access(bprm->file);
file 1231 fs/exec.c if (bprm->file)
file 1232 fs/exec.c fput(bprm->file);
file 1233 fs/exec.c bprm->file = NULL;
file 1242 fs/exec.c if (!bprm->file) {
file 1282 fs/exec.c struct file *file;
file 1295 fs/exec.c file = open_exec(filename);
file 1296 fs/exec.c retval = PTR_ERR(file);
file 1297 fs/exec.c if (IS_ERR(file))
file 1302 fs/exec.c bprm->file = file;
file 1360 fs/exec.c if (bprm->file) {
file 1361 fs/exec.c allow_write_access(bprm->file);
file 1362 fs/exec.c fput(bprm->file);
file 1716 fs/exec.c struct file * file;
file 1799 fs/exec.c &file)) {
file 1805 fs/exec.c file = filp_open(corename,
file 1808 fs/exec.c if (IS_ERR(file))
file 1810 fs/exec.c inode = file->f_path.dentry->d_inode;
file 1813 fs/exec.c if (!ispipe && d_unhashed(file->f_path.dentry))
file 1826 fs/exec.c if (!file->f_op)
file 1828 fs/exec.c if (!file->f_op->write)
file 1830 fs/exec.c if (!ispipe && do_truncate(file->f_path.dentry, 0, 0, file) != 0)
file 1833 fs/exec.c retval = binfmt->core_dump(signr, regs, file, core_limit);
file 1838 fs/exec.c filp_close(file, NULL);
file 255 fs/exportfs/expfs.c struct file *file;
file 267 fs/exportfs/expfs.c file = dentry_open(dget(dentry), mntget(mnt), O_RDONLY);
file 268 fs/exportfs/expfs.c error = PTR_ERR(file);
file 269 fs/exportfs/expfs.c if (IS_ERR(file))
file 273 fs/exportfs/expfs.c if (!file->f_op->readdir)
file 283 fs/exportfs/expfs.c error = vfs_readdir(file, filldir_one, &buffer);
file 297 fs/exportfs/expfs.c fput(file);
file 736 fs/ext2/inode.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 746 fs/ext2/inode.c return __ext2_write_begin(file, mapping, pos, len, flags, pagep,fsdata);
file 759 fs/ext2/inode.c return nobh_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 778 fs/ext2/inode.c struct file *file = iocb->ki_filp;
file 779 fs/ext2/inode.c struct inode *inode = file->f_mapping->host;
file 178 fs/ext2/ioctl.c return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file 54 fs/ext3/file.c struct file *file = iocb->ki_filp;
file 55 fs/ext3/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 72 fs/ext3/file.c if (file->f_flags & O_SYNC) {
file 1175 fs/ext3/inode.c ret = block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 1226 fs/ext3/inode.c struct inode *inode = file->f_mapping->host;
file 1228 fs/ext3/inode.c copied = block_write_end(file, mapping, pos, len, copied, page, fsdata);
file 1251 fs/ext3/inode.c struct inode *inode = file->f_mapping->host;
file 1272 fs/ext3/inode.c ret2 = ext3_generic_write_end(file, mapping, pos, len, copied,
file 1293 fs/ext3/inode.c struct inode *inode = file->f_mapping->host;
file 1301 fs/ext3/inode.c ret2 = ext3_generic_write_end(file, mapping, pos, len, copied,
file 1688 fs/ext3/inode.c struct file *file = iocb->ki_filp;
file 1689 fs/ext3/inode.c struct inode *inode = file->f_mapping->host;
file 299 fs/ext3/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 342 fs/ext3/ioctl.c ret = ext3_ioctl(inode, file, cmd, (unsigned long) compat_ptr(arg));
file 54 fs/ext4/file.c struct file *file = iocb->ki_filp;
file 55 fs/ext4/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 89 fs/ext4/file.c if (file->f_flags & O_SYNC) {
file 133 fs/ext4/file.c struct address_space *mapping = file->f_mapping;
file 137 fs/ext4/file.c file_accessed(file);
file 1356 fs/ext4/inode.c ret = block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 1423 fs/ext4/inode.c ret2 = generic_write_end(file, mapping, pos, len, copied,
file 1456 fs/ext4/inode.c ret2 = generic_write_end(file, mapping, pos, len, copied,
file 2514 fs/ext4/inode.c return ext4_write_begin(file, mapping, pos,
file 2539 fs/ext4/inode.c ret = block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 2597 fs/ext4/inode.c return ext4_ordered_write_end(file, mapping, pos,
file 2600 fs/ext4/inode.c return ext4_writeback_write_end(file, mapping, pos,
file 2639 fs/ext4/inode.c ret2 = generic_write_end(file, mapping, pos, len, copied,
file 2996 fs/ext4/inode.c struct file *file = iocb->ki_filp;
file 2997 fs/ext4/inode.c struct inode *inode = file->f_mapping->host;
file 4942 fs/ext4/inode.c struct file *file = vma->vm_file;
file 4943 fs/ext4/inode.c struct inode *inode = file->f_path.dentry->d_inode;
file 4979 fs/ext4/inode.c ret = mapping->a_ops->write_begin(file, mapping, page_offset(page),
file 4983 fs/ext4/inode.c ret = mapping->a_ops->write_end(file, mapping, page_offset(page),
file 313 fs/ext4/ioctl.c return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
file 514 fs/ext4/mballoc.c function, file, line, # assert); \
file 2009 fs/ext4/mballoc.c rc = seq_open(file, &ext4_mb_seq_history_ops);
file 2011 fs/ext4/mballoc.c struct seq_file *m = (struct seq_file *)file->private_data;
file 2023 fs/ext4/mballoc.c struct seq_file *seq = (struct seq_file *)file->private_data;
file 2027 fs/ext4/mballoc.c return seq_release(inode, file);
file 2034 fs/ext4/mballoc.c struct seq_file *seq = (struct seq_file *)file->private_data;
file 2151 fs/ext4/mballoc.c rc = seq_open(file, &ext4_mb_seq_groups_ops);
file 2153 fs/ext4/mballoc.c struct seq_file *m = (struct seq_file *)file->private_data;
file 3575 fs/ext4/super.c return single_open(file, ext4_ui_proc_show, PDE(inode)->data);
file 3581 fs/ext4/super.c unsigned int *p = PDE(file->f_path.dentry->d_inode)->data;
file 149 fs/fat/inode.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 160 fs/fat/inode.c err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
file 173 fs/fat/inode.c struct file *file = iocb->ki_filp;
file 174 fs/fat/inode.c struct inode *inode = file->f_mapping->host;
file 55 fs/fcntl.c struct file * file, *tofree;
file 67 fs/fcntl.c file = fcheck(oldfd);
file 68 fs/fcntl.c if (unlikely(!file))
file 94 fs/fcntl.c get_file(file);
file 95 fs/fcntl.c rcu_assign_pointer(fdt->fd[newfd], file);
file 131 fs/fcntl.c struct file *file = fget(fildes);
file 133 fs/fcntl.c if (file) {
file 136 fs/fcntl.c fd_install(ret, file);
file 138 fs/fcntl.c fput(file);
file 332 fs/fcntl.c struct file *filp;
file 355 fs/fcntl.c struct file * filp;
file 51 fs/file.c if (fdt->max_fds <= (PAGE_SIZE / sizeof(struct file *)))
file 100 fs/file.c if (fdt->max_fds <= (PAGE_SIZE / sizeof(struct file *))) {
file 126 fs/file.c cpy = ofdt->max_fds * sizeof(struct file *);
file 127 fs/file.c set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *);
file 151 fs/file.c nr /= (1024 / sizeof(struct file *));
file 153 fs/file.c nr *= (1024 / sizeof(struct file *));
file 169 fs/file.c data = alloc_fdmem(nr * sizeof(struct file *));
file 172 fs/file.c fdt->fd = (struct file **)data;
file 296 fs/file.c struct file **old_fds, **new_fds;
file 367 fs/file.c struct file *f = *old_fds++;
file 384 fs/file.c size = (new_fdt->max_fds - open_files) * sizeof(struct file *);
file 39 fs/file_table.c struct file *f = container_of(head, struct file, f_u.fu_rcuhead);
file 95 fs/file_table.c struct file *get_empty_filp(void)
file 99 fs/file_table.c struct file * f;
file 163 fs/file_table.c struct file *alloc_file(struct vfsmount *mnt, struct dentry *dentry,
file 166 fs/file_table.c struct file *file;
file 169 fs/file_table.c file = get_empty_filp();
file 170 fs/file_table.c if (!file)
file 173 fs/file_table.c init_file(file, mnt, dentry, mode, fop);
file 174 fs/file_table.c return file;
file 199 fs/file_table.c file->f_path.dentry = dentry;
file 200 fs/file_table.c file->f_path.mnt = mntget(mnt);
file 201 fs/file_table.c file->f_mapping = dentry->d_inode->i_mapping;
file 202 fs/file_table.c file->f_mode = mode;
file 203 fs/file_table.c file->f_op = fop;
file 212 fs/file_table.c file_take_write(file);
file 222 fs/file_table.c if (atomic_long_dec_and_test(&file->f_count))
file 223 fs/file_table.c __fput(file);
file 238 fs/file_table.c struct vfsmount *mnt = file->f_path.mnt;
file 239 fs/file_table.c struct dentry *dentry = file->f_path.dentry;
file 246 fs/file_table.c if (file_check_writeable(file) != 0)
file 249 fs/file_table.c file_release_write(file);
file 258 fs/file_table.c struct dentry *dentry = file->f_path.dentry;
file 259 fs/file_table.c struct vfsmount *mnt = file->f_path.mnt;
file 264 fs/file_table.c fsnotify_close(file);
file 269 fs/file_table.c eventpoll_release(file);
file 270 fs/file_table.c locks_remove_flock(file);
file 272 fs/file_table.c if (file->f_op && file->f_op->release)
file 273 fs/file_table.c file->f_op->release(inode, file);
file 274 fs/file_table.c security_file_free(file);
file 277 fs/file_table.c fops_put(file->f_op);
file 278 fs/file_table.c put_pid(file->f_owner.pid);
file 279 fs/file_table.c file_kill(file);
file 280 fs/file_table.c if (file->f_mode & FMODE_WRITE)
file 281 fs/file_table.c drop_file_write_access(file);
file 282 fs/file_table.c file->f_path.dentry = NULL;
file 283 fs/file_table.c file->f_path.mnt = NULL;
file 284 fs/file_table.c file_free(file);
file 289 fs/file_table.c struct file *fget(unsigned int fd)
file 291 fs/file_table.c struct file *file;
file 295 fs/file_table.c file = fcheck_files(files, fd);
file 296 fs/file_table.c if (file) {
file 297 fs/file_table.c if (!atomic_long_inc_not_zero(&file->f_count)) {
file 305 fs/file_table.c return file;
file 317 fs/file_table.c struct file *fget_light(unsigned int fd, int *fput_needed)
file 319 fs/file_table.c struct file *file;
file 324 fs/file_table.c file = fcheck_files(files, fd);
file 327 fs/file_table.c file = fcheck_files(files, fd);
file 328 fs/file_table.c if (file) {
file 329 fs/file_table.c if (atomic_long_inc_not_zero(&file->f_count))
file 333 fs/file_table.c file = NULL;
file 338 fs/file_table.c return file;
file 344 fs/file_table.c if (atomic_long_dec_and_test(&file->f_count)) {
file 345 fs/file_table.c security_file_free(file);
file 346 fs/file_table.c file_kill(file);
file 347 fs/file_table.c file_free(file);
file 356 fs/file_table.c list_move(&file->f_u.fu_list, list);
file 362 fs/file_table.c if (!list_empty(&file->f_u.fu_list)) {
file 364 fs/file_table.c list_del_init(&file->f_u.fu_list);
file 371 fs/file_table.c struct file *file;
file 375 fs/file_table.c list_for_each_entry(file, &sb->s_files, f_u.fu_list) {
file 376 fs/file_table.c struct inode *inode = file->f_path.dentry->d_inode;
file 383 fs/file_table.c if (S_ISREG(inode->i_mode) && (file->f_mode & FMODE_WRITE))
file 26 fs/fuse/control.c fc = file->f_path.dentry->d_inode->i_private;
file 36 fs/fuse/control.c struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
file 51 fs/fuse/control.c struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
file 55 fs/fuse/control.c file->private_data=(void *)(long)atomic_read(&fc->num_waiting);
file 58 fs/fuse/control.c size = sprintf(tmp, "%ld\n", (long)file->private_data);
file 30 fs/fuse/dev.c return file->private_data;
file 137 fs/fuse/dev.c struct fuse_file *ff = file->private_data;
file 145 fs/fuse/dev.c get_file(file);
file 146 fs/fuse/dev.c req->stolen_file = file;
file 159 fs/fuse/dev.c struct file *file = req->stolen_file;
file 160 fs/fuse/dev.c struct fuse_file *ff = file->private_data;
file 168 fs/fuse/dev.c fput(file);
file 192 fs/fuse/dev.c req = get_reserved_req(fc, file);
file 741 fs/fuse/dev.c struct file *file = iocb->ki_filp;
file 742 fs/fuse/dev.c struct fuse_conn *fc = fuse_get_conn(file);
file 749 fs/fuse/dev.c if ((file->f_flags & O_NONBLOCK) && fc->connected &&
file 947 fs/fuse/dev.c struct fuse_conn *fc = fuse_get_conn(file);
file 951 fs/fuse/dev.c poll_wait(file, &fc->waitq, wait);
file 1052 fs/fuse/dev.c struct fuse_conn *fc = fuse_get_conn(file);
file 1059 fs/fuse/dev.c fasync_helper(-1, file, 0, &fc->fasync);
file 1068 fs/fuse/dev.c struct fuse_conn *fc = fuse_get_conn(file);
file 1073 fs/fuse/dev.c return fasync_helper(fd, file, on, &fc->fasync);
file 395 fs/fuse/dir.c struct file *file;
file 461 fs/fuse/dir.c file = lookup_instantiate_filp(nd, entry, generic_file_open);
file 462 fs/fuse/dir.c if (IS_ERR(file)) {
file 465 fs/fuse/dir.c return PTR_ERR(file);
file 467 fs/fuse/dir.c fuse_finish_open(inode, file, ff, &outopen);
file 797 fs/fuse/dir.c if (file && S_ISREG(inode->i_mode)) {
file 798 fs/fuse/dir.c struct fuse_file *ff = file->private_data;
file 841 fs/fuse/dir.c err = fuse_do_getattr(inode, stat, file);
file 993 fs/fuse/dir.c file->f_pos, dirent->ino, dirent->type);
file 999 fs/fuse/dir.c file->f_pos = dirent->off;
file 1010 fs/fuse/dir.c struct inode *inode = file->f_path.dentry->d_inode;
file 1028 fs/fuse/dir.c fuse_read_fill(req, file, inode, file->f_pos, PAGE_SIZE, FUSE_READDIR);
file 1034 fs/fuse/dir.c err = parse_dirfile(page_address(page), nbytes, file, dstbuf,
file 1094 fs/fuse/dir.c return fuse_open_common(inode, file, 1);
file 1099 fs/fuse/dir.c return fuse_release_common(inode, file, 1);
file 1105 fs/fuse/dir.c return file ? fuse_fsync_common(file, de, datasync, 1) : 0;
file 1248 fs/fuse/dir.c if (file) {
file 1249 fs/fuse/dir.c struct fuse_file *ff = file->private_data;
file 31 fs/fuse/file.c inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY);
file 101 fs/fuse/file.c file->f_op = &fuse_direct_io_file_operations;
file 105 fs/fuse/file.c file->private_data = fuse_file_get(ff);
file 115 fs/fuse/file.c if (file->f_flags & O_DIRECT)
file 118 fs/fuse/file.c err = generic_file_open(inode, file);
file 126 fs/fuse/file.c err = fuse_send_open(inode, file, isdir, &outarg);
file 132 fs/fuse/file.c fuse_finish_open(inode, file, ff, &outarg);
file 154 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 159 fs/fuse/file.c fuse_release_fill(ff, get_node_id(inode), file->f_flags,
file 163 fs/fuse/file.c req->misc.release.vfsmount = mntget(file->f_path.mnt);
file 164 fs/fuse/file.c req->misc.release.dentry = dget(file->f_path.dentry);
file 183 fs/fuse/file.c return fuse_open_common(inode, file, 0);
file 188 fs/fuse/file.c return fuse_release_common(inode, file, 0);
file 258 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 260 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 271 fs/fuse/file.c req = fuse_get_req_nofail(fc, file);
file 311 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 360 fs/fuse/file.c return fuse_fsync_common(file, de, datasync, 0);
file 367 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 372 fs/fuse/file.c inarg->flags = file->f_flags;
file 390 fs/fuse/file.c fuse_read_fill(req, file, inode, pos, count, FUSE_READ);
file 447 fs/fuse/file.c num_read = fuse_send_read(req, file, inode, pos, count, NULL);
file 504 fs/fuse/file.c fuse_read_fill(req, file, inode, pos, count, FUSE_READ);
file 507 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 519 fs/fuse/file.c struct file *file;
file 536 fs/fuse/file.c fuse_send_readpages(req, data->file, inode);
file 560 fs/fuse/file.c data.file = file;
file 570 fs/fuse/file.c fuse_send_readpages(data.req, file, inode);
file 610 fs/fuse/file.c inarg->flags = file ? file->f_flags : 0;
file 631 fs/fuse/file.c fuse_write_fill(req, file, file->private_data, inode, pos, count, 0);
file 690 fs/fuse/file.c nres = fuse_send_write(req, file, inode, pos, count, NULL);
file 713 fs/fuse/file.c res = fuse_buffered_write(file, inode, pos, copied, page);
file 731 fs/fuse/file.c res = fuse_send_write(req, file, inode, pos, count, NULL);
file 843 fs/fuse/file.c num_written = fuse_send_write_pages(req, file, inode,
file 869 fs/fuse/file.c struct file *file = iocb->ki_filp;
file 870 fs/fuse/file.c struct address_space *mapping = file->f_mapping;
file 889 fs/fuse/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode));
file 896 fs/fuse/file.c err = file_remove_suid(file);
file 900 fs/fuse/file.c file_update_time(file);
file 903 fs/fuse/file.c written = fuse_perform_write(file, mapping, &i, pos);
file 955 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 981 fs/fuse/file.c nres = fuse_send_write(req, file, inode, pos, nbytes,
file 984 fs/fuse/file.c nres = fuse_send_read(req, file, inode, pos, nbytes,
file 1022 fs/fuse/file.c return fuse_direct_io(file, buf, count, ppos, 0);
file 1028 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1032 fs/fuse/file.c res = generic_write_checks(file, ppos, &count, 0);
file 1034 fs/fuse/file.c res = fuse_direct_io(file, buf, count, ppos, 1);
file 1243 fs/fuse/file.c struct inode *inode = file->f_dentry->d_inode;
file 1246 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 1256 fs/fuse/file.c file_accessed(file);
file 1290 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1292 fs/fuse/file.c struct fuse_file *ff = file->private_data;
file 1312 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1322 fs/fuse/file.c fuse_lk_fill(req, file, fl, FUSE_GETLK, 0, 0);
file 1337 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1357 fs/fuse/file.c fuse_lk_fill(req, file, fl, opcode, pid, flock);
file 1369 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1377 fs/fuse/file.c posix_test_lock(file, fl);
file 1380 fs/fuse/file.c err = fuse_getlk(file, fl);
file 1383 fs/fuse/file.c err = posix_lock_file(file, fl, NULL);
file 1385 fs/fuse/file.c err = fuse_setlk(file, fl, 0);
file 1392 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1397 fs/fuse/file.c err = flock_lock_file_wait(file, fl);
file 1400 fs/fuse/file.c fl->fl_owner = (fl_owner_t) file;
file 1401 fs/fuse/file.c err = fuse_setlk(file, fl, 1);
file 1446 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1454 fs/fuse/file.c offset += file->f_pos;
file 1458 fs/fuse/file.c if (offset != file->f_pos) {
file 1459 fs/fuse/file.c file->f_pos = offset;
file 1460 fs/fuse/file.c file->f_version = 0;
file 275 fs/fuse/fuse_i.h struct file *stolen_file;
file 805 fs/fuse/inode.c struct file *file;
file 831 fs/fuse/inode.c file = fget(d.fd);
file 832 fs/fuse/inode.c if (!file)
file 835 fs/fuse/inode.c if (file->f_op != &fuse_dev_operations)
file 873 fs/fuse/inode.c if (file->private_data)
file 883 fs/fuse/inode.c file->private_data = fuse_conn_get(fc);
file 890 fs/fuse/inode.c fput(file);
file 902 fs/fuse/inode.c fput(file);
file 1905 fs/gfs2/glock.c int ret = seq_open_private(file, &gfs2_glock_seq_ops,
file 1908 fs/gfs2/glock.c struct seq_file *seq = file->private_data;
file 232 fs/gfs2/locking/dlm/mount.c return dlm_posix_lock(ls->dlm_lockspace, name->ln_number, file, cmd, fl);
file 239 fs/gfs2/locking/dlm/mount.c return dlm_posix_unlock(ls->dlm_lockspace, name->ln_number, file, fl);
file 246 fs/gfs2/locking/dlm/mount.c return dlm_posix_get(ls->dlm_lockspace, name->ln_number, file, fl);
file 522 fs/gfs2/ops_address.c error = __gfs2_readpage(file, page);
file 848 fs/gfs2/ops_address.c ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata);
file 989 fs/gfs2/ops_address.c struct file *file = iocb->ki_filp;
file 990 fs/gfs2/ops_address.c struct inode *inode = file->f_mapping->host;
file 58 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file 66 fs/gfs2/ops_file.c error = generic_file_llseek_unlocked(file, offset, origin);
file 70 fs/gfs2/ops_file.c error = generic_file_llseek_unlocked(file, offset, origin);
file 86 fs/gfs2/ops_file.c struct inode *dir = file->f_mapping->host;
file 89 fs/gfs2/ops_file.c u64 offset = file->f_pos;
file 103 fs/gfs2/ops_file.c file->f_pos = offset;
file 433 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file 472 fs/gfs2/ops_file.c gfs2_assert_warn(GFS2_SB(inode), !file->private_data);
file 473 fs/gfs2/ops_file.c file->private_data = fp;
file 481 fs/gfs2/ops_file.c if (!(file->f_flags & O_LARGEFILE) &&
file 495 fs/gfs2/ops_file.c file->private_data = NULL;
file 513 fs/gfs2/ops_file.c fp = file->private_data;
file 514 fs/gfs2/ops_file.c file->private_data = NULL;
file 576 fs/gfs2/ops_file.c struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
file 585 fs/gfs2/ops_file.c return generic_setlease(file, arg, fl);
file 594 fs/gfs2/ops_file.c sdp->sd_lockstruct.ls_lockspace, name, file, fl);
file 604 fs/gfs2/ops_file.c sdp->sd_lockstruct.ls_lockspace, name, file, cmd, fl);
file 614 fs/gfs2/ops_file.c sdp->sd_lockstruct.ls_lockspace, name, file, fl);
file 629 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file 630 fs/gfs2/ops_file.c struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
file 646 fs/gfs2/ops_file.c return gfs2_lm_plock_get(sdp, &name, file, fl);
file 648 fs/gfs2/ops_file.c return gfs2_lm_punlock(sdp, &name, file, fl);
file 650 fs/gfs2/ops_file.c return gfs2_lm_plock(sdp, &name, file, cmd, fl);
file 655 fs/gfs2/ops_file.c struct gfs2_file *fp = file->private_data;
file 657 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_path.dentry->d_inode);
file 672 fs/gfs2/ops_file.c flock_lock_file_wait(file,
file 690 fs/gfs2/ops_file.c error = flock_lock_file_wait(file, fl);
file 701 fs/gfs2/ops_file.c struct gfs2_file *fp = file->private_data;
file 705 fs/gfs2/ops_file.c flock_lock_file_wait(file, fl);
file 722 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
file 730 fs/gfs2/ops_file.c do_unflock(file, fl);
file 733 fs/gfs2/ops_file.c return do_flock(file, cmd, fl);
file 1168 fs/gfs2/rgrp.c al->al_file = file;
file 71 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 94 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 120 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 142 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 163 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 184 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 205 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 223 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 243 fs/gfs2/util.c sdp->sd_fsname, function, file, line);
file 89 fs/gfs2/util.h file, line);
file 113 fs/gfs2/util.h file, line);
file 116 fs/gfs2/util.h file, line);
file 22 fs/hfs/attr.c struct hfs_cat_file *file;
file 37 fs/hfs/attr.c file = &rec.file;
file 41 fs/hfs/attr.c memcpy(&file->UsrWds.fdType, value, 4);
file 46 fs/hfs/attr.c memcpy(&file->UsrWds.fdCreator, value, 4);
file 65 fs/hfs/attr.c struct hfs_cat_file *file;
file 82 fs/hfs/attr.c file = &rec.file;
file 86 fs/hfs/attr.c memcpy(value, &file->UsrWds.fdType, 4);
file 92 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 222 fs/hfs/catalog.c struct hfs_cat_file file;
file 223 fs/hfs/catalog.c hfs_bnode_read(fd.bnode, &file, fd.entryoffset, sizeof(file));
file 224 fs/hfs/catalog.c if (be32_to_cpu(file.FlNum) == cnid) {
file 226 fs/hfs/catalog.c hfs_free_fork(sb, &file, HFS_FK_DATA);
file 228 fs/hfs/catalog.c hfs_free_fork(sb, &file, HFS_FK_RSRC);
file 236 fs/hfs/catalog.c rd->file->f_pos--;
file 321 fs/hfs/catalog.c if (type == HFS_CDR_FIL && !(entry.file.Flags & HFS_FIL_THD))
file 131 fs/hfs/dir.c be32_to_cpu(entry.file.FlNum), DT_REG))
file 153 fs/hfs/dir.c rd->file = filp;
file 164 fs/hfs/dir.c struct hfs_readdir_data *rd = file->private_data;
file 276 fs/hfs/extent.c u32 cnid = be32_to_cpu(file->FlNum);
file 281 fs/hfs/extent.c total_blocks = be32_to_cpu(file->PyLen);
file 282 fs/hfs/extent.c extent = file->ExtRec;
file 284 fs/hfs/extent.c total_blocks = be32_to_cpu(file->RPyLen);
file 285 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 43 fs/hfs/inode.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 109 fs/hfs/inode.c struct file *file = iocb->ki_filp;
file 110 fs/hfs/inode.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host;
file 266 fs/hfs/inode.c return inode->i_ino == be32_to_cpu(rec->file.FlNum);
file 302 fs/hfs/inode.c hfs_inode_read_fork(inode, rec->file.ExtRec, rec->file.LgLen,
file 303 fs/hfs/inode.c rec->file.PyLen, be16_to_cpu(rec->file.ClpSize));
file 305 fs/hfs/inode.c hfs_inode_read_fork(inode, rec->file.RExtRec, rec->file.RLgLen,
file 306 fs/hfs/inode.c rec->file.RPyLen, be16_to_cpu(rec->file.ClpSize));
file 309 fs/hfs/inode.c inode->i_ino = be32_to_cpu(rec->file.FlNum);
file 311 fs/hfs/inode.c if (!(rec->file.Flags & HFS_FIL_LOCK))
file 316 fs/hfs/inode.c hfs_m_to_utime(rec->file.MdDat);
file 357 fs/hfs/inode.c cnid = be32_to_cpu(rec->file.FlNum);
file 437 fs/hfs/inode.c hfs_inode_write_fork(inode, rec.file.RExtRec,
file 438 fs/hfs/inode.c &rec.file.RLgLen, &rec.file.RPyLen);
file 447 fs/hfs/inode.c be32_to_cpu(rec.file.FlNum) != inode->i_ino) {
file 451 fs/hfs/inode.c rec.file.Flags &= ~HFS_FIL_LOCK;
file 453 fs/hfs/inode.c rec.file.Flags |= HFS_FIL_LOCK;
file 454 fs/hfs/inode.c hfs_inode_write_fork(inode, rec.file.ExtRec, &rec.file.LgLen, &rec.file.PyLen);
file 455 fs/hfs/inode.c rec.file.MdDat = hfs_u_to_mtime(inode->i_mtime);
file 107 fs/hfsplus/catalog.c struct hfsplus_cat_file *file;
file 109 fs/hfsplus/catalog.c file = &entry->file;
file 110 fs/hfsplus/catalog.c memset(file, 0, sizeof(*file));
file 111 fs/hfsplus/catalog.c file->type = cpu_to_be16(HFSPLUS_FILE);
file 112 fs/hfsplus/catalog.c file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
file 113 fs/hfsplus/catalog.c file->id = cpu_to_be32(cnid);
file 115 fs/hfsplus/catalog.c file->create_date =
file 116 fs/hfsplus/catalog.c file->content_mod_date =
file 117 fs/hfsplus/catalog.c file->attribute_mod_date =
file 118 fs/hfsplus/catalog.c file->access_date = hfsp_now2mt();
file 120 fs/hfsplus/catalog.c hfsplus_set_perms(inode, &file->permissions);
file 122 fs/hfsplus/catalog.c file->user_info.fdType = cpu_to_be32(HFSP_SYMLINK_TYPE);
file 123 fs/hfsplus/catalog.c file->user_info.fdCreator = cpu_to_be32(HFSP_SYMLINK_CREATOR);
file 125 fs/hfsplus/catalog.c file->user_info.fdType = cpu_to_be32(HFSPLUS_SB(inode->i_sb).type);
file 126 fs/hfsplus/catalog.c file->user_info.fdCreator = cpu_to_be32(HFSPLUS_SB(inode->i_sb).creator);
file 128 fs/hfsplus/catalog.c if ((file->permissions.rootflags | file->permissions.userflags) & HFSPLUS_FLG_IMMUTABLE)
file 129 fs/hfsplus/catalog.c file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
file 131 fs/hfsplus/catalog.c file->user_info.fdType = cpu_to_be32(HFSP_HARDLINK_TYPE);
file 132 fs/hfsplus/catalog.c file->user_info.fdCreator = cpu_to_be32(HFSP_HFSPLUS_CREATOR);
file 133 fs/hfsplus/catalog.c file->user_info.fdFlags = cpu_to_be16(0x100);
file 134 fs/hfsplus/catalog.c file->create_date = HFSPLUS_I(HFSPLUS_SB(inode->i_sb).hidden_dir).create_date;
file 135 fs/hfsplus/catalog.c file->permissions.dev = cpu_to_be32(HFSPLUS_I(inode).dev);
file 137 fs/hfsplus/catalog.c return sizeof(*file);
file 281 fs/hfsplus/catalog.c rd->file->f_pos--;
file 68 fs/hfsplus/dir.c cnid = be32_to_cpu(entry.file.id);
file 69 fs/hfsplus/dir.c if (entry.file.user_info.fdType == cpu_to_be32(HFSP_HARDLINK_TYPE) &&
file 70 fs/hfsplus/dir.c entry.file.user_info.fdCreator == cpu_to_be32(HFSP_HFSPLUS_CREATOR) &&
file 71 fs/hfsplus/dir.c (entry.file.create_date == HFSPLUS_I(HFSPLUS_SB(sb).hidden_dir).create_date ||
file 72 fs/hfsplus/dir.c entry.file.create_date == HFSPLUS_I(sb->s_root->d_inode).create_date) &&
file 86 fs/hfsplus/dir.c linkid = be32_to_cpu(entry.file.permissions.dev);
file 196 fs/hfsplus/dir.c be32_to_cpu(entry.file.id), DT_REG))
file 219 fs/hfsplus/dir.c rd->file = filp;
file 230 fs/hfsplus/dir.c struct hfsplus_readdir_data *rd = file->private_data;
file 205 fs/hfsplus/hfsplus_fs.h struct file *file;
file 307 fs/hfsplus/hfsplus_raw.h struct hfsplus_cat_file file;
file 35 fs/hfsplus/inode.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 106 fs/hfsplus/inode.c struct file *file = iocb->ki_filp;
file 107 fs/hfsplus/inode.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host;
file 434 fs/hfsplus/inode.c struct hfsplus_cat_file *file = &entry.file;
file 442 fs/hfsplus/inode.c &file->data_fork : &file->rsrc_fork);
file 443 fs/hfsplus/inode.c hfsplus_get_perms(inode, &file->permissions, 0);
file 446 fs/hfsplus/inode.c if (file->permissions.dev)
file 447 fs/hfsplus/inode.c inode->i_nlink = be32_to_cpu(file->permissions.dev);
file 456 fs/hfsplus/inode.c be32_to_cpu(file->permissions.dev));
file 458 fs/hfsplus/inode.c inode->i_atime = hfsp_mt2ut(file->access_date);
file 459 fs/hfsplus/inode.c inode->i_mtime = hfsp_mt2ut(file->content_mod_date);
file 460 fs/hfsplus/inode.c inode->i_ctime = hfsp_mt2ut(file->attribute_mod_date);
file 461 fs/hfsplus/inode.c HFSPLUS_I(inode).create_date = file->create_date;
file 505 fs/hfsplus/inode.c struct hfsplus_cat_file *file = &entry.file;
file 508 fs/hfsplus/inode.c hfsplus_inode_write_fork(inode, &file->rsrc_fork);
file 512 fs/hfsplus/inode.c struct hfsplus_cat_file *file = &entry.file;
file 518 fs/hfsplus/inode.c hfsplus_inode_write_fork(inode, &file->data_fork);
file 523 fs/hfsplus/inode.c hfsplus_set_perms(inode, &file->permissions);
file 524 fs/hfsplus/inode.c if ((file->permissions.rootflags | file->permissions.userflags) & HFSPLUS_FLG_IMMUTABLE)
file 525 fs/hfsplus/inode.c file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
file 527 fs/hfsplus/inode.c file->flags &= cpu_to_be16(~HFSPLUS_FILE_LOCKED);
file 528 fs/hfsplus/inode.c file->access_date = hfsp_ut2mt(inode->i_atime);
file 529 fs/hfsplus/inode.c file->content_mod_date = hfsp_ut2mt(inode->i_mtime);
file 530 fs/hfsplus/inode.c file->attribute_mod_date = hfsp_ut2mt(inode->i_ctime);
file 101 fs/hfsplus/ioctl.c struct hfsplus_cat_file *file;
file 115 fs/hfsplus/ioctl.c file = &entry.file;
file 119 fs/hfsplus/ioctl.c memcpy(&file->user_info.fdType, value, 4);
file 124 fs/hfsplus/ioctl.c memcpy(&file->user_info.fdCreator, value, 4);
file 143 fs/hfsplus/ioctl.c struct hfsplus_cat_file *file;
file 159 fs/hfsplus/ioctl.c file = &entry.file;
file 163 fs/hfsplus/ioctl.c memcpy(value, &file->user_info.fdType, 4);
file 169 fs/hfsplus/ioctl.c memcpy(value, &file->user_info.fdCreator, 4);
file 32 fs/hostfs/hostfs_kern.c #define FILE_HOSTFS_I(file) HOSTFS_I((file)->f_path.dentry->d_inode)
file 355 fs/hostfs/hostfs_kern.c name = dentry_name(file->f_path.dentry, 0);
file 362 fs/hostfs/hostfs_kern.c next = file->f_pos;
file 364 fs/hostfs/hostfs_kern.c error = (*filldir)(ent, name, len, file->f_pos,
file 367 fs/hostfs/hostfs_kern.c file->f_pos = next;
file 378 fs/hostfs/hostfs_kern.c mode = file->f_mode & (FMODE_READ | FMODE_WRITE);
file 399 fs/hostfs/hostfs_kern.c name = dentry_name(file->f_path.dentry, 0);
file 407 fs/hostfs/hostfs_kern.c FILE_HOSTFS_I(file)->fd = fd;
file 480 fs/hostfs/hostfs_kern.c err = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer,
file 519 fs/hostfs/hostfs_kern.c err = write_file(FILE_HOSTFS_I(file)->fd, &pos, buffer + from, copied);
file 683 fs/hostfs/hostfs_kern.c char *file;
file 686 fs/hostfs/hostfs_kern.c file = inode_name(ino, dentry->d_name.len + 1);
file 687 fs/hostfs/hostfs_kern.c if (file == NULL)
file 689 fs/hostfs/hostfs_kern.c strcat(file, "/");
file 690 fs/hostfs/hostfs_kern.c len = strlen(file);
file 691 fs/hostfs/hostfs_kern.c strncat(file, dentry->d_name.name, dentry->d_name.len);
file 692 fs/hostfs/hostfs_kern.c file[len + dentry->d_name.len] = '\0';
file 693 fs/hostfs/hostfs_kern.c return file;
file 716 fs/hostfs/hostfs_kern.c char *file;
file 719 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL)
file 724 fs/hostfs/hostfs_kern.c err = unlink_file(file);
file 725 fs/hostfs/hostfs_kern.c kfree(file);
file 731 fs/hostfs/hostfs_kern.c char *file;
file 734 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL)
file 736 fs/hostfs/hostfs_kern.c err = make_symlink(file, to);
file 737 fs/hostfs/hostfs_kern.c kfree(file);
file 743 fs/hostfs/hostfs_kern.c char *file;
file 746 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL)
file 748 fs/hostfs/hostfs_kern.c err = do_mkdir(file, mode);
file 749 fs/hostfs/hostfs_kern.c kfree(file);
file 755 fs/hostfs/hostfs_kern.c char *file;
file 758 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL)
file 760 fs/hostfs/hostfs_kern.c err = do_rmdir(file);
file 761 fs/hostfs/hostfs_kern.c kfree(file);
file 246 fs/hostfs/hostfs_user.c } else if (chmod(file, attrs->ia_mode) != 0) {
file 254 fs/hostfs/hostfs_user.c } else if (chown(file, attrs->ia_uid, -1)) {
file 262 fs/hostfs/hostfs_user.c } else if (chown(file, -1, attrs->ia_gid)) {
file 270 fs/hostfs/hostfs_user.c } else if (truncate(file, attrs->ia_size)) {
file 282 fs/hostfs/hostfs_user.c err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL,
file 304 fs/hostfs/hostfs_user.c } else if (utimes(file, times) != 0) {
file 311 fs/hostfs/hostfs_user.c err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL,
file 334 fs/hostfs/hostfs_user.c err = unlink(file);
file 344 fs/hostfs/hostfs_user.c err = mkdir(file, mode);
file 354 fs/hostfs/hostfs_user.c err = rmdir(file);
file 364 fs/hostfs/hostfs_user.c err = mknod(file, mode, makedev(major, minor));
file 384 fs/hostfs/hostfs_user.c n = readlink(file, buf, size);
file 100 fs/hpfs/file.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 124 fs/hpfs/file.c retval = do_sync_write(file, buf, count, ppos);
file 126 fs/hpfs/file.c hpfs_i(file->f_path.dentry->d_inode)->i_dirty = 1;
file 29 fs/hppfs/hppfs.c struct file *proc_file;
file 114 fs/hppfs/hppfs.c if (file != NULL)
file 115 fs/hppfs/hppfs.c extra += strlen(file) + 1;
file 123 fs/hppfs/hppfs.c if (file != NULL) {
file 125 fs/hppfs/hppfs.c strcat(host_file, file);
file 193 fs/hppfs/hppfs.c ssize_t (*read)(struct file *, char __user *, size_t, loff_t *);
file 196 fs/hppfs/hppfs.c read = file->f_path.dentry->d_inode->i_fop->read;
file 201 fs/hppfs/hppfs.c n = (*read)(file, buf, count, &file->f_pos);
file 207 fs/hppfs/hppfs.c *ppos = file->f_pos;
file 251 fs/hppfs/hppfs.c struct hppfs_private *hppfs = file->private_data;
file 295 fs/hppfs/hppfs.c struct hppfs_private *data = file->private_data;
file 296 fs/hppfs/hppfs.c struct file *proc_file = data->proc_file;
file 297 fs/hppfs/hppfs.c ssize_t (*write)(struct file *, const char __user *, size_t, loff_t *);
file 440 fs/hppfs/hppfs.c host_file = dentry_name(file->f_path.dentry, strlen("/rw"));
file 449 fs/hppfs/hppfs.c file_mode(file->f_mode));
file 469 fs/hppfs/hppfs.c file, &data->len);
file 478 fs/hppfs/hppfs.c file->private_data = data;
file 505 fs/hppfs/hppfs.c file_mode(file->f_mode));
file 510 fs/hppfs/hppfs.c file->private_data = data;
file 521 fs/hppfs/hppfs.c struct hppfs_private *data = file->private_data;
file 522 fs/hppfs/hppfs.c struct file *proc_file = data->proc_file;
file 523 fs/hppfs/hppfs.c loff_t (*llseek)(struct file *, loff_t, int);
file 533 fs/hppfs/hppfs.c return default_llseek(file, off, where);
file 564 fs/hppfs/hppfs.c struct hppfs_private *data = file->private_data;
file 565 fs/hppfs/hppfs.c struct file *proc_file = data->proc_file;
file 566 fs/hppfs/hppfs.c int (*readdir)(struct file *, void *, filldir_t);
file 570 fs/hppfs/hppfs.c .dentry = file->f_path.dentry
file 576 fs/hppfs/hppfs.c proc_file->f_pos = file->f_pos;
file 578 fs/hppfs/hppfs.c file->f_pos = proc_file->f_pos;
file 82 fs/hugetlbfs/inode.c struct inode *inode = file->f_path.dentry->d_inode;
file 85 fs/hugetlbfs/inode.c struct hstate *h = hstate_file(file);
file 104 fs/hugetlbfs/inode.c file_accessed(file);
file 136 fs/hugetlbfs/inode.c struct hstate *h = hstate_file(file);
file 144 fs/hugetlbfs/inode.c if (prepare_hugepage_range(file, addr, len))
file 947 fs/hugetlbfs/inode.c struct file *hugetlb_file_setup(const char *name, size_t size)
file 950 fs/hugetlbfs/inode.c struct file *file;
file 988 fs/hugetlbfs/inode.c file = alloc_file(hugetlbfs_vfsmount, dentry,
file 991 fs/hugetlbfs/inode.c if (!file)
file 994 fs/hugetlbfs/inode.c return file;
file 1244 fs/inode.c struct inode *inode = file->f_path.dentry->d_inode;
file 1252 fs/inode.c err = mnt_want_write(file->f_path.mnt);
file 1274 fs/inode.c mnt_drop_write(file->f_path.mnt);
file 418 fs/inotify_user.c struct inotify_device *dev = file->private_data;
file 421 fs/inotify_user.c poll_wait(file, &dev->wq, wait);
file 440 fs/inotify_user.c dev = file->private_data;
file 453 fs/inotify_user.c if (file->f_flags & O_NONBLOCK) {
file 523 fs/inotify_user.c struct inotify_device *dev = file->private_data;
file 525 fs/inotify_user.c return fasync_helper(fd, file, on, &dev->fa) >= 0 ? 0 : -EIO;
file 530 fs/inotify_user.c struct inotify_device *dev = file->private_data;
file 540 fs/inotify_user.c if (file->f_flags & FASYNC)
file 541 fs/inotify_user.c inotify_fasync(-1, file, 0);
file 556 fs/inotify_user.c dev = file->private_data;
file 587 fs/inotify_user.c struct file *filp;
file 671 fs/inotify_user.c struct file *filp;
file 712 fs/inotify_user.c struct file *filp;
file 473 fs/ioctl.c struct file *filp;
file 45 fs/isofs/compress.c struct inode *inode = file->f_path.dentry->d_inode;
file 766 fs/jbd2/journal.c rc = seq_open(file, &jbd2_seq_history_ops);
file 768 fs/jbd2/journal.c struct seq_file *m = file->private_data;
file 780 fs/jbd2/journal.c struct seq_file *seq = file->private_data;
file 785 fs/jbd2/journal.c return seq_release(inode, file);
file 867 fs/jbd2/journal.c rc = seq_open(file, &jbd2_seq_info_ops);
file 869 fs/jbd2/journal.c struct seq_file *m = file->private_data;
file 881 fs/jbd2/journal.c struct seq_file *seq = file->private_data;
file 885 fs/jbd2/journal.c return seq_release(inode, file);
file 50 fs/jfs/file.c if ((rc = generic_file_open(inode, file)))
file 62 fs/jfs/file.c if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE &&
file 294 fs/jfs/inode.c return nobh_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 306 fs/jfs/inode.c struct file *file = iocb->ki_filp;
file 307 fs/jfs/inode.c struct inode *inode = file->f_mapping->host;
file 42 fs/jfs/jfs_debug.c return single_open(file, jfs_loglevel_proc_show, NULL);
file 85 fs/jfs/jfs_incore.h } file;
file 103 fs/jfs/jfs_incore.h #define i_xtroot u.file._xtroot
file 104 fs/jfs/jfs_incore.h #define i_imap u.file._imap
file 2527 fs/jfs/jfs_logmgr.c return single_open(file, jfs_lmstats_proc_show, NULL);
file 825 fs/jfs/jfs_metapage.c return single_open(file, jfs_mpstat_proc_show, NULL);
file 3050 fs/jfs/jfs_txnmgr.c return single_open(file, jfs_txanchor_proc_show, NULL);
file 3091 fs/jfs/jfs_txnmgr.c return single_open(file, jfs_txstats_proc_show, NULL);
file 4155 fs/jfs/jfs_xtree.c return single_open(file, jfs_xtstat_proc_show, NULL);
file 67 fs/libfs.c file->private_data = d_alloc(file->f_path.dentry, &cursor_name);
file 69 fs/libfs.c return file->private_data ? 0 : -ENOMEM;
file 74 fs/libfs.c dput(file->private_data);
file 80 fs/libfs.c mutex_lock(&file->f_path.dentry->d_inode->i_mutex);
file 83 fs/libfs.c offset += file->f_pos;
file 88 fs/libfs.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex);
file 91 fs/libfs.c if (offset != file->f_pos) {
file 92 fs/libfs.c file->f_pos = offset;
file 93 fs/libfs.c if (file->f_pos >= 2) {
file 95 fs/libfs.c struct dentry *cursor = file->private_data;
file 96 fs/libfs.c loff_t n = file->f_pos - 2;
file 100 fs/libfs.c p = file->f_path.dentry->d_subdirs.next;
file 101 fs/libfs.c while (n && p != &file->f_path.dentry->d_subdirs) {
file 112 fs/libfs.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex);
file 369 fs/libfs.c return simple_prepare_write(file, page, from, from+len);
file 404 fs/libfs.c simple_commit_write(file, page, from, from+copied);
file 597 fs/libfs.c if (file->private_data) {
file 603 fs/libfs.c file->private_data = ar;
file 615 fs/libfs.c struct simple_transaction_argresp *ar = file->private_data;
file 624 fs/libfs.c free_page((unsigned long)file->private_data);
file 658 fs/libfs.c file->private_data = attr;
file 660 fs/libfs.c return nonseekable_open(inode, file);
file 665 fs/libfs.c kfree(file->private_data);
file 677 fs/libfs.c attr = file->private_data;
file 713 fs/libfs.c attr = file->private_data;
file 32 fs/lockd/svc4proc.c struct nlm_file *file = NULL;
file 48 fs/lockd/svc4proc.c if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0)
file 50 fs/lockd/svc4proc.c *filp = file;
file 53 fs/lockd/svc4proc.c lock->fl.fl_file = file->f_file;
file 85 fs/lockd/svc4proc.c struct nlm_file *file;
file 92 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 96 fs/lockd/svc4proc.c resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie);
file 103 fs/lockd/svc4proc.c nlm_release_file(file);
file 112 fs/lockd/svc4proc.c struct nlm_file *file;
file 120 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 136 fs/lockd/svc4proc.c resp->status = nlmsvc_lock(rqstp, file, host, &argp->lock,
file 145 fs/lockd/svc4proc.c nlm_release_file(file);
file 154 fs/lockd/svc4proc.c struct nlm_file *file;
file 167 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 171 fs/lockd/svc4proc.c resp->status = nlmsvc_cancel_blocked(file, &argp->lock);
file 175 fs/lockd/svc4proc.c nlm_release_file(file);
file 187 fs/lockd/svc4proc.c struct nlm_file *file;
file 200 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 204 fs/lockd/svc4proc.c resp->status = nlmsvc_unlock(file, &argp->lock);
file 208 fs/lockd/svc4proc.c nlm_release_file(file);
file 326 fs/lockd/svc4proc.c struct nlm_file *file;
file 339 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 343 fs/lockd/svc4proc.c resp->status = nlmsvc_share_file(host, file, argp);
file 347 fs/lockd/svc4proc.c nlm_release_file(file);
file 359 fs/lockd/svc4proc.c struct nlm_file *file;
file 372 fs/lockd/svc4proc.c if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
file 376 fs/lockd/svc4proc.c resp->status = nlmsvc_unshare_file(host, file, argp);
file 380 fs/lockd/svc4proc.c nlm_release_file(file);
file 111 fs/lockd/svclock.c file, lock->fl.fl_pid,
file 121 fs/lockd/svclock.c if (block->b_file == file && nlm_compare_locks(fl, &lock->fl)) {
file 209 fs/lockd/svclock.c block->b_file = file;
file 211 fs/lockd/svclock.c file->f_count++;
file 214 fs/lockd/svclock.c list_add(&block->b_flist, &file->f_blocks);
file 249 fs/lockd/svclock.c struct nlm_file *file = block->b_file;
file 254 fs/lockd/svclock.c mutex_lock(&file->f_mutex);
file 256 fs/lockd/svclock.c mutex_unlock(&file->f_mutex);
file 282 fs/lockd/svclock.c mutex_lock(&file->f_mutex);
file 283 fs/lockd/svclock.c list_for_each_entry_safe(block, next, &file->f_blocks, b_flist) {
file 291 fs/lockd/svclock.c mutex_unlock(&file->f_mutex);
file 296 fs/lockd/svclock.c mutex_unlock(&file->f_mutex);
file 370 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id,
file 371 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino,
file 378 fs/lockd/svclock.c mutex_lock(&file->f_mutex);
file 382 fs/lockd/svclock.c block = nlmsvc_lookup_block(file, lock);
file 384 fs/lockd/svclock.c block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
file 420 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file 451 fs/lockd/svclock.c mutex_unlock(&file->f_mutex);
file 470 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id,
file 471 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino,
file 477 fs/lockd/svclock.c block = nlmsvc_lookup_block(file, lock);
file 484 fs/lockd/svclock.c block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
file 518 fs/lockd/svclock.c error = vfs_test_lock(file->f_file, &lock->fl);
file 563 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id,
file 564 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino,
file 570 fs/lockd/svclock.c nlmsvc_cancel_blocked(file, lock);
file 573 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file 592 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id,
file 593 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino,
file 601 fs/lockd/svclock.c mutex_lock(&file->f_mutex);
file 602 fs/lockd/svclock.c block = nlmsvc_lookup_block(file, lock);
file 603 fs/lockd/svclock.c mutex_unlock(&file->f_mutex);
file 719 fs/lockd/svclock.c struct nlm_file *file = block->b_file;
file 740 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
file 61 fs/lockd/svcproc.c struct nlm_file *file = NULL;
file 77 fs/lockd/svcproc.c if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0)
file 79 fs/lockd/svcproc.c *filp = file;
file 82 fs/lockd/svcproc.c lock->fl.fl_file = file->f_file;
file 114 fs/lockd/svcproc.c struct nlm_file *file;
file 121 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 125 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie));
file 133 fs/lockd/svcproc.c nlm_release_file(file);
file 142 fs/lockd/svcproc.c struct nlm_file *file;
file 150 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 166 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_lock(rqstp, file, host, &argp->lock,
file 175 fs/lockd/svcproc.c nlm_release_file(file);
file 184 fs/lockd/svcproc.c struct nlm_file *file;
file 197 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 201 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_cancel_blocked(file, &argp->lock));
file 205 fs/lockd/svcproc.c nlm_release_file(file);
file 217 fs/lockd/svcproc.c struct nlm_file *file;
file 230 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 234 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_unlock(file, &argp->lock));
file 238 fs/lockd/svcproc.c nlm_release_file(file);
file 358 fs/lockd/svcproc.c struct nlm_file *file;
file 371 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 375 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_share_file(host, file, argp));
file 379 fs/lockd/svcproc.c nlm_release_file(file);
file 391 fs/lockd/svcproc.c struct nlm_file *file;
file 404 fs/lockd/svcproc.c if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
file 408 fs/lockd/svcproc.c resp->status = cast_status(nlmsvc_unshare_file(host, file, argp));
file 412 fs/lockd/svcproc.c nlm_release_file(file);
file 34 fs/lockd/svcshare.c for (share = file->f_shares; share; share = share->s_next) {
file 51 fs/lockd/svcshare.c share->s_file = file;
file 55 fs/lockd/svcshare.c share->s_next = file->f_shares;
file 56 fs/lockd/svcshare.c file->f_shares = share;
file 74 fs/lockd/svcshare.c for (shpp = &file->f_shares; (share = *shpp) != NULL;
file 97 fs/lockd/svcshare.c shpp = &file->f_shares;
file 48 fs/lockd/svcsubs.c struct inode *inode = file->f_file->f_path.dentry->d_inode;
file 88 fs/lockd/svcsubs.c struct nlm_file *file;
file 99 fs/lockd/svcsubs.c hlist_for_each_entry(file, pos, &nlm_files[hash], f_list)
file 100 fs/lockd/svcsubs.c if (!nfs_compare_fh(&file->f_handle, f))
file 106 fs/lockd/svcsubs.c file = kzalloc(sizeof(*file), GFP_KERNEL);
file 107 fs/lockd/svcsubs.c if (!file)
file 110 fs/lockd/svcsubs.c memcpy(&file->f_handle, f, sizeof(struct nfs_fh));
file 111 fs/lockd/svcsubs.c mutex_init(&file->f_mutex);
file 112 fs/lockd/svcsubs.c INIT_HLIST_NODE(&file->f_list);
file 113 fs/lockd/svcsubs.c INIT_LIST_HEAD(&file->f_blocks);
file 121 fs/lockd/svcsubs.c if ((nfserr = nlmsvc_ops->fopen(rqstp, f, &file->f_file)) != 0) {
file 126 fs/lockd/svcsubs.c hlist_add_head(&file->f_list, &nlm_files[hash]);
file 129 fs/lockd/svcsubs.c dprintk("lockd: found file %p (count %d)\n", file, file->f_count);
file 130 fs/lockd/svcsubs.c *result = file;
file 131 fs/lockd/svcsubs.c file->f_count++;
file 139 fs/lockd/svcsubs.c kfree(file);
file 149 fs/lockd/svcsubs.c nlm_debug_print_file("closing file", file);
file 150 fs/lockd/svcsubs.c if (!hlist_unhashed(&file->f_list)) {
file 151 fs/lockd/svcsubs.c hlist_del(&file->f_list);
file 152 fs/lockd/svcsubs.c nlmsvc_ops->fclose(file->f_file);
file 153 fs/lockd/svcsubs.c kfree(file);
file 167 fs/lockd/svcsubs.c struct inode *inode = nlmsvc_file_inode(file);
file 172 fs/lockd/svcsubs.c file->f_locks = 0;
file 178 fs/lockd/svcsubs.c file->f_locks++;
file 187 fs/lockd/svcsubs.c if (vfs_lock_file(file->f_file, F_SETLK, &lock, NULL) < 0) {
file 211 fs/lockd/svcsubs.c nlmsvc_traverse_blocks(host, file, match);
file 212 fs/lockd/svcsubs.c nlmsvc_traverse_shares(host, file, match);
file 213 fs/lockd/svcsubs.c return nlm_traverse_locks(host, file, match);
file 223 fs/lockd/svcsubs.c struct inode *inode = nlmsvc_file_inode(file);
file 226 fs/lockd/svcsubs.c if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares)
file 233 fs/lockd/svcsubs.c file->f_locks = 0;
file 245 fs/lockd/svcsubs.c struct nlm_file *file;
file 250 fs/lockd/svcsubs.c hlist_for_each_entry_safe(file, pos, next, &nlm_files[i], f_list) {
file 251 fs/lockd/svcsubs.c if (is_failover_file && !is_failover_file(data, file))
file 253 fs/lockd/svcsubs.c file->f_count++;
file 258 fs/lockd/svcsubs.c if (nlm_inspect_file(data, file, match))
file 262 fs/lockd/svcsubs.c file->f_count--;
file 264 fs/lockd/svcsubs.c if (list_empty(&file->f_blocks) && !file->f_locks
file 265 fs/lockd/svcsubs.c && !file->f_shares && !file->f_count) {
file 266 fs/lockd/svcsubs.c hlist_del(&file->f_list);
file 267 fs/lockd/svcsubs.c nlmsvc_ops->fclose(file->f_file);
file 268 fs/lockd/svcsubs.c kfree(file);
file 289 fs/lockd/svcsubs.c file, file->f_count);
file 295 fs/lockd/svcsubs.c if (--file->f_count == 0 && !nlm_file_inuse(file))
file 296 fs/lockd/svcsubs.c nlm_delete_file(file);
file 399 fs/lockd/svcsubs.c return sb == file->f_file->f_path.mnt->mnt_sb;
file 1569 fs/locks.c struct file *filp;
file 1774 fs/locks.c struct file *f;
file 1892 fs/locks.c struct file *f;
file 359 fs/minix/inode.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 368 fs/minix/inode.c return __minix_write_begin(file, mapping, pos, len, flags, pagep, fsdata);
file 309 fs/namei.c return inode_permission(file->f_path.dentry->d_inode, mask);
file 345 fs/namei.c struct inode *inode = file->f_path.dentry->d_inode;
file 390 fs/namei.c if (nd->intent.open.file->f_path.dentry == NULL)
file 391 fs/namei.c put_filp(nd->intent.open.file);
file 393 fs/namei.c fput(nd->intent.open.file);
file 1050 fs/namei.c struct file *file;
file 1070 fs/namei.c file = fget_light(dfd, &fput_needed);
file 1072 fs/namei.c if (!file)
file 1075 fs/namei.c dentry = file->f_path.dentry;
file 1081 fs/namei.c retval = file_permission(file, MAY_EXEC);
file 1085 fs/namei.c nd->path = file->f_path;
file 1086 fs/namei.c path_get(&file->f_path);
file 1088 fs/namei.c fput_light(file, fput_needed);
file 1099 fs/namei.c fput_light(file, fput_needed);
file 1145 fs/namei.c struct file *filp = get_empty_filp();
file 1150 fs/namei.c nd->intent.open.file = filp;
file 1154 fs/namei.c if (IS_ERR(nd->intent.open.file)) {
file 1156 fs/namei.c err = PTR_ERR(nd->intent.open.file);
file 1668 fs/namei.c struct file *do_filp_open(int dfd, const char *pathname,
file 1671 fs/namei.c struct file *filp;
file 1732 fs/namei.c if (IS_ERR(nd.intent.open.file)) {
file 1733 fs/namei.c error = PTR_ERR(nd.intent.open.file);
file 1823 fs/namei.c if (!IS_ERR(nd.intent.open.file))
file 1889 fs/namei.c struct file *filp_open(const char *filename, int flags, int mode)
file 105 fs/ncpfs/file.c struct dentry *dentry = file->f_path.dentry;
file 174 fs/ncpfs/file.c file_accessed(file);
file 186 fs/ncpfs/file.c struct dentry *dentry = file->f_path.dentry;
file 201 fs/ncpfs/file.c if (file->f_flags & O_APPEND) {
file 205 fs/ncpfs/file.c if (pos + count > MAX_NON_LFS && !(file->f_flags&O_LARGEFILE)) {
file 264 fs/ncpfs/file.c file_update_time(file);
file 289 fs/ncpfs/file.c ret = generic_file_llseek_unlocked(file, offset, origin);
file 437 fs/ncpfs/inode.c struct file *ncp_filp;
file 40 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 43 fs/ncpfs/ioctl.c if ((file_permission(file, MAY_WRITE) != 0)
file 70 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 73 fs/ncpfs/ioctl.c if ((file_permission(file, MAY_WRITE) != 0)
file 141 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 144 fs/ncpfs/ioctl.c if ((file_permission(file, MAY_WRITE) != 0)
file 879 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 884 fs/ncpfs/ioctl.c ret = ncp_ioctl(inode, file, cmd, arg);
file 33 fs/ncpfs/mmap.c struct file *file = area->vm_file;
file 34 fs/ncpfs/mmap.c struct dentry *dentry = file->f_path.dentry;
file 107 fs/ncpfs/mmap.c struct inode *inode = file->f_path.dentry->d_inode;
file 124 fs/ncpfs/mmap.c file_accessed(file);
file 1360 fs/nfs/client.c ret = seq_open(file, &nfs_server_list_ops);
file 1364 fs/nfs/client.c m = file->private_data;
file 1430 fs/nfs/client.c ret = seq_open(file, &nfs_volume_list_ops);
file 1434 fs/nfs/client.c m = file->private_data;
file 149 fs/nfs/dir.c struct file *file;
file 177 fs/nfs/dir.c struct file *file = desc->file;
file 178 fs/nfs/dir.c struct inode *inode = file->f_path.dentry->d_inode;
file 179 fs/nfs/dir.c struct rpc_cred *cred = nfs_file_cred(file);
file 189 fs/nfs/dir.c error = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred, desc->entry->cookie, page,
file 294 fs/nfs/dir.c if (desc->file->f_pos == desc->current_index) {
file 314 fs/nfs/dir.c struct inode *inode = desc->file->f_path.dentry->d_inode;
file 363 fs/nfs/dir.c (long long)desc->file->f_pos);
file 402 fs/nfs/dir.c struct file *file = desc->file;
file 430 fs/nfs/dir.c file->f_pos, nfs_compat_user_ino64(fileid),
file 434 fs/nfs/dir.c file->f_pos++;
file 469 fs/nfs/dir.c struct file *file = desc->file;
file 470 fs/nfs/dir.c struct inode *inode = file->f_path.dentry->d_inode;
file 471 fs/nfs/dir.c struct rpc_cred *cred = nfs_file_cred(file);
file 485 fs/nfs/dir.c status = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred,
file 545 fs/nfs/dir.c desc->file = filp;
file 1086 fs/nfs/dir.c struct dentry *parent = desc->file->f_path.dentry;
file 886 fs/nfs/direct.c struct file *file = iocb->ki_filp;
file 887 fs/nfs/direct.c struct address_space *mapping = file->f_mapping;
file 894 fs/nfs/direct.c file->f_path.dentry->d_parent->d_name.name,
file 895 fs/nfs/direct.c file->f_path.dentry->d_name.name,
file 943 fs/nfs/direct.c struct file *file = iocb->ki_filp;
file 944 fs/nfs/direct.c struct address_space *mapping = file->f_mapping;
file 951 fs/nfs/direct.c file->f_path.dentry->d_parent->d_name.name,
file 952 fs/nfs/direct.c file->f_path.dentry->d_name.name,
file 955 fs/nfs/direct.c retval = generic_write_checks(file, &pos, &count, 0);
file 232 fs/nfs/file.c struct nfs_open_context *ctx = nfs_file_open_context(file);
file 233 fs/nfs/file.c struct dentry *dentry = file->f_path.dentry;
file 241 fs/nfs/file.c if ((file->f_mode & FMODE_WRITE) == 0)
file 297 fs/nfs/file.c struct dentry *dentry = file->f_path.dentry;
file 304 fs/nfs/file.c status = nfs_revalidate_mapping(inode, file->f_mapping);
file 308 fs/nfs/file.c file_accessed(file);
file 321 fs/nfs/file.c struct nfs_open_context *ctx = nfs_file_open_context(file);
file 350 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name,
file 351 fs/nfs/file.c file->f_path.dentry->d_name.name,
file 359 fs/nfs/file.c ret = nfs_flush_incompatible(file, page);
file 375 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name,
file 376 fs/nfs/file.c file->f_path.dentry->d_name.name,
file 399 fs/nfs/file.c status = nfs_updatepage(file, page, offset, copied);
file 453 fs/nfs/file.c struct file *filp = vma->vm_file;
file 583 fs/nfs/file.c res = posix_lock_file_wait(file, fl);
file 586 fs/nfs/file.c res = flock_lock_file_wait(file, fl);
file 729 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name,
file 730 fs/nfs/file.c file->f_path.dentry->d_name.name, arg);
file 1359 fs/nfs/nfs4proc.c struct file *filp;
file 3114 fs/nfs/nfs4proc.c res = posix_lock_file_wait(file, fl);
file 3117 fs/nfs/nfs4proc.c res = flock_lock_file_wait(file, fl);
file 505 fs/nfs/read.c if (file == NULL) {
file 511 fs/nfs/read.c ctx = get_nfs_open_context(nfs_file_open_context(file));
file 678 fs/nfs/write.c struct nfs_open_context *ctx = nfs_file_open_context(file);
file 722 fs/nfs/write.c struct nfs_open_context *ctx = nfs_file_open_context(file);
file 729 fs/nfs/write.c file->f_path.dentry->d_parent->d_name.name,
file 730 fs/nfs/write.c file->f_path.dentry->d_name.name, count,
file 740 fs/nfs/write.c !(file->f_flags & O_SYNC)) {
file 23 fs/nfsctl.c static struct file *do_open(char *name, int flags)
file 31 fs/nfsctl.c return (struct file *)mnt;
file 88 fs/nfsctl.c struct file *file;
file 102 fs/nfsctl.c file = do_open(map[cmd].name, map[cmd].rsize ? O_RDWR : O_WRONLY);
file 103 fs/nfsctl.c if (IS_ERR(file))
file 104 fs/nfsctl.c return PTR_ERR(file);
file 105 fs/nfsctl.c err = file->f_op->write(file, p, map[cmd].wsize, &file->f_pos);
file 107 fs/nfsctl.c err = file->f_op->read(file, res, map[cmd].rsize, &file->f_pos);
file 110 fs/nfsctl.c fput(file);
file 685 fs/nfsd/nfs4proc.c struct file *filp = NULL;
file 214 fs/nfsd/nfs4recover.c struct file *filp;
file 251 fs/nfsd/nfs4state.c struct file *filp = dp->dl_vfs_file;
file 1099 fs/nfsd/nfs4state.c struct file *filp = stp->st_vfs_file;
file 1577 fs/nfsd/nfs4state.c struct file *filp = stp->st_vfs_file;
file 2621 fs/nfsd/nfs4state.c struct file *filp;
file 2779 fs/nfsd/nfs4state.c struct file file;
file 2842 fs/nfsd/nfs4state.c memset(&file, 0, sizeof (struct file));
file 2843 fs/nfsd/nfs4state.c file.f_path.dentry = cstate->current_fh.fh_dentry;
file 2846 fs/nfsd/nfs4state.c error = vfs_test_lock(&file, &file_lock);
file 2865 fs/nfsd/nfs4state.c struct file *filp = NULL;
file 124 fs/nfsd/nfsctl.c ino_t ino = file->f_path.dentry->d_inode->i_ino;
file 131 fs/nfsd/nfsctl.c data = simple_transaction_get(file, buf, size);
file 135 fs/nfsd/nfsctl.c rv = write_op[ino](file, data, size);
file 137 fs/nfsd/nfsctl.c simple_transaction_set(file, rv);
file 145 fs/nfsd/nfsctl.c if (! file->private_data) {
file 150 fs/nfsd/nfsctl.c ssize_t rv = nfsctl_transaction_write(file, buf, 0, pos);
file 154 fs/nfsd/nfsctl.c return simple_transaction_read(file, buf, size, pos);
file 165 fs/nfsd/nfsctl.c return seq_open(file, &nfs_exports_op);
file 586 fs/nfsd/nfsctl.c rv = __write_versions(file, buf, size);
file 695 fs/nfsd/nfsctl.c rv = __write_ports(file, buf, size);
file 760 fs/nfsd/nfsctl.c rv = __write_leasetime(file, buf, size);
file 796 fs/nfsd/nfsctl.c rv = __write_recoverydir(file, buf, size);
file 90 fs/nfsd/stats.c return single_open(file, nfsd_proc_show, NULL);
file 751 fs/nfsd/vfs.c int (*fsync) (struct file *, struct dentry *, int);
file 897 fs/nfsd/vfs.c inode = file->f_path.dentry->d_inode;
file 906 fs/nfsd/vfs.c file->f_ra = ra->p_ra;
file 908 fs/nfsd/vfs.c if (file->f_op->splice_read && rqstp->rq_splice_ok) {
file 917 fs/nfsd/vfs.c host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor);
file 921 fs/nfsd/vfs.c host_err = vfs_readv(file, (struct iovec __user *)vec, vlen, &offset);
file 929 fs/nfsd/vfs.c ra->p_ra = file->f_ra;
file 939 fs/nfsd/vfs.c fsnotify_access(file->f_path.dentry);
file 973 fs/nfsd/vfs.c (!lock_may_write(file->f_path.dentry->d_inode, offset, cnt)))
file 977 fs/nfsd/vfs.c dentry = file->f_path.dentry;
file 990 fs/nfsd/vfs.c if (!file->f_op->fsync) {/* COMMIT3 cannot work */
file 998 fs/nfsd/vfs.c file->f_flags |= O_SYNC;
file 1002 fs/nfsd/vfs.c host_err = vfs_writev(file, (struct iovec __user *)vec, vlen, &offset);
file 1006 fs/nfsd/vfs.c fsnotify_modify(file->f_path.dentry);
file 1039 fs/nfsd/vfs.c host_err=nfsd_sync(file);
file 1070 fs/nfsd/vfs.c if (file) {
file 1075 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count);
file 1077 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_READ, &file);
file 1080 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count);
file 1081 fs/nfsd/vfs.c nfsd_close(file);
file 1099 fs/nfsd/vfs.c if (file) {
file 1104 fs/nfsd/vfs.c err = nfsd_vfs_write(rqstp, fhp, file, offset, vec, vlen, cnt,
file 1107 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_WRITE, &file);
file 1112 fs/nfsd/vfs.c err = nfsd_vfs_write(rqstp, fhp, file, offset, vec, vlen,
file 1114 fs/nfsd/vfs.c nfsd_close(file);
file 1133 fs/nfsd/vfs.c struct file *file;
file 1139 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_WRITE, &file);
file 1143 fs/nfsd/vfs.c if (file->f_op && file->f_op->fsync) {
file 1144 fs/nfsd/vfs.c err = nfserrno(nfsd_sync(file));
file 1150 fs/nfsd/vfs.c nfsd_close(file);
file 1826 fs/nfsd/vfs.c struct file *file;
file 1829 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFDIR, NFSD_MAY_READ, &file);
file 1833 fs/nfsd/vfs.c offset = vfs_llseek(file, offset, 0);
file 1847 fs/nfsd/vfs.c host_err = vfs_readdir(file, func, cdp);
file 1853 fs/nfsd/vfs.c *offsetp = vfs_llseek(file, 0, 1);
file 1858 fs/nfsd/vfs.c nfsd_close(file);
file 138 fs/ntfs/debug.c printk(KERN_DEBUG "NTFS-fs DEBUG (%s, %d): %s(): %s\n", file, line,
file 1786 fs/ntfs/file.c struct file *file = iocb->ki_filp;
file 1787 fs/ntfs/file.c struct address_space *mapping = file->f_mapping;
file 2081 fs/ntfs/file.c if (unlikely((file->f_flags & O_SYNC) || IS_SYNC(vi))) {
file 2100 fs/ntfs/file.c struct file *file = iocb->ki_filp;
file 2101 fs/ntfs/file.c struct address_space *mapping = file->f_mapping;
file 2116 fs/ntfs/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode));
file 2121 fs/ntfs/file.c err = file_remove_suid(file);
file 2124 fs/ntfs/file.c file_update_time(file);
file 2138 fs/ntfs/file.c struct file *file = iocb->ki_filp;
file 2139 fs/ntfs/file.c struct address_space *mapping = file->f_mapping;
file 2148 fs/ntfs/file.c if (ret > 0 && ((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 2165 fs/ntfs/file.c struct address_space *mapping = file->f_mapping;
file 2171 fs/ntfs/file.c init_sync_kiocb(&kiocb, file);
file 2176 fs/ntfs/file.c if (ret > 0 && ((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 2193 fs/ntfs/file.c return ntfs_file_writev(file, &local_iov, 1, ppos);
file 286 fs/ocfs2/aops.c mlog_entry("(0x%p, %lu)\n", file, (page ? page->index : 0));
file 688 fs/ocfs2/aops.c struct file *file = iocb->ki_filp;
file 689 fs/ocfs2/aops.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host;
file 1236 fs/ocfs2/cluster/heartbeat.c struct file *filp = NULL;
file 186 fs/ocfs2/cluster/netdebug.c ret = seq_open(file, &nst_seq_ops);
file 190 fs/ocfs2/cluster/netdebug.c seq = file->private_data;
file 203 fs/ocfs2/cluster/netdebug.c struct seq_file *seq = file->private_data;
file 207 fs/ocfs2/cluster/netdebug.c return seq_release_private(inode, file);
file 367 fs/ocfs2/cluster/netdebug.c ret = seq_open(file, &sc_seq_ops);
file 371 fs/ocfs2/cluster/netdebug.c seq = file->private_data;
file 384 fs/ocfs2/cluster/netdebug.c struct seq_file *seq = file->private_data;
file 388 fs/ocfs2/cluster/netdebug.c return seq_release_private(inode, file);
file 406 fs/ocfs2/dlm/dlmdebug.c struct debug_buffer *db = file->private_data;
file 413 fs/ocfs2/dlm/dlmdebug.c struct debug_buffer *db = file->private_data;
file 421 fs/ocfs2/dlm/dlmdebug.c new = file->f_pos + off;
file 428 fs/ocfs2/dlm/dlmdebug.c return (file->f_pos = new);
file 433 fs/ocfs2/dlm/dlmdebug.c struct debug_buffer *db = (struct debug_buffer *)file->private_data;
file 485 fs/ocfs2/dlm/dlmdebug.c file->private_data = db;
file 535 fs/ocfs2/dlm/dlmdebug.c file->private_data = db;
file 718 fs/ocfs2/dlm/dlmdebug.c ret = seq_open(file, &debug_lockres_ops);
file 724 fs/ocfs2/dlm/dlmdebug.c seq = (struct seq_file *) file->private_data;
file 740 fs/ocfs2/dlm/dlmdebug.c struct seq_file *seq = (struct seq_file *)file->private_data;
file 747 fs/ocfs2/dlm/dlmdebug.c return seq_release_private(inode, file);
file 904 fs/ocfs2/dlm/dlmdebug.c file->private_data = db;
file 120 fs/ocfs2/dlm/dlmfs.c file->f_flags);
file 122 fs/ocfs2/dlm/dlmfs.c status = dlmfs_decode_open_flags(file->f_flags, &level, &flags);
file 128 fs/ocfs2/dlm/dlmfs.c file->f_flags &= ~O_APPEND;
file 151 fs/ocfs2/dlm/dlmfs.c file->private_data = fp;
file 162 fs/ocfs2/dlm/dlmfs.c (struct dlmfs_filp_private *) file->private_data;
file 176 fs/ocfs2/dlm/dlmfs.c file->private_data = NULL;
file 1637 fs/ocfs2/dlmglue.c struct ocfs2_file_private *fp = file->private_data;
file 1639 fs/ocfs2/dlmglue.c struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
file 1734 fs/ocfs2/dlmglue.c struct ocfs2_file_private *fp = file->private_data;
file 1736 fs/ocfs2/dlmglue.c struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
file 2634 fs/ocfs2/dlmglue.c struct seq_file *seq = (struct seq_file *) file->private_data;
file 2640 fs/ocfs2/dlmglue.c return seq_release_private(inode, file);
file 2661 fs/ocfs2/dlmglue.c ret = seq_open(file, &ocfs2_dlm_seq_ops);
file 2668 fs/ocfs2/dlmglue.c seq = (struct seq_file *) file->private_data;
file 76 fs/ocfs2/file.c fp->fp_file = file;
file 79 fs/ocfs2/file.c file->private_data = fp;
file 86 fs/ocfs2/file.c struct ocfs2_file_private *fp = file->private_data;
file 93 fs/ocfs2/file.c file->private_data = NULL;
file 100 fs/ocfs2/file.c int mode = file->f_flags;
file 103 fs/ocfs2/file.c mlog_entry("(0x%p, 0x%p, '%.*s')\n", inode, file,
file 104 fs/ocfs2/file.c file->f_path.dentry->d_name.len, file->f_path.dentry->d_name.name);
file 124 fs/ocfs2/file.c status = ocfs2_init_file_private(inode, file);
file 144 fs/ocfs2/file.c mlog_entry("(0x%p, 0x%p, '%.*s')\n", inode, file,
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 153 fs/ocfs2/file.c ocfs2_free_file_private(inode, file);
file 162 fs/ocfs2/file.c return ocfs2_init_file_private(inode, file);
file 167 fs/ocfs2/file.c ocfs2_free_file_private(inode, file);
file 180 fs/ocfs2/file.c mlog_entry("(0x%p, 0x%p, %d, '%.*s')\n", file, dentry, datasync,
file 1558 fs/ocfs2/file.c if (file && should_remove_suid(file->f_path.dentry)) {
file 1625 fs/ocfs2/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1638 fs/ocfs2/file.c if (!(file->f_mode & FMODE_WRITE))
file 1641 fs/ocfs2/file.c return __ocfs2_change_file_space(file, inode, file->f_pos, cmd, sr, 0);
file 1788 fs/ocfs2/file.c struct file *file = iocb->ki_filp;
file 1789 fs/ocfs2/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 1792 fs/ocfs2/file.c mlog_entry("(0x%p, %u, '%.*s')\n", file,
file 1794 fs/ocfs2/file.c file->f_path.dentry->d_name.len,
file 1795 fs/ocfs2/file.c file->f_path.dentry->d_name.name);
file 1802 fs/ocfs2/file.c appending = file->f_flags & O_APPEND ? 1 : 0;
file 1803 fs/ocfs2/file.c direct_io = file->f_flags & O_DIRECT ? 1 : 0;
file 1823 fs/ocfs2/file.c ret = ocfs2_prepare_inode_for_write(file->f_path.dentry, ppos,
file 1862 fs/ocfs2/file.c ret = generic_write_checks(file, ppos, &count,
file 1880 fs/ocfs2/file.c BUG_ON(ret == -EIOCBQUEUED && !(file->f_flags & O_DIRECT));
file 1882 fs/ocfs2/file.c if ((file->f_flags & O_SYNC && !direct_io) || IS_SYNC(inode)) {
file 2003 fs/ocfs2/file.c struct file *filp = iocb->ki_filp;
file 39 fs/ocfs2/file.h struct file *fp_file;
file 191 fs/ocfs2/ioctl.c return ocfs2_ioctl(file, cmd, arg);
file 81 fs/ocfs2/localalloc.c file->private_data = inode->i_private;
file 91 fs/ocfs2/localalloc.c struct ocfs2_super *osb = file->private_data;
file 43 fs/ocfs2/locks.c struct ocfs2_file_private *fp = file->private_data;
file 70 fs/ocfs2/locks.c flock_lock_file_wait(file,
file 73 fs/ocfs2/locks.c ocfs2_file_unlock(file);
file 76 fs/ocfs2/locks.c ret = ocfs2_file_lock(file, level, trylock);
file 85 fs/ocfs2/locks.c ret = flock_lock_file_wait(file, fl);
file 96 fs/ocfs2/locks.c struct ocfs2_file_private *fp = file->private_data;
file 99 fs/ocfs2/locks.c ocfs2_file_unlock(file);
file 100 fs/ocfs2/locks.c ret = flock_lock_file_wait(file, fl);
file 111 fs/ocfs2/locks.c struct inode *inode = file->f_mapping->host;
file 121 fs/ocfs2/locks.c return flock_lock_file_wait(file, fl);
file 124 fs/ocfs2/locks.c return ocfs2_do_funlock(file, cmd, fl);
file 126 fs/ocfs2/locks.c return ocfs2_do_flock(file, inode, cmd, fl);
file 131 fs/ocfs2/locks.c struct inode *inode = file->f_mapping->host;
file 139 fs/ocfs2/locks.c return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl);
file 208 fs/ocfs2/mmap.c ret = ocfs2_inode_lock_atime(file->f_dentry->d_inode,
file 209 fs/ocfs2/mmap.c file->f_vfsmnt, &lock_level);
file 214 fs/ocfs2/mmap.c ocfs2_inode_unlock(file->f_dentry->d_inode, lock_level);
file 171 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 177 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 276 fs/ocfs2/stack_user.c ocfs2_control_set_handshake_state(file,
file 310 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 345 fs/ocfs2/stack_user.c ocfs2_control_set_handshake_state(file,
file 371 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 373 fs/ocfs2/stack_user.c if (ocfs2_control_get_handshake_state(file) !=
file 394 fs/ocfs2/stack_user.c return ocfs2_control_install_private(file);
file 402 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 406 fs/ocfs2/stack_user.c if (ocfs2_control_get_handshake_state(file) !=
file 444 fs/ocfs2/stack_user.c return ocfs2_control_install_private(file);
file 453 fs/ocfs2/stack_user.c if (ocfs2_control_get_handshake_state(file) !=
file 498 fs/ocfs2/stack_user.c ret = ocfs2_control_do_setnode_msg(file, &msg.u_setn);
file 502 fs/ocfs2/stack_user.c ret = ocfs2_control_do_setversion_msg(file, &msg.u_setv);
file 506 fs/ocfs2/stack_user.c ret = ocfs2_control_do_down_msg(file, &msg.u_down);
file 521 fs/ocfs2/stack_user.c switch (ocfs2_control_get_handshake_state(file)) {
file 527 fs/ocfs2/stack_user.c ret = ocfs2_control_validate_protocol(file, buf,
file 533 fs/ocfs2/stack_user.c ret = ocfs2_control_message(file, buf, count);
file 561 fs/ocfs2/stack_user.c ocfs2_control_set_handshake_state(file,
file 569 fs/ocfs2/stack_user.c struct ocfs2_control_private *p = file->private_data;
file 573 fs/ocfs2/stack_user.c if (ocfs2_control_get_handshake_state(file) !=
file 597 fs/ocfs2/stack_user.c file->private_data = NULL;
file 617 fs/ocfs2/stack_user.c file->private_data = p;
file 774 fs/ocfs2/stack_user.c return dlm_posix_get(conn->cc_lockspace, ino, file, fl);
file 776 fs/ocfs2/stack_user.c return dlm_posix_unlock(conn->cc_lockspace, ino, file, fl);
file 778 fs/ocfs2/stack_user.c return dlm_posix_lock(conn->cc_lockspace, ino, file, cmd, fl);
file 306 fs/ocfs2/stackglue.c return active_stack->sp_ops->plock(conn, ino, file, cmd, fl);
file 32 fs/ocfs2/stackglue.h struct file;
file 200 fs/ocfs2/stackglue.h struct file *file,
file 331 fs/omfs/file.c return block_write_begin(file, mapping, pos, len, flags,
file 163 fs/open.c struct file * file;
file 168 fs/open.c file = fget(fd);
file 169 fs/open.c if (!file)
file 171 fs/open.c error = vfs_statfs_native(file->f_path.dentry, &tmp);
file 174 fs/open.c fput(file);
file 181 fs/open.c struct file * file;
file 189 fs/open.c file = fget(fd);
file 190 fs/open.c if (!file)
file 192 fs/open.c error = vfs_statfs64(file->f_path.dentry, &tmp);
file 195 fs/open.c fput(file);
file 300 fs/open.c struct file * file;
file 307 fs/open.c file = fget(fd);
file 308 fs/open.c if (!file)
file 312 fs/open.c if (file->f_flags & O_LARGEFILE)
file 315 fs/open.c dentry = file->f_path.dentry;
file 318 fs/open.c if (!S_ISREG(inode->i_mode) || !(file->f_mode & FMODE_WRITE))
file 330 fs/open.c error = locks_verify_truncate(inode, file, length);
file 332 fs/open.c error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file);
file 334 fs/open.c fput(file);
file 365 fs/open.c struct file *file;
file 378 fs/open.c file = fget(fd);
file 379 fs/open.c if (!file)
file 381 fs/open.c if (!(file->f_mode & FMODE_WRITE))
file 387 fs/open.c ret = security_file_permission(file, MAY_WRITE);
file 391 fs/open.c inode = file->f_path.dentry->d_inode;
file 416 fs/open.c fput(file);
file 534 fs/open.c struct file *file;
file 539 fs/open.c file = fget(fd);
file 540 fs/open.c if (!file)
file 543 fs/open.c inode = file->f_path.dentry->d_inode;
file 551 fs/open.c set_fs_pwd(current->fs, &file->f_path);
file 553 fs/open.c fput(file);
file 587 fs/open.c struct file * file;
file 591 fs/open.c file = fget(fd);
file 592 fs/open.c if (!file)
file 595 fs/open.c dentry = file->f_path.dentry;
file 600 fs/open.c err = mnt_want_write(file->f_path.mnt);
file 610 fs/open.c mnt_drop_write(file->f_path.mnt);
file 612 fs/open.c fput(file);
file 743 fs/open.c struct file * file;
file 747 fs/open.c file = fget(fd);
file 748 fs/open.c if (!file)
file 751 fs/open.c error = mnt_want_write(file->f_path.mnt);
file 754 fs/open.c dentry = file->f_path.dentry;
file 757 fs/open.c mnt_drop_write(file->f_path.mnt);
file 759 fs/open.c fput(file);
file 793 fs/open.c static struct file *__dentry_open(struct dentry *dentry, struct vfsmount *mnt,
file 891 fs/open.c struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry,
file 894 fs/open.c if (IS_ERR(nd->intent.open.file))
file 898 fs/open.c nd->intent.open.file = __dentry_open(dget(dentry), mntget(nd->path.mnt),
file 900 fs/open.c nd->intent.open.file,
file 903 fs/open.c return nd->intent.open.file;
file 906 fs/open.c nd->intent.open.file = (struct file *)dentry;
file 918 fs/open.c struct file *nameidata_to_filp(struct nameidata *nd, int flags)
file 920 fs/open.c struct file *filp;
file 923 fs/open.c filp = nd->intent.open.file;
file 937 fs/open.c struct file *dentry_open(struct dentry *dentry, struct vfsmount *mnt, int flags)
file 940 fs/open.c struct file *f;
file 1004 fs/open.c rcu_assign_pointer(fdt->fd[fd], file);
file 1018 fs/open.c struct file *f = do_filp_open(dfd, tmp, flags, mode);
file 1103 fs/open.c struct file * filp;
file 150 fs/openpromfs/inode.c ret = seq_open(file, &property_op);
file 152 fs/openpromfs/inode.c struct seq_file *m = file->private_data;
file 285 fs/pipe.c struct file *filp = iocb->ki_filp;
file 398 fs/pipe.c struct file *filp = iocb->ki_filp;
file 918 fs/pipe.c struct file *create_write_pipe(int flags)
file 922 fs/pipe.c struct file *f;
file 975 fs/pipe.c struct file *create_read_pipe(struct file *wrf, int flags)
file 977 fs/pipe.c struct file *f = get_empty_filp();
file 997 fs/pipe.c struct file *fw, *fr;
file 396 fs/proc/base.c return single_open(file, lstats_show_proc, inode);
file 402 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_dentry->d_inode);
file 605 fs/proc/base.c file->private_data = &p->m;
file 606 fs/proc/base.c ret = seq_open(file, op);
file 629 fs/proc/base.c struct proc_mounts *p = file->private_data;
file 632 fs/proc/base.c return seq_release(inode, file);
file 637 fs/proc/base.c struct proc_mounts *p = file->private_data;
file 641 fs/proc/base.c poll_wait(file, &ns->poll, wait);
file 655 fs/proc/base.c return mounts_open_common(inode, file, &mounts_op);
file 668 fs/proc/base.c return mounts_open_common(inode, file, &mountinfo_op);
file 681 fs/proc/base.c return mounts_open_common(inode, file, &mountstats_op);
file 696 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 768 fs/proc/base.c file->private_data = (void*)((long)current->self_exec_id);
file 775 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
file 800 fs/proc/base.c if (file->private_data != (void*)((long)current->self_exec_id))
file 847 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
file 895 fs/proc/base.c file->f_pos = offset;
file 898 fs/proc/base.c file->f_pos += offset;
file 904 fs/proc/base.c return file->f_pos;
file 917 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_dentry->d_inode);
file 987 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
file 1020 fs/proc/base.c task = get_proc_task(file->f_path.dentry->d_inode);
file 1044 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 1060 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 1109 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 1131 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_dentry->d_inode);
file 1163 fs/proc/base.c task = get_proc_task(file->f_dentry->d_inode);
file 1205 fs/proc/base.c struct inode *inode = file->f_path.dentry->d_inode;
file 1273 fs/proc/base.c struct file *get_mm_exe_file(struct mm_struct *mm)
file 1275 fs/proc/base.c struct file *exe_file;
file 1298 fs/proc/base.c struct file *exe_file;
file 1606 fs/proc/base.c struct file *file;
file 1619 fs/proc/base.c file = fcheck_files(files, fd);
file 1620 fs/proc/base.c if (file) {
file 1622 fs/proc/base.c *path = file->f_path;
file 1623 fs/proc/base.c path_get(&file->f_path);
file 1629 fs/proc/base.c (long long) file->f_pos,
file 1630 fs/proc/base.c file->f_flags);
file 1691 fs/proc/base.c struct file *file;
file 1712 fs/proc/base.c file = fcheck_files(files, fd);
file 1713 fs/proc/base.c if (!file)
file 1715 fs/proc/base.c if (file->f_mode & 1)
file 1717 fs/proc/base.c if (file->f_mode & 2)
file 1835 fs/proc/base.c int err = proc_fd_info(file->f_path.dentry->d_inode, NULL, tmp);
file 2062 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 2071 fs/proc/base.c (char*)file->f_path.dentry->d_name.name,
file 2083 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode;
file 2109 fs/proc/base.c (char*)file->f_path.dentry->d_name.name,
file 2164 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_dentry->d_inode);
file 2216 fs/proc/base.c task = get_proc_task(file->f_dentry->d_inode);
file 44 fs/proc/generic.c struct inode * inode = file->f_path.dentry->d_inode;
file 190 fs/proc/generic.c struct inode *inode = file->f_path.dentry->d_inode;
file 199 fs/proc/generic.c return dp->write_proc(file, buffer, count, dp->data);
file 209 fs/proc/generic.c offset += file->f_pos;
file 214 fs/proc/generic.c file->f_pos = retval = offset;
file 798 fs/proc/generic.c pdeo->release(pdeo->inode, pdeo->file);
file 143 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 145 fs/proc/inode.c loff_t (*llseek)(struct file *, loff_t, int);
file 170 fs/proc/inode.c rv = llseek(file, offset, whence);
file 178 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 180 fs/proc/inode.c ssize_t (*read)(struct file *, char __user *, size_t, loff_t *);
file 192 fs/proc/inode.c rv = read(file, buf, count, ppos);
file 200 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 202 fs/proc/inode.c ssize_t (*write)(struct file *, const char __user *, size_t, loff_t *);
file 214 fs/proc/inode.c rv = write(file, buf, count, ppos);
file 222 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 224 fs/proc/inode.c unsigned int (*poll)(struct file *, struct poll_table_struct *);
file 236 fs/proc/inode.c rv = poll(file, pts);
file 244 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 246 fs/proc/inode.c long (*unlocked_ioctl)(struct file *, unsigned int, unsigned long);
file 247 fs/proc/inode.c int (*ioctl)(struct inode *, struct file *, unsigned int, unsigned long);
file 260 fs/proc/inode.c rv = unlocked_ioctl(file, cmd, arg);
file 265 fs/proc/inode.c rv = ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
file 276 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 278 fs/proc/inode.c long (*compat_ioctl)(struct file *, unsigned int, unsigned long);
file 290 fs/proc/inode.c rv = compat_ioctl(file, cmd, arg);
file 299 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 301 fs/proc/inode.c int (*mmap)(struct file *, struct vm_area_struct *);
file 313 fs/proc/inode.c rv = mmap(file, vma);
file 323 fs/proc/inode.c int (*open)(struct inode *, struct file *);
file 324 fs/proc/inode.c int (*release)(struct inode *, struct file *);
file 353 fs/proc/inode.c rv = open(inode, file);
file 359 fs/proc/inode.c pdeo->file = file;
file 376 fs/proc/inode.c if (pdeo->inode == inode && pdeo->file == file)
file 386 fs/proc/inode.c int (*release)(struct inode *, struct file *);
file 390 fs/proc/inode.c pdeo = find_pde_opener(pde, inode, file);
file 403 fs/proc/inode.c rv = pdeo->release(inode, file);
file 418 fs/proc/inode.c rv = release(inode, file);
file 93 fs/proc/internal.h struct file *file;
file 94 fs/proc/internal.h int (*release)(struct inode *, struct file *);
file 38 fs/proc/kmsg.c if ((file->f_flags & O_NONBLOCK) && !do_syslog(9, NULL, 0))
file 45 fs/proc/kmsg.c poll_wait(file, &log_wait, wait);
file 41 fs/proc/nommu.c struct file *file;
file 46 fs/proc/nommu.c file = vma->vm_file;
file 48 fs/proc/nommu.c if (file) {
file 65 fs/proc/nommu.c if (file) {
file 70 fs/proc/nommu.c seq_path(m, &file->f_path, "");
file 128 fs/proc/nommu.c return seq_open(file, &proc_nommu_vma_list_seqop);
file 244 fs/proc/proc_misc.c return seq_open(file, &fragmentation_op);
file 256 fs/proc/proc_misc.c return seq_open(file, &pagetypeinfo_op);
file 268 fs/proc/proc_misc.c return seq_open(file, &zoneinfo_op);
file 293 fs/proc/proc_misc.c return seq_open(file, &cpuinfo_op);
file 364 fs/proc/proc_misc.c return seq_open(file, &vmstat_op);
file 394 fs/proc/proc_misc.c return seq_open(file, &partitions_op);
file 405 fs/proc/proc_misc.c return seq_open(file, &diskstats_op);
file 419 fs/proc/proc_misc.c return seq_open(file, &modules_op);
file 432 fs/proc/proc_misc.c return seq_open(file, &slabinfo_op);
file 449 fs/proc/proc_misc.c ret = seq_open(file, &slabstats_op);
file 451 fs/proc/proc_misc.c struct seq_file *m = file->private_data;
file 478 fs/proc/proc_misc.c ret = seq_open(file, &vmalloc_op);
file 480 fs/proc/proc_misc.c struct seq_file *m = file->private_data;
file 613 fs/proc/proc_misc.c res = single_open(file, show_stat, NULL);
file 615 fs/proc/proc_misc.c m = file->private_data;
file 70 fs/proc/proc_net.c err = single_open(file, show, net);
file 228 fs/proc/proc_sysctl.c if (*pos < file->f_pos)
file 231 fs/proc/proc_sysctl.c res = proc_sys_fill_cache(file, dirent, filldir, head, table);
file 235 fs/proc/proc_sysctl.c file->f_pos = *pos + 1;
file 129 fs/proc/proc_tty.c return seq_open(file, &tty_drivers_op);
file 190 fs/proc/task_mmu.c ret = seq_open(file, ops);
file 192 fs/proc/task_mmu.c struct seq_file *m = file->private_data;
file 207 fs/proc/task_mmu.c struct file *file = vma->vm_file;
file 213 fs/proc/task_mmu.c if (file) {
file 233 fs/proc/task_mmu.c if (file) {
file 235 fs/proc/task_mmu.c seq_path(m, &file->f_path, "\n");
file 272 fs/proc/task_mmu.c return do_maps_open(inode, file, &proc_pid_maps_op);
file 417 fs/proc/task_mmu.c return do_maps_open(inode, file, &proc_pid_smaps_op);
file 471 fs/proc/task_mmu.c task = get_proc_task(file->f_path.dentry->d_inode);
file 629 fs/proc/task_mmu.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
file 751 fs/proc/task_mmu.c return do_maps_open(inode, file, &proc_pid_numa_maps_op);
file 178 fs/proc/task_nommu.c ret = seq_open(file, &proc_pid_maps_ops);
file 180 fs/proc/task_nommu.c struct seq_file *m = file->private_data;
file 155 fs/qnx4/fsync.c (void) file;
file 449 fs/qnx4/inode.c return cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 242 fs/ramfs/file-nommu.c struct inode *inode = file->f_path.dentry->d_inode;
file 302 fs/ramfs/file-nommu.c file_accessed(file);
file 38 fs/read_write.c struct inode *inode = file->f_mapping->host;
file 45 fs/read_write.c offset += file->f_pos;
file 50 fs/read_write.c if (offset != file->f_pos) {
file 51 fs/read_write.c file->f_pos = offset;
file 52 fs/read_write.c file->f_version = 0;
file 63 fs/read_write.c mutex_lock(&file->f_dentry->d_inode->i_mutex);
file 64 fs/read_write.c n = generic_file_llseek_unlocked(file, offset, origin);
file 65 fs/read_write.c mutex_unlock(&file->f_dentry->d_inode->i_mutex);
file 83 fs/read_write.c offset += i_size_read(file->f_path.dentry->d_inode);
file 86 fs/read_write.c offset += file->f_pos;
file 90 fs/read_write.c if (offset != file->f_pos) {
file 91 fs/read_write.c file->f_pos = offset;
file 92 fs/read_write.c file->f_version = 0;
file 103 fs/read_write.c loff_t (*fn)(struct file *, loff_t, int);
file 106 fs/read_write.c if (file->f_mode & FMODE_LSEEK) {
file 108 fs/read_write.c if (file->f_op && file->f_op->llseek)
file 109 fs/read_write.c fn = file->f_op->llseek;
file 111 fs/read_write.c return fn(file, offset, origin);
file 118 fs/read_write.c struct file * file;
file 122 fs/read_write.c file = fget_light(fd, &fput_needed);
file 123 fs/read_write.c if (!file)
file 128 fs/read_write.c loff_t res = vfs_llseek(file, offset, origin);
file 133 fs/read_write.c fput_light(file, fput_needed);
file 144 fs/read_write.c struct file * file;
file 149 fs/read_write.c file = fget_light(fd, &fput_needed);
file 150 fs/read_write.c if (!file)
file 157 fs/read_write.c offset = vfs_llseek(file, ((loff_t) offset_high << 32) | offset_low,
file 167 fs/read_write.c fput_light(file, fput_needed);
file 186 fs/read_write.c inode = file->f_path.dentry->d_inode;
file 196 fs/read_write.c inode, file, pos, count);
file 200 fs/read_write.c retval = security_file_permission(file,
file 246 fs/read_write.c if (!(file->f_mode & FMODE_READ))
file 248 fs/read_write.c if (!file->f_op || (!file->f_op->read && !file->f_op->aio_read))
file 253 fs/read_write.c ret = rw_verify_area(READ, file, pos, count);
file 256 fs/read_write.c if (file->f_op->read)
file 257 fs/read_write.c ret = file->f_op->read(file, buf, count, pos);
file 259 fs/read_write.c ret = do_sync_read(file, buf, count, pos);
file 261 fs/read_write.c fsnotify_access(file->f_path.dentry);
file 301 fs/read_write.c if (!(file->f_mode & FMODE_WRITE))
file 303 fs/read_write.c if (!file->f_op || (!file->f_op->write && !file->f_op->aio_write))
file 308 fs/read_write.c ret = rw_verify_area(WRITE, file, pos, count);
file 311 fs/read_write.c if (file->f_op->write)
file 312 fs/read_write.c ret = file->f_op->write(file, buf, count, pos);
file 314 fs/read_write.c ret = do_sync_write(file, buf, count, pos);
file 316 fs/read_write.c fsnotify_modify(file->f_path.dentry);
file 329 fs/read_write.c return file->f_pos;
file 334 fs/read_write.c file->f_pos = pos;
file 339 fs/read_write.c struct file *file;
file 343 fs/read_write.c file = fget_light(fd, &fput_needed);
file 344 fs/read_write.c if (file) {
file 345 fs/read_write.c loff_t pos = file_pos_read(file);
file 346 fs/read_write.c ret = vfs_read(file, buf, count, &pos);
file 347 fs/read_write.c file_pos_write(file, pos);
file 348 fs/read_write.c fput_light(file, fput_needed);
file 356 fs/read_write.c struct file *file;
file 360 fs/read_write.c file = fget_light(fd, &fput_needed);
file 361 fs/read_write.c if (file) {
file 362 fs/read_write.c loff_t pos = file_pos_read(file);
file 363 fs/read_write.c ret = vfs_write(file, buf, count, &pos);
file 364 fs/read_write.c file_pos_write(file, pos);
file 365 fs/read_write.c fput_light(file, fput_needed);
file 374 fs/read_write.c struct file *file;
file 381 fs/read_write.c file = fget_light(fd, &fput_needed);
file 382 fs/read_write.c if (file) {
file 384 fs/read_write.c if (file->f_mode & FMODE_PREAD)
file 385 fs/read_write.c ret = vfs_read(file, buf, count, &pos);
file 386 fs/read_write.c fput_light(file, fput_needed);
file 395 fs/read_write.c struct file *file;
file 402 fs/read_write.c file = fget_light(fd, &fput_needed);
file 403 fs/read_write.c if (file) {
file 405 fs/read_write.c if (file->f_mode & FMODE_PWRITE)
file 406 fs/read_write.c ret = vfs_write(file, buf, count, &pos);
file 407 fs/read_write.c fput_light(file, fput_needed);
file 572 fs/read_write.c if (!file->f_op) {
file 583 fs/read_write.c ret = rw_verify_area(type, file, pos, tot_len);
file 589 fs/read_write.c fn = file->f_op->read;
file 590 fs/read_write.c fnv = file->f_op->aio_read;
file 592 fs/read_write.c fn = (io_fn_t)file->f_op->write;
file 593 fs/read_write.c fnv = file->f_op->aio_write;
file 597 fs/read_write.c ret = do_sync_readv_writev(file, iov, nr_segs, tot_len,
file 600 fs/read_write.c ret = do_loop_readv_writev(file, iov, nr_segs, pos, fn);
file 607 fs/read_write.c fsnotify_access(file->f_path.dentry);
file 609 fs/read_write.c fsnotify_modify(file->f_path.dentry);
file 617 fs/read_write.c if (!(file->f_mode & FMODE_READ))
file 619 fs/read_write.c if (!file->f_op || (!file->f_op->aio_read && !file->f_op->read))
file 622 fs/read_write.c return do_readv_writev(READ, file, vec, vlen, pos);
file 630 fs/read_write.c if (!(file->f_mode & FMODE_WRITE))
file 632 fs/read_write.c if (!file->f_op || (!file->f_op->aio_write && !file->f_op->write))
file 635 fs/read_write.c return do_readv_writev(WRITE, file, vec, vlen, pos);
file 643 fs/read_write.c struct file *file;
file 647 fs/read_write.c file = fget_light(fd, &fput_needed);
file 648 fs/read_write.c if (file) {
file 649 fs/read_write.c loff_t pos = file_pos_read(file);
file 650 fs/read_write.c ret = vfs_readv(file, vec, vlen, &pos);
file 651 fs/read_write.c file_pos_write(file, pos);
file 652 fs/read_write.c fput_light(file, fput_needed);
file 664 fs/read_write.c struct file *file;
file 668 fs/read_write.c file = fget_light(fd, &fput_needed);
file 669 fs/read_write.c if (file) {
file 670 fs/read_write.c loff_t pos = file_pos_read(file);
file 671 fs/read_write.c ret = vfs_writev(file, vec, vlen, &pos);
file 672 fs/read_write.c file_pos_write(file, pos);
file 673 fs/read_write.c fput_light(file, fput_needed);
file 685 fs/read_write.c struct file * in_file, * out_file;
file 24 fs/readdir.c struct inode *inode = file->f_path.dentry->d_inode;
file 26 fs/readdir.c if (!file->f_op || !file->f_op->readdir)
file 29 fs/readdir.c res = security_file_permission(file, MAY_READ);
file 39 fs/readdir.c res = file->f_op->readdir(file, buf, filler);
file 40 fs/readdir.c file_accessed(file);
file 108 fs/readdir.c struct file * file;
file 112 fs/readdir.c file = fget(fd);
file 113 fs/readdir.c if (!file)
file 119 fs/readdir.c error = vfs_readdir(file, fillonedir, &buf);
file 123 fs/readdir.c fput(file);
file 192 fs/readdir.c struct file * file;
file 202 fs/readdir.c file = fget(fd);
file 203 fs/readdir.c if (!file)
file 211 fs/readdir.c error = vfs_readdir(file, filldir, &buf);
file 217 fs/readdir.c if (put_user(file->f_pos, &lastdirent->d_off))
file 224 fs/readdir.c fput(file);
file 276 fs/readdir.c struct file * file;
file 286 fs/readdir.c file = fget(fd);
file 287 fs/readdir.c if (!file)
file 295 fs/readdir.c error = vfs_readdir(file, filldir64, &buf);
file 301 fs/readdir.c typeof(lastdirent->d_off) d_off = file->f_pos;
file 309 fs/readdir.c fput(file);
file 117 fs/reiserfs/file.c inode = file->f_path.dentry->d_inode;
file 122 fs/reiserfs/file.c return generic_file_mmap(file, vma);
file 259 fs/reiserfs/file.c struct inode *inode = file->f_path.dentry->d_inode; // Inode of the file that we are writing to.
file 281 fs/reiserfs/file.c return do_sync_write(file, buf, count, ppos);
file 2584 fs/reiserfs/inode.c ret = block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 3046 fs/reiserfs/inode.c struct file *file = iocb->ki_filp;
file 3047 fs/reiserfs/inode.c struct inode *inode = file->f_mapping->host;
file 121 fs/reiserfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 145 fs/reiserfs/ioctl.c ret = reiserfs_ioctl(inode, file, cmd, (unsigned long) compat_ptr(arg));
file 456 fs/reiserfs/procfs.c int ret = seq_open(file, &r_ops);
file 459 fs/reiserfs/procfs.c struct seq_file *m = file->private_data;
file 217 fs/select.c struct file *file = NULL;
file 232 fs/select.c file = fget_light(i, &fput_needed);
file 233 fs/select.c if (file) {
file 234 fs/select.c f_op = file->f_op;
file 237 fs/select.c mask = (*f_op->poll)(file, retval ? NULL : wait);
file 238 fs/select.c fput_light(file, fput_needed);
file 558 fs/select.c struct file * file;
file 560 fs/select.c file = fget_light(fd, &fput_needed);
file 562 fs/select.c if (file != NULL) {
file 564 fs/select.c if (file->f_op && file->f_op->poll)
file 565 fs/select.c mask = file->f_op->poll(file, pwait);
file 568 fs/select.c fput_light(file, fput_needed);
file 32 fs/seq_file.c struct seq_file *p = file->private_data;
file 38 fs/seq_file.c file->private_data = p;
file 49 fs/seq_file.c file->f_version = 0;
file 52 fs/seq_file.c file->f_mode &= ~(FMODE_PREAD | FMODE_PWRITE);
file 68 fs/seq_file.c struct seq_file *m = (struct seq_file *)file->private_data;
file 87 fs/seq_file.c m->version = file->f_version;
file 177 fs/seq_file.c file->f_version = m->version;
file 256 fs/seq_file.c struct seq_file *m = (struct seq_file *)file->private_data;
file 260 fs/seq_file.c m->version = file->f_version;
file 263 fs/seq_file.c offset += file->f_pos;
file 268 fs/seq_file.c if (offset != file->f_pos) {
file 273 fs/seq_file.c file->f_pos = 0;
file 278 fs/seq_file.c retval = file->f_pos = offset;
file 282 fs/seq_file.c file->f_version = m->version;
file 298 fs/seq_file.c struct seq_file *m = (struct seq_file *)file->private_data;
file 493 fs/seq_file.c res = seq_open(file, op);
file 495 fs/seq_file.c ((struct seq_file *)file->private_data)->private = data;
file 505 fs/seq_file.c const struct seq_operations *op = ((struct seq_file *)file->private_data)->op;
file 506 fs/seq_file.c int res = seq_release(inode, file);
file 514 fs/seq_file.c struct seq_file *seq = file->private_data;
file 518 fs/seq_file.c return seq_release(inode, file);
file 38 fs/signalfd.c kfree(file->private_data);
file 44 fs/signalfd.c struct signalfd_ctx *ctx = file->private_data;
file 47 fs/signalfd.c poll_wait(file, ¤t->sighand->signalfd_wqh, wait);
file 176 fs/signalfd.c struct signalfd_ctx *ctx = file->private_data;
file 178 fs/signalfd.c int nonblock = file->f_flags & O_NONBLOCK;
file 243 fs/signalfd.c struct file *file = fget(ufd);
file 244 fs/signalfd.c if (!file)
file 246 fs/signalfd.c ctx = file->private_data;
file 247 fs/signalfd.c if (file->f_op != &signalfd_fops) {
file 248 fs/signalfd.c fput(file);
file 256 fs/signalfd.c fput(file);
file 242 fs/smbfs/dir.c struct dentry *dentry = file->f_path.dentry;
file 247 fs/smbfs/dir.c file->f_path.dentry->d_name.name);
file 106 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry;
file 209 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry;
file 221 fs/smbfs/file.c struct file * file = iocb->ki_filp;
file 222 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry;
file 247 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry;
file 259 fs/smbfs/file.c status = generic_file_mmap(file, vma);
file 269 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry;
file 281 fs/smbfs/file.c status = generic_file_splice_read(file, ppos, pipe, count, flags);
file 314 fs/smbfs/file.c status = smb_updatepage(file, page, offset, copied);
file 343 fs/smbfs/file.c struct file * file = iocb->ki_filp;
file 344 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry;
file 365 fs/smbfs/file.c (long) file->f_pos, (long) dentry->d_inode->i_size,
file 377 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry;
file 378 fs/smbfs/file.c int smb_mode = (file->f_mode & O_ACCMODE) - 1;
file 429 fs/smbfs/file.c ret = generic_file_llseek_unlocked(file, offset, origin);
file 851 fs/smbfs/proc.c struct file *filp;
file 79 fs/smbfs/sock.c struct file *file;
file 81 fs/smbfs/sock.c if (server && (file = server->sock_file))
file 84 fs/smbfs/sock.c if (!smb_valid_socket(file->f_path.dentry->d_inode))
file 87 fs/smbfs/sock.c return SOCKET_I(file->f_path.dentry->d_inode);
file 95 fs/smbfs/sock.c struct file * file = server->sock_file;
file 97 fs/smbfs/sock.c if (file) {
file 103 fs/smbfs/sock.c fput(file);
file 521 fs/splice.c struct file *file = sd->u.file;
file 529 fs/splice.c ret = file->f_op->sendpage(file, buf->page, buf->offset,
file 559 fs/splice.c struct file *file = sd->u.file;
file 560 fs/splice.c struct address_space *mapping = file->f_mapping;
file 579 fs/splice.c ret = pagecache_write_begin(file, mapping, sd->pos, this_len,
file 596 fs/splice.c ret = pagecache_write_end(file, mapping, sd->pos, this_len, this_len,
file 730 fs/splice.c .u.file = out,
file 770 fs/splice.c .u.file = out,
file 828 fs/splice.c .u.file = out,
file 1058 fs/splice.c struct file *file = sd->u.file;
file 1060 fs/splice.c return do_splice_from(pipe, file, &sd->pos, sd->total_len, sd->flags);
file 1086 fs/splice.c .u.file = out,
file 1321 fs/splice.c pipe = pipe_info(file->f_path.dentry->d_inode);
file 1409 fs/splice.c pipe = pipe_info(file->f_path.dentry->d_inode);
file 1440 fs/splice.c struct file *file;
file 1450 fs/splice.c file = fget_light(fd, &fput);
file 1451 fs/splice.c if (file) {
file 1452 fs/splice.c if (file->f_mode & FMODE_WRITE)
file 1453 fs/splice.c error = vmsplice_to_pipe(file, iov, nr_segs, flags);
file 1454 fs/splice.c else if (file->f_mode & FMODE_READ)
file 1455 fs/splice.c error = vmsplice_to_user(file, iov, nr_segs, flags);
file 1457 fs/splice.c fput_light(file, fput);
file 1468 fs/splice.c struct file *in, *out;
file 1689 fs/splice.c struct file *in;
file 1700 fs/splice.c struct file *out = fget_light(fdout, &fput_out);
file 100 fs/stat.c struct file *f = fget(fd);
file 571 fs/super.c struct file *f;
file 82 fs/sync.c struct address_space *mapping = file->f_mapping;
file 84 fs/sync.c if (!file->f_op || !file->f_op->fsync) {
file 97 fs/sync.c err = file->f_op->fsync(file, file->f_path.dentry, datasync);
file 110 fs/sync.c struct file *file;
file 113 fs/sync.c file = fget(fd);
file 114 fs/sync.c if (file) {
file 115 fs/sync.c ret = do_fsync(file, datasync);
file 116 fs/sync.c fput(file);
file 182 fs/sync.c struct file *file;
file 223 fs/sync.c file = fget_light(fd, &fput_needed);
file 224 fs/sync.c if (!file)
file 227 fs/sync.c i_mode = file->f_path.dentry->d_inode->i_mode;
file 233 fs/sync.c ret = do_sync_mapping_range(file->f_mapping, offset, endbyte, flags);
file 235 fs/sync.c fput_light(file, fput_needed);
file 59 fs/sysfs/bin.c struct bin_buffer *bb = file->private_data;
file 60 fs/sysfs/bin.c struct dentry *dentry = file->f_path.dentry;
file 116 fs/sysfs/bin.c struct bin_buffer *bb = file->private_data;
file 117 fs/sysfs/bin.c struct dentry *dentry = file->f_path.dentry;
file 147 fs/sysfs/bin.c struct bin_buffer *bb = file->private_data;
file 148 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
file 175 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
file 185 fs/sysfs/bin.c if ((file->f_mode & FMODE_WRITE) && !(attr->write || attr->mmap))
file 187 fs/sysfs/bin.c if ((file->f_mode & FMODE_READ) && !(attr->read || attr->mmap))
file 200 fs/sysfs/bin.c file->private_data = bb;
file 214 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
file 215 fs/sysfs/bin.c struct bin_buffer *bb = file->private_data;
file 129 fs/sysfs/file.c struct sysfs_buffer * buffer = file->private_data;
file 134 fs/sysfs/file.c retval = fill_read_buffer(file->f_path.dentry,buffer);
file 229 fs/sysfs/file.c struct sysfs_buffer * buffer = file->private_data;
file 235 fs/sysfs/file.c len = flush_write_buffer(file->f_path.dentry, buffer, len);
file 326 fs/sysfs/file.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
file 349 fs/sysfs/file.c if (file->f_mode & FMODE_WRITE) {
file 358 fs/sysfs/file.c if (file->f_mode & FMODE_READ) {
file 374 fs/sysfs/file.c file->private_data = buffer;
file 466 fs/sysv/itree.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 475 fs/sysv/itree.c return __sysv_write_begin(file, mapping, pos, len, flags, pagep, fsdata);
file 85 fs/timerfd.c struct timerfd_ctx *ctx = file->private_data;
file 94 fs/timerfd.c struct timerfd_ctx *ctx = file->private_data;
file 98 fs/timerfd.c poll_wait(file, &ctx->wqh, wait);
file 111 fs/timerfd.c struct timerfd_ctx *ctx = file->private_data;
file 120 fs/timerfd.c if (!ctx->ticks && !(file->f_flags & O_NONBLOCK)) {
file 167 fs/timerfd.c static struct file *timerfd_fget(int fd)
file 169 fs/timerfd.c struct file *file;
file 171 fs/timerfd.c file = fget(fd);
file 172 fs/timerfd.c if (!file)
file 174 fs/timerfd.c if (file->f_op != &timerfd_fops) {
file 175 fs/timerfd.c fput(file);
file 179 fs/timerfd.c return file;
file 217 fs/timerfd.c struct file *file;
file 228 fs/timerfd.c file = timerfd_fget(ufd);
file 229 fs/timerfd.c if (IS_ERR(file))
file 230 fs/timerfd.c return PTR_ERR(file);
file 231 fs/timerfd.c ctx = file->private_data;
file 263 fs/timerfd.c fput(file);
file 272 fs/timerfd.c struct file *file;
file 276 fs/timerfd.c file = timerfd_fget(ufd);
file 277 fs/timerfd.c if (IS_ERR(file))
file 278 fs/timerfd.c return PTR_ERR(file);
file 279 fs/timerfd.c ctx = file->private_data;
file 291 fs/timerfd.c fput(file);
file 368 fs/ubifs/dir.c struct inode *dir = file->f_path.dentry->d_inode;
file 371 fs/ubifs/dir.c dbg_gen("dir ino %lu, f_pos %#llx", dir->i_ino, file->f_pos);
file 373 fs/ubifs/dir.c if (file->f_pos > UBIFS_S_KEY_HASH_MASK || file->f_pos == 2)
file 381 fs/ubifs/dir.c if (file->f_pos == 0) {
file 382 fs/ubifs/dir.c ubifs_assert(!file->private_data);
file 386 fs/ubifs/dir.c file->f_pos = 1;
file 389 fs/ubifs/dir.c if (file->f_pos == 1) {
file 390 fs/ubifs/dir.c ubifs_assert(!file->private_data);
file 392 fs/ubifs/dir.c parent_ino(file->f_path.dentry), DT_DIR);
file 405 fs/ubifs/dir.c file->f_pos = key_hash_flash(c, &dent->key);
file 406 fs/ubifs/dir.c file->private_data = dent;
file 409 fs/ubifs/dir.c dent = file->private_data;
file 416 fs/ubifs/dir.c dent_key_init_hash(c, &key, dir->i_ino, file->f_pos);
file 423 fs/ubifs/dir.c file->f_pos = key_hash_flash(c, &dent->key);
file 424 fs/ubifs/dir.c file->private_data = dent;
file 434 fs/ubifs/dir.c over = filldir(dirent, dent->name, nm.len, file->f_pos,
file 449 fs/ubifs/dir.c kfree(file->private_data);
file 450 fs/ubifs/dir.c file->f_pos = key_hash_flash(c, &dent->key);
file 451 fs/ubifs/dir.c file->private_data = dent;
file 461 fs/ubifs/dir.c kfree(file->private_data);
file 462 fs/ubifs/dir.c file->private_data = NULL;
file 463 fs/ubifs/dir.c file->f_pos = 2;
file 470 fs/ubifs/dir.c kfree(file->private_data);
file 471 fs/ubifs/dir.c file->private_data = NULL;
file 472 fs/ubifs/dir.c return generic_file_llseek(file, offset, origin);
file 478 fs/ubifs/dir.c kfree(file->private_data);
file 479 fs/ubifs/dir.c file->private_data = NULL;
file 1241 fs/ubifs/file.c err = generic_file_mmap(file, vma);
file 151 fs/ubifs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode;
file 176 fs/ubifs/ioctl.c err = mnt_want_write(file->f_path.mnt);
file 180 fs/ubifs/ioctl.c mnt_drop_write(file->f_path.mnt);
file 202 fs/ubifs/ioctl.c return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
file 96 fs/udf/file.c return simple_write_end(file, mapping, pos, len, copied, page, fsdata);
file 111 fs/udf/file.c struct file *file = iocb->ki_filp;
file 112 fs/udf/file.c struct inode *inode = file->f_path.dentry->d_inode;
file 118 fs/udf/file.c if (file->f_flags & O_APPEND)
file 130 fs/udf/inode.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 572 fs/ufs/inode.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 581 fs/ufs/inode.c return __ufs_write_begin(file, mapping, pos, len, flags, pagep, fsdata);
file 142 fs/utimes.c struct file *file;
file 147 fs/utimes.c file = fget(dfd);
file 149 fs/utimes.c if (!file)
file 152 fs/utimes.c error = utimes_common(&file->f_path, times);
file 153 fs/utimes.c fput(file);
file 296 fs/xattr.c struct file *f;
file 385 fs/xattr.c struct file *f;
file 458 fs/xattr.c struct file *f;
file 527 fs/xattr.c struct file *f;
file 1491 fs/xfs/linux-2.6/xfs_aops.c struct file *file = iocb->ki_filp;
file 1492 fs/xfs/linux-2.6/xfs_aops.c struct inode *inode = file->f_mapping->host;
file 1528 fs/xfs/linux-2.6/xfs_aops.c return block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
file 55 fs/xfs/linux-2.6/xfs_file.c struct file *file = iocb->ki_filp;
file 58 fs/xfs/linux-2.6/xfs_file.c if (unlikely(file->f_flags & O_DIRECT))
file 60 fs/xfs/linux-2.6/xfs_file.c return xfs_read(XFS_I(file->f_path.dentry->d_inode), iocb, iov,
file 92 fs/xfs/linux-2.6/xfs_file.c struct file *file = iocb->ki_filp;
file 95 fs/xfs/linux-2.6/xfs_file.c if (unlikely(file->f_flags & O_DIRECT))
file 97 fs/xfs/linux-2.6/xfs_file.c return xfs_write(XFS_I(file->f_mapping->host), iocb, iov, nr_segs,
file 102 fs/xfs/linux-2.6/xfs_ioctl.c struct file *file;
file 104 fs/xfs/linux-2.6/xfs_ioctl.c file = fget(hreq.fd);
file 105 fs/xfs/linux-2.6/xfs_ioctl.c if (!file)
file 108 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(file->f_path.dentry);
file 109 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(file->f_path.dentry->d_inode);
file 110 fs/xfs/linux-2.6/xfs_ioctl.c inode = igrab(file->f_path.dentry->d_inode);
file 111 fs/xfs/linux-2.6/xfs_ioctl.c fput(file);
file 262 fs/xfs/linux-2.6/xfs_ioctl.c struct file *filp;
file 377 fs/xfs/linux-2.6/xfs_ioctl32.c struct inode *inode = file->f_path.dentry->d_inode;
file 466 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_ioctl(XFS_I(inode), file, mode, cmd, (void __user *)arg);
file 478 fs/xfs/linux-2.6/xfs_ioctl32.c return xfs_compat_ioctl(0, file, cmd, arg);
file 487 fs/xfs/linux-2.6/xfs_ioctl32.c return xfs_compat_ioctl(IO_INVIS, file, cmd, arg);
file 178 fs/xfs/linux-2.6/xfs_lrw.c struct file *file = iocb->ki_filp;
file 179 fs/xfs/linux-2.6/xfs_lrw.c struct inode *inode = file->f_mapping->host;
file 231 fs/xfs/linux-2.6/xfs_lrw.c int dmflags = FILP_DELAY_FLAG(file) | DM_SEM_FLAG_RD(ioflags);
file 568 fs/xfs/linux-2.6/xfs_lrw.c struct file *file = iocb->ki_filp;
file 569 fs/xfs/linux-2.6/xfs_lrw.c struct address_space *mapping = file->f_mapping;
file 613 fs/xfs/linux-2.6/xfs_lrw.c error = -generic_write_checks(file, &pos, &count,
file 622 fs/xfs/linux-2.6/xfs_lrw.c int dmflags = FILP_DELAY_FLAG(file);
file 643 fs/xfs/linux-2.6/xfs_lrw.c if ((file->f_flags & O_APPEND) && pos != xip->i_size)
file 676 fs/xfs/linux-2.6/xfs_lrw.c !mnt_want_write(file->f_path.mnt))) {
file 678 fs/xfs/linux-2.6/xfs_lrw.c mnt_drop_write(file->f_path.mnt);
file 712 fs/xfs/linux-2.6/xfs_lrw.c error = -file_remove_suid(file);
file 810 fs/xfs/linux-2.6/xfs_lrw.c if ((file->f_flags & O_SYNC) || IS_SYNC(inode)) {
file 131 fs/xfs/linux-2.6/xfs_vnode.c KTRACE_ENTER(ip, INODE_KTRACE_HOLD, file, line, ra);
file 137 fs/xfs/linux-2.6/xfs_vnode.c KTRACE_ENTER(ip, INODE_KTRACE_REF, file, line, ra);
file 143 fs/xfs/linux-2.6/xfs_vnode.c KTRACE_ENTER(ip, INODE_KTRACE_RELE, file, line, ra);
file 21 fs/xfs/linux-2.6/xfs_vnode.h struct file;
file 80 fs/xfs/support/debug.c printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line);
file 56 fs/xfs/xfs_dfrag.c struct file *file, *target_file;
file 71 fs/xfs/xfs_dfrag.c file = fget((int)sxp->sx_fdtarget);
file 72 fs/xfs/xfs_dfrag.c if (!file) {
file 77 fs/xfs/xfs_dfrag.c if (!(file->f_mode & FMODE_WRITE) || (file->f_flags & O_APPEND)) {
file 94 fs/xfs/xfs_dfrag.c ip = XFS_I(file->f_path.dentry->d_inode);
file 117 fs/xfs/xfs_dfrag.c fput(file);
file 82 fs/xfs/xfs_error.c expression, file, line, xfs_etest_fsname[i]);
file 634 fs/xfs/xfs_filestream.c fstrm_item_t *dir, *file;
file 647 fs/xfs/xfs_filestream.c file = xfs_mru_cache_remove(cache, ip->i_ino);
file 648 fs/xfs/xfs_filestream.c if (file) {
file 649 fs/xfs/xfs_filestream.c ASSERT(ip == file->ip);
file 652 fs/xfs/xfs_filestream.c pip = file->pip;
file 653 fs/xfs/xfs_filestream.c ag = file->ag;
file 666 fs/xfs/xfs_filestream.c if (dir->ag != file->ag) {
file 667 fs/xfs/xfs_filestream.c xfs_filestream_put_ag(mp, file->ag);
file 669 fs/xfs/xfs_filestream.c *agp = file->ag = dir->ag;
file 680 fs/xfs/xfs_filestream.c err = xfs_mru_cache_insert(cache, ip->i_ino, file);
file 682 fs/xfs/xfs_filestream.c xfs_fstrm_free_func(ip->i_ino, file);
file 6 fs/xfs/xfs_vnodeops.h struct file;
file 13 include/asm-generic/bug.h const char *file;
file 20 include/asm-x86/hugetlb.h struct hstate *h = hstate_file(file);
file 43 include/asm-x86/nmi.h struct file;
file 328 include/asm-x86/pgtable.h struct file;
file 390 include/drm/drmP.h struct file *filp;
file 92 include/linux/aio.h struct file *ki_filp;
file 125 include/linux/aio.h struct file *ki_eventfd;
file 39 include/linux/binfmts.h struct file * file;
file 70 include/linux/binfmts.h int (*load_shlib)(struct file *);
file 71 include/linux/binfmts.h int (*core_dump)(long signr, struct pt_regs *regs, struct file *file, unsigned long limit);
file 217 include/linux/cgroup.h int (*open)(struct inode *inode, struct file *file);
file 219 include/linux/cgroup.h struct file *file,
file 246 include/linux/cgroup.h struct file *file,
file 275 include/linux/cgroup.h int (*release)(struct inode *inode, struct file *file);
file 621 include/linux/coda.h struct file *fh; /* not passed from userspace but used in-kernel only */
file 35 include/linux/coda_fs_i.h struct file *cfi_container; /* container file for this cnode */
file 39 include/linux/coda_fs_i.h #define CODA_FTOC(file) ((struct coda_file_info *)((file)->private_data))
file 15 include/linux/dnotify.h struct file * dn_filp;
file 10 include/linux/elf.h struct file;
file 20 include/linux/eventfd.h struct file *eventfd_fget(int fd);
file 55 include/linux/eventpoll.h struct file;
file 63 include/linux/eventpoll.h INIT_LIST_HEAD(&file->f_ep_links);
file 64 include/linux/eventpoll.h spin_lock_init(&file->f_ep_lock);
file 88 include/linux/eventpoll.h if (likely(list_empty(&file->f_ep_links)))
file 96 include/linux/eventpoll.h eventpoll_release_file(file);
file 405 include/linux/fb.h struct file;
file 31 include/linux/fdtable.h struct file ** fd; /* current fd array */
file 55 include/linux/fdtable.h struct file * fd_array[NR_OPEN_DEFAULT];
file 75 include/linux/fdtable.h static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd)
file 77 include/linux/fdtable.h struct file * file = NULL;
file 81 include/linux/fdtable.h file = rcu_dereference(fdt->fd[fd]);
file 82 include/linux/fdtable.h return file;
file 12 include/linux/file.h struct file;
file 24 include/linux/file.h extern struct file *alloc_file(struct vfsmount *, struct dentry *dentry,
file 30 include/linux/file.h fput(file);
file 33 include/linux/file.h extern struct file *fget(unsigned int fd);
file 34 include/linux/file.h extern struct file *fget_light(unsigned int fd, int *fput_needed);
file 370 include/linux/fs.h struct file *ia_file;
file 475 include/linux/fs.h int (*readpage)(struct file *, struct page *);
file 484 include/linux/fs.h int (*readpages)(struct file *filp, struct address_space *mapping,
file 491 include/linux/fs.h int (*prepare_write)(struct file *, struct page *, unsigned, unsigned);
file 492 include/linux/fs.h int (*commit_write)(struct file *, struct page *, unsigned, unsigned);
file 494 include/linux/fs.h int (*write_begin)(struct file *, struct address_space *mapping,
file 497 include/linux/fs.h int (*write_end)(struct file *, struct address_space *mapping,
file 971 include/linux/fs.h struct file *fl_file;
file 1077 include/linux/fs.h struct file *fa_file;
file 1271 include/linux/fs.h int (*open) (struct inode *, struct file *);
file 1272 include/linux/fs.h int (*release) (struct inode *, struct file *);
file 1273 include/linux/fs.h int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long);
file 1274 include/linux/fs.h long (*unlocked_ioctl) (struct file *, unsigned, unsigned long);
file 1275 include/linux/fs.h long (*compat_ioctl) (struct file *, unsigned, unsigned long);
file 1297 include/linux/fs.h loff_t (*llseek) (struct file *, loff_t, int);
file 1298 include/linux/fs.h ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
file 1299 include/linux/fs.h ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
file 1302 include/linux/fs.h int (*readdir) (struct file *, void *, filldir_t);
file 1303 include/linux/fs.h unsigned int (*poll) (struct file *, struct poll_table_struct *);
file 1304 include/linux/fs.h int (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
file 1305 include/linux/fs.h long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
file 1306 include/linux/fs.h long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
file 1307 include/linux/fs.h int (*mmap) (struct file *, struct vm_area_struct *);
file 1308 include/linux/fs.h int (*open) (struct inode *, struct file *);
file 1309 include/linux/fs.h int (*flush) (struct file *, fl_owner_t id);
file 1310 include/linux/fs.h int (*release) (struct inode *, struct file *);
file 1311 include/linux/fs.h int (*fsync) (struct file *, struct dentry *, int datasync);
file 1313 include/linux/fs.h int (*fasync) (int, struct file *, int);
file 1314 include/linux/fs.h int (*lock) (struct file *, int, struct file_lock *);
file 1315 include/linux/fs.h ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
file 1316 include/linux/fs.h unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
file 1318 include/linux/fs.h int (*dir_notify)(struct file *filp, unsigned long arg);
file 1319 include/linux/fs.h int (*flock) (struct file *, int, struct file_lock *);
file 1320 include/linux/fs.h ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
file 1321 include/linux/fs.h ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
file 1322 include/linux/fs.h int (*setlease)(struct file *, long, struct file_lock **);
file 1544 include/linux/fs.h if (!(file->f_flags & O_NOATIME))
file 1545 include/linux/fs.h touch_atime(file->f_path.mnt, file->f_path.dentry);
file 1691 include/linux/fs.h extern struct file *filp_open(const char *, int, int);
file 1692 include/linux/fs.h extern struct file * dentry_open(struct dentry *, struct vfsmount *, int);
file 1863 include/linux/fs.h if (file)
file 1864 include/linux/fs.h atomic_inc(&file->f_path.dentry->d_inode->i_writecount);
file 1868 include/linux/fs.h extern struct file *create_read_pipe(struct file *f, int flags);
file 1869 include/linux/fs.h extern struct file *create_write_pipe(int flags);
file 1872 include/linux/fs.h extern struct file *do_filp_open(int dfd, const char *pathname,
file 1877 include/linux/fs.h extern struct file * open_exec(const char *);
file 1923 include/linux/fs.h extern struct file * get_empty_filp(void);
file 2151 include/linux/fs.h struct simple_transaction_argresp *ar = file->private_data;
file 2180 include/linux/fs.h static int __fops ## _open(struct inode *inode, struct file *file) \
file 2183 include/linux/fs.h return simple_attr_open(inode, file, __get, __set, __fmt); \
file 188 include/linux/fsnotify.h struct dentry *dentry = file->f_path.dentry;
file 191 include/linux/fsnotify.h mode_t mode = file->f_mode;
file 139 include/linux/hugetlb.h struct file *hugetlb_file_setup(const char *name, size_t);
file 145 include/linux/hugetlb.h if (file->f_op == &hugetlbfs_file_operations)
file 147 include/linux/hugetlb.h if (is_file_shm_hugepages(file))
file 155 include/linux/hugetlb.h file->f_op = &hugetlbfs_file_operations;
file 1077 include/linux/input.h int (*flush)(struct input_dev *dev, struct file *file);
file 1355 include/linux/input.h struct file *effect_owners[];
file 41 include/linux/kmod.h struct file;
file 98 include/linux/kmod.h struct file;
file 215 include/linux/lm_interface.h struct file *file, struct file_lock *fl);
file 218 include/linux/lm_interface.h struct file *file, int cmd, struct file_lock *fl);
file 221 include/linux/lm_interface.h struct file *file, struct file_lock *fl);
file 28 include/linux/lockd/bind.h struct file **);
file 29 include/linux/lockd/bind.h void (*fclose)(struct file *);
file 152 include/linux/lockd/lockd.h struct file * f_file; /* VFS file pointer */
file 277 include/linux/lockd/lockd.h return file->f_file->f_path.dentry->d_inode;
file 51 include/linux/loop.h struct file * lo_backing_file;
file 711 include/linux/mm.h struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags);
file 1121 include/linux/mm.h ret = do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
file 153 include/linux/mm_types.h struct file * vm_file; /* File we map to (can be NULL). */
file 180 include/linux/mm_types.h unsigned long (*get_unmapped_area) (struct file *filp,
file 256 include/linux/mm_types.h struct file *exe_file;
file 665 include/linux/mmzone.h struct file;
file 16 include/linux/mtd/blktrans.h struct file;
file 13 include/linux/namei.h struct file *file;
file 69 include/linux/namei.h extern struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry,
file 71 include/linux/namei.h extern struct file *nameidata_to_filp(struct nameidata *nd, int flags);
file 55 include/linux/nbd.h struct file * file; /* If == NULL, device is not ready, yet */
file 32 include/linux/ncp_fs_sb.h struct file *ncp_filp; /* File pointer to ncp socket */
file 34 include/linux/ncp_fs_sb.h struct file *info_filp;
file 134 include/linux/net.h struct file *file;
file 163 include/linux/net.h unsigned int (*poll) (struct file *file, struct socket *sock,
file 184 include/linux/net.h int (*mmap) (struct file *file, struct socket *sock,
file 224 include/linux/net.h #define sockfd_put(sock) fput(sock->file)
file 300 include/linux/net.h SOCKCALL_UWRAP(name, poll, (struct file *file, struct socket *sock, struct poll_table_struct *wait), \
file 301 include/linux/net.h (file, sock, wait)) \
file 316 include/linux/net.h SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_area_struct *vma), \
file 317 include/linux/net.h (file, sock, vma)) \
file 375 include/linux/nfs_fs.h if (file != NULL)
file 376 include/linux/nfs_fs.h return nfs_file_open_context(file)->cred;
file 832 include/linux/nfs_xdr.h int (*lock)(struct file *, int, struct file_lock *);
file 82 include/linux/nfsd/state.h struct file *dl_vfs_file;
file 253 include/linux/nfsd/state.h struct file * st_vfs_file;
file 251 include/linux/nfsd/xdr4.h struct file *rd_filp;
file 13 include/linux/phonedev.h int (*open) (struct phone_device *, struct file *);
file 49 include/linux/poll.h struct file * filp;
file 203 include/linux/proc_fs.h extern struct file *get_mm_exe_file(struct mm_struct *mm);
file 257 include/linux/proc_fs.h static inline struct file *get_mm_exe_file(struct mm_struct *mm)
file 230 include/linux/raid/bitmap.h struct file *file; /* backing disk file */
file 258 include/linux/raid/md_k.h struct file *bitmap_file; /* the bitmap file */
file 111 include/linux/relay.h struct file *filp);
file 121 include/linux/relay.h struct file *filp);
file 32 include/linux/rtmutex.h const char *name, *file;
file 56 include/linux/rtmutex.h , .name = #mutexname, .file = __FILE__, .line = __LINE__
file 1311 include/linux/security.h int (*acct) (struct file *file);
file 1390 include/linux/security.h int (*file_permission) (struct file *file, int mask);
file 1391 include/linux/security.h int (*file_alloc_security) (struct file *file);
file 1392 include/linux/security.h void (*file_free_security) (struct file *file);
file 1393 include/linux/security.h int (*file_ioctl) (struct file *file, unsigned int cmd,
file 1395 include/linux/security.h int (*file_mmap) (struct file *file,
file 1402 include/linux/security.h int (*file_lock) (struct file *file, unsigned int cmd);
file 1403 include/linux/security.h int (*file_fcntl) (struct file *file, unsigned int cmd,
file 1405 include/linux/security.h int (*file_set_fowner) (struct file *file);
file 1408 include/linux/security.h int (*file_receive) (struct file *file);
file 1409 include/linux/security.h int (*dentry_open) (struct file *file);
file 11 include/linux/seq_file.h struct file;
file 89 include/linux/shm.h struct file * shm_file;
file 126 include/linux/smb_fs.h int (*readdir)(struct file *filp, void *dirent, filldir_t filldir,
file 41 include/linux/smb_fs_sb.h struct file * sock_file;
file 35 include/linux/splice.h struct file *file; /* file to read/write */
file 15 include/linux/sunrpc/rpc_pipe_fs.h ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t);
file 16 include/linux/sunrpc/rpc_pipe_fs.h ssize_t (*downcall)(struct file *, const char __user *, size_t);
file 138 include/linux/swap.h struct file *swap_file;
file 32 include/linux/sysctl.h struct file;
file 232 include/linux/tty_driver.h int (*open)(struct tty_struct * tty, struct file * filp);
file 233 include/linux/tty_driver.h void (*close)(struct tty_struct * tty, struct file * filp);
file 241 include/linux/tty_driver.h int (*ioctl)(struct tty_struct *tty, struct file * file,
file 243 include/linux/tty_driver.h long (*compat_ioctl)(struct tty_struct *tty, struct file * file,
file 258 include/linux/tty_driver.h int (*tiocmget)(struct tty_struct *tty, struct file *file);
file 259 include/linux/tty_driver.h int (*tiocmset)(struct tty_struct *tty, struct file *file,
file 120 include/linux/tty_ldisc.h ssize_t (*read)(struct tty_struct * tty, struct file * file,
file 122 include/linux/tty_ldisc.h ssize_t (*write)(struct tty_struct * tty, struct file * file,
file 124 include/linux/tty_ldisc.h int (*ioctl)(struct tty_struct * tty, struct file * file,
file 126 include/linux/tty_ldisc.h long (*compat_ioctl)(struct tty_struct * tty, struct file * file,
file 129 include/linux/tty_ldisc.h unsigned int (*poll)(struct tty_struct *, struct file *,
file 222 include/linux/usb/serial.h struct usb_serial_port *port, struct file *filp);
file 224 include/linux/usb/serial.h struct usb_serial_port *port, struct file *filp);
file 229 include/linux/usb/serial.h int (*ioctl)(struct tty_struct *tty, struct file *file,
file 237 include/linux/usb/serial.h int (*tiocmget)(struct tty_struct *tty, struct file *file);
file 238 include/linux/usb/serial.h int (*tiocmset)(struct tty_struct *tty, struct file *file,
file 116 include/linux/writeback.h struct file;
file 35 include/media/rds.h struct file *instance;
file 187 include/media/saa7146_vv.h int(*open)(struct saa7146_dev *, struct file *);
file 188 include/media/saa7146_vv.h void (*release)(struct saa7146_dev *, struct file *);
file 190 include/media/saa7146_vv.h ssize_t (*read)(struct file *, char __user *, size_t, loff_t *);
file 78 include/media/soc_camera.h unsigned int (*poll)(struct file *, poll_table *);
file 108 include/media/v4l2-dev.h return video_get_drvdata(video_devdata(file));
file 27 include/media/v4l2-ioctl.h int (*vidioc_querycap)(struct file *file, void *fh, struct v4l2_capability *cap);
file 30 include/media/v4l2-ioctl.h int (*vidioc_g_priority) (struct file *file, void *fh,
file 32 include/media/v4l2-ioctl.h int (*vidioc_s_priority) (struct file *file, void *fh,
file 36 include/media/v4l2-ioctl.h int (*vidioc_enum_fmt_vid_cap) (struct file *file, void *fh,
file 38 include/media/v4l2-ioctl.h int (*vidioc_enum_fmt_vid_overlay) (struct file *file, void *fh,
file 40 include/media/v4l2-ioctl.h int (*vidioc_enum_fmt_vid_out) (struct file *file, void *fh,
file 42 include/media/v4l2-ioctl.h int (*vidioc_enum_fmt_type_private)(struct file *file, void *fh,
file 46 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vid_cap) (struct file *file, void *fh,
file 48 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh,
file 50 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vid_out) (struct file *file, void *fh,
file 52 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vid_out_overlay)(struct file *file, void *fh,
file 54 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vbi_cap) (struct file *file, void *fh,
file 56 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_vbi_out) (struct file *file, void *fh,
file 58 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file 60 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_sliced_vbi_out)(struct file *file, void *fh,
file 62 include/media/v4l2-ioctl.h int (*vidioc_g_fmt_type_private)(struct file *file, void *fh,
file 66 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vid_cap) (struct file *file, void *fh,
file 68 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vid_overlay)(struct file *file, void *fh,
file 70 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vid_out) (struct file *file, void *fh,
file 72 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vid_out_overlay)(struct file *file, void *fh,
file 74 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vbi_cap) (struct file *file, void *fh,
file 76 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_vbi_out) (struct file *file, void *fh,
file 78 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file 80 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_sliced_vbi_out)(struct file *file, void *fh,
file 82 include/media/v4l2-ioctl.h int (*vidioc_s_fmt_type_private)(struct file *file, void *fh,
file 86 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vid_cap) (struct file *file, void *fh,
file 88 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vid_overlay)(struct file *file, void *fh,
file 90 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vid_out) (struct file *file, void *fh,
file 92 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vid_out_overlay)(struct file *file, void *fh,
file 94 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vbi_cap) (struct file *file, void *fh,
file 96 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_vbi_out) (struct file *file, void *fh,
file 98 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_sliced_vbi_cap)(struct file *file, void *fh,
file 100 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_sliced_vbi_out)(struct file *file, void *fh,
file 102 include/media/v4l2-ioctl.h int (*vidioc_try_fmt_type_private)(struct file *file, void *fh,
file 106 include/media/v4l2-ioctl.h int (*vidioc_reqbufs) (struct file *file, void *fh, struct v4l2_requestbuffers *b);
file 107 include/media/v4l2-ioctl.h int (*vidioc_querybuf)(struct file *file, void *fh, struct v4l2_buffer *b);
file 108 include/media/v4l2-ioctl.h int (*vidioc_qbuf) (struct file *file, void *fh, struct v4l2_buffer *b);
file 109 include/media/v4l2-ioctl.h int (*vidioc_dqbuf) (struct file *file, void *fh, struct v4l2_buffer *b);
file 112 include/media/v4l2-ioctl.h int (*vidioc_overlay) (struct file *file, void *fh, unsigned int i);
file 115 include/media/v4l2-ioctl.h int (*vidiocgmbuf) (struct file *file, void *fh, struct video_mbuf *p);
file 117 include/media/v4l2-ioctl.h int (*vidioc_g_fbuf) (struct file *file, void *fh,
file 119 include/media/v4l2-ioctl.h int (*vidioc_s_fbuf) (struct file *file, void *fh,
file 123 include/media/v4l2-ioctl.h int (*vidioc_streamon) (struct file *file, void *fh, enum v4l2_buf_type i);
file 124 include/media/v4l2-ioctl.h int (*vidioc_streamoff)(struct file *file, void *fh, enum v4l2_buf_type i);
file 129 include/media/v4l2-ioctl.h int (*vidioc_g_std) (struct file *file, void *fh, v4l2_std_id *norm);
file 130 include/media/v4l2-ioctl.h int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id *norm);
file 131 include/media/v4l2-ioctl.h int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a);
file 134 include/media/v4l2-ioctl.h int (*vidioc_enum_input)(struct file *file, void *fh,
file 136 include/media/v4l2-ioctl.h int (*vidioc_g_input) (struct file *file, void *fh, unsigned int *i);
file 137 include/media/v4l2-ioctl.h int (*vidioc_s_input) (struct file *file, void *fh, unsigned int i);
file 140 include/media/v4l2-ioctl.h int (*vidioc_enum_output) (struct file *file, void *fh,
file 142 include/media/v4l2-ioctl.h int (*vidioc_g_output) (struct file *file, void *fh, unsigned int *i);
file 143 include/media/v4l2-ioctl.h int (*vidioc_s_output) (struct file *file, void *fh, unsigned int i);
file 146 include/media/v4l2-ioctl.h int (*vidioc_queryctrl) (struct file *file, void *fh,
file 148 include/media/v4l2-ioctl.h int (*vidioc_g_ctrl) (struct file *file, void *fh,
file 150 include/media/v4l2-ioctl.h int (*vidioc_s_ctrl) (struct file *file, void *fh,
file 152 include/media/v4l2-ioctl.h int (*vidioc_g_ext_ctrls) (struct file *file, void *fh,
file 154 include/media/v4l2-ioctl.h int (*vidioc_s_ext_ctrls) (struct file *file, void *fh,
file 156 include/media/v4l2-ioctl.h int (*vidioc_try_ext_ctrls) (struct file *file, void *fh,
file 158 include/media/v4l2-ioctl.h int (*vidioc_querymenu) (struct file *file, void *fh,
file 162 include/media/v4l2-ioctl.h int (*vidioc_enumaudio) (struct file *file, void *fh,
file 164 include/media/v4l2-ioctl.h int (*vidioc_g_audio) (struct file *file, void *fh,
file 166 include/media/v4l2-ioctl.h int (*vidioc_s_audio) (struct file *file, void *fh,
file 170 include/media/v4l2-ioctl.h int (*vidioc_enumaudout) (struct file *file, void *fh,
file 172 include/media/v4l2-ioctl.h int (*vidioc_g_audout) (struct file *file, void *fh,
file 174 include/media/v4l2-ioctl.h int (*vidioc_s_audout) (struct file *file, void *fh,
file 176 include/media/v4l2-ioctl.h int (*vidioc_g_modulator) (struct file *file, void *fh,
file 178 include/media/v4l2-ioctl.h int (*vidioc_s_modulator) (struct file *file, void *fh,
file 181 include/media/v4l2-ioctl.h int (*vidioc_cropcap) (struct file *file, void *fh,
file 183 include/media/v4l2-ioctl.h int (*vidioc_g_crop) (struct file *file, void *fh,
file 185 include/media/v4l2-ioctl.h int (*vidioc_s_crop) (struct file *file, void *fh,
file 188 include/media/v4l2-ioctl.h int (*vidioc_g_jpegcomp) (struct file *file, void *fh,
file 190 include/media/v4l2-ioctl.h int (*vidioc_s_jpegcomp) (struct file *file, void *fh,
file 192 include/media/v4l2-ioctl.h int (*vidioc_g_enc_index) (struct file *file, void *fh,
file 194 include/media/v4l2-ioctl.h int (*vidioc_encoder_cmd) (struct file *file, void *fh,
file 196 include/media/v4l2-ioctl.h int (*vidioc_try_encoder_cmd) (struct file *file, void *fh,
file 200 include/media/v4l2-ioctl.h int (*vidioc_g_parm) (struct file *file, void *fh,
file 202 include/media/v4l2-ioctl.h int (*vidioc_s_parm) (struct file *file, void *fh,
file 206 include/media/v4l2-ioctl.h int (*vidioc_g_tuner) (struct file *file, void *fh,
file 208 include/media/v4l2-ioctl.h int (*vidioc_s_tuner) (struct file *file, void *fh,
file 210 include/media/v4l2-ioctl.h int (*vidioc_g_frequency) (struct file *file, void *fh,
file 212 include/media/v4l2-ioctl.h int (*vidioc_s_frequency) (struct file *file, void *fh,
file 216 include/media/v4l2-ioctl.h int (*vidioc_g_sliced_vbi_cap) (struct file *file, void *fh,
file 220 include/media/v4l2-ioctl.h int (*vidioc_log_status) (struct file *file, void *fh);
file 222 include/media/v4l2-ioctl.h int (*vidioc_s_hw_freq_seek) (struct file *file, void *fh,
file 227 include/media/v4l2-ioctl.h int (*vidioc_g_register) (struct file *file, void *fh,
file 229 include/media/v4l2-ioctl.h int (*vidioc_s_register) (struct file *file, void *fh,
file 232 include/media/v4l2-ioctl.h int (*vidioc_g_chip_ident) (struct file *file, void *fh,
file 236 include/media/v4l2-ioctl.h int (*vidioc_default) (struct file *file, void *fh,
file 58 include/net/ndisc.h struct file;
file 18 include/net/scm.h struct file *fp[SCM_MAX_FD];
file 99 include/sound/core.h struct file *file;
file 31 include/sound/hwdep.h long long (*llseek) (struct snd_hwdep *hw, struct file * file, long long offset, int orig);
file 34 include/sound/hwdep.h int (*open) (struct snd_hwdep * hw, struct file * file);
file 35 include/sound/hwdep.h int (*release) (struct snd_hwdep *hw, struct file * file);
file 36 include/sound/hwdep.h unsigned int (*poll) (struct snd_hwdep *hw, struct file * file, poll_table * wait);
file 37 include/sound/hwdep.h int (*ioctl) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
file 38 include/sound/hwdep.h int (*ioctl_compat) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
file 39 include/sound/hwdep.h int (*mmap) (struct snd_hwdep *hw, struct file * file, struct vm_area_struct * vma);
file 53 include/sound/info.h struct file * file, char __user *buf,
file 56 include/sound/info.h struct file * file, const char __user *buf,
file 59 include/sound/info.h struct file * file, long long offset, int orig);
file 61 include/sound/info.h struct file * file, poll_table * wait);
file 63 include/sound/info.h struct file * file, unsigned int cmd, unsigned long arg);
file 65 include/sound/info.h struct inode * inode, struct file * file,
file 375 include/sound/pcm.h void *file;
file 26 include/sound/wavefront.h You will not be able to compile this file correctly without gcc, because
file 586 ipc/mqueue.c static struct file *do_create(struct dentry *dir, struct dentry *dentry,
file 590 ipc/mqueue.c struct file *result;
file 630 ipc/mqueue.c static struct file *do_open(struct dentry *dentry, int oflag)
file 654 ipc/mqueue.c struct file *filp;
file 815 ipc/mqueue.c struct file *filp;
file 906 ipc/mqueue.c struct file *filp;
file 988 ipc/mqueue.c struct file *filp;
file 1116 ipc/mqueue.c struct file *filp;
file 50 ipc/shm.c struct file *file;
file 54 ipc/shm.c #define shm_file_data(file) (*((struct shm_file_data **)&(file)->private_data))
file 148 ipc/shm.c struct file *file = vma->vm_file;
file 149 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 192 ipc/shm.c struct file * file = vma->vm_file;
file 193 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 214 ipc/shm.c struct file *file = vma->vm_file;
file 215 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 223 ipc/shm.c struct file *file = vma->vm_file;
file 224 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 234 ipc/shm.c struct file *file = vma->vm_file;
file 235 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 249 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 252 ipc/shm.c ret = sfd->file->f_op->mmap(sfd->file, vma);
file 267 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 270 ipc/shm.c shm_file_data(file) = NULL;
file 277 ipc/shm.c int (*fsync) (struct file *, struct dentry *, int datasync);
file 278 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 281 ipc/shm.c fsync = sfd->file->f_op->fsync;
file 283 ipc/shm.c ret = fsync(sfd->file, sfd->file->f_path.dentry, datasync);
file 291 ipc/shm.c struct shm_file_data *sfd = shm_file_data(file);
file 292 ipc/shm.c return get_unmapped_area(sfd->file, addr, len, pgoff, flags);
file 299 ipc/shm.c if (file->f_op == &shm_file_operations) {
file 301 ipc/shm.c sfd = shm_file_data(file);
file 302 ipc/shm.c ret = is_file_hugepages(sfd->file);
file 340 ipc/shm.c struct file * file;
file 368 ipc/shm.c file = hugetlb_file_setup(name, size);
file 379 ipc/shm.c file = shmem_file_setup(name, size, acctflag);
file 381 ipc/shm.c error = PTR_ERR(file);
file 382 ipc/shm.c if (IS_ERR(file))
file 397 ipc/shm.c shp->shm_file = file;
file 402 ipc/shm.c file->f_dentry->d_inode->i_ino = shp->shm_perm.id;
file 410 ipc/shm.c fput(file);
file 807 ipc/shm.c struct file * file;
file 883 ipc/shm.c file = alloc_file(path.mnt, path.dentry, f_mode, &shm_file_operations);
file 884 ipc/shm.c if (!file)
file 887 ipc/shm.c file->private_data = sfd;
file 888 ipc/shm.c file->f_mapping = shp->shm_file->f_mapping;
file 891 ipc/shm.c sfd->file = shp->shm_file;
file 908 ipc/shm.c user_addr = do_mmap (file, addr, size, prot, flags, 0);
file 916 ipc/shm.c fput(file);
file 968 ipc/util.c ret = seq_open(file, &sysvipc_proc_seqops);
file 972 ipc/util.c seq = file->private_data;
file 986 ipc/util.c struct seq_file *seq = file->private_data;
file 989 ipc/util.c return seq_release_private(inode, file);
file 89 kernel/acct.c struct file *file;
file 120 kernel/acct.c if (!file || !acct->needcheck)
file 125 kernel/acct.c if (vfs_statfs(file->f_path.dentry, &sbuf))
file 145 kernel/acct.c if (file != acct->file) {
file 182 kernel/acct.c struct file *old_acct = NULL;
file 185 kernel/acct.c if (acct->file) {
file 186 kernel/acct.c old_acct = acct->file;
file 191 kernel/acct.c acct->file = NULL;
file 195 kernel/acct.c if (file) {
file 196 kernel/acct.c acct->file = file;
file 217 kernel/acct.c struct file *file;
file 223 kernel/acct.c file = filp_open(name, O_WRONLY|O_APPEND|O_LARGEFILE, 0);
file 224 kernel/acct.c if (IS_ERR(file))
file 225 kernel/acct.c return PTR_ERR(file);
file 227 kernel/acct.c if (!S_ISREG(file->f_path.dentry->d_inode->i_mode)) {
file 228 kernel/acct.c filp_close(file, NULL);
file 232 kernel/acct.c if (!file->f_op->write) {
file 233 kernel/acct.c filp_close(file, NULL);
file 241 kernel/acct.c filp_close(file, NULL);
file 246 kernel/acct.c error = security_acct(file);
file 249 kernel/acct.c filp_close(file, NULL);
file 259 kernel/acct.c mnt_pin(file->f_path.mnt);
file 260 kernel/acct.c acct_file_reopen(ns->bacct, file, ns);
file 263 kernel/acct.c mntput(file->f_path.mnt); /* it's pinned, now give up active reference */
file 324 kernel/acct.c if (acct->file && acct->file->f_path.mnt == m) {
file 345 kernel/acct.c if (acct->file && acct->file->f_path.mnt->mnt_sb == sb) {
file 359 kernel/acct.c if (acct->file != NULL)
file 497 kernel/acct.c if (!check_free_space(acct, file))
file 576 kernel/acct.c file->f_op->write(file, (char *)&ac,
file 577 kernel/acct.c sizeof(acct_t), &file->f_pos);
file 636 kernel/acct.c struct file *file = NULL;
file 643 kernel/acct.c if (!acct || !acct->file)
file 647 kernel/acct.c file = acct->file;
file 648 kernel/acct.c if (unlikely(!file)) {
file 652 kernel/acct.c get_file(file);
file 655 kernel/acct.c do_acct_process(acct, ns, file);
file 656 kernel/acct.c fput(file);
file 1440 kernel/cgroup.c struct cftype *cft = __d_cft(file->f_dentry);
file 1441 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent);
file 1446 kernel/cgroup.c return cft->write(cgrp, cft, file, buf, nbytes, ppos);
file 1448 kernel/cgroup.c return cgroup_write_X64(cgrp, cft, file, buf, nbytes, ppos);
file 1450 kernel/cgroup.c return cgroup_write_string(cgrp, cft, file, buf, nbytes, ppos);
file 1485 kernel/cgroup.c struct cftype *cft = __d_cft(file->f_dentry);
file 1486 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent);
file 1492 kernel/cgroup.c return cft->read(cgrp, cft, file, buf, nbytes, ppos);
file 1494 kernel/cgroup.c return cgroup_read_u64(cgrp, cft, file, buf, nbytes, ppos);
file 1496 kernel/cgroup.c return cgroup_read_s64(cgrp, cft, file, buf, nbytes, ppos);
file 1532 kernel/cgroup.c struct seq_file *seq = file->private_data;
file 1534 kernel/cgroup.c return single_release(inode, file);
file 1549 kernel/cgroup.c err = generic_file_open(inode, file);
file 1553 kernel/cgroup.c cft = __d_cft(file->f_dentry);
file 1562 kernel/cgroup.c state->cgroup = __d_cgrp(file->f_dentry->d_parent);
file 1563 kernel/cgroup.c file->f_op = &cgroup_seqfile_operations;
file 1564 kernel/cgroup.c err = single_open(file, cgroup_seqfile_show, state);
file 1568 kernel/cgroup.c err = cft->open(inode, file);
file 1577 kernel/cgroup.c struct cftype *cft = __d_cft(file->f_dentry);
file 1579 kernel/cgroup.c return cft->release(inode, file);
file 2114 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent);
file 2120 kernel/cgroup.c if (!(file->f_mode & FMODE_READ))
file 2154 kernel/cgroup.c file->private_data = ctr;
file 2170 kernel/cgroup.c struct ctr_struct *ctr = file->private_data;
file 2180 kernel/cgroup.c if (file->f_mode & FMODE_READ) {
file 2181 kernel/cgroup.c ctr = file->private_data;
file 2646 kernel/cgroup.c return single_open(file, proc_cgroup_show, pid);
file 2675 kernel/cgroup.c return single_open(file, proc_cgroupstats_show, NULL);
file 2425 kernel/cpuset.c return single_open(file, proc_cpuset_show, pid);
file 140 kernel/dma.c return single_open(file, proc_dma_show, NULL);
file 483 kernel/exit.c struct file * file = xchg(&fdt->fd[i], NULL);
file 484 kernel/exit.c if (file) {
file 485 kernel/exit.c filp_close(file, files);
file 284 kernel/fork.c struct file *file;
file 313 kernel/fork.c file = tmp->vm_file;
file 314 kernel/fork.c if (file) {
file 315 kernel/fork.c struct inode *inode = file->f_path.dentry->d_inode;
file 316 kernel/fork.c get_file(file);
file 321 kernel/fork.c spin_lock(&file->f_mapping->i_mmap_lock);
file 323 kernel/fork.c flush_dcache_mmap_lock(file->f_mapping);
file 325 kernel/fork.c flush_dcache_mmap_unlock(file->f_mapping);
file 326 kernel/fork.c spin_unlock(&file->f_mapping->i_mmap_lock);
file 42 kernel/irq/proc.c unsigned int irq = (int)(long)PDE(file->f_path.dentry->d_inode)->data;
file 74 kernel/irq/proc.c return single_open(file, irq_affinity_proc_show, PDE(inode)->data);
file 120 kernel/irq/proc.c return single_open(file, default_affinity_show, NULL);
file 458 kernel/kallsyms.c ret = seq_open(file, &kallsyms_op);
file 460 kernel/kallsyms.c ((struct seq_file *)file->private_data)->private = iter;
file 127 kernel/kmod.c struct file *stdin;
file 419 kernel/kmod.c struct file *f;
file 1303 kernel/kprobes.c struct dentry *dir, *file;
file 1310 kernel/kprobes.c file = debugfs_create_file("list", 0444, dir, NULL,
file 1312 kernel/kprobes.c if (!file) {
file 1317 kernel/kprobes.c file = debugfs_create_file("enabled", 0600, dir,
file 1319 kernel/kprobes.c if (!file) {
file 131 kernel/lockdep_proc.c int res = seq_open(file, &lockdep_ops);
file 133 kernel/lockdep_proc.c struct seq_file *m = file->private_data;
file 223 kernel/lockdep_proc.c int res = seq_open(file, &lockdep_chains_ops);
file 225 kernel/lockdep_proc.c struct seq_file *m = file->private_data;
file 423 kernel/lockdep_proc.c return single_open(file, lockdep_stats_show, NULL);
file 667 kernel/lockdep_proc.c res = seq_open(file, &lockstat_ops);
file 670 kernel/lockdep_proc.c struct seq_file *m = file->private_data;
file 712 kernel/lockdep_proc.c struct seq_file *seq = file->private_data;
file 716 kernel/lockdep_proc.c return seq_release(inode, file);
file 313 kernel/panic.c printk(KERN_WARNING "WARNING: at %s:%d %s()\n", file,
file 331 kernel/panic.c printk(KERN_WARNING "WARNING: at %s:%d %s()\n", file,
file 109 kernel/relay.c struct file *filp = vma->vm_file;
file 100 kernel/resource.c int res = seq_open(file, &resource_op);
file 102 kernel/resource.c struct seq_file *m = file->private_data;
file 110 kernel/resource.c int res = seq_open(file, &resource_op);
file 112 kernel/resource.c struct seq_file *m = file->private_data;
file 102 kernel/rtmutex-debug.c lock, lock->file, lock->line);
file 8333 kernel/sched.c file, line);
file 83 kernel/sched_stats.h res = single_open(file, show_schedstat, NULL);
file 85 kernel/sched_stats.h m = file->private_data;
file 392 kernel/taskstats.c struct file *file;
file 400 kernel/taskstats.c file = fget_light(fd, &fput_needed);
file 401 kernel/taskstats.c if (!file)
file 416 kernel/taskstats.c rc = cgroupstats_build(stats, file->f_dentry);
file 425 kernel/taskstats.c fput_light(file, fput_needed);
file 994 kernel/trace/ftrace.c ret = seq_open(file, &show_ftrace_seq_ops);
file 996 kernel/trace/ftrace.c struct seq_file *m = file->private_data;
file 1008 kernel/trace/ftrace.c struct seq_file *m = (struct seq_file *)file->private_data;
file 1011 kernel/trace/ftrace.c seq_release(inode, file);
file 1024 kernel/trace/ftrace.c ret = ftrace_avail_open(inode, file);
file 1026 kernel/trace/ftrace.c m = (struct seq_file *)file->private_data;
file 1073 kernel/trace/ftrace.c if ((file->f_mode & FMODE_WRITE) &&
file 1074 kernel/trace/ftrace.c !(file->f_flags & O_APPEND))
file 1077 kernel/trace/ftrace.c if (file->f_mode & FMODE_READ) {
file 1083 kernel/trace/ftrace.c ret = seq_open(file, &show_ftrace_seq_ops);
file 1085 kernel/trace/ftrace.c struct seq_file *m = file->private_data;
file 1090 kernel/trace/ftrace.c file->private_data = iter;
file 1099 kernel/trace/ftrace.c return ftrace_regex_open(inode, file, 1);
file 1105 kernel/trace/ftrace.c return ftrace_regex_open(inode, file, 0);
file 1112 kernel/trace/ftrace.c if (file->f_mode & FMODE_READ)
file 1113 kernel/trace/ftrace.c return seq_read(file, ubuf, cnt, ppos);
file 1123 kernel/trace/ftrace.c if (file->f_mode & FMODE_READ)
file 1124 kernel/trace/ftrace.c ret = seq_lseek(file, offset, origin);
file 1126 kernel/trace/ftrace.c file->f_pos = ret = 1;
file 1223 kernel/trace/ftrace.c if (file->f_mode & FMODE_READ) {
file 1224 kernel/trace/ftrace.c struct seq_file *m = file->private_data;
file 1227 kernel/trace/ftrace.c iter = file->private_data;
file 1251 kernel/trace/ftrace.c file->f_pos += read;
file 1282 kernel/trace/ftrace.c file->f_pos += read;
file 1295 kernel/trace/ftrace.c return ftrace_regex_write(file, ubuf, cnt, ppos, 1);
file 1302 kernel/trace/ftrace.c return ftrace_regex_write(file, ubuf, cnt, ppos, 0);
file 1351 kernel/trace/ftrace.c struct seq_file *m = (struct seq_file *)file->private_data;
file 1355 kernel/trace/ftrace.c if (file->f_mode & FMODE_READ) {
file 1358 kernel/trace/ftrace.c seq_release(inode, file);
file 1360 kernel/trace/ftrace.c iter = file->private_data;
file 1383 kernel/trace/ftrace.c return ftrace_regex_release(inode, file, 1);
file 1389 kernel/trace/ftrace.c return ftrace_regex_release(inode, file, 0);
file 1698 kernel/trace/ftrace.c ret = proc_dointvec(table, write, file, buffer, lenp, ppos);
file 1893 kernel/trace/trace.c *ret = seq_open(file, &tracer_seq_ops);
file 1895 kernel/trace/trace.c struct seq_file *m = file->private_data;
file 1927 kernel/trace/trace.c struct seq_file *m = (struct seq_file *)file->private_data;
file 1945 kernel/trace/trace.c seq_release(inode, file);
file 1954 kernel/trace/trace.c __tracing_open(inode, file, &ret);
file 1964 kernel/trace/trace.c iter = __tracing_open(inode, file, &ret);
file 2035 kernel/trace/trace.c ret = seq_open(file, &show_traces_seq_ops);
file 2037 kernel/trace/trace.c struct seq_file *m = file->private_data;
file 2466 kernel/trace/trace.c struct trace_iterator *iter = file->private_data;
file 148 kernel/trace/trace.h struct file *filp, char __user *ubuf,
file 120 lib/bug.c const char *file;
file 130 lib/bug.c file = NULL;
file 136 lib/bug.c file = bug->file;
file 144 lib/bug.c if (file)
file 146 lib/bug.c file, line);
file 157 lib/bug.c if (file)
file 159 lib/bug.c file, line);
file 52 mm/backing-dev.c return single_open(file, bdi_debug_stats_show, inode->i_private);
file 29 mm/fadvise.c struct file *file = fget(fd);
file 38 mm/fadvise.c if (!file)
file 41 mm/fadvise.c if (S_ISFIFO(file->f_path.dentry->d_inode->i_mode)) {
file 46 mm/fadvise.c mapping = file->f_mapping;
file 79 mm/fadvise.c file->f_ra.ra_pages = bdi->ra_pages;
file 82 mm/fadvise.c file->f_ra.ra_pages = 0;
file 85 mm/fadvise.c file->f_ra.ra_pages = bdi->ra_pages * 2;
file 102 mm/fadvise.c ret = force_page_cache_readahead(mapping, file,
file 126 mm/fadvise.c fput(file);
file 1284 mm/filemap.c struct file *filp = iocb->ki_filp;
file 1359 mm/filemap.c struct file *file;
file 1362 mm/filemap.c file = fget(fd);
file 1363 mm/filemap.c if (file) {
file 1364 mm/filemap.c if (file->f_mode & FMODE_READ) {
file 1365 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 1369 mm/filemap.c ret = do_readahead(mapping, file, start, len);
file 1371 mm/filemap.c fput(file);
file 1387 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 1398 mm/filemap.c ret = mapping->a_ops->readpage(file, page);
file 1426 mm/filemap.c struct file *file = vma->vm_file;
file 1427 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 1428 mm/filemap.c struct file_ra_state *ra = &file->f_ra;
file 1453 mm/filemap.c page_cache_sync_readahead(mapping, ra, file,
file 1460 mm/filemap.c page_cache_async_readahead(mapping, ra, file, page,
file 1486 mm/filemap.c ra_pages = max_sane_readahead(file->f_ra.ra_pages);
file 1492 mm/filemap.c do_page_cache_readahead(mapping, file, start, ra_pages);
file 1530 mm/filemap.c error = page_cache_read(file, vmf->pgoff);
file 1563 mm/filemap.c error = mapping->a_ops->readpage(file, page);
file 1575 mm/filemap.c shrink_readahead_size_eio(file, ra);
file 1588 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 1592 mm/filemap.c file_accessed(file);
file 1605 mm/filemap.c return generic_file_mmap(file, vma);
file 1773 mm/filemap.c struct dentry *dentry = file->f_path.dentry;
file 1940 mm/filemap.c struct inode *inode = file->f_mapping->host;
file 1948 mm/filemap.c if (file->f_flags & O_APPEND)
file 1966 mm/filemap.c !(file->f_flags & O_LARGEFILE))) {
file 2020 mm/filemap.c return aops->write_begin(file, mapping, pos, len, flags,
file 2042 mm/filemap.c ret = aops->readpage(file, page);
file 2052 mm/filemap.c ret = aops->prepare_write(file, page, offset, offset+len);
file 2073 mm/filemap.c ret = aops->write_end(file, mapping, pos, len, copied,
file 2080 mm/filemap.c ret = aops->commit_write(file, page, offset, offset+len);
file 2103 mm/filemap.c struct file *file = iocb->ki_filp;
file 2104 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2180 mm/filemap.c ((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 2219 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2312 mm/filemap.c status = a_ops->prepare_write(file, page, offset, offset+bytes);
file 2345 mm/filemap.c status = a_ops->commit_write(file, page, offset, offset+bytes);
file 2387 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2429 mm/filemap.c status = a_ops->write_begin(file, mapping, pos, bytes, flags,
file 2439 mm/filemap.c status = a_ops->write_end(file, mapping, pos, bytes, copied,
file 2476 mm/filemap.c struct file *file = iocb->ki_filp;
file 2477 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2485 mm/filemap.c status = generic_perform_write(file, &i, pos);
file 2487 mm/filemap.c status = generic_perform_write_2copy(file, &i, pos);
file 2497 mm/filemap.c if (unlikely((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 2509 mm/filemap.c if (unlikely(file->f_flags & O_DIRECT) && written)
file 2520 mm/filemap.c struct file *file = iocb->ki_filp;
file 2521 mm/filemap.c struct address_space * mapping = file->f_mapping;
file 2543 mm/filemap.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode));
file 2550 mm/filemap.c err = file_remove_suid(file);
file 2554 mm/filemap.c file_update_time(file);
file 2557 mm/filemap.c if (unlikely(file->f_flags & O_DIRECT)) {
file 2592 mm/filemap.c err = do_sync_mapping_range(file->f_mapping, pos, endbyte,
file 2619 mm/filemap.c struct file *file = iocb->ki_filp;
file 2620 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2629 mm/filemap.c if (ret > 0 && ((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 2643 mm/filemap.c struct file *file = iocb->ki_filp;
file 2644 mm/filemap.c struct address_space *mapping = file->f_mapping;
file 2655 mm/filemap.c if (ret > 0 && ((file->f_flags & O_SYNC) || IS_SYNC(inode))) {
file 222 mm/filemap_xip.c struct file *file = vma->vm_file;
file 223 mm/filemap_xip.c struct address_space *mapping = file->f_mapping;
file 305 mm/filemap_xip.c BUG_ON(!file->f_mapping->a_ops->get_xip_mem);
file 307 mm/filemap_xip.c file_accessed(file);
file 194 mm/fremap.c struct file *file = vma->vm_file;
file 197 mm/fremap.c get_file(file);
file 198 mm/fremap.c addr = mmap_region(file, start, size,
file 200 mm/fremap.c fput(file);
file 1413 mm/hugetlb.c proc_doulongvec_minmax(table, write, file, buffer, length, ppos);
file 1425 mm/hugetlb.c proc_dointvec(table, write, file, buffer, length, ppos);
file 1445 mm/hugetlb.c proc_doulongvec_minmax(table, write, file, buffer, length, ppos);
file 110 mm/madvise.c struct file *file = vma->vm_file;
file 112 mm/madvise.c if (!file)
file 115 mm/madvise.c if (file->f_mapping->a_ops->get_xip_mem) {
file 126 mm/madvise.c force_page_cache_readahead(file->f_mapping,
file 127 mm/madvise.c file, start, max_sane_readahead(end - start));
file 3000 mm/memory.c struct file *f = vma->vm_file;
file 2260 mm/mempolicy.c struct file *file = vma->vm_file;
file 2279 mm/mempolicy.c if (file) {
file 2281 mm/mempolicy.c seq_path(m, &file->f_path, "\n\t= ");
file 199 mm/mmap.c atomic_inc(&file->f_path.dentry->d_inode->i_writecount);
file 217 mm/mmap.c struct file *file = vma->vm_file;
file 219 mm/mmap.c if (file) {
file 220 mm/mmap.c struct address_space *mapping = file->f_mapping;
file 222 mm/mmap.c __remove_shared_vm_struct(vma, file, mapping);
file 415 mm/mmap.c struct file * file;
file 417 mm/mmap.c file = vma->vm_file;
file 418 mm/mmap.c if (file) {
file 419 mm/mmap.c struct address_space *mapping = file->f_mapping;
file 422 mm/mmap.c atomic_dec(&file->f_path.dentry->d_inode->i_writecount);
file 513 mm/mmap.c struct file *file = vma->vm_file;
file 548 mm/mmap.c if (file) {
file 549 mm/mmap.c mapping = file->f_mapping;
file 620 mm/mmap.c if (file)
file 621 mm/mmap.c __remove_shared_vm_struct(next, file, mapping);
file 639 mm/mmap.c if (file) {
file 640 mm/mmap.c fput(file);
file 672 mm/mmap.c if (vma->vm_file != file)
file 700 mm/mmap.c if (is_mergeable_vma(vma, file, vm_flags) &&
file 719 mm/mmap.c if (is_mergeable_vma(vma, file, vm_flags) &&
file 788 mm/mmap.c anon_vma, file, pgoff)) {
file 795 mm/mmap.c anon_vma, file, pgoff+pglen) &&
file 813 mm/mmap.c anon_vma, file, pgoff+pglen)) {
file 897 mm/mmap.c if (file) {
file 930 mm/mmap.c if (!(file && (file->f_path.mnt->mnt_flags & MNT_NOEXEC)))
file 959 mm/mmap.c addr = get_unmapped_area(file, addr, len, pgoff, flags);
file 986 mm/mmap.c inode = file ? file->f_path.dentry->d_inode : NULL;
file 988 mm/mmap.c if (file) {
file 991 mm/mmap.c if ((prot&PROT_WRITE) && !(file->f_mode&FMODE_WRITE))
file 998 mm/mmap.c if (IS_APPEND(inode) && (file->f_mode & FMODE_WRITE))
file 1008 mm/mmap.c if (!(file->f_mode & FMODE_WRITE))
file 1013 mm/mmap.c if (!(file->f_mode & FMODE_READ))
file 1015 mm/mmap.c if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) {
file 1020 mm/mmap.c if (is_file_hugepages(file))
file 1023 mm/mmap.c if (!file->f_op || !file->f_op->mmap)
file 1050 mm/mmap.c error = security_file_mmap(file, reqprot, prot, flags, addr, 0);
file 1054 mm/mmap.c return mmap_region(file, addr, len, flags, vm_flags, pgoff,
file 1102 mm/mmap.c struct inode *inode = file ? file->f_path.dentry->d_inode : NULL;
file 1142 mm/mmap.c if (!file && !(vm_flags & VM_SHARED) &&
file 1165 mm/mmap.c if (file) {
file 1170 mm/mmap.c error = deny_write_access(file);
file 1175 mm/mmap.c vma->vm_file = file;
file 1176 mm/mmap.c get_file(file);
file 1177 mm/mmap.c error = file->f_op->mmap(file, vma);
file 1208 mm/mmap.c if (file && vma_merge(mm, prev, addr, vma->vm_end,
file 1209 mm/mmap.c vma->vm_flags, NULL, file, pgoff, vma_policy(vma))) {
file 1212 mm/mmap.c fput(file);
file 1217 mm/mmap.c file = vma->vm_file;
file 1225 mm/mmap.c vm_stat_account(mm, vm_flags, file, len >> PAGE_SHIFT);
file 1238 mm/mmap.c fput(file);
file 1440 mm/mmap.c unsigned long (*get_area)(struct file *, unsigned long,
file 1444 mm/mmap.c if (file && file->f_op && file->f_op->get_unmapped_area)
file 1445 mm/mmap.c get_area = file->f_op->get_unmapped_area;
file 1446 mm/mmap.c addr = get_area(file, addr, len, pgoff, flags);
file 60 mm/msync.c struct file *file;
file 79 mm/msync.c file = vma->vm_file;
file 81 mm/msync.c if ((flags & MS_SYNC) && file &&
file 83 mm/msync.c get_file(file);
file 85 mm/msync.c error = do_fsync(file, 0);
file 86 mm/msync.c fput(file);
file 605 mm/nommu.c if (file) {
file 610 mm/nommu.c if (!file->f_op || !file->f_op->mmap)
file 617 mm/nommu.c mapping = file->f_mapping;
file 619 mm/nommu.c mapping = file->f_path.dentry->d_inode->i_mapping;
file 628 mm/nommu.c switch (file->f_path.dentry->d_inode->i_mode & S_IFMT) {
file 648 mm/nommu.c if (!file->f_op->get_unmapped_area)
file 650 mm/nommu.c if (!file->f_op->read)
file 656 mm/nommu.c !(file->f_mode & FMODE_WRITE))
file 659 mm/nommu.c if (IS_APPEND(file->f_path.dentry->d_inode) &&
file 660 mm/nommu.c (file->f_mode & FMODE_WRITE))
file 663 mm/nommu.c if (locks_verify_locked(file->f_path.dentry->d_inode))
file 694 mm/nommu.c if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) {
file 726 mm/nommu.c ret = security_file_mmap(file, reqprot, prot, flags, addr, 0);
file 752 mm/nommu.c if (file && !(prot & PROT_WRITE))
file 897 mm/nommu.c ret = validate_mmap_request(file, addr, len, prot, flags, pgoff,
file 904 mm/nommu.c vm_flags = determine_vm_flags(file, prot, flags, capabilities);
file 937 mm/nommu.c if (vma->vm_file->f_path.dentry->d_inode != file->f_path.dentry->d_inode)
file 970 mm/nommu.c if (file && file->f_op->get_unmapped_area) {
file 971 mm/nommu.c addr = file->f_op->get_unmapped_area(file, addr, len,
file 997 mm/nommu.c if (file) {
file 998 mm/nommu.c get_file(file);
file 1004 mm/nommu.c vma->vm_file = file;
file 1013 mm/nommu.c if (file && vma->vm_flags & VM_SHARED)
file 1333 mm/nommu.c unsigned long (*get_area)(struct file *, unsigned long, unsigned long,
file 1337 mm/nommu.c if (file && file->f_op && file->f_op->get_unmapped_area)
file 1338 mm/nommu.c get_area = file->f_op->get_unmapped_area;
file 1343 mm/nommu.c return get_area(file, addr, len, pgoff, flags);
file 738 mm/page-writeback.c proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos);
file 2045 mm/page_alloc.c ret = proc_dostring(table, write, file, buffer, length, ppos);
file 4301 mm/page_alloc.c proc_dointvec(table, write, file, buffer, length, ppos);
file 4314 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, file, buffer, length, ppos);
file 4330 mm/page_alloc.c rc = proc_dointvec_minmax(table, write, file, buffer, length, ppos);
file 4353 mm/page_alloc.c proc_dointvec_minmax(table, write, file, buffer, length, ppos);
file 4371 mm/page_alloc.c ret = proc_dointvec_minmax(table, write, file, buffer, length, ppos);
file 1470 mm/shmem.c struct inode *inode = file->f_path.dentry->d_inode;
file 1492 mm/shmem.c file_accessed(file);
file 1704 mm/shmem.c struct file *filp = iocb->ki_filp;
file 2534 mm/shmem.c struct file *file;
file 2558 mm/shmem.c file = get_empty_filp();
file 2559 mm/shmem.c if (!file)
file 2571 mm/shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ,
file 2573 mm/shmem.c return file;
file 2576 mm/shmem.c put_filp(file);
file 2590 mm/shmem.c struct file *file;
file 2593 mm/shmem.c file = shmem_file_setup("dev/zero", size, vma->vm_flags);
file 2594 mm/shmem.c if (IS_ERR(file))
file 2595 mm/shmem.c return PTR_ERR(file);
file 2599 mm/shmem.c vma->vm_file = file;
file 1211 mm/swapfile.c struct file *swap_file, *victim;
file 1399 mm/swapfile.c struct file *file;
file 1407 mm/swapfile.c file = ptr->swap_file;
file 1408 mm/swapfile.c len = seq_path(swap, &file->f_path, " \t\n\\");
file 1411 mm/swapfile.c S_ISBLK(file->f_path.dentry->d_inode->i_mode) ?
file 1428 mm/swapfile.c return seq_open(file, &swaps_op);
file 1456 mm/swapfile.c struct file *swap_file = NULL;
file 51 mm/tiny-shmem.c struct file *file;
file 69 mm/tiny-shmem.c file = get_empty_filp();
file 70 mm/tiny-shmem.c if (!file)
file 81 mm/tiny-shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ,
file 89 mm/tiny-shmem.c return file;
file 92 mm/tiny-shmem.c put_filp(file);
file 105 mm/tiny-shmem.c struct file *file;
file 108 mm/tiny-shmem.c file = shmem_file_setup("dev/zero", size, vma->vm_flags);
file 109 mm/tiny-shmem.c if (IS_ERR(file))
file 110 mm/tiny-shmem.c return PTR_ERR(file);
file 114 mm/tiny-shmem.c vma->vm_file = file;
file 131 mm/tiny-shmem.c return ramfs_nommu_get_unmapped_area(file, addr, len, pgoff, flags);
file 584 net/802/tr.c return seq_open(file, &rif_seq_ops);
file 76 net/8021q/vlanproc.c return seq_open_net(inode, file, &vlan_seq_ops,
file 94 net/8021q/vlanproc.c return single_open(file, vlandev_seq_show, PDE(inode)->data);
file 74 net/9p/trans_fd.c struct file *rd;
file 75 net/9p/trans_fd.c struct file *wr;
file 1036 net/appletalk/aarp.c return seq_open_private(file, &aarp_seq_ops,
file 237 net/appletalk/atalk_proc.c return seq_open(file, &atalk_seq_interface_ops);
file 242 net/appletalk/atalk_proc.c return seq_open(file, &atalk_seq_route_ops);
file 247 net/appletalk/atalk_proc.c return seq_open(file, &atalk_seq_socket_ops);
file 739 net/atm/br2684.c return seq_open(file, &br2684_seq_ops);
file 933 net/atm/clip.c return seq_open_net(inode, file, &arp_seq_ops,
file 597 net/atm/common.c poll_wait(file, sk->sk_sleep, wait);
file 1180 net/atm/lec.c return seq_open_private(file, &lec_seq_ops, sizeof(struct lec_state));
file 189 net/atm/mpoa_proc.c return seq_open(file, &mpc_op);
file 118 net/atm/proc.c state = __seq_open_private(file, ops, sizeof(*state));
file 257 net/atm/proc.c return seq_open(file, &atm_dev_seq_ops);
file 292 net/atm/proc.c return __vcc_seq_open(inode, file, PF_ATMPVC, &pvc_seq_ops);
file 326 net/atm/proc.c return __vcc_seq_open(inode, file, 0, &vcc_seq_ops);
file 361 net/atm/proc.c return __vcc_seq_open(inode, file, PF_ATMSVC, &svc_seq_ops);
file 381 net/atm/proc.c dev = PDE(file->f_path.dentry->d_inode)->data;
file 1945 net/ax25/af_ax25.c return seq_open(file, &ax25_info_seqops);
file 334 net/ax25/ax25_route.c return seq_open(file, &ax25_rt_seqops);
file 199 net/ax25/ax25_uid.c return seq_open(file, &ax25_uid_seqops);
file 300 net/bluetooth/af_bluetooth.c poll_wait(file, sk->sk_sleep, wait);
file 515 net/bluetooth/bnep/core.c fput(s->sock->file);
file 317 net/bluetooth/cmtp/core.c fput(session->sock->file);
file 590 net/bluetooth/hidp/core.c fput(session->intr_sock->file);
file 595 net/bluetooth/hidp/core.c fput(session->ctrl_sock->file);
file 270 net/compat.c struct file **fp = scm->fp->fp;
file 613 net/core/datagram.c poll_wait(file, sk->sk_sleep, wait);
file 2701 net/core/dev.c return seq_open_net(inode, file, &dev_seq_ops,
file 2722 net/core/dev.c return seq_open(file, &softnet_seq_ops);
file 2852 net/core/dev.c return seq_open_net(inode, file, &ptype_seq_ops,
file 192 net/core/dev_mcast.c return seq_open_net(inode, file, &dev_mc_seq_ops,
file 2499 net/core/neighbour.c int ret = seq_open(file, &neigh_stat_seq_ops);
file 2502 net/core/neighbour.c struct seq_file *sf = file->private_data;
file 494 net/core/pktgen.c return single_open(file, pgctrl_show, PDE(inode)->data);
file 819 net/core/pktgen.c struct seq_file *seq = (struct seq_file *)file->private_data;
file 1655 net/core/pktgen.c return single_open(file, pktgen_if_show, PDE(inode)->data);
file 1701 net/core/pktgen.c struct seq_file *seq = (struct seq_file *)file->private_data;
file 1791 net/core/pktgen.c return single_open(file, pktgen_thread_show, PDE(inode)->data);
file 61 net/core/scm.c struct file **fpp;
file 92 net/core/scm.c struct file *file;
file 94 net/core/scm.c if (fd < 0 || !(file = fget(fd)))
file 96 net/core/scm.c *fpp++ = file;
file 215 net/core/scm.c struct file **fp = scm->fp->fp;
file 1669 net/core/sock.c if (sk->sk_socket && sk->sk_socket->file)
file 1670 net/core/sock.c if (send_sigurg(&sk->sk_socket->file->f_owner))
file 2230 net/core/sock.c return seq_open(file, &proto_seq_ops);
file 353 net/dccp/proto.c poll_wait(file, sk->sk_sleep, wait);
file 1209 net/decnet/af_decnet.c int mask = datagram_poll(file, sock, wait);
file 2323 net/decnet/af_decnet.c return seq_open_private(file, &dn_socket_seq_ops,
file 1421 net/decnet/dn_dev.c return seq_open(file, &dn_dev_seq_ops);
file 583 net/decnet/dn_neigh.c return seq_open_net(inode, file, &dn_neigh_seq_ops,
file 1732 net/decnet/dn_route.c return seq_open_private(file, &dn_rt_cache_seq_ops,
file 1366 net/ipv4/arp.c return seq_open_net(inode, file, &arp_seq_ops,
file 1052 net/ipv4/fib_hash.c return seq_open_net(inode, file, &fib_seq_ops,
file 2254 net/ipv4/fib_trie.c return single_open_net(inode, file, fib_triestat_seq_show);
file 2446 net/ipv4/fib_trie.c return seq_open_net(inode, file, &fib_trie_seq_ops,
file 2622 net/ipv4/fib_trie.c return seq_open_net(inode, file, &fib_route_seq_ops,
file 2411 net/ipv4/igmp.c return seq_open_private(file, &igmp_mc_seq_ops,
file 2570 net/ipv4/igmp.c return seq_open_private(file, &igmp_mcf_seq_ops,
file 1222 net/ipv4/ipconfig.c return single_open(file, pnp_seq_show, NULL);
file 1756 net/ipv4/ipmr.c return seq_open_private(file, &ipmr_vif_seq_ops,
file 1901 net/ipv4/ipmr.c return seq_open_private(file, &ipmr_mfc_seq_ops,
file 556 net/ipv4/netfilter/ip_queue.c return single_open(file, ip_queue_show, NULL);
file 632 net/ipv4/netfilter/ipt_CLUSTERIP.c int ret = seq_open(file, &clusterip_seq_ops);
file 635 net/ipv4/netfilter/ipt_CLUSTERIP.c struct seq_file *sf = file->private_data;
file 653 net/ipv4/netfilter/ipt_CLUSTERIP.c ret = seq_release(inode, file);
file 666 net/ipv4/netfilter/ipt_CLUSTERIP.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 341 net/ipv4/netfilter/ipt_LOG.c if (skb->sk->sk_socket && skb->sk->sk_socket->file)
file 343 net/ipv4/netfilter/ipt_LOG.c skb->sk->sk_socket->file->f_uid,
file 344 net/ipv4/netfilter/ipt_LOG.c skb->sk->sk_socket->file->f_gid);
file 164 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c return seq_open_net(inode, file, &ct_seq_ops,
file 274 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c return seq_open_net(inode, file, &exp_seq_ops,
file 366 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c return seq_open_net(inode, file, &ct_cpu_seq_ops,
file 74 net/ipv4/proc.c return single_open_net(inode, file, sockstat_seq_show);
file 377 net/ipv4/proc.c return single_open_net(inode, file, snmp_seq_show);
file 424 net/ipv4/proc.c return single_open_net(inode, file, netstat_seq_show);
file 967 net/ipv4/raw.c err = seq_open_net(ino, file, ops, sizeof(struct raw_iter_state));
file 971 net/ipv4/raw.c i = raw_seq_private((struct seq_file *)file->private_data);
file 979 net/ipv4/raw.c return raw_seq_open(inode, file, &raw_v4_hashinfo, &raw_seq_ops);
file 410 net/ipv4/route.c return seq_open_net(inode, file, &rt_cache_seq_ops,
file 502 net/ipv4/route.c return seq_open(file, &rt_cpu_seq_ops);
file 340 net/ipv4/tcp.c poll_wait(file, sk->sk_sleep, wait);
file 2152 net/ipv4/tcp_ipv4.c err = seq_open_net(inode, file, &afinfo->seq_ops,
file 2157 net/ipv4/tcp_ipv4.c s = ((struct seq_file *)file->private_data)->private;
file 1439 net/ipv4/udp.c unsigned int mask = datagram_poll(file, sock, wait);
file 1445 net/ipv4/udp.c !(file->f_flags & O_NONBLOCK) &&
file 1581 net/ipv4/udp.c err = seq_open_net(inode, file, &afinfo->seq_ops,
file 1586 net/ipv4/udp.c s = ((struct seq_file *)file->private_data)->private;
file 3009 net/ipv6/addrconf.c return seq_open_net(inode, file, &if6_seq_ops,
file 532 net/ipv6/anycast.c return seq_open_net(inode, file, &ac6_seq_ops,
file 721 net/ipv6/ip6_flowlabel.c return seq_open_net(inode, file, &ip6fl_seq_ops,
file 218 net/ipv6/ip6mr.c return seq_open_private(file, &ip6mr_vif_seq_ops,
file 332 net/ipv6/ip6mr.c return seq_open_private(file, &ipmr_mfc_seq_ops,
file 2451 net/ipv6/mcast.c return seq_open_net(inode, file, &igmp6_mc_seq_ops,
file 2613 net/ipv6/mcast.c return seq_open_net(inode, file, &igmp6_mcf_seq_ops,
file 559 net/ipv6/netfilter/ip6_queue.c return single_open(file, ip6_queue_show, NULL);
file 365 net/ipv6/netfilter/ip6t_LOG.c if (skb->sk->sk_socket && skb->sk->sk_socket->file)
file 367 net/ipv6/netfilter/ip6t_LOG.c skb->sk->sk_socket->file->f_uid,
file 368 net/ipv6/netfilter/ip6t_LOG.c skb->sk->sk_socket->file->f_gid);
file 51 net/ipv6/proc.c return single_open_net(inode, file, sockstat6_seq_show);
file 194 net/ipv6/proc.c return single_open_net(inode, file, snmp6_seq_show);
file 218 net/ipv6/proc.c return single_open(file, snmp6_dev_seq_show, PDE(inode)->data);
file 1269 net/ipv6/raw.c return raw_seq_open(inode, file, &raw_v6_hashinfo, &raw6_seq_ops);
file 2443 net/ipv6/route.c return single_open_net(inode, file, ipv6_route_show);
file 2471 net/ipv6/route.c return single_open_net(inode, file, rt6_stats_seq_show);
file 313 net/ipx/ipx_proc.c return seq_open(file, &ipx_seq_route_ops);
file 318 net/ipx/ipx_proc.c return seq_open(file, &ipx_seq_interface_ops);
file 323 net/ipx/ipx_proc.c return seq_open(file, &ipx_seq_socket_ops);
file 1703 net/irda/af_irda.c poll_wait(file, sk->sk_sleep, wait);
file 411 net/irda/discovery.c return seq_open(file, &discovery_seq_ops);
file 588 net/irda/ircomm/ircomm_core.c return seq_open(file, &ircomm_seq_ops);
file 1082 net/irda/iriap.c return seq_open(file, &irias_seq_ops);
file 1217 net/irda/irlan/irlan_common.c return seq_open(file, &irlan_seq_ops);
file 1225 net/irda/irlap.c return seq_open_private(file, &irlap_seq_ops,
file 2013 net/irda/irlmp.c return seq_open_private(file, &irlmp_seq_ops,
file 407 net/irda/irnet/irnet.h struct file * file; /* File descriptor of this instance */
file 957 net/irda/irnet/irnet_irda.c irnet_server.s.file = NULL;
file 1800 net/irda/irnet/irnet_irda.c return single_open(file, irnet_proc_show, NULL);
file 316 net/irda/irnet/irnet_ppp.c if(file->f_flags & O_NONBLOCK)
file 428 net/irda/irnet/irnet_ppp.c poll_wait(file, &irnet_events.rwait, wait);
file 470 net/irda/irnet/irnet_ppp.c DENTER(FS_TRACE, "(file=0x%p)\n", file);
file 484 net/irda/irnet/irnet_ppp.c ap->file = file;
file 512 net/irda/irnet/irnet_ppp.c file->private_data = ap;
file 529 net/irda/irnet/irnet_ppp.c irnet_socket * ap = (struct irnet_socket *) file->private_data;
file 532 net/irda/irnet/irnet_ppp.c file, ap);
file 536 net/irda/irnet/irnet_ppp.c file->private_data = NULL;
file 566 net/irda/irnet/irnet_ppp.c irnet_socket * ap = (struct irnet_socket *) file->private_data;
file 569 net/irda/irnet/irnet_ppp.c file, ap, count);
file 590 net/irda/irnet/irnet_ppp.c irnet_socket * ap = (struct irnet_socket *) file->private_data;
file 593 net/irda/irnet/irnet_ppp.c file, ap, count);
file 600 net/irda/irnet/irnet_ppp.c return irnet_ctrl_read(ap, file, buf, count);
file 611 net/irda/irnet/irnet_ppp.c irnet_socket * ap = (struct irnet_socket *) file->private_data;
file 615 net/irda/irnet/irnet_ppp.c file, ap);
file 622 net/irda/irnet/irnet_ppp.c mask |= irnet_ctrl_poll(ap, file, wait);
file 640 net/irda/irnet/irnet_ppp.c irnet_socket * ap = (struct irnet_socket *) file->private_data;
file 646 net/irda/irnet/irnet_ppp.c file, ap, cmd);
file 1887 net/irda/irttp.c return seq_open_private(file, &irttp_seq_ops,
file 857 net/iucv/af_iucv.c poll_wait(file, sk->sk_sleep, wait);
file 3685 net/key/af_key.c return seq_open(file, &pfkey_seq_ops);
file 206 net/llc/llc_proc.c return seq_open(file, &llc_seq_socket_ops);
file 211 net/llc/llc_proc.c return seq_open(file, &llc_seq_core_ops);
file 18 net/mac80211/debugfs.c file->private_data = inode->i_private;
file 23 net/mac80211/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf, \
file 26 net/mac80211/debugfs.c struct ieee80211_local *local = file->private_data; \
file 101 net/mac80211/debugfs.c static ssize_t stats_ ##name## _read(struct file *file, \
file 105 net/mac80211/debugfs.c return format_devstat_counter(file->private_data, \
file 18 net/mac80211/debugfs_key.c static ssize_t key_##name##_read(struct file *file, \
file 23 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data; \
file 67 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data;
file 92 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data;
file 118 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data;
file 155 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data;
file 169 net/mac80211/debugfs_key.c struct ieee80211_key *key = file->private_data;
file 112 net/mac80211/debugfs_netdev.c static ssize_t ieee80211_if_read_##name(struct file *file, \
file 116 net/mac80211/debugfs_netdev.c return ieee80211_if_read(file->private_data, \
file 130 net/mac80211/debugfs_netdev.c static ssize_t ieee80211_if_read_##name(struct file *file, \
file 134 net/mac80211/debugfs_netdev.c return ieee80211_if_read(file->private_data, \
file 138 net/mac80211/debugfs_netdev.c static ssize_t ieee80211_if_write_##name(struct file *file, \
file 142 net/mac80211/debugfs_netdev.c return ieee80211_if_write(file->private_data, \
file 21 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 75 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 94 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 105 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 117 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 131 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 175 net/mac80211/debugfs_sta.c struct sta_info *sta = file->private_data;
file 135 net/mac80211/rate.c struct rate_control_ref *ref = file->private_data;
file 73 net/mac80211/rc80211_minstrel_debugfs.c file->private_data = ms;
file 115 net/mac80211/rc80211_minstrel_debugfs.c ms = file->private_data;
file 135 net/mac80211/rc80211_minstrel_debugfs.c struct minstrel_stats_info *ms = file->private_data;
file 102 net/mac80211/rc80211_pid_debugfs.c file->private_data = file_info;
file 110 net/mac80211/rc80211_pid_debugfs.c struct rc_pid_events_file_info *file_info = file->private_data;
file 120 net/mac80211/rc80211_pid_debugfs.c struct rc_pid_events_file_info *file_info = file->private_data;
file 122 net/mac80211/rc80211_pid_debugfs.c poll_wait(file, &file_info->events->waitqueue, wait);
file 132 net/mac80211/rc80211_pid_debugfs.c struct rc_pid_events_file_info *file_info = file->private_data;
file 142 net/mac80211/rc80211_pid_debugfs.c if (file->f_flags & O_NONBLOCK)
file 556 net/netfilter/ipvs/ip_vs_app.c return seq_open(file, &ip_vs_app_seq_ops);
file 856 net/netfilter/ipvs/ip_vs_conn.c return seq_open(file, &ip_vs_conn_seq_ops);
file 921 net/netfilter/ipvs/ip_vs_conn.c return seq_open(file, &ip_vs_conn_sync_seq_ops);
file 1932 net/netfilter/ipvs/ip_vs_ctl.c return seq_open_private(file, &ip_vs_info_seq_ops,
file 1982 net/netfilter/ipvs/ip_vs_ctl.c return single_open(file, ip_vs_stats_show, NULL);
file 528 net/netfilter/nf_conntrack_expect.c return seq_open_net(inode, file, &exp_seq_ops,
file 183 net/netfilter/nf_conntrack_standalone.c return seq_open_net(inode, file, &ct_seq_ops,
file 275 net/netfilter/nf_conntrack_standalone.c return seq_open_net(inode, file, &ct_cpu_seq_ops,
file 150 net/netfilter/nf_log.c return seq_open(file, &nflog_seq_ops);
file 335 net/netfilter/nf_queue.c return seq_open(file, &nfqueue_seq_ops);
file 476 net/netfilter/nfnetlink_log.c if (skb->sk->sk_socket && skb->sk->sk_socket->file) {
file 477 net/netfilter/nfnetlink_log.c __be32 uid = htonl(skb->sk->sk_socket->file->f_uid);
file 478 net/netfilter/nfnetlink_log.c __be32 gid = htonl(skb->sk->sk_socket->file->f_gid);
file 917 net/netfilter/nfnetlink_log.c return seq_open_private(file, &nful_seq_ops,
file 880 net/netfilter/nfnetlink_queue.c return seq_open_private(file, &nfqnl_seq_ops,
file 805 net/netfilter/x_tables.c ret = seq_open_net(inode, file, &xt_table_seq_ops,
file 808 net/netfilter/x_tables.c priv = ((struct seq_file *)file->private_data)->private;
file 868 net/netfilter/x_tables.c ret = seq_open(file, &xt_match_seq_ops);
file 870 net/netfilter/x_tables.c struct seq_file *seq = file->private_data;
file 931 net/netfilter/x_tables.c ret = seq_open(file, &xt_target_seq_ops);
file 933 net/netfilter/x_tables.c struct seq_file *seq = file->private_data;
file 948 net/netfilter/xt_hashlimit.c int ret = seq_open(file, &dl_seq_ops);
file 951 net/netfilter/xt_hashlimit.c struct seq_file *sf = file->private_data;
file 27 net/netfilter/xt_owner.c const struct file *filp;
file 32 net/netfilter/xt_owner.c filp = skb->sk->sk_socket->file;
file 53 net/netfilter/xt_owner.c const struct file *filp;
file 58 net/netfilter/xt_owner.c filp = skb->sk->sk_socket->file;
file 79 net/netfilter/xt_owner.c const struct file *filp;
file 90 net/netfilter/xt_owner.c filp = skb->sk->sk_socket->file;
file 452 net/netfilter/xt_recent.c st = __seq_open_private(file, &recent_seq_ops, sizeof(*st));
file 477 net/netfilter/xt_recent.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 544 net/netfilter/xt_recent.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode);
file 1867 net/netlink/af_netlink.c return seq_open_net(inode, file, &netlink_seq_ops,
file 1357 net/netrom/af_netrom.c return seq_open(file, &nr_info_seqops);
file 934 net/netrom/nr_route.c return seq_open(file, &nr_node_seqops);
file 1018 net/netrom/nr_route.c return seq_open(file, &nr_neigh_seqops);
file 1701 net/packet/af_packet.c unsigned int mask = datagram_poll(file, sock, wait);
file 1721 net/packet/af_packet.c struct file *file = vma->vm_file;
file 1722 net/packet/af_packet.c struct socket * sock = file->private_data;
file 1731 net/packet/af_packet.c struct file *file = vma->vm_file;
file 1732 net/packet/af_packet.c struct socket * sock = file->private_data;
file 2070 net/packet/af_packet.c return seq_open_net(inode, file, &packet_seq_ops,
file 212 net/phonet/socket.c poll_wait(file, &sock->wait, wait);
file 1497 net/rose/af_rose.c return seq_open(file, &rose_info_seqops);
file 1142 net/rose/rose_route.c return seq_open(file, &rose_node_seqops);
file 1226 net/rose/rose_route.c return seq_open(file, &rose_neigh_seqops);
file 1312 net/rose/rose_route.c return seq_open(file, &rose_route_seqops);
file 590 net/rxrpc/af_rxrpc.c poll_wait(file, sk->sk_sleep, wait);
file 98 net/rxrpc/ar-proc.c return seq_open(file, &rxrpc_call_seq_ops);
file 183 net/rxrpc/ar-proc.c return seq_open(file, &rxrpc_connection_seq_ops);
file 262 net/sched/cls_flow.c if (skb->sk && skb->sk->sk_socket && skb->sk->sk_socket->file)
file 263 net/sched/cls_flow.c return skb->sk->sk_socket->file->f_uid;
file 269 net/sched/cls_flow.c if (skb->sk && skb->sk->sk_socket && skb->sk->sk_socket->file)
file 270 net/sched/cls_flow.c return skb->sk->sk_socket->file->f_gid;
file 1689 net/sched/sch_api.c return single_open(file, psched_show, PDE(inode)->data);
file 166 net/sched/sch_atm.c file_count(flow->sock->file));
file 262 net/sched/sch_atm.c pr_debug("atm_tc_change: f_count %ld\n", file_count(sock->file));
file 119 net/sctp/objcnt.c return seq_open(file, &sctp_objcnt_seq_ops);
file 95 net/sctp/proc.c return single_open(file, sctp_snmp_seq_show, NULL);
file 241 net/sctp/proc.c return seq_open(file, &sctp_eps_ops);
file 358 net/sctp/proc.c return seq_open(file, &sctp_assoc_ops);
file 501 net/sctp/proc.c return seq_open(file, &sctp_remaddr_ops);
file 1117 net/sctp/socket.c if (sk->sk_socket->file)
file 1118 net/sctp/socket.c f_flags = sk->sk_socket->file->f_flags;
file 5892 net/sctp/socket.c poll_wait(file, sk->sk_sleep, wait);
file 257 net/socket.c ei->socket.file = NULL;
file 360 net/socket.c struct file *file = get_empty_filp();
file 362 net/socket.c *filep = file;
file 363 net/socket.c if (unlikely(!file)) {
file 390 net/socket.c sock->file = file;
file 391 net/socket.c init_file(file, sock_mnt, dentry, FMODE_READ | FMODE_WRITE,
file 394 net/socket.c file->f_flags = O_RDWR | (flags & O_NONBLOCK);
file 395 net/socket.c file->f_pos = 0;
file 396 net/socket.c file->private_data = sock;
file 403 net/socket.c struct file *newfile;
file 421 net/socket.c if (file->f_op == &socket_file_ops)
file 422 net/socket.c return file->private_data; /* set in sock_map_fd */
file 443 net/socket.c struct file *file;
file 446 net/socket.c file = fget(fd);
file 447 net/socket.c if (!file) {
file 452 net/socket.c sock = sock_from_file(file, err);
file 454 net/socket.c fput(file);
file 460 net/socket.c struct file *file;
file 464 net/socket.c file = fget_light(fd, fput_needed);
file 465 net/socket.c if (file) {
file 466 net/socket.c sock = sock_from_file(file, err);
file 469 net/socket.c fput_light(file, *fput_needed);
file 542 net/socket.c if (!sock->file) {
file 546 net/socket.c sock->file = NULL;
file 692 net/socket.c sock = file->private_data;
file 694 net/socket.c flags = !(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT;
file 705 net/socket.c struct socket *sock = file->private_data;
file 732 net/socket.c struct socket *sock = file->private_data;
file 745 net/socket.c msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0;
file 772 net/socket.c struct socket *sock = file->private_data;
file 785 net/socket.c msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0;
file 861 net/socket.c sock = file->private_data;
file 878 net/socket.c err = f_setown(sock->file, pid, 1);
file 882 net/socket.c err = put_user(f_getown(sock->file),
file 971 net/socket.c sock = file->private_data;
file 972 net/socket.c return sock->ops->poll(file, sock, wait);
file 977 net/socket.c struct socket *sock = file->private_data;
file 979 net/socket.c return sock->ops->mmap(file, sock, vma);
file 1265 net/socket.c struct file *newfile1, *newfile2;
file 1386 net/socket.c fput_light(sock->file, fput_needed);
file 1413 net/socket.c fput_light(sock->file, fput_needed);
file 1434 net/socket.c struct file *newfile;
file 1476 net/socket.c err = sock->ops->accept(sock, newsock, sock->file->f_flags);
file 1500 net/socket.c fput_light(sock->file, fput_needed);
file 1608 net/socket.c sock->file->f_flags);
file 1610 net/socket.c fput_light(sock->file, fput_needed);
file 1641 net/socket.c fput_light(sock->file, fput_needed);
file 1662 net/socket.c fput_light(sock->file, fput_needed);
file 1672 net/socket.c fput_light(sock->file, fput_needed);
file 1713 net/socket.c if (sock->file->f_flags & O_NONBLOCK)
file 1719 net/socket.c fput_light(sock->file, fput_needed);
file 1762 net/socket.c if (sock->file->f_flags & O_NONBLOCK)
file 1773 net/socket.c fput_light(sock->file, fput_needed);
file 1817 net/socket.c fput_light(sock->file, fput_needed);
file 1848 net/socket.c fput_light(sock->file, fput_needed);
file 1867 net/socket.c fput_light(sock->file, fput_needed);
file 1969 net/socket.c if (sock->file->f_flags & O_NONBLOCK)
file 1980 net/socket.c fput_light(sock->file, fput_needed);
file 2055 net/socket.c if (sock->file->f_flags & O_NONBLOCK)
file 2087 net/socket.c fput_light(sock->file, fput_needed);
file 2324 net/socket.c struct socket *sock = file->private_data;
file 1254 net/sunrpc/cache.c han = __seq_open_private(file, &cache_content_op, sizeof(*han));
file 1272 net/sunrpc/cache.c struct cache_detail *cd = PDE(file->f_path.dentry->d_inode)->data;
file 1293 net/sunrpc/cache.c struct cache_detail *cd = PDE(file->f_path.dentry->d_inode)->data;
file 351 net/sunrpc/rpc_pipe.c int ret = single_open(file, rpc_show_info, NULL);
file 354 net/sunrpc/rpc_pipe.c struct seq_file *m = file->private_data;
file 361 net/sunrpc/rpc_pipe.c single_release(inode, file);
file 372 net/sunrpc/rpc_pipe.c struct seq_file *m = file->private_data;
file 377 net/sunrpc/rpc_pipe.c return single_release(inode, file);
file 66 net/sunrpc/stats.c return single_open(file, rpc_proc_show, PDE(inode)->data);
file 1295 net/sunrpc/svcsock.c if (svsk->sk_sock->file)
file 447 net/tipc/socket.c poll_wait(file, sk->sk_sleep, wait);
file 1965 net/unix/af_unix.c poll_wait(file, sk->sk_sleep, wait);
file 2001 net/unix/af_unix.c poll_wait(file, sk->sk_sleep, wait);
file 2032 net/unix/af_unix.c poll_wait(file, &unix_sk(other)->peer_wait,
file 2177 net/unix/af_unix.c return seq_open_net(inode, file, &unix_seq_ops,
file 181 net/unix/garbage.c struct file **fp = UNIXCB(skb).fp->fp;
file 294 net/unix/garbage.c total_refs = file_count(u->sk.sk_socket->file);
file 354 net/wanrouter/wanmain.c struct inode *inode = file->f_path.dentry->d_inode;
file 184 net/wanrouter/wanproc.c return seq_open(file, &config_op);
file 189 net/wanrouter/wanproc.c return seq_open(file, &status_op);
file 272 net/wanrouter/wanproc.c return single_open(file, wandev_show, PDE(inode)->data);
file 661 net/wireless/wext.c return seq_open_net(inode, file, &wireless_seq_ops,
file 267 net/x25/x25_proc.c return seq_open(file, &x25_seq_socket_ops);
file 272 net/x25/x25_proc.c return seq_open(file, &x25_seq_route_ops);
file 277 net/x25/x25_proc.c return seq_open(file, &x25_seq_forward_ops);
file 72 net/xfrm/xfrm_proc.c return single_open(file, xfrm_statistics_seq_show, NULL);
file 159 scripts/basic/docproc.c void adddep(char * file) { printf("\t%s", file); }
file 160 scripts/basic/docproc.c void adddep2(char * file, char * line) { line = line; adddep(file); }
file 162 scripts/basic/docproc.c void noaction2(char * file, char * line) { file = file; line = line; }
file 19 scripts/kconfig/expr.h struct file *next;
file 20 scripts/kconfig/expr.h struct file *parent;
file 121 scripts/kconfig/expr.h struct file *file;
file 143 scripts/kconfig/expr.h struct file *file;
file 153 scripts/kconfig/expr.h extern struct file *file_list;
file 154 scripts/kconfig/expr.h extern struct file *current_file;
file 155 scripts/kconfig/expr.h struct file *lookup_file(const char *name);
file 62 scripts/kconfig/kxgettext.c char* file;
file 73 scripts/kconfig/kxgettext.c self->file = file;
file 96 scripts/kconfig/kxgettext.c self->files = file_line__new(file, lineno);
file 132 scripts/kconfig/kxgettext.c struct file_line *fl = file_line__new(file, lineno);
file 152 scripts/kconfig/kxgettext.c rc = message__add_file_line(m, file, lineno);
file 154 scripts/kconfig/kxgettext.c m = message__new(escaped, option, file, lineno);
file 170 scripts/kconfig/kxgettext.c menu->file == NULL ? "Root Menu" : menu->file->name,
file 175 scripts/kconfig/kxgettext.c menu->file == NULL ? "Root Menu" : menu->file->name,
file 191 scripts/kconfig/kxgettext.c printf("#: %s:%d", fl->file, fl->lineno);
file 195 scripts/kconfig/kxgettext.c printf(", %s:%d", fl->file, fl->lineno);
file 102 scripts/kconfig/lkc.h struct file *file_lookup(const char *name);
file 293 scripts/kconfig/mconf.c str_printf(r, _(" Defined at %s:%d\n"), prop->menu->file->name,
file 15 scripts/kconfig/menu.c struct file *file_list;
file 16 scripts/kconfig/menu.c struct file *current_file;
file 22 scripts/kconfig/menu.c fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno);
file 32 scripts/kconfig/menu.c fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno);
file 52 scripts/kconfig/menu.c menu->file = current_file;
file 1063 scripts/kconfig/qconf.cc debug += QString().sprintf("defined at %s:%d<br><br>", menu->file->name, menu->lineno);
file 860 scripts/kconfig/symbol.c sym->prop->file->name, sym->prop->lineno,
file 900 scripts/kconfig/symbol.c prop->file = current_file;
file 12 scripts/kconfig/util.c struct file *file_lookup(const char *name)
file 14 scripts/kconfig/util.c struct file *file;
file 16 scripts/kconfig/util.c for (file = file_list; file; file = file->next) {
file 17 scripts/kconfig/util.c if (!strcmp(name, file->name))
file 18 scripts/kconfig/util.c return file;
file 21 scripts/kconfig/util.c file = malloc(sizeof(*file));
file 22 scripts/kconfig/util.c memset(file, 0, sizeof(*file));
file 23 scripts/kconfig/util.c file->name = strdup(name);
file 24 scripts/kconfig/util.c file->next = file_list;
file 25 scripts/kconfig/util.c file_list = file;
file 26 scripts/kconfig/util.c return file;
file 34 scripts/kconfig/util.c struct file *file;
file 43 scripts/kconfig/util.c for (file = file_list; file; file = file->next) {
file 44 scripts/kconfig/util.c if (file->next)
file 45 scripts/kconfig/util.c fprintf(out, "\t%s \\\n", file->name);
file 47 scripts/kconfig/util.c fprintf(out, "\t%s\n", file->name);
file 46 scripts/kconfig/zconf.y struct file *file;
file 98 scripts/kconfig/zconf.y $$->file->name, $$->lineno);
file 526 scripts/kconfig/zconf.y if (current_menu->file != current_file) {
file 530 scripts/kconfig/zconf.y current_menu->file->name, current_menu->lineno,
file 332 scripts/mod/modpost.c signed char *p = (signed char *)file + *pos;
file 358 scripts/mod/modpost.c munmap(file, size);
file 1828 scripts/mod/modpost.c FILE *file;
file 1831 scripts/mod/modpost.c file = fopen(fname, "r");
file 1832 scripts/mod/modpost.c if (!file)
file 1835 scripts/mod/modpost.c if (fstat(fileno(file), &st) < 0)
file 1842 scripts/mod/modpost.c if (fread(tmp, 1, b->pos, file) != b->pos)
file 1849 scripts/mod/modpost.c fclose(file);
file 1855 scripts/mod/modpost.c fclose(file);
file 1857 scripts/mod/modpost.c file = fopen(fname, "w");
file 1858 scripts/mod/modpost.c if (!file) {
file 1862 scripts/mod/modpost.c if (fwrite(b->p, 1, b->pos, file) != b->pos) {
file 1866 scripts/mod/modpost.c fclose(file);
file 1875 scripts/mod/modpost.c void *file = grab_file(fname, &size);
file 1878 scripts/mod/modpost.c if (!file)
file 1882 scripts/mod/modpost.c while ((line = get_next_line(&pos, file, size))) {
file 1965 scripts/mod/modpost.c void *file = grab_file(fname, &size);
file 1968 scripts/mod/modpost.c if (!file) /* No old markers, silently ignore */
file 1971 scripts/mod/modpost.c while ((line = get_next_line(&pos, file, size))) {
file 2042 scripts/mod/modpost.c const char *file;
file 2075 scripts/mod/modpost.c extsym_iter->file = optarg;
file 2112 scripts/mod/modpost.c read_dump(extsym_start->file, 0);
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 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 298 scripts/mod/sumversion.c char *cmd, *file, *line, *dir;
file 318 scripts/mod/sumversion.c file = grab_file(cmd, &flen);
file 319 scripts/mod/sumversion.c if (!file) {
file 334 scripts/mod/sumversion.c while ((line = get_next_line(&pos, file, flen)) != NULL) {
file 370 scripts/mod/sumversion.c release_file(file, flen);
file 380 scripts/mod/sumversion.c void *file;
file 400 scripts/mod/sumversion.c file = grab_file(filelist, &len);
file 401 scripts/mod/sumversion.c if (!file)
file 405 scripts/mod/sumversion.c sources = strchr(file, '\n');
file 429 scripts/mod/sumversion.c release_file(file, len);
file 282 security/commoncap.c if (bprm->file->f_vfsmnt->mnt_flags & MNT_NOSUID) {
file 287 security/commoncap.c dentry = dget(bprm->file->f_dentry);
file 47 security/inode.c file->private_data = inode->i_private;
file 96 security/keys/proc.c return seq_open(file, &proc_keys_ops);
file 208 security/keys/proc.c return seq_open(file, &proc_key_users_ops);
file 171 security/security.c return security_ops->acct(file);
file 540 security/security.c return security_ops->file_permission(file, mask);
file 545 security/security.c return security_ops->file_alloc_security(file);
file 550 security/security.c security_ops->file_free_security(file);
file 555 security/security.c return security_ops->file_ioctl(file, cmd, arg);
file 562 security/security.c return security_ops->file_mmap(file, reqprot, prot, flags, addr, addr_only);
file 573 security/security.c return security_ops->file_lock(file, cmd);
file 578 security/security.c return security_ops->file_fcntl(file, cmd, arg);
file 583 security/security.c return security_ops->file_set_fowner(file);
file 594 security/security.c return security_ops->file_receive(file);
file 599 security/security.c return security_ops->dentry_open(file);
file 226 security/selinux/hooks.c file->f_security = fsec;
file 233 security/selinux/hooks.c struct file_security_struct *fsec = file->f_security;
file 234 security/selinux/hooks.c file->f_security = NULL;
file 1463 security/selinux/hooks.c struct file_security_struct *fsec = file->f_security;
file 1464 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode;
file 1469 security/selinux/hooks.c ad.u.fs.path = file->f_path;
file 1723 security/selinux/hooks.c if (file->f_mode & FMODE_READ)
file 1725 security/selinux/hooks.c if (file->f_mode & FMODE_WRITE) {
file 1726 security/selinux/hooks.c if (file->f_flags & O_APPEND)
file 2010 security/selinux/hooks.c struct inode *inode = bprm->file->f_path.dentry->d_inode;
file 2050 security/selinux/hooks.c ad.u.fs.path = bprm->file->f_path;
file 2052 security/selinux/hooks.c if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID)
file 2119 security/selinux/hooks.c struct file *file, *devnull = NULL;
file 2128 security/selinux/hooks.c file = list_entry(tty->tty_files.next, typeof(*file), f_u.fu_list);
file 2129 security/selinux/hooks.c if (file) {
file 2135 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode;
file 2168 security/selinux/hooks.c file = fget(i);
file 2169 security/selinux/hooks.c if (!file)
file 2172 security/selinux/hooks.c file,
file 2173 security/selinux/hooks.c file_to_av(file))) {
file 2179 security/selinux/hooks.c fput(file);
file 2189 security/selinux/hooks.c fput(file);
file 2195 security/selinux/hooks.c fput(file);
file 2901 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode;
file 2909 security/selinux/hooks.c if ((file->f_flags & O_APPEND) && (mask & MAY_WRITE))
file 2912 security/selinux/hooks.c rc = file_has_perm(current, file,
file 2922 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode;
file 2924 security/selinux/hooks.c struct file_security_struct *fsec = file->f_security;
file 2936 security/selinux/hooks.c return selinux_revalidate_file_permission(file, mask);
file 2941 security/selinux/hooks.c return file_alloc_security(file);
file 2946 security/selinux/hooks.c file_free_security(file);
file 2961 security/selinux/hooks.c return file_has_perm(current, file, av);
file 2967 security/selinux/hooks.c if ((prot & PROT_EXEC) && (!file || (!shared && (prot & PROT_WRITE)))) {
file 2979 security/selinux/hooks.c if (file) {
file 2990 security/selinux/hooks.c return file_has_perm(current, file, av);
file 3011 security/selinux/hooks.c return file_map_prot_check(file, prot,
file 3060 security/selinux/hooks.c return file_has_perm(current, file, FILE__LOCK);
file 3070 security/selinux/hooks.c if (!file->f_path.dentry || !file->f_path.dentry->d_inode) {
file 3075 security/selinux/hooks.c if ((file->f_flags & O_APPEND) && !(arg & O_APPEND)) {
file 3076 security/selinux/hooks.c err = file_has_perm(current, file, FILE__WRITE);
file 3086 security/selinux/hooks.c err = file_has_perm(current, file, 0);
file 3096 security/selinux/hooks.c if (!file->f_path.dentry || !file->f_path.dentry->d_inode) {
file 3100 security/selinux/hooks.c err = file_has_perm(current, file, FILE__LOCK);
file 3113 security/selinux/hooks.c fsec = file->f_security;
file 3122 security/selinux/hooks.c struct file *file;
file 3128 security/selinux/hooks.c file = container_of(fown, struct file, f_owner);
file 3131 security/selinux/hooks.c fsec = file->f_security;
file 3144 security/selinux/hooks.c return file_has_perm(current, file, file_to_av(file));
file 3152 security/selinux/hooks.c inode = file->f_path.dentry->d_inode;
file 3153 security/selinux/hooks.c fsec = file->f_security;
file 3172 security/selinux/hooks.c return inode_has_perm(current, inode, file_to_av(file), NULL);
file 523 security/selinux/selinuxfs.c ino_t ino = file->f_path.dentry->d_inode->i_ino;
file 530 security/selinux/selinuxfs.c data = simple_transaction_get(file, buf, size);
file 534 security/selinux/selinuxfs.c rv = write_op[ino](file, data, size);
file 536 security/selinux/selinuxfs.c simple_transaction_set(file, rv);
file 1259 security/selinux/selinuxfs.c return seq_open(file, &sel_avc_cache_stats_seq_ops);
file 1313 security/selinux/selinuxfs.c inode = file->f_path.dentry->d_inode;
file 1384 security/selinux/selinuxfs.c unsigned long ino = file->f_path.dentry->d_inode->i_ino;
file 1408 security/selinux/selinuxfs.c unsigned long ino = file->f_path.dentry->d_inode->i_ino;
file 1433 security/selinux/selinuxfs.c unsigned long i_ino = file->f_path.dentry->d_inode->i_ino;
file 1640 security/selinux/ss/services.c struct policy_file file = { data, len }, *fp = &file;
file 821 security/smack/smack_lsm.c file->f_security = current->security;
file 834 security/smack/smack_lsm.c file->f_security = NULL;
file 853 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_WRITE);
file 856 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_READ);
file 870 security/smack/smack_lsm.c return smk_curacc(file->f_security, MAY_WRITE);
file 893 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_READ);
file 901 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_WRITE);
file 904 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_READWRITE);
file 919 security/smack/smack_lsm.c file->f_security = current->security;
file 937 security/smack/smack_lsm.c struct file *file;
file 943 security/smack/smack_lsm.c file = container_of(fown, struct file, f_owner);
file 944 security/smack/smack_lsm.c rc = smk_access(file->f_security, tsk->security, MAY_WRITE);
file 963 security/smack/smack_lsm.c if (file->f_mode & FMODE_READ)
file 965 security/smack/smack_lsm.c if (file->f_mode & FMODE_WRITE)
file 968 security/smack/smack_lsm.c return smk_curacc(file->f_security, may);
file 177 security/smack/smackfs.c return seq_open(file, &load_seq_ops);
file 473 security/smack/smackfs.c return seq_open(file, &cipso_seq_ops);
file 58 sound/core/control.c err = snd_card_file_add(card, file);
file 79 sound/core/control.c file->private_data = ctl;
file 88 sound/core/control.c snd_card_file_remove(card, file);
file 115 sound/core/control.c ctl = file->private_data;
file 116 sound/core/control.c fasync_helper(-1, file, 0, &ctl->fasync);
file 117 sound/core/control.c file->private_data = NULL;
file 131 sound/core/control.c snd_card_file_remove(card, file);
file 425 sound/core/control.c struct snd_card *card = file->card;
file 436 sound/core/control.c if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) {
file 759 sound/core/control.c (file && vd->owner && vd->owner != file)) {
file 790 sound/core/control.c card = file->card;
file 794 sound/core/control.c result = snd_ctl_elem_write(card, file, control);
file 806 sound/core/control.c struct snd_card *card = file->card;
file 823 sound/core/control.c vd->owner = file;
file 835 sound/core/control.c struct snd_card *card = file->card;
file 851 sound/core/control.c else if (vd->owner != file)
file 950 sound/core/control.c struct snd_card *card = file->card;
file 1035 sound/core/control.c _kctl->vd[idx].owner = file;
file 1053 sound/core/control.c return snd_ctl_elem_add(file, &info, replace);
file 1064 sound/core/control.c err = snd_ctl_remove_unlocked_id(file, &id);
file 1066 sound/core/control.c struct snd_card *card = file->card;
file 1080 sound/core/control.c subscribe = file->subscribed;
file 1086 sound/core/control.c file->subscribed = 1;
file 1088 sound/core/control.c } else if (file->subscribed) {
file 1089 sound/core/control.c snd_ctl_empty_read_queue(file);
file 1090 sound/core/control.c file->subscribed = 0;
file 1099 sound/core/control.c struct snd_card *card = file->card;
file 1128 sound/core/control.c if (file && vd->owner != NULL && vd->owner != file) {
file 1165 sound/core/control.c ctl = file->private_data;
file 1229 sound/core/control.c ctl = file->private_data;
file 1242 sound/core/control.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file 1283 sound/core/control.c ctl = file->private_data;
file 1286 sound/core/control.c poll_wait(file, &ctl->change_sleep, wait);
file 1373 sound/core/control.c ctl = file->private_data;
file 1374 sound/core/control.c err = fasync_helper(fd, file, on, &ctl->fasync);
file 313 sound/core/control_compat.c struct snd_card *card = file->card;
file 326 sound/core/control_compat.c err = snd_ctl_elem_write(card, file, data);
file 378 sound/core/control_compat.c err = snd_ctl_elem_add(file, data, replace);
file 400 sound/core/control_compat.c ctl = file->private_data;
file 416 sound/core/control_compat.c return snd_ctl_ioctl(file, cmd, (unsigned long)argp);
file 58 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 60 sound/core/hwdep.c return hw->ops.llseek(hw, file, offset, orig);
file 67 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 76 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 116 sound/core/hwdep.c err = hw->ops.open(hw, file);
file 120 sound/core/hwdep.c if (file->f_flags & O_NONBLOCK) {
file 137 sound/core/hwdep.c err = snd_card_file_add(hw->card, file);
file 139 sound/core/hwdep.c file->private_data = hw;
file 143 sound/core/hwdep.c hw->ops.release(hw, file);
file 155 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 160 sound/core/hwdep.c err = hw->ops.release(hw, file);
file 166 sound/core/hwdep.c snd_card_file_remove(hw->card, file);
file 173 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 175 sound/core/hwdep.c return hw->ops.poll(hw, file, wait);
file 237 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 250 sound/core/hwdep.c return hw->ops.ioctl(hw, file, cmd, arg);
file 256 sound/core/hwdep.c struct snd_hwdep *hw = file->private_data;
file 258 sound/core/hwdep.c return hw->ops.mmap(hw, file, vma);
file 65 sound/core/hwdep_compat.c struct snd_hwdep *hw = file->private_data;
file 71 sound/core/hwdep_compat.c return snd_hwdep_ioctl(file, cmd, (unsigned long)argp);
file 76 sound/core/hwdep_compat.c return hw->ops.ioctl_compat(hw, file, cmd, arg);
file 175 sound/core/info.c data = file->private_data;
file 182 sound/core/info.c file->f_pos = offset;
file 183 sound/core/info.c ret = file->f_pos;
file 186 sound/core/info.c file->f_pos += offset;
file 187 sound/core/info.c ret = file->f_pos;
file 199 sound/core/info.c file, offset, orig);
file 219 sound/core/info.c data = file->private_data;
file 244 sound/core/info.c file, buffer, count, pos);
file 261 sound/core/info.c data = file->private_data;
file 294 sound/core/info.c file, buffer, count, pos);
file 321 sound/core/info.c mode = file->f_flags & O_ACCMODE;
file 375 sound/core/info.c file->private_data = data;
file 411 sound/core/info.c mode = file->f_flags & O_ACCMODE;
file 412 sound/core/info.c data = file->private_data;
file 450 sound/core/info.c data = file->private_data;
file 460 sound/core/info.c file, wait);
file 476 sound/core/info.c data = file->private_data;
file 485 sound/core/info.c file, cmd, arg);
file 493 sound/core/info.c struct inode *inode = file->f_path.dentry->d_inode;
file 497 sound/core/info.c data = file->private_data;
file 506 sound/core/info.c inode, file, vma);
file 260 sound/core/init.c if (_df->file == file) {
file 268 sound/core/init.c return df->disconnected_f_op->release(inode, file);
file 270 sound/core/init.c panic("%s(%p, %p) failed!", __func__, inode, file);
file 324 sound/core/init.c struct file *file;
file 349 sound/core/init.c file = mfile->file;
file 353 sound/core/init.c mfile->disconnected_f_op = mfile->file->f_op;
file 359 sound/core/init.c mfile->file->f_op = &snd_shutdown_f_ops;
file 360 sound/core/init.c fops_get(mfile->file->f_op);
file 738 sound/core/init.c mfile->file = file;
file 776 sound/core/init.c if (mfile->file == file) {
file 801 sound/core/init.c snd_printk(KERN_ERR "ALSA card file remove problem (%p)\n", file);
file 396 sound/core/memalloc.c return single_open(file, snd_mem_proc_read, NULL);
file 45 sound/core/misc.c printk("%sALSA %s:%d: ", tmp, file, line);
file 48 sound/core/misc.c printk("ALSA %s:%d: ", file, line);
file 66 sound/core/misc.c printk("%sALSA %s:%d: ", tmp, file, line);
file 69 sound/core/misc.c printk(KERN_DEBUG "ALSA %s:%d: ", file, line);
file 52 sound/core/oss/mixer_oss.c err = snd_card_file_add(card, file);
file 57 sound/core/oss/mixer_oss.c snd_card_file_remove(card, file);
file 62 sound/core/oss/mixer_oss.c file->private_data = fmixer;
file 65 sound/core/oss/mixer_oss.c snd_card_file_remove(card, file);
file 75 sound/core/oss/mixer_oss.c if (file->private_data) {
file 76 sound/core/oss/mixer_oss.c fmixer = (struct snd_mixer_oss_file *) file->private_data;
file 78 sound/core/oss/mixer_oss.c snd_card_file_remove(fmixer->card, file);
file 367 sound/core/oss/mixer_oss.c return snd_mixer_oss_ioctl1((struct snd_mixer_oss_file *) file->private_data, cmd, arg);
file 1898 sound/core/oss/pcm_oss.c file->f_flags |= O_NONBLOCK;
file 2286 sound/core/oss/pcm_oss.c unsigned int f_mode = file->f_mode;
file 2299 sound/core/oss/pcm_oss.c file->f_flags &= ~O_APPEND;
file 2312 sound/core/oss/pcm_oss.c err = snd_pcm_open_substream(pcm, idx, file, &substream);
file 2319 sound/core/oss/pcm_oss.c substream->file = pcm_oss_file;
file 2328 sound/core/oss/pcm_oss.c file->private_data = pcm_oss_file;
file 2363 sound/core/oss/pcm_oss.c err = snd_card_file_add(pcm->card, file);
file 2375 sound/core/oss/pcm_oss.c if (file->f_mode & FMODE_WRITE)
file 2378 sound/core/oss/pcm_oss.c if (file->f_mode & FMODE_READ)
file 2382 sound/core/oss/pcm_oss.c nonblock = !!(file->f_flags & O_NONBLOCK);
file 2390 sound/core/oss/pcm_oss.c err = snd_pcm_oss_open_file(file, pcm, &pcm_oss_file,
file 2419 sound/core/oss/pcm_oss.c snd_card_file_remove(pcm->card, file);
file 2430 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2444 sound/core/oss/pcm_oss.c snd_card_file_remove(pcm->card, file);
file 2454 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2558 sound/core/oss/pcm_oss.c return snd_pcm_oss_nonblock(file);
file 2620 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2624 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK;
file 2642 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2646 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK;
file 2678 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2686 sound/core/oss/pcm_oss.c poll_wait(file, &runtime->sleep, wait);
file 2697 sound/core/oss/pcm_oss.c poll_wait(file, &runtime->sleep, wait);
file 2725 sound/core/oss/pcm_oss.c pcm_oss_file = file->private_data;
file 2766 sound/core/oss/pcm_oss.c err = snd_pcm_mmap_data(substream, file, area);
file 840 sound/core/pcm.c if (file->f_flags & O_APPEND) {
file 901 sound/core/pcm.c substream->f_flags = file->f_flags;
file 470 sound/core/pcm_compat.c pcm_file = file->private_data;
file 502 sound/core/pcm_compat.c return snd_pcm_playback_ioctl1(file, substream, cmd, argp);
file 504 sound/core/pcm_compat.c return snd_pcm_capture_ioctl1(file, substream, cmd, argp);
file 1329 sound/core/pcm_native.c if (file)
file 1330 sound/core/pcm_native.c f_flags = file->f_flags;
file 1561 sound/core/pcm_native.c static struct file *snd_pcm_file_fd(int fd)
file 1563 sound/core/pcm_native.c struct file *file;
file 1567 sound/core/pcm_native.c file = fget(fd);
file 1568 sound/core/pcm_native.c if (!file)
file 1570 sound/core/pcm_native.c inode = file->f_path.dentry->d_inode;
file 1573 sound/core/pcm_native.c fput(file);
file 1579 sound/core/pcm_native.c fput(file);
file 1582 sound/core/pcm_native.c return file;
file 1591 sound/core/pcm_native.c struct file *file;
file 1595 sound/core/pcm_native.c file = snd_pcm_file_fd(fd);
file 1596 sound/core/pcm_native.c if (!file)
file 1598 sound/core/pcm_native.c pcm_file = file->private_data;
file 1628 sound/core/pcm_native.c fput(file);
file 2028 sound/core/pcm_native.c err = snd_pcm_attach_substream(pcm, stream, file, &substream);
file 2076 sound/core/pcm_native.c err = snd_pcm_open_substream(pcm, stream, file, &substream);
file 2088 sound/core/pcm_native.c substream->file = pcm_file;
file 2091 sound/core/pcm_native.c file->private_data = pcm_file;
file 2103 sound/core/pcm_native.c return snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_PLAYBACK);
file 2112 sound/core/pcm_native.c return snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_CAPTURE);
file 2125 sound/core/pcm_native.c err = snd_card_file_add(pcm->card, file);
file 2136 sound/core/pcm_native.c err = snd_pcm_open_file(file, pcm, stream, &pcm_file);
file 2140 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) {
file 2164 sound/core/pcm_native.c snd_card_file_remove(pcm->card, file);
file 2175 sound/core/pcm_native.c pcm_file = file->private_data;
file 2180 sound/core/pcm_native.c fasync_helper(-1, file, 0, &substream->runtime->fasync);
file 2187 sound/core/pcm_native.c snd_card_file_remove(pcm->card, file);
file 2523 sound/core/pcm_native.c return snd_pcm_prepare(substream, file);
file 2644 sound/core/pcm_native.c return snd_pcm_common_ioctl1(file, substream, cmd, arg);
file 2726 sound/core/pcm_native.c return snd_pcm_common_ioctl1(file, substream, cmd, arg);
file 2734 sound/core/pcm_native.c pcm_file = file->private_data;
file 2739 sound/core/pcm_native.c return snd_pcm_playback_ioctl1(file, pcm_file->substream, cmd,
file 2748 sound/core/pcm_native.c pcm_file = file->private_data;
file 2753 sound/core/pcm_native.c return snd_pcm_capture_ioctl1(file, pcm_file->substream, cmd,
file 2791 sound/core/pcm_native.c pcm_file = file->private_data;
file 2815 sound/core/pcm_native.c pcm_file = file->private_data;
file 2909 sound/core/pcm_native.c pcm_file = file->private_data;
file 2916 sound/core/pcm_native.c poll_wait(file, &runtime->sleep, wait);
file 2948 sound/core/pcm_native.c pcm_file = file->private_data;
file 2955 sound/core/pcm_native.c poll_wait(file, &runtime->sleep, wait);
file 3221 sound/core/pcm_native.c pcm_file = file->private_data;
file 3231 sound/core/pcm_native.c return snd_pcm_mmap_status(substream, file, area);
file 3235 sound/core/pcm_native.c return snd_pcm_mmap_control(substream, file, area);
file 3237 sound/core/pcm_native.c return snd_pcm_mmap_data(substream, file, area);
file 3250 sound/core/pcm_native.c pcm_file = file->private_data;
file 3255 sound/core/pcm_native.c err = fasync_helper(fd, file, on, &runtime->fasync);
file 71 sound/core/rawmidi.c switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) {
file 401 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK))
file 404 sound/core/rawmidi.c err = snd_card_file_add(card, file);
file 407 sound/core/rawmidi.c fflags = snd_rawmidi_file_flags(file);
file 408 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */
file 413 sound/core/rawmidi.c snd_card_file_remove(card, file);
file 435 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) {
file 458 sound/core/rawmidi.c file->private_data = rawmidi_file;
file 460 sound/core/rawmidi.c snd_card_file_remove(card, file);
file 521 sound/core/rawmidi.c rfile = file->private_data;
file 526 sound/core/rawmidi.c snd_card_file_remove(rmidi->card, file);
file 695 sound/core/rawmidi.c rfile = file->private_data;
file 964 sound/core/rawmidi.c rfile = file->private_data;
file 975 sound/core/rawmidi.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file 1205 sound/core/rawmidi.c rfile = file->private_data;
file 1216 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) {
file 1238 sound/core/rawmidi.c if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK))
file 1242 sound/core/rawmidi.c if (file->f_flags & O_SYNC) {
file 1270 sound/core/rawmidi.c rfile = file->private_data;
file 1274 sound/core/rawmidi.c poll_wait(file, &runtime->sleep, wait);
file 1278 sound/core/rawmidi.c poll_wait(file, &runtime->sleep, wait);
file 107 sound/core/rawmidi_compat.c rfile = file->private_data;
file 113 sound/core/rawmidi_compat.c return snd_rawmidi_ioctl(file, cmd, (unsigned long)argp);
file 139 sound/core/seq/oss/seq_oss.c rc = snd_seq_oss_open(file, level);
file 150 sound/core/seq/oss/seq_oss.c if ((dp = file->private_data) == NULL)
file 166 sound/core/seq/oss/seq_oss.c dp = file->private_data;
file 177 sound/core/seq/oss/seq_oss.c dp = file->private_data;
file 180 sound/core/seq/oss/seq_oss.c return snd_seq_oss_write(dp, buf, count, file);
file 187 sound/core/seq/oss/seq_oss.c dp = file->private_data;
file 203 sound/core/seq/oss/seq_oss.c dp = file->private_data;
file 206 sound/core/seq/oss/seq_oss.c return snd_seq_oss_poll(dp, file, wait);
file 235 sound/core/seq/oss/seq_oss_init.c dp->file_mode = translate_mode(file);
file 268 sound/core/seq/oss/seq_oss_init.c file->private_data = dp;
file 301 sound/core/seq/oss/seq_oss_init.c if ((file->f_flags & O_ACCMODE) != O_RDONLY)
file 303 sound/core/seq/oss/seq_oss_init.c if ((file->f_flags & O_ACCMODE) != O_WRONLY)
file 305 sound/core/seq/oss/seq_oss_init.c if (file->f_flags & O_NONBLOCK)
file 194 sound/core/seq/oss/seq_oss_readq.c poll_wait(file, &q->midi_sleep, wait);
file 206 sound/core/seq/oss/seq_oss_rw.c if (snd_seq_oss_readq_poll(dp->readq, file, wait))
file 212 sound/core/seq/oss/seq_oss_rw.c if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait))
file 106 sound/core/seq/seq_clientmgr.c switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) {
file 330 sound/core/seq/seq_clientmgr.c mode = snd_seq_file_flags(file);
file 356 sound/core/seq/seq_clientmgr.c file->private_data = client;
file 359 sound/core/seq/seq_clientmgr.c user->file = file;
file 371 sound/core/seq/seq_clientmgr.c struct snd_seq_client *client = file->private_data;
file 394 sound/core/seq/seq_clientmgr.c struct snd_seq_client *client = file->private_data;
file 400 sound/core/seq/seq_clientmgr.c if (!(snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_INPUT))
file 428 sound/core/seq/seq_clientmgr.c nonblock = (file->f_flags & O_NONBLOCK) || result > 0;
file 938 sound/core/seq/seq_clientmgr.c err = snd_seq_event_dup(client->pool, event, &cell, !blocking || atomic, file);
file 991 sound/core/seq/seq_clientmgr.c struct snd_seq_client *client = file->private_data;
file 996 sound/core/seq/seq_clientmgr.c if (!(snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_OUTPUT))
file 1057 sound/core/seq/seq_clientmgr.c err = snd_seq_client_enqueue_event(client, &event, file,
file 1058 sound/core/seq/seq_clientmgr.c !(file->f_flags & O_NONBLOCK),
file 1079 sound/core/seq/seq_clientmgr.c struct snd_seq_client *client = file->private_data;
file 1086 sound/core/seq/seq_clientmgr.c if ((snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_INPUT) &&
file 1090 sound/core/seq/seq_clientmgr.c if (snd_seq_fifo_poll_wait(client->data.user.fifo, file, wait))
file 1094 sound/core/seq/seq_clientmgr.c if (snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_OUTPUT) {
file 1098 sound/core/seq/seq_clientmgr.c snd_seq_pool_poll_wait(client->pool, file, wait))
file 2201 sound/core/seq/seq_clientmgr.c struct snd_seq_client *client = file->private_data;
file 2320 sound/core/seq/seq_clientmgr.c result = snd_seq_client_enqueue_event(cptr, ev, file, blocking, atomic, hop);
file 2348 sound/core/seq/seq_clientmgr.c return kernel_client_enqueue(client, ev, file, 1, atomic, hop);
file 2423 sound/core/seq/seq_clientmgr.c if (snd_seq_pool_poll_wait(client->pool, file, wait))
file 34 sound/core/seq/seq_clientmgr.h struct file *file; /* file struct of client */
file 92 sound/core/seq/seq_compat.c struct snd_seq_client *client = file->private_data;
file 229 sound/core/seq/seq_fifo.c poll_wait(file, &f->input_sleep, wait);
file 33 sound/core/seq/seq_lock.c printk(KERN_WARNING "seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line);
file 38 sound/core/seq/seq_lock.c snd_printk(KERN_WARNING "seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line);
file 307 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &cell, nonblock, file);
file 333 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &tmp, nonblock, file);
file 371 sound/core/seq/seq_memory.c poll_wait(file, &pool->output_sleep, wait);
file 153 sound/core/sound.c old_fops = file->f_op;
file 154 sound/core/sound.c file->f_op = fops_get(mptr->f_ops);
file 155 sound/core/sound.c if (file->f_op->open)
file 156 sound/core/sound.c err = file->f_op->open(inode, file);
file 158 sound/core/sound.c fops_put(file->f_op);
file 159 sound/core/sound.c file->f_op = fops_get(old_fops);
file 172 sound/core/sound.c ret = __snd_open(inode, file);
file 1255 sound/core/timer.c file->private_data = tu;
file 1263 sound/core/timer.c if (file->private_data) {
file 1264 sound/core/timer.c tu = file->private_data;
file 1265 sound/core/timer.c file->private_data = NULL;
file 1266 sound/core/timer.c fasync_helper(-1, file, 0, &tu->fasync);
file 1508 sound/core/timer.c tu = file->private_data;
file 1565 sound/core/timer.c tu = file->private_data;
file 1597 sound/core/timer.c tu = file->private_data;
file 1695 sound/core/timer.c tu = file->private_data;
file 1716 sound/core/timer.c tu = file->private_data;
file 1730 sound/core/timer.c tu = file->private_data;
file 1741 sound/core/timer.c tu = file->private_data;
file 1753 sound/core/timer.c tu = file->private_data;
file 1773 sound/core/timer.c tu = file->private_data;
file 1797 sound/core/timer.c return snd_timer_user_ginfo(file, argp);
file 1799 sound/core/timer.c return snd_timer_user_gparams(file, argp);
file 1801 sound/core/timer.c return snd_timer_user_gstatus(file, argp);
file 1803 sound/core/timer.c return snd_timer_user_tselect(file, argp);
file 1805 sound/core/timer.c return snd_timer_user_info(file, argp);
file 1807 sound/core/timer.c return snd_timer_user_params(file, argp);
file 1809 sound/core/timer.c return snd_timer_user_status(file, argp);
file 1812 sound/core/timer.c return snd_timer_user_start(file);
file 1815 sound/core/timer.c return snd_timer_user_stop(file);
file 1818 sound/core/timer.c return snd_timer_user_continue(file);
file 1821 sound/core/timer.c return snd_timer_user_pause(file);
file 1831 sound/core/timer.c tu = file->private_data;
file 1832 sound/core/timer.c err = fasync_helper(fd, file, on, &tu->fasync);
file 1845 sound/core/timer.c tu = file->private_data;
file 1852 sound/core/timer.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
file 1909 sound/core/timer.c tu = file->private_data;
file 1911 sound/core/timer.c poll_wait(file, &tu->qchange_sleep, wait);
file 42 sound/core/timer_compat.c tu = file->private_data;
file 75 sound/core/timer_compat.c tu = file->private_data;
file 120 sound/core/timer_compat.c return snd_timer_user_ioctl(file, cmd, (unsigned long)argp);
file 122 sound/core/timer_compat.c return snd_timer_user_info_compat(file, argp);
file 124 sound/core/timer_compat.c return snd_timer_user_status_compat(file, argp);
file 109 sound/drivers/opl4/opl4_proc.c file->f_pos = offset;
file 112 sound/drivers/opl4/opl4_proc.c file->f_pos += offset;
file 115 sound/drivers/opl4/opl4_proc.c file->f_pos = entry->size + offset;
file 120 sound/drivers/opl4/opl4_proc.c if (file->f_pos > entry->size)
file 121 sound/drivers/opl4/opl4_proc.c file->f_pos = entry->size;
file 122 sound/drivers/opl4/opl4_proc.c return file->f_pos;
file 90 sound/i2c/other/tea575x-tuner.c struct snd_tea575x *tea = video_drvdata(file);
file 179 sound/i2c/other/tea575x-tuner.c struct snd_tea575x *tea = video_drvdata(file);
file 186 sound/i2c/other/tea575x-tuner.c struct snd_tea575x *tea = video_drvdata(file);
file 64 sound/isa/gus/gus_mem_proc.c file->f_pos = offset;
file 67 sound/isa/gus/gus_mem_proc.c file->f_pos += offset;
file 70 sound/isa/gus/gus_mem_proc.c file->f_pos = priv->size + offset;
file 75 sound/isa/gus/gus_mem_proc.c if (file->f_pos > priv->size)
file 76 sound/isa/gus/gus_mem_proc.c file->f_pos = priv->size;
file 77 sound/isa/gus/gus_mem_proc.c return file->f_pos;
file 158 sound/isa/wavefront/wavefront_fx.c file->private_data = hw;
file 1625 sound/isa/wavefront/wavefront_synth.c file->private_data = hw;
file 807 sound/oss/au1550_ac97.c file->private_data = &au1550_state;
file 828 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1034 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1064 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) {
file 1114 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1143 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) {
file 1213 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1217 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1220 sound/oss/au1550_ac97.c poll_wait(file, &s->dma_dac.wait, wait);
file 1222 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1225 sound/oss/au1550_ac97.c poll_wait(file, &s->dma_adc.wait, wait);
file 1230 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1234 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1252 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1345 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1352 sound/oss/au1550_ac97.c mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) ||
file 1353 sound/oss/au1550_ac97.c ((file->f_mode & FMODE_READ) && s->dma_adc.mapped);
file 1371 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE)
file 1372 sound/oss/au1550_ac97.c return drain_dac(s, file->f_flags & O_NONBLOCK);
file 1383 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1390 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1403 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1407 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1418 sound/oss/au1550_ac97.c return put_user((file->f_mode & FMODE_READ) ?
file 1426 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1432 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1454 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1462 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1529 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1540 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1552 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ)
file 1567 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ && !s->dma_adc.stopped)
file 1569 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE && !s->dma_dac.stopped)
file 1577 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1585 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1596 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_WRITE))
file 1614 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_READ))
file 1630 sound/oss/au1550_ac97.c file->f_flags |= O_NONBLOCK;
file 1634 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_WRITE))
file 1646 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_READ))
file 1669 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_READ))
file 1692 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE)
file 1700 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1713 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1729 sound/oss/au1550_ac97.c if ((file->f_mode & FMODE_READ && s->dma_adc.subdivision) ||
file 1730 sound/oss/au1550_ac97.c (file->f_mode & FMODE_WRITE && s->dma_dac.subdivision))
file 1736 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1742 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1751 sound/oss/au1550_ac97.c return put_user((file->f_mode & FMODE_READ) ?
file 1757 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ)
file 1763 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ)
file 1787 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK)
file 1793 sound/oss/au1550_ac97.c file->private_data = s;
file 1796 sound/oss/au1550_ac97.c while (s->open_mode & file->f_mode) {
file 1797 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) {
file 1815 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1825 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1835 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1839 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1844 sound/oss/au1550_ac97.c s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE);
file 1853 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)file->private_data;
file 1857 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1859 sound/oss/au1550_ac97.c drain_dac(s, file->f_flags & O_NONBLOCK);
file 1864 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) {
file 1869 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_READ) {
file 1874 sound/oss/au1550_ac97.c s->open_mode &= ((~file->f_mode) & (FMODE_READ|FMODE_WRITE));
file 76 sound/oss/audio.c int mode = translate_mode(file);
file 182 sound/oss/audio.c int mode = translate_mode(file);
file 252 sound/oss/audio.c if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0)
file 255 sound/oss/audio.c if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN)
file 326 sound/oss/audio.c if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0)
file 335 sound/oss/audio.c if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN)
file 436 sound/oss/audio.c file->f_flags |= O_NONBLOCK;
file 1250 sound/oss/dmabuf.c poll_wait(file, &adev->poll_sleeper, wait);
file 1251 sound/oss/dmabuf.c return poll_input(file, dev, wait) | poll_output(file, dev, wait);
file 652 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE )
file 653 sound/oss/dmasound/dmasound_core.c poll_wait(file, &write_sq.action_queue, wait);
file 654 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE)
file 673 sound/oss/dmasound/dmasound_core.c if (file->f_mode & mode) {
file 685 sound/oss/dmasound/dmasound_core.c if (file->f_mode & mode) {
file 689 sound/oss/dmasound/dmasound_core.c if (file->f_flags & O_NONBLOCK)
file 714 sound/oss/dmasound/dmasound_core.c sq_wake_up(sq, file, mode);
file 721 sound/oss/dmasound/dmasound_core.c sq->open_mode = file->f_mode;
file 728 sound/oss/dmasound/dmasound_core.c #define write_sq_wake_up(file) sq_wake_up(&write_sq, file, FMODE_WRITE)
file 732 sound/oss/dmasound/dmasound_core.c sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize )
file 741 sound/oss/dmasound/dmasound_core.c rc = write_sq_open(file); /* checks the f_mode */
file 744 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_READ) {
file 751 sound/oss/dmasound/dmasound_core.c dmasound.mach.sq_open(file->f_mode);
file 853 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) {
file 855 sound/oss/dmasound/dmasound_core.c rc = sq_fsync(file, file->f_path.dentry);
file 862 sound/oss/dmasound/dmasound_core.c if (file->f_mode & shared_resource_owner) { /* it's us that has them */
file 878 sound/oss/dmasound/dmasound_core.c read_sq_wake_up(file); /* checks f_mode */
file 879 sound/oss/dmasound/dmasound_core.c write_sq_wake_up(file); /* checks f_mode */
file 984 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) {
file 1006 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) {
file 1007 sound/oss/dmasound/dmasound_core.c result = sq_fsync(file, file->f_path.dentry);
file 1011 sound/oss/dmasound/dmasound_core.c if (file->f_mode & shared_resource_owner)
file 1024 sound/oss/dmasound/dmasound_core.c if (shared_resources_are_mine(file->f_mode)) {
file 1038 sound/oss/dmasound/dmasound_core.c if (shared_resources_are_mine(file->f_mode) &&
file 1047 sound/oss/dmasound/dmasound_core.c if (shared_resources_are_mine(file->f_mode) &&
file 1057 sound/oss/dmasound/dmasound_core.c if (shared_resources_are_mine(file->f_mode) &&
file 1084 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) {
file 1097 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) {
file 1115 sound/oss/dmasound/dmasound_core.c return mixer_ioctl(inode, file, cmd, arg);
file 160 sound/oss/midibuf.c mode = translate_mode(file);
file 219 sound/oss/midibuf.c mode = translate_mode(file);
file 279 sound/oss/midibuf.c if (file->f_flags & O_NONBLOCK) {
file 323 sound/oss/midibuf.c if (file->f_flags & O_NONBLOCK) {
file 404 sound/oss/midibuf.c poll_wait(file, &input_sleeper[dev], wait);
file 409 sound/oss/midibuf.c poll_wait(file, &midi_sleeper[dev], wait);
file 181 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 183 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 186 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 188 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 228 sound/oss/msnd_pinnacle.c if (!(file->f_mode & FMODE_WRITE))
file 239 sound/oss/msnd_pinnacle.c if (!(file->f_mode & FMODE_READ))
file 274 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 277 sound/oss/msnd_pinnacle.c : dsp_set_format(file, val);
file 281 sound/oss/msnd_pinnacle.c : dsp_set_format(file, val);
file 289 sound/oss/msnd_pinnacle.c file->f_mode & FMODE_WRITE)
file 291 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 314 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 316 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 319 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 321 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 357 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 359 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 362 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE)
file 364 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ)
file 652 sound/oss/msnd_pinnacle.c return dsp_ioctl(file, cmd, arg);
file 677 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_READ) {
file 681 sound/oss/msnd_pinnacle.c if (file) {
file 682 sound/oss/msnd_pinnacle.c printk(KERN_DEBUG LOGNAME ": Stopping read for %p\n", file);
file 687 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_WRITE) {
file 693 sound/oss/msnd_pinnacle.c if (file) {
file 694 sound/oss/msnd_pinnacle.c printk(KERN_DEBUG LOGNAME ": Stopping write for %p\n", file);
file 703 sound/oss/msnd_pinnacle.c dsp_halt(file);
file 709 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_WRITE) {
file 714 sound/oss/msnd_pinnacle.c if (file) {
file 715 sound/oss/msnd_pinnacle.c printk(KERN_DEBUG LOGNAME ": Starting write for %p\n", file);
file 720 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_READ) {
file 725 sound/oss/msnd_pinnacle.c if (file) {
file 726 sound/oss/msnd_pinnacle.c printk(KERN_DEBUG LOGNAME ": Starting read for %p\n", file);
file 760 sound/oss/msnd_pinnacle.c if ((file->f_mode & FMODE_WRITE &&
file 762 sound/oss/msnd_pinnacle.c (file->f_mode & FMODE_READ &&
file 766 sound/oss/msnd_pinnacle.c if ((err = dsp_open(file)) >= 0) {
file 768 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) {
file 771 sound/oss/msnd_pinnacle.c dev.play_ndelay = (file->f_flags & O_NDELAY) ? 1 : 0;
file 775 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_READ) {
file 777 sound/oss/msnd_pinnacle.c dev.rec_ndelay = (file->f_flags & O_NDELAY) ? 1 : 0;
file 796 sound/oss/msnd_pinnacle.c err = dsp_release(file);
file 1005 sound/oss/msnd_pinnacle.c int minor = iminor(file->f_path.dentry->d_inode);
file 1014 sound/oss/msnd_pinnacle.c int minor = iminor(file->f_path.dentry->d_inode);
file 99 sound/oss/sequencer.c if (file->f_flags & O_NONBLOCK) {
file 216 sound/oss/sequencer.c int mode = translate_mode(file);
file 296 sound/oss/sequencer.c mode = translate_mode(file);
file 308 sound/oss/sequencer.c if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0)))
file 315 sound/oss/sequencer.c if (!processed && (file->f_flags & O_NONBLOCK))
file 955 sound/oss/sequencer.c mode = translate_mode(file);
file 1128 sound/oss/sequencer.c int mode = translate_mode(file);
file 1138 sound/oss/sequencer.c if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK))
file 1327 sound/oss/sequencer.c int mode = translate_mode(file);
file 1541 sound/oss/sequencer.c poll_wait(file, &midi_sleeper, wait);
file 1546 sound/oss/sequencer.c poll_wait(file, &seq_sleeper, wait);
file 138 sound/oss/sh_dac_audio.c file->f_flags |= O_NONBLOCK;
file 237 sound/oss/sh_dac_audio.c if (file->f_mode & FMODE_READ)
file 117 sound/oss/sound_config.h return file->f_mode;
file 124 sound/oss/sound_config.h return ((file->f_mode & FMODE_READ) ? OPEN_READ : 0) |
file 125 sound/oss/sound_config.h ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0);
file 146 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode);
file 162 sound/oss/soundcard.c ret = audio_read(dev, file, buf, count);
file 167 sound/oss/soundcard.c ret = sequencer_read(dev, file, buf, count);
file 171 sound/oss/soundcard.c ret = MIDIbuf_read(dev, file, buf, count);
file 179 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode);
file 187 sound/oss/soundcard.c ret = sequencer_write(dev, file, buf, count);
file 193 sound/oss/soundcard.c ret = audio_write(dev, file, buf, count);
file 197 sound/oss/soundcard.c ret = MIDIbuf_write(dev, file, buf, count);
file 229 sound/oss/soundcard.c if ((retval = sequencer_open(dev, file)) < 0)
file 234 sound/oss/soundcard.c if ((retval = MIDIbuf_open(dev, file)) < 0)
file 241 sound/oss/soundcard.c if ((retval = audio_open(dev, file)) < 0)
file 266 sound/oss/soundcard.c sequencer_release(dev, file);
file 270 sound/oss/soundcard.c MIDIbuf_release(dev, file);
file 276 sound/oss/soundcard.c audio_release(dev, file);
file 380 sound/oss/soundcard.c return sequencer_ioctl(dev, file, cmd, p);
file 385 sound/oss/soundcard.c return audio_ioctl(dev, file, cmd, p);
file 389 sound/oss/soundcard.c return MIDIbuf_ioctl(dev, file, cmd, p);
file 398 sound/oss/soundcard.c struct inode *inode = file->f_path.dentry->d_inode;
file 405 sound/oss/soundcard.c return sequencer_poll(dev, file, wait);
file 408 sound/oss/soundcard.c return MIDIbuf_poll(dev, file, wait);
file 413 sound/oss/soundcard.c return DMAbuf_poll(file, dev >> 4, wait);
file 423 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode);
file 1553 sound/oss/swarm_cs4297a.c file->private_data = s;
file 1558 sound/oss/swarm_cs4297a.c return nonseekable_open(inode, file);
file 1565 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 1575 sound/oss/swarm_cs4297a.c return mixer_ioctl((struct cs4297a_state *) file->private_data, cmd,
file 1645 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 1720 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK)
file 1768 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 1816 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK)
file 1886 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 1893 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 1899 sound/oss/swarm_cs4297a.c poll_wait(file, &s->dma_dac.wait, wait);
file 1901 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 1907 sound/oss/swarm_cs4297a.c poll_wait(file, &s->dma_adc.wait, wait);
file 1911 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 1925 sound/oss/swarm_cs4297a.c } else if (file->f_mode & FMODE_READ) {
file 1954 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 1962 sound/oss/swarm_cs4297a.c (unsigned) file, cmd));
file 1967 sound/oss/swarm_cs4297a.c mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) ||
file 1968 sound/oss/swarm_cs4297a.c ((file->f_mode & FMODE_READ) && s->dma_adc.mapped);
file 1979 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE)
file 1996 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2005 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2029 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2034 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2048 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2056 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2066 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE)
file 2068 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_READ)
file 2088 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2098 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2109 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE)
file 2111 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_READ)
file 2126 sound/oss/swarm_cs4297a.c if (file->f_mode & s->ena & FMODE_READ)
file 2128 sound/oss/swarm_cs4297a.c if (file->f_mode & s->ena & FMODE_WRITE)
file 2135 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2144 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2156 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE))
file 2179 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_READ))
file 2203 sound/oss/swarm_cs4297a.c file->f_flags |= O_NONBLOCK;
file 2207 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE))
file 2218 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_READ))
file 2251 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE))
file 2275 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2294 sound/oss/swarm_cs4297a.c if ((file->f_mode & FMODE_READ && s->dma_adc.subdivision)
file 2295 sound/oss/swarm_cs4297a.c || (file->f_mode & FMODE_WRITE
file 2301 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ)
file 2303 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE)
file 2308 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ)
file 2310 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE)
file 2314 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ)
file 2316 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE)
file 2320 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ)
file 2326 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE)
file 2345 sound/oss/swarm_cs4297a.c (struct cs4297a_state *) file->private_data;
file 2349 sound/oss/swarm_cs4297a.c (unsigned) inode, (unsigned) file, file->f_mode));
file 2352 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2353 sound/oss/swarm_cs4297a.c drain_dac(s, file->f_flags & O_NONBLOCK);
file 2361 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2362 sound/oss/swarm_cs4297a.c drain_adc(s, file->f_flags & O_NONBLOCK);
file 2381 sound/oss/swarm_cs4297a.c (unsigned) inode, (unsigned) file, file->f_mode));
file 2400 sound/oss/swarm_cs4297a.c file->private_data = s;
file 2403 sound/oss/swarm_cs4297a.c if (!(file->f_mode & (FMODE_WRITE | FMODE_READ))) {
file 2408 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2417 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) {
file 2431 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2434 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) {
file 2448 sound/oss/swarm_cs4297a.c s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE);
file 2449 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_READ) {
file 2463 sound/oss/swarm_cs4297a.c cs4297a_release(inode, file);
file 2467 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) {
file 2481 sound/oss/swarm_cs4297a.c cs4297a_release(inode, file);
file 2487 sound/oss/swarm_cs4297a.c return nonseekable_open(inode, file);
file 2254 sound/oss/vwsnd.c vwsnd_dev_t *devc = file->private_data;
file 2255 sound/oss/vwsnd.c vwsnd_port_t *rport = ((file->f_mode & FMODE_READ) ?
file 2260 sound/oss/vwsnd.c file, buffer, count, ppos);
file 2266 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ?
file 2283 sound/oss/vwsnd.c file->f_flags & O_NONBLOCK) {
file 2318 sound/oss/vwsnd.c vwsnd_dev_t *devc = file->private_data;
file 2322 sound/oss/vwsnd.c ret = vwsnd_audio_do_read(file, buffer, count, ppos);
file 2332 sound/oss/vwsnd.c vwsnd_dev_t *devc = file->private_data;
file 2333 sound/oss/vwsnd.c vwsnd_port_t *wport = ((file->f_mode & FMODE_WRITE) ?
file 2338 sound/oss/vwsnd.c file, buffer, count, ppos);
file 2344 sound/oss/vwsnd.c vwsnd_port_t *rport = (file->f_mode & FMODE_READ) ?
file 2359 sound/oss/vwsnd.c file->f_flags & O_NONBLOCK) {
file 2393 sound/oss/vwsnd.c vwsnd_dev_t *devc = file->private_data;
file 2397 sound/oss/vwsnd.c ret = vwsnd_audio_do_write(file, buffer, count, ppos);
file 2406 sound/oss/vwsnd.c vwsnd_dev_t *devc = (vwsnd_dev_t *) file->private_data;
file 2407 sound/oss/vwsnd.c vwsnd_port_t *rport = (file->f_mode & FMODE_READ) ?
file 2409 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ?
file 2413 sound/oss/vwsnd.c DBGEV("(file=0x%p, wait=0x%p)\n", file, wait);
file 2417 sound/oss/vwsnd.c poll_wait(file, &rport->queue, wait);
file 2422 sound/oss/vwsnd.c poll_wait(file, &wport->queue, wait);
file 2436 sound/oss/vwsnd.c vwsnd_dev_t *devc = (vwsnd_dev_t *) file->private_data;
file 2437 sound/oss/vwsnd.c vwsnd_port_t *rport = (file->f_mode & FMODE_READ) ?
file 2439 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ?
file 2449 sound/oss/vwsnd.c inode, file, cmd, arg);
file 2676 sound/oss/vwsnd.c file->f_flags |= O_NONBLOCK;
file 2890 sound/oss/vwsnd.c vwsnd_dev_t *devc = (vwsnd_dev_t *) file->private_data;
file 2894 sound/oss/vwsnd.c ret = vwsnd_audio_do_ioctl(inode, file, cmd, arg);
file 2903 sound/oss/vwsnd.c DBGE("(file=0x%p, vma=0x%p)\n", file, vma);
file 2919 sound/oss/vwsnd.c DBGE("(inode=0x%p, file=0x%p)\n", inode, file);
file 2932 sound/oss/vwsnd.c while (devc->open_mode & file->f_mode) {
file 2934 sound/oss/vwsnd.c if (file->f_flags & O_NONBLOCK) {
file 2945 sound/oss/vwsnd.c devc->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE);
file 2964 sound/oss/vwsnd.c if (file->f_mode & FMODE_READ) {
file 2976 sound/oss/vwsnd.c if (file->f_mode & FMODE_WRITE) {
file 2991 sound/oss/vwsnd.c file->private_data = devc;
file 3002 sound/oss/vwsnd.c vwsnd_dev_t *devc = (vwsnd_dev_t *) file->private_data;
file 3009 sound/oss/vwsnd.c DBGEV("(inode=0x%p, file=0x%p)\n", inode, file);
file 3011 sound/oss/vwsnd.c if (file->f_mode & FMODE_READ)
file 3013 sound/oss/vwsnd.c if (file->f_mode & FMODE_WRITE) {
file 3028 sound/oss/vwsnd.c devc->open_mode &= ~file->f_mode;
file 3059 sound/oss/vwsnd.c DBGEV("(inode=0x%p, file=0x%p)\n", inode, file);
file 3070 sound/oss/vwsnd.c file->private_data = devc;
file 3078 sound/oss/vwsnd.c DBGEV("(inode=0x%p, file=0x%p)\n", inode, file);
file 3208 sound/oss/vwsnd.c vwsnd_dev_t *devc = (vwsnd_dev_t *) file->private_data;
file 85 sound/pci/hda/hda_hwdep.c return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg));
file 1112 sound/pci/mixart/mixart.c file->f_pos = offset;
file 1115 sound/pci/mixart/mixart.c file->f_pos += offset;
file 1118 sound/pci/mixart/mixart.c file->f_pos = MIXART_BA0_SIZE + offset;
file 1123 sound/pci/mixart/mixart.c if(file->f_pos > MIXART_BA0_SIZE)
file 1124 sound/pci/mixart/mixart.c file->f_pos = MIXART_BA0_SIZE;
file 1125 sound/pci/mixart/mixart.c return file->f_pos;
file 1138 sound/pci/mixart/mixart.c file->f_pos = offset;
file 1141 sound/pci/mixart/mixart.c file->f_pos += offset;
file 1144 sound/pci/mixart/mixart.c file->f_pos = MIXART_BA1_SIZE + offset;
file 1149 sound/pci/mixart/mixart.c if(file->f_pos > MIXART_BA1_SIZE)
file 1150 sound/pci/mixart/mixart.c file->f_pos = MIXART_BA1_SIZE;
file 1151 sound/pci/mixart/mixart.c return file->f_pos;
file 557 sound/sound_core.c const struct file_operations *old_fops = file->f_op;
file 558 sound/sound_core.c file->f_op = new_fops;
file 560 sound/sound_core.c if(file->f_op->open)
file 561 sound/sound_core.c err = file->f_op->open(inode,file);
file 563 sound/sound_core.c fops_put(file->f_op);
file 564 sound/sound_core.c file->f_op = fops_get(old_fops);
file 12 sound/sound_firmware.c struct file* filp;
file 1844 sound/usb/usbmixer.c poll_wait(file, &mixer->rc_waitq, wait);
file 167 sound/usb/usx2y/us122l.c snd_printdd(KERN_DEBUG "%p %p\n", hw, file);
file 172 sound/usb/usx2y/us122l.c us122l->first = file;
file 182 sound/usb/usx2y/us122l.c snd_printdd(KERN_DEBUG "%p %p\n", hw, file);
file 184 sound/usb/usx2y/us122l.c if (us122l->first == file)
file 187 sound/usb/usx2y/us122l.c if (us122l->master == file)
file 240 sound/usb/usx2y/us122l.c poll_wait(file, &us122l->sk.sleep, wait);
file 244 sound/usb/usx2y/us122l.c if (us122l->first == file)
file 394 sound/usb/usx2y/us122l.c us122l->master = file;
file 395 sound/usb/usx2y/us122l.c else if (us122l->master != file) {
file 400 sound/usb/usx2y/us122l.c us122l->slave = file;
file 11 sound/usb/usx2y/us122l.h struct file *first;
file 13 sound/usb/usx2y/us122l.h struct file *master;
file 14 sound/usb/usx2y/us122l.h struct file *slave;
file 100 sound/usb/usx2y/usX2Yhwdep.c poll_wait(file, &us428->us428ctls_wait_queue_head, wait);
file 298 usr/gen_init_cpio.c int file = -1;
file 312 usr/gen_init_cpio.c file = open (location, O_RDONLY);
file 313 usr/gen_init_cpio.c if (file < 0) {
file 324 usr/gen_init_cpio.c retval = read (file, filebuf, buf.st_size);
file 369 usr/gen_init_cpio.c if (file >= 0) close(file);