| /src/sys/compat/linuxkpi/common/include/linux/ |
| H A D | fs.h | 185 #define fops_get(fops) (fops) argument 186 #define replace_fops(f, fops) ((f)->f_op = (fops)) argument 194 const struct file_operations *fops); 197 const struct file_operations *fops, uid_t uid, 211 const struct file_operations *fops) in register_chrdev() argument 214 return (__register_chrdev(major, 0, 256, name, fops)); in register_chrdev() 219 const struct file_operations *fops, uid_t uid, gid_t gid, int mode) in register_chrdev_p() argument 222 return (__register_chrdev_p(major, 0, 256, name, fops, uid, gid, mode)); in register_chrdev_p() 403 #define DEFINE_SIMPLE_ATTRIBUTE(fops, get, set, fmt) \ argument 404 __DEFINE_SIMPLE_ATTRIBUTE(fops, get, set, fmt, simple_attr_write) [all …]
|
| 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 | 161 alloc_file(int mode, const struct file_operations *fops) in alloc_file() argument 166 filp->f_op = fops; in alloc_file()
|
| /src/sys/contrib/openzfs/config/ |
| H A D | kernel-vfs-file_range.m4 | 87 fops __attribute__ ((unused)) = { 93 AC_MSG_CHECKING([whether fops->clone_file_range() is available]) 97 [fops->clone_file_range() is available]) 117 fops __attribute__ ((unused)) = { 123 AC_MSG_CHECKING([whether fops->dedupe_file_range() is available]) 127 [fops->dedupe_file_range() is available]) 147 fops __attribute__ ((unused)) = { 154 AC_MSG_CHECKING([whether fops->remap_file_range() is available]) 158 [fops->remap_file_range() is available])
|
| H A D | kernel-filemap-splice-read.m4 | 11 struct file_operations fops __attribute__((unused)) = {
|
| /src/sys/compat/lindebugfs/ |
| H A D | lindebugfs.c | 215 const struct file_operations *fops) in debugfs_create_file() argument 226 dm->dm_fops = fops; in debugfs_create_file() 235 flags = fops->write ? PFS_RDWR : PFS_RD; in debugfs_create_file() 250 const struct file_operations *fops, in debugfs_create_file_size() argument 254 return debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size() 270 const struct file_operations *fops) in debugfs_create_file_unsafe() argument 273 return (debugfs_create_file(name, mode, parent, data, fops)); in debugfs_create_file_unsafe() 279 const struct file_operations *fops, in debugfs_create_mode_unsafe() argument 292 return (debugfs_create_file_unsafe(name, mode, parent, data, fops)); in debugfs_create_mode_unsafe()
|
| /src/sys/ofed/include/rdma/ |
| H A D | uverbs_types.h | 174 const struct file_operations *fops; member 194 .fops = _fops, \
|
| /src/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 115 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops); in mt76_register_debugfs_fops()
|
| /src/sys/kern/ |
| H A D | kern_event.c | 116 static int kqueue_expand(struct kqueue *kq, const struct filterops *fops, 1657 const struct filterops *fops; in kqueue_register() local 1675 fops = kqueue_fo_find(filt); in kqueue_register() 1676 if (fops == NULL) in kqueue_register() 1698 if (fops->f_isfd) { in kqueue_register() 1707 if ((kev->flags & EV_ADD) == EV_ADD && kqueue_expand(kq, fops, in kqueue_register() 1712 error = kqueue_expand(kq, fops, kev->ident, mflag); in kqueue_register() 1749 error = kqueue_expand(kq, fops, kev->ident, mflag); in kqueue_register() 1808 kn->kn_fop = fops; in kqueue_register() 1813 fops = NULL; in kqueue_register() [all …]
|
| /src/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,
|
| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_ctldir.c | 489 const struct file_operations *fops, const struct inode_operations *ops, in zfsctl_inode_alloc() argument 529 ip->i_fop = fops; in zfsctl_inode_alloc() 556 const struct file_operations *fops, const struct inode_operations *ops) in zfsctl_inode_lookup() argument 580 ip = zfsctl_inode_alloc(zfsvfs, id, fops, ops, creation); in zfsctl_inode_lookup()
|
| H A D | zfs_ioctl_os.c | 242 .fops = &zfsdev_fops,
|
| H A D | zvol_os.c | 1428 zso->zvo_disk->fops = &zvol_ops_blk_mq; in zvol_alloc() 1433 zso->zvo_disk->fops = &zvol_ops; in zvol_alloc()
|
| /src/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | blkdev_compat.h | 290 const struct block_device_operations *bdo = gd->fops; in zfs_check_media_change()
|
| /src/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 2664 const struct file_operations *fops) in __register_chrdev() argument 2672 cdev->ops = fops; in __register_chrdev() 2685 const struct file_operations *fops, uid_t uid, in __register_chrdev_p() argument 2694 cdev->ops = fops; in __register_chrdev_p()
|
| /src/contrib/sqlite3/autosetup/ |
| H A D | jimsh0.c | 2146 const JimAioFopsType *fops; member 2253 if (af && af->fops) in JimAioErrorString() 2254 return af->fops->strerror(af); in JimAioErrorString() 2280 ret = af->fops->error(af); in JimCheckStreamError() 2321 int ret = af->fops->writer(af, pt, len); in aio_flush() 2376 retval = af->fops->reader(af, af->rbuf, readlen, flags & AIO_NONBLOCK); in aio_read_len() 3409 af->fops = &stdio_fops; in JimMakeChannel()
|