Lines Matching defs:fop

686 linux_get_fop(struct linux_file *filp, const struct file_operations **fop,
693 *fop = filp->f_op;
701 *fop = ldev->ops;
746 const struct file_operations *fop;
762 linux_get_fop(filp, &fop, &ldev);
764 if (fop->open != NULL) {
765 error = -fop->open(file->f_vnode, filp);
915 const struct file_operations *fop, u_long cmd, caddr_t data,
941 if (fop->compat_ioctl != NULL) {
942 error = -OPW(fp, td, fop->compat_ioctl(filp,
949 if (error == ENOTTY && fop->unlocked_ioctl != NULL) {
950 error = -OPW(fp, td, fop->unlocked_ioctl(filp,
956 if (fop->unlocked_ioctl != NULL) {
957 error = -OPW(fp, td, fop->unlocked_ioctl(filp,
1131 const struct file_operations *fop;
1140 linux_get_fop(filp, &fop, &ldev);
1142 temp = OPW(filp->_file, td, fop->poll(filp, NULL));
1208 linux_file_mmap_single(struct file *fp, const struct file_operations *fop,
1222 if (fop->mmap == NULL)
1254 error = -OPW(fp, td, fop->mmap(filp, vmap));
1373 const struct file_operations *fop;
1387 linux_get_fop(filp, &fop, &ldev);
1388 if (fop->read != NULL) {
1389 bytes = OPW(file, td, fop->read(filp,
1415 const struct file_operations *fop;
1428 linux_get_fop(filp, &fop, &ldev);
1429 if (fop->write != NULL) {
1430 bytes = OPW(file, td, fop->write(filp,
1458 const struct file_operations *fop;
1465 linux_get_fop(filp, &fop, &ldev);
1466 if (fop->poll != NULL) {
1467 revents = OPW(file, td, fop->poll(filp,
1481 const struct file_operations *fop;
1497 linux_get_fop(filp, &fop, &ldev);
1523 const struct file_operations *fop;
1532 linux_get_fop(filp, &fop, &ldev);
1539 if (fop->fasync == NULL)
1541 error = -OPW(fp, td, fop->fasync(0, filp, fp->f_flag & FASYNC));
1546 if (fop->fasync == NULL)
1548 error = -OPW(fp, td, fop->fasync(0, filp,
1573 error = linux_file_ioctl_sub(fp, filp, fop, cmd, data, td);
1583 vm_ooffset_t *foff, const struct file_operations *fop, vm_object_t *objp)
1595 return (linux_file_mmap_single(fp, fop, foff, objsize, objp,
1605 const struct file_operations *fop;
1653 linux_get_fop(filp, &fop, &ldev);
1655 &foff, fop, &object);