2 * This file is produced automatically.
3 * Do not modify anything in here by hand.
5 * Created from @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93
8 extern struct vnodeop_desc vop_default_desc;
9 struct vop_islocked_args {
10 struct vnodeop_desc *a_desc;
14 extern struct vnodeop_desc vop_islocked_desc;
15 static __inline int VOP_ISLOCKED __P((struct vnode * vp, struct proc * p));
21 struct vop_islocked_args a;
23 a.a_desc = VDESC(vop_islocked);
26 rc = VCALL(vp, VOFFSET(vop_islocked), &a);
29 struct vop_lookup_args {
30 struct vnodeop_desc *a_desc;
33 struct componentname *a_cnp;
35 extern struct vnodeop_desc vop_lookup_desc;
36 static __inline int VOP_LOOKUP
37 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp));
39 VOP_LOOKUP(dvp, vpp, cnp)
42 struct componentname *cnp;
44 struct vop_lookup_args a;
46 a.a_desc = VDESC(vop_lookup);
50 rc = VCALL(dvp, VOFFSET(vop_lookup), &a);
53 struct vop_cachedlookup_args {
54 struct vnodeop_desc *a_desc;
57 struct componentname *a_cnp;
59 extern struct vnodeop_desc vop_cachedlookup_desc;
60 static __inline int VOP_CACHEDLOOKUP
61 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp));
63 VOP_CACHEDLOOKUP(dvp, vpp, cnp)
66 struct componentname *cnp;
68 struct vop_cachedlookup_args a;
70 a.a_desc = VDESC(vop_cachedlookup);
74 rc = VCALL(dvp, VOFFSET(vop_cachedlookup), &a);
77 struct vop_create_args {
78 struct vnodeop_desc *a_desc;
81 struct componentname *a_cnp;
84 extern struct vnodeop_desc vop_create_desc;
85 static __inline int VOP_CREATE
86 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp,
89 VOP_CREATE(dvp, vpp, cnp, vap)
92 struct componentname *cnp;
95 struct vop_create_args a;
97 a.a_desc = VDESC(vop_create);
102 rc = VCALL(dvp, VOFFSET(vop_create), &a);
105 struct vop_whiteout_args {
106 struct vnodeop_desc *a_desc;
108 struct componentname *a_cnp;
111 extern struct vnodeop_desc vop_whiteout_desc;
112 static __inline int VOP_WHITEOUT
113 __P((struct vnode * dvp, struct componentname * cnp, int flags));
115 VOP_WHITEOUT(dvp, cnp, flags)
117 struct componentname *cnp;
120 struct vop_whiteout_args a;
122 a.a_desc = VDESC(vop_whiteout);
126 rc = VCALL(dvp, VOFFSET(vop_whiteout), &a);
129 struct vop_mknod_args {
130 struct vnodeop_desc *a_desc;
132 struct vnode **a_vpp;
133 struct componentname *a_cnp;
136 extern struct vnodeop_desc vop_mknod_desc;
137 static __inline int VOP_MKNOD
138 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp,
139 struct vattr * vap));
141 VOP_MKNOD(dvp, vpp, cnp, vap)
144 struct componentname *cnp;
147 struct vop_mknod_args a;
149 a.a_desc = VDESC(vop_mknod);
154 rc = VCALL(dvp, VOFFSET(vop_mknod), &a);
157 struct vop_open_args {
158 struct vnodeop_desc *a_desc;
161 struct ucred *a_cred;
164 extern struct vnodeop_desc vop_open_desc;
165 static __inline int VOP_OPEN
166 __P((struct vnode * vp, int mode, struct ucred * cred, struct proc * p));
168 VOP_OPEN(vp, mode, cred, p)
174 struct vop_open_args a;
176 a.a_desc = VDESC(vop_open);
181 rc = VCALL(vp, VOFFSET(vop_open), &a);
184 struct vop_close_args {
185 struct vnodeop_desc *a_desc;
188 struct ucred *a_cred;
191 extern struct vnodeop_desc vop_close_desc;
192 static __inline int VOP_CLOSE
193 __P((struct vnode * vp, int fflag, struct ucred * cred, struct proc * p));
195 VOP_CLOSE(vp, fflag, cred, p)
201 struct vop_close_args a;
203 a.a_desc = VDESC(vop_close);
208 rc = VCALL(vp, VOFFSET(vop_close), &a);
211 struct vop_access_args {
212 struct vnodeop_desc *a_desc;
215 struct ucred *a_cred;
218 extern struct vnodeop_desc vop_access_desc;
219 static __inline int VOP_ACCESS
220 __P((struct vnode * vp, int mode, struct ucred * cred, struct proc * p));
222 VOP_ACCESS(vp, mode, cred, p)
228 struct vop_access_args a;
230 a.a_desc = VDESC(vop_access);
235 rc = VCALL(vp, VOFFSET(vop_access), &a);
238 struct vop_getattr_args {
239 struct vnodeop_desc *a_desc;
242 struct ucred *a_cred;
245 extern struct vnodeop_desc vop_getattr_desc;
246 static __inline int VOP_GETATTR
247 __P((struct vnode * vp, struct vattr * vap, struct ucred * cred,
250 VOP_GETATTR(vp, vap, cred, p)
256 struct vop_getattr_args a;
258 a.a_desc = VDESC(vop_getattr);
263 rc = VCALL(vp, VOFFSET(vop_getattr), &a);
266 struct vop_setattr_args {
267 struct vnodeop_desc *a_desc;
270 struct ucred *a_cred;
273 extern struct vnodeop_desc vop_setattr_desc;
274 static __inline int VOP_SETATTR
275 __P((struct vnode * vp, struct vattr * vap, struct ucred * cred,
278 VOP_SETATTR(vp, vap, cred, p)
284 struct vop_setattr_args a;
286 a.a_desc = VDESC(vop_setattr);
291 rc = VCALL(vp, VOFFSET(vop_setattr), &a);
294 struct vop_read_args {
295 struct vnodeop_desc *a_desc;
299 struct ucred *a_cred;
301 extern struct vnodeop_desc vop_read_desc;
302 static __inline int VOP_READ
303 __P((struct vnode * vp, struct uio * uio, int ioflag, struct ucred * cred));
305 VOP_READ(vp, uio, ioflag, cred)
311 struct vop_read_args a;
313 a.a_desc = VDESC(vop_read);
318 rc = VCALL(vp, VOFFSET(vop_read), &a);
321 struct vop_write_args {
322 struct vnodeop_desc *a_desc;
326 struct ucred *a_cred;
328 extern struct vnodeop_desc vop_write_desc;
329 static __inline int VOP_WRITE
330 __P((struct vnode * vp, struct uio * uio, int ioflag, struct ucred * cred));
332 VOP_WRITE(vp, uio, ioflag, cred)
338 struct vop_write_args a;
340 a.a_desc = VDESC(vop_write);
345 rc = VCALL(vp, VOFFSET(vop_write), &a);
348 struct vop_lease_args {
349 struct vnodeop_desc *a_desc;
352 struct ucred *a_cred;
355 extern struct vnodeop_desc vop_lease_desc;
356 static __inline int VOP_LEASE
357 __P((struct vnode * vp, struct proc * p, struct ucred * cred, int flag));
359 VOP_LEASE(vp, p, cred, flag)
365 struct vop_lease_args a;
367 a.a_desc = VDESC(vop_lease);
372 rc = VCALL(vp, VOFFSET(vop_lease), &a);
375 struct vop_ioctl_args {
376 struct vnodeop_desc *a_desc;
381 struct ucred *a_cred;
384 extern struct vnodeop_desc vop_ioctl_desc;
385 static __inline int VOP_IOCTL
386 __P((struct vnode * vp, u_long command, caddr_t data, int fflag,
387 struct ucred * cred, struct proc * p));
389 VOP_IOCTL(vp, command, data, fflag, cred, p)
397 struct vop_ioctl_args a;
399 a.a_desc = VDESC(vop_ioctl);
401 a.a_command = command;
406 rc = VCALL(vp, VOFFSET(vop_ioctl), &a);
409 struct vop_poll_args {
410 struct vnodeop_desc *a_desc;
413 struct ucred *a_cred;
416 extern struct vnodeop_desc vop_poll_desc;
417 static __inline int VOP_POLL
418 __P((struct vnode * vp, int events, struct ucred * cred, struct proc * p));
420 VOP_POLL(vp, events, cred, p)
426 struct vop_poll_args a;
428 a.a_desc = VDESC(vop_poll);
433 rc = VCALL(vp, VOFFSET(vop_poll), &a);
436 struct vop_kqfilter_args {
437 struct vnodeop_desc *a_desc;
441 extern struct vnodeop_desc vop_kqfilter_desc;
442 static __inline int VOP_KQFILTER __P((struct vnode * vp, struct knote * kn));
448 struct vop_kqfilter_args a;
450 a.a_desc = VDESC(vop_kqfilter);
453 rc = VCALL(vp, VOFFSET(vop_kqfilter), &a);
456 struct vop_revoke_args {
457 struct vnodeop_desc *a_desc;
461 extern struct vnodeop_desc vop_revoke_desc;
462 static __inline int VOP_REVOKE __P((struct vnode * vp, int flags));
464 VOP_REVOKE(vp, flags)
468 struct vop_revoke_args a;
470 a.a_desc = VDESC(vop_revoke);
473 rc = VCALL(vp, VOFFSET(vop_revoke), &a);
476 struct vop_mmap_args {
477 struct vnodeop_desc *a_desc;
480 struct ucred *a_cred;
483 extern struct vnodeop_desc vop_mmap_desc;
484 static __inline int VOP_MMAP
485 __P((struct vnode * vp, int fflags, struct ucred * cred, struct proc * p));
487 VOP_MMAP(vp, fflags, cred, p)
493 struct vop_mmap_args a;
495 a.a_desc = VDESC(vop_mmap);
500 rc = VCALL(vp, VOFFSET(vop_mmap), &a);
503 struct vop_fsync_args {
504 struct vnodeop_desc *a_desc;
506 struct ucred *a_cred;
510 extern struct vnodeop_desc vop_fsync_desc;
511 static __inline int VOP_FSYNC
512 __P((struct vnode * vp, struct ucred * cred, int waitfor, struct proc * p));
514 VOP_FSYNC(vp, cred, waitfor, p)
520 struct vop_fsync_args a;
522 a.a_desc = VDESC(vop_fsync);
525 a.a_waitfor = waitfor;
527 rc = VCALL(vp, VOFFSET(vop_fsync), &a);
530 struct vop_remove_args {
531 struct vnodeop_desc *a_desc;
534 struct componentname *a_cnp;
536 extern struct vnodeop_desc vop_remove_desc;
537 static __inline int VOP_REMOVE
538 __P((struct vnode * dvp, struct vnode * vp, struct componentname * cnp));
540 VOP_REMOVE(dvp, vp, cnp)
543 struct componentname *cnp;
545 struct vop_remove_args a;
547 a.a_desc = VDESC(vop_remove);
551 rc = VCALL(dvp, VOFFSET(vop_remove), &a);
554 struct vop_link_args {
555 struct vnodeop_desc *a_desc;
556 struct vnode *a_tdvp;
558 struct componentname *a_cnp;
560 extern struct vnodeop_desc vop_link_desc;
561 static __inline int VOP_LINK
562 __P((struct vnode * tdvp, struct vnode * vp, struct componentname * cnp));
564 VOP_LINK(tdvp, vp, cnp)
567 struct componentname *cnp;
569 struct vop_link_args a;
571 a.a_desc = VDESC(vop_link);
575 rc = VCALL(tdvp, VOFFSET(vop_link), &a);
578 struct vop_rename_args {
579 struct vnodeop_desc *a_desc;
580 struct vnode *a_fdvp;
582 struct componentname *a_fcnp;
583 struct vnode *a_tdvp;
585 struct componentname *a_tcnp;
587 extern struct vnodeop_desc vop_rename_desc;
588 static __inline int VOP_RENAME
589 __P((struct vnode * fdvp, struct vnode * fvp, struct componentname * fcnp,
590 struct vnode * tdvp, struct vnode * tvp, struct componentname * tcnp));
592 VOP_RENAME(fdvp, fvp, fcnp, tdvp, tvp, tcnp)
595 struct componentname *fcnp;
598 struct componentname *tcnp;
600 struct vop_rename_args a;
602 a.a_desc = VDESC(vop_rename);
609 rc = VCALL(fdvp, VOFFSET(vop_rename), &a);
612 struct vop_mkdir_args {
613 struct vnodeop_desc *a_desc;
615 struct vnode **a_vpp;
616 struct componentname *a_cnp;
619 extern struct vnodeop_desc vop_mkdir_desc;
620 static __inline int VOP_MKDIR
621 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp,
622 struct vattr * vap));
624 VOP_MKDIR(dvp, vpp, cnp, vap)
627 struct componentname *cnp;
630 struct vop_mkdir_args a;
632 a.a_desc = VDESC(vop_mkdir);
637 rc = VCALL(dvp, VOFFSET(vop_mkdir), &a);
640 struct vop_rmdir_args {
641 struct vnodeop_desc *a_desc;
644 struct componentname *a_cnp;
646 extern struct vnodeop_desc vop_rmdir_desc;
647 static __inline int VOP_RMDIR
648 __P((struct vnode * dvp, struct vnode * vp, struct componentname * cnp));
650 VOP_RMDIR(dvp, vp, cnp)
653 struct componentname *cnp;
655 struct vop_rmdir_args a;
657 a.a_desc = VDESC(vop_rmdir);
661 rc = VCALL(dvp, VOFFSET(vop_rmdir), &a);
664 struct vop_symlink_args {
665 struct vnodeop_desc *a_desc;
667 struct vnode **a_vpp;
668 struct componentname *a_cnp;
672 extern struct vnodeop_desc vop_symlink_desc;
673 static __inline int VOP_SYMLINK
674 __P((struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp,
675 struct vattr * vap, char *target));
677 VOP_SYMLINK(dvp, vpp, cnp, vap, target)
680 struct componentname *cnp;
684 struct vop_symlink_args a;
686 a.a_desc = VDESC(vop_symlink);
692 rc = VCALL(dvp, VOFFSET(vop_symlink), &a);
695 struct vop_readdir_args {
696 struct vnodeop_desc *a_desc;
699 struct ucred *a_cred;
704 extern struct vnodeop_desc vop_readdir_desc;
705 static __inline int VOP_READDIR
706 __P((struct vnode * vp, struct uio * uio, struct ucred * cred, int *eofflag,
707 int *ncookies, u_long ** cookies));
709 VOP_READDIR(vp, uio, cred, eofflag, ncookies, cookies)
717 struct vop_readdir_args a;
719 a.a_desc = VDESC(vop_readdir);
723 a.a_eofflag = eofflag;
724 a.a_ncookies = ncookies;
725 a.a_cookies = cookies;
726 rc = VCALL(vp, VOFFSET(vop_readdir), &a);
729 struct vop_readlink_args {
730 struct vnodeop_desc *a_desc;
733 struct ucred *a_cred;
735 extern struct vnodeop_desc vop_readlink_desc;
736 static __inline int VOP_READLINK
737 __P((struct vnode * vp, struct uio * uio, struct ucred * cred));
739 VOP_READLINK(vp, uio, cred)
744 struct vop_readlink_args a;
746 a.a_desc = VDESC(vop_readlink);
750 rc = VCALL(vp, VOFFSET(vop_readlink), &a);
753 struct vop_inactive_args {
754 struct vnodeop_desc *a_desc;
758 extern struct vnodeop_desc vop_inactive_desc;
759 static __inline int VOP_INACTIVE __P((struct vnode * vp, struct proc * p));
765 struct vop_inactive_args a;
767 a.a_desc = VDESC(vop_inactive);
770 rc = VCALL(vp, VOFFSET(vop_inactive), &a);
773 struct vop_reclaim_args {
774 struct vnodeop_desc *a_desc;
778 extern struct vnodeop_desc vop_reclaim_desc;
779 static __inline int VOP_RECLAIM __P((struct vnode * vp, struct proc * p));
785 struct vop_reclaim_args a;
787 a.a_desc = VDESC(vop_reclaim);
790 rc = VCALL(vp, VOFFSET(vop_reclaim), &a);
793 struct vop_lock_args {
794 struct vnodeop_desc *a_desc;
799 extern struct vnodeop_desc vop_lock_desc;
800 static __inline int VOP_LOCK
801 __P((struct vnode * vp, int flags, struct proc * p));
803 VOP_LOCK(vp, flags, p)
808 struct vop_lock_args a;
810 a.a_desc = VDESC(vop_lock);
814 rc = VCALL(vp, VOFFSET(vop_lock), &a);
817 struct vop_unlock_args {
818 struct vnodeop_desc *a_desc;
823 extern struct vnodeop_desc vop_unlock_desc;
824 static __inline int VOP_UNLOCK
825 __P((struct vnode * vp, int flags, struct proc * p));
827 VOP_UNLOCK(vp, flags, p)
832 struct vop_unlock_args a;
834 a.a_desc = VDESC(vop_unlock);
838 rc = VCALL(vp, VOFFSET(vop_unlock), &a);
841 struct vop_bmap_args {
842 struct vnodeop_desc *a_desc;
845 struct vnode **a_vpp;
850 extern struct vnodeop_desc vop_bmap_desc;
851 static __inline int VOP_BMAP
852 __P((struct vnode * vp, daddr_t bn, struct vnode ** vpp, daddr_t * bnp,
853 int *runp, int *runb));
855 VOP_BMAP(vp, bn, vpp, bnp, runp, runb)
863 struct vop_bmap_args a;
865 a.a_desc = VDESC(vop_bmap);
872 rc = VCALL(vp, VOFFSET(vop_bmap), &a);
875 struct vop_strategy_args {
876 struct vnodeop_desc *a_desc;
880 extern struct vnodeop_desc vop_strategy_desc;
881 static __inline int VOP_STRATEGY __P((struct vnode * vp, struct buf * bp));
887 struct vop_strategy_args a;
889 a.a_desc = VDESC(vop_strategy);
892 rc = VCALL(vp, VOFFSET(vop_strategy), &a);
895 struct vop_print_args {
896 struct vnodeop_desc *a_desc;
899 extern struct vnodeop_desc vop_print_desc;
900 static __inline int VOP_PRINT __P((struct vnode * vp));
905 struct vop_print_args a;
907 a.a_desc = VDESC(vop_print);
909 rc = VCALL(vp, VOFFSET(vop_print), &a);
912 struct vop_pathconf_args {
913 struct vnodeop_desc *a_desc;
916 register_t *a_retval;
918 extern struct vnodeop_desc vop_pathconf_desc;
919 static __inline int VOP_PATHCONF
920 __P((struct vnode * vp, int name, register_t * retval));
922 VOP_PATHCONF(vp, name, retval)
927 struct vop_pathconf_args a;
929 a.a_desc = VDESC(vop_pathconf);
933 rc = VCALL(vp, VOFFSET(vop_pathconf), &a);
936 struct vop_advlock_args {
937 struct vnodeop_desc *a_desc;
944 extern struct vnodeop_desc vop_advlock_desc;
945 static __inline int VOP_ADVLOCK
946 __P((struct vnode * vp, caddr_t id, int op, struct flock * fl, int flags));
948 VOP_ADVLOCK(vp, id, op, fl, flags)
955 struct vop_advlock_args a;
957 a.a_desc = VDESC(vop_advlock);
963 rc = VCALL(vp, VOFFSET(vop_advlock), &a);
966 struct vop_balloc_args {
967 struct vnodeop_desc *a_desc;
971 struct ucred *a_cred;
975 extern struct vnodeop_desc vop_balloc_desc;
976 static __inline int VOP_BALLOC
977 __P((struct vnode * vp, off_t startoffset, int size, struct ucred * cred,
978 int flags, struct buf ** bpp));
980 VOP_BALLOC(vp, startoffset, size, cred, flags, bpp)
988 struct vop_balloc_args a;
990 a.a_desc = VDESC(vop_balloc);
992 a.a_startoffset = startoffset;
997 rc = VCALL(vp, VOFFSET(vop_balloc), &a);
1000 struct vop_reallocblks_args {
1001 struct vnodeop_desc *a_desc;
1003 struct cluster_save *a_buflist;
1005 extern struct vnodeop_desc vop_reallocblks_desc;
1006 static __inline int VOP_REALLOCBLKS
1007 __P((struct vnode * vp, struct cluster_save * buflist));
1009 VOP_REALLOCBLKS(vp, buflist)
1011 struct cluster_save *buflist;
1013 struct vop_reallocblks_args a;
1015 a.a_desc = VDESC(vop_reallocblks);
1017 a.a_buflist = buflist;
1018 rc = VCALL(vp, VOFFSET(vop_reallocblks), &a);
1021 struct vop_getpages_args {
1022 struct vnodeop_desc *a_desc;
1027 vm_ooffset_t a_offset;
1029 extern struct vnodeop_desc vop_getpages_desc;
1030 static __inline int VOP_GETPAGES
1031 __P((struct vnode * vp, vm_page_t * m, int count, int reqpage,
1032 vm_ooffset_t offset));
1034 VOP_GETPAGES(vp, m, count, reqpage, offset)
1039 vm_ooffset_t offset;
1041 struct vop_getpages_args a;
1043 a.a_desc = VDESC(vop_getpages);
1047 a.a_reqpage = reqpage;
1048 a.a_offset = offset;
1049 rc = VCALL(vp, VOFFSET(vop_getpages), &a);
1052 struct vop_putpages_args {
1053 struct vnodeop_desc *a_desc;
1059 vm_ooffset_t a_offset;
1061 extern struct vnodeop_desc vop_putpages_desc;
1062 static __inline int VOP_PUTPAGES
1063 __P((struct vnode * vp, vm_page_t * m, int count, int sync, int *rtvals,
1064 vm_ooffset_t offset));
1066 VOP_PUTPAGES(vp, m, count, sync, rtvals, offset)
1072 vm_ooffset_t offset;
1074 struct vop_putpages_args a;
1076 a.a_desc = VDESC(vop_putpages);
1081 a.a_rtvals = rtvals;
1082 a.a_offset = offset;
1083 rc = VCALL(vp, VOFFSET(vop_putpages), &a);
1086 struct vop_freeblks_args {
1087 struct vnodeop_desc *a_desc;
1092 extern struct vnodeop_desc vop_freeblks_desc;
1093 static __inline int VOP_FREEBLKS
1094 __P((struct vnode * vp, daddr_t addr, daddr_t length));
1096 VOP_FREEBLKS(vp, addr, length)
1101 struct vop_freeblks_args a;
1103 a.a_desc = VDESC(vop_freeblks);
1106 a.a_length = length;
1107 rc = VCALL(vp, VOFFSET(vop_freeblks), &a);
1110 struct vop_bwrite_args {
1111 struct vnodeop_desc *a_desc;
1115 extern struct vnodeop_desc vop_bwrite_desc;
1116 static __inline int VOP_BWRITE __P((struct vnode * vp, struct buf * bp));
1122 struct vop_bwrite_args a;
1124 a.a_desc = VDESC(vop_bwrite);
1127 rc = VCALL(vp, VOFFSET(vop_bwrite), &a);
1130 struct vop_getacl_args {
1131 struct vnodeop_desc *a_desc;
1135 struct ucred *a_cred;
1138 extern struct vnodeop_desc vop_getacl_desc;
1139 static __inline int VOP_GETACL
1140 __P((struct vnode * vp, acl_type_t type, struct acl * aclp,
1141 struct ucred * cred, struct proc * p));
1143 VOP_GETACL(vp, type, aclp, cred, p)
1150 struct vop_getacl_args a;
1152 a.a_desc = VDESC(vop_getacl);
1158 rc = VCALL(vp, VOFFSET(vop_getacl), &a);
1161 struct vop_setacl_args {
1162 struct vnodeop_desc *a_desc;
1166 struct ucred *a_cred;
1169 extern struct vnodeop_desc vop_setacl_desc;
1170 static __inline int VOP_SETACL
1171 __P((struct vnode * vp, acl_type_t type, struct acl * aclp,
1172 struct ucred * cred, struct proc * p));
1174 VOP_SETACL(vp, type, aclp, cred, p)
1181 struct vop_setacl_args a;
1183 a.a_desc = VDESC(vop_setacl);
1189 rc = VCALL(vp, VOFFSET(vop_setacl), &a);
1192 struct vop_aclcheck_args {
1193 struct vnodeop_desc *a_desc;
1197 struct ucred *a_cred;
1200 extern struct vnodeop_desc vop_aclcheck_desc;
1201 static __inline int VOP_ACLCHECK
1202 __P((struct vnode * vp, acl_type_t type, struct acl * aclp,
1203 struct ucred * cred, struct proc * p));
1205 VOP_ACLCHECK(vp, type, aclp, cred, p)
1212 struct vop_aclcheck_args a;
1214 a.a_desc = VDESC(vop_aclcheck);
1220 rc = VCALL(vp, VOFFSET(vop_aclcheck), &a);
1223 struct vop_getextattr_args {
1224 struct vnodeop_desc *a_desc;
1228 struct ucred *a_cred;
1231 extern struct vnodeop_desc vop_getextattr_desc;
1232 static __inline int VOP_GETEXTATTR
1233 __P((struct vnode * vp, char *name, struct uio * uio, struct ucred * cred,
1236 VOP_GETEXTATTR(vp, name, uio, cred, p)
1243 struct vop_getextattr_args a;
1245 a.a_desc = VDESC(vop_getextattr);
1251 rc = VCALL(vp, VOFFSET(vop_getextattr), &a);
1254 struct vop_setextattr_args {
1255 struct vnodeop_desc *a_desc;
1259 struct ucred *a_cred;
1262 extern struct vnodeop_desc vop_setextattr_desc;
1263 static __inline int VOP_SETEXTATTR
1264 __P((struct vnode * vp, char *name, struct uio * uio, struct ucred * cred,
1267 VOP_SETEXTATTR(vp, name, uio, cred, p)
1274 struct vop_setextattr_args a;
1276 a.a_desc = VDESC(vop_setextattr);
1282 rc = VCALL(vp, VOFFSET(vop_setextattr), &a);
1285 struct vop_createvobject_args {
1286 struct vnodeop_desc *a_desc;
1288 struct ucred *a_cred;
1291 extern struct vnodeop_desc vop_createvobject_desc;
1292 static __inline int VOP_CREATEVOBJECT
1293 __P((struct vnode * vp, struct ucred * cred, struct proc * p));
1295 VOP_CREATEVOBJECT(vp, cred, p)
1300 struct vop_createvobject_args a;
1302 a.a_desc = VDESC(vop_createvobject);
1306 rc = VCALL(vp, VOFFSET(vop_createvobject), &a);
1309 struct vop_destroyvobject_args {
1310 struct vnodeop_desc *a_desc;
1313 extern struct vnodeop_desc vop_destroyvobject_desc;
1314 static __inline int VOP_DESTROYVOBJECT __P((struct vnode * vp));
1316 VOP_DESTROYVOBJECT(vp)
1319 struct vop_destroyvobject_args a;
1321 a.a_desc = VDESC(vop_destroyvobject);
1323 rc = VCALL(vp, VOFFSET(vop_destroyvobject), &a);
1326 struct vop_getvobject_args {
1327 struct vnodeop_desc *a_desc;
1329 struct vm_object **a_objpp;
1331 extern struct vnodeop_desc vop_getvobject_desc;
1332 static __inline int VOP_GETVOBJECT
1333 __P((struct vnode * vp, struct vm_object ** objpp));
1335 VOP_GETVOBJECT(vp, objpp)
1337 struct vm_object **objpp;
1339 struct vop_getvobject_args a;
1341 a.a_desc = VDESC(vop_getvobject);
1344 rc = VCALL(vp, VOFFSET(vop_getvobject), &a);