| /fs/ |
| A D | anon_inodes.c | 135 const struct file_operations *fops, in __anon_inode_getfile() argument 143 if (fops->owner && !try_module_get(fops->owner)) in __anon_inode_getfile() 167 flags & (O_ACCMODE | O_NONBLOCK), fops); in __anon_inode_getfile() 180 module_put(fops->owner); in __anon_inode_getfile() 201 const struct file_operations *fops, in anon_inode_getfile() argument 204 return __anon_inode_getfile(name, fops, priv, flags, NULL, false); in anon_inode_getfile() 227 const struct file_operations *fops, in anon_inode_getfile_fmode() argument 268 const struct file_operations *fops, in anon_inode_create_getfile() argument 272 return __anon_inode_getfile(name, fops, priv, flags, in anon_inode_create_getfile() 278 const struct file_operations *fops, in __anon_inode_getfd() argument [all …]
|
| A D | char_dev.c | 270 const struct file_operations *fops) in __register_chrdev() argument 284 cdev->owner = fops->owner; in __register_chrdev() 285 cdev->ops = fops; in __register_chrdev() 375 const struct file_operations *fops; in chrdev_open() local 408 fops = fops_get(p->ops); in chrdev_open() 409 if (!fops) in chrdev_open() 412 replace_fops(filp, fops); in chrdev_open() 658 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init() argument 663 cdev->ops = fops; in cdev_init()
|
| A D | file_table.c | 373 const struct file_operations *fops) in alloc_file_pseudo() argument 383 file = alloc_file(&path, flags, fops); in alloc_file_pseudo() 401 const struct file_operations *fops) in alloc_file_pseudo_noaccount() argument 417 file_init_path(file, &path, fops); in alloc_file_pseudo_noaccount() 428 const struct file_operations *fops) in alloc_file_clone() argument 432 f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
|
| A D | userfaultfd.c | 2203 .fops = &userfaultfd_dev_fops
|
| /fs/debugfs/ |
| A D | inode.c | 457 const struct file_operations *fops) in debugfs_create_file_full() argument 461 fops); in debugfs_create_file_full() 468 const struct debugfs_short_fops *fops) in debugfs_create_file_short() argument 472 fops); in debugfs_create_file_short() 505 const struct file_operations *fops) in debugfs_create_file_unsafe() argument 510 fops); in debugfs_create_file_unsafe() 535 const struct file_operations *fops, in debugfs_create_file_size() argument 538 struct dentry *de = debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size()
|
| A D | file.c | 562 const struct file_operations *fops, in debugfs_create_mode_unsafe() argument 575 return debugfs_create_file_unsafe(name, mode, parent, value, fops); in debugfs_create_mode_unsafe()
|
| /fs/tracefs/ |
| A D | event_inode.c | 503 const struct file_operations *fops) in lookup_file_dentry() argument 510 return lookup_file(ei, dentry, mode, attr, data, fops); in lookup_file_dentry() 556 const struct file_operations *fops; in eventfs_root_lookup() local 563 if (entry->callback(name, &mode, &data, &fops) <= 0) in eventfs_root_lookup() 566 result = lookup_file_dentry(dentry, ei, i, mode, data, fops); in eventfs_root_lookup() 579 const struct file_operations *fops; in eventfs_iterate() local 631 r = entry->callback(name, &mode, &cdata, &fops); in eventfs_iterate()
|
| A D | inode.c | 634 const struct file_operations *fops) in tracefs_create_file() argument 660 inode->i_fop = fops ? fops : &tracefs_file_operations; in tracefs_create_file()
|
| /fs/bcachefs/ |
| A D | thread_with_file.c | 23 const struct file_operations *fops, in bch2_run_thread_with_file() argument 30 if (fops->read && fops->write) in bch2_run_thread_with_file() 32 else if (fops->read) in bch2_run_thread_with_file() 34 else if (fops->write) in bch2_run_thread_with_file() 51 file = anon_inode_getfile(name, fops, thr, fd_flags); in bch2_run_thread_with_file()
|
| /fs/nfsd/ |
| A D | blocklayout.c | 237 ret = disk->fops->get_unique_id(disk, b->scsi.designator, type); in nfsd4_block_get_unique_id() 275 ops = sb->s_bdev->bd_disk->fops->pr_ops; in nfsd4_block_get_device_info_scsi() 338 bdev->bd_disk->fops->pr_ops->pr_preempt(bdev, NFSD_MDS_PR_KEY, in nfsd4_scsi_fence_client()
|
| A D | nfs4layouts.c | 149 sb->s_bdev->bd_disk->fops->pr_ops && in nfsd4_setup_layout_type() 150 sb->s_bdev->bd_disk->fops->get_unique_id) in nfsd4_setup_layout_type()
|
| /fs/cachefiles/ |
| A D | main.c | 39 .fops = &cachefiles_daemon_fops,
|
| /fs/nfs/blocklayout/ |
| A D | dev.c | 20 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in bl_unregister_scsi() 33 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in bl_register_scsi() 423 ops = bdev->bd_disk->fops->pr_ops; in bl_parse_scsi()
|
| /fs/dlm/ |
| A D | user.c | 361 ls->ls_device.fops = &device_fops; in dlm_device_register() 946 .fops = &ctl_device_fops, 959 .fops = &monitor_device_fops,
|
| A D | plock.c | 611 .fops = &dev_fops
|
| /fs/ecryptfs/ |
| A D | miscdev.c | 459 .fops = &ecryptfs_miscdev_fops
|
| /fs/fuse/ |
| A D | cuse.c | 608 .fops = &cuse_channel_fops,
|
| A D | dev.c | 2666 .fops = &fuse_dev_operations,
|
| /fs/autofs/ |
| A D | dev-ioctl.c | 801 .fops = &_dev_ioctl_fops,
|
| /fs/proc/ |
| A D | base.c | 172 #define DIR(NAME, MODE, iops, fops) \ argument 173 NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} ) 178 #define REG(NAME, MODE, fops) \ argument 179 NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {})
|
| /fs/ocfs2/ |
| A D | stack_user.c | 621 .fops = &ocfs2_control_fops,
|
| /fs/btrfs/ |
| A D | super.c | 2447 .fops = &btrfs_ctl_fops
|