MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / fs / read
blobe21e935f9dc7cbac40cd32de49135e80f416eed4
1 aio.c:  ret = file->f_op->aio_read(iocb, iocb->ki_buf,
2 aio.c:  ret = file->f_op->aio_write(iocb, iocb->ki_buf,
3 aio.c:  if (file->f_op->aio_fsync)
4 aio.c:          ret = file->f_op->aio_fsync(iocb, 1);
5 aio.c:  if (file->f_op->aio_fsync)
6 aio.c:          ret = file->f_op->aio_fsync(iocb, 0);
7 aio.c:          if (file->f_op->aio_read)
8 aio.c:          if (file->f_op->aio_write)
9 aio.c:          if (file->f_op->aio_fsync)
10 aio.c:          if (file->f_op->aio_fsync)
11 binfmt_aout.c:  return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
12 binfmt_aout.c:if (file->f_op->llseek) { \
13 binfmt_aout.c:  if (file->f_op->llseek(file,(offset),0) != (offset)) \
14 binfmt_aout.c:          bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex),
15 binfmt_aout.c:          bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex),
16 binfmt_aout.c:          error = bprm->file->f_op->read(bprm->file,
17 binfmt_aout.c:          if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) {
18 binfmt_aout.c:                  bprm->file->f_op->read(bprm->file,
19 binfmt_aout.c:          file->f_op->read(file, (char __user *)start_addr,
20 binfmt_elf.c:   if (!interpreter->f_op || !interpreter->f_op->mmap)
21 binfmt_elf.c:   if (!interpreter->f_op || !interpreter->f_op->read)
22 binfmt_elf.c:   if (interpreter->f_op->read(interpreter, addr, text_data, &offset) < 0)
23 binfmt_elf.c:   if (!bprm->file->f_op||!bprm->file->f_op->mmap)
24 binfmt_elf.c:      !elf_check_arch(&elf_ex) || !file->f_op || !file->f_op->mmap)
25 binfmt_elf.c:   return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
26 binfmt_elf.c:   if (file->f_op->llseek) {
27 binfmt_elf.c:           if (file->f_op->llseek(file, off, 0) != off)
28 binfmt_em86.c:          (!bprm->file->f_op || !bprm->file->f_op->mmap)) {
29 binfmt_flat.c:  ret = bprm->file->f_op->read(bprm->file, buf, LBUFSIZE, &fpos);
30 binfmt_flat.c:          ret = bprm->file->f_op->read(bprm->file, buf, LBUFSIZE, &fpos);
31 binfmt_flat.c:                  result = bprm->file->f_op->read(bprm->file, (char *) datapos,
32 binfmt_flat.c:                  result = bprm->file->f_op->read(bprm->file,
33 binfmt_flat.c:                  result = bprm->file->f_op->read(bprm->file,
34 binfmt_flat.c:                          result = bprm->file->f_op->read(bprm->file, (char *) datapos,
35 buffer.c:       if (!file->f_op || !file->f_op->fsync) {
36 buffer.c:       err = file->f_op->fsync(file, file->f_dentry, 0);
37 buffer.c:       if (!file->f_op || !file->f_op->fsync)
38 buffer.c:       err = file->f_op->fsync(file, file->f_dentry, 1);
39 char_dev.c:     if (filp->f_op->open) {
40 char_dev.c:             ret = filp->f_op->open(inode,filp);
41 compat.c:       if (!filp->f_op || !filp->f_op->ioctl) {
42 compat.c:               fn = file->f_op->read;
43 compat.c:               fnv = file->f_op->readv;
44 compat.c:               fn = (io_fn_t)file->f_op->write;
45 compat.c:               fnv = file->f_op->writev;
46 compat.c:       if (!file->f_op || (!file->f_op->readv && !file->f_op->read))
47 compat.c:       if (!file->f_op || (!file->f_op->writev && !file->f_op->write))
48 compat_ioctl.c: if (file->f_op->ioctl != tty_ioctl)
49 dnotify.c:      if (filp->f_op && filp->f_op->dir_notify)
50 dnotify.c:              return filp->f_op->dir_notify(filp, arg);
51 dquot.c:        if (!f->f_op || !f->f_op->read || !f->f_op->write)
52 eventpoll.c:    if (!tfile->f_op || !tfile->f_op->poll)
53 eventpoll.c:    revents = tfile->f_op->poll(tfile, &epq.pt);
54 eventpoll.c:     * Set the new event interest mask before calling f_op->poll(), otherwise
55 eventpoll.c:     * the lock, an event might happen between the f_op->poll() call and the
56 eventpoll.c:    revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL);
57 eventpoll.c: * during the f_op->poll() call, we try to collect the maximum number of items
58 eventpoll.c: * __copy_to_user() might sleep, and also f_op->poll() might reenable the IRQ
59 eventpoll.c:            revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL);
60 exec.c: if (!file->f_op->write)
61 fcntl.c:        if (filp->f_op && filp->f_op->check_flags)
62 fcntl.c:                error = filp->f_op->check_flags(arg);
63 fcntl.c:                if (filp->f_op && filp->f_op->fasync) {
64 fcntl.c:                        error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0);
65 file_table.c:   if (file->f_op && file->f_op->release)
66 file_table.c:           file->f_op->release(inode, file);
67 ioctl.c:        if (filp->f_op && filp->f_op->ioctl)
68 ioctl.c:                return filp->f_op->ioctl(inode, filp, cmd, arg);
69 ioctl.c:                                if (filp->f_op && filp->f_op->fasync)
70 ioctl.c:                                        error = filp->f_op->fasync(fd, filp, on);
71 ioctl.c:                        else if (filp->f_op && filp->f_op->ioctl)
72 ioctl.c:                                error = filp->f_op->ioctl(filp->f_dentry->d_inode, filp, cmd, arg);
73 locks.c:        if (filp->f_op && filp->f_op->flock)
74 locks.c:                error = filp->f_op->flock(filp,
75 locks.c:        if (filp->f_op && filp->f_op->lock) {
76 locks.c:                error = filp->f_op->lock(filp, F_GETLK, &file_lock);
77 locks.c:        if (filp->f_op && filp->f_op->lock != NULL) {
78 locks.c:                error = filp->f_op->lock(filp, cmd, file_lock);
79 locks.c:        if (filp->f_op && filp->f_op->lock) {
80 locks.c:                error = filp->f_op->lock(filp, F_GETLK, &file_lock);
81 locks.c:        if (filp->f_op && filp->f_op->lock != NULL) {
82 locks.c:                error = filp->f_op->lock(filp, cmd, file_lock);
83 locks.c:        if (filp->f_op && filp->f_op->lock != NULL) {
84 locks.c:                filp->f_op->lock(filp, F_SETLK, &lock);
85 locks.c:        if (filp->f_op && filp->f_op->flock) {
86 locks.c:                filp->f_op->flock(filp, F_SETLKW, &fl);
87 nfsctl.c:       err = file->f_op->write(file, p, map[cmd].wsize, &file->f_pos);
88 nfsctl.c:               err = file->f_op->read(file, res, map[cmd].rsize, &file->f_pos);
89 open.c: if (f->f_op && f->f_op->open) {
90 open.c:         error = f->f_op->open(inode,f);
91 open.c: /* NB: we're sure to have correct a_ops only after f_op->open */
92 open.c: if (filp->f_op && filp->f_op->flush) {
93 open.c:         int err = filp->f_op->flush(filp);
94 quota_v1.c:     filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset);
95 quota_v1.c:             ret = filp->f_op->write(filp, (char *)&dqblk,
96 quota_v1.c:     size = f->f_op->read(f, (char *)&dqhead, sizeof(struct v2_disk_dqheader), &offset);
97 quota_v1.c:     if ((ret = filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset)) != sizeof(struct v1_disk_dqblk)) {
98 quota_v1.c:     if ((ret = filp->f_op->read(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset)) != sizeof(struct v1_disk_dqblk)) {
99 quota_v1.c:     ret = filp->f_op->write(filp, (char *)&dqblk, sizeof(struct v1_disk_dqblk), &offset);
100 quota_v2.c:     size = f->f_op->read(f, (char *)&dqhead, sizeof(struct v2_disk_dqheader), &offset);
101 quota_v2.c:     size = f->f_op->read(f, (char *)&dinfo, sizeof(struct v2_disk_dqinfo), &offset);
102 quota_v2.c:     size = f->f_op->write(f, (char *)&dinfo, sizeof(struct v2_disk_dqinfo), &offset);
103 quota_v2.c:     ret = filp->f_op->read(filp, (char *)buf, V2_DQBLKSIZE, &offset);
104 quota_v2.c:     ret = filp->f_op->write(filp, (char *)buf, V2_DQBLKSIZE, &offset);
105 quota_v2.c:     ret = filp->f_op->write(filp, (char *)&ddquot, sizeof(struct v2_disk_dqblk), &offset);
106 quota_v2.c:             if ((ret = filp->f_op->read(filp, (char *)&ddquot, sizeof(struct v2_disk_dqblk), &offset)) != sizeof(struct v2_disk_dqblk)) {
107 readdir.c:      if (!file->f_op || !file->f_op->readdir)
108 readdir.c:              res = file->f_op->readdir(file, buf, filler);
109 read_write.c:           if (file->f_op && file->f_op->llseek)
110 read_write.c:                   fn = file->f_op->llseek;
111 read_write.c:   ret = filp->f_op->aio_read(&kiocb, buf, len, kiocb.ki_pos);
112 read_write.c:   if (!file->f_op || (!file->f_op->read && !file->f_op->aio_read))
113 read_write.c:                   if (file->f_op->read)
114 read_write.c:                           ret = file->f_op->read(file, buf, count, pos);
115 read_write.c:   ret = filp->f_op->aio_write(&kiocb, buf, len, kiocb.ki_pos);
116 read_write.c:   if (!file->f_op || (!file->f_op->write && !file->f_op->aio_write))
117 read_write.c:                   if (file->f_op->write)
118 read_write.c:                           ret = file->f_op->write(file, buf, count, pos);
119 read_write.c:           fn = file->f_op->read;
120 read_write.c:           fnv = file->f_op->readv;
121 read_write.c:           fn = (io_fn_t)file->f_op->write;
122 read_write.c:           fnv = file->f_op->writev;
123 read_write.c:   if (!file->f_op || (!file->f_op->readv && !file->f_op->read))
124 read_write.c:   if (!file->f_op || (!file->f_op->writev && !file->f_op->write))
125 read_write.c:   if (!in_file->f_op || !in_file->f_op->sendfile)
126 read_write.c:   if (!out_file->f_op || !out_file->f_op->sendpage)
127 read_write.c:   retval = in_file->f_op->sendfile(in_file, ppos, count, file_send_actor, out_file);
128 select.c:                                       if (f_op && f_op->poll)
129 select.c:                                               mask = (*f_op->poll)(file, retval ? NULL : wait);
130 select.c:                               if (file->f_op && file->f_op->poll)
131 select.c:                                       mask = file->f_op->poll(file, *pwait);
132 seq_file.c: *   Ready-made ->f_op->read()
133 seq_file.c: *   Ready-made ->f_op->llseek()
134 seq_file.c: *   as ->f_op->release() if you don't have private data to destroy.