xref: /xnu-8796.121.2/bsd/vfs/vnode_if.c (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
1*c54f35caSApple OSS Distributions /*
2*c54f35caSApple OSS Distributions  * Copyright (c) 2000-2019 Apple Inc. All rights reserved.
3*c54f35caSApple OSS Distributions  *
4*c54f35caSApple OSS Distributions  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5*c54f35caSApple OSS Distributions  *
6*c54f35caSApple OSS Distributions  * This file contains Original Code and/or Modifications of Original Code
7*c54f35caSApple OSS Distributions  * as defined in and that are subject to the Apple Public Source License
8*c54f35caSApple OSS Distributions  * Version 2.0 (the 'License'). You may not use this file except in
9*c54f35caSApple OSS Distributions  * compliance with the License. The rights granted to you under the License
10*c54f35caSApple OSS Distributions  * may not be used to create, or enable the creation or redistribution of,
11*c54f35caSApple OSS Distributions  * unlawful or unlicensed copies of an Apple operating system, or to
12*c54f35caSApple OSS Distributions  * circumvent, violate, or enable the circumvention or violation of, any
13*c54f35caSApple OSS Distributions  * terms of an Apple operating system software license agreement.
14*c54f35caSApple OSS Distributions  *
15*c54f35caSApple OSS Distributions  * Please obtain a copy of the License at
16*c54f35caSApple OSS Distributions  * http://www.opensource.apple.com/apsl/ and read it before using this file.
17*c54f35caSApple OSS Distributions  *
18*c54f35caSApple OSS Distributions  * The Original Code and all software distributed under the License are
19*c54f35caSApple OSS Distributions  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20*c54f35caSApple OSS Distributions  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21*c54f35caSApple OSS Distributions  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22*c54f35caSApple OSS Distributions  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23*c54f35caSApple OSS Distributions  * Please see the License for the specific language governing rights and
24*c54f35caSApple OSS Distributions  * limitations under the License.
25*c54f35caSApple OSS Distributions  *
26*c54f35caSApple OSS Distributions  * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27*c54f35caSApple OSS Distributions  */
28*c54f35caSApple OSS Distributions /*
29*c54f35caSApple OSS Distributions  * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
30*c54f35caSApple OSS Distributions  * Copyright (c) 1992, 1993, 1994, 1995
31*c54f35caSApple OSS Distributions  *	The Regents of the University of California.  All rights reserved.
32*c54f35caSApple OSS Distributions  *
33*c54f35caSApple OSS Distributions  * Redistribution and use in source and binary forms, with or without
34*c54f35caSApple OSS Distributions  * modification, are permitted provided that the following conditions
35*c54f35caSApple OSS Distributions  * are met:
36*c54f35caSApple OSS Distributions  * 1. Redistributions of source code must retain the above copyright
37*c54f35caSApple OSS Distributions  *    notice, this list of conditions and the following disclaimer.
38*c54f35caSApple OSS Distributions  * 2. Redistributions in binary form must reproduce the above copyright
39*c54f35caSApple OSS Distributions  *    notice, this list of conditions and the following disclaimer in the
40*c54f35caSApple OSS Distributions  *    documentation and/or other materials provided with the distribution.
41*c54f35caSApple OSS Distributions  * 3. All advertising materials mentioning features or use of this software
42*c54f35caSApple OSS Distributions  *    must display the following acknowledgement:
43*c54f35caSApple OSS Distributions  *      This product includes software developed by the University of
44*c54f35caSApple OSS Distributions  *      California, Berkeley and its contributors.
45*c54f35caSApple OSS Distributions  * 4. Neither the name of the University nor the names of its contributors
46*c54f35caSApple OSS Distributions  *    may be used to endorse or promote products derived from this software
47*c54f35caSApple OSS Distributions  *    without specific prior written permission.
48*c54f35caSApple OSS Distributions  *
49*c54f35caSApple OSS Distributions  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS AND
50*c54f35caSApple OSS Distributions  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
51*c54f35caSApple OSS Distributions  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
52*c54f35caSApple OSS Distributions  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
53*c54f35caSApple OSS Distributions  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
54*c54f35caSApple OSS Distributions  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
55*c54f35caSApple OSS Distributions  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
56*c54f35caSApple OSS Distributions  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
57*c54f35caSApple OSS Distributions  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
58*c54f35caSApple OSS Distributions  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
59*c54f35caSApple OSS Distributions  * SUCH DAMAGE.
60*c54f35caSApple OSS Distributions  */
61*c54f35caSApple OSS Distributions 
62*c54f35caSApple OSS Distributions 
63*c54f35caSApple OSS Distributions /*
64*c54f35caSApple OSS Distributions  * Warning: This file is generated automatically.
65*c54f35caSApple OSS Distributions  * (Modifications made here may easily be lost!)
66*c54f35caSApple OSS Distributions  *
67*c54f35caSApple OSS Distributions  * Created by the script:
68*c54f35caSApple OSS Distributions  *	@(#)vnode_if.sh	8.7 (Berkeley) 5/11/95
69*c54f35caSApple OSS Distributions  */
70*c54f35caSApple OSS Distributions 
71*c54f35caSApple OSS Distributions 
72*c54f35caSApple OSS Distributions #include <sys/param.h>
73*c54f35caSApple OSS Distributions #include <sys/mount_internal.h>
74*c54f35caSApple OSS Distributions #include <sys/vm.h>
75*c54f35caSApple OSS Distributions #include <sys/vnode_internal.h>
76*c54f35caSApple OSS Distributions 
77*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_default_desc = {
78*c54f35caSApple OSS Distributions 	0,
79*c54f35caSApple OSS Distributions 	"default",
80*c54f35caSApple OSS Distributions 	0,
81*c54f35caSApple OSS Distributions 	NULL,
82*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
83*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
84*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
85*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
86*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
87*c54f35caSApple OSS Distributions 	NULL
88*c54f35caSApple OSS Distributions };
89*c54f35caSApple OSS Distributions 
90*c54f35caSApple OSS Distributions 
91*c54f35caSApple OSS Distributions int vnop_lookup_vp_offsets[] = {
92*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_lookup_args, a_dvp),
93*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
94*c54f35caSApple OSS Distributions };
95*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_lookup_desc = {
96*c54f35caSApple OSS Distributions 	0,
97*c54f35caSApple OSS Distributions 	"vnop_lookup",
98*c54f35caSApple OSS Distributions 	0,
99*c54f35caSApple OSS Distributions 	vnop_lookup_vp_offsets,
100*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_lookup_args, a_vpp),
101*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
102*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
103*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_lookup_args, a_cnp),
104*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_lookup_args, a_context),
105*c54f35caSApple OSS Distributions 	NULL
106*c54f35caSApple OSS Distributions };
107*c54f35caSApple OSS Distributions 
108*c54f35caSApple OSS Distributions int vnop_compound_open_vp_offsets[] = {
109*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_open_args, a_dvp),
110*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
111*c54f35caSApple OSS Distributions };
112*c54f35caSApple OSS Distributions 
113*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_compound_open_desc = {
114*c54f35caSApple OSS Distributions 	0,
115*c54f35caSApple OSS Distributions 	"vnop_compound_open",
116*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE,
117*c54f35caSApple OSS Distributions 	vnop_compound_open_vp_offsets,
118*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_open_args, a_vpp),
119*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
120*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
121*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_open_args, a_cnp),
122*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_open_args, a_context),
123*c54f35caSApple OSS Distributions 	NULL
124*c54f35caSApple OSS Distributions };
125*c54f35caSApple OSS Distributions 
126*c54f35caSApple OSS Distributions int vnop_create_vp_offsets[] = {
127*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_create_args, a_dvp),
128*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
129*c54f35caSApple OSS Distributions };
130*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_create_desc = {
131*c54f35caSApple OSS Distributions 	0,
132*c54f35caSApple OSS Distributions 	"vnop_create",
133*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE,
134*c54f35caSApple OSS Distributions 	vnop_create_vp_offsets,
135*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_create_args, a_vpp),
136*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
137*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
138*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_create_args, a_cnp),
139*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_create_args, a_context),
140*c54f35caSApple OSS Distributions 	NULL
141*c54f35caSApple OSS Distributions };
142*c54f35caSApple OSS Distributions 
143*c54f35caSApple OSS Distributions int vnop_whiteout_vp_offsets[] = {
144*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_whiteout_args, a_dvp),
145*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
146*c54f35caSApple OSS Distributions };
147*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_whiteout_desc = {
148*c54f35caSApple OSS Distributions 	0,
149*c54f35caSApple OSS Distributions 	"vnop_whiteout",
150*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE,
151*c54f35caSApple OSS Distributions 	vnop_whiteout_vp_offsets,
152*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
153*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
154*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
155*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_whiteout_args, a_cnp),
156*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_whiteout_args, a_context),
157*c54f35caSApple OSS Distributions 	NULL
158*c54f35caSApple OSS Distributions };
159*c54f35caSApple OSS Distributions 
160*c54f35caSApple OSS Distributions int vnop_mknod_vp_offsets[] = {
161*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mknod_args, a_dvp),
162*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
163*c54f35caSApple OSS Distributions };
164*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_mknod_desc = {
165*c54f35caSApple OSS Distributions 	0,
166*c54f35caSApple OSS Distributions 	"vnop_mknod",
167*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VPP_WILLRELE,
168*c54f35caSApple OSS Distributions 	vnop_mknod_vp_offsets,
169*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mknod_args, a_vpp),
170*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
171*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
172*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mknod_args, a_cnp),
173*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mknod_args, a_context),
174*c54f35caSApple OSS Distributions 	NULL
175*c54f35caSApple OSS Distributions };
176*c54f35caSApple OSS Distributions 
177*c54f35caSApple OSS Distributions int vnop_open_vp_offsets[] = {
178*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_open_args, a_vp),
179*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
180*c54f35caSApple OSS Distributions };
181*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_open_desc = {
182*c54f35caSApple OSS Distributions 	0,
183*c54f35caSApple OSS Distributions 	"vnop_open",
184*c54f35caSApple OSS Distributions 	0,
185*c54f35caSApple OSS Distributions 	vnop_open_vp_offsets,
186*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
187*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
188*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
189*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
190*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_open_args, a_context),
191*c54f35caSApple OSS Distributions 	NULL
192*c54f35caSApple OSS Distributions };
193*c54f35caSApple OSS Distributions 
194*c54f35caSApple OSS Distributions int vnop_close_vp_offsets[] = {
195*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_close_args, a_vp),
196*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
197*c54f35caSApple OSS Distributions };
198*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_close_desc = {
199*c54f35caSApple OSS Distributions 	0,
200*c54f35caSApple OSS Distributions 	"vnop_close",
201*c54f35caSApple OSS Distributions 	0,
202*c54f35caSApple OSS Distributions 	vnop_close_vp_offsets,
203*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
204*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
205*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
206*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
207*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_close_args, a_context),
208*c54f35caSApple OSS Distributions 	NULL
209*c54f35caSApple OSS Distributions };
210*c54f35caSApple OSS Distributions 
211*c54f35caSApple OSS Distributions int vnop_access_vp_offsets[] = {
212*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_access_args, a_vp),
213*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
214*c54f35caSApple OSS Distributions };
215*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_access_desc = {
216*c54f35caSApple OSS Distributions 	0,
217*c54f35caSApple OSS Distributions 	"vnop_access",
218*c54f35caSApple OSS Distributions 	0,
219*c54f35caSApple OSS Distributions 	vnop_access_vp_offsets,
220*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
221*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
222*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
223*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
224*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_close_args, a_context),
225*c54f35caSApple OSS Distributions 	NULL
226*c54f35caSApple OSS Distributions };
227*c54f35caSApple OSS Distributions 
228*c54f35caSApple OSS Distributions int vnop_getattr_vp_offsets[] = {
229*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getattr_args, a_vp),
230*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
231*c54f35caSApple OSS Distributions };
232*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_getattr_desc = {
233*c54f35caSApple OSS Distributions 	0,
234*c54f35caSApple OSS Distributions 	"vnop_getattr",
235*c54f35caSApple OSS Distributions 	0,
236*c54f35caSApple OSS Distributions 	vnop_getattr_vp_offsets,
237*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
238*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
239*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
240*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
241*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getattr_args, a_context),
242*c54f35caSApple OSS Distributions 	NULL
243*c54f35caSApple OSS Distributions };
244*c54f35caSApple OSS Distributions 
245*c54f35caSApple OSS Distributions int vnop_setattr_vp_offsets[] = {
246*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setattr_args, a_vp),
247*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
248*c54f35caSApple OSS Distributions };
249*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_setattr_desc = {
250*c54f35caSApple OSS Distributions 	0,
251*c54f35caSApple OSS Distributions 	"vnop_setattr",
252*c54f35caSApple OSS Distributions 	0,
253*c54f35caSApple OSS Distributions 	vnop_setattr_vp_offsets,
254*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
255*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
256*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
257*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
258*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setattr_args, a_context),
259*c54f35caSApple OSS Distributions 	NULL
260*c54f35caSApple OSS Distributions };
261*c54f35caSApple OSS Distributions 
262*c54f35caSApple OSS Distributions int vnop_read_vp_offsets[] = {
263*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_read_args, a_vp),
264*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
265*c54f35caSApple OSS Distributions };
266*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_read_desc = {
267*c54f35caSApple OSS Distributions 	0,
268*c54f35caSApple OSS Distributions 	"vnop_read",
269*c54f35caSApple OSS Distributions 	0,
270*c54f35caSApple OSS Distributions 	vnop_read_vp_offsets,
271*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
272*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
273*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
274*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
275*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_read_args, a_context),
276*c54f35caSApple OSS Distributions 	NULL
277*c54f35caSApple OSS Distributions };
278*c54f35caSApple OSS Distributions 
279*c54f35caSApple OSS Distributions int vnop_write_vp_offsets[] = {
280*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_write_args, a_vp),
281*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
282*c54f35caSApple OSS Distributions };
283*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_write_desc = {
284*c54f35caSApple OSS Distributions 	0,
285*c54f35caSApple OSS Distributions 	"vnop_write",
286*c54f35caSApple OSS Distributions 	0,
287*c54f35caSApple OSS Distributions 	vnop_write_vp_offsets,
288*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
289*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
290*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
291*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
292*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_write_args, a_context),
293*c54f35caSApple OSS Distributions 	NULL
294*c54f35caSApple OSS Distributions };
295*c54f35caSApple OSS Distributions 
296*c54f35caSApple OSS Distributions int vnop_ioctl_vp_offsets[] = {
297*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_ioctl_args, a_vp),
298*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
299*c54f35caSApple OSS Distributions };
300*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_ioctl_desc = {
301*c54f35caSApple OSS Distributions 	0,
302*c54f35caSApple OSS Distributions 	"vnop_ioctl",
303*c54f35caSApple OSS Distributions 	0,
304*c54f35caSApple OSS Distributions 	vnop_ioctl_vp_offsets,
305*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
306*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
307*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
308*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
309*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_ioctl_args, a_context),
310*c54f35caSApple OSS Distributions 	NULL
311*c54f35caSApple OSS Distributions };
312*c54f35caSApple OSS Distributions 
313*c54f35caSApple OSS Distributions int vnop_select_vp_offsets[] = {
314*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_select_args, a_vp),
315*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
316*c54f35caSApple OSS Distributions };
317*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_select_desc = {
318*c54f35caSApple OSS Distributions 	0,
319*c54f35caSApple OSS Distributions 	"vnop_select",
320*c54f35caSApple OSS Distributions 	0,
321*c54f35caSApple OSS Distributions 	vnop_select_vp_offsets,
322*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
323*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
324*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
325*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
326*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_select_args, a_context),
327*c54f35caSApple OSS Distributions 	NULL
328*c54f35caSApple OSS Distributions };
329*c54f35caSApple OSS Distributions 
330*c54f35caSApple OSS Distributions int vnop_exchange_vp_offsets[] = {
331*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_exchange_args, a_fvp),
332*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_exchange_args, a_tvp),
333*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
334*c54f35caSApple OSS Distributions };
335*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_exchange_desc = {
336*c54f35caSApple OSS Distributions 	0,
337*c54f35caSApple OSS Distributions 	"vnop_exchange",
338*c54f35caSApple OSS Distributions 	0,
339*c54f35caSApple OSS Distributions 	vnop_exchange_vp_offsets,
340*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
341*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
342*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
343*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
344*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_exchange_args, a_context),
345*c54f35caSApple OSS Distributions 	NULL
346*c54f35caSApple OSS Distributions };
347*c54f35caSApple OSS Distributions 
348*c54f35caSApple OSS Distributions int vnop_kqfilt_add_vp_offsets[] = {
349*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_kqfilt_add_args, a_vp),
350*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
351*c54f35caSApple OSS Distributions };
352*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_kqfilt_add_desc = {
353*c54f35caSApple OSS Distributions 	0,
354*c54f35caSApple OSS Distributions 	"vnop_kqfilt_add",
355*c54f35caSApple OSS Distributions 	0,
356*c54f35caSApple OSS Distributions 	vnop_kqfilt_add_vp_offsets,
357*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
358*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
359*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
360*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
361*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_kqfilt_add_args, a_context),
362*c54f35caSApple OSS Distributions 	NULL
363*c54f35caSApple OSS Distributions };
364*c54f35caSApple OSS Distributions 
365*c54f35caSApple OSS Distributions int vnop_kqfilt_remove_vp_offsets[] = {
366*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_kqfilt_remove_args, a_vp),
367*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
368*c54f35caSApple OSS Distributions };
369*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_kqfilt_remove_desc = {
370*c54f35caSApple OSS Distributions 	0,
371*c54f35caSApple OSS Distributions 	"vnop_kqfilt_remove",
372*c54f35caSApple OSS Distributions 	0,
373*c54f35caSApple OSS Distributions 	vnop_kqfilt_remove_vp_offsets,
374*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
375*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
376*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
377*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
378*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_kqfilt_remove_args, a_context),
379*c54f35caSApple OSS Distributions 	NULL
380*c54f35caSApple OSS Distributions };
381*c54f35caSApple OSS Distributions 
382*c54f35caSApple OSS Distributions int vnop_monitor_vp_offsets[] = {
383*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_monitor_args, a_vp),
384*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
385*c54f35caSApple OSS Distributions };
386*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_monitor_desc = {
387*c54f35caSApple OSS Distributions 	0,
388*c54f35caSApple OSS Distributions 	"vnop_monitor",
389*c54f35caSApple OSS Distributions 	0,
390*c54f35caSApple OSS Distributions 	vnop_monitor_vp_offsets,
391*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
392*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
393*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
394*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
395*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_monitor_args, a_context),
396*c54f35caSApple OSS Distributions 	NULL
397*c54f35caSApple OSS Distributions };
398*c54f35caSApple OSS Distributions 
399*c54f35caSApple OSS Distributions int vnop_setlabel_vp_offsets[] = {
400*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setlabel_args, a_vp),
401*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
402*c54f35caSApple OSS Distributions };
403*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_setlabel_desc = {
404*c54f35caSApple OSS Distributions 	0,
405*c54f35caSApple OSS Distributions 	"vnop_setlabel",
406*c54f35caSApple OSS Distributions 	0,
407*c54f35caSApple OSS Distributions 	vnop_setlabel_vp_offsets,
408*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
409*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
410*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
411*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
412*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setlabel_args, a_context),
413*c54f35caSApple OSS Distributions 	NULL,
414*c54f35caSApple OSS Distributions };
415*c54f35caSApple OSS Distributions 
416*c54f35caSApple OSS Distributions int vnop_revoke_vp_offsets[] = {
417*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_revoke_args, a_vp),
418*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
419*c54f35caSApple OSS Distributions };
420*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_revoke_desc = {
421*c54f35caSApple OSS Distributions 	0,
422*c54f35caSApple OSS Distributions 	"vnop_revoke",
423*c54f35caSApple OSS Distributions 	0,
424*c54f35caSApple OSS Distributions 	vnop_revoke_vp_offsets,
425*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
426*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
427*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
428*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
429*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
430*c54f35caSApple OSS Distributions 	NULL
431*c54f35caSApple OSS Distributions };
432*c54f35caSApple OSS Distributions 
433*c54f35caSApple OSS Distributions int vnop_mmap_check_vp_offsets[] = {
434*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mmap_check_args, a_vp),
435*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
436*c54f35caSApple OSS Distributions };
437*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_mmap_check_desc = {
438*c54f35caSApple OSS Distributions 	0,
439*c54f35caSApple OSS Distributions 	"vnop_mmap_check",
440*c54f35caSApple OSS Distributions 	0,
441*c54f35caSApple OSS Distributions 	vnop_mmap_check_vp_offsets,
442*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
443*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
444*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
445*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
446*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
447*c54f35caSApple OSS Distributions 	NULL
448*c54f35caSApple OSS Distributions };
449*c54f35caSApple OSS Distributions 
450*c54f35caSApple OSS Distributions int vnop_mmap_vp_offsets[] = {
451*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mmap_args, a_vp),
452*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
453*c54f35caSApple OSS Distributions };
454*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_mmap_desc = {
455*c54f35caSApple OSS Distributions 	0,
456*c54f35caSApple OSS Distributions 	"vnop_mmap",
457*c54f35caSApple OSS Distributions 	0,
458*c54f35caSApple OSS Distributions 	vnop_mmap_vp_offsets,
459*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
460*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
461*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
462*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
463*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
464*c54f35caSApple OSS Distributions 	NULL
465*c54f35caSApple OSS Distributions };
466*c54f35caSApple OSS Distributions 
467*c54f35caSApple OSS Distributions int vnop_mnomap_vp_offsets[] = {
468*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mnomap_args, a_vp),
469*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
470*c54f35caSApple OSS Distributions };
471*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_mnomap_desc = {
472*c54f35caSApple OSS Distributions 	0,
473*c54f35caSApple OSS Distributions 	"vnop_mnomap",
474*c54f35caSApple OSS Distributions 	0,
475*c54f35caSApple OSS Distributions 	vnop_mnomap_vp_offsets,
476*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
477*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
478*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
479*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
480*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
481*c54f35caSApple OSS Distributions 	NULL
482*c54f35caSApple OSS Distributions };
483*c54f35caSApple OSS Distributions 
484*c54f35caSApple OSS Distributions int vnop_fsync_vp_offsets[] = {
485*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_fsync_args, a_vp),
486*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
487*c54f35caSApple OSS Distributions };
488*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_fsync_desc = {
489*c54f35caSApple OSS Distributions 	0,
490*c54f35caSApple OSS Distributions 	"vnop_fsync",
491*c54f35caSApple OSS Distributions 	0,
492*c54f35caSApple OSS Distributions 	vnop_fsync_vp_offsets,
493*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
494*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
495*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
496*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
497*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_fsync_args, a_context),
498*c54f35caSApple OSS Distributions 	NULL
499*c54f35caSApple OSS Distributions };
500*c54f35caSApple OSS Distributions 
501*c54f35caSApple OSS Distributions int vnop_remove_vp_offsets[] = {
502*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_dvp),
503*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_vp),
504*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
505*c54f35caSApple OSS Distributions };
506*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_remove_desc = {
507*c54f35caSApple OSS Distributions 	0,
508*c54f35caSApple OSS Distributions 	"vnop_remove",
509*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE,
510*c54f35caSApple OSS Distributions 	vnop_remove_vp_offsets,
511*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
512*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
513*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
514*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_cnp),
515*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_context),
516*c54f35caSApple OSS Distributions 	NULL
517*c54f35caSApple OSS Distributions };
518*c54f35caSApple OSS Distributions 
519*c54f35caSApple OSS Distributions int vnop_remove_extended_vp_offsets[] = {
520*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_dvp),
521*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
522*c54f35caSApple OSS Distributions };
523*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_compound_remove_desc = {
524*c54f35caSApple OSS Distributions 	0,
525*c54f35caSApple OSS Distributions 	"vnop_compound_remove",
526*c54f35caSApple OSS Distributions 	0,
527*c54f35caSApple OSS Distributions 	vnop_remove_vp_offsets,
528*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_remove_args, a_vpp),
529*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
530*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
531*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_cnp),
532*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_remove_args, a_context),
533*c54f35caSApple OSS Distributions 	NULL
534*c54f35caSApple OSS Distributions };
535*c54f35caSApple OSS Distributions 
536*c54f35caSApple OSS Distributions int vnop_link_vp_offsets[] = {
537*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_link_args, a_vp),
538*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_link_args, a_tdvp),
539*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
540*c54f35caSApple OSS Distributions };
541*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_link_desc = {
542*c54f35caSApple OSS Distributions 	0,
543*c54f35caSApple OSS Distributions 	"vnop_link",
544*c54f35caSApple OSS Distributions 	0 | VDESC_VP1_WILLRELE,
545*c54f35caSApple OSS Distributions 	vnop_link_vp_offsets,
546*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
547*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
548*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
549*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_link_args, a_cnp),
550*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_link_args, a_context),
551*c54f35caSApple OSS Distributions 	NULL
552*c54f35caSApple OSS Distributions };
553*c54f35caSApple OSS Distributions 
554*c54f35caSApple OSS Distributions int vnop_rename_vp_offsets[] = {
555*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_fdvp),
556*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_fvp),
557*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_tdvp),
558*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_tvp),
559*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
560*c54f35caSApple OSS Distributions };
561*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_rename_desc = {
562*c54f35caSApple OSS Distributions 	0,
563*c54f35caSApple OSS Distributions 	"vnop_rename",
564*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VP2_WILLRELE | VDESC_VP3_WILLRELE,
565*c54f35caSApple OSS Distributions 	vnop_rename_vp_offsets,
566*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
567*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
568*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
569*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_fcnp),
570*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rename_args, a_context),
571*c54f35caSApple OSS Distributions 	NULL
572*c54f35caSApple OSS Distributions };
573*c54f35caSApple OSS Distributions 
574*c54f35caSApple OSS Distributions int vnop_renamex_vp_offsets[] = {
575*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_fdvp),
576*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_fvp),
577*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_tdvp),
578*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_tvp),
579*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
580*c54f35caSApple OSS Distributions };
581*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_renamex_desc = {
582*c54f35caSApple OSS Distributions 	0,
583*c54f35caSApple OSS Distributions 	"vnop_renamex",
584*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VP2_WILLRELE | VDESC_VP3_WILLRELE,
585*c54f35caSApple OSS Distributions 	vnop_renamex_vp_offsets,
586*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
587*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
588*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
589*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_fcnp),
590*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_renamex_args, a_context),
591*c54f35caSApple OSS Distributions 	NULL
592*c54f35caSApple OSS Distributions };
593*c54f35caSApple OSS Distributions 
594*c54f35caSApple OSS Distributions int vnop_compound_rename_vp_offsets[] = {
595*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_fdvp),
596*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_fvpp),
597*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_tdvp),
598*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_tvpp),
599*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
600*c54f35caSApple OSS Distributions };
601*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_compound_rename_desc = {
602*c54f35caSApple OSS Distributions 	0,
603*c54f35caSApple OSS Distributions 	"vnop_compound_rename",
604*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VP2_WILLRELE | VDESC_VP3_WILLRELE,
605*c54f35caSApple OSS Distributions 	vnop_compound_rename_vp_offsets,
606*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
607*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
608*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
609*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_fcnp),
610*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rename_args, a_context),
611*c54f35caSApple OSS Distributions 	NULL
612*c54f35caSApple OSS Distributions };
613*c54f35caSApple OSS Distributions 
614*c54f35caSApple OSS Distributions int vnop_mkdir_vp_offsets[] = {
615*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mkdir_args, a_dvp),
616*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
617*c54f35caSApple OSS Distributions };
618*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_mkdir_desc = {
619*c54f35caSApple OSS Distributions 	0,
620*c54f35caSApple OSS Distributions 	"vnop_mkdir",
621*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE,
622*c54f35caSApple OSS Distributions 	vnop_mkdir_vp_offsets,
623*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mkdir_args, a_vpp),
624*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
625*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
626*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mkdir_args, a_cnp),
627*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_mkdir_args, a_context),
628*c54f35caSApple OSS Distributions 	NULL
629*c54f35caSApple OSS Distributions };
630*c54f35caSApple OSS Distributions 
631*c54f35caSApple OSS Distributions int vnop_compound_mkdir_vp_offsets[] = {
632*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_mkdir_args, a_dvp),
633*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
634*c54f35caSApple OSS Distributions };
635*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_compound_mkdir_desc = {
636*c54f35caSApple OSS Distributions 	0,
637*c54f35caSApple OSS Distributions 	"vnop_compound_mkdir",
638*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE,
639*c54f35caSApple OSS Distributions 	vnop_compound_mkdir_vp_offsets,
640*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_mkdir_args, a_vpp),
641*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
642*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
643*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_mkdir_args, a_cnp),
644*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_mkdir_args, a_context),
645*c54f35caSApple OSS Distributions 	NULL
646*c54f35caSApple OSS Distributions };
647*c54f35caSApple OSS Distributions 
648*c54f35caSApple OSS Distributions 
649*c54f35caSApple OSS Distributions int vnop_rmdir_vp_offsets[] = {
650*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rmdir_args, a_dvp),
651*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rmdir_args, a_vp),
652*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
653*c54f35caSApple OSS Distributions };
654*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_rmdir_desc = {
655*c54f35caSApple OSS Distributions 	0,
656*c54f35caSApple OSS Distributions 	"vnop_rmdir",
657*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE,
658*c54f35caSApple OSS Distributions 	vnop_rmdir_vp_offsets,
659*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
660*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
661*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
662*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rmdir_args, a_cnp),
663*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_rmdir_args, a_context),
664*c54f35caSApple OSS Distributions 	NULL
665*c54f35caSApple OSS Distributions };
666*c54f35caSApple OSS Distributions 
667*c54f35caSApple OSS Distributions int vnop_compound_rmdir_vp_offsets[] = {
668*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rmdir_args, a_dvp),
669*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
670*c54f35caSApple OSS Distributions };
671*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_compound_rmdir_desc = {
672*c54f35caSApple OSS Distributions 	0,
673*c54f35caSApple OSS Distributions 	"vnop_compound_rmdir",
674*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE,
675*c54f35caSApple OSS Distributions 	vnop_rmdir_vp_offsets,
676*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
677*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
678*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
679*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rmdir_args, a_cnp),
680*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_compound_rmdir_args, a_context),
681*c54f35caSApple OSS Distributions 	NULL
682*c54f35caSApple OSS Distributions };
683*c54f35caSApple OSS Distributions 
684*c54f35caSApple OSS Distributions int vnop_symlink_vp_offsets[] = {
685*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_symlink_args, a_dvp),
686*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
687*c54f35caSApple OSS Distributions };
688*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_symlink_desc = {
689*c54f35caSApple OSS Distributions 	0,
690*c54f35caSApple OSS Distributions 	"vnop_symlink",
691*c54f35caSApple OSS Distributions 	0 | VDESC_VP0_WILLRELE | VDESC_VPP_WILLRELE,
692*c54f35caSApple OSS Distributions 	vnop_symlink_vp_offsets,
693*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_symlink_args, a_vpp),
694*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
695*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
696*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_symlink_args, a_cnp),
697*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_symlink_args, a_context),
698*c54f35caSApple OSS Distributions 	NULL
699*c54f35caSApple OSS Distributions };
700*c54f35caSApple OSS Distributions 
701*c54f35caSApple OSS Distributions int vnop_readdir_vp_offsets[] = {
702*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_readdir_args, a_vp),
703*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
704*c54f35caSApple OSS Distributions };
705*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_readdir_desc = {
706*c54f35caSApple OSS Distributions 	0,
707*c54f35caSApple OSS Distributions 	"vnop_readdir",
708*c54f35caSApple OSS Distributions 	0,
709*c54f35caSApple OSS Distributions 	vnop_readdir_vp_offsets,
710*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
711*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
712*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
713*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
714*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_symlink_args, a_context),
715*c54f35caSApple OSS Distributions 	NULL
716*c54f35caSApple OSS Distributions };
717*c54f35caSApple OSS Distributions 
718*c54f35caSApple OSS Distributions int vnop_readdirattr_vp_offsets[] = {
719*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_readdirattr_args, a_vp),
720*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
721*c54f35caSApple OSS Distributions };
722*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_readdirattr_desc = {
723*c54f35caSApple OSS Distributions 	0,
724*c54f35caSApple OSS Distributions 	"vnop_readdirattr",
725*c54f35caSApple OSS Distributions 	0,
726*c54f35caSApple OSS Distributions 	vnop_readdirattr_vp_offsets,
727*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
728*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
729*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
730*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
731*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_readdirattr_args, a_context),
732*c54f35caSApple OSS Distributions 	NULL
733*c54f35caSApple OSS Distributions };
734*c54f35caSApple OSS Distributions 
735*c54f35caSApple OSS Distributions int vnop_getattrlistbulk_vp_offsets[] = {
736*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getattrlistbulk_args, a_vp),
737*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
738*c54f35caSApple OSS Distributions };
739*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_getattrlistbulk_desc = {
740*c54f35caSApple OSS Distributions 	0,
741*c54f35caSApple OSS Distributions 	"vnop_getattrlistbulk",
742*c54f35caSApple OSS Distributions 	0,
743*c54f35caSApple OSS Distributions 	vnop_getattrlistbulk_vp_offsets,
744*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
745*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
746*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
747*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
748*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getattrlistbulk_args, a_context),
749*c54f35caSApple OSS Distributions 	NULL
750*c54f35caSApple OSS Distributions };
751*c54f35caSApple OSS Distributions 
752*c54f35caSApple OSS Distributions int vnop_readlink_vp_offsets[] = {
753*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_readlink_args, a_vp),
754*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
755*c54f35caSApple OSS Distributions };
756*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_readlink_desc = {
757*c54f35caSApple OSS Distributions 	0,
758*c54f35caSApple OSS Distributions 	"vnop_readlink",
759*c54f35caSApple OSS Distributions 	0,
760*c54f35caSApple OSS Distributions 	vnop_readlink_vp_offsets,
761*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
762*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
763*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
764*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
765*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_readlink_args, a_context),
766*c54f35caSApple OSS Distributions 	NULL
767*c54f35caSApple OSS Distributions };
768*c54f35caSApple OSS Distributions 
769*c54f35caSApple OSS Distributions int vnop_inactive_vp_offsets[] = {
770*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_inactive_args, a_vp),
771*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
772*c54f35caSApple OSS Distributions };
773*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_inactive_desc = {
774*c54f35caSApple OSS Distributions 	0,
775*c54f35caSApple OSS Distributions 	"vnop_inactive",
776*c54f35caSApple OSS Distributions 	0,
777*c54f35caSApple OSS Distributions 	vnop_inactive_vp_offsets,
778*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
779*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
780*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
781*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
782*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_inactive_args, a_context),
783*c54f35caSApple OSS Distributions 	NULL
784*c54f35caSApple OSS Distributions };
785*c54f35caSApple OSS Distributions 
786*c54f35caSApple OSS Distributions int vnop_reclaim_vp_offsets[] = {
787*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_reclaim_args, a_vp),
788*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
789*c54f35caSApple OSS Distributions };
790*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_reclaim_desc = {
791*c54f35caSApple OSS Distributions 	0,
792*c54f35caSApple OSS Distributions 	"vnop_reclaim",
793*c54f35caSApple OSS Distributions 	0,
794*c54f35caSApple OSS Distributions 	vnop_reclaim_vp_offsets,
795*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
796*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
797*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
798*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
799*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_reclaim_args, a_context),
800*c54f35caSApple OSS Distributions 	NULL
801*c54f35caSApple OSS Distributions };
802*c54f35caSApple OSS Distributions 
803*c54f35caSApple OSS Distributions int vnop_pathconf_vp_offsets[] = {
804*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pathconf_args, a_vp),
805*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
806*c54f35caSApple OSS Distributions };
807*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_pathconf_desc = {
808*c54f35caSApple OSS Distributions 	0,
809*c54f35caSApple OSS Distributions 	"vnop_pathconf",
810*c54f35caSApple OSS Distributions 	0,
811*c54f35caSApple OSS Distributions 	vnop_pathconf_vp_offsets,
812*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
813*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
814*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
815*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
816*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pathconf_args, a_context),
817*c54f35caSApple OSS Distributions 	NULL
818*c54f35caSApple OSS Distributions };
819*c54f35caSApple OSS Distributions 
820*c54f35caSApple OSS Distributions int vnop_advlock_vp_offsets[] = {
821*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_advlock_args, a_vp),
822*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
823*c54f35caSApple OSS Distributions };
824*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_advlock_desc = {
825*c54f35caSApple OSS Distributions 	0,
826*c54f35caSApple OSS Distributions 	"vnop_advlock",
827*c54f35caSApple OSS Distributions 	0,
828*c54f35caSApple OSS Distributions 	vnop_advlock_vp_offsets,
829*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
830*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
831*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
832*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
833*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_advlock_args, a_context),
834*c54f35caSApple OSS Distributions 	NULL
835*c54f35caSApple OSS Distributions };
836*c54f35caSApple OSS Distributions 
837*c54f35caSApple OSS Distributions int vnop_allocate_vp_offsets[] = {
838*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_allocate_args, a_vp),
839*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
840*c54f35caSApple OSS Distributions };
841*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_allocate_desc = {
842*c54f35caSApple OSS Distributions 	0,
843*c54f35caSApple OSS Distributions 	"vnop_allocate",
844*c54f35caSApple OSS Distributions 	0,
845*c54f35caSApple OSS Distributions 	vnop_allocate_vp_offsets,
846*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
847*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
848*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
849*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
850*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_allocate_args, a_context),
851*c54f35caSApple OSS Distributions 	NULL
852*c54f35caSApple OSS Distributions };
853*c54f35caSApple OSS Distributions 
854*c54f35caSApple OSS Distributions int vnop_pagein_vp_offsets[] = {
855*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pagein_args, a_vp),
856*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
857*c54f35caSApple OSS Distributions };
858*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_pagein_desc = {
859*c54f35caSApple OSS Distributions 	0,
860*c54f35caSApple OSS Distributions 	"vnop_pagein",
861*c54f35caSApple OSS Distributions 	0,
862*c54f35caSApple OSS Distributions 	vnop_pagein_vp_offsets,
863*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
864*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
865*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
866*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
867*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pagein_args, a_context),
868*c54f35caSApple OSS Distributions 	NULL
869*c54f35caSApple OSS Distributions };
870*c54f35caSApple OSS Distributions 
871*c54f35caSApple OSS Distributions int vnop_pageout_vp_offsets[] = {
872*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pageout_args, a_vp),
873*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
874*c54f35caSApple OSS Distributions };
875*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_pageout_desc = {
876*c54f35caSApple OSS Distributions 	0,
877*c54f35caSApple OSS Distributions 	"vnop_pageout",
878*c54f35caSApple OSS Distributions 	0,
879*c54f35caSApple OSS Distributions 	vnop_pageout_vp_offsets,
880*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
881*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
882*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
883*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
884*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_pageout_args, a_context),
885*c54f35caSApple OSS Distributions 	NULL
886*c54f35caSApple OSS Distributions };
887*c54f35caSApple OSS Distributions 
888*c54f35caSApple OSS Distributions int vnop_searchfs_vp_offsets[] = {
889*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_searchfs_args, a_vp),
890*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
891*c54f35caSApple OSS Distributions };
892*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_searchfs_desc = {
893*c54f35caSApple OSS Distributions 	0,
894*c54f35caSApple OSS Distributions 	"vnop_searchfs",
895*c54f35caSApple OSS Distributions 	0,
896*c54f35caSApple OSS Distributions 	vnop_searchfs_vp_offsets,
897*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
898*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
899*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
900*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
901*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
902*c54f35caSApple OSS Distributions 	NULL
903*c54f35caSApple OSS Distributions };
904*c54f35caSApple OSS Distributions 
905*c54f35caSApple OSS Distributions int vnop_copyfile_vp_offsets[] = {
906*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_copyfile_args, a_fvp),
907*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_copyfile_args, a_tdvp),
908*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_copyfile_args, a_tvp),
909*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
910*c54f35caSApple OSS Distributions };
911*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_copyfile_desc = {
912*c54f35caSApple OSS Distributions 	.vdesc_offset = 0,
913*c54f35caSApple OSS Distributions 	.vdesc_name = "vnop_copyfile",
914*c54f35caSApple OSS Distributions 	.vdesc_flags = 0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VP2_WILLRELE,
915*c54f35caSApple OSS Distributions 	.vdesc_vp_offsets = vnop_copyfile_vp_offsets,
916*c54f35caSApple OSS Distributions 	.vdesc_vpp_offset = VDESC_NO_OFFSET,
917*c54f35caSApple OSS Distributions 	.vdesc_cred_offset = VDESC_NO_OFFSET,
918*c54f35caSApple OSS Distributions 	.vdesc_proc_offset = VDESC_NO_OFFSET,
919*c54f35caSApple OSS Distributions 	.vdesc_componentname_offset = VOPARG_OFFSETOF(struct vnop_copyfile_args, a_tcnp),
920*c54f35caSApple OSS Distributions 	.vdesc_context_offset = VDESC_NO_OFFSET,
921*c54f35caSApple OSS Distributions 	.vdesc_transports = NULL
922*c54f35caSApple OSS Distributions };
923*c54f35caSApple OSS Distributions 
924*c54f35caSApple OSS Distributions int vnop_clonefile_vp_offsets[] = {
925*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_clonefile_args, a_fvp),
926*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_clonefile_args, a_dvp),
927*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
928*c54f35caSApple OSS Distributions };
929*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_clonefile_desc = {
930*c54f35caSApple OSS Distributions 	.vdesc_offset = 0,
931*c54f35caSApple OSS Distributions 	.vdesc_name = "vnop_clonefile",
932*c54f35caSApple OSS Distributions 	.vdesc_flags = 0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VPP_WILLRELE,
933*c54f35caSApple OSS Distributions 	.vdesc_vp_offsets = vnop_clonefile_vp_offsets,
934*c54f35caSApple OSS Distributions 	.vdesc_vpp_offset = VOPARG_OFFSETOF(struct vnop_clonefile_args, a_vpp),
935*c54f35caSApple OSS Distributions 	.vdesc_cred_offset = VDESC_NO_OFFSET,
936*c54f35caSApple OSS Distributions 	.vdesc_proc_offset = VDESC_NO_OFFSET,
937*c54f35caSApple OSS Distributions 	.vdesc_componentname_offset = VOPARG_OFFSETOF(struct vnop_clonefile_args, a_cnp),
938*c54f35caSApple OSS Distributions 	.vdesc_context_offset = VOPARG_OFFSETOF(struct vnop_clonefile_args, a_context),
939*c54f35caSApple OSS Distributions 	.vdesc_transports = NULL
940*c54f35caSApple OSS Distributions };
941*c54f35caSApple OSS Distributions 
942*c54f35caSApple OSS Distributions int vop_getxattr_vp_offsets[] = {
943*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getxattr_args, a_vp),
944*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
945*c54f35caSApple OSS Distributions };
946*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_getxattr_desc = {
947*c54f35caSApple OSS Distributions 	0,
948*c54f35caSApple OSS Distributions 	"vnop_getxattr",
949*c54f35caSApple OSS Distributions 	0,
950*c54f35caSApple OSS Distributions 	vop_getxattr_vp_offsets,
951*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
952*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
953*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
954*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
955*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getxattr_args, a_context),
956*c54f35caSApple OSS Distributions 	NULL
957*c54f35caSApple OSS Distributions };
958*c54f35caSApple OSS Distributions 
959*c54f35caSApple OSS Distributions int vop_setxattr_vp_offsets[] = {
960*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setxattr_args, a_vp),
961*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
962*c54f35caSApple OSS Distributions };
963*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_setxattr_desc = {
964*c54f35caSApple OSS Distributions 	0,
965*c54f35caSApple OSS Distributions 	"vnop_setxattr",
966*c54f35caSApple OSS Distributions 	0,
967*c54f35caSApple OSS Distributions 	vop_setxattr_vp_offsets,
968*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
969*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
970*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
971*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
972*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_setxattr_args, a_context),
973*c54f35caSApple OSS Distributions 	NULL
974*c54f35caSApple OSS Distributions };
975*c54f35caSApple OSS Distributions 
976*c54f35caSApple OSS Distributions int vop_removexattr_vp_offsets[] = {
977*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_removexattr_args, a_vp),
978*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
979*c54f35caSApple OSS Distributions };
980*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_removexattr_desc = {
981*c54f35caSApple OSS Distributions 	0,
982*c54f35caSApple OSS Distributions 	"vnop_removexattr",
983*c54f35caSApple OSS Distributions 	0,
984*c54f35caSApple OSS Distributions 	vop_removexattr_vp_offsets,
985*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
986*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
987*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
988*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
989*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_removexattr_args, a_context),
990*c54f35caSApple OSS Distributions 	NULL
991*c54f35caSApple OSS Distributions };
992*c54f35caSApple OSS Distributions 
993*c54f35caSApple OSS Distributions int vop_listxattr_vp_offsets[] = {
994*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_listxattr_args, a_vp),
995*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
996*c54f35caSApple OSS Distributions };
997*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_listxattr_desc = {
998*c54f35caSApple OSS Distributions 	0,
999*c54f35caSApple OSS Distributions 	"vnop_listxattr",
1000*c54f35caSApple OSS Distributions 	0,
1001*c54f35caSApple OSS Distributions 	vop_listxattr_vp_offsets,
1002*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1003*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1004*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1005*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1006*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_listxattr_args, a_context),
1007*c54f35caSApple OSS Distributions 	NULL
1008*c54f35caSApple OSS Distributions };
1009*c54f35caSApple OSS Distributions 
1010*c54f35caSApple OSS Distributions int vnop_blktooff_vp_offsets[] = {
1011*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_blktooff_args, a_vp),
1012*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1013*c54f35caSApple OSS Distributions };
1014*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_blktooff_desc = {
1015*c54f35caSApple OSS Distributions 	0,
1016*c54f35caSApple OSS Distributions 	"vnop_blktooff",
1017*c54f35caSApple OSS Distributions 	0,
1018*c54f35caSApple OSS Distributions 	vnop_blktooff_vp_offsets,
1019*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1020*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1021*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1022*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1023*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1024*c54f35caSApple OSS Distributions 	NULL
1025*c54f35caSApple OSS Distributions };
1026*c54f35caSApple OSS Distributions 
1027*c54f35caSApple OSS Distributions int vnop_offtoblk_vp_offsets[] = {
1028*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_offtoblk_args, a_vp),
1029*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1030*c54f35caSApple OSS Distributions };
1031*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_offtoblk_desc = {
1032*c54f35caSApple OSS Distributions 	0,
1033*c54f35caSApple OSS Distributions 	"vnop_offtoblk",
1034*c54f35caSApple OSS Distributions 	0,
1035*c54f35caSApple OSS Distributions 	vnop_offtoblk_vp_offsets,
1036*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1037*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1038*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1039*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1040*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1041*c54f35caSApple OSS Distributions 	NULL
1042*c54f35caSApple OSS Distributions };
1043*c54f35caSApple OSS Distributions 
1044*c54f35caSApple OSS Distributions int vnop_blockmap_vp_offsets[] = {
1045*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_blockmap_args, a_vp),
1046*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1047*c54f35caSApple OSS Distributions };
1048*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_blockmap_desc = {
1049*c54f35caSApple OSS Distributions 	0,
1050*c54f35caSApple OSS Distributions 	"vnop_blockmap",
1051*c54f35caSApple OSS Distributions 	0,
1052*c54f35caSApple OSS Distributions 	vnop_blockmap_vp_offsets,
1053*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1054*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1055*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1056*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1057*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1058*c54f35caSApple OSS Distributions 	NULL
1059*c54f35caSApple OSS Distributions };
1060*c54f35caSApple OSS Distributions 
1061*c54f35caSApple OSS Distributions #if NAMEDSTREAMS
1062*c54f35caSApple OSS Distributions int vnop_getnamedstream_vp_offsets[] = {
1063*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getnamedstream_args, a_vp),
1064*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1065*c54f35caSApple OSS Distributions };
1066*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_getnamedstream_desc = {
1067*c54f35caSApple OSS Distributions 	0,
1068*c54f35caSApple OSS Distributions 	"vnop_getnamedstream",
1069*c54f35caSApple OSS Distributions 	0,
1070*c54f35caSApple OSS Distributions 	vnop_getnamedstream_vp_offsets,
1071*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getnamedstream_args, a_svpp),
1072*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1073*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1074*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getnamedstream_args, a_name),
1075*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_getnamedstream_args, a_context),
1076*c54f35caSApple OSS Distributions 	NULL
1077*c54f35caSApple OSS Distributions };
1078*c54f35caSApple OSS Distributions 
1079*c54f35caSApple OSS Distributions int vnop_makenamedstream_vp_offsets[] = {
1080*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_makenamedstream_args, a_vp),
1081*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1082*c54f35caSApple OSS Distributions };
1083*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_makenamedstream_desc = {
1084*c54f35caSApple OSS Distributions 	0,
1085*c54f35caSApple OSS Distributions 	"vnop_makenamedstream",
1086*c54f35caSApple OSS Distributions 	0, /* flags */
1087*c54f35caSApple OSS Distributions 	vnop_makenamedstream_vp_offsets,
1088*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_makenamedstream_args, a_svpp),
1089*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1090*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1091*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_makenamedstream_args, a_name),
1092*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_makenamedstream_args, a_context),
1093*c54f35caSApple OSS Distributions 	NULL
1094*c54f35caSApple OSS Distributions };
1095*c54f35caSApple OSS Distributions 
1096*c54f35caSApple OSS Distributions int vnop_removenamedstream_vp_offsets[] = {
1097*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_removenamedstream_args, a_vp),
1098*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1099*c54f35caSApple OSS Distributions };
1100*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_removenamedstream_desc = {
1101*c54f35caSApple OSS Distributions 	0,
1102*c54f35caSApple OSS Distributions 	"vnop_removenamedstream",
1103*c54f35caSApple OSS Distributions 	0,
1104*c54f35caSApple OSS Distributions 	vnop_removenamedstream_vp_offsets,
1105*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1106*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1107*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1108*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_removenamedstream_args, a_name),
1109*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_removenamedstream_args, a_context),
1110*c54f35caSApple OSS Distributions 	NULL
1111*c54f35caSApple OSS Distributions };
1112*c54f35caSApple OSS Distributions #else
1113*c54f35caSApple OSS Distributions int vnop_getnamedstream_vp_offsets[] = {
1114*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1115*c54f35caSApple OSS Distributions };
1116*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_getnamedstream_desc = {
1117*c54f35caSApple OSS Distributions 	0,
1118*c54f35caSApple OSS Distributions 	"vnop_getnamedstream",
1119*c54f35caSApple OSS Distributions 	VDESC_DISABLED, /* flags */
1120*c54f35caSApple OSS Distributions 	vnop_getnamedstream_vp_offsets,
1121*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1122*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1123*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1124*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1125*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1126*c54f35caSApple OSS Distributions 	NULL
1127*c54f35caSApple OSS Distributions };
1128*c54f35caSApple OSS Distributions 
1129*c54f35caSApple OSS Distributions int vnop_makenamedstream_vp_offsets[] = {
1130*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1131*c54f35caSApple OSS Distributions };
1132*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_makenamedstream_desc = {
1133*c54f35caSApple OSS Distributions 	0,
1134*c54f35caSApple OSS Distributions 	"vnop_makenamedstream",
1135*c54f35caSApple OSS Distributions 	VDESC_DISABLED, /* flags */
1136*c54f35caSApple OSS Distributions 	vnop_makenamedstream_vp_offsets,
1137*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1138*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1139*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1140*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1141*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1142*c54f35caSApple OSS Distributions 	NULL
1143*c54f35caSApple OSS Distributions };
1144*c54f35caSApple OSS Distributions 
1145*c54f35caSApple OSS Distributions int vnop_removenamedstream_vp_offsets[] = {
1146*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1147*c54f35caSApple OSS Distributions };
1148*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_removenamedstream_desc = {
1149*c54f35caSApple OSS Distributions 	0,
1150*c54f35caSApple OSS Distributions 	"vnop_removenamedstream",
1151*c54f35caSApple OSS Distributions 	VDESC_DISABLED, /* flags */
1152*c54f35caSApple OSS Distributions 	vnop_removenamedstream_vp_offsets,
1153*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1154*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1155*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1156*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1157*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1158*c54f35caSApple OSS Distributions 	NULL
1159*c54f35caSApple OSS Distributions };
1160*c54f35caSApple OSS Distributions #endif
1161*c54f35caSApple OSS Distributions 
1162*c54f35caSApple OSS Distributions /* Special cases: */
1163*c54f35caSApple OSS Distributions 
1164*c54f35caSApple OSS Distributions int vnop_strategy_vp_offsets[] = {
1165*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1166*c54f35caSApple OSS Distributions };
1167*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_strategy_desc = {
1168*c54f35caSApple OSS Distributions 	0,
1169*c54f35caSApple OSS Distributions 	"vnop_strategy",
1170*c54f35caSApple OSS Distributions 	0,
1171*c54f35caSApple OSS Distributions 	vnop_strategy_vp_offsets,
1172*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1173*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1174*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1175*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1176*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1177*c54f35caSApple OSS Distributions 	NULL
1178*c54f35caSApple OSS Distributions };
1179*c54f35caSApple OSS Distributions 
1180*c54f35caSApple OSS Distributions int vnop_bwrite_vp_offsets[] = {
1181*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1182*c54f35caSApple OSS Distributions };
1183*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_bwrite_desc = {
1184*c54f35caSApple OSS Distributions 	0,
1185*c54f35caSApple OSS Distributions 	"vnop_bwrite",
1186*c54f35caSApple OSS Distributions 	0,
1187*c54f35caSApple OSS Distributions 	vnop_bwrite_vp_offsets,
1188*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1189*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1190*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1191*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1192*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET,
1193*c54f35caSApple OSS Distributions 	NULL
1194*c54f35caSApple OSS Distributions };
1195*c54f35caSApple OSS Distributions 
1196*c54f35caSApple OSS Distributions int vnop_verify_vp_offsets[] = {
1197*c54f35caSApple OSS Distributions 	VOPARG_OFFSETOF(struct vnop_verify_args, a_vp),
1198*c54f35caSApple OSS Distributions 	VDESC_NO_OFFSET
1199*c54f35caSApple OSS Distributions };
1200*c54f35caSApple OSS Distributions struct vnodeop_desc vnop_verify_desc = {
1201*c54f35caSApple OSS Distributions 	.vdesc_offset = 0,
1202*c54f35caSApple OSS Distributions 	.vdesc_name = "vnop_verify",
1203*c54f35caSApple OSS Distributions 	.vdesc_flags = 0,
1204*c54f35caSApple OSS Distributions 	.vdesc_vp_offsets = vnop_verify_vp_offsets,
1205*c54f35caSApple OSS Distributions 	.vdesc_vpp_offset = VDESC_NO_OFFSET,
1206*c54f35caSApple OSS Distributions 	.vdesc_cred_offset = VDESC_NO_OFFSET,
1207*c54f35caSApple OSS Distributions 	.vdesc_proc_offset = VDESC_NO_OFFSET,
1208*c54f35caSApple OSS Distributions 	.vdesc_componentname_offset = VDESC_NO_OFFSET,
1209*c54f35caSApple OSS Distributions 	.vdesc_context_offset = VOPARG_OFFSETOF(struct vnop_verify_args, a_context),
1210*c54f35caSApple OSS Distributions 	.vdesc_transports = NULL
1211*c54f35caSApple OSS Distributions };
1212*c54f35caSApple OSS Distributions 
1213*c54f35caSApple OSS Distributions /* End of special cases. */
1214*c54f35caSApple OSS Distributions 
1215*c54f35caSApple OSS Distributions struct vnodeop_desc *vfs_op_descs[] = {
1216*c54f35caSApple OSS Distributions 	&vnop_default_desc,     /* MUST BE FIRST */
1217*c54f35caSApple OSS Distributions 	&vnop_strategy_desc,    /* XXX: SPECIAL CASE */
1218*c54f35caSApple OSS Distributions 	&vnop_bwrite_desc,      /* XXX: SPECIAL CASE */
1219*c54f35caSApple OSS Distributions 
1220*c54f35caSApple OSS Distributions 	&vnop_lookup_desc,
1221*c54f35caSApple OSS Distributions 	&vnop_create_desc,
1222*c54f35caSApple OSS Distributions 	&vnop_mknod_desc,
1223*c54f35caSApple OSS Distributions 	&vnop_whiteout_desc,
1224*c54f35caSApple OSS Distributions 	&vnop_open_desc,
1225*c54f35caSApple OSS Distributions 	&vnop_compound_open_desc,
1226*c54f35caSApple OSS Distributions 	&vnop_close_desc,
1227*c54f35caSApple OSS Distributions 	&vnop_access_desc,
1228*c54f35caSApple OSS Distributions 	&vnop_getattr_desc,
1229*c54f35caSApple OSS Distributions 	&vnop_setattr_desc,
1230*c54f35caSApple OSS Distributions 	&vnop_read_desc,
1231*c54f35caSApple OSS Distributions 	&vnop_write_desc,
1232*c54f35caSApple OSS Distributions 	&vnop_ioctl_desc,
1233*c54f35caSApple OSS Distributions 	&vnop_select_desc,
1234*c54f35caSApple OSS Distributions 	&vnop_exchange_desc,
1235*c54f35caSApple OSS Distributions 	&vnop_kqfilt_add_desc,
1236*c54f35caSApple OSS Distributions 	&vnop_kqfilt_remove_desc,
1237*c54f35caSApple OSS Distributions 	&vnop_setlabel_desc,
1238*c54f35caSApple OSS Distributions 	&vnop_revoke_desc,
1239*c54f35caSApple OSS Distributions 	&vnop_mmap_check_desc,
1240*c54f35caSApple OSS Distributions 	&vnop_mmap_desc,
1241*c54f35caSApple OSS Distributions 	&vnop_mnomap_desc,
1242*c54f35caSApple OSS Distributions 	&vnop_fsync_desc,
1243*c54f35caSApple OSS Distributions 	&vnop_remove_desc,
1244*c54f35caSApple OSS Distributions 	&vnop_compound_remove_desc,
1245*c54f35caSApple OSS Distributions 	&vnop_link_desc,
1246*c54f35caSApple OSS Distributions 	&vnop_rename_desc,
1247*c54f35caSApple OSS Distributions 	&vnop_renamex_desc,
1248*c54f35caSApple OSS Distributions 	&vnop_compound_rename_desc,
1249*c54f35caSApple OSS Distributions 	&vnop_mkdir_desc,
1250*c54f35caSApple OSS Distributions 	&vnop_compound_mkdir_desc,
1251*c54f35caSApple OSS Distributions 	&vnop_rmdir_desc,
1252*c54f35caSApple OSS Distributions 	&vnop_compound_rmdir_desc,
1253*c54f35caSApple OSS Distributions 	&vnop_symlink_desc,
1254*c54f35caSApple OSS Distributions 	&vnop_readdir_desc,
1255*c54f35caSApple OSS Distributions 	&vnop_readdirattr_desc,
1256*c54f35caSApple OSS Distributions 	&vnop_getattrlistbulk_desc,
1257*c54f35caSApple OSS Distributions 	&vnop_readlink_desc,
1258*c54f35caSApple OSS Distributions 	&vnop_inactive_desc,
1259*c54f35caSApple OSS Distributions 	&vnop_reclaim_desc,
1260*c54f35caSApple OSS Distributions 	&vnop_pathconf_desc,
1261*c54f35caSApple OSS Distributions 	&vnop_advlock_desc,
1262*c54f35caSApple OSS Distributions 	&vnop_allocate_desc,
1263*c54f35caSApple OSS Distributions 	&vnop_pagein_desc,
1264*c54f35caSApple OSS Distributions 	&vnop_pageout_desc,
1265*c54f35caSApple OSS Distributions 	&vnop_searchfs_desc,
1266*c54f35caSApple OSS Distributions 	&vnop_copyfile_desc,
1267*c54f35caSApple OSS Distributions 	&vnop_clonefile_desc,
1268*c54f35caSApple OSS Distributions 	&vnop_getxattr_desc,
1269*c54f35caSApple OSS Distributions 	&vnop_setxattr_desc,
1270*c54f35caSApple OSS Distributions 	&vnop_removexattr_desc,
1271*c54f35caSApple OSS Distributions 	&vnop_listxattr_desc,
1272*c54f35caSApple OSS Distributions 	&vnop_blktooff_desc,
1273*c54f35caSApple OSS Distributions 	&vnop_offtoblk_desc,
1274*c54f35caSApple OSS Distributions 	&vnop_blockmap_desc,
1275*c54f35caSApple OSS Distributions 	&vnop_monitor_desc,
1276*c54f35caSApple OSS Distributions #if !defined(NAMEDSTREAMS)
1277*c54f35caSApple OSS Distributions 	/*
1278*c54f35caSApple OSS Distributions 	 * We define the named streams ops descriptors as we _always_ have to
1279*c54f35caSApple OSS Distributions 	 * have symbols with their names, and as such we really really need
1280*c54f35caSApple OSS Distributions 	 * those symbols to be valid operations descriptors. However if
1281*c54f35caSApple OSS Distributions 	 * named streams support is not enabled, we flag these descriptors
1282*c54f35caSApple OSS Distributions 	 * as ignored.
1283*c54f35caSApple OSS Distributions 	 */
1284*c54f35caSApple OSS Distributions #endif
1285*c54f35caSApple OSS Distributions 	&vnop_getnamedstream_desc,
1286*c54f35caSApple OSS Distributions 	&vnop_makenamedstream_desc,
1287*c54f35caSApple OSS Distributions 	&vnop_removenamedstream_desc,
1288*c54f35caSApple OSS Distributions 	&vnop_verify_desc,
1289*c54f35caSApple OSS Distributions 	NULL
1290*c54f35caSApple OSS Distributions };
1291