Lines Matching defs:nfs_rpc_ops
1629 struct nfs_rpc_ops { struct
1630 u32 version; /* Protocol version */
1631 const struct dentry_operations *dentry_ops;
1632 const struct inode_operations *dir_inode_ops;
1633 const struct inode_operations *file_inode_ops;
1634 const struct file_operations *file_ops;
1635 const struct nlmclnt_operations *nlmclnt_ops;
1637 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1639 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
1641 struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *,
1643 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1646 int (*setattr) (struct dentry *, struct nfs_fattr *,
1648 int (*lookup) (struct inode *, const struct qstr *,
1651 int (*lookupp) (struct inode *, struct nfs_fh *,
1653 int (*access) (struct inode *, struct nfs_access_entry *);
1654 int (*readlink)(struct inode *, struct page *, unsigned int,
1656 int (*create) (struct inode *, struct dentry *,
1658 int (*remove) (struct inode *, struct dentry *);
1659 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1660 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1661 int (*unlink_done) (struct rpc_task *, struct inode *);
1662 void (*rename_setup) (struct rpc_message *msg,
1665 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1666 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1667 int (*link) (struct inode *, struct inode *, const struct qstr *);
1668 int (*symlink) (struct inode *, struct dentry *, struct page *,
1670 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1671 int (*rmdir) (struct inode *, const struct qstr *);
1672 int (*readdir) (struct dentry *, const struct cred *,
1674 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1676 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1678 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1680 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1682 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1683 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1684 int (*pgio_rpc_prepare)(struct rpc_task *,
1686 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1687 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1688 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1690 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1691 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1693 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1694 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1695 int (*lock)(struct file *, int, struct file_lock *);
1696 int (*lock_check_bounds)(const struct file_lock *);
1697 void (*clear_acl_cache)(struct inode *);
1698 void (*close_context)(struct nfs_open_context *ctx, int);
1699 struct inode * (*open_context) (struct inode *dir,
1724 extern const struct nfs_rpc_ops nfs_v2_clientops; argument