Searched refs:vp (Results 1 - 25 of 535) 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.c19 __readv(fd, vp, vpcount)
21 const struct iovec *vp;
27 int bytes = read(fd, vp->iov_base, vp->iov_len);
32 if (bytes != vp->iov_len)
34 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.c72 #define ISROFILE(vp) \
73 ((vp)->v_type != VCHR && (vp)->v_type != VBLK && \
74 (vp)->v_type != VFIFO && vn_is_readonly(vp))
152 * vp - Pointer to the vnode
160 #define VOPSTATS_UPDATE(vp, counter) { \
161 vfs_t *vfsp = (vp)->v_vfsp; \
163 (vfsp->vfs_flag & VFS_STATS) && (vp)->v_type != VBAD) { \
168 __dtrace_probe___fsinfo_##counter(vp,
742 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
831 vn_rele(vnode_t *vp) argument
851 vn_rele_dnlc(vnode_t *vp) argument
874 vn_rele_stream(vnode_t *vp) argument
889 vn_rele_inactive(vnode_t *vp) argument
905 vn_rele_async(vnode_t *vp, taskq_t *taskq) argument
952 struct vnode *vp; local
1241 vn_open_upgrade( vnode_t *vp, int filemode) argument
1255 vn_open_downgrade( vnode_t *vp, int filemode) argument
1305 struct vnode *vp = NULL; local
1793 struct vnode *vp; /* entry vnode */ local
2123 vn_vfswlock_wait(vnode_t *vp) argument
2140 vn_vfsrlock_wait(vnode_t *vp) argument
2163 vn_vfswlock(vnode_t *vp) argument
2186 vn_vfsrlock(vnode_t *vp) argument
2209 vn_vfsunlock(vnode_t *vp) argument
2227 vn_vfswlock_held(vnode_t *vp) argument
2286 struct vnode *vp; local
2307 struct vnode *vp; local
2339 vn_recycle(vnode_t *vp) argument
2387 vn_reinit(vnode_t *vp) argument
2412 vnode_t *vp; local
2426 vn_free(vnode_t *vp) argument
2464 vn_reclaim(vnode_t *vp) argument
2476 vn_idle(vnode_t *vp) argument
2487 vn_exists(vnode_t *vp) argument
2499 vn_invalid(vnode_t *vp) argument
2513 vnevent_support(vnode_t *vp, caller_context_t *ct) argument
2522 vnevent_rename_src(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2531 vnevent_rename_dest(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2541 vnevent_rename_dest_dir(vnode_t *vp, caller_context_t *ct) argument
2550 vnevent_remove(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2559 vnevent_rmdir(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2568 vnevent_pre_rename_src(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2578 vnevent_pre_rename_dest(vnode_t *vp, vnode_t *dvp, char *name, caller_context_t *ct) argument
2588 vnevent_pre_rename_dest_dir(vnode_t *vp, vnode_t *nvp, char *name, caller_context_t *ct) argument
2598 vnevent_create(vnode_t *vp, caller_context_t *ct) argument
2607 vnevent_link(vnode_t *vp, caller_context_t *ct) argument
2616 vnevent_mountedover(vnode_t *vp, caller_context_t *ct) argument
2625 vnevent_truncate(vnode_t *vp, caller_context_t *ct) argument
2638 vn_is_readonly(vnode_t *vp) argument
2644 vn_has_flocks(vnode_t *vp) argument
2650 vn_has_mandatory_locks(vnode_t *vp, int mode) argument
2656 vn_has_cached_data(vnode_t *vp) argument
2666 vn_can_change_zones(vnode_t *vp) argument
2698 vn_ismntpt(vnode_t *vp) argument
2705 vn_mountedvfs(vnode_t *vp) argument
2714 vn_in_dnlc(vnode_t *vp) argument
2729 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument
2765 vn_is_opened( vnode_t *vp, v_mode_t mode) argument
2799 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument
2868 vn_setops(vnode_t *vp, vnodeops_t *vnodeops) argument
2895 vn_getops(vnode_t *vp) argument
2915 vn_matchops(vnode_t *vp, vnodeops_t *vnodeops) argument
2929 vn_matchopval(vnode_t *vp, char *vopname, fs_generic_func_p funcp) argument
2971 vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp, const char *path, size_t plen) argument
3048 vn_setpath_str(struct vnode *vp, const char *str, size_t len) argument
3071 vn_renamepath(vnode_t *dvp, vnode_t *vp, const char *nm, size_t len) argument
3141 vn_vmpss_usepageio(vnode_t *vp) argument
3170 vnode_t *vp = *vpp; local
3233 fop_close( vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr, caller_context_t *ct) argument
3265 fop_read( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
3284 fop_write( vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument
3303 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument
3322 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
3339 fop_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
3372 fop_setattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
3405 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
3663 fop_readdir( vnode_t *vp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument
3729 fop_readlink( vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument
3745 fop_fsync( vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument
3761 fop_inactive( vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
3775 fop_fid( vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument
3788 fop_rwlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
3801 fop_rwunlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument
3811 fop_seek( vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument
3838 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
3859 fop_space( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr, caller_context_t *ct) argument
3878 fop_realvp( vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
3891 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
3915 fop_putpage( vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr, caller_context_t *ct) argument
3933 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
3956 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
4006 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
4062 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
4078 fop_dump( vnode_t *vp, caddr_t addr, offset_t lbdn, offset_t dblks, caller_context_t *ct) argument
4097 fop_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument
4114 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
4133 fop_dumpctl( vnode_t *vp, int action, offset_t *blkp, caller_context_t *ct) argument
4146 fop_dispose( vnode_t *vp, page_t *pp, int flag, int dn, cred_t *cr, caller_context_t *ct) argument
4163 fop_setsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
4188 fop_getsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument
4214 fop_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument
4232 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument
4243 fop_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
4256 fop_retzcbuf(vnode_t *vp, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument
4396 vsd_get(vnode_t *vp, uint_t key) argument
4415 vsd_set(vnode_t *vp, uint_t key, void *value) argument
4470 vsd_free(vnode_t *vp) argument
4563 vn_is_reparse(vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
[all...]
H A Dlookup.c87 vnode_t *startvp, /* start path search from vp */
134 * Lookup the user file name from a given vp, using a specific credential.
143 vnode_t *startvp, /* start search from this vp */
146 vnode_t *vp; /* current directory vp */ local
160 vp = rootvp;
162 vp = (startvp == NULL) ? PTOU(p)->u_cdir : startvp;
164 VN_HOLD(vp);
178 compvpp, rootvp, vp, cr));
204 * vp i
210 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
731 vn_under(vnode_t *vp) argument
927 vnode_t *vp; local
985 dirtopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, int flags, cred_t *cr) argument
1268 vnodetopath_common(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr, int flags) argument
1458 vnodetopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr) argument
1467 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/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...]
H A Dstreval.c90 #define getchr(vp) (*(vp)->nextchr++)
91 #define peekchr(vp) (*(vp)->nextchr)
92 #define ungetchr(vp) ((vp)->nextchr--)
111 #define ERROR(vp,msg) return(seterror((vp),msg))
116 static int _seterror(struct vars *vp,const char *msg) argument
118 if(!vp
427 gettok(register struct vars *vp) argument
495 expr(register struct vars *vp,register int precedence) argument
[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
1034 cursor(Vi_t *vp,register int x) argument
1054 cdelete(Vi_t *vp,register int nchars, int mode) argument
1101 del_line(register Vi_t *vp, int mode) argument
1141 delmotion(Vi_t *vp,int motion, int mode) argument
1196 endword(Vi_t *vp, int nwords, register int cmd) argument
1233 forward(Vi_t *vp,register int nwords, int cmd) argument
1273 getcount(register Vi_t *vp,register int c) argument
1314 getline(register Vi_t* vp,register int mode) argument
1535 mvcursor(register Vi_t* vp,register int motion) argument
1753 pr_string(register Vi_t *vp, register const char *sp) argument
1770 putstring(register Vi_t *vp,register int col, register int nchars) argument
1806 refresh(register Vi_t* vp, int mode) argument
1980 replace(register Vi_t *vp, register int c, register int increment) argument
2036 restore_v(register Vi_t *vp) argument
2063 save_last(register Vi_t* vp) argument
2084 save_v(register Vi_t *vp) argument
2109 curline_search(Vi_t *vp, const char *string) argument
2127 search(register Vi_t* vp,register int mode) argument
2211 sync_cursor(register Vi_t *vp) argument
2298 textmod(register Vi_t *vp,register int c, int mode) argument
2657 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/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...]
/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/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.c43 static int door_close(struct vnode *vp, int flag, int count,
45 static int door_getattr(struct vnode *vp, struct vattr *vap,
47 static void door_inactive(struct vnode *vp, struct cred *cr,
49 static int door_access(struct vnode *vp, int mode, int flags,
51 static int door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct);
104 struct vnode *vp,
112 door_node_t *dp = VTOD(vp);
131 if (count == 2 && vp->v_count == 1 &&
148 door_getattr(struct vnode *vp, struct vattr *vap, int flags, struct cred *cr, argument
155 vap->va_type = vp
103 door_close( struct vnode *vp, int flag, int count, offset_t offset, struct cred *cr, caller_context_t *ct ) argument
176 door_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) argument
214 vnode_t *vp = DTOV(dp); local
225 vnode_t *vp = DTOV(dp); local
243 door_access(struct vnode *vp, int mode, int flags, struct cred *cr, caller_context_t *ct) argument
251 door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dklmops.c80 lm_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, argument
84 return (nlm_frlock(vp, cmd, flk, flags, off,
93 lm4_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, argument
98 err = nlm_frlock(vp, cmd, flk, flags, off,
108 lm_shrlock(struct vnode *vp, int cmd, argument
111 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM_VERSX));
119 lm4_shrlock(struct vnode *vp, int cmd, argument
122 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM4_VERS));
129 lm_register_lock_locally(struct vnode *vp, struct lm_sysid *ls, argument
132 nlm_register_lock_locally(vp, (struc
159 lm_nlm_reclaim(struct vnode *vp, struct flock64 *flkp) argument
165 lm_nlm4_reclaim(struct vnode *vp, struct flock64 *flkp) 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...]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_sample.c68 version_list *vp; local
74 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) {
75 write_sample_client(def->def_name, vp);
82 write_sample_client(char *program_name, version_list *vp) argument
89 pvname(program_name, vp->vers_num);
97 for (proc = vp->procs; proc != NULL; proc = proc->next) {
124 pvname(proc->proc_name, vp
213 version_list *vp; local
302 version_list *vp; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c173 int depth, struct Save *last, struct Var *vp)
192 if ((vp->curflags & FTW_CHDIR) && last)
195 comp = vp->tmppath;
197 if (vp->savedstatf == NULL)
198 vp->savedstatf = vp->statf;
200 if ((vp->walklevel++ == 0) && (vp->curflags & FTW_HOPTION)) {
201 if (((vp->curflags & FTW_CHDIR) == 0) && (depth >= 2)) {
202 vp
171 walk(char *component, int (*fn)(const char *, const struct stat *, int, struct FTW *), int depth, struct Save *last, struct Var *vp) argument
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c325 setfval(Cell *vp, Awkfloat f) argument
329 if ((vp->tval & (NUM | STR)) == 0)
330 funnyvar(vp, "assign to");
331 if (vp->tval & FLD) {
333 i = fldidx(vp);
337 } else if (vp->tval & REC) {
341 vp->tval &= ~STR; /* mark string invalid */
342 vp->tval |= NUM; /* mark number ok */
343 dprintf(("setfval %p: %s = %g, t=%p\n", (void *)vp,
344 vp
350 funnyvar(Cell *vp, char *rw) argument
361 setsval(Cell *vp, uchar *s) argument
391 r_getfval(Cell *vp) argument
410 r_getsval(Cell *vp) argument
[all...]
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllnext.c65 register char* vp; local
79 if (getenv("DLL_DEBUG") && (vp = (char*)_rld_new_interface(_RLD_FIRST_PATHNAME)))
83 if (strcmp(vp, "MAIN") && (lp = dllopen(vp, flags)))
88 } while (vp = (char*)_rld_new_interface(_RLD_NEXT_PATHNAME));
91 if (vp = (char*)_rld_new_interface(_RLD_FIRST_PATHNAME))
95 if (lp = dllopen(strcmp(vp, "MAIN") ? vp : (char*)0, flags))
100 s = vp;
139 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: next %s\n", vp));
[all...]

Completed in 117 milliseconds

1234567891011>>