Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afs / UKERNEL / osi_prototypes.h
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9 /*
10 * osi_prototypes.h
11 *
12 * Exported UKERNEL support routines.
13 */
14 #ifndef _OSI_PROTO_H_
15 #define _OSI_PROTO_H_
16 /* osi_vfsops.c */
17 extern int afs_statvfs(struct vfs *afsp, struct statvfs *abp);
18 extern int afs_mount(struct vfs *afsp, char *path, void *data);
19 extern int afs_unmount(struct vfs *afsp);
20 extern int afs_root(OSI_VFS_DECL(afsp), struct vnode **avpp);
21 extern int afs_sync(struct vfs *afsp);
22 extern int afs_statfs(struct vfs *afsp, struct statfs *abp);
23 extern int afs_mountroot(void);
24 extern int afs_swapvp(void);
25
26 /* osi_vnodeops.c */
27 extern int afs_vrdwr(struct usr_vnode *avc, struct usr_uio *uio, int rw,
28 int io, struct usr_ucred *cred);
29 extern int afs_inactive(struct vcache *avc, afs_ucred_t *acred);
30
31 #endif