Lines Matching defs:nfs_rpc_ops
1768 struct nfs_rpc_ops { struct
1769 u32 version; /* Protocol version */
1770 const struct dentry_operations *dentry_ops;
1771 const struct inode_operations *dir_inode_ops;
1772 const struct inode_operations *file_inode_ops;
1773 const struct file_operations *file_ops;
1774 const struct nlmclnt_operations *nlmclnt_ops;
1776 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1778 int (*submount) (struct fs_context *, struct nfs_server *);
1779 int (*try_get_tree) (struct fs_context *);
1780 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1782 int (*setattr) (struct dentry *, struct nfs_fattr *,
1784 int (*lookup) (struct inode *, struct dentry *, const struct qstr *,
1786 int (*lookupp) (struct inode *, struct nfs_fh *,
1788 int (*access) (struct inode *, struct nfs_access_entry *, const struct cred *);
1789 int (*readlink)(struct inode *, struct page *, unsigned int,
1791 int (*create) (struct inode *, struct dentry *,
1793 int (*remove) (struct inode *, struct dentry *);
1794 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1795 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1796 int (*unlink_done) (struct rpc_task *, struct inode *);
1797 void (*rename_setup) (struct rpc_message *msg,
1800 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1801 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1802 int (*link) (struct inode *, struct inode *, const struct qstr *);
1803 int (*symlink) (struct inode *, struct dentry *, struct folio *,
1805 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1806 int (*rmdir) (struct inode *, const struct qstr *);
1807 int (*readdir) (struct nfs_readdir_arg *, struct nfs_readdir_res *);
1808 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1810 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1812 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1814 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1816 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1817 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1818 int (*pgio_rpc_prepare)(struct rpc_task *,
1820 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1821 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1822 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1824 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1825 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1827 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1828 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1829 int (*lock)(struct file *, int, struct file_lock *);
1830 int (*lock_check_bounds)(const struct file_lock *);
1831 void (*clear_acl_cache)(struct inode *);
1832 void (*close_context)(struct nfs_open_context *ctx, int);
1833 struct inode * (*open_context) (struct inode *dir,
1838 int (*have_delegation)(struct inode *, fmode_t, int);
1839 int (*return_delegation)(struct inode *);
1840 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *);
1841 struct nfs_client *(*init_client) (struct nfs_client *,
1843 void (*free_client) (struct nfs_client *);
1844 struct nfs_server *(*create_server)(struct fs_context *);
1845 struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *,
1847 int (*discover_trunking)(struct nfs_server *, struct nfs_fh *);
1848 void (*enable_swap)(struct inode *inode);
1849 void (*disable_swap)(struct inode *inode);