/freebsd/sys/contrib/openzfs/config/ |
H A D | kernel-vfs-iterate.m4 | 7 static const struct file_operations fops 18 static const struct file_operations fops 33 static const struct file_operations fops 44 AC_MSG_CHECKING([whether fops->iterate_shared() is available]) 48 [fops->iterate_shared() is available]) 55 dnl # RHEL 7.5 compatibility; the fops.iterate() method was 60 dnl # to using fops.readdir() to retain KABI compatibility. 62 AC_MSG_CHECKING([whether fops->iterate() is available]) 66 [fops->iterate() is available]) 73 AC_MSG_CHECKING([whether fops->readdir() is available]) [all …]
|
H A D | kernel-fsync.m4 | 11 fops __attribute__ ((unused)) = { 23 fops __attribute__ ((unused)) = { 33 AC_MSG_CHECKING([whether fops->fsync() wants no dentry]) 37 [fops->fsync() without dentry]) 44 AC_MSG_CHECKING([whether fops->fsync() wants range]) 48 [fops->fsync() with range]) 50 ZFS_LINUX_TEST_ERROR([fops->fsync])
|
H A D | kernel-vfs-file_range.m4 | 36 fops __attribute__ ((unused)) = { 42 AC_MSG_CHECKING([whether fops->copy_file_range() is available]) 46 [fops->copy_file_range() is available]) 116 fops __attribute__ ((unused)) = { 122 AC_MSG_CHECKING([whether fops->clone_file_range() is available]) 126 [fops->clone_file_range() is available]) 146 fops __attribute__ ((unused)) = { 156 [fops->dedupe_file_range() is available]) 176 fops __attribute__ ((unused)) = { 183 AC_MSG_CHECKING([whether fops->remap_file_range() is available]) [all …]
|
H A D | kernel-fadvise.m4 | 9 fops __attribute__ ((unused)) = { 16 AC_MSG_CHECKING([whether fops->fadvise() exists]) 19 AC_DEFINE(HAVE_FILE_FADVISE, 1, [fops->fadvise() exists])
|
H A D | kernel-aio-fsync.m4 | 9 fops __attribute__ ((unused)) = { 16 AC_MSG_CHECKING([whether fops->aio_fsync() exists]) 19 AC_DEFINE(HAVE_FILE_AIO_FSYNC, 1, [fops->aio_fsync() exists])
|
H A D | kernel-vfs-rw-iterate.m4 | 14 fops __attribute__ ((unused)) = { 36 AC_MSG_CHECKING([whether fops->read/write_iter() are available]) 40 [fops->read/write_iter() are available])
|
H A D | kernel-fallocate.m4 | 18 fops __attribute__ ((unused)) = { 31 AC_MSG_CHECKING([whether fops->fallocate() exists])
|
H A D | kernel-filemap-splice-read.m4 | 10 struct file_operations fops __attribute__((unused)) = {
|
H A D | kernel-vfs-extended-file_range.m4 | 32 fops __attribute__ ((unused)) = {
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 180 #define fops_get(fops) (fops) argument 181 #define replace_fops(f, fops) ((f)->f_op = (fops)) argument 189 const struct file_operations *fops); 192 const struct file_operations *fops, uid_t uid, 206 const struct file_operations *fops) in register_chrdev() argument 209 return (__register_chrdev(major, 0, 256, name, fops)); in register_chrdev() 214 const struct file_operations *fops, uid_t uid, gid_t gid, int mode) in register_chrdev_p() argument 217 return (__register_chrdev_p(major, 0, 256, name, fops, uid, gid, mode)); in register_chrdev_p()
|
H A D | debugfs.h | 62 const struct file_operations *fops); 67 const struct file_operations *fops, 72 const struct file_operations *fops); 76 const struct file_operations *fops,
|
H A D | anon_inodes.h | 38 const struct file_operations *fops, void *priv, int flags __unused) in anon_inode_getfile() argument 42 file = alloc_file(FMODE_READ, fops); in anon_inode_getfile()
|
H A D | miscdevice.h | 40 const struct file_operations *fops; member 58 misc->cdev->ops = misc->fops; in misc_register()
|
H A D | file.h | 156 alloc_file(int mode, const struct file_operations *fops) in alloc_file() argument 161 filp->f_op = fops; in alloc_file()
|
/freebsd/sys/compat/lindebugfs/ |
H A D | lindebugfs.c | 190 const struct file_operations *fops) in debugfs_create_file() argument 201 dm->dm_fops = fops; in debugfs_create_file() 210 flags = fops->write ? PFS_RDWR : PFS_RD; in debugfs_create_file() 225 const struct file_operations *fops, in debugfs_create_file_size() argument 229 return debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size() 245 const struct file_operations *fops) in debugfs_create_file_unsafe() argument 248 return (debugfs_create_file(name, mode, parent, data, fops)); in debugfs_create_file_unsafe() 254 const struct file_operations *fops, in debugfs_create_mode_unsafe() argument 267 return (debugfs_create_file_unsafe(name, mode, parent, data, fops)); in debugfs_create_mode_unsafe()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | uverbs_types.h | 174 const struct file_operations *fops; member 194 .fops = _fops, \
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | debugfs.c | 107 const struct file_operations *fops = ops ? ops : &fops_regval; in mt76_register_debugfs_fops() local 117 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops); in mt76_register_debugfs_fops()
|
/freebsd/sys/kern/ |
H A D | kern_event.c | 1492 const struct filterops *fops; in kqueue_register() local 1510 fops = kqueue_fo_find(filt); in kqueue_register() 1511 if (fops == NULL) in kqueue_register() 1533 if (fops->f_isfd) { in kqueue_register() 1547 error = kqueue_expand(kq, fops, kev->ident, mflag); in kqueue_register() 1643 kn->kn_fop = fops; in kqueue_register() 1648 fops = NULL; in kqueue_register() 1712 if (!fops->f_isfd && fops->f_touch != NULL) { in kqueue_register() 1713 fops->f_touch(kn, kev, EVENT_REGISTER); in kqueue_register() 1753 if (fops != NULL) in kqueue_register() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_rdma_core.c | 363 if (f->f_op != fd_type->fops) { in lookup_get_fd_uobject() 462 if (WARN_ON(fd_type->fops->release != &uverbs_uobject_fd_release)) in alloc_begin_fd_uobject() 474 filp = alloc_file(fd_type->flags, fd_type->fops); in alloc_begin_fd_uobject()
|
H A D | ib_ucma.c | 1756 .fops = &ucma_fops,
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_ctldir.c | 481 const struct file_operations *fops, const struct inode_operations *ops, in zfsctl_inode_alloc() argument 526 ip->i_fop = fops; in zfsctl_inode_alloc() 553 const struct file_operations *fops, const struct inode_operations *ops) in zfsctl_inode_lookup() argument 577 ip = zfsctl_inode_alloc(zfsvfs, id, fops, ops, creation); in zfsctl_inode_lookup()
|
H A D | zfs_ioctl_os.c | 241 .fops = &zfsdev_fops,
|
H A D | zvol_os.c | 1229 zso->zvo_disk->fops = &zvol_ops_blk_mq; in zvol_alloc() 1232 zso->zvo_disk->fops = &zvol_ops; in zvol_alloc()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 2516 const struct file_operations *fops) in __register_chrdev() argument 2524 cdev->ops = fops; in __register_chrdev() 2537 const struct file_operations *fops, uid_t uid, in __register_chrdev_p() argument 2546 cdev->ops = fops; in __register_chrdev_p()
|
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | blkdev_compat.h | 357 const struct block_device_operations *bdo = gd->fops; in zfs_check_media_change()
|