Lines Matching defs:nfs_rpc_ops
1584 struct nfs_rpc_ops { struct
1585 u32 version; /* Protocol version */
1586 const struct dentry_operations *dentry_ops;
1587 const struct inode_operations *dir_inode_ops;
1588 const struct inode_operations *file_inode_ops;
1589 const struct file_operations *file_ops;
1590 const struct nlmclnt_operations *nlmclnt_ops;
1592 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1594 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
1596 struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *,
1598 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1601 int (*setattr) (struct dentry *, struct nfs_fattr *,
1603 int (*lookup) (struct inode *, const struct qstr *,
1606 int (*lookupp) (struct inode *, struct nfs_fh *,
1608 int (*access) (struct inode *, struct nfs_access_entry *);
1609 int (*readlink)(struct inode *, struct page *, unsigned int,
1611 int (*create) (struct inode *, struct dentry *,
1613 int (*remove) (struct inode *, struct dentry *);
1614 void (*unlink_setup) (struct rpc_message *, struct dentry *, struct inode *);
1615 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1616 int (*unlink_done) (struct rpc_task *, struct inode *);
1617 void (*rename_setup) (struct rpc_message *msg,
1620 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1621 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1622 int (*link) (struct inode *, struct inode *, const struct qstr *);
1623 int (*symlink) (struct inode *, struct dentry *, struct page *,
1625 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1626 int (*rmdir) (struct inode *, const struct qstr *);
1627 int (*readdir) (struct dentry *, struct rpc_cred *,
1629 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1631 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1633 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1635 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1637 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1638 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1639 int (*pgio_rpc_prepare)(struct rpc_task *,
1641 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1642 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1643 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1645 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1646 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *,
1648 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1649 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1650 int (*lock)(struct file *, int, struct file_lock *);
1651 int (*lock_check_bounds)(const struct file_lock *);
1652 void (*clear_acl_cache)(struct inode *);
1653 void (*close_context)(struct nfs_open_context *ctx, int);
1654 struct inode * (*open_context) (struct inode *dir,
1679 extern const struct nfs_rpc_ops nfs_v2_clientops; argument