master
  1/*	$NetBSD: vnode_if.h,v 1.111.4.1 2023/06/21 16:52:28 martin Exp $	*/
  2
  3/*
  4 * Warning: DO NOT EDIT! This file is automatically generated!
  5 * (Modifications made here may easily be lost!)
  6 *
  7 * Created from the file:
  8 *	NetBSD: vnode_if.src,v 1.84.4.1 2023/06/21 16:50:21 martin Exp
  9 * by the script:
 10 *	NetBSD: vnode_if.sh,v 1.77 2022/10/26 23:39:43 riastradh Exp
 11 */
 12
 13/*
 14 * Copyright (c) 1992, 1993, 1994, 1995
 15 *	The Regents of the University of California.  All rights reserved.
 16 *
 17 * Redistribution and use in source and binary forms, with or without
 18 * modification, are permitted provided that the following conditions
 19 * are met:
 20 * 1. Redistributions of source code must retain the above copyright
 21 *    notice, this list of conditions and the following disclaimer.
 22 * 2. Redistributions in binary form must reproduce the above copyright
 23 *    notice, this list of conditions and the following disclaimer in the
 24 *    documentation and/or other materials provided with the distribution.
 25 * 3. Neither the name of the University nor the names of its contributors
 26 *    may be used to endorse or promote products derived from this software
 27 *    without specific prior written permission.
 28 *
 29 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 32 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 39 * SUCH DAMAGE.
 40 */
 41
 42#ifndef _SYS_VNODE_IF_H_
 43#define _SYS_VNODE_IF_H_
 44
 45extern const struct vnodeop_desc vop_default_desc;
 46
 47struct buf;
 48
 49#ifndef _KERNEL
 50#include <stdbool.h>
 51#endif
 52
 53#define VOP_BWRITE_DESCOFFSET 1
 54struct vop_bwrite_args {
 55	const struct vnodeop_desc *a_desc;
 56	struct vnode *a_vp;
 57	struct buf *a_bp;
 58};
 59extern const struct vnodeop_desc vop_bwrite_desc;
 60int VOP_BWRITE(struct vnode *, struct buf *);
 61
 62#define VOP_PARSEPATH_DESCOFFSET 2
 63struct vop_parsepath_args {
 64	const struct vnodeop_desc *a_desc;
 65	struct vnode *a_dvp;
 66	const char *a_name;
 67	size_t *a_retval;
 68};
 69extern const struct vnodeop_desc vop_parsepath_desc;
 70int VOP_PARSEPATH(struct vnode *, const char *, size_t *);
 71
 72#define VOP_LOOKUP_DESCOFFSET 3
 73struct vop_lookup_v2_args {
 74	const struct vnodeop_desc *a_desc;
 75	struct vnode *a_dvp;
 76	struct vnode **a_vpp;
 77	struct componentname *a_cnp;
 78};
 79extern const struct vnodeop_desc vop_lookup_desc;
 80int VOP_LOOKUP(struct vnode *, struct vnode **, struct componentname *);
 81
 82#define VOP_CREATE_DESCOFFSET 4
 83struct vop_create_v3_args {
 84	const struct vnodeop_desc *a_desc;
 85	struct vnode *a_dvp;
 86	struct vnode **a_vpp;
 87	struct componentname *a_cnp;
 88	struct vattr *a_vap;
 89};
 90extern const struct vnodeop_desc vop_create_desc;
 91int VOP_CREATE(struct vnode *, struct vnode **, struct componentname *, 
 92    struct vattr *);
 93
 94#define VOP_MKNOD_DESCOFFSET 5
 95struct vop_mknod_v3_args {
 96	const struct vnodeop_desc *a_desc;
 97	struct vnode *a_dvp;
 98	struct vnode **a_vpp;
 99	struct componentname *a_cnp;
100	struct vattr *a_vap;
101};
102extern const struct vnodeop_desc vop_mknod_desc;
103int VOP_MKNOD(struct vnode *, struct vnode **, struct componentname *, 
104    struct vattr *);
105
106#define VOP_OPEN_DESCOFFSET 6
107struct vop_open_args {
108	const struct vnodeop_desc *a_desc;
109	struct vnode *a_vp;
110	int a_mode;
111	kauth_cred_t a_cred;
112};
113extern const struct vnodeop_desc vop_open_desc;
114int VOP_OPEN(struct vnode *, int, kauth_cred_t);
115
116#define VOP_CLOSE_DESCOFFSET 7
117struct vop_close_args {
118	const struct vnodeop_desc *a_desc;
119	struct vnode *a_vp;
120	int a_fflag;
121	kauth_cred_t a_cred;
122};
123extern const struct vnodeop_desc vop_close_desc;
124int VOP_CLOSE(struct vnode *, int, kauth_cred_t);
125
126#define VOP_ACCESS_DESCOFFSET 8
127struct vop_access_args {
128	const struct vnodeop_desc *a_desc;
129	struct vnode *a_vp;
130	accmode_t a_accmode;
131	kauth_cred_t a_cred;
132};
133extern const struct vnodeop_desc vop_access_desc;
134int VOP_ACCESS(struct vnode *, accmode_t, kauth_cred_t);
135
136#define VOP_ACCESSX_DESCOFFSET 9
137struct vop_accessx_args {
138	const struct vnodeop_desc *a_desc;
139	struct vnode *a_vp;
140	accmode_t a_accmode;
141	kauth_cred_t a_cred;
142};
143extern const struct vnodeop_desc vop_accessx_desc;
144int VOP_ACCESSX(struct vnode *, accmode_t, kauth_cred_t);
145
146#define VOP_GETATTR_DESCOFFSET 10
147struct vop_getattr_args {
148	const struct vnodeop_desc *a_desc;
149	struct vnode *a_vp;
150	struct vattr *a_vap;
151	kauth_cred_t a_cred;
152};
153extern const struct vnodeop_desc vop_getattr_desc;
154int VOP_GETATTR(struct vnode *, struct vattr *, kauth_cred_t);
155
156#define VOP_SETATTR_DESCOFFSET 11
157struct vop_setattr_args {
158	const struct vnodeop_desc *a_desc;
159	struct vnode *a_vp;
160	struct vattr *a_vap;
161	kauth_cred_t a_cred;
162};
163extern const struct vnodeop_desc vop_setattr_desc;
164int VOP_SETATTR(struct vnode *, struct vattr *, kauth_cred_t);
165
166#define VOP_READ_DESCOFFSET 12
167struct vop_read_args {
168	const struct vnodeop_desc *a_desc;
169	struct vnode *a_vp;
170	struct uio *a_uio;
171	int a_ioflag;
172	kauth_cred_t a_cred;
173};
174extern const struct vnodeop_desc vop_read_desc;
175int VOP_READ(struct vnode *, struct uio *, int, kauth_cred_t);
176
177#define VOP_WRITE_DESCOFFSET 13
178struct vop_write_args {
179	const struct vnodeop_desc *a_desc;
180	struct vnode *a_vp;
181	struct uio *a_uio;
182	int a_ioflag;
183	kauth_cred_t a_cred;
184};
185extern const struct vnodeop_desc vop_write_desc;
186int VOP_WRITE(struct vnode *, struct uio *, int, kauth_cred_t);
187
188#define VOP_FALLOCATE_DESCOFFSET 14
189struct vop_fallocate_args {
190	const struct vnodeop_desc *a_desc;
191	struct vnode *a_vp;
192	off_t a_pos;
193	off_t a_len;
194};
195extern const struct vnodeop_desc vop_fallocate_desc;
196int VOP_FALLOCATE(struct vnode *, off_t, off_t);
197
198#define VOP_FDISCARD_DESCOFFSET 15
199struct vop_fdiscard_args {
200	const struct vnodeop_desc *a_desc;
201	struct vnode *a_vp;
202	off_t a_pos;
203	off_t a_len;
204};
205extern const struct vnodeop_desc vop_fdiscard_desc;
206int VOP_FDISCARD(struct vnode *, off_t, off_t);
207
208#define VOP_IOCTL_DESCOFFSET 16
209struct vop_ioctl_args {
210	const struct vnodeop_desc *a_desc;
211	struct vnode *a_vp;
212	u_long a_command;
213	void *a_data;
214	int a_fflag;
215	kauth_cred_t a_cred;
216};
217extern const struct vnodeop_desc vop_ioctl_desc;
218int VOP_IOCTL(struct vnode *, u_long, void *, int, kauth_cred_t);
219
220#define VOP_FCNTL_DESCOFFSET 17
221struct vop_fcntl_args {
222	const struct vnodeop_desc *a_desc;
223	struct vnode *a_vp;
224	u_int a_command;
225	void *a_data;
226	int a_fflag;
227	kauth_cred_t a_cred;
228};
229extern const struct vnodeop_desc vop_fcntl_desc;
230int VOP_FCNTL(struct vnode *, u_int, void *, int, kauth_cred_t);
231
232#define VOP_POLL_DESCOFFSET 18
233struct vop_poll_args {
234	const struct vnodeop_desc *a_desc;
235	struct vnode *a_vp;
236	int a_events;
237};
238extern const struct vnodeop_desc vop_poll_desc;
239int VOP_POLL(struct vnode *, int);
240
241#define VOP_KQFILTER_DESCOFFSET 19
242struct vop_kqfilter_args {
243	const struct vnodeop_desc *a_desc;
244	struct vnode *a_vp;
245	struct knote *a_kn;
246};
247extern const struct vnodeop_desc vop_kqfilter_desc;
248int VOP_KQFILTER(struct vnode *, struct knote *);
249
250#define VOP_REVOKE_DESCOFFSET 20
251struct vop_revoke_args {
252	const struct vnodeop_desc *a_desc;
253	struct vnode *a_vp;
254	int a_flags;
255};
256extern const struct vnodeop_desc vop_revoke_desc;
257int VOP_REVOKE(struct vnode *, int);
258
259#define VOP_MMAP_DESCOFFSET 21
260struct vop_mmap_args {
261	const struct vnodeop_desc *a_desc;
262	struct vnode *a_vp;
263	vm_prot_t a_prot;
264	kauth_cred_t a_cred;
265};
266extern const struct vnodeop_desc vop_mmap_desc;
267int VOP_MMAP(struct vnode *, vm_prot_t, kauth_cred_t);
268
269#define VOP_FSYNC_DESCOFFSET 22
270struct vop_fsync_args {
271	const struct vnodeop_desc *a_desc;
272	struct vnode *a_vp;
273	kauth_cred_t a_cred;
274	int a_flags;
275	off_t a_offlo;
276	off_t a_offhi;
277};
278extern const struct vnodeop_desc vop_fsync_desc;
279int VOP_FSYNC(struct vnode *, kauth_cred_t, int, off_t, off_t);
280
281#define VOP_SEEK_DESCOFFSET 23
282struct vop_seek_args {
283	const struct vnodeop_desc *a_desc;
284	struct vnode *a_vp;
285	off_t a_oldoff;
286	off_t a_newoff;
287	kauth_cred_t a_cred;
288};
289extern const struct vnodeop_desc vop_seek_desc;
290int VOP_SEEK(struct vnode *, off_t, off_t, kauth_cred_t);
291
292#define VOP_REMOVE_DESCOFFSET 24
293struct vop_remove_v3_args {
294	const struct vnodeop_desc *a_desc;
295	struct vnode *a_dvp;
296	struct vnode *a_vp;
297	struct componentname *a_cnp;
298	nlink_t ctx_vp_new_nlink;
299};
300extern const struct vnodeop_desc vop_remove_desc;
301int VOP_REMOVE(struct vnode *, struct vnode *, struct componentname *);
302
303#define VOP_LINK_DESCOFFSET 25
304struct vop_link_v2_args {
305	const struct vnodeop_desc *a_desc;
306	struct vnode *a_dvp;
307	struct vnode *a_vp;
308	struct componentname *a_cnp;
309};
310extern const struct vnodeop_desc vop_link_desc;
311int VOP_LINK(struct vnode *, struct vnode *, struct componentname *);
312
313#define VOP_RENAME_DESCOFFSET 26
314struct vop_rename_args {
315	const struct vnodeop_desc *a_desc;
316	struct vnode *a_fdvp;
317	struct vnode *a_fvp;
318	struct componentname *a_fcnp;
319	struct vnode *a_tdvp;
320	struct vnode *a_tvp;
321	struct componentname *a_tcnp;
322};
323extern const struct vnodeop_desc vop_rename_desc;
324int VOP_RENAME(struct vnode *, struct vnode *, struct componentname *, 
325    struct vnode *, struct vnode *, struct componentname *);
326
327#define VOP_MKDIR_DESCOFFSET 27
328struct vop_mkdir_v3_args {
329	const struct vnodeop_desc *a_desc;
330	struct vnode *a_dvp;
331	struct vnode **a_vpp;
332	struct componentname *a_cnp;
333	struct vattr *a_vap;
334};
335extern const struct vnodeop_desc vop_mkdir_desc;
336int VOP_MKDIR(struct vnode *, struct vnode **, struct componentname *, 
337    struct vattr *);
338
339#define VOP_RMDIR_DESCOFFSET 28
340struct vop_rmdir_v2_args {
341	const struct vnodeop_desc *a_desc;
342	struct vnode *a_dvp;
343	struct vnode *a_vp;
344	struct componentname *a_cnp;
345};
346extern const struct vnodeop_desc vop_rmdir_desc;
347int VOP_RMDIR(struct vnode *, struct vnode *, struct componentname *);
348
349#define VOP_SYMLINK_DESCOFFSET 29
350struct vop_symlink_v3_args {
351	const struct vnodeop_desc *a_desc;
352	struct vnode *a_dvp;
353	struct vnode **a_vpp;
354	struct componentname *a_cnp;
355	struct vattr *a_vap;
356	char *a_target;
357};
358extern const struct vnodeop_desc vop_symlink_desc;
359int VOP_SYMLINK(struct vnode *, struct vnode **, struct componentname *, 
360    struct vattr *, char *);
361
362#define VOP_READDIR_DESCOFFSET 30
363struct vop_readdir_args {
364	const struct vnodeop_desc *a_desc;
365	struct vnode *a_vp;
366	struct uio *a_uio;
367	kauth_cred_t a_cred;
368	int *a_eofflag;
369	off_t **a_cookies;
370	int *a_ncookies;
371};
372extern const struct vnodeop_desc vop_readdir_desc;
373int VOP_READDIR(struct vnode *, struct uio *, kauth_cred_t, int *, off_t **, 
374    int *);
375
376#define VOP_READLINK_DESCOFFSET 31
377struct vop_readlink_args {
378	const struct vnodeop_desc *a_desc;
379	struct vnode *a_vp;
380	struct uio *a_uio;
381	kauth_cred_t a_cred;
382};
383extern const struct vnodeop_desc vop_readlink_desc;
384int VOP_READLINK(struct vnode *, struct uio *, kauth_cred_t);
385
386#define VOP_ABORTOP_DESCOFFSET 32
387struct vop_abortop_args {
388	const struct vnodeop_desc *a_desc;
389	struct vnode *a_dvp;
390	struct componentname *a_cnp;
391};
392extern const struct vnodeop_desc vop_abortop_desc;
393int VOP_ABORTOP(struct vnode *, struct componentname *);
394
395#define VOP_INACTIVE_DESCOFFSET 33
396struct vop_inactive_v2_args {
397	const struct vnodeop_desc *a_desc;
398	struct vnode *a_vp;
399	bool *a_recycle;
400};
401extern const struct vnodeop_desc vop_inactive_desc;
402int VOP_INACTIVE(struct vnode *, bool *);
403
404#define VOP_RECLAIM_DESCOFFSET 34
405struct vop_reclaim_v2_args {
406	const struct vnodeop_desc *a_desc;
407	struct vnode *a_vp;
408};
409extern const struct vnodeop_desc vop_reclaim_desc;
410int VOP_RECLAIM(struct vnode *);
411
412#define VOP_LOCK_DESCOFFSET 35
413struct vop_lock_args {
414	const struct vnodeop_desc *a_desc;
415	struct vnode *a_vp;
416	int a_flags;
417};
418extern const struct vnodeop_desc vop_lock_desc;
419int VOP_LOCK(struct vnode *, int);
420
421#define VOP_UNLOCK_DESCOFFSET 36
422struct vop_unlock_args {
423	const struct vnodeop_desc *a_desc;
424	struct vnode *a_vp;
425};
426extern const struct vnodeop_desc vop_unlock_desc;
427int VOP_UNLOCK(struct vnode *);
428
429#define VOP_BMAP_DESCOFFSET 37
430struct vop_bmap_args {
431	const struct vnodeop_desc *a_desc;
432	struct vnode *a_vp;
433	daddr_t a_bn;
434	struct vnode **a_vpp;
435	daddr_t *a_bnp;
436	int *a_runp;
437};
438extern const struct vnodeop_desc vop_bmap_desc;
439int VOP_BMAP(struct vnode *, daddr_t, struct vnode **, daddr_t *, int *);
440
441#define VOP_STRATEGY_DESCOFFSET 38
442struct vop_strategy_args {
443	const struct vnodeop_desc *a_desc;
444	struct vnode *a_vp;
445	struct buf *a_bp;
446};
447extern const struct vnodeop_desc vop_strategy_desc;
448int VOP_STRATEGY(struct vnode *, struct buf *);
449
450#define VOP_PRINT_DESCOFFSET 39
451struct vop_print_args {
452	const struct vnodeop_desc *a_desc;
453	struct vnode *a_vp;
454};
455extern const struct vnodeop_desc vop_print_desc;
456int VOP_PRINT(struct vnode *);
457
458#define VOP_ISLOCKED_DESCOFFSET 40
459struct vop_islocked_args {
460	const struct vnodeop_desc *a_desc;
461	struct vnode *a_vp;
462};
463extern const struct vnodeop_desc vop_islocked_desc;
464int VOP_ISLOCKED(struct vnode *);
465
466#define VOP_PATHCONF_DESCOFFSET 41
467struct vop_pathconf_args {
468	const struct vnodeop_desc *a_desc;
469	struct vnode *a_vp;
470	int a_name;
471	register_t *a_retval;
472};
473extern const struct vnodeop_desc vop_pathconf_desc;
474int VOP_PATHCONF(struct vnode *, int, register_t *);
475
476#define VOP_ADVLOCK_DESCOFFSET 42
477struct vop_advlock_args {
478	const struct vnodeop_desc *a_desc;
479	struct vnode *a_vp;
480	void *a_id;
481	int a_op;
482	struct flock *a_fl;
483	int a_flags;
484};
485extern const struct vnodeop_desc vop_advlock_desc;
486int VOP_ADVLOCK(struct vnode *, void *, int, struct flock *, int);
487
488#define VOP_WHITEOUT_DESCOFFSET 43
489struct vop_whiteout_args {
490	const struct vnodeop_desc *a_desc;
491	struct vnode *a_dvp;
492	struct componentname *a_cnp;
493	int a_flags;
494};
495extern const struct vnodeop_desc vop_whiteout_desc;
496int VOP_WHITEOUT(struct vnode *, struct componentname *, int);
497
498#define VOP_GETPAGES_DESCOFFSET 44
499struct vop_getpages_args {
500	const struct vnodeop_desc *a_desc;
501	struct vnode *a_vp;
502	voff_t a_offset;
503	struct vm_page **a_m;
504	int *a_count;
505	int a_centeridx;
506	vm_prot_t a_access_type;
507	int a_advice;
508	int a_flags;
509};
510extern const struct vnodeop_desc vop_getpages_desc;
511int VOP_GETPAGES(struct vnode *, voff_t, struct vm_page **, int *, int, 
512    vm_prot_t, int, int);
513
514#define VOP_PUTPAGES_DESCOFFSET 45
515struct vop_putpages_args {
516	const struct vnodeop_desc *a_desc;
517	struct vnode *a_vp;
518	voff_t a_offlo;
519	voff_t a_offhi;
520	int a_flags;
521};
522extern const struct vnodeop_desc vop_putpages_desc;
523int VOP_PUTPAGES(struct vnode *, voff_t, voff_t, int);
524
525#define VOP_GETACL_DESCOFFSET 46
526struct vop_getacl_args {
527	const struct vnodeop_desc *a_desc;
528	struct vnode *a_vp;
529	acl_type_t a_type;
530	struct acl *a_aclp;
531	kauth_cred_t a_cred;
532};
533extern const struct vnodeop_desc vop_getacl_desc;
534int VOP_GETACL(struct vnode *, acl_type_t, struct acl *, kauth_cred_t);
535
536#define VOP_SETACL_DESCOFFSET 47
537struct vop_setacl_args {
538	const struct vnodeop_desc *a_desc;
539	struct vnode *a_vp;
540	acl_type_t a_type;
541	struct acl *a_aclp;
542	kauth_cred_t a_cred;
543};
544extern const struct vnodeop_desc vop_setacl_desc;
545int VOP_SETACL(struct vnode *, acl_type_t, struct acl *, kauth_cred_t);
546
547#define VOP_ACLCHECK_DESCOFFSET 48
548struct vop_aclcheck_args {
549	const struct vnodeop_desc *a_desc;
550	struct vnode *a_vp;
551	acl_type_t a_type;
552	struct acl *a_aclp;
553	kauth_cred_t a_cred;
554};
555extern const struct vnodeop_desc vop_aclcheck_desc;
556int VOP_ACLCHECK(struct vnode *, acl_type_t, struct acl *, kauth_cred_t);
557
558#define VOP_CLOSEEXTATTR_DESCOFFSET 49
559struct vop_closeextattr_args {
560	const struct vnodeop_desc *a_desc;
561	struct vnode *a_vp;
562	int a_commit;
563	kauth_cred_t a_cred;
564};
565extern const struct vnodeop_desc vop_closeextattr_desc;
566int VOP_CLOSEEXTATTR(struct vnode *, int, kauth_cred_t);
567
568#define VOP_GETEXTATTR_DESCOFFSET 50
569struct vop_getextattr_args {
570	const struct vnodeop_desc *a_desc;
571	struct vnode *a_vp;
572	int a_attrnamespace;
573	const char *a_name;
574	struct uio *a_uio;
575	size_t *a_size;
576	kauth_cred_t a_cred;
577};
578extern const struct vnodeop_desc vop_getextattr_desc;
579int VOP_GETEXTATTR(struct vnode *, int, const char *, struct uio *, 
580    size_t *, kauth_cred_t);
581
582#define VOP_LISTEXTATTR_DESCOFFSET 51
583struct vop_listextattr_args {
584	const struct vnodeop_desc *a_desc;
585	struct vnode *a_vp;
586	int a_attrnamespace;
587	struct uio *a_uio;
588	size_t *a_size;
589	int a_flag;
590	kauth_cred_t a_cred;
591};
592extern const struct vnodeop_desc vop_listextattr_desc;
593int VOP_LISTEXTATTR(struct vnode *, int, struct uio *, size_t *, int, 
594    kauth_cred_t);
595
596#define VOP_OPENEXTATTR_DESCOFFSET 52
597struct vop_openextattr_args {
598	const struct vnodeop_desc *a_desc;
599	struct vnode *a_vp;
600	kauth_cred_t a_cred;
601};
602extern const struct vnodeop_desc vop_openextattr_desc;
603int VOP_OPENEXTATTR(struct vnode *, kauth_cred_t);
604
605#define VOP_DELETEEXTATTR_DESCOFFSET 53
606struct vop_deleteextattr_args {
607	const struct vnodeop_desc *a_desc;
608	struct vnode *a_vp;
609	int a_attrnamespace;
610	const char *a_name;
611	kauth_cred_t a_cred;
612};
613extern const struct vnodeop_desc vop_deleteextattr_desc;
614int VOP_DELETEEXTATTR(struct vnode *, int, const char *, kauth_cred_t);
615
616#define VOP_SETEXTATTR_DESCOFFSET 54
617struct vop_setextattr_args {
618	const struct vnodeop_desc *a_desc;
619	struct vnode *a_vp;
620	int a_attrnamespace;
621	const char *a_name;
622	struct uio *a_uio;
623	kauth_cred_t a_cred;
624};
625extern const struct vnodeop_desc vop_setextattr_desc;
626int VOP_SETEXTATTR(struct vnode *, int, const char *, struct uio *, 
627    kauth_cred_t);
628
629#define VNODE_OPS_COUNT	55
630
631#endif /* !_SYS_VNODE_IF_H_ */