Lines Matching defs:nfs_rpc_ops

1733 struct nfs_rpc_ops {  struct
1734 u32 version; /* Protocol version */
1735 const struct dentry_operations *dentry_ops;
1736 const struct inode_operations *dir_inode_ops;
1737 const struct inode_operations *file_inode_ops;
1738 const struct file_operations *file_ops;
1739 const struct nlmclnt_operations *nlmclnt_ops;
1741 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1743 int (*submount) (struct fs_context *, struct nfs_server *);
1744 int (*try_get_tree) (struct fs_context *);
1745 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1747 int (*setattr) (struct dentry *, struct nfs_fattr *,
1749 int (*lookup) (struct inode *, struct dentry *,
1751 int (*lookupp) (struct inode *, struct nfs_fh *,
1753 int (*access) (struct inode *, struct nfs_access_entry *, const struct cred *);
1754 int (*readlink)(struct inode *, struct page *, unsigned int,
1756 int (*create) (struct inode *, struct dentry *,
1758 int (*remove) (struct inode *, struct dentry *);
1759 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1760 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1761 int (*unlink_done) (struct rpc_task *, struct inode *);
1762 void (*rename_setup) (struct rpc_message *msg,
1765 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1766 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1767 int (*link) (struct inode *, struct inode *, const struct qstr *);
1768 int (*symlink) (struct inode *, struct dentry *, struct page *,
1770 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1771 int (*rmdir) (struct inode *, const struct qstr *);
1772 int (*readdir) (struct nfs_readdir_arg *, struct nfs_readdir_res *);
1773 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1775 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1777 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1779 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1781 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1782 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1783 int (*pgio_rpc_prepare)(struct rpc_task *,
1785 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1786 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1787 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1789 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1790 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1792 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1793 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1794 int (*lock)(struct file *, int, struct file_lock *);
1795 int (*lock_check_bounds)(const struct file_lock *);
1796 void (*clear_acl_cache)(struct inode *);
1797 void (*close_context)(struct nfs_open_context *ctx, int);
1798 struct inode * (*open_context) (struct inode *dir,
1826 extern const struct nfs_rpc_ops nfs_v2_clientops; argument