Home
last modified time | relevance | path

Searched refs:fops (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h178 #define fops_get(fops) (fops) argument
179 #define replace_fops(f, fops) ((f)->f_op = (fops)) argument
187 const struct file_operations *fops);
190 const struct file_operations *fops, uid_t uid,
204 const struct file_operations *fops) in register_chrdev() argument
207 return (__register_chrdev(major, 0, 256, name, fops)); in register_chrdev()
212 const struct file_operations *fops, uid_t uid, gid_t gid, int mode) in register_chrdev_p() argument
215 return (__register_chrdev_p(major, 0, 256, name, fops, uid, gid, mode)); in register_chrdev_p()
H A Dmiscdevice.h42 const struct file_operations *fops; member
60 misc->cdev->ops = misc->fops; in misc_register()
H A Dfile.h161 alloc_file(int mode, const struct file_operations *fops) in alloc_file() argument
166 filp->f_op = fops; in alloc_file()
H A Ddebugfs.h42 const struct file_operations *fops);
/freebsd-12.1/sys/compat/lindebugfs/
H A Dlindebugfs.c177 const struct file_operations *fops) in debugfs_create_file() argument
188 dm->dm_fops = fops; in debugfs_create_file()
197 flags = fops->write ? PFS_RDWR : PFS_RD; in debugfs_create_file()
/freebsd-12.1/sys/kern/
H A Dkern_event.c1380 struct filterops *fops; in kqueue_register() local
1398 fops = kqueue_fo_find(filt); in kqueue_register()
1399 if (fops == NULL) in kqueue_register()
1414 if (fops->f_isfd) { in kqueue_register()
1428 error = kqueue_expand(kq, fops, kev->ident, mflag); in kqueue_register()
1524 kn->kn_fop = fops; in kqueue_register()
1529 fops = NULL; in kqueue_register()
1592 if (!fops->f_isfd && fops->f_touch != NULL) { in kqueue_register()
1593 fops->f_touch(kn, kev, EVENT_REGISTER); in kqueue_register()
1633 if (fops != NULL) in kqueue_register()
[all …]
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_drv.c253 .fops = &radeon_driver_kms_fops,
/freebsd-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c2339 const struct file_operations *fops) in __register_chrdev() argument
2347 cdev->ops = fops; in __register_chrdev()
2360 const struct file_operations *fops, uid_t uid, in __register_chrdev_p() argument
2369 cdev->ops = fops; in __register_chrdev_p()
/freebsd-12.1/sys/dev/drm2/i915/
H A Di915_drv.c1133 .fops = &i915_driver_fops,
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_ucma.c1746 .fops = &ucma_fops,