2009-11-30 13:59:19 +03:00
|
|
|
/* $NetBSD: genfs.h,v 1.28 2009/11/30 10:59:20 pooka Exp $ */
|
2009-04-23 02:57:08 +04:00
|
|
|
|
|
|
|
#ifndef _MISCFS_GENFS_GENFS_H_
|
|
|
|
#define _MISCFS_GENFS_GENFS_H_
|
|
|
|
|
|
|
|
#include <sys/vnode.h>
|
1998-01-05 22:19:41 +03:00
|
|
|
|
2005-08-31 00:08:01 +04:00
|
|
|
int genfs_badop(void *);
|
|
|
|
int genfs_nullop(void *);
|
|
|
|
int genfs_enoioctl(void *);
|
|
|
|
int genfs_enoextops(void *);
|
|
|
|
int genfs_einval(void *);
|
|
|
|
int genfs_eopnotsupp(void *);
|
|
|
|
int genfs_ebadf(void *);
|
|
|
|
int genfs_nolock(void *);
|
|
|
|
int genfs_noislocked(void *);
|
|
|
|
int genfs_nounlock(void *);
|
1996-09-02 03:47:48 +04:00
|
|
|
|
2005-08-31 00:08:01 +04:00
|
|
|
int genfs_poll(void *);
|
|
|
|
int genfs_kqfilter(void *);
|
|
|
|
int genfs_fcntl(void *);
|
|
|
|
int genfs_seek(void *);
|
|
|
|
int genfs_abortop(void *);
|
|
|
|
int genfs_revoke(void *);
|
|
|
|
int genfs_lock(void *);
|
|
|
|
int genfs_islocked(void *);
|
|
|
|
int genfs_unlock(void *);
|
|
|
|
int genfs_mmap(void *);
|
|
|
|
int genfs_getpages(void *);
|
|
|
|
int genfs_putpages(void *);
|
|
|
|
int genfs_null_putpages(void *);
|
|
|
|
int genfs_compat_getpages(void *);
|
2007-04-25 02:46:03 +04:00
|
|
|
|
|
|
|
int genfs_do_putpages(struct vnode *, off_t, off_t, int, struct vm_page **);
|
2008-01-28 17:31:15 +03:00
|
|
|
|
2009-11-30 13:59:19 +03:00
|
|
|
int genfs_statvfs(struct mount *, struct statvfs *);
|
|
|
|
|
2008-01-28 17:31:15 +03:00
|
|
|
int genfs_renamelock_enter(struct mount *);
|
|
|
|
void genfs_renamelock_exit(struct mount *);
|
2009-04-23 02:57:08 +04:00
|
|
|
|
2009-06-23 23:36:38 +04:00
|
|
|
int genfs_can_access(enum vtype, mode_t, uid_t, gid_t, mode_t,
|
|
|
|
kauth_cred_t);
|
2009-04-23 02:57:08 +04:00
|
|
|
int genfs_can_chmod(vnode_t *, kauth_cred_t, uid_t, gid_t, mode_t);
|
|
|
|
int genfs_can_chown(vnode_t *, kauth_cred_t, uid_t, gid_t, uid_t, gid_t);
|
2009-04-25 22:53:44 +04:00
|
|
|
int genfs_can_mount(vnode_t *, mode_t, kauth_cred_t);
|
2009-05-07 23:30:29 +04:00
|
|
|
int genfs_can_chtimes(vnode_t *, u_int, uid_t, kauth_cred_t);
|
2009-04-23 02:57:08 +04:00
|
|
|
|
|
|
|
#endif /* !_MISCFS_GENFS_GENFS_H_ */
|