Lines Matching defs:nfs_rpc_ops
1202 struct nfs_rpc_ops { struct
1203 u32 version; /* Protocol version */
1204 const struct dentry_operations *dentry_ops;
1205 const struct inode_operations *dir_inode_ops;
1206 const struct inode_operations *file_inode_ops;
1207 const struct file_operations *file_ops;
1209 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1211 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1213 int (*setattr) (struct dentry *, struct nfs_fattr *,
1215 int (*lookup) (struct rpc_clnt *clnt, struct inode *, struct qstr *,
1217 int (*access) (struct inode *, struct nfs_access_entry *);
1218 int (*readlink)(struct inode *, struct page *, unsigned int,
1220 int (*create) (struct inode *, struct dentry *,
1222 int (*remove) (struct inode *, struct qstr *);
1223 void (*unlink_setup) (struct rpc_message *, struct inode *dir);
1224 int (*unlink_done) (struct rpc_task *, struct inode *);
1225 int (*rename) (struct inode *, struct qstr *,
1227 void (*rename_setup) (struct rpc_message *msg, struct inode *dir);
1228 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
1229 int (*link) (struct inode *, struct inode *, struct qstr *);
1230 int (*symlink) (struct inode *, struct dentry *, struct page *,
1232 int (*mkdir) (struct inode *, struct dentry *, struct iattr *);
1233 int (*rmdir) (struct inode *, struct qstr *);
1234 int (*readdir) (struct dentry *, struct rpc_cred *,
1236 int (*mknod) (struct inode *, struct dentry *, struct iattr *,
1238 int (*statfs) (struct nfs_server *, struct nfs_fh *,
1240 int (*fsinfo) (struct nfs_server *, struct nfs_fh *,
1242 int (*pathconf) (struct nfs_server *, struct nfs_fh *,
1244 int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1245 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, int);
1246 void (*read_setup) (struct nfs_read_data *, struct rpc_message *);
1247 int (*read_done) (struct rpc_task *, struct nfs_read_data *);
1248 void (*write_setup) (struct nfs_write_data *, struct rpc_message *);
1249 int (*write_done) (struct rpc_task *, struct nfs_write_data *);
1250 void (*commit_setup) (struct nfs_write_data *, struct rpc_message *);
1251 int (*commit_done) (struct rpc_task *, struct nfs_write_data *);
1275 extern const struct nfs_rpc_ops nfs_v2_clientops; argument