tag | line | file | source code |
fops | 245 | arch/alpha/kernel/osf_sys.c | struct file_operations * fops; |
fops | 264 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(dev)); |
fops | 265 | arch/alpha/kernel/osf_sys.c | if (!fops) { |
fops | 269 | arch/alpha/kernel/osf_sys.c | if (fops->open) { |
fops | 274 | arch/alpha/kernel/osf_sys.c | retval = fops->open(inode, &dummy); |
fops | 286 | arch/alpha/kernel/osf_sys.c | struct file_operations * fops; |
fops | 288 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(inode->i_rdev)); |
fops | 289 | arch/alpha/kernel/osf_sys.c | if (fops->release) |
fops | 290 | arch/alpha/kernel/osf_sys.c | fops->release(inode, NULL); |
fops | 55 | drivers/char/mouse.c | file->f_op = c->fops; |
fops | 346 | drivers/char/tty_io.c | void do_tty_hangup(struct tty_struct * tty, struct file_operations *fops) |
fops | 365 | drivers/char/tty_io.c | filp->f_op = fops; |
fops | 20 | fs/devices.c | struct file_operations * fops; |
fops | 38 | fs/devices.c | if (chrdevs[i].fops) { |
fops | 44 | fs/devices.c | if (blkdevs[i].fops) { |
fops | 55 | fs/devices.c | return blkdevs[major].fops; |
fops | 62 | fs/devices.c | return chrdevs[major].fops; |
fops | 65 | fs/devices.c | int register_chrdev(unsigned int major, const char * name, struct file_operations *fops) |
fops | 69 | fs/devices.c | if (chrdevs[major].fops == NULL) { |
fops | 71 | fs/devices.c | chrdevs[major].fops = fops; |
fops | 79 | fs/devices.c | if (chrdevs[major].fops && chrdevs[major].fops != fops) |
fops | 82 | fs/devices.c | chrdevs[major].fops = fops; |
fops | 86 | fs/devices.c | int register_blkdev(unsigned int major, const char * name, struct file_operations *fops) |
fops | 90 | fs/devices.c | if (blkdevs[major].fops == NULL) { |
fops | 92 | fs/devices.c | blkdevs[major].fops = fops; |
fops | 100 | fs/devices.c | if (blkdevs[major].fops && blkdevs[major].fops != fops) |
fops | 103 | fs/devices.c | blkdevs[major].fops = fops; |
fops | 111 | fs/devices.c | if (!chrdevs[major].fops) |
fops | 116 | fs/devices.c | chrdevs[major].fops = NULL; |
fops | 124 | fs/devices.c | if (!blkdevs[major].fops) |
fops | 129 | fs/devices.c | blkdevs[major].fops = NULL; |
fops | 145 | fs/devices.c | struct file_operations * fops; |
fops | 148 | fs/devices.c | if (i >= MAX_BLKDEV || (fops = blkdevs[i].fops) == NULL) |
fops | 150 | fs/devices.c | if (fops->check_media_change == NULL) |
fops | 152 | fs/devices.c | if (!fops->check_media_change(dev)) |
fops | 163 | fs/devices.c | if (fops->revalidate) |
fops | 164 | fs/devices.c | fops->revalidate(dev); |
fops | 176 | fs/devices.c | if (i >= MAX_BLKDEV || !blkdevs[i].fops) |
fops | 178 | fs/devices.c | filp->f_op = blkdevs[i].fops; |
fops | 227 | fs/devices.c | if (i >= MAX_CHRDEV || !chrdevs[i].fops) |
fops | 229 | fs/devices.c | filp->f_op = chrdevs[i].fops; |
fops | 73 | fs/select.c | struct file_operations *fops; |
fops | 77 | fs/select.c | if ((fops = file->f_op) && (select = fops->select)) |
fops | 408 | fs/super.c | struct file_operations * fops; |
fops | 440 | fs/super.c | fops = get_blkfops(MAJOR(dev)); |
fops | 441 | fs/super.c | if (fops && fops->release) |
fops | 442 | fs/super.c | fops->release(inode,NULL); |
fops | 586 | fs/super.c | struct file_operations * fops; |
fops | 614 | fs/super.c | fops = NULL; |
fops | 632 | fs/super.c | fops = get_blkfops(MAJOR(dev)); |
fops | 633 | fs/super.c | if (!fops) { |
fops | 637 | fs/super.c | if (fops->open) { |
fops | 642 | fs/super.c | retval = fops->open(inode, &dummy); |
fops | 665 | fs/super.c | if (retval && fops && fops->release) |
fops | 666 | fs/super.c | fops->release(inode, NULL); |
fops | 14 | include/linux/mouse.h | struct file_operations *fops; |