3 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
5 * @APPLE_LICENSE_HEADER_START@
7 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
9 * This file contains Original Code and/or Modifications of Original Code
10 * as defined in and that are subject to the Apple Public Source License
11 * Version 2.0 (the 'License'). You may not use this file except in
12 * compliance with the License. Please obtain a copy of the License at
13 * http://www.opensource.apple.com/apsl/ and read it before using this
16 * The Original Code and all software distributed under the License are
17 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
18 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
19 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
21 * Please see the License for the specific language governing rights and
22 * limitations under the License.
24 * @APPLE_LICENSE_HEADER_END@
27 * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
28 * Copyright (c) 1992, 1993, 1994, 1995
29 * The Regents of the University of California. All rights reserved.
31 * Redistribution and use in source and binary forms, with or without
32 * modification, are permitted provided that the following conditions
34 * 1. Redistributions of source code must retain the above copyright
35 * notice, this list of conditions and the following disclaimer.
36 * 2. Redistributions in binary form must reproduce the above copyright
37 * notice, this list of conditions and the following disclaimer in the
38 * documentation and/or other materials provided with the distribution.
39 * 3. All advertising materials mentioning features or use of this software
40 * must display the following acknowledgement:
41 * This product includes software developed by the University of
42 * California, Berkeley and its contributors.
43 * 4. Neither the name of the University nor the names of its contributors
44 * may be used to endorse or promote products derived from this software
45 * without specific prior written permission.
47 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS AND
48 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
49 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
50 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
51 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
52 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
53 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
55 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
56 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 * Warning: This file is generated automatically.
63 * (Modifications made here may easily be lost!)
65 * Created by the script:
66 * @(#)vnode_if.sh 8.7 (Berkeley) 5/11/95
70 #include <sys/param.h>
71 #include <sys/mount.h>
73 #include <sys/vnode.h>
75 struct vnodeop_desc vop_default_desc
= {
88 int vop_lookup_vp_offsets
[] = {
89 VOPARG_OFFSETOF(struct vop_lookup_args
,a_dvp
),
92 struct vnodeop_desc vop_lookup_desc
= {
96 vop_lookup_vp_offsets
,
97 VOPARG_OFFSETOF(struct vop_lookup_args
, a_vpp
),
100 VOPARG_OFFSETOF(struct vop_lookup_args
, a_cnp
),
104 int vop_cachedlookup_vp_offsets
[] = {
105 VOPARG_OFFSETOF(struct vop_cachedlookup_args
,a_dvp
),
108 struct vnodeop_desc vop_cachedlookup_desc
= {
112 vop_cachedlookup_vp_offsets
,
113 VOPARG_OFFSETOF(struct vop_cachedlookup_args
, a_vpp
),
116 VOPARG_OFFSETOF(struct vop_cachedlookup_args
, a_cnp
),
120 int vop_create_vp_offsets
[] = {
121 VOPARG_OFFSETOF(struct vop_create_args
,a_dvp
),
124 struct vnodeop_desc vop_create_desc
= {
127 0 | VDESC_VP0_WILLRELE
,
128 vop_create_vp_offsets
,
129 VOPARG_OFFSETOF(struct vop_create_args
, a_vpp
),
132 VOPARG_OFFSETOF(struct vop_create_args
, a_cnp
),
136 int vop_whiteout_vp_offsets
[] = {
137 VOPARG_OFFSETOF(struct vop_whiteout_args
,a_dvp
),
140 struct vnodeop_desc vop_whiteout_desc
= {
143 0 | VDESC_VP0_WILLRELE
,
144 vop_whiteout_vp_offsets
,
148 VOPARG_OFFSETOF(struct vop_whiteout_args
, a_cnp
),
152 int vop_mknod_vp_offsets
[] = {
153 VOPARG_OFFSETOF(struct vop_mknod_args
,a_dvp
),
156 struct vnodeop_desc vop_mknod_desc
= {
159 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
160 vop_mknod_vp_offsets
,
161 VOPARG_OFFSETOF(struct vop_mknod_args
, a_vpp
),
164 VOPARG_OFFSETOF(struct vop_mknod_args
, a_cnp
),
168 int vop_mkcomplex_vp_offsets
[] = {
169 VOPARG_OFFSETOF(struct vop_mkcomplex_args
,a_dvp
),
172 struct vnodeop_desc vop_mkcomplex_desc
= {
175 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
176 vop_mkcomplex_vp_offsets
,
177 VOPARG_OFFSETOF(struct vop_mkcomplex_args
, a_vpp
),
180 VOPARG_OFFSETOF(struct vop_mkcomplex_args
, a_cnp
),
184 int vop_open_vp_offsets
[] = {
185 VOPARG_OFFSETOF(struct vop_open_args
,a_vp
),
188 struct vnodeop_desc vop_open_desc
= {
194 VOPARG_OFFSETOF(struct vop_open_args
, a_cred
),
195 VOPARG_OFFSETOF(struct vop_open_args
, a_p
),
200 int vop_close_vp_offsets
[] = {
201 VOPARG_OFFSETOF(struct vop_close_args
,a_vp
),
204 struct vnodeop_desc vop_close_desc
= {
208 vop_close_vp_offsets
,
210 VOPARG_OFFSETOF(struct vop_close_args
, a_cred
),
211 VOPARG_OFFSETOF(struct vop_close_args
, a_p
),
216 int vop_access_vp_offsets
[] = {
217 VOPARG_OFFSETOF(struct vop_access_args
,a_vp
),
220 struct vnodeop_desc vop_access_desc
= {
224 vop_access_vp_offsets
,
226 VOPARG_OFFSETOF(struct vop_access_args
, a_cred
),
227 VOPARG_OFFSETOF(struct vop_access_args
, a_p
),
232 int vop_getattr_vp_offsets
[] = {
233 VOPARG_OFFSETOF(struct vop_getattr_args
,a_vp
),
236 struct vnodeop_desc vop_getattr_desc
= {
240 vop_getattr_vp_offsets
,
242 VOPARG_OFFSETOF(struct vop_getattr_args
, a_cred
),
243 VOPARG_OFFSETOF(struct vop_getattr_args
, a_p
),
248 int vop_setattr_vp_offsets
[] = {
249 VOPARG_OFFSETOF(struct vop_setattr_args
,a_vp
),
252 struct vnodeop_desc vop_setattr_desc
= {
256 vop_setattr_vp_offsets
,
258 VOPARG_OFFSETOF(struct vop_setattr_args
, a_cred
),
259 VOPARG_OFFSETOF(struct vop_setattr_args
, a_p
),
264 int vop_getattrlist_vp_offsets
[] = {
265 VOPARG_OFFSETOF(struct vop_getattrlist_args
,a_vp
),
268 struct vnodeop_desc vop_getattrlist_desc
= {
272 vop_getattrlist_vp_offsets
,
274 VOPARG_OFFSETOF(struct vop_getattrlist_args
, a_cred
),
275 VOPARG_OFFSETOF(struct vop_getattrlist_args
, a_p
),
280 int vop_setattrlist_vp_offsets
[] = {
281 VOPARG_OFFSETOF(struct vop_setattrlist_args
,a_vp
),
284 struct vnodeop_desc vop_setattrlist_desc
= {
288 vop_setattrlist_vp_offsets
,
290 VOPARG_OFFSETOF(struct vop_setattrlist_args
, a_cred
),
291 VOPARG_OFFSETOF(struct vop_setattrlist_args
, a_p
),
296 int vop_read_vp_offsets
[] = {
297 VOPARG_OFFSETOF(struct vop_read_args
,a_vp
),
300 struct vnodeop_desc vop_read_desc
= {
306 VOPARG_OFFSETOF(struct vop_read_args
, a_cred
),
312 int vop_write_vp_offsets
[] = {
313 VOPARG_OFFSETOF(struct vop_write_args
,a_vp
),
316 struct vnodeop_desc vop_write_desc
= {
320 vop_write_vp_offsets
,
322 VOPARG_OFFSETOF(struct vop_write_args
, a_cred
),
328 int vop_lease_vp_offsets
[] = {
329 VOPARG_OFFSETOF(struct vop_lease_args
,a_vp
),
332 struct vnodeop_desc vop_lease_desc
= {
336 vop_lease_vp_offsets
,
338 VOPARG_OFFSETOF(struct vop_lease_args
, a_cred
),
339 VOPARG_OFFSETOF(struct vop_lease_args
, a_p
),
344 int vop_ioctl_vp_offsets
[] = {
345 VOPARG_OFFSETOF(struct vop_ioctl_args
,a_vp
),
348 struct vnodeop_desc vop_ioctl_desc
= {
352 vop_ioctl_vp_offsets
,
354 VOPARG_OFFSETOF(struct vop_ioctl_args
, a_cred
),
355 VOPARG_OFFSETOF(struct vop_ioctl_args
, a_p
),
360 int vop_select_vp_offsets
[] = {
361 VOPARG_OFFSETOF(struct vop_select_args
,a_vp
),
364 struct vnodeop_desc vop_select_desc
= {
368 vop_select_vp_offsets
,
370 VOPARG_OFFSETOF(struct vop_select_args
, a_cred
),
371 VOPARG_OFFSETOF(struct vop_select_args
, a_p
),
376 int vop_exchange_vp_offsets
[] = {
377 VOPARG_OFFSETOF(struct vop_exchange_args
,a_fvp
),
378 VOPARG_OFFSETOF(struct vop_exchange_args
,a_tvp
),
381 struct vnodeop_desc vop_exchange_desc
= {
385 vop_exchange_vp_offsets
,
387 VOPARG_OFFSETOF(struct vop_exchange_args
, a_cred
),
388 VOPARG_OFFSETOF(struct vop_exchange_args
, a_p
),
393 int vop_kqfilt_add_vp_offsets
[] = {
394 VOPARG_OFFSETOF(struct vop_kqfilt_add_args
,a_vp
),
397 struct vnodeop_desc vop_kqfilt_add_desc
= {
401 vop_kqfilt_add_vp_offsets
,
404 VOPARG_OFFSETOF(struct vop_kqfilt_add_args
, a_p
),
409 int vop_kqfilt_remove_vp_offsets
[] = {
410 VOPARG_OFFSETOF(struct vop_kqfilt_remove_args
,a_vp
),
413 struct vnodeop_desc vop_kqfilt_remove_desc
= {
417 vop_kqfilt_remove_vp_offsets
,
420 VOPARG_OFFSETOF(struct vop_kqfilt_remove_args
, a_p
),
425 int vop_revoke_vp_offsets
[] = {
426 VOPARG_OFFSETOF(struct vop_revoke_args
,a_vp
),
429 struct vnodeop_desc vop_revoke_desc
= {
433 vop_revoke_vp_offsets
,
441 int vop_mmap_vp_offsets
[] = {
442 VOPARG_OFFSETOF(struct vop_mmap_args
,a_vp
),
445 struct vnodeop_desc vop_mmap_desc
= {
451 VOPARG_OFFSETOF(struct vop_mmap_args
, a_cred
),
452 VOPARG_OFFSETOF(struct vop_mmap_args
, a_p
),
457 int vop_fsync_vp_offsets
[] = {
458 VOPARG_OFFSETOF(struct vop_fsync_args
,a_vp
),
461 struct vnodeop_desc vop_fsync_desc
= {
465 vop_fsync_vp_offsets
,
467 VOPARG_OFFSETOF(struct vop_fsync_args
, a_cred
),
468 VOPARG_OFFSETOF(struct vop_fsync_args
, a_p
),
473 int vop_seek_vp_offsets
[] = {
474 VOPARG_OFFSETOF(struct vop_seek_args
,a_vp
),
477 struct vnodeop_desc vop_seek_desc
= {
483 VOPARG_OFFSETOF(struct vop_seek_args
, a_cred
),
489 int vop_remove_vp_offsets
[] = {
490 VOPARG_OFFSETOF(struct vop_remove_args
,a_dvp
),
491 VOPARG_OFFSETOF(struct vop_remove_args
,a_vp
),
494 struct vnodeop_desc vop_remove_desc
= {
497 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
498 vop_remove_vp_offsets
,
502 VOPARG_OFFSETOF(struct vop_remove_args
, a_cnp
),
506 int vop_link_vp_offsets
[] = {
507 VOPARG_OFFSETOF(struct vop_link_args
,a_vp
),
508 VOPARG_OFFSETOF(struct vop_link_args
,a_tdvp
),
511 struct vnodeop_desc vop_link_desc
= {
514 0 | VDESC_VP1_WILLRELE
,
519 VOPARG_OFFSETOF(struct vop_link_args
, a_cnp
),
523 int vop_rename_vp_offsets
[] = {
524 VOPARG_OFFSETOF(struct vop_rename_args
,a_fdvp
),
525 VOPARG_OFFSETOF(struct vop_rename_args
,a_fvp
),
526 VOPARG_OFFSETOF(struct vop_rename_args
,a_tdvp
),
527 VOPARG_OFFSETOF(struct vop_rename_args
,a_tvp
),
530 struct vnodeop_desc vop_rename_desc
= {
533 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
| VDESC_VP3_WILLRELE
,
534 vop_rename_vp_offsets
,
538 VOPARG_OFFSETOF(struct vop_rename_args
, a_fcnp
),
542 int vop_mkdir_vp_offsets
[] = {
543 VOPARG_OFFSETOF(struct vop_mkdir_args
,a_dvp
),
546 struct vnodeop_desc vop_mkdir_desc
= {
549 0 | VDESC_VP0_WILLRELE
,
550 vop_mkdir_vp_offsets
,
551 VOPARG_OFFSETOF(struct vop_mkdir_args
, a_vpp
),
554 VOPARG_OFFSETOF(struct vop_mkdir_args
, a_cnp
),
558 int vop_rmdir_vp_offsets
[] = {
559 VOPARG_OFFSETOF(struct vop_rmdir_args
,a_dvp
),
560 VOPARG_OFFSETOF(struct vop_rmdir_args
,a_vp
),
563 struct vnodeop_desc vop_rmdir_desc
= {
566 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
567 vop_rmdir_vp_offsets
,
571 VOPARG_OFFSETOF(struct vop_rmdir_args
, a_cnp
),
575 int vop_symlink_vp_offsets
[] = {
576 VOPARG_OFFSETOF(struct vop_symlink_args
,a_dvp
),
579 struct vnodeop_desc vop_symlink_desc
= {
582 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
583 vop_symlink_vp_offsets
,
584 VOPARG_OFFSETOF(struct vop_symlink_args
, a_vpp
),
587 VOPARG_OFFSETOF(struct vop_symlink_args
, a_cnp
),
591 int vop_readdir_vp_offsets
[] = {
592 VOPARG_OFFSETOF(struct vop_readdir_args
,a_vp
),
595 struct vnodeop_desc vop_readdir_desc
= {
599 vop_readdir_vp_offsets
,
601 VOPARG_OFFSETOF(struct vop_readdir_args
, a_cred
),
607 int vop_readdirattr_vp_offsets
[] = {
608 VOPARG_OFFSETOF(struct vop_readdirattr_args
,a_vp
),
611 struct vnodeop_desc vop_readdirattr_desc
= {
615 vop_readdirattr_vp_offsets
,
617 VOPARG_OFFSETOF(struct vop_readdirattr_args
, a_cred
),
623 int vop_readlink_vp_offsets
[] = {
624 VOPARG_OFFSETOF(struct vop_readlink_args
,a_vp
),
627 struct vnodeop_desc vop_readlink_desc
= {
631 vop_readlink_vp_offsets
,
633 VOPARG_OFFSETOF(struct vop_readlink_args
, a_cred
),
639 int vop_abortop_vp_offsets
[] = {
640 VOPARG_OFFSETOF(struct vop_abortop_args
,a_dvp
),
643 struct vnodeop_desc vop_abortop_desc
= {
647 vop_abortop_vp_offsets
,
651 VOPARG_OFFSETOF(struct vop_abortop_args
, a_cnp
),
655 int vop_inactive_vp_offsets
[] = {
656 VOPARG_OFFSETOF(struct vop_inactive_args
,a_vp
),
659 struct vnodeop_desc vop_inactive_desc
= {
663 vop_inactive_vp_offsets
,
666 VOPARG_OFFSETOF(struct vop_inactive_args
, a_p
),
671 int vop_reclaim_vp_offsets
[] = {
672 VOPARG_OFFSETOF(struct vop_reclaim_args
,a_vp
),
675 struct vnodeop_desc vop_reclaim_desc
= {
679 vop_reclaim_vp_offsets
,
682 VOPARG_OFFSETOF(struct vop_reclaim_args
, a_p
),
687 int vop_lock_vp_offsets
[] = {
688 VOPARG_OFFSETOF(struct vop_lock_args
,a_vp
),
691 struct vnodeop_desc vop_lock_desc
= {
698 VOPARG_OFFSETOF(struct vop_lock_args
, a_p
),
703 int vop_unlock_vp_offsets
[] = {
704 VOPARG_OFFSETOF(struct vop_unlock_args
,a_vp
),
707 struct vnodeop_desc vop_unlock_desc
= {
711 vop_unlock_vp_offsets
,
714 VOPARG_OFFSETOF(struct vop_unlock_args
, a_p
),
719 int vop_bmap_vp_offsets
[] = {
720 VOPARG_OFFSETOF(struct vop_bmap_args
,a_vp
),
723 struct vnodeop_desc vop_bmap_desc
= {
728 VOPARG_OFFSETOF(struct vop_bmap_args
, a_vpp
),
735 int vop_print_vp_offsets
[] = {
736 VOPARG_OFFSETOF(struct vop_print_args
,a_vp
),
739 struct vnodeop_desc vop_print_desc
= {
743 vop_print_vp_offsets
,
751 int vop_islocked_vp_offsets
[] = {
752 VOPARG_OFFSETOF(struct vop_islocked_args
,a_vp
),
755 struct vnodeop_desc vop_islocked_desc
= {
759 vop_islocked_vp_offsets
,
767 int vop_pathconf_vp_offsets
[] = {
768 VOPARG_OFFSETOF(struct vop_pathconf_args
,a_vp
),
771 struct vnodeop_desc vop_pathconf_desc
= {
775 vop_pathconf_vp_offsets
,
783 int vop_advlock_vp_offsets
[] = {
784 VOPARG_OFFSETOF(struct vop_advlock_args
,a_vp
),
787 struct vnodeop_desc vop_advlock_desc
= {
791 vop_advlock_vp_offsets
,
799 int vop_blkatoff_vp_offsets
[] = {
800 VOPARG_OFFSETOF(struct vop_blkatoff_args
,a_vp
),
803 struct vnodeop_desc vop_blkatoff_desc
= {
807 vop_blkatoff_vp_offsets
,
815 int vop_valloc_vp_offsets
[] = {
816 VOPARG_OFFSETOF(struct vop_valloc_args
,a_pvp
),
819 struct vnodeop_desc vop_valloc_desc
= {
823 vop_valloc_vp_offsets
,
824 VOPARG_OFFSETOF(struct vop_valloc_args
, a_vpp
),
825 VOPARG_OFFSETOF(struct vop_valloc_args
, a_cred
),
831 int vop_reallocblks_vp_offsets
[] = {
832 VOPARG_OFFSETOF(struct vop_reallocblks_args
,a_vp
),
835 struct vnodeop_desc vop_reallocblks_desc
= {
839 vop_reallocblks_vp_offsets
,
847 int vop_vfree_vp_offsets
[] = {
848 VOPARG_OFFSETOF(struct vop_vfree_args
,a_pvp
),
851 struct vnodeop_desc vop_vfree_desc
= {
855 vop_vfree_vp_offsets
,
863 int vop_truncate_vp_offsets
[] = {
864 VOPARG_OFFSETOF(struct vop_truncate_args
,a_vp
),
867 struct vnodeop_desc vop_truncate_desc
= {
871 vop_truncate_vp_offsets
,
873 VOPARG_OFFSETOF(struct vop_truncate_args
, a_cred
),
874 VOPARG_OFFSETOF(struct vop_truncate_args
, a_p
),
879 int vop_allocate_vp_offsets
[] = {
880 VOPARG_OFFSETOF(struct vop_allocate_args
,a_vp
),
883 struct vnodeop_desc vop_allocate_desc
= {
887 vop_allocate_vp_offsets
,
889 VOPARG_OFFSETOF(struct vop_allocate_args
, a_cred
),
890 VOPARG_OFFSETOF(struct vop_allocate_args
, a_p
),
895 int vop_update_vp_offsets
[] = {
896 VOPARG_OFFSETOF(struct vop_update_args
,a_vp
),
899 struct vnodeop_desc vop_update_desc
= {
903 vop_update_vp_offsets
,
911 int vop_pgrd_vp_offsets
[] = {
912 VOPARG_OFFSETOF(struct vop_pgrd_args
,a_vp
),
915 struct vnodeop_desc vop_pgrd_desc
= {
921 VOPARG_OFFSETOF(struct vop_pgrd_args
, a_cred
),
927 int vop_pgwr_vp_offsets
[] = {
928 VOPARG_OFFSETOF(struct vop_pgwr_args
,a_vp
),
931 struct vnodeop_desc vop_pgwr_desc
= {
937 VOPARG_OFFSETOF(struct vop_pgwr_args
, a_cred
),
943 int vop_pagein_vp_offsets
[] = {
944 VOPARG_OFFSETOF(struct vop_pagein_args
,a_vp
),
947 struct vnodeop_desc vop_pagein_desc
= {
951 vop_pagein_vp_offsets
,
953 VOPARG_OFFSETOF(struct vop_pagein_args
, a_cred
),
959 int vop_pageout_vp_offsets
[] = {
960 VOPARG_OFFSETOF(struct vop_pageout_args
,a_vp
),
963 struct vnodeop_desc vop_pageout_desc
= {
967 vop_pageout_vp_offsets
,
969 VOPARG_OFFSETOF(struct vop_pageout_args
, a_cred
),
975 int vop_devblocksize_vp_offsets
[] = {
976 VOPARG_OFFSETOF(struct vop_devblocksize_args
,a_vp
),
979 struct vnodeop_desc vop_devblocksize_desc
= {
983 vop_devblocksize_vp_offsets
,
991 int vop_searchfs_vp_offsets
[] = {
992 VOPARG_OFFSETOF(struct vop_searchfs_args
,a_vp
),
995 struct vnodeop_desc vop_searchfs_desc
= {
999 vop_searchfs_vp_offsets
,
1007 int vop_copyfile_vp_offsets
[] = {
1008 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_fvp
),
1009 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_tdvp
),
1010 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_tvp
),
1013 struct vnodeop_desc vop_copyfile_desc
= {
1016 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
,
1017 vop_copyfile_vp_offsets
,
1021 VOPARG_OFFSETOF(struct vop_copyfile_args
, a_tcnp
),
1025 int vop_blktooff_vp_offsets
[] = {
1026 VOPARG_OFFSETOF(struct vop_blktooff_args
,a_vp
),
1029 struct vnodeop_desc vop_blktooff_desc
= {
1033 vop_blktooff_vp_offsets
,
1041 int vop_offtoblk_vp_offsets
[] = {
1042 VOPARG_OFFSETOF(struct vop_offtoblk_args
,a_vp
),
1045 struct vnodeop_desc vop_offtoblk_desc
= {
1049 vop_offtoblk_vp_offsets
,
1057 int vop_cmap_vp_offsets
[] = {
1058 VOPARG_OFFSETOF(struct vop_cmap_args
,a_vp
),
1061 struct vnodeop_desc vop_cmap_desc
= {
1065 vop_cmap_vp_offsets
,
1073 /* Special cases: */
1075 int vop_strategy_vp_offsets
[] = {
1078 struct vnodeop_desc vop_strategy_desc
= {
1082 vop_strategy_vp_offsets
,
1090 int vop_bwrite_vp_offsets
[] = {
1093 struct vnodeop_desc vop_bwrite_desc
= {
1097 vop_bwrite_vp_offsets
,
1105 /* End of special cases. */
1107 struct vnodeop_desc
*vfs_op_descs
[] = {
1108 &vop_default_desc
, /* MUST BE FIRST */
1109 &vop_strategy_desc
, /* XXX: SPECIAL CASE */
1110 &vop_bwrite_desc
, /* XXX: SPECIAL CASE */
1113 &vop_cachedlookup_desc
,
1117 &vop_mkcomplex_desc
,
1123 &vop_getattrlist_desc
,
1124 &vop_setattrlist_desc
,
1131 &vop_kqfilt_add_desc
,
1132 &vop_kqfilt_remove_desc
,
1144 &vop_readdirattr_desc
,
1158 &vop_reallocblks_desc
,
1167 &vop_devblocksize_desc
,