Searched refs:f_op (Results 1 - 25 of 105) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dphonedev.h12 const struct file_operations *f_op; member in struct:phone_device
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dioctl.c26 if (!filp->f_op)
29 if (filp->f_op->unlocked_ioctl) {
30 error = filp->f_op->unlocked_ioctl(filp, cmd, arg);
34 } else if ((f = filp->f_op->ioctl)) {
36 if (!filp->f_op->ioctl) {
41 error = filp->f_op->ioctl(filp->f_path.dentry->d_inode,
129 if (filp->f_op && filp->f_op->fasync) {
131 error = filp->f_op->fasync(fd, filp, on);
H A Dread_write.c124 if (file->f_op && file->f_op->llseek)
125 fn = file->f_op->llseek;
242 ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos);
262 if (!file->f_op || (!file->f_op->read && !file->f_op->aio_read))
272 if (file->f_op->read)
273 ret = file->f_op->read(file, buf, count, pos);
300 ret = filp->f_op
[all...]
H A Dfifo.c60 filp->f_op = &read_fifo_fops;
89 filp->f_op = &write_fifo_fops;
108 filp->f_op = &rdwr_fifo_fops;
H A Dbinfmt_em86.c42 (!bprm->file->f_op || !bprm->file->f_op->mmap)) {
H A Dbinfmt_aout.c68 return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
76 if (file->f_op->llseek) { \
77 if (file->f_op->llseek(file,(offset),0) != (offset)) \
286 if (!bprm->file->f_op || !bprm->file->f_op->mmap)
338 bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex),
343 bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex),
370 error = bprm->file->f_op->read(bprm->file,
397 if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) {
402 bprm->file->f_op
[all...]
H A Ddnotify.c108 if (filp->f_op && filp->f_op->dir_notify)
109 return filp->f_op->dir_notify(filp, arg);
H A Dsync.c84 if (!file->f_op || !file->f_op->fsync) {
97 err = file->f_op->fsync(file, file->f_path.dentry, datasync);
H A Dnfsctl.c109 err = file->f_op->write(file, p, map[cmd].wsize, &file->f_pos);
111 err = file->f_op->read(file, res, map[cmd].rsize, &file->f_pos);
H A Dfile_table.c168 if (file->f_op && file->f_op->release)
169 file->f_op->release(inode, file);
173 fops_put(file->f_op);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/telephony/
H A Dphonedev.c59 new_fops = fops_get(p->f_op);
65 if (p == NULL || (new_fops = fops_get(p->f_op)) == NULL)
71 old_fops = file->f_op;
72 file->f_op = new_fops;
76 fops_put(file->f_op);
77 file->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/coda/
H A Dfile.c43 if (!host_file->f_op || !host_file->f_op->read)
46 return host_file->f_op->read(host_file, buf, count, ppos);
60 if (!host_file->f_op || !host_file->f_op->sendfile)
63 return host_file->f_op->sendfile(host_file, ppos, count, actor, target);
78 if (!host_file->f_op || !host_file->f_op->write)
84 ret = host_file->f_op->write(host_file, buf, count, ppos);
106 if (!host_file->f_op || !host_fil
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Dfile.c45 old_fops = file->f_op;
46 file->f_op = new_fops;
48 if (file->f_op->open)
49 err = file->f_op->open(inode,file);
51 fops_put(file->f_op);
52 file->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ecryptfs/
H A Dfile.c291 if (lower_file->f_op && lower_file->f_op->flush)
292 rc = lower_file->f_op->flush(lower_file, td);
336 if (lower_file->f_op && lower_file->f_op->fasync)
337 rc = lower_file->f_op->fasync(fd, lower_file, flag);
348 if (lower_file->f_op && lower_file->f_op->sendfile)
349 rc = lower_file->f_op->sendfile(lower_file, ppos, count,
396 if (lower_file && lower_file->f_op
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dmisc.c158 old_fops = file->f_op;
159 file->f_op = new_fops;
160 if (file->f_op->open) {
161 err=file->f_op->open(inode,file);
163 fops_put(file->f_op);
164 file->f_op = fops_get(old_fops);
H A Dmem.c903 filp->f_op = &mem_fops;
908 filp->f_op = &kmem_fops;
913 filp->f_op = &null_fops;
917 filp->f_op = &port_fops;
922 filp->f_op = &zero_fops;
925 filp->f_op = &full_fops;
928 filp->f_op = &random_fops;
931 filp->f_op = &urandom_fops;
934 filp->f_op = &kmsg_fops;
938 filp->f_op
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/9p/
H A Dtrans_fd.c115 if (!ts->rd->f_op || !ts->rd->f_op->poll)
118 if (!ts->wr->f_op || !ts->wr->f_op->poll)
124 ret = ts->rd->f_op->poll(ts->rd, pt);
129 n = ts->wr->f_op->poll(ts->wr, pt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/
H A Dsound_core.c466 * revert to old ->f_op. Ugly, indeed, but that's the cost of
467 * switching ->f_op in the first place.
470 const struct file_operations *old_fops = file->f_op;
471 file->f_op = new_fops;
473 if(file->f_op->open)
474 err = file->f_op->open(inode,file);
476 fops_put(file->f_op);
477 file->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-core/
H A Ddvbdev.c91 old_fops = file->f_op;
92 file->f_op = fops_get(dvbdev->fops);
93 if(file->f_op->open)
94 err = file->f_op->open(inode,file);
96 fops_put(file->f_op);
97 file->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dsound.c159 old_fops = file->f_op;
160 file->f_op = fops_get(mptr->f_ops);
161 if (file->f_op->open)
162 err = file->f_op->open(inode, file);
164 fops_put(file->f_op);
165 file->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dbinfmt_aout32.c63 return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
71 if (file->f_op->llseek) { \
72 if (file->f_op->llseek(file,(offset),0) != (offset)) \
254 bprm->file->f_op->read(bprm->file, (char __user *)N_TXTADDR(ex),
259 bprm->file->f_op->read(bprm->file, (char __user *)N_DATADDR(ex),
270 bprm->file->f_op->read(bprm->file, (char __user *)N_TXTADDR(ex),
281 if (!bprm->file->f_op->mmap) {
286 bprm->file->f_op->read(bprm->file,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/spufs/
H A Dcoredump.c63 return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
68 if (file->f_op->llseek) {
69 if (file->f_op->llseek(file, off, 0) != off)
154 if (file && file->f_op == &spufs_context_fops) {
H A Dsyscalls.c46 if (filp->f_op != &spufs_context_fops)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_fops.c193 old_fops = filp->f_op;
194 filp->f_op = fops_get(&dev->driver->fops);
195 if (filp->f_op->open && (err = filp->f_op->open(inode, filp))) {
196 fops_put(filp->f_op);
197 filp->f_op = fops_get(old_fops);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/solaris/
H A Dsocksys.c105 filp->f_op = &socksys_file_ops;
191 socksys_file_ops = *file->f_op;

Completed in 135 milliseconds

12345