/linux-2.4.37.9/fs/ |
D | read_write.c | 122 if (file->f_op && file->f_op->llseek) in llseek() 123 fn = file->f_op->llseek; in llseek() 198 if (file->f_op && (read = file->f_op->read) != NULL) in sys_read() 222 if (file->f_op && (write = file->f_op->write) != NULL) in sys_write() 258 if (!file->f_op) in do_readv_writev() 303 fnv = (type == VERIFY_WRITE ? file->f_op->readv : file->f_op->writev); in do_readv_writev() 310 fn = (type == VERIFY_WRITE ? file->f_op->read : in do_readv_writev() 311 (io_fn_t) file->f_op->write); in do_readv_writev() 358 if (file->f_op && (file->f_mode & FMODE_READ) && in sys_readv() 359 (file->f_op->readv || file->f_op->read)) in sys_readv() [all …]
|
D | ioctl.c | 43 if (filp->f_op && filp->f_op->ioctl) in file_ioctl() 44 return filp->f_op->ioctl(inode, filp, cmd, arg); in file_ioctl() 91 if (filp->f_op && filp->f_op->fasync) in sys_ioctl() 92 error = filp->f_op->fasync(fd, filp, on); in sys_ioctl() 118 else if (filp->f_op && filp->f_op->ioctl) in sys_ioctl() 119 error = filp->f_op->ioctl(filp->f_dentry->d_inode, filp, cmd, arg); in sys_ioctl()
|
D | file_table.c | 94 filp->f_op = dentry->d_inode->i_fop; in init_private_file() 97 if (filp->f_op->open) in init_private_file() 98 return filp->f_op->open(dentry->d_inode, filp); in init_private_file() 115 if (file->f_op && file->f_op->release) in fput() 116 file->f_op->release(inode, file); in fput() 117 fops_put(file->f_op); in fput()
|
D | quota_v1.c | 54 filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset); in v1_read_dqblk() 91 ret = filp->f_op->write(filp, (char *)&dqblk, in v1_commit_dqblk() 141 size = f->f_op->read(f, (char *)&dqhead, sizeof(struct v2_disk_dqheader), &offset); in v1_check_quota_file() 164 …if ((ret = filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset)) != sizeo… in v1_read_file_info() 192 …if ((ret = filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset)) != sizeo… in v1_write_file_info() 200 ret = filp->f_op->write(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset); in v1_write_file_info()
|
D | fifo.c | 54 filp->f_op = &read_fifo_fops; in fifo_open() 83 filp->f_op = &write_fifo_fops; in fifo_open() 102 filp->f_op = &rdwr_fifo_fops; in fifo_open()
|
D | devices.c | 148 filp->f_op = get_chrfops(MAJOR(inode->i_rdev), MINOR(inode->i_rdev)); in chrdev_open() 149 if (filp->f_op) { in chrdev_open() 151 if (filp->f_op->open != NULL) { in chrdev_open() 153 ret = filp->f_op->open(inode,filp); in chrdev_open()
|
D | binfmt_aout.c | 66 return file->f_op->write(file, addr, nr, &file->f_pos) == nr; in dump_write() 74 if (file->f_op->llseek) { \ 75 if (file->f_op->llseek(file,(offset),0) != (offset)) \ 326 bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), in load_aout_binary() 331 bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex), in load_aout_binary() 358 error = bprm->file->f_op->read(bprm->file, (char *)text_addr, in load_aout_binary() 384 if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) { in load_aout_binary() 389 bprm->file->f_op->read(bprm->file,(char *)N_TXTADDR(ex), in load_aout_binary() 493 file->f_op->read(file, (char *)start_addr, in load_aout_library()
|
D | binfmt_em86.c | 42 (!bprm->file->f_op || !bprm->file->f_op->mmap)) { in load_em86()
|
D | select.c | 197 if (file->f_op && file->f_op->poll) in do_select() 198 mask = file->f_op->poll(file, wait); in do_select() 371 if (file->f_op && file->f_op->poll) in do_pollfd() 372 mask = file->f_op->poll(file, *pwait); in do_pollfd()
|
D | open.c | 700 f->f_op = fops_get(inode->i_fop); in dentry_open() 712 if (f->f_op && f->f_op->open) { in dentry_open() 713 error = f->f_op->open(inode,f); in dentry_open() 724 fops_put(f->f_op); in dentry_open() 856 if (filp->f_op && filp->f_op->flush) { in filp_close() 858 retval = filp->f_op->flush(filp); in filp_close()
|
D | locks.c | 532 if (fl->fl_file->f_op && in locks_unlock_delete() 533 (lock = fl->fl_file->f_op->lock) != NULL) { in locks_unlock_delete() 1433 if (filp->f_op && filp->f_op->lock) { in fcntl_getlk() 1434 error = filp->f_op->lock(filp, F_GETLK, &file_lock); in fcntl_getlk() 1557 if (filp->f_op && filp->f_op->lock != NULL) { in fcntl_setlk() 1558 error = filp->f_op->lock(filp, cmd, file_lock); in fcntl_setlk() 1603 if (filp->f_op && filp->f_op->lock) { in fcntl_getlk64() 1604 error = filp->f_op->lock(filp, F_GETLK, &file_lock); in fcntl_getlk64() 1700 if (filp->f_op && filp->f_op->lock != NULL) { in fcntl_setlk64() 1701 error = filp->f_op->lock(filp, cmd, file_lock); in fcntl_setlk64()
|
D | binfmt_elf.c | 287 if (!interpreter->f_op || !interpreter->f_op->mmap) in load_elf_interp() 437 if (!interpreter->f_op || !interpreter->f_op->read) in load_aout_interp() 439 if (interpreter->f_op->read(interpreter, addr, text_data, &offset) < 0) in load_aout_interp() 500 if (!bprm->file->f_op||!bprm->file->f_op->mmap) in load_elf_binary() 958 !elf_check_arch(&elf_ex) || !file->f_op || !file->f_op->mmap) in load_elf_library() 1035 return file->f_op->write(file, addr, nr, &file->f_pos) == nr; in dump_write() 1040 if (file->f_op->llseek) { in dump_seek() 1041 if (file->f_op->llseek(file, off, 0) != off) in dump_seek()
|
D | quota_v2.c | 41 size = f->f_op->read(f, (char *)&dqhead, sizeof(struct v2_disk_dqheader), &offset); in v2_check_quota_file() 63 size = f->f_op->read(f, (char *)&dinfo, sizeof(struct v2_disk_dqinfo), &offset); in v2_read_file_info() 98 size = f->f_op->write(f, (char *)&dinfo, sizeof(struct v2_disk_dqinfo), &offset); in v2_write_file_info() 155 ret = filp->f_op->read(filp, (char *)buf, V2_DQBLKSIZE, &offset); in read_blk() 168 ret = filp->f_op->write(filp, (char *)buf, V2_DQBLKSIZE, &offset); in write_blk() 428 ret = filp->f_op->write(filp, (char *)&ddquot, sizeof(struct v2_disk_dqblk), &offset); in v2_write_dquot() 640 …if ((ret = filp->f_op->read(filp, (char *)&ddquot, sizeof(struct v2_disk_dqblk), &offset)) != size… in v2_read_dquot()
|
/linux-2.4.37.9/fs/coda/ |
D | file.c | 42 if (!host_file->f_op || !host_file->f_op->read) in coda_file_read() 45 return host_file->f_op->read(host_file, buf, count, ppos); in coda_file_read() 60 if (!host_file->f_op || !host_file->f_op->write) in coda_file_write() 65 ret = host_file->f_op->write(host_file, buf, count, ppos); in coda_file_write() 87 if (!host_file->f_op || !host_file->f_op->mmap) in coda_file_mmap() 105 return host_file->f_op->mmap(host_file, vma); in coda_file_mmap() 265 if (host_file->f_op && host_file->f_op->fsync) { in coda_fsync() 269 err = host_file->f_op->fsync(host_file, host_dentry, datasync); in coda_fsync()
|
/linux-2.4.37.9/drivers/telephony/ |
D | phonedev.c | 60 new_fops = fops_get(p->f_op); in phone_open() 69 if (p == NULL || (new_fops = fops_get(p->f_op)) == NULL) in phone_open() 75 old_fops = file->f_op; in phone_open() 76 file->f_op = new_fops; in phone_open() 80 fops_put(file->f_op); in phone_open() 81 file->f_op = fops_get(old_fops); in phone_open()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_stub.h | 57 old_fops = filp->f_op; in DRM() 58 filp->f_op = fops_get(DRM(stub_list)[minor].fops); in DRM() 59 if (filp->f_op->open && (err = filp->f_op->open(inode, filp))) { in DRM() 60 fops_put(filp->f_op); in DRM() 61 filp->f_op = fops_get(old_fops); in DRM()
|
/linux-2.4.37.9/drivers/char/ |
D | misc.c | 131 old_fops = file->f_op; in misc_open() 132 file->f_op = new_fops; in misc_open() 133 if (file->f_op->open) { in misc_open() 134 err=file->f_op->open(inode,file); in misc_open() 136 fops_put(file->f_op); in misc_open() 137 file->f_op = fops_get(old_fops); in misc_open()
|
D | mem.c | 672 filp->f_op = &mem_fops; in memory_open() 675 filp->f_op = &kmem_fops; in memory_open() 678 filp->f_op = &null_fops; in memory_open() 682 filp->f_op = &port_fops; in memory_open() 686 filp->f_op = &zero_fops; in memory_open() 689 filp->f_op = &full_fops; in memory_open() 692 filp->f_op = &random_fops; in memory_open() 695 filp->f_op = &urandom_fops; in memory_open() 700 if (filp->f_op && filp->f_op->open) in memory_open() 701 return filp->f_op->open(inode,filp); in memory_open()
|
/linux-2.4.37.9/drivers/sound/ |
D | sound_core.c | 528 struct file_operations *old_fops = file->f_op; in soundcore_open() 529 file->f_op = new_fops; in soundcore_open() 531 if(file->f_op->open) in soundcore_open() 532 err = file->f_op->open(inode,file); in soundcore_open() 534 fops_put(file->f_op); in soundcore_open() 535 file->f_op = fops_get(old_fops); in soundcore_open()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | binfmt_aout32.c | 64 return file->f_op->write(file, addr, nr, &file->f_pos) == nr; in dump_write() 72 if (file->f_op->llseek) { \ 73 if (file->f_op->llseek(file,(offset),0) != (offset)) \ 254 bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), in load_aout32_binary() 259 bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex), in load_aout32_binary() 271 bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), in load_aout32_binary() 282 if (!bprm->file->f_op->mmap) { in load_aout32_binary() 287 bprm->file->f_op->read(bprm->file,(char *)N_TXTADDR(ex), in load_aout32_binary()
|
/linux-2.4.37.9/fs/nfsd/ |
D | vfs.c | 471 filp->f_op = fops_get(inode->i_fop); in nfsd_open() 487 if (filp->f_op && filp->f_op->open) { in nfsd_open() 488 err = filp->f_op->open(inode, filp); in nfsd_open() 490 fops_put(filp->f_op); in nfsd_open() 516 if (filp->f_op && filp->f_op->release) in nfsd_close() 517 filp->f_op->release(inode, filp); in nfsd_close() 518 fops_put(filp->f_op); in nfsd_close() 547 nfsd_dosync(filp, filp->f_dentry, filp->f_op); in nfsd_sync() 604 if (file->f_op && file->f_op->llseek) in llseek() 605 fn = file->f_op->llseek; in llseek() [all …]
|
/linux-2.4.37.9/drivers/media/video/ |
D | videodev.c | 160 old_fops = file->f_op; in video_open() 161 file->f_op = fops_get(vfl->fops); in video_open() 162 if(file->f_op->open) in video_open() 163 err = file->f_op->open(inode,file); in video_open() 165 fops_put(file->f_op); in video_open() 166 file->f_op = fops_get(old_fops); in video_open()
|
/linux-2.4.37.9/drivers/input/ |
D | input.c | 389 old_fops = file->f_op; in input_open_file() 390 file->f_op = new_fops; in input_open_file() 397 fops_put(file->f_op); in input_open_file() 398 file->f_op = fops_get(old_fops); in input_open_file()
|
/linux-2.4.37.9/include/linux/ |
D | phonedev.h | 13 struct file_operations *f_op; member
|
/linux-2.4.37.9/arch/sparc64/solaris/ |
D | socksys.c | 97 filp->f_op = &socksys_file_ops; in socksys_open() 192 socksys_file_ops = *file->f_op; in init_socksys()
|