Lines Matching defs:nfs_rpc_ops
1442 struct nfs_rpc_ops { struct
1443 u32 version; /* Protocol version */
1444 const struct dentry_operations *dentry_ops;
1445 const struct inode_operations *dir_inode_ops;
1446 const struct inode_operations *file_inode_ops;
1447 const struct file_operations *file_ops;
1449 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1451 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
1453 struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *,
1455 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1457 int (*setattr) (struct dentry *, struct nfs_fattr *,
1459 int (*lookup) (struct inode *, struct qstr *,
1462 int (*access) (struct inode *, struct nfs_access_entry *);
1463 int (*readlink)(struct inode *, struct page *, unsigned int,
1465 int (*create) (struct inode *, struct dentry *,
1467 int (*remove) (struct inode *, struct qstr *);
1468 void (*unlink_setup) (struct rpc_message *, struct inode *dir);
1469 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1470 int (*unlink_done) (struct rpc_task *, struct inode *);
1471 void (*rename_setup) (struct rpc_message *msg, struct inode *dir);
1472 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1473 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1474 int (*link) (struct inode *, struct inode *, struct qstr *);
1475 int (*symlink) (struct inode *, struct dentry *, struct page *,
1477 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1478 int (*rmdir) (struct inode *, struct qstr *);
1479 int (*readdir) (struct dentry *, struct rpc_cred *,
1481 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1483 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1485 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1487 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1489 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1490 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, int);
1491 int (*pgio_rpc_prepare)(struct rpc_task *,
1493 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1494 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1495 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *);
1496 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1497 void (*commit_setup) (struct nfs_commit_data *, struct rpc_message *);
1498 void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1499 int (*commit_done) (struct rpc_task *, struct nfs_commit_data *);
1500 int (*lock)(struct file *, int, struct file_lock *);
1501 int (*lock_check_bounds)(const struct file_lock *);
1502 void (*clear_acl_cache)(struct inode *);
1503 void (*close_context)(struct nfs_open_context *ctx, int);
1504 struct inode * (*open_context) (struct inode *dir,
1531 extern const struct nfs_rpc_ops nfs_v2_clientops; argument