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

123

/osnet-11/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++;
H A Dwritev.c65 __writev(fd, vp, vpcount)
67 const struct iovec *vp;
73 int written = write(fd, vp->iov_base, vp->iov_len);
78 if (written != vp->iov_len)
80 vp++;
/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/
H A Dgeneral.c52 version(int *vp) argument
54 *vp = DSVC_PUBLIC_VERSION;
/osnet-11/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
643 append(Vi_t *vp,int c, int mode) argument
668 backword(Vi_t *vp,int nwords, register int cmd) argument
712 cntlmode(Vi_t *vp) argument
1084 cursor(Vi_t *vp,register int x) argument
1104 cdelete(Vi_t *vp,register int nchars, int mode) argument
1151 del_line(register Vi_t *vp, int mode) argument
1191 delmotion(Vi_t *vp,int motion, int mode) argument
1246 endword(Vi_t *vp, int nwords, register int cmd) argument
1283 forward(Vi_t *vp,register int nwords, int cmd) argument
1323 getcount(register Vi_t *vp,register int c) argument
1364 getline(register Vi_t* vp,register int mode) argument
1591 mvcursor(register Vi_t* vp,register int motion) argument
1813 pr_string(register Vi_t *vp, register const char *sp) argument
1830 putstring(register Vi_t *vp,register int col, register int nchars) argument
1866 refresh(register Vi_t* vp, int mode) argument
2065 replace(register Vi_t *vp, register int c, register int increment) argument
2121 restore_v(register Vi_t *vp) argument
2148 save_last(register Vi_t* vp) argument
2169 save_v(register Vi_t *vp) argument
2194 curline_search(Vi_t *vp, const char *string) argument
2212 search(register Vi_t* vp,register int mode) argument
2296 sync_cursor(register Vi_t *vp) argument
2383 textmod(register Vi_t *vp,register int c, int mode) argument
2742 getrchar(register Vi_t *vp) argument
[all...]
/osnet-11/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.c92 #define getchr(vp) (*(vp)->nextchr++)
93 #define peekchr(vp) (*(vp)->nextchr)
94 #define ungetchr(vp) ((vp)->nextchr--)
113 #define ERROR(vp,msg) return(seterror((vp),msg))
118 static int _seterror(struct vars *vp,const char *msg) argument
120 if(!vp
502 gettok(register struct vars *vp) argument
570 expr(register struct vars *vp,register int precedence) argument
[all...]
H A Dnvdisc.c231 static void chktfree(register Namval_t *np, register struct vardisc *vp) argument
234 for(n=0; n< sizeof(vp->disc)/sizeof(*vp->disc); n++)
236 if(vp->disc[n])
239 if(n>=sizeof(vp->disc)/sizeof(*vp->disc))
254 register struct vardisc *vp = (struct vardisc*)handle; local
255 register Namval_t *nq = vp->disc[type];
293 nq = vp->disc[type=UNASSIGN];
304 if(!vp
370 register struct vardisc *vp = (struct vardisc*)handle; local
448 register struct vardisc *vp = (struct vardisc*)np->nvfun; local
558 register Nambfun_t *vp = (Nambfun_t*)fp; local
608 register Nambfun_t *vp = (Nambfun_t*)fp; local
651 register Nambfun_t *vp; local
[all...]
/osnet-11/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)))
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnftw.c274 int a_depth, struct Save *a_last, struct Var *vp)
308 if ((vp->curflags & FTW_CHDIR) && last)
311 comp = vp->tmppath;
313 if (vp->savedstatf == NULL)
314 vp->savedstatf = vp->statf;
316 if ((vp->walklevel++ == 0) && (vp->curflags & FTW_HOPTION)) {
317 if (((vp->curflags & FTW_CHDIR) == 0) && (depth >= 2)) {
318 vp
272 walk(char *a_component, int (*fn)(const char *, const struct stat *, int, struct FTW *), int a_depth, struct Save *a_last, struct Var *vp) argument
[all...]
H A D_xftw.c144 int depth, struct Var *vp)
154 vp->level++;
163 if (nocdstat(path, &sb, vp, 0) < 0) {
166 if ((nocdstat(path, &sb, vp, AT_SYMLINK_NOFOLLOW) != -1) &&
189 dirp = nocdopendir(path, vp);
250 rc = fwalk(subpath, fn, depth-1, vp);
262 dirp = nocdopendir(path, vp);
281 nocdopendir(const char *path, struct Var *vp) argument
288 if (vp->odepth > 1 && fdd == NULL && errno == ENAMETOOLONG) {
330 nocdstat(const char *path, struct stat *statp, struct Var *vp, in argument
143 fwalk(const char *path, int (*fn)(const char *, const struct stat *, int), int depth, struct Var *vp) argument
[all...]
H A Dpriocntl.c52 static int pc_vaargs2parms(va_list valist, pc_vaparms_t *vp);
127 pc_vaargs2parms(va_list valist, pc_vaparms_t *vp) argument
129 pc_vaparm_t *vpp = &vp->pc_parms[0];
132 for (vp->pc_vaparmscnt = 0;
134 if (++vp->pc_vaparmscnt > PC_VAPARMCNT)
H A Dgetvfsent.c46 if ((vp->xx = (char *)strtok_r(ll, sepstr, tmp)) == NULL)\
48 if (strcmp(vp->xx, dash) == 0)\
49 vp->xx = NULL
51 if ((vp->xx = strtok(ll, sepstr)) == NULL)\
53 if (strcmp(vp->xx, dash) == 0)\
54 vp->xx = NULL
99 getvfsfile(FILE *fd, struct vfstab *vp, char *mountp) argument
105 return (getvfsany(fd, vp, &vv));
169 getvfsent(FILE *fd, struct vfstab *vp) argument
/osnet-11/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...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetsubopt.c42 getsubopt(register char** op, char* const* tp, char** vp)
75 *vp = v;
80 *vp = b;
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_vsscan.c50 m_vsscanf(buf, fmt, vp)
52 va_list vp;
71 return (mks_vfscanf(fp, fmt, vp));
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtrace.c57 va_list vp; local
73 va_start(vp, fmt);
74 (void) vfprintf(fp, fmt, vp);
75 va_end(vp);
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Dgeneral.c68 version(int *vp) argument
70 *vp = DSVC_PUBLIC_VERSION;
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Dgeneral.c73 version(int *vp) argument
75 *vp = DSVC_PUBLIC_VERSION;
/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashalloc.c49 va_list* vp = va; local
149 if (vp < &va[elementsof(va)])
151 va_copy(*vp, ap);
152 vp++;
157 if (vp > va)
159 vp--;
160 va_copy(ap, *vp);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c71 static int add_use_record(struct vfstab *vp);
285 struct vfstab vp; local
290 (void) memset(&vp, 0, sizeof (struct vfstab));
291 while (getvfsent(fp, &vp) == 0) {
292 status = add_use_record(&vp);
297 (void) memset(&vp, 0, sizeof (struct vfstab));
307 add_use_record(struct vfstab *vp) argument
316 vfsp->special = strdup(vp->vfs_special);
322 if (vp->vfs_mountp != NULL) {
323 vfsp->mountp = strdup(vp
[all...]
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c258 struct vfstab *vp; local
266 vp = &vfstabp;
282 vp->vfs_special = (char *)strtok_r(
284 vp->vfs_fsckdev = (char *)strtok_r(
286 vp->vfs_mountp = (char *)strtok_r(
288 vp->vfs_fstype = (char *)strtok_r(
290 vp->vfs_fsckpass = (char *)strtok_r(
292 vp->vfs_automnt = (char *)strtok_r(
294 vp->vfs_mntopts = (char *)strtok_r(
306 if (vfstab_line_cmp(old_vfstab_ent, vp)) {
370 struct vfstab *vp; local
707 vfstab_line_cmp(fs_mntdefaults_t *mntdftp, struct vfstab *vp) argument
[all...]
/osnet-11/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c301 * of the buffer itself. If vp is not NULL, it will contain the number of
316 size_t *sp, size_t *vp)
331 if (vp != NULL)
332 *vp = aip->lsai_data_alloc;
343 if (vp != NULL)
344 *vp = aip->lsai_data_len;
354 if (vp != NULL)
355 *vp = 0;
361 if (vp != NULL)
362 *vp
315 libscsi_action_get_buffer(const libscsi_action_t *ap, uint8_t **bp, size_t *sp, size_t *vp) argument
373 libscsi_action_get_sense(const libscsi_action_t *ap, uint8_t **bp, size_t *sp, size_t *vp) argument
[all...]
/osnet-11/usr/src/lib/libvscan/common/
H A Dlibvscan.c247 vs_props_get(vs_props_t *vp, uint64_t propids) argument
262 *vp = prop_hd.vp_gen;
281 vs_props_set(const vs_props_t *vp, uint64_t propids) argument
292 prop_hd.vp_gen = *vp;
539 vs_props_t *vp = &prop_hd->vp_gen; local
544 (void) strlcpy(vp->vp_maxsize, vs_dflt_maxsize,
545 sizeof (vp->vp_maxsize));
548 vp->vp_maxsize_action = vs_dflt_allow;
551 (void) strlcpy(vp->vp_types, vs_dflt_types,
552 sizeof (vp
667 vs_props_t *vp = &prop_hd->vp_gen; local
956 vs_props_t *vp = &prop_hd->vp_gen; local
1099 const vs_props_t *vp = &prop_hd->vp_gen; local
[all...]
/osnet-11/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h475 extern int fop_getattr(vnode_t *vp, vattr_t *vap);
476 extern int fop_space(vnode_t *vp, int flag, flock64_t *fl);
478 #define VOP_CLOSE(vp, f, c, o, cr, ct) 0
479 #define VOP_PUTPAGE(vp, of, sz, fl, cr, ct) 0
480 #define VOP_GETATTR(vp, vap, fl, cr, ct) fop_getattr((vp), (vap));
481 #define VOP_SPACE(vp, op, fl, flags, off, cr, ct) \
482 fop_space((vp), op, (fl));
484 #define VOP_FSYNC(vp, f, cr, ct) fsync((vp)
[all...]
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c325 * starting vp is always rootdir (which is true for spa_directory.c, the only
335 vnode_t *vp; local
393 *vpp = vp = umem_zalloc(sizeof (vnode_t), UMEM_NOFAIL);
395 vp->v_fd = fd;
396 vp->v_size = st.st_size;
397 vp->v_path = spa_strdup(path);
423 vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, offset_t offset, argument
429 iolen = pread64(vp->v_fd, addr, len, offset);
436 iolen = pwrite64(vp->v_fd, addr, split, offset);
437 iolen += pwrite64(vp
451 vn_close(vnode_t *vp) argument
463 fop_getattr(vnode_t *vp, vattr_t *vap) argument
477 fop_space(vnode_t *vp, int op, flock64_t *fl) argument
664 vnode_t *vp; local
698 vnode_t *vp = (vnode_t *)file->_fd; local
[all...]

Completed in 3160 milliseconds

123