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_revoke_vp_offsets
[] = {
394 VOPARG_OFFSETOF(struct vop_revoke_args
,a_vp
),
397 struct vnodeop_desc vop_revoke_desc
= {
401 vop_revoke_vp_offsets
,
409 int vop_mmap_vp_offsets
[] = {
410 VOPARG_OFFSETOF(struct vop_mmap_args
,a_vp
),
413 struct vnodeop_desc vop_mmap_desc
= {
419 VOPARG_OFFSETOF(struct vop_mmap_args
, a_cred
),
420 VOPARG_OFFSETOF(struct vop_mmap_args
, a_p
),
425 int vop_fsync_vp_offsets
[] = {
426 VOPARG_OFFSETOF(struct vop_fsync_args
,a_vp
),
429 struct vnodeop_desc vop_fsync_desc
= {
433 vop_fsync_vp_offsets
,
435 VOPARG_OFFSETOF(struct vop_fsync_args
, a_cred
),
436 VOPARG_OFFSETOF(struct vop_fsync_args
, a_p
),
441 int vop_seek_vp_offsets
[] = {
442 VOPARG_OFFSETOF(struct vop_seek_args
,a_vp
),
445 struct vnodeop_desc vop_seek_desc
= {
451 VOPARG_OFFSETOF(struct vop_seek_args
, a_cred
),
457 int vop_remove_vp_offsets
[] = {
458 VOPARG_OFFSETOF(struct vop_remove_args
,a_dvp
),
459 VOPARG_OFFSETOF(struct vop_remove_args
,a_vp
),
462 struct vnodeop_desc vop_remove_desc
= {
465 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
466 vop_remove_vp_offsets
,
470 VOPARG_OFFSETOF(struct vop_remove_args
, a_cnp
),
474 int vop_link_vp_offsets
[] = {
475 VOPARG_OFFSETOF(struct vop_link_args
,a_vp
),
476 VOPARG_OFFSETOF(struct vop_link_args
,a_tdvp
),
479 struct vnodeop_desc vop_link_desc
= {
482 0 | VDESC_VP0_WILLRELE
,
487 VOPARG_OFFSETOF(struct vop_link_args
, a_cnp
),
491 int vop_rename_vp_offsets
[] = {
492 VOPARG_OFFSETOF(struct vop_rename_args
,a_fdvp
),
493 VOPARG_OFFSETOF(struct vop_rename_args
,a_fvp
),
494 VOPARG_OFFSETOF(struct vop_rename_args
,a_tdvp
),
495 VOPARG_OFFSETOF(struct vop_rename_args
,a_tvp
),
498 struct vnodeop_desc vop_rename_desc
= {
501 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
| VDESC_VP3_WILLRELE
,
502 vop_rename_vp_offsets
,
506 VOPARG_OFFSETOF(struct vop_rename_args
, a_fcnp
),
510 int vop_mkdir_vp_offsets
[] = {
511 VOPARG_OFFSETOF(struct vop_mkdir_args
,a_dvp
),
514 struct vnodeop_desc vop_mkdir_desc
= {
517 0 | VDESC_VP0_WILLRELE
,
518 vop_mkdir_vp_offsets
,
519 VOPARG_OFFSETOF(struct vop_mkdir_args
, a_vpp
),
522 VOPARG_OFFSETOF(struct vop_mkdir_args
, a_cnp
),
526 int vop_rmdir_vp_offsets
[] = {
527 VOPARG_OFFSETOF(struct vop_rmdir_args
,a_dvp
),
528 VOPARG_OFFSETOF(struct vop_rmdir_args
,a_vp
),
531 struct vnodeop_desc vop_rmdir_desc
= {
534 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
535 vop_rmdir_vp_offsets
,
539 VOPARG_OFFSETOF(struct vop_rmdir_args
, a_cnp
),
543 int vop_symlink_vp_offsets
[] = {
544 VOPARG_OFFSETOF(struct vop_symlink_args
,a_dvp
),
547 struct vnodeop_desc vop_symlink_desc
= {
550 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
551 vop_symlink_vp_offsets
,
552 VOPARG_OFFSETOF(struct vop_symlink_args
, a_vpp
),
555 VOPARG_OFFSETOF(struct vop_symlink_args
, a_cnp
),
559 int vop_readdir_vp_offsets
[] = {
560 VOPARG_OFFSETOF(struct vop_readdir_args
,a_vp
),
563 struct vnodeop_desc vop_readdir_desc
= {
567 vop_readdir_vp_offsets
,
569 VOPARG_OFFSETOF(struct vop_readdir_args
, a_cred
),
575 int vop_readdirattr_vp_offsets
[] = {
576 VOPARG_OFFSETOF(struct vop_readdirattr_args
,a_vp
),
579 struct vnodeop_desc vop_readdirattr_desc
= {
583 vop_readdirattr_vp_offsets
,
585 VOPARG_OFFSETOF(struct vop_readdirattr_args
, a_cred
),
591 int vop_readlink_vp_offsets
[] = {
592 VOPARG_OFFSETOF(struct vop_readlink_args
,a_vp
),
595 struct vnodeop_desc vop_readlink_desc
= {
599 vop_readlink_vp_offsets
,
601 VOPARG_OFFSETOF(struct vop_readlink_args
, a_cred
),
607 int vop_abortop_vp_offsets
[] = {
608 VOPARG_OFFSETOF(struct vop_abortop_args
,a_dvp
),
611 struct vnodeop_desc vop_abortop_desc
= {
615 vop_abortop_vp_offsets
,
619 VOPARG_OFFSETOF(struct vop_abortop_args
, a_cnp
),
623 int vop_inactive_vp_offsets
[] = {
624 VOPARG_OFFSETOF(struct vop_inactive_args
,a_vp
),
627 struct vnodeop_desc vop_inactive_desc
= {
631 vop_inactive_vp_offsets
,
634 VOPARG_OFFSETOF(struct vop_inactive_args
, a_p
),
639 int vop_reclaim_vp_offsets
[] = {
640 VOPARG_OFFSETOF(struct vop_reclaim_args
,a_vp
),
643 struct vnodeop_desc vop_reclaim_desc
= {
647 vop_reclaim_vp_offsets
,
650 VOPARG_OFFSETOF(struct vop_reclaim_args
, a_p
),
655 int vop_lock_vp_offsets
[] = {
656 VOPARG_OFFSETOF(struct vop_lock_args
,a_vp
),
659 struct vnodeop_desc vop_lock_desc
= {
666 VOPARG_OFFSETOF(struct vop_lock_args
, a_p
),
671 int vop_unlock_vp_offsets
[] = {
672 VOPARG_OFFSETOF(struct vop_unlock_args
,a_vp
),
675 struct vnodeop_desc vop_unlock_desc
= {
679 vop_unlock_vp_offsets
,
682 VOPARG_OFFSETOF(struct vop_unlock_args
, a_p
),
687 int vop_bmap_vp_offsets
[] = {
688 VOPARG_OFFSETOF(struct vop_bmap_args
,a_vp
),
691 struct vnodeop_desc vop_bmap_desc
= {
696 VOPARG_OFFSETOF(struct vop_bmap_args
, a_vpp
),
703 int vop_print_vp_offsets
[] = {
704 VOPARG_OFFSETOF(struct vop_print_args
,a_vp
),
707 struct vnodeop_desc vop_print_desc
= {
711 vop_print_vp_offsets
,
719 int vop_islocked_vp_offsets
[] = {
720 VOPARG_OFFSETOF(struct vop_islocked_args
,a_vp
),
723 struct vnodeop_desc vop_islocked_desc
= {
727 vop_islocked_vp_offsets
,
735 int vop_pathconf_vp_offsets
[] = {
736 VOPARG_OFFSETOF(struct vop_pathconf_args
,a_vp
),
739 struct vnodeop_desc vop_pathconf_desc
= {
743 vop_pathconf_vp_offsets
,
751 int vop_advlock_vp_offsets
[] = {
752 VOPARG_OFFSETOF(struct vop_advlock_args
,a_vp
),
755 struct vnodeop_desc vop_advlock_desc
= {
759 vop_advlock_vp_offsets
,
767 int vop_blkatoff_vp_offsets
[] = {
768 VOPARG_OFFSETOF(struct vop_blkatoff_args
,a_vp
),
771 struct vnodeop_desc vop_blkatoff_desc
= {
775 vop_blkatoff_vp_offsets
,
783 int vop_valloc_vp_offsets
[] = {
784 VOPARG_OFFSETOF(struct vop_valloc_args
,a_pvp
),
787 struct vnodeop_desc vop_valloc_desc
= {
791 vop_valloc_vp_offsets
,
792 VOPARG_OFFSETOF(struct vop_valloc_args
, a_vpp
),
793 VOPARG_OFFSETOF(struct vop_valloc_args
, a_cred
),
799 int vop_reallocblks_vp_offsets
[] = {
800 VOPARG_OFFSETOF(struct vop_reallocblks_args
,a_vp
),
803 struct vnodeop_desc vop_reallocblks_desc
= {
807 vop_reallocblks_vp_offsets
,
815 int vop_vfree_vp_offsets
[] = {
816 VOPARG_OFFSETOF(struct vop_vfree_args
,a_pvp
),
819 struct vnodeop_desc vop_vfree_desc
= {
823 vop_vfree_vp_offsets
,
831 int vop_truncate_vp_offsets
[] = {
832 VOPARG_OFFSETOF(struct vop_truncate_args
,a_vp
),
835 struct vnodeop_desc vop_truncate_desc
= {
839 vop_truncate_vp_offsets
,
841 VOPARG_OFFSETOF(struct vop_truncate_args
, a_cred
),
842 VOPARG_OFFSETOF(struct vop_truncate_args
, a_p
),
847 int vop_allocate_vp_offsets
[] = {
848 VOPARG_OFFSETOF(struct vop_allocate_args
,a_vp
),
851 struct vnodeop_desc vop_allocate_desc
= {
855 vop_allocate_vp_offsets
,
857 VOPARG_OFFSETOF(struct vop_allocate_args
, a_cred
),
858 VOPARG_OFFSETOF(struct vop_allocate_args
, a_p
),
863 int vop_update_vp_offsets
[] = {
864 VOPARG_OFFSETOF(struct vop_update_args
,a_vp
),
867 struct vnodeop_desc vop_update_desc
= {
871 vop_update_vp_offsets
,
879 int vop_pgrd_vp_offsets
[] = {
880 VOPARG_OFFSETOF(struct vop_pgrd_args
,a_vp
),
883 struct vnodeop_desc vop_pgrd_desc
= {
889 VOPARG_OFFSETOF(struct vop_pgrd_args
, a_cred
),
895 int vop_pgwr_vp_offsets
[] = {
896 VOPARG_OFFSETOF(struct vop_pgwr_args
,a_vp
),
899 struct vnodeop_desc vop_pgwr_desc
= {
905 VOPARG_OFFSETOF(struct vop_pgwr_args
, a_cred
),
911 int vop_pagein_vp_offsets
[] = {
912 VOPARG_OFFSETOF(struct vop_pagein_args
,a_vp
),
915 struct vnodeop_desc vop_pagein_desc
= {
919 vop_pagein_vp_offsets
,
921 VOPARG_OFFSETOF(struct vop_pagein_args
, a_cred
),
927 int vop_pageout_vp_offsets
[] = {
928 VOPARG_OFFSETOF(struct vop_pageout_args
,a_vp
),
931 struct vnodeop_desc vop_pageout_desc
= {
935 vop_pageout_vp_offsets
,
937 VOPARG_OFFSETOF(struct vop_pageout_args
, a_cred
),
943 int vop_devblocksize_vp_offsets
[] = {
944 VOPARG_OFFSETOF(struct vop_devblocksize_args
,a_vp
),
947 struct vnodeop_desc vop_devblocksize_desc
= {
951 vop_devblocksize_vp_offsets
,
959 int vop_searchfs_vp_offsets
[] = {
960 VOPARG_OFFSETOF(struct vop_searchfs_args
,a_vp
),
963 struct vnodeop_desc vop_searchfs_desc
= {
967 vop_searchfs_vp_offsets
,
975 int vop_copyfile_vp_offsets
[] = {
976 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_fvp
),
977 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_tdvp
),
978 VOPARG_OFFSETOF(struct vop_copyfile_args
,a_tvp
),
981 struct vnodeop_desc vop_copyfile_desc
= {
984 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
,
985 vop_copyfile_vp_offsets
,
989 VOPARG_OFFSETOF(struct vop_copyfile_args
, a_tcnp
),
993 int vop_blktooff_vp_offsets
[] = {
994 VOPARG_OFFSETOF(struct vop_blktooff_args
,a_vp
),
997 struct vnodeop_desc vop_blktooff_desc
= {
1001 vop_blktooff_vp_offsets
,
1009 int vop_offtoblk_vp_offsets
[] = {
1010 VOPARG_OFFSETOF(struct vop_offtoblk_args
,a_vp
),
1013 struct vnodeop_desc vop_offtoblk_desc
= {
1017 vop_offtoblk_vp_offsets
,
1025 int vop_cmap_vp_offsets
[] = {
1026 VOPARG_OFFSETOF(struct vop_cmap_args
,a_vp
),
1029 struct vnodeop_desc vop_cmap_desc
= {
1033 vop_cmap_vp_offsets
,
1041 /* Special cases: */
1043 int vop_strategy_vp_offsets
[] = {
1046 struct vnodeop_desc vop_strategy_desc
= {
1050 vop_strategy_vp_offsets
,
1058 int vop_bwrite_vp_offsets
[] = {
1061 struct vnodeop_desc vop_bwrite_desc
= {
1065 vop_bwrite_vp_offsets
,
1073 /* End of special cases. */
1075 struct vnodeop_desc
*vfs_op_descs
[] = {
1076 &vop_default_desc
, /* MUST BE FIRST */
1077 &vop_strategy_desc
, /* XXX: SPECIAL CASE */
1078 &vop_bwrite_desc
, /* XXX: SPECIAL CASE */
1081 &vop_cachedlookup_desc
,
1085 &vop_mkcomplex_desc
,
1091 &vop_getattrlist_desc
,
1092 &vop_setattrlist_desc
,
1110 &vop_readdirattr_desc
,
1124 &vop_reallocblks_desc
,
1133 &vop_devblocksize_desc
,