Home
last modified time | relevance | path

Searched refs:a_vfp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c512 vfpSetFlags(VFP_T *a_vfp, VFPFLAGS_T a_flags) in vfpSetFlags() argument
516 if (a_vfp == (VFP_T *)NULL) { in vfpSetFlags()
522 if ((a_vfp->_vfpSize != 0) && (a_vfp->_vfpFlags & _VFP_MMAP)) { in vfpSetFlags()
527 (void) madvise(a_vfp->_vfpStart, a_vfp->_vfpMapSize, in vfpSetFlags()
532 (void) madvise(a_vfp->_vfpStart, a_vfp->_vfpSize, in vfpSetFlags()
537 (void) madvise(a_vfp->_vfpStart, a_vfp->_vfpSize, in vfpSetFlags()
554 vfpRewind(VFP_T *a_vfp) in vfpRewind() argument
558 if (a_vfp == (VFP_T *)NULL) { in vfpRewind()
564 if (a_vfp->_vfpCurr > a_vfp->_vfpHighWater) { in vfpRewind()
565 a_vfp->_vfpHighWater = a_vfp->_vfpCurr; in vfpRewind()
[all …]
H A Dputcfile.c218 putcvfpfile(struct cfent *a_ept, VFP_T *a_vfp) in putcvfpfile() argument
263 (void) vfpSetModified(a_vfp); in putcvfpfile()
267 vfpPuts(a_vfp, a_ept->path); in putcvfpfile()
272 vfpPutc(a_vfp, '='); in putcvfpfile()
273 vfpPuts(a_vfp, a_ept->ainfo.local); in putcvfpfile()
279 vfpPutc(a_vfp, ' '); in putcvfpfile()
280 vfpPutInteger(a_vfp, a_ept->volno); in putcvfpfile()
285 vfpPutc(a_vfp, ' '); in putcvfpfile()
286 vfpPutc(a_vfp, a_ept->ftype); in putcvfpfile()
287 vfpPutc(a_vfp, ' '); in putcvfpfile()
[all …]
H A Dpkglib.h509 extern int vfpCheckpointFile(VFP_T **r_destVfp, VFP_T **a_vfp,
513 extern int vfpClearModified(VFP_T *a_vfp);
515 extern int vfpGetModified(VFP_T *a_vfp);
518 extern void vfpRewind(VFP_T *a_vfp);
522 extern int vfpSetFlags(VFP_T *a_vfp, VFPFLAGS_T a_flags);
523 extern int vfpSetModified(VFP_T *a_vfp);
524 extern int vfpSetSize(VFP_T *a_vfp, size_t a_size);
525 extern void vfpTruncate(VFP_T *a_vfp);
526 extern int vfpWriteToFile(VFP_T *a_vfp, char *a_path);
H A Dpkgserv.c605 pkgservercommitfile(VFP_T *a_vfp, PKGserver server) in pkgservercommitfile() argument
607 size_t len = vfpGetModifiedLen(a_vfp); in pkgservercommitfile()
611 char *map = a_vfp->_vfpStart; in pkgservercommitfile()
649 vfpTruncate(a_vfp); in pkgservercommitfile()
650 (void) vfpClearModified(a_vfp); in pkgservercommitfile()