Lines Matching refs:_vfpStart
234 vfp->_vfpStart = MAP_FAILED; /* assume map failed if not allowed */ in vfpOpen()
272 vfp->_vfpStart = MAP_FAILED; in vfpOpen()
280 vfp->_vfpStart = mmap(p, vfp->_vfpMapSize, PROT_READ, in vfpOpen()
285 if (vfp->_vfpStart != MAP_FAILED) { in vfpOpen()
293 if ((vfp->_vfpStart == MAP_FAILED) && (!(a_flags & VFP_NOMALLOC))) { in vfpOpen()
309 vfp->_vfpStart = memalign((size_t)pagesize, vfp->_vfpSize); in vfpOpen()
310 if (vfp->_vfpStart == (char *)NULL) { in vfpOpen()
321 rlen = read(fileno(fp), vfp->_vfpStart, in vfpOpen()
328 (void) free(vfp->_vfpStart); in vfpOpen()
337 ((char *)vfp->_vfpStart)[statbuf.st_size] = '\0'; in vfpOpen()
347 if (vfp->_vfpStart == MAP_FAILED) { in vfpOpen()
360 vfp->_vfpCurr = (char *)vfp->_vfpStart; in vfpOpen()
363 vfp->_vfpEnd = (((char *)vfp->_vfpStart) + statbuf.st_size)-1; in vfpOpen()
453 vfp->_vfpStart, len, (off_t)0); in vfpClose()
461 (void) free(vfp->_vfpStart); in vfpClose()
465 (void) munmap(vfp->_vfpStart, vfp->_vfpMapSize); in vfpClose()
469 (void) free(vfp->_vfpStart); in vfpClose()
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()
570 a_vfp->_vfpCurr = a_vfp->_vfpStart; in vfpRewind()
632 if (a_vfp->_vfpStart != (char *)NULL) { in vfpSetSize()
633 np = (char *)realloc(a_vfp->_vfpStart, a_vfp->_vfpSize+1); in vfpSetSize()
656 (ptrdiff_t)a_vfp->_vfpStart) + np); in vfpSetSize()
660 (ptrdiff_t)a_vfp->_vfpStart) + np); in vfpSetSize()
666 a_vfp->_vfpStart = np; in vfpSetSize()
698 a_vfp->_vfpCurr = a_vfp->_vfpStart; in vfpTruncate()
702 a_vfp->_vfpHighWater = a_vfp->_vfpStart; in vfpTruncate()
763 result = vfpSafeWrite(fd, a_vfp->_vfpStart, len); in vfpWriteToFile()
994 ((*a_cpVfp)->_vfpStart == (char *)NULL)) { in vfpCheckpointOpen()
1096 vfp->_vfpCurr = (char *)vfp->_vfpStart; in vfpCheckpointOpen()