Lines Matching defs:nfs_rpc_ops
1706 struct nfs_rpc_ops { struct
1707 u32 version; /* Protocol version */
1708 const struct dentry_operations *dentry_ops;
1709 const struct inode_operations *dir_inode_ops;
1710 const struct inode_operations *file_inode_ops;
1711 const struct file_operations *file_ops;
1712 const struct nlmclnt_operations *nlmclnt_ops;
1714 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1716 int (*submount) (struct fs_context *, struct nfs_server *);
1717 int (*try_get_tree) (struct fs_context *);
1718 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1721 int (*setattr) (struct dentry *, struct nfs_fattr *,
1723 int (*lookup) (struct inode *, struct dentry *,
1726 int (*lookupp) (struct inode *, struct nfs_fh *,
1728 int (*access) (struct inode *, struct nfs_access_entry *);
1729 int (*readlink)(struct inode *, struct page *, unsigned int,
1731 int (*create) (struct inode *, struct dentry *,
1733 int (*remove) (struct inode *, struct dentry *);
1734 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1735 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1736 int (*unlink_done) (struct rpc_task *, struct inode *);
1737 void (*rename_setup) (struct rpc_message *msg,
1740 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1741 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1742 int (*link) (struct inode *, struct inode *, const struct qstr *);
1743 int (*symlink) (struct inode *, struct dentry *, struct page *,
1745 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1746 int (*rmdir) (struct inode *, const struct qstr *);
1747 int (*readdir) (struct dentry *, const struct cred *,
1749 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1751 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1753 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1755 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1757 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1758 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1759 int (*pgio_rpc_prepare)(struct rpc_task *,
1761 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1762 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1763 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1765 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1766 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1768 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1769 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1770 int (*lock)(struct file *, int, struct file_lock *);
1771 int (*lock_check_bounds)(const struct file_lock *);
1772 void (*clear_acl_cache)(struct inode *);
1773 void (*close_context)(struct nfs_open_context *ctx, int);
1774 struct inode * (*open_context) (struct inode *dir,
1799 extern const struct nfs_rpc_ops nfs_v2_clientops; argument