Home
last modified time | relevance | path

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

/fs/
Danon_inodes.c128 const struct file_operations *fops, in anon_inode_getfile() argument
138 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfile()
162 file = alloc_file(&path, OPEN_FMODE(flags), fops); in anon_inode_getfile()
175 module_put(fops->owner); in anon_inode_getfile()
196 int anon_inode_getfd(const char *name, const struct file_operations *fops, in anon_inode_getfd() argument
207 file = anon_inode_getfile(name, fops, priv, flags); in anon_inode_getfd()
Dblock_dev.c758 module_put(disk->fops->owner); in bd_start_claiming()
988 if (disk->fops->revalidate_disk) in revalidate_disk()
989 ret = disk->fops->revalidate_disk(disk); in revalidate_disk()
1016 const struct block_device_operations *bdops = disk->fops; in check_disk_change()
1087 owner = disk->fops->owner; in __blkdev_get()
1104 if (disk->fops->open) { in __blkdev_get()
1105 ret = disk->fops->open(bdev, mode); in __blkdev_get()
1169 if (bdev->bd_disk->fops->open) in __blkdev_get()
1170 ret = bdev->bd_disk->fops->open(bdev, mode); in __blkdev_get()
1424 if (disk->fops->release) in __blkdev_put()
[all …]
Dchar_dev.c266 const struct file_operations *fops) in __register_chrdev() argument
280 cdev->owner = fops->owner; in __register_chrdev()
281 cdev->ops = fops; in __register_chrdev()
558 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init() argument
563 cdev->ops = fops; in cdev_init()
/fs/debugfs/
Dinode.c38 void *data, const struct file_operations *fops) in debugfs_get_inode() argument
52 inode->i_fop = fops ? fops : &debugfs_file_operations; in debugfs_get_inode()
75 const struct file_operations *fops) in debugfs_mknod() argument
83 inode = debugfs_get_inode(dir->i_sb, mode, dev, data, fops); in debugfs_mknod()
113 void *data, const struct file_operations *fops) in debugfs_create() argument
118 res = debugfs_mknod(dir, dentry, mode, 0, data, fops); in debugfs_create()
307 const struct file_operations *fops) in __create_file() argument
341 data, fops); in __create_file()
385 const struct file_operations *fops) in debugfs_create_file() argument
395 return __create_file(name, mode, parent, data, fops); in debugfs_create_file()
/fs/ext2/
Dxip.c21 const struct block_device_operations *ops = bdev->bd_disk->fops; in __inode_direct_access()
68 !sb->s_bdev->bd_disk->fops->direct_access) { in ext2_xip_verify_sb()
/fs/cachefiles/
Dmain.c40 .fops = &cachefiles_daemon_fops,
/fs/dlm/
Duser.c343 ls->ls_device.fops = &device_fops; in dlm_device_register()
976 .fops = &ctl_device_fops,
989 .fops = &monitor_device_fops,
Dplock.c491 .fops = &dev_fops
/fs/ecryptfs/
Dmiscdev.c475 .fops = &ecryptfs_miscdev_fops
/fs/fuse/
Dcuse.c591 .fops = &cuse_channel_fops,
Ddev.c2187 .fops = &fuse_dev_operations,
/fs/autofs4/
Ddev-ioctl.c723 .fops = &_dev_ioctl_fops
/fs/ocfs2/
Dstack_user.c634 .fops = &ocfs2_control_fops,
/fs/proc/
Dbase.c125 #define DIR(NAME, MODE, iops, fops) \ argument
126 NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} )
131 #define REG(NAME, MODE, fops) \ argument
132 NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {})
/fs/btrfs/
Dsuper.c1672 .fops = &btrfs_ctl_fops