/fs/ |
D | anon_inodes.c | 128 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()
|
D | block_dev.c | 758 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 …]
|
D | char_dev.c | 266 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/ |
D | inode.c | 38 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/ |
D | xip.c | 21 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/ |
D | main.c | 40 .fops = &cachefiles_daemon_fops,
|
/fs/dlm/ |
D | user.c | 343 ls->ls_device.fops = &device_fops; in dlm_device_register() 976 .fops = &ctl_device_fops, 989 .fops = &monitor_device_fops,
|
D | plock.c | 491 .fops = &dev_fops
|
/fs/ecryptfs/ |
D | miscdev.c | 475 .fops = &ecryptfs_miscdev_fops
|
/fs/fuse/ |
D | cuse.c | 591 .fops = &cuse_channel_fops,
|
D | dev.c | 2187 .fops = &fuse_dev_operations,
|
/fs/autofs4/ |
D | dev-ioctl.c | 723 .fops = &_dev_ioctl_fops
|
/fs/ocfs2/ |
D | stack_user.c | 634 .fops = &ocfs2_control_fops,
|
/fs/proc/ |
D | base.c | 125 #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/ |
D | super.c | 1672 .fops = &btrfs_ctl_fops
|