Lines Matching defs:nfs_rpc_ops

1500 struct nfs_rpc_ops {  struct
1501 u32 version; /* Protocol version */
1502 const struct dentry_operations *dentry_ops;
1503 const struct inode_operations *dir_inode_ops;
1504 const struct inode_operations *file_inode_ops;
1505 const struct file_operations *file_ops;
1507 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1509 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
1511 struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *,
1513 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1515 int (*setattr) (struct dentry *, struct nfs_fattr *,
1517 int (*lookup) (struct inode *, struct qstr *,
1520 int (*access) (struct inode *, struct nfs_access_entry *);
1521 int (*readlink)(struct inode *, struct page *, unsigned int,
1523 int (*create) (struct inode *, struct dentry *,
1525 int (*remove) (struct inode *, struct qstr *);
1526 void (*unlink_setup) (struct rpc_message *, struct inode *dir);
1527 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1528 int (*unlink_done) (struct rpc_task *, struct inode *);
1529 void (*rename_setup) (struct rpc_message *msg, struct inode *dir);
1530 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1531 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1532 int (*link) (struct inode *, struct inode *, struct qstr *);
1533 int (*symlink) (struct inode *, struct dentry *, struct page *,
1535 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1536 int (*rmdir) (struct inode *, struct qstr *);
1537 int (*readdir) (struct dentry *, struct rpc_cred *,
1539 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1541 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1543 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1545 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1547 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1548 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, int);
1549 int (*pgio_rpc_prepare)(struct rpc_task *,
1551 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1552 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1553 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *);
1554 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1555 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *);
1556 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1557 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1558 int (*lock)(struct file *, int, struct file_lock *);
1559 int (*lock_check_bounds)(const struct file_lock *);
1560 void (*clear_acl_cache)(struct inode *);
1561 void (*close_context)(struct nfs_open_context *ctx, int);
1562 struct inode * (*open_context) (struct inode *dir,
1589 extern const struct nfs_rpc_ops nfs_v2_clientops; argument