- int (*o_setattr)(unsigned int conn_id, unsigned long id, struct inode *iattr);
- int (*o_getattr)(unsigned int conn_id, unsigned long id, struct inode *iattr);
- int (*o_statfs)(unsigned int conn_id, struct statfs *statfs);
- int (*o_create)(int conn_id, int prealloc_ino, int *er);
- int (*o_destroy)(unsigned int conn_id, unsigned long ino);
- unsigned long (*o_read)(unsigned int conn_id, unsigned long ino, char *buf, unsigned long count, loff_t offset, int *err);
- unsigned long (*o_read2)(unsigned int conn_id, unsigned long ino, char *buf, unsigned long count, loff_t offset, int *err);
- unsigned long (*o_write)(unsigned int conn_id, unsigned long ino, char *buf, unsigned long count, loff_t offset, int *err);
- int (*o_brw)(int rw, int conn, obdattr *obj, struct page *page, int create);
- long (*o_preallocate)(unsigned int conn_id, int req, long inodes[32], int *err);
- int (*o_cleanup_device)(struct obd_device *);
- int (*o_get_info)(unsigned int conn_id, int keylen, void *key, int *vallen, void **val);
- int (*o_set_info)(unsigned int conn_id, int keylen, void *key, int vallen, void *val);
+ int (*o_setattr)(struct obd_conn *, obdattr *oa);
+ int (*o_getattr)(struct obd_conn *, obdattr *oa);
+ int (*o_statfs)(struct obd_conn *, struct statfs *statfs);
+ int (*o_create)(struct obd_conn *, int prealloc_ino, int *er);
+ int (*o_destroy)(struct obd_conn *, obdattr *oa);
+ int (*o_read)(struct obd_conn *, obdattr *ino, char *buf, unsigned long *count, loff_t offset);
+ int (*o_read2)(struct obd_conn *, obdattr *oa, char *buf, unsigned long *count, loff_t offset);
+ int (*o_write)(struct obd_conn *, obdattr *oa, char *buf, unsigned long *count, loff_t offset);
+ int (*o_brw)(int rw, struct obd_conn * conn, obdattr *obj, struct page *page, int create);
+ int (*o_preallocate)(struct obd_conn *, unsigned long *req, long inodes[32]);
+ int (*o_get_info)(struct obd_conn *, int keylen, void *key, int *vallen, void **val);
+ int (*o_set_info)(struct obd_conn *, int keylen, void *key, int vallen, void *val);
+ int (*o_migrate)(struct obd_conn *, obdattr *src, obdattr *dst);
+ int (*o_copy)(struct obd_conn *dev, obdattr *source, obdattr *target);
+