Searched refs:vp (Results 1 - 25 of 540) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/sys/
H A Dvfstab.h43 #define vfsnull(vp) ((vp)->vfs_special = (vp)->vfs_fsckdev = \
44 (vp)->vfs_mountp = (vp)->vfs_fstype = \
45 (vp)->vfs_fsckpass = (vp)->vfs_automnt = \
46 (vp)->vfs_mntopts = NULL)
48 #define putvfsent(fd, vp)\
50 (vp)
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dreadv.c15 __readv(fd, vp, vpcount)
17 const struct iovec *vp;
23 int bytes = read(fd, vp->iov_base, vp->iov_len);
28 if (bytes != vp->iov_len)
30 vp++;
/illumos-gate/usr/src/uts/common/fs/
H A Dnbmlock.c46 nbl_start_crit(vnode_t *vp, krw_t mode) argument
48 rw_enter(&vp->v_nbllock, mode);
56 nbl_end_crit(vnode_t *vp) argument
58 rw_exit(&vp->v_nbllock);
67 nbl_in_crit(vnode_t *vp) argument
69 return (RW_LOCK_HELD(&vp->v_nbllock));
77 nbl_need_check(vnode_t *vp) argument
84 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND));
102 nbl_conflict(vnode_t *vp, argument
135 nbl_svmand(vnode_t *vp, cred_t *cr, int *svp) argument
[all...]
H A Dvnode.c75 #define ISROFILE(vp) \
76 ((vp)->v_type != VCHR && (vp)->v_type != VBLK && \
77 (vp)->v_type != VFIFO && vn_is_readonly(vp))
158 * vp - Pointer to the vnode
166 #define VOPSTATS_UPDATE(vp, counter) { \
167 vfs_t *vfsp = (vp)->v_vfsp; \
169 (vfsp->vfs_flag & VFS_STATS) && (vp)->v_type != VBAD) { \
174 __dtrace_probe___fsinfo_##counter(vp,
748 vn_rdwr( enum uio_rw rw, struct vnode *vp, caddr_t base, ssize_t len, offset_t offset, enum uio_seg seg, int ioflag, rlim64_t ulimit, cred_t *cr, ssize_t *residp) argument
837 vn_rele(vnode_t *vp) argument
857 vn_rele_dnlc(vnode_t *vp) argument
880 vn_rele_stream(vnode_t *vp) argument
895 vn_rele_inactive(vnode_t *vp) argument
911 vn_rele_async(vnode_t *vp, taskq_t *taskq) argument
958 struct vnode *vp; local
1273 vn_open_upgrade( vnode_t *vp, int filemode) argument
1287 vn_open_downgrade( vnode_t *vp, int filemode) argument
1337 struct vnode *vp = NULL; local
1825 struct vnode *vp; /* entry vnode */ local
2155 vn_vfswlock_wait(vnode_t *vp) argument
2172 vn_vfsrlock_wait(vnode_t *vp) argument
2195 vn_vfswlock(vnode_t *vp) argument
2218 vn_vfsrlock(vnode_t *vp) argument
2241 vn_vfsunlock(vnode_t *vp) argument
2259 vn_vfswlock_held(vnode_t *vp) argument
2318 struct vnode *vp; local
2340 struct vnode *vp; local
2372 vn_recycle(vnode_t *vp) argument
2422 vn_reinit(vnode_t *vp) argument
2456 vnode_t *vp; local
2470 vn_free(vnode_t *vp) argument
2509 vn_reclaim(vnode_t *vp) argument
2521 vn_idle(vnode_t *vp) argument
2532 vn_exists(vnode_t *vp) argument
2544 vn_invalid(vnode_t *vp) argument
2558 vnevent_support(vnode_t *vp, caller_context_t *ct) argument
2567 vnevent_rename_src(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2576 vnevent_rename_dest(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2586 vnevent_rename_dest_dir(vnode_t *vp, caller_context_t *ct) argument
2595 vnevent_remove(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2604 vnevent_rmdir(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2613 vnevent_pre_rename_src(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2623 vnevent_pre_rename_dest(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2633 vnevent_pre_rename_dest_dir(vnode_t *vp, vnode_t *nvp, char *name, caller_context_t *ct) argument
2643 vnevent_create(vnode_t *vp, caller_context_t *ct) argument
2652 vnevent_link(vnode_t *vp, caller_context_t *ct) argument
2661 vnevent_mountedover(vnode_t *vp, caller_context_t *ct) argument
2670 vnevent_truncate(vnode_t *vp, caller_context_t *ct) argument
2683 vn_is_readonly(vnode_t *vp) argument
2689 vn_has_flocks(vnode_t *vp) argument
2695 vn_has_mandatory_locks(vnode_t *vp, int mode) argument
2701 vn_has_cached_data(vnode_t *vp) argument
2711 vn_can_change_zones(vnode_t *vp) argument
2743 vn_ismntpt(vnode_t *vp) argument
2750 vn_mountedvfs(vnode_t *vp) argument
2759 vn_in_dnlc(vnode_t *vp) argument
2774 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument
2810 vn_is_opened( vnode_t *vp, v_mode_t mode) argument
2844 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument
2913 vn_setops(vnode_t *vp, vnodeops_t *vnodeops) argument
2940 vn_getops(vnode_t *vp) argument
2960 vn_matchops(vnode_t *vp, vnodeops_t *vnodeops) argument
2974 vn_matchopval(vnode_t *vp, char *vopname, fs_generic_func_p funcp) argument
3022 vn_clearpath(vnode_t *vp, hrtime_t compare_stamp) argument
3047 vn_setpath_common(vnode_t *pvp, vnode_t *vp, const char *name, size_t len, boolean_t is_rename) argument
3201 vn_updatepath(vnode_t *pvp, vnode_t *vp, const char *name) argument
3233 vn_setpath(vnode_t *rootvp, vnode_t *pvp, vnode_t *vp, const char *name, size_t len) argument
3245 vn_setpath_str(vnode_t *vp, const char *str, size_t len) argument
3255 vn_renamepath(vnode_t *pvp, vnode_t *vp, const char *name, size_t len) argument
3322 vn_vmpss_usepageio(vnode_t *vp) argument
3351 vnode_t *vp = *vpp; local
3414 fop_close( vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr, caller_context_t *ct) argument
3446 fop_read( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
3465 fop_write( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
3484 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument
3503 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
3520 fop_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
3553 fop_setattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
3586 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
3837 fop_readdir( vnode_t *vp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument
3903 fop_readlink( vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument
3919 fop_fsync( vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument
3935 fop_inactive( vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
3949 fop_fid( vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument
3962 fop_rwlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
3975 fop_rwunlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
3985 fop_seek( vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument
4012 fop_frlock( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, struct flk_callback *flk_cbp, cred_t *cr, caller_context_t *ct) argument
4033 fop_space( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr, caller_context_t *ct) argument
4052 fop_realvp( vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
4065 fop_getpage( vnode_t *vp, offset_t off, size_t len, uint_t *protp, page_t **plarr, size_t plsz, struct seg *seg, caddr_t addr, enum seg_rw rw, cred_t *cr, caller_context_t *ct) argument
4089 fop_putpage( vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr, caller_context_t *ct) argument
4107 fop_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
4130 fop_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
4180 fop_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
4236 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
4252 fop_dump( vnode_t *vp, caddr_t addr, offset_t lbdn, offset_t dblks, caller_context_t *ct) argument
4271 fop_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument
4288 fop_pageio( vnode_t *vp, struct page *pp, u_offset_t io_off, size_t io_len, int flags, cred_t *cr, caller_context_t *ct) argument
4307 fop_dumpctl( vnode_t *vp, int action, offset_t *blkp, caller_context_t *ct) argument
4320 fop_dispose( vnode_t *vp, page_t *pp, int flag, int dn, cred_t *cr, caller_context_t *ct) argument
4337 fop_setsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
4362 fop_getsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
4388 fop_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument
4406 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument
4417 fop_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
4430 fop_retzcbuf(vnode_t *vp, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
4570 vsd_get(vnode_t *vp, uint_t key) argument
4589 vsd_set(vnode_t *vp, uint_t key, void *value) argument
4644 vsd_free(vnode_t *vp) argument
4737 vn_is_reparse(vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
[all...]
H A Dlookup.c88 vnode_t *startvp, /* start path search from vp */
135 * Lookup the user file name from a given vp, using a specific credential.
144 vnode_t *startvp, /* start search from this vp */
147 vnode_t *vp; /* current directory vp */ local
161 vp = rootvp;
163 vp = (startvp == NULL) ? PTOU(p)->u_cdir : startvp;
165 VN_HOLD(vp);
179 compvpp, rootvp, vp, cr));
205 * vp i
211 lookuppnvp( struct pathname *pnp, struct pathname *rpnp, int flags, vnode_t **dirvpp, vnode_t **compvpp, vnode_t *rootvp, vnode_t *vp, cred_t *cr) argument
732 vn_under(vnode_t *vp) argument
929 vnode_t *vp; local
986 vnode_clear_vpath(vnode_t *vp, char *vpath_old) argument
1002 vnode_valid_pn(vnode_t *vp, vnode_t *vrootp, pathname_t *pn, pathname_t *rpn, int flags, cred_t *cr) argument
1090 dirtopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, int flags, cred_t *cr) argument
1334 vnodetopath_common(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr, int flags) argument
1433 vnodetopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr) argument
1442 vnode_t *vp; local
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Dtran.c193 setfval(CELL *vp, awkfloat f) argument
195 dprintf("setfval: %o %g\n", vp, f, NULL);
197 if (vp->tval & ARR)
198 error(FATAL, "illegal reference to array %s", vp->nval);
199 if ((vp->tval & (NUM | STR)) == 0)
200 error(FATAL, "funny variable %o: %ws %ws %g %o", vp, vp->nval,
201 vp->sval, vp->fval, vp
229 setsval(CELL *vp, wchar_t *s) argument
257 getfval(CELL *vp) argument
289 getsval(CELL *vp) argument
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Ddegenerate-ptr.c33 void *vp; local
39 vp = array;
40 vp = matrix;
42 vp = fun;
43 vp = &fun;
51 extern void *vp;
60 vp = array;
61 vp = matrix;
63 vp = fun;
64 vp
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Denv.c90 register Evar_t *vp; local
103 for(vp=(Evar_t*)dtfirst(ep->dt);vp; vp=(Evar_t*)dtnext(ep->dt,vp))
105 vp->index = (n<<ENV_BITS) | (vp->index&((1<<ENV_BITS)-1));
106 ep->env[n++] = vp->un.ptr;
122 Evar_t *vp = (Evar_t*)dtmatch(ep->dt,(void*)str); local
123 if(vp
168 Evar_t *vp = (Evar_t*)dtmatch(ep->dt,(void*)str); local
193 Evar_t *vp; local
232 Evar_t *vp, *vpnext,*top; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dvi.c48 # define echoctl (vp->ed->e_echoctl)
140 #define editb (*vp->ed)
143 #define putchar(c) ed_putchar(vp->ed,c)
222 register Vi_t *vp = ed->e_vi; local
240 if(!vp)
242 ed->e_vi = vp = newof(0,Vi_t,1,0);
243 vp->lastline = (genchar*)malloc(MAXLINE*CHARSIZE);
244 vp->direction = -1;
245 vp->ed = ed;
251 ed_setup(vp
639 append(Vi_t *vp,int c, int mode) argument
664 backword(Vi_t *vp,int nwords, register int cmd) argument
708 cntlmode(Vi_t *vp) argument
1038 cursor(Vi_t *vp,register int x) argument
1058 cdelete(Vi_t *vp,register int nchars, int mode) argument
1105 del_line(register Vi_t *vp, int mode) argument
1145 delmotion(Vi_t *vp,int motion, int mode) argument
1200 endword(Vi_t *vp, int nwords, register int cmd) argument
1237 forward(Vi_t *vp,register int nwords, int cmd) argument
1277 getcount(register Vi_t *vp,register int c) argument
1318 getline(register Vi_t* vp,register int mode) argument
1540 mvcursor(register Vi_t* vp,register int motion) argument
1759 pr_string(register Vi_t *vp, register const char *sp) argument
1776 putstring(register Vi_t *vp,register int col, register int nchars) argument
1812 refresh(register Vi_t* vp, int mode) argument
1986 replace(register Vi_t *vp, register int c, register int increment) argument
2042 restore_v(register Vi_t *vp) argument
2069 save_last(register Vi_t* vp) argument
2090 save_v(register Vi_t *vp) argument
2115 curline_search(Vi_t *vp, const char *string) argument
2133 search(register Vi_t* vp,register int mode) argument
2217 sync_cursor(register Vi_t *vp) argument
2304 textmod(register Vi_t *vp,register int c, int mode) argument
2668 getrchar(register Vi_t *vp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c52 vnode_t *vp = *vpp; local
58 lo_dprint(4, "lo_open vp %p cnt=%d realvp %p cnt=%d\n",
59 vp, vp->v_count, realvp(vp), realvp(vp)->v_count);
62 oldvp = vp;
63 vp = rvp = realvp(vp);
65 * Need to hold new reference to vp sinc
103 lo_close( vnode_t *vp, int flag, int count, offset_t offset, struct cred *cr, caller_context_t *ct) argument
119 lo_read(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, caller_context_t *ct) argument
130 lo_write(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, caller_context_t *ct) argument
141 lo_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, struct cred *cr, int *rvalp, caller_context_t *ct) argument
158 lo_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
165 lo_getattr( vnode_t *vp, struct vattr *vap, int flags, struct cred *cr, caller_context_t *ct) argument
184 lo_setattr( vnode_t *vp, struct vattr *vap, int flags, struct cred *cr, caller_context_t *ct) argument
199 lo_access( vnode_t *vp, int mode, int flags, struct cred *cr, caller_context_t *ct) argument
218 lo_fsync(vnode_t *vp, int syncflag, struct cred *cr, caller_context_t *ct) argument
229 lo_inactive(vnode_t *vp, struct cred *cr, caller_context_t *ct) argument
239 lo_fid(vnode_t *vp, struct fid *fidp, caller_context_t *ct) argument
303 vnode_t *vp = NULL, *tvp = NULL, *nonlovp; local
676 vnode_t *vp = NULL; local
760 lo_link( vnode_t *tdvp, vnode_t *vp, char *tnm, struct cred *cr, caller_context_t *ct, int flags) argument
924 lo_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
976 lo_readlink( vnode_t *vp, struct uio *uiop, struct cred *cr, caller_context_t *ct) argument
987 lo_readdir( vnode_t *vp, struct uio *uiop, struct cred *cr, int *eofp, caller_context_t *ct, int flags) argument
1003 lo_rwlock(vnode_t *vp, int write_lock, caller_context_t *ct) argument
1010 lo_rwunlock(vnode_t *vp, int write_lock, caller_context_t *ct) argument
1017 lo_seek(vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument
1034 lo_frlock( vnode_t *vp, int cmd, struct flock64 *bfp, int flag, offset_t offset, struct flk_callback *flk_cbp, cred_t *cr, caller_context_t *ct) argument
1049 lo_space( vnode_t *vp, int cmd, struct flock64 *bfp, int flag, offset_t offset, struct cred *cr, caller_context_t *ct) argument
1063 lo_getpage( vnode_t *vp, offset_t off, size_t len, uint_t *prot, struct page *parr[], size_t psz, struct seg *seg, caddr_t addr, enum seg_rw rw, struct cred *cr, caller_context_t *ct) argument
1082 lo_putpage( vnode_t *vp, offset_t off, size_t len, int flags, struct cred *cr, caller_context_t *ct) argument
1095 lo_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument
1112 lo_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument
1130 lo_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument
1148 lo_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
1161 lo_dump(vnode_t *vp, caddr_t addr, offset_t bn, offset_t count, caller_context_t *ct) argument
1169 lo_pathconf( vnode_t *vp, int cmd, ulong_t *valp, struct cred *cr, caller_context_t *ct) argument
1181 lo_pageio( vnode_t *vp, struct page *pp, u_offset_t io_off, size_t io_len, int flags, cred_t *cr, caller_context_t *ct) argument
1195 lo_dispose( vnode_t *vp, page_t *pp, int fl, int dn, cred_t *cr, caller_context_t *ct) argument
1209 lo_setsecattr( vnode_t *vp, vsecattr_t *secattr, int flags, struct cred *cr, caller_context_t *ct) argument
1223 lo_getsecattr( vnode_t *vp, vsecattr_t *secattr, int flags, struct cred *cr, caller_context_t *ct) argument
1235 lo_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_nbmlock.c49 nbl_start_crit(vnode_t *vp, krw_t mode) argument
51 rw_enter(&vp->v_nbllock, mode);
59 nbl_end_crit(vnode_t *vp) argument
61 rw_exit(&vp->v_nbllock);
70 nbl_in_crit(vnode_t *vp) argument
72 return (RW_LOCK_HELD(&vp->v_nbllock));
80 nbl_need_check(vnode_t *vp) argument
87 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND));
92 nbl_conflict(vnode_t *vp, argument
112 nbl_svmand(vnode_t *vp, cred_t *cr, int *svp) argument
[all...]
H A Dfake_vnode.c81 #define ISROFILE(vp) \
82 ((vp)->v_type != VCHR && (vp)->v_type != VBLK && \
83 (vp)->v_type != VFIFO && vn_is_readonly(vp))
85 #define VOPSTATS_UPDATE(vp, counter) ((void)vp)
86 #define VOPSTATS_UPDATE_IO(vp, counter, bytecounter, bytesval) \
87 ((void)vp, (void)bytesval)
88 #define VOPXID_MAP_CR(vp, c
314 vn_rdwr( enum uio_rw rw, struct vnode *vp, caddr_t base, ssize_t len, offset_t offset, enum uio_seg seg, int ioflag, rlim64_t ulimit, cred_t *cr, ssize_t *residp) argument
396 vn_hold(struct vnode *vp) argument
408 vn_rele(vnode_t *vp) argument
468 vn_vfswlock_wait(vnode_t *vp) argument
479 vn_vfsrlock_wait(vnode_t *vp) argument
494 vn_vfswlock(vnode_t *vp) argument
507 vn_vfsrlock(vnode_t *vp) argument
520 vn_vfsunlock(vnode_t *vp) argument
527 vn_vfswlock_held(vnode_t *vp) argument
583 struct vnode *vp = buf; local
599 struct vnode *vp; local
626 vn_recycle(vnode_t *vp) argument
653 vn_reinit(vnode_t *vp) argument
682 vnode_t *vp; local
696 vn_free(vnode_t *vp) argument
723 vn_reclaim(vnode_t *vp) argument
735 vn_idle(vnode_t *vp) argument
746 vn_exists(vnode_t *vp) argument
758 vn_invalid(vnode_t *vp) argument
771 vn_is_readonly(vnode_t *vp) argument
777 vn_has_flocks(vnode_t *vp) argument
783 vn_has_mandatory_locks(vnode_t *vp, int mode) argument
789 vn_has_cached_data(vnode_t *vp) argument
800 vn_ismntpt(vnode_t *vp) argument
807 vn_mountedvfs(vnode_t *vp) argument
817 vn_in_dnlc(vnode_t *vp) argument
833 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument
869 vn_is_opened( vnode_t *vp, v_mode_t mode) argument
903 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument
914 vn_setops(vnode_t *vp, vnodeops_t *vnodeops) argument
927 vn_getops(vnode_t *vp) argument
940 vn_matchops(vnode_t *vp, vnodeops_t *vnodeops) argument
953 vn_updatepath(vnode_t *pvp, vnode_t *vp, const char *name) argument
973 vnode_t *vp = *vpp; local
1028 fop_close( vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr, caller_context_t *ct) argument
1060 fop_read( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
1079 fop_write( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
1098 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument
1117 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
1134 fop_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
1167 fop_setattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
1200 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
1463 fop_readdir( vnode_t *vp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument
1529 fop_readlink( vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument
1545 fop_fsync( vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument
1561 fop_inactive( vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
1575 fop_fid( vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument
1588 fop_rwlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
1601 fop_rwunlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
1611 fop_seek( vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument
1638 fop_frlock( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, struct flk_callback *flk_cbp, cred_t *cr, caller_context_t *ct) argument
1659 fop_space( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr, caller_context_t *ct) argument
1678 fop_realvp( vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
1691 fop_getpage( vnode_t *vp, offset_t off, size_t len, uint_t *protp, page_t **plarr, size_t plsz, struct seg *seg, caddr_t addr, enum seg_rw rw, cred_t *cr, caller_context_t *ct) argument
1715 fop_putpage( vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr, caller_context_t *ct) argument
1733 fop_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1756 fop_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1780 fop_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1805 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
1821 fop_dump( vnode_t *vp, caddr_t addr, offset_t lbdn, offset_t dblks, caller_context_t *ct) argument
1840 fop_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument
1857 fop_pageio( vnode_t *vp, struct page *pp, u_offset_t io_off, size_t io_len, int flags, cred_t *cr, caller_context_t *ct) argument
1876 fop_dumpctl( vnode_t *vp, int action, offset_t *blkp, caller_context_t *ct) argument
1889 fop_dispose( vnode_t *vp, page_t *pp, int flag, int dn, cred_t *cr, caller_context_t *ct) argument
1906 fop_setsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
1931 fop_getsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
1957 fop_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument
1975 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument
2004 vn_is_reparse(vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c57 struct vnode *vp; local
59 vp = buf;
60 bzero(vp, sizeof (*vp));
62 mutex_init(&vp->v_lock, NULL, MUTEX_DEFAULT, NULL);
63 vp->v_fd = -1;
72 struct vnode *vp; local
74 vp = buf;
76 mutex_destroy(&vp->v_lock);
84 vn_recycle(vnode_t *vp) argument
110 vn_reinit(vnode_t *vp) argument
125 vnode_t *vp; local
137 vn_free(vnode_t *vp) argument
181 vnode_t *vp; local
251 vncache_renamed(vnode_t *vp, vnode_t *to_dvp, char *to_name) argument
280 vncache_inactive(vnode_t *vp) argument
[all...]
H A Dfake_nblk.c49 nbl_start_crit(vnode_t *vp, krw_t mode) argument
51 rw_enter(&vp->v_nbllock, mode);
59 nbl_end_crit(vnode_t *vp) argument
61 rw_exit(&vp->v_nbllock);
70 nbl_in_crit(vnode_t *vp) argument
72 return (RW_LOCK_HELD(&vp->v_nbllock));
81 nbl_need_check(vnode_t *vp) argument
88 /* (vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)) */
107 nbl_conflict(vnode_t *vp, argument
140 nbl_svmand(vnode_t *vp, cred_t *cr, int *svp) argument
159 nbl_share_conflict(vnode_t *vp, nbl_op_t op, caller_context_t *ct) argument
169 nbl_lock_conflict(vnode_t *vp, nbl_op_t op, u_offset_t offset, ssize_t length, int svmand, caller_context_t *ct) argument
[all...]
H A Dfake_vop.c82 vnode_t *vp,
96 if ((vp->v_type == VREG) && (count == 1)) {
98 ASSERT(vp->v_rdcnt > 0);
99 atomic_add_32(&(vp->v_rdcnt), -1);
102 ASSERT(vp->v_wrcnt > 0);
103 atomic_add_32(&(vp->v_wrcnt), -1);
112 vnode_t *vp,
129 (void) fstat(vp->v_fd, &st);
148 n = pread(vp->v_fd, iov->iov_base, cnt, uio->uio_loffset);
167 vnode_t *vp,
81 fop_close( vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr, caller_context_t *ct) argument
111 fop_read( vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument
166 fop_write( vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument
212 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument
248 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
261 fop_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
283 fop_setattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
329 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
349 vnode_t *vp; local
424 vnode_t *vp; local
489 vnode_t *vp; local
612 vnode_t *vp; local
691 fop_readdir( vnode_t *vp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument
753 fop_readlink( vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument
764 fop_fsync( vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument
779 fop_inactive( vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
804 fake_inactive_xattrdir(vnode_t *vp) argument
825 fop_fid( vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument
835 fop_rwlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
846 fop_rwunlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
856 fop_seek( vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument
878 fop_frlock( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, struct flk_callback *flk_cbp, cred_t *cr, caller_context_t *ct) argument
944 fop_space( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr, caller_context_t *ct) argument
971 fop_realvp( vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
981 fop_getpage( vnode_t *vp, offset_t off, size_t len, uint_t *protp, struct page **plarr, size_t plsz, struct seg *seg, caddr_t addr, enum seg_rw rw, cred_t *cr, caller_context_t *ct) argument
999 fop_putpage( vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr, caller_context_t *ct) argument
1012 fop_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1029 fop_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1046 fop_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
1063 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
1089 fop_dump( vnode_t *vp, caddr_t addr, offset_t lbdn, offset_t dblks, caller_context_t *ct) argument
1104 fop_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument
1186 fop_pageio( vnode_t *vp, struct page *pp, u_offset_t io_off, size_t io_len, int flags, cred_t *cr, caller_context_t *ct) argument
1200 fop_dumpctl( vnode_t *vp, int action, offset_t *blkp, caller_context_t *ct) argument
1211 fop_dispose( vnode_t *vp, struct page *pp, int flag, int dn, cred_t *cr, caller_context_t *ct) argument
1223 fop_setsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
1238 fop_getsecattr( vnode_t *vp, vsecattr_t *vsecattr, int flag, cred_t *cr, caller_context_t *ct) argument
1284 fop_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument
1313 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument
1321 fop_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
1329 fop_retzcbuf(vnode_t *vp, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
1428 vn_hold(vnode_t *vp) argument
1436 vn_rele(vnode_t *vp) argument
1450 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument
1484 vn_is_opened( vnode_t *vp, v_mode_t mode) argument
1519 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c106 setfree(Cell *vp) argument
108 if (&vp->sval == FS || &vp->sval == RS ||
109 &vp->sval == OFS || &vp->sval == ORS ||
110 &vp->sval == OFMT || &vp->sval == CONVFMT ||
111 &vp->sval == FILENAME || &vp->sval == SUBSEP)
112 vp
362 setfval(Cell *vp, Awkfloat f) argument
400 funnyvar(Cell *vp, const char *rw) argument
411 setsval(Cell *vp, const char *s) argument
457 getfval(Cell *vp) argument
476 get_str_val(Cell *vp, char **fmt) argument
568 getsval(Cell *vp) argument
574 getpssval(Cell *vp) argument
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exp.c100 exp(tchar ***vp) argument
106 return (exp0(vp, 0));
110 exp0(tchar ***vp, bool ignore) argument
112 int p1 = exp1(vp, ignore);
118 etraci("exp0 p1", p1, vp);
120 if (**vp && eq(**vp, S_BARBAR /* "||" */)) {
123 (*vp)++;
124 p2 = exp0(vp, (ignore&IGNORE) || p1);
126 etraci("exp0 p2", p2, vp);
134 exp1(tchar ***vp, bool ignore) argument
158 exp2(tchar ***vp, bool ignore) argument
182 exp2a(tchar ***vp, bool ignore) argument
206 exp2b(tchar ***vp, bool ignore) argument
230 exp2c(tchar ***vp, bool ignore) argument
277 exp3(tchar ***vp, bool ignore) argument
322 exp3a(tchar ***vp, bool ignore) argument
353 exp4(tchar ***vp, bool ignore) argument
389 exp5(tchar ***vp, bool ignore) argument
435 exp6(tchar ***vp, bool ignore) argument
685 etraci(tchar *str, int i, tchar ***vp) argument
694 etracc(tchar *str, tchar *cp, tchar ***vp) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dvars.c61 register struct var *vp; local
70 vp = lookup(name);
71 if (vp == NOVAR) {
72 if ((vp = (struct var *)
73 calloc(sizeof (*vp), 1)) == NULL)
75 vp->v_name = vcopy(name);
76 vp->v_link = variables[h];
77 variables[h] = vp;
79 vfree(vp->v_value);
80 vp
95 register struct var *vp, *vp2; local
168 register struct var *vp; local
187 register struct var *vp; local
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdfun.c52 _stdfun(Sfio_t* f, Funvec_t* vp) argument
63 if (!vp->vec[1])
70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name)))
74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dlofs_node.h66 #define vtol(vp) ((struct lnode *)((vp)->v_data))
67 #define realvp(vp) (vtol(vp)->lo_vp)
H A Dpxfs_ki.h48 extern int clpxfs_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
49 extern int clpxfs_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_fio.c59 vnode_t *vp; local
72 vp = kmem_zalloc(sizeof (*vp), KM_SLEEP);
73 vp->v_fd = fd;
74 fp->f_vnode = vp;
87 vnode_t *vp; local
102 vp = fp->f_vnode;
103 kmem_free(vp, sizeof (*vp));
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c83 vnode_t *vp; local
86 vp = nfs_fhtovp(&args->fh, exi);
87 if (vp == NULL) {
96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL);
114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL);
118 VN_RELE(vp);
124 error = rfs4_delegated_getattr(vp, &va, 0, cr);
126 VN_RELE(vp);
197 vnode_t *vp; local
200 vp
252 vnode_t *vp; local
291 vnode_t *vp; local
388 vnode_t *vp, *avp; local
452 vnode_t *vp; local
563 vnode_t *vp; local
628 vnode_t *vp, *avp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c44 static int door_close(struct vnode *vp, int flag, int count,
46 static int door_getattr(struct vnode *vp, struct vattr *vap,
48 static void door_inactive(struct vnode *vp, struct cred *cr,
50 static int door_access(struct vnode *vp, int mode, int flags,
52 static int door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct);
104 door_close(struct vnode *vp, int flag, int count, offset_t offset, argument
107 door_node_t *dp = VTOD(vp);
126 if (count == 2 && vp->v_count == 1 &&
143 door_getattr(struct vnode *vp, struct vattr *vap, int flags, struct cred *cr, argument
150 vap->va_type = vp
171 door_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) argument
209 vnode_t *vp = DTOV(dp); local
220 vnode_t *vp = DTOV(dp); local
238 door_access(struct vnode *vp, int mode, int flags, struct cred *cr, caller_context_t *ct) argument
246 door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
[all...]
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmgetputm.c70 va_list vp; local
75 va_start(vp, type);
77 va_start(vp);
99 ret = _getmessage(MBG, type, vp);
101 va_end(vp);
115 va_list vp; local
119 va_start(vp, type);
121 va_start(vp);
123 needsize = _putmessage(NULL, type, vp);
124 va_end(vp);
[all...]

Completed in 347 milliseconds

1234567891011>>