Home
last modified time | relevance | path

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

/fs/
Danon_inodes.c71 const struct file_operations *fops, in anon_inode_getfile() argument
81 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfile()
105 file = alloc_file(&path, OPEN_FMODE(flags), fops); in anon_inode_getfile()
118 module_put(fops->owner); in anon_inode_getfile()
139 int anon_inode_getfd(const char *name, const struct file_operations *fops, in anon_inode_getfd() argument
150 file = anon_inode_getfile(name, fops, priv, flags); in anon_inode_getfd()
Dchar_dev.c248 const struct file_operations *fops) in __register_chrdev() argument
262 cdev->owner = fops->owner; in __register_chrdev()
263 cdev->ops = fops; in __register_chrdev()
353 const struct file_operations *fops; in chrdev_open() local
386 fops = fops_get(p->ops); in chrdev_open()
387 if (!fops) in chrdev_open()
390 replace_fops(filp, fops); in chrdev_open()
543 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init() argument
548 cdev->ops = fops; in cdev_init()
Dblock_dev.c405 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_read_page()
443 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_write_page()
482 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_direct_access()
943 module_put(disk->fops->owner); in bd_start_claiming()
1167 if (disk->fops->revalidate_disk) in revalidate_disk()
1168 ret = disk->fops->revalidate_disk(disk); in revalidate_disk()
1194 const struct block_device_operations *bdops = disk->fops; in check_disk_change()
1265 owner = disk->fops->owner; in __blkdev_get()
1281 if (disk->fops->open) { in __blkdev_get()
1282 ret = disk->fops->open(bdev, mode); in __blkdev_get()
[all …]
/fs/debugfs/
Dinode.c362 const struct file_operations *fops) in debugfs_create_file() argument
366 fops ? &debugfs_full_proxy_file_operations : in debugfs_create_file()
368 fops); in debugfs_create_file()
401 const struct file_operations *fops) in debugfs_create_file_unsafe() argument
405 fops ? &debugfs_open_proxy_file_operations : in debugfs_create_file_unsafe()
407 fops); in debugfs_create_file_unsafe()
440 const struct file_operations *fops, in debugfs_create_file_size() argument
443 struct dentry *de = debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size()
Dfile.c315 const struct file_operations *fops, in debugfs_create_mode_unsafe() argument
328 return debugfs_create_file_unsafe(name, mode, parent, value, fops); in debugfs_create_mode_unsafe()
/fs/tracefs/
Dinode.c394 const struct file_operations *fops) in tracefs_create_file() argument
412 inode->i_fop = fops ? fops : &tracefs_file_operations; in tracefs_create_file()
/fs/cachefiles/
Dmain.c40 .fops = &cachefiles_daemon_fops,
/fs/nfsd/
Dblocklayout.c332 ops = sb->s_bdev->bd_disk->fops->pr_ops; in nfsd4_block_get_device_info_scsi()
388 bdev->bd_disk->fops->pr_ops->pr_preempt(bdev, NFSD_MDS_PR_KEY, in nfsd4_scsi_fence_client()
Dnfs4layouts.c155 sb->s_bdev && sb->s_bdev->bd_disk->fops->pr_ops) in nfsd4_setup_layout_type()
/fs/ext4/
Dsysfs.c380 const struct file_operations *fops; member
407 p->fops, sb); in ext4_register_sysfs()
/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.c491 .fops = &dev_fops
/fs/nfs/blocklayout/
Ddev.c27 dev->bdev->bd_disk->fops->pr_ops; in bl_free_device()
376 ops = d->bdev->bd_disk->fops->pr_ops; in bl_parse_scsi()
/fs/ecryptfs/
Dmiscdev.c475 .fops = &ecryptfs_miscdev_fops
/fs/fuse/
Dcuse.c599 .fops = &cuse_channel_fops,
Ddev.c2248 .fops = &fuse_dev_operations,
/fs/autofs4/
Ddev-ioctl.c737 .fops = &_dev_ioctl_fops
/fs/proc/
Dbase.c126 #define DIR(NAME, MODE, iops, fops) \ argument
127 NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} )
132 #define REG(NAME, MODE, fops) \ argument
133 NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {})
/fs/ocfs2/
Dstack_user.c637 .fops = &ocfs2_control_fops,
/fs/btrfs/
Dsuper.c2343 .fops = &btrfs_ctl_fops