Home
last modified time | relevance | path

Searched refs:vfp (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/lib/libpkg/common/
H A Dvfpops.c156 VFP_T *vfp; in vfpOpen() local
167 vfp = (VFP_T *)calloc(sizeof (VFP_T), 1); in vfpOpen()
168 if (vfp == (VFP_T *)NULL) { in vfpOpen()
181 vfp->_vfpFlags = _VFP_MALLOC; in vfpOpen()
182 vfp->_vfpPath = strdup(VFP_ANONYMOUS_PATH); in vfpOpen()
183 (*r_vfp) = vfp; in vfpOpen()
194 (void) free(vfp); in vfpOpen()
202 (void) free(vfp); in vfpOpen()
211 (void) free(vfp); in vfpOpen()
221 (void) free(vfp); in vfpOpen()
[all …]
H A Dgpkgmap.c636 gpkgmapvfp(struct cfent *ept, VFP_T *vfp) in gpkgmapvfp() argument
661 if (vfp == (VFP_T *)NULL) { in gpkgmapvfp()
666 while (((c = vfpGetcNoInc(vfp)) != '\0') && (isspace(vfpGetc(vfp)))) in gpkgmapvfp()
684 if (vfp->_vfpCurr && (vfp->_vfpCurr > vfp->_vfpEnd)) { in gpkgmapvfp()
708 c = vfpGetc(vfp); in gpkgmapvfp()
718 (void) findendvfp(&vfpGetCurrCharPtr(vfp)); in gpkgmapvfp()
731 while (((c = vfpGetcNoInc(vfp)) != '\0') && in gpkgmapvfp()
732 (isspace(vfpGetc(vfp)))) in gpkgmapvfp()
737 vfpDecCurrPtr(vfp); in gpkgmapvfp()
739 if (getstrvfp(&vfpGetCurrCharPtr(vfp), "=", PATH_MAX, mypath)) { in gpkgmapvfp()
[all …]
H A Dpkglib.h471 extern int putcvfpfile(struct cfent *ept, VFP_T *vfp);
/titanic_44/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c59 static int xdir(int maptyp, VFP_T *vfp, PKGserver server, char *dirname);
62 ckentry(int envflag, int maptyp, struct cfent *ept, VFP_T *vfp, in ckentry() argument
190 if (xdir(maptyp, vfp, server, path)) in ckentry()
202 xdir(int maptyp, VFP_T *vfp, PKGserver server, char *dirname) in xdir() argument
216 pos = vfpGetCurrCharPtr(vfp); /* get current position in file */ in xdir()
234 while ((n = NXTENTRY(&mine, vfp)) != 0) { in xdir()
256 vfpGetCurrCharPtr(vfp) = pos; in xdir()
H A Dcheckmap.c104 VFP_T *vfp = (VFP_T *)NULL; in checkmap() local
157 if (vfpOpen(&vfp, mapfile, "r", VFP_NONE) != 0) { in checkmap()
169 if ((n = NXTENTRY(&entry, vfp, server)) == 0) { in checkmap()
260 if (ckentry((envfile ? 1 : 0), maptyp, &entry, vfp, server)) in checkmap()
267 (void) vfpClose(&vfp); in checkmap()
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c565 FILE *vfp; in disable_vfstab_entry() local
572 vfp = fopen(VFSTAB, "r"); in disable_vfstab_entry()
573 if (vfp == NULL) { in disable_vfstab_entry()
585 (void) fclose(vfp); in disable_vfstab_entry()
591 while (fgets(line, sizeof (line), vfp)) { in disable_vfstab_entry()
627 if (vfp) in disable_vfstab_entry()
628 (void) fclose(vfp); in disable_vfstab_entry()
/titanic_44/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c694 VFP_T *vfp; in getinfo() local
699 if (vfpOpen(&vfp, pkgmap, "r", VFP_NEEDNOW) != 0) { in getinfo()
706 while ((n = gpkgmapvfp(&entry, vfp)) > 0) { in getinfo()
721 (void) vfpClose(&vfp); in getinfo()
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dprocmap.c196 procmap(VFP_T *vfp, int mapflag, char *ir) in procmap() argument
221 n = gpkgmapvfp(&map_entry, vfp); in procmap()
H A Dpkgobjmap.c283 pkgobjmap(VFP_T *vfp, int mapflag, char *ir) in pkgobjmap() argument
306 n = gpkgmapvfp(&map_entry, vfp); in pkgobjmap()
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c180 VFP_T *vfp; in main() local
376 if (vfpOpen(&vfp, t_pkgmap, "r", VFP_NEEDNOW) != 0) { in main()
381 eptlist = procmap(vfp, 0, NULL); in main()
387 (void) vfpClose(&vfp); in main()
/titanic_44/usr/src/uts/common/os/
H A Dvmem.c1454 vmem_freelist_t *vfp; in vmem_create_common() local
1484 vfp = &vmp->vm_freelist[i]; in vmem_create_common()
1485 vfp->vs_end = 1UL << i; in vmem_create_common()
1486 vfp->vs_knext = (vmem_seg_t *)(vfp + 1); in vmem_create_common()
1487 vfp->vs_kprev = (vmem_seg_t *)(vfp - 1); in vmem_create_common()
/titanic_44/usr/src/lib/libumem/common/
H A Dvmem.c1438 vmem_freelist_t *vfp; in vmem_create() local
1464 vfp = &vmp->vm_freelist[i]; in vmem_create()
1465 vfp->vs_end = 1UL << i; in vmem_create()
1466 vfp->vs_knext = (vmem_seg_t *)(vfp + 1); in vmem_create()
1467 vfp->vs_kprev = (vmem_seg_t *)(vfp - 1); in vmem_create()
/titanic_44/usr/src/cmd/svr4pkg/hdrs/
H A Dlibinst.h297 extern struct cfent **procmap __P((VFP_T *vfp, int mapflag, char *ir));
299 extern struct cfextra **pkgobjmap __P((VFP_T *vfp, int mapflag, char *ir));
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c582 pt_vforkp_t *vfp; in pt_release_parents() local
584 while ((vfp = mdb_list_next(&pt->p_vforkp)) != NULL) { in pt_release_parents()
586 (int)Pstatus(vfp->p_pshandle)->pr_pid); in pt_release_parents()
593 t->t_pshandle = vfp->p_pshandle; in pt_release_parents()
603 Prelease(vfp->p_pshandle, PRELEASE_CLEAR); in pt_release_parents()
604 mdb_list_delete(&pt->p_vforkp, vfp); in pt_release_parents()
605 mdb_free(vfp, sizeof (pt_vforkp_t)); in pt_release_parents()
764 pt_vforkp_t *vfp = mdb_alloc(sizeof (pt_vforkp_t), UM_SLEEP); in pt_fork() local
767 vfp->p_pshandle = P; in pt_fork()
768 mdb_list_append(&pt->p_vforkp, vfp); in pt_fork()