3 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
5 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
7 * This file contains Original Code and/or Modifications of Original Code
8 * as defined in and that are subject to the Apple Public Source License
9 * Version 2.0 (the 'License'). You may not use this file except in
10 * compliance with the License. The rights granted to you under the License
11 * may not be used to create, or enable the creation or redistribution of,
12 * unlawful or unlicensed copies of an Apple operating system, or to
13 * circumvent, violate, or enable the circumvention or violation of, any
14 * terms of an Apple operating system software license agreement.
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this file.
19 * The Original Code and all software distributed under the License are
20 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
21 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
22 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
24 * Please see the License for the specific language governing rights and
25 * limitations under the License.
27 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
30 * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
31 * Copyright (c) 1992, 1993, 1994, 1995
32 * The Regents of the University of California. All rights reserved.
34 * Redistribution and use in source and binary forms, with or without
35 * modification, are permitted provided that the following conditions
37 * 1. Redistributions of source code must retain the above copyright
38 * notice, this list of conditions and the following disclaimer.
39 * 2. Redistributions in binary form must reproduce the above copyright
40 * notice, this list of conditions and the following disclaimer in the
41 * documentation and/or other materials provided with the distribution.
42 * 3. All advertising materials mentioning features or use of this software
43 * must display the following acknowledgement:
44 * This product includes software developed by the University of
45 * California, Berkeley and its contributors.
46 * 4. Neither the name of the University nor the names of its contributors
47 * may be used to endorse or promote products derived from this software
48 * without specific prior written permission.
50 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS AND
51 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
52 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
54 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
55 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
56 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
58 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
59 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
65 * Warning: This file is generated automatically.
66 * (Modifications made here may easily be lost!)
68 * Created by the script:
69 * @(#)vnode_if.sh 8.7 (Berkeley) 5/11/95
73 #include <sys/param.h>
74 #include <sys/mount_internal.h>
76 #include <sys/vnode_internal.h>
78 struct vnodeop_desc vnop_default_desc
= {
92 int vnop_lookup_vp_offsets
[] = {
93 VOPARG_OFFSETOF(struct vnop_lookup_args
,a_dvp
),
96 struct vnodeop_desc vnop_lookup_desc
= {
100 vnop_lookup_vp_offsets
,
101 VOPARG_OFFSETOF(struct vnop_lookup_args
, a_vpp
),
104 VOPARG_OFFSETOF(struct vnop_lookup_args
, a_cnp
),
105 VOPARG_OFFSETOF(struct vnop_lookup_args
, a_context
),
109 int vnop_compound_open_vp_offsets
[] = {
110 VOPARG_OFFSETOF(struct vnop_compound_open_args
, a_dvp
),
114 struct vnodeop_desc vnop_compound_open_desc
= {
116 "vnop_compound_open",
117 0 | VDESC_VP0_WILLRELE
,
118 vnop_compound_open_vp_offsets
,
119 VOPARG_OFFSETOF(struct vnop_compound_open_args
, a_vpp
),
122 VOPARG_OFFSETOF(struct vnop_compound_open_args
, a_cnp
),
123 VOPARG_OFFSETOF(struct vnop_compound_open_args
, a_context
),
127 int vnop_create_vp_offsets
[] = {
128 VOPARG_OFFSETOF(struct vnop_create_args
,a_dvp
),
131 struct vnodeop_desc vnop_create_desc
= {
134 0 | VDESC_VP0_WILLRELE
,
135 vnop_create_vp_offsets
,
136 VOPARG_OFFSETOF(struct vnop_create_args
, a_vpp
),
139 VOPARG_OFFSETOF(struct vnop_create_args
, a_cnp
),
140 VOPARG_OFFSETOF(struct vnop_create_args
, a_context
),
144 int vnop_whiteout_vp_offsets
[] = {
145 VOPARG_OFFSETOF(struct vnop_whiteout_args
,a_dvp
),
148 struct vnodeop_desc vnop_whiteout_desc
= {
151 0 | VDESC_VP0_WILLRELE
,
152 vnop_whiteout_vp_offsets
,
156 VOPARG_OFFSETOF(struct vnop_whiteout_args
, a_cnp
),
157 VOPARG_OFFSETOF(struct vnop_whiteout_args
, a_context
),
161 int vnop_mknod_vp_offsets
[] = {
162 VOPARG_OFFSETOF(struct vnop_mknod_args
,a_dvp
),
165 struct vnodeop_desc vnop_mknod_desc
= {
168 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
169 vnop_mknod_vp_offsets
,
170 VOPARG_OFFSETOF(struct vnop_mknod_args
, a_vpp
),
173 VOPARG_OFFSETOF(struct vnop_mknod_args
, a_cnp
),
174 VOPARG_OFFSETOF(struct vnop_mknod_args
, a_context
),
178 int vnop_open_vp_offsets
[] = {
179 VOPARG_OFFSETOF(struct vnop_open_args
,a_vp
),
182 struct vnodeop_desc vnop_open_desc
= {
186 vnop_open_vp_offsets
,
191 VOPARG_OFFSETOF(struct vnop_open_args
, a_context
),
195 int vnop_close_vp_offsets
[] = {
196 VOPARG_OFFSETOF(struct vnop_close_args
,a_vp
),
199 struct vnodeop_desc vnop_close_desc
= {
203 vnop_close_vp_offsets
,
208 VOPARG_OFFSETOF(struct vnop_close_args
, a_context
),
212 int vnop_access_vp_offsets
[] = {
213 VOPARG_OFFSETOF(struct vnop_access_args
,a_vp
),
216 struct vnodeop_desc vnop_access_desc
= {
220 vnop_access_vp_offsets
,
225 VOPARG_OFFSETOF(struct vnop_close_args
, a_context
),
229 int vnop_getattr_vp_offsets
[] = {
230 VOPARG_OFFSETOF(struct vnop_getattr_args
,a_vp
),
233 struct vnodeop_desc vnop_getattr_desc
= {
237 vnop_getattr_vp_offsets
,
242 VOPARG_OFFSETOF(struct vnop_getattr_args
, a_context
),
246 int vnop_setattr_vp_offsets
[] = {
247 VOPARG_OFFSETOF(struct vnop_setattr_args
,a_vp
),
250 struct vnodeop_desc vnop_setattr_desc
= {
254 vnop_setattr_vp_offsets
,
259 VOPARG_OFFSETOF(struct vnop_setattr_args
, a_context
),
263 int vnop_read_vp_offsets
[] = {
264 VOPARG_OFFSETOF(struct vnop_read_args
,a_vp
),
267 struct vnodeop_desc vnop_read_desc
= {
271 vnop_read_vp_offsets
,
276 VOPARG_OFFSETOF(struct vnop_read_args
, a_context
),
280 int vnop_write_vp_offsets
[] = {
281 VOPARG_OFFSETOF(struct vnop_write_args
,a_vp
),
284 struct vnodeop_desc vnop_write_desc
= {
288 vnop_write_vp_offsets
,
293 VOPARG_OFFSETOF(struct vnop_write_args
, a_context
),
297 int vnop_ioctl_vp_offsets
[] = {
298 VOPARG_OFFSETOF(struct vnop_ioctl_args
,a_vp
),
301 struct vnodeop_desc vnop_ioctl_desc
= {
305 vnop_ioctl_vp_offsets
,
310 VOPARG_OFFSETOF(struct vnop_ioctl_args
, a_context
),
314 int vnop_select_vp_offsets
[] = {
315 VOPARG_OFFSETOF(struct vnop_select_args
,a_vp
),
318 struct vnodeop_desc vnop_select_desc
= {
322 vnop_select_vp_offsets
,
327 VOPARG_OFFSETOF(struct vnop_select_args
, a_context
),
331 int vnop_exchange_vp_offsets
[] = {
332 VOPARG_OFFSETOF(struct vnop_exchange_args
,a_fvp
),
333 VOPARG_OFFSETOF(struct vnop_exchange_args
,a_tvp
),
336 struct vnodeop_desc vnop_exchange_desc
= {
340 vnop_exchange_vp_offsets
,
345 VOPARG_OFFSETOF(struct vnop_exchange_args
, a_context
),
349 int vnop_kqfilt_add_vp_offsets
[] = {
350 VOPARG_OFFSETOF(struct vnop_kqfilt_add_args
,a_vp
),
353 struct vnodeop_desc vnop_kqfilt_add_desc
= {
357 vnop_kqfilt_add_vp_offsets
,
362 VOPARG_OFFSETOF(struct vnop_kqfilt_add_args
, a_context
),
366 int vnop_kqfilt_remove_vp_offsets
[] = {
367 VOPARG_OFFSETOF(struct vnop_kqfilt_remove_args
,a_vp
),
370 struct vnodeop_desc vnop_kqfilt_remove_desc
= {
372 "vnop_kqfilt_remove",
374 vnop_kqfilt_remove_vp_offsets
,
379 VOPARG_OFFSETOF(struct vnop_kqfilt_remove_args
, a_context
),
383 int vnop_monitor_vp_offsets
[] = {
384 VOPARG_OFFSETOF(struct vnop_monitor_args
,a_vp
),
387 struct vnodeop_desc vnop_monitor_desc
= {
391 vnop_monitor_vp_offsets
,
396 VOPARG_OFFSETOF(struct vnop_monitor_args
, a_context
),
400 int vnop_setlabel_vp_offsets
[] = {
401 VOPARG_OFFSETOF(struct vnop_setlabel_args
,a_vp
),
404 struct vnodeop_desc vnop_setlabel_desc
= {
408 vnop_setlabel_vp_offsets
,
413 VOPARG_OFFSETOF(struct vnop_setlabel_args
, a_context
),
417 int vnop_revoke_vp_offsets
[] = {
418 VOPARG_OFFSETOF(struct vnop_revoke_args
,a_vp
),
421 struct vnodeop_desc vnop_revoke_desc
= {
425 vnop_revoke_vp_offsets
,
435 int vnop_mmap_vp_offsets
[] = {
436 VOPARG_OFFSETOF(struct vnop_mmap_args
,a_vp
),
439 struct vnodeop_desc vnop_mmap_desc
= {
443 vnop_mmap_vp_offsets
,
453 int vnop_mnomap_vp_offsets
[] = {
454 VOPARG_OFFSETOF(struct vnop_mnomap_args
,a_vp
),
457 struct vnodeop_desc vnop_mnomap_desc
= {
461 vnop_mnomap_vp_offsets
,
471 int vnop_fsync_vp_offsets
[] = {
472 VOPARG_OFFSETOF(struct vnop_fsync_args
,a_vp
),
475 struct vnodeop_desc vnop_fsync_desc
= {
479 vnop_fsync_vp_offsets
,
484 VOPARG_OFFSETOF(struct vnop_fsync_args
, a_context
),
488 int vnop_remove_vp_offsets
[] = {
489 VOPARG_OFFSETOF(struct vnop_remove_args
,a_dvp
),
490 VOPARG_OFFSETOF(struct vnop_remove_args
,a_vp
),
493 struct vnodeop_desc vnop_remove_desc
= {
496 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
497 vnop_remove_vp_offsets
,
501 VOPARG_OFFSETOF(struct vnop_remove_args
, a_cnp
),
502 VOPARG_OFFSETOF(struct vnop_remove_args
, a_context
),
506 int vnop_remove_extended_vp_offsets
[] = {
507 VOPARG_OFFSETOF(struct vnop_remove_args
,a_dvp
),
510 struct vnodeop_desc vnop_compound_remove_desc
= {
512 "vnop_compound_remove",
514 vnop_remove_vp_offsets
,
515 VOPARG_OFFSETOF(struct vnop_compound_remove_args
, a_vpp
),
518 VOPARG_OFFSETOF(struct vnop_remove_args
, a_cnp
),
519 VOPARG_OFFSETOF(struct vnop_remove_args
, a_context
),
523 int vnop_link_vp_offsets
[] = {
524 VOPARG_OFFSETOF(struct vnop_link_args
,a_vp
),
525 VOPARG_OFFSETOF(struct vnop_link_args
,a_tdvp
),
528 struct vnodeop_desc vnop_link_desc
= {
531 0 | VDESC_VP1_WILLRELE
,
532 vnop_link_vp_offsets
,
536 VOPARG_OFFSETOF(struct vnop_link_args
, a_cnp
),
537 VOPARG_OFFSETOF(struct vnop_link_args
, a_context
),
541 int vnop_rename_vp_offsets
[] = {
542 VOPARG_OFFSETOF(struct vnop_rename_args
,a_fdvp
),
543 VOPARG_OFFSETOF(struct vnop_rename_args
,a_fvp
),
544 VOPARG_OFFSETOF(struct vnop_rename_args
,a_tdvp
),
545 VOPARG_OFFSETOF(struct vnop_rename_args
,a_tvp
),
548 struct vnodeop_desc vnop_rename_desc
= {
551 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
| VDESC_VP3_WILLRELE
,
552 vnop_rename_vp_offsets
,
556 VOPARG_OFFSETOF(struct vnop_rename_args
, a_fcnp
),
557 VOPARG_OFFSETOF(struct vnop_rename_args
, a_context
),
561 int vnop_compound_rename_vp_offsets
[] = {
562 VOPARG_OFFSETOF(struct vnop_compound_rename_args
,a_fdvp
),
563 VOPARG_OFFSETOF(struct vnop_compound_rename_args
,a_fvpp
),
564 VOPARG_OFFSETOF(struct vnop_compound_rename_args
,a_tdvp
),
565 VOPARG_OFFSETOF(struct vnop_compound_rename_args
,a_tvpp
),
568 struct vnodeop_desc vnop_compound_rename_desc
= {
570 "vnop_compound_rename",
571 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
| VDESC_VP3_WILLRELE
,
572 vnop_compound_rename_vp_offsets
,
576 VOPARG_OFFSETOF(struct vnop_compound_rename_args
, a_fcnp
),
577 VOPARG_OFFSETOF(struct vnop_compound_rename_args
, a_context
),
581 int vnop_mkdir_vp_offsets
[] = {
582 VOPARG_OFFSETOF(struct vnop_mkdir_args
,a_dvp
),
585 struct vnodeop_desc vnop_mkdir_desc
= {
588 0 | VDESC_VP0_WILLRELE
,
589 vnop_mkdir_vp_offsets
,
590 VOPARG_OFFSETOF(struct vnop_mkdir_args
, a_vpp
),
593 VOPARG_OFFSETOF(struct vnop_mkdir_args
, a_cnp
),
594 VOPARG_OFFSETOF(struct vnop_mkdir_args
, a_context
),
598 int vnop_compound_mkdir_vp_offsets
[] = {
599 VOPARG_OFFSETOF(struct vnop_compound_mkdir_args
,a_dvp
),
602 struct vnodeop_desc vnop_compound_mkdir_desc
= {
604 "vnop_compound_mkdir",
605 0 | VDESC_VP0_WILLRELE
,
606 vnop_compound_mkdir_vp_offsets
,
607 VOPARG_OFFSETOF(struct vnop_compound_mkdir_args
, a_vpp
),
610 VOPARG_OFFSETOF(struct vnop_compound_mkdir_args
, a_cnp
),
611 VOPARG_OFFSETOF(struct vnop_compound_mkdir_args
, a_context
),
616 int vnop_rmdir_vp_offsets
[] = {
617 VOPARG_OFFSETOF(struct vnop_rmdir_args
,a_dvp
),
618 VOPARG_OFFSETOF(struct vnop_rmdir_args
,a_vp
),
621 struct vnodeop_desc vnop_rmdir_desc
= {
624 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
625 vnop_rmdir_vp_offsets
,
629 VOPARG_OFFSETOF(struct vnop_rmdir_args
, a_cnp
),
630 VOPARG_OFFSETOF(struct vnop_rmdir_args
, a_context
),
634 int vnop_compound_rmdir_vp_offsets
[] = {
635 VOPARG_OFFSETOF(struct vnop_compound_rmdir_args
,a_dvp
),
638 struct vnodeop_desc vnop_compound_rmdir_desc
= {
640 "vnop_compound_rmdir",
641 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
,
642 vnop_rmdir_vp_offsets
,
646 VOPARG_OFFSETOF(struct vnop_compound_rmdir_args
, a_cnp
),
647 VOPARG_OFFSETOF(struct vnop_compound_rmdir_args
, a_context
),
651 int vnop_symlink_vp_offsets
[] = {
652 VOPARG_OFFSETOF(struct vnop_symlink_args
,a_dvp
),
655 struct vnodeop_desc vnop_symlink_desc
= {
658 0 | VDESC_VP0_WILLRELE
| VDESC_VPP_WILLRELE
,
659 vnop_symlink_vp_offsets
,
660 VOPARG_OFFSETOF(struct vnop_symlink_args
, a_vpp
),
663 VOPARG_OFFSETOF(struct vnop_symlink_args
, a_cnp
),
664 VOPARG_OFFSETOF(struct vnop_symlink_args
, a_context
),
668 int vnop_readdir_vp_offsets
[] = {
669 VOPARG_OFFSETOF(struct vnop_readdir_args
,a_vp
),
672 struct vnodeop_desc vnop_readdir_desc
= {
676 vnop_readdir_vp_offsets
,
681 VOPARG_OFFSETOF(struct vnop_symlink_args
, a_context
),
685 int vnop_readdirattr_vp_offsets
[] = {
686 VOPARG_OFFSETOF(struct vnop_readdirattr_args
,a_vp
),
689 struct vnodeop_desc vnop_readdirattr_desc
= {
693 vnop_readdirattr_vp_offsets
,
698 VOPARG_OFFSETOF(struct vnop_readdirattr_args
, a_context
),
702 int vnop_readlink_vp_offsets
[] = {
703 VOPARG_OFFSETOF(struct vnop_readlink_args
,a_vp
),
706 struct vnodeop_desc vnop_readlink_desc
= {
710 vnop_readlink_vp_offsets
,
715 VOPARG_OFFSETOF(struct vnop_readlink_args
, a_context
),
719 int vnop_inactive_vp_offsets
[] = {
720 VOPARG_OFFSETOF(struct vnop_inactive_args
,a_vp
),
723 struct vnodeop_desc vnop_inactive_desc
= {
727 vnop_inactive_vp_offsets
,
732 VOPARG_OFFSETOF(struct vnop_inactive_args
, a_context
),
736 int vnop_reclaim_vp_offsets
[] = {
737 VOPARG_OFFSETOF(struct vnop_reclaim_args
,a_vp
),
740 struct vnodeop_desc vnop_reclaim_desc
= {
744 vnop_reclaim_vp_offsets
,
749 VOPARG_OFFSETOF(struct vnop_reclaim_args
, a_context
),
753 int vnop_pathconf_vp_offsets
[] = {
754 VOPARG_OFFSETOF(struct vnop_pathconf_args
,a_vp
),
757 struct vnodeop_desc vnop_pathconf_desc
= {
761 vnop_pathconf_vp_offsets
,
766 VOPARG_OFFSETOF(struct vnop_pathconf_args
, a_context
),
770 int vnop_advlock_vp_offsets
[] = {
771 VOPARG_OFFSETOF(struct vnop_advlock_args
,a_vp
),
774 struct vnodeop_desc vnop_advlock_desc
= {
778 vnop_advlock_vp_offsets
,
783 VOPARG_OFFSETOF(struct vnop_advlock_args
, a_context
),
787 int vnop_allocate_vp_offsets
[] = {
788 VOPARG_OFFSETOF(struct vnop_allocate_args
,a_vp
),
791 struct vnodeop_desc vnop_allocate_desc
= {
795 vnop_allocate_vp_offsets
,
800 VOPARG_OFFSETOF(struct vnop_allocate_args
, a_context
),
804 int vnop_pagein_vp_offsets
[] = {
805 VOPARG_OFFSETOF(struct vnop_pagein_args
,a_vp
),
808 struct vnodeop_desc vnop_pagein_desc
= {
812 vnop_pagein_vp_offsets
,
817 VOPARG_OFFSETOF(struct vnop_pagein_args
, a_context
),
821 int vnop_pageout_vp_offsets
[] = {
822 VOPARG_OFFSETOF(struct vnop_pageout_args
,a_vp
),
825 struct vnodeop_desc vnop_pageout_desc
= {
829 vnop_pageout_vp_offsets
,
834 VOPARG_OFFSETOF(struct vnop_pageout_args
, a_context
),
838 int vnop_searchfs_vp_offsets
[] = {
839 VOPARG_OFFSETOF(struct vnop_searchfs_args
,a_vp
),
842 struct vnodeop_desc vnop_searchfs_desc
= {
846 vnop_searchfs_vp_offsets
,
855 int vnop_copyfile_vp_offsets
[] = {
856 VOPARG_OFFSETOF(struct vnop_copyfile_args
,a_fvp
),
857 VOPARG_OFFSETOF(struct vnop_copyfile_args
,a_tdvp
),
858 VOPARG_OFFSETOF(struct vnop_copyfile_args
,a_tvp
),
861 struct vnodeop_desc vnop_copyfile_desc
= {
864 0 | VDESC_VP0_WILLRELE
| VDESC_VP1_WILLRELE
| VDESC_VP2_WILLRELE
,
865 vnop_copyfile_vp_offsets
,
869 VOPARG_OFFSETOF(struct vnop_copyfile_args
, a_tcnp
),
874 int vop_getxattr_vp_offsets
[] = {
875 VOPARG_OFFSETOF(struct vnop_getxattr_args
,a_vp
),
878 struct vnodeop_desc vnop_getxattr_desc
= {
882 vop_getxattr_vp_offsets
,
887 VOPARG_OFFSETOF(struct vnop_getxattr_args
, a_context
),
891 int vop_setxattr_vp_offsets
[] = {
892 VOPARG_OFFSETOF(struct vnop_setxattr_args
,a_vp
),
895 struct vnodeop_desc vnop_setxattr_desc
= {
899 vop_setxattr_vp_offsets
,
904 VOPARG_OFFSETOF(struct vnop_setxattr_args
, a_context
),
908 int vop_removexattr_vp_offsets
[] = {
909 VOPARG_OFFSETOF(struct vnop_removexattr_args
,a_vp
),
912 struct vnodeop_desc vnop_removexattr_desc
= {
916 vop_removexattr_vp_offsets
,
921 VOPARG_OFFSETOF(struct vnop_removexattr_args
, a_context
),
925 int vop_listxattr_vp_offsets
[] = {
926 VOPARG_OFFSETOF(struct vnop_listxattr_args
,a_vp
),
929 struct vnodeop_desc vnop_listxattr_desc
= {
933 vop_listxattr_vp_offsets
,
938 VOPARG_OFFSETOF(struct vnop_listxattr_args
, a_context
),
942 int vnop_blktooff_vp_offsets
[] = {
943 VOPARG_OFFSETOF(struct vnop_blktooff_args
,a_vp
),
946 struct vnodeop_desc vnop_blktooff_desc
= {
950 vnop_blktooff_vp_offsets
,
959 int vnop_offtoblk_vp_offsets
[] = {
960 VOPARG_OFFSETOF(struct vnop_offtoblk_args
,a_vp
),
963 struct vnodeop_desc vnop_offtoblk_desc
= {
967 vnop_offtoblk_vp_offsets
,
976 int vnop_blockmap_vp_offsets
[] = {
977 VOPARG_OFFSETOF(struct vnop_blockmap_args
,a_vp
),
980 struct vnodeop_desc vnop_blockmap_desc
= {
984 vnop_blockmap_vp_offsets
,
994 int vnop_getnamedstream_vp_offsets
[] = {
995 VOPARG_OFFSETOF(struct vnop_getnamedstream_args
, a_vp
),
998 struct vnodeop_desc vnop_getnamedstream_desc
= {
1000 "vnop_getnamedstream",
1002 vnop_getnamedstream_vp_offsets
,
1003 VOPARG_OFFSETOF(struct vnop_getnamedstream_args
, a_svpp
),
1006 VOPARG_OFFSETOF(struct vnop_getnamedstream_args
, a_name
),
1007 VOPARG_OFFSETOF(struct vnop_getnamedstream_args
, a_context
),
1011 int vnop_makenamedstream_vp_offsets
[] = {
1012 VOPARG_OFFSETOF(struct vnop_makenamedstream_args
, a_vp
),
1015 struct vnodeop_desc vnop_makenamedstream_desc
= {
1017 "vnop_makenamedstream",
1019 vnop_makenamedstream_vp_offsets
,
1020 VOPARG_OFFSETOF(struct vnop_makenamedstream_args
, a_svpp
),
1023 VOPARG_OFFSETOF(struct vnop_makenamedstream_args
, a_name
),
1024 VOPARG_OFFSETOF(struct vnop_makenamedstream_args
, a_context
),
1028 int vnop_removenamedstream_vp_offsets
[] = {
1029 VOPARG_OFFSETOF(struct vnop_removenamedstream_args
, a_vp
),
1032 struct vnodeop_desc vnop_removenamedstream_desc
= {
1034 "vnop_removenamedstream",
1036 vnop_removenamedstream_vp_offsets
,
1040 VOPARG_OFFSETOF(struct vnop_removenamedstream_args
, a_name
),
1041 VOPARG_OFFSETOF(struct vnop_removenamedstream_args
, a_context
),
1045 /* These symbols are in the exports list so they need to always be defined. */
1046 int vnop_getnamedstream_desc
;
1047 int vnop_makenamedstream_desc
;
1048 int vnop_removenamedstream_desc
;
1051 /* Special cases: */
1053 int vnop_strategy_vp_offsets
[] = {
1056 struct vnodeop_desc vnop_strategy_desc
= {
1060 vnop_strategy_vp_offsets
,
1069 int vnop_bwrite_vp_offsets
[] = {
1072 struct vnodeop_desc vnop_bwrite_desc
= {
1076 vnop_bwrite_vp_offsets
,
1085 /* End of special cases. */
1087 struct vnodeop_desc
*vfs_op_descs
[] = {
1088 &vnop_default_desc
, /* MUST BE FIRST */
1089 &vnop_strategy_desc
, /* XXX: SPECIAL CASE */
1090 &vnop_bwrite_desc
, /* XXX: SPECIAL CASE */
1095 &vnop_whiteout_desc
,
1097 &vnop_compound_open_desc
,
1106 &vnop_exchange_desc
,
1107 &vnop_kqfilt_add_desc
,
1108 &vnop_kqfilt_remove_desc
,
1109 &vnop_setlabel_desc
,
1115 &vnop_compound_remove_desc
,
1118 &vnop_compound_rename_desc
,
1120 &vnop_compound_mkdir_desc
,
1122 &vnop_compound_rmdir_desc
,
1125 &vnop_readdirattr_desc
,
1126 &vnop_readlink_desc
,
1127 &vnop_inactive_desc
,
1129 &vnop_pathconf_desc
,
1131 &vnop_allocate_desc
,
1134 &vnop_searchfs_desc
,
1135 &vnop_copyfile_desc
,
1136 &vnop_getxattr_desc
,
1137 &vnop_setxattr_desc
,
1138 &vnop_removexattr_desc
,
1139 &vnop_listxattr_desc
,
1140 &vnop_blktooff_desc
,
1141 &vnop_offtoblk_desc
,
1142 &vnop_blockmap_desc
,
1145 &vnop_getnamedstream_desc
,
1146 &vnop_makenamedstream_desc
,
1147 &vnop_removenamedstream_desc
,