Lines Matching defs:fops
253 * @fops: file operations associated with this devices
270 const struct file_operations *fops)
284 cdev->owner = fops->owner;
285 cdev->ops = fops;
375 const struct file_operations *fops;
408 fops = fops_get(p->ops);
409 if (!fops)
412 replace_fops(filp, fops);
542 * can call cdev fops callbacks at any time, even if this function fails.
575 * or runnable, however any cdevs already open will remain and their fops
598 * opened, however any cdevs already open will remain and their fops will
653 * @fops: the file_operations for this device
655 * Initializes @cdev, remembering @fops, making it ready to add to the
658 void cdev_init(struct cdev *cdev, const struct file_operations *fops)
663 cdev->ops = fops;