1 /* $NetBSD: genfs.h,v 1.27 2009/06/23 19:36:38 elad Exp $ */
3 #ifndef _MISCFS_GENFS_GENFS_H_
4 #define _MISCFS_GENFS_GENFS_H_
8 int genfs_badop(void *);
9 int genfs_nullop(void *);
10 int genfs_enoioctl(void *);
11 int genfs_enoextops(void *);
12 int genfs_einval(void *);
13 int genfs_eopnotsupp(void *);
14 int genfs_ebadf(void *);
15 int genfs_nolock(void *);
16 int genfs_noislocked(void *);
17 int genfs_nounlock(void *);
19 int genfs_poll(void *);
20 int genfs_kqfilter(void *);
21 int genfs_fcntl(void *);
22 int genfs_seek(void *);
23 int genfs_abortop(void *);
24 int genfs_revoke(void *);
25 int genfs_lock(void *);
26 int genfs_islocked(void *);
27 int genfs_unlock(void *);
28 int genfs_mmap(void *);
29 int genfs_getpages(void *);
30 int genfs_putpages(void *);
31 int genfs_null_putpages(void *);
32 int genfs_compat_getpages(void *);
34 int genfs_do_putpages(struct vnode
*, off_t
, off_t
, int, struct vm_page
**);
36 int genfs_statvfs(struct mount
*, struct statvfs
*);
38 int genfs_renamelock_enter(struct mount
*);
39 void genfs_renamelock_exit(struct mount
*);
41 int genfs_can_access(enum vtype
, mode_t
, uid_t
, gid_t
, mode_t
,
43 int genfs_can_chmod(vnode_t
*, kauth_cred_t
, uid_t
, gid_t
, mode_t
);
44 int genfs_can_chown(vnode_t
*, kauth_cred_t
, uid_t
, gid_t
, uid_t
, gid_t
);
45 int genfs_can_mount(vnode_t
*, mode_t
, kauth_cred_t
);
46 int genfs_can_chtimes(vnode_t
*, u_int
, uid_t
, kauth_cred_t
);
48 #endif /* !_MISCFS_GENFS_GENFS_H_ */