Home
last modified time | relevance | path

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

/fs/
A Danon_inodes.c135 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 Dchar_dev.c270 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 Dfile_table.c373 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 Duserfaultfd.c2203 .fops = &userfaultfd_dev_fops
/fs/debugfs/
A Dinode.c457 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 Dfile.c562 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 Devent_inode.c503 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 Dinode.c634 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 Dthread_with_file.c23 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 Dblocklayout.c237 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 Dnfs4layouts.c149 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 Dmain.c39 .fops = &cachefiles_daemon_fops,
/fs/nfs/blocklayout/
A Ddev.c20 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 Duser.c361 ls->ls_device.fops = &device_fops; in dlm_device_register()
946 .fops = &ctl_device_fops,
959 .fops = &monitor_device_fops,
A Dplock.c611 .fops = &dev_fops
/fs/ecryptfs/
A Dmiscdev.c459 .fops = &ecryptfs_miscdev_fops
/fs/fuse/
A Dcuse.c608 .fops = &cuse_channel_fops,
A Ddev.c2666 .fops = &fuse_dev_operations,
/fs/autofs/
A Ddev-ioctl.c801 .fops = &_dev_ioctl_fops,
/fs/proc/
A Dbase.c172 #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 Dstack_user.c621 .fops = &ocfs2_control_fops,
/fs/btrfs/
A Dsuper.c2447 .fops = &btrfs_ctl_fops

Completed in 83 milliseconds