Home
last modified time | relevance | path

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

/fs/
Danon_inodes.c75 const struct file_operations *fops, in anon_inode_getfile() argument
83 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfile()
92 flags & (O_ACCMODE | O_NONBLOCK), fops); in anon_inode_getfile()
104 module_put(fops->owner); in anon_inode_getfile()
125 int anon_inode_getfd(const char *name, const struct file_operations *fops, in anon_inode_getfd() argument
136 file = anon_inode_getfile(name, fops, priv, flags); in anon_inode_getfd()
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()
648 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init() argument
653 cdev->ops = fops; in cdev_init()
Dfile_table.c216 const struct file_operations *fops) in alloc_file_pseudo() argument
232 file = alloc_file(&path, flags, fops); in alloc_file_pseudo()
242 const struct file_operations *fops) in alloc_file_clone() argument
244 struct file *f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
Dblock_dev.c702 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_read_page()
741 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_write_page()
1450 if (disk->fops->revalidate_disk) in revalidate_disk()
1451 ret = disk->fops->revalidate_disk(disk); in revalidate_disk()
1485 const struct block_device_operations *bdops = disk->fops; in check_disk_change()
1577 if (disk->fops->open) { in __blkdev_get()
1578 ret = disk->fops->open(bdev, mode); in __blkdev_get()
1638 if (bdev->bd_disk->fops->open) in __blkdev_get()
1639 ret = bdev->bd_disk->fops->open(bdev, mode); in __blkdev_get()
1869 if (disk->fops->release) in __blkdev_put()
[all …]
/fs/debugfs/
Dinode.c438 const struct file_operations *fops) in debugfs_create_file() argument
442 fops ? &debugfs_full_proxy_file_operations : in debugfs_create_file()
444 fops); in debugfs_create_file()
477 const struct file_operations *fops) in debugfs_create_file_unsafe() argument
481 fops ? &debugfs_open_proxy_file_operations : in debugfs_create_file_unsafe()
483 fops); in debugfs_create_file_unsafe()
517 const struct file_operations *fops, in debugfs_create_file_size() argument
520 struct dentry *de = debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size()
Dfile.c383 const struct file_operations *fops, in debugfs_create_mode_unsafe() argument
396 return debugfs_create_file_unsafe(name, mode, parent, value, fops); in debugfs_create_mode_unsafe()
/fs/tracefs/
Dinode.c389 const struct file_operations *fops) in tracefs_create_file() argument
410 inode->i_fop = fops ? fops : &tracefs_file_operations; in tracefs_create_file()
/fs/cachefiles/
Dmain.c37 .fops = &cachefiles_daemon_fops,
/fs/nfsd/
Dblocklayout.c354 ops = sb->s_bdev->bd_disk->fops->pr_ops; in nfsd4_block_get_device_info_scsi()
410 bdev->bd_disk->fops->pr_ops->pr_preempt(bdev, NFSD_MDS_PR_KEY, in nfsd4_scsi_fence_client()
Dnfs4layouts.c148 sb->s_bdev && sb->s_bdev->bd_disk->fops->pr_ops && in nfsd4_setup_layout_type()
/fs/dlm/
Duser.c352 ls->ls_device.fops = &device_fops; in dlm_device_register()
969 .fops = &ctl_device_fops,
982 .fops = &monitor_device_fops,
Dplock.c488 .fops = &dev_fops
/fs/nfs/blocklayout/
Ddev.c28 dev->bdev->bd_disk->fops->pr_ops; in bl_free_device()
377 ops = d->bdev->bd_disk->fops->pr_ops; in bl_parse_scsi()
/fs/ecryptfs/
Dmiscdev.c458 .fops = &ecryptfs_miscdev_fops
/fs/fuse/
Dcuse.c608 .fops = &cuse_channel_fops,
Ddev.c2272 .fops = &fuse_dev_operations,
/fs/autofs/
Ddev-ioctl.c712 .fops = &_dev_ioctl_fops,
/fs/proc/
Dbase.c135 #define DIR(NAME, MODE, iops, fops) \ argument
136 NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} )
141 #define REG(NAME, MODE, fops) \ argument
142 NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {})
/fs/ocfs2/
Dstack_user.c629 .fops = &ocfs2_control_fops,
/fs/btrfs/
Dsuper.c2308 .fops = &btrfs_ctl_fops