Lines Matching defs:nfs_rpc_ops

1740 struct nfs_rpc_ops {  struct
1741 u32 version; /* Protocol version */
1742 const struct dentry_operations *dentry_ops;
1743 const struct inode_operations *dir_inode_ops;
1744 const struct inode_operations *file_inode_ops;
1745 const struct file_operations *file_ops;
1746 const struct nlmclnt_operations *nlmclnt_ops;
1748 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1750 int (*submount) (struct fs_context *, struct nfs_server *);
1751 int (*try_get_tree) (struct fs_context *);
1752 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1754 int (*setattr) (struct dentry *, struct nfs_fattr *,
1756 int (*lookup) (struct inode *, struct dentry *,
1758 int (*lookupp) (struct inode *, struct nfs_fh *,
1760 int (*access) (struct inode *, struct nfs_access_entry *, const struct cred *);
1761 int (*readlink)(struct inode *, struct page *, unsigned int,
1763 int (*create) (struct inode *, struct dentry *,
1765 int (*remove) (struct inode *, struct dentry *);
1766 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1767 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1768 int (*unlink_done) (struct rpc_task *, struct inode *);
1769 void (*rename_setup) (struct rpc_message *msg,
1772 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1773 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1774 int (*link) (struct inode *, struct inode *, const struct qstr *);
1775 int (*symlink) (struct inode *, struct dentry *, struct folio *,
1777 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1778 int (*rmdir) (struct inode *, const struct qstr *);
1779 int (*readdir) (struct nfs_readdir_arg *, struct nfs_readdir_res *);
1780 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1782 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1784 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1786 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1788 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1789 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1790 int (*pgio_rpc_prepare)(struct rpc_task *,
1792 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1793 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1794 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1796 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1797 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1799 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1800 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1801 int (*lock)(struct file *, int, struct file_lock *);
1802 int (*lock_check_bounds)(const struct file_lock *);
1803 void (*clear_acl_cache)(struct inode *);
1804 void (*close_context)(struct nfs_open_context *ctx, int);
1805 struct inode * (*open_context) (struct inode *dir,
1833 extern const struct nfs_rpc_ops nfs_v2_clientops; argument