Lines Matching defs:nfs_rpc_ops
1728 struct nfs_rpc_ops { struct
1729 u32 version; /* Protocol version */
1730 const struct dentry_operations *dentry_ops;
1731 const struct inode_operations *dir_inode_ops;
1732 const struct inode_operations *file_inode_ops;
1733 const struct file_operations *file_ops;
1734 const struct nlmclnt_operations *nlmclnt_ops;
1736 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1738 int (*submount) (struct fs_context *, struct nfs_server *);
1739 int (*try_get_tree) (struct fs_context *);
1740 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1743 int (*setattr) (struct dentry *, struct nfs_fattr *,
1745 int (*lookup) (struct inode *, struct dentry *,
1748 int (*lookupp) (struct inode *, struct nfs_fh *,
1750 int (*access) (struct inode *, struct nfs_access_entry *);
1751 int (*readlink)(struct inode *, struct page *, unsigned int,
1753 int (*create) (struct inode *, struct dentry *,
1755 int (*remove) (struct inode *, struct dentry *);
1756 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1757 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1758 int (*unlink_done) (struct rpc_task *, struct inode *);
1759 void (*rename_setup) (struct rpc_message *msg,
1762 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1763 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1764 int (*link) (struct inode *, struct inode *, const struct qstr *);
1765 int (*symlink) (struct inode *, struct dentry *, struct page *,
1767 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1768 int (*rmdir) (struct inode *, const struct qstr *);
1769 int (*readdir) (struct nfs_readdir_arg *, struct nfs_readdir_res *);
1770 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1772 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1774 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1776 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1778 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1779 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1780 int (*pgio_rpc_prepare)(struct rpc_task *,
1782 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1783 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1784 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1786 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1787 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1789 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1790 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1791 int (*lock)(struct file *, int, struct file_lock *);
1792 int (*lock_check_bounds)(const struct file_lock *);
1793 void (*clear_acl_cache)(struct inode *);
1794 void (*close_context)(struct nfs_open_context *ctx, int);
1795 struct inode * (*open_context) (struct inode *dir,
1820 extern const struct nfs_rpc_ops nfs_v2_clientops; argument