Lines Matching defs:nfs_rpc_ops
1769 struct nfs_rpc_ops { struct
1770 u32 version; /* Protocol version */
1771 const struct dentry_operations *dentry_ops;
1772 const struct inode_operations *dir_inode_ops;
1773 const struct inode_operations *file_inode_ops;
1774 const struct file_operations *file_ops;
1775 const struct nlmclnt_operations *nlmclnt_ops;
1777 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1779 int (*submount) (struct fs_context *, struct nfs_server *);
1780 int (*try_get_tree) (struct fs_context *);
1781 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1783 int (*setattr) (struct dentry *, struct nfs_fattr *,
1785 int (*lookup) (struct inode *, struct dentry *, const struct qstr *,
1787 int (*lookupp) (struct inode *, struct nfs_fh *,
1789 int (*access) (struct inode *, struct nfs_access_entry *, const struct cred *);
1790 int (*readlink)(struct inode *, struct page *, unsigned int,
1792 int (*create) (struct inode *, struct dentry *,
1794 int (*remove) (struct inode *, struct dentry *);
1795 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1796 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1797 int (*unlink_done) (struct rpc_task *, struct inode *);
1798 void (*rename_setup) (struct rpc_message *msg,
1801 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1802 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1803 int (*link) (struct inode *, struct inode *, const struct qstr *);
1804 int (*symlink) (struct inode *, struct dentry *, struct folio *,
1806 struct dentry *(*mkdir) (struct inode *, struct dentry *, struct iattr *);
1807 int (*rmdir) (struct inode *, const struct qstr *);
1808 int (*readdir) (struct nfs_readdir_arg *, struct nfs_readdir_res *);
1809 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1811 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1813 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1815 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1817 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1818 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1819 int (*pgio_rpc_prepare)(struct rpc_task *,
1821 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1822 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1823 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1825 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1826 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1828 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1829 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1830 int (*lock)(struct file *, int, struct file_lock *);
1831 int (*lock_check_bounds)(const struct file_lock *);
1832 void (*clear_acl_cache)(struct inode *);
1833 void (*close_context)(struct nfs_open_context *ctx, int);
1834 struct inode * (*open_context) (struct inode *dir,
1839 int (*have_delegation)(struct inode *, fmode_t, int);
1840 int (*return_delegation)(struct inode *);
1841 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *);
1842 struct nfs_client *(*init_client) (struct nfs_client *,
1844 void (*free_client) (struct nfs_client *);
1845 struct nfs_server *(*create_server)(struct fs_context *);
1846 struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *,
1848 int (*discover_trunking)(struct nfs_server *, struct nfs_fh *);
1849 void (*enable_swap)(struct inode *inode);
1850 void (*disable_swap)(struct inode *inode);