[BACK]Return to rumpvnode_if.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / rump / include / rump

Annotation of src/sys/rump/include/rump/rumpvnode_if.h, Revision 1.35

1.11      hannken     1: /*     $NetBSD$        */
1.1       pooka       2:
                      3: /*
                      4:  * Warning: DO NOT EDIT! This file is automatically generated!
                      5:  * (Modifications made here may easily be lost!)
                      6:  *
                      7:  * Created from the file:
1.35    ! dholland    8:  *     NetBSD: vnode_if.src,v 1.81 2021/06/29 22:34:08 dholland Exp
1.1       pooka       9:  * by the script:
1.35    ! dholland   10:  *     NetBSD: vnode_if.sh,v 1.70 2020/05/16 18:31:50 christos Exp
1.1       pooka      11:  */
                     12:
                     13: /*
                     14:  * Copyright (c) 1992, 1993, 1994, 1995
                     15:  *     The Regents of the University of California.  All rights reserved.
                     16:  *
                     17:  * Redistribution and use in source and binary forms, with or without
                     18:  * modification, are permitted provided that the following conditions
                     19:  * are met:
                     20:  * 1. Redistributions of source code must retain the above copyright
                     21:  *    notice, this list of conditions and the following disclaimer.
                     22:  * 2. Redistributions in binary form must reproduce the above copyright
                     23:  *    notice, this list of conditions and the following disclaimer in the
                     24:  *    documentation and/or other materials provided with the distribution.
                     25:  * 3. Neither the name of the University nor the names of its contributors
                     26:  *    may be used to endorse or promote products derived from this software
                     27:  *    without specific prior written permission.
                     28:  *
                     29:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     30:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     31:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     32:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     33:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     34:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     35:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     36:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     37:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     38:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     39:  * SUCH DAMAGE.
                     40:  */
                     41:
                     42: #ifndef _RUMP_RUMPVNODE_IF_H_
                     43: #define _RUMP_RUMPVNODE_IF_H_
                     44:
1.7       pooka      45: struct buf;
                     46: struct flock;
                     47: struct knote;
                     48: struct vm_page;
1.34      christos   49: struct acl;
                     50:
                     51: #include <sys/acl.h>
1.1       pooka      52:
                     53: #ifndef _KERNEL
                     54: #include <stdbool.h>
                     55: #endif
                     56:
1.11      hannken    57: int RUMP_VOP_BWRITE(struct vnode *, struct buf *);
1.35    ! dholland   58: int RUMP_VOP_PARSEPATH(struct vnode *, const char *, size_t *);
1.1       pooka      59: int RUMP_VOP_LOOKUP(struct vnode *, struct vnode **, struct componentname *);
                     60: int RUMP_VOP_CREATE(struct vnode *, struct vnode **, struct componentname *,
                     61:     struct vattr *);
                     62: int RUMP_VOP_MKNOD(struct vnode *, struct vnode **, struct componentname *,
                     63:     struct vattr *);
1.7       pooka      64: int RUMP_VOP_OPEN(struct vnode *, int, struct kauth_cred *);
                     65: int RUMP_VOP_CLOSE(struct vnode *, int, struct kauth_cred *);
1.34      christos   66: int RUMP_VOP_ACCESS(struct vnode *, accmode_t, struct kauth_cred *);
                     67: int RUMP_VOP_ACCESSX(struct vnode *, accmode_t, struct kauth_cred *);
1.7       pooka      68: int RUMP_VOP_GETATTR(struct vnode *, struct vattr *, struct kauth_cred *);
                     69: int RUMP_VOP_SETATTR(struct vnode *, struct vattr *, struct kauth_cred *);
                     70: int RUMP_VOP_READ(struct vnode *, struct uio *, int, struct kauth_cred *);
                     71: int RUMP_VOP_WRITE(struct vnode *, struct uio *, int, struct kauth_cred *);
1.17      dholland   72: int RUMP_VOP_FALLOCATE(struct vnode *, off_t, off_t);
                     73: int RUMP_VOP_FDISCARD(struct vnode *, off_t, off_t);
1.7       pooka      74: int RUMP_VOP_IOCTL(struct vnode *, u_long, void *, int, struct kauth_cred *);
                     75: int RUMP_VOP_FCNTL(struct vnode *, u_int, void *, int, struct kauth_cred *);
1.1       pooka      76: int RUMP_VOP_POLL(struct vnode *, int);
                     77: int RUMP_VOP_KQFILTER(struct vnode *, struct knote *);
                     78: int RUMP_VOP_REVOKE(struct vnode *, int);
1.7       pooka      79: int RUMP_VOP_MMAP(struct vnode *, int, struct kauth_cred *);
                     80: int RUMP_VOP_FSYNC(struct vnode *, struct kauth_cred *, int, off_t, off_t);
                     81: int RUMP_VOP_SEEK(struct vnode *, off_t, off_t, struct kauth_cred *);
1.1       pooka      82: int RUMP_VOP_REMOVE(struct vnode *, struct vnode *, struct componentname *);
                     83: int RUMP_VOP_LINK(struct vnode *, struct vnode *, struct componentname *);
                     84: int RUMP_VOP_RENAME(struct vnode *, struct vnode *, struct componentname *,
                     85:     struct vnode *, struct vnode *, struct componentname *);
                     86: int RUMP_VOP_MKDIR(struct vnode *, struct vnode **, struct componentname *,
                     87:     struct vattr *);
                     88: int RUMP_VOP_RMDIR(struct vnode *, struct vnode *, struct componentname *);
                     89: int RUMP_VOP_SYMLINK(struct vnode *, struct vnode **,
                     90:     struct componentname *, struct vattr *, char *);
1.7       pooka      91: int RUMP_VOP_READDIR(struct vnode *, struct uio *, struct kauth_cred *,
                     92:     int *, off_t **, int *);
                     93: int RUMP_VOP_READLINK(struct vnode *, struct uio *, struct kauth_cred *);
1.1       pooka      94: int RUMP_VOP_ABORTOP(struct vnode *, struct componentname *);
                     95: int RUMP_VOP_INACTIVE(struct vnode *, bool *);
                     96: int RUMP_VOP_RECLAIM(struct vnode *);
                     97: int RUMP_VOP_LOCK(struct vnode *, int);
1.8       hannken    98: int RUMP_VOP_UNLOCK(struct vnode *);
1.13      pooka      99: int RUMP_VOP_BMAP(struct vnode *, int64_t, struct vnode **, int64_t *, int *);
1.1       pooka     100: int RUMP_VOP_STRATEGY(struct vnode *, struct buf *);
                    101: int RUMP_VOP_PRINT(struct vnode *);
                    102: int RUMP_VOP_ISLOCKED(struct vnode *);
                    103: int RUMP_VOP_PATHCONF(struct vnode *, int, register_t *);
                    104: int RUMP_VOP_ADVLOCK(struct vnode *, void *, int, struct flock *, int);
                    105: int RUMP_VOP_WHITEOUT(struct vnode *, struct componentname *, int);
                    106: int RUMP_VOP_GETPAGES(struct vnode *, off_t, struct vm_page **, int *, int,
                    107:     int, int, int);
                    108: int RUMP_VOP_PUTPAGES(struct vnode *, off_t, off_t, int);
1.34      christos  109: int RUMP_VOP_GETACL(struct vnode *, acl_type_t, struct acl *,
                    110:     struct kauth_cred *);
                    111: int RUMP_VOP_SETACL(struct vnode *, acl_type_t, struct acl *,
                    112:     struct kauth_cred *);
                    113: int RUMP_VOP_ACLCHECK(struct vnode *, acl_type_t, struct acl *,
                    114:     struct kauth_cred *);
1.7       pooka     115: int RUMP_VOP_CLOSEEXTATTR(struct vnode *, int, struct kauth_cred *);
1.1       pooka     116: int RUMP_VOP_GETEXTATTR(struct vnode *, int, const char *, struct uio *,
1.7       pooka     117:     size_t *, struct kauth_cred *);
1.11      hannken   118: int RUMP_VOP_LISTEXTATTR(struct vnode *, int, struct uio *, size_t *, int,
                    119:     struct kauth_cred *);
1.7       pooka     120: int RUMP_VOP_OPENEXTATTR(struct vnode *, struct kauth_cred *);
                    121: int RUMP_VOP_DELETEEXTATTR(struct vnode *, int, const char *,
                    122:     struct kauth_cred *);
1.1       pooka     123: int RUMP_VOP_SETEXTATTR(struct vnode *, int, const char *, struct uio *,
1.7       pooka     124:     struct kauth_cred *);
1.1       pooka     125:
                    126: #endif /* !_RUMP_RUMPVNODE_IF_H_ */

CVSweb <webmaster@jp.NetBSD.org>