fuse_i.h (b18da0c56e9ff43a007b6c8e302c62e720964151) fuse_i.h (451d0f599934fd97faf54a5d7954b518e66192cb)
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 741 unchanged lines hidden (view full) ---

750 * File-system tells the kernel to invalidate cache for the given node id.
751 */
752int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid,
753 loff_t offset, loff_t len);
754
755/**
756 * File-system tells the kernel to invalidate parent attributes and
757 * the dentry matching parent/name.
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 741 unchanged lines hidden (view full) ---

750 * File-system tells the kernel to invalidate cache for the given node id.
751 */
752int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid,
753 loff_t offset, loff_t len);
754
755/**
756 * File-system tells the kernel to invalidate parent attributes and
757 * the dentry matching parent/name.
758 *
759 * If the child_nodeid is non-zero and:
760 * - matches the inode number for the dentry matching parent/name,
761 * - is not a mount point
762 * - is a file or oan empty directory
763 * then the dentry is unhashed (d_delete()).
758 */
759int fuse_reverse_inval_entry(struct super_block *sb, u64 parent_nodeid,
764 */
765int fuse_reverse_inval_entry(struct super_block *sb, u64 parent_nodeid,
760 struct qstr *name);
766 u64 child_nodeid, struct qstr *name);
761
762int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
763 bool isdir);
764ssize_t fuse_direct_io(struct file *file, const char __user *buf,
765 size_t count, loff_t *ppos, int write);
766long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
767 unsigned int flags);
768long fuse_ioctl_common(struct file *file, unsigned int cmd,
769 unsigned long arg, unsigned int flags);
770unsigned fuse_file_poll(struct file *file, poll_table *wait);
771int fuse_dev_release(struct inode *inode, struct file *file);
772
773void fuse_write_update_size(struct inode *inode, loff_t pos);
774
775#endif /* _FS_FUSE_I_H */
767
768int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
769 bool isdir);
770ssize_t fuse_direct_io(struct file *file, const char __user *buf,
771 size_t count, loff_t *ppos, int write);
772long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
773 unsigned int flags);
774long fuse_ioctl_common(struct file *file, unsigned int cmd,
775 unsigned long arg, unsigned int flags);
776unsigned fuse_file_poll(struct file *file, poll_table *wait);
777int fuse_dev_release(struct inode *inode, struct file *file);
778
779void fuse_write_update_size(struct inode *inode, loff_t pos);
780
781#endif /* _FS_FUSE_I_H */