Lines Matching refs:maplen
71 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile()
82 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile()
341 maplen = st.st_size; in tryopen()
348 if ((mapaddr = (caddr_t)mmap(0, (int)maplen, PROT_READ, in tryopen()
351 (void) madvise(mapaddr, (unsigned int)maplen, in tryopen()
357 maplen = 0; in tryopen()
361 maplen = 0; in tryopen()
379 (void) madvise(mapaddr, (unsigned int)maplen, (int)vmacc); in SetAccessType()
414 munmap(mapaddr, (int)maplen); in Close()
416 maplen = 0; in Close()
465 if ((offset + hdrsize) >= maplen) { in ReadData()
470 } else if ((offset + hdrsize + cnt) > maplen) { in ReadData()
472 cnt = (size_t)(maplen - (offset + hdrsize)); in ReadData()
605 if ((offset + hdrsize) >= maplen) { in AsyncCopy()
610 } else if ((offset + hdrsize + cnt) > maplen) { in AsyncCopy()
612 cnt = (size_t)(maplen - (offset + hdrsize)); in AsyncCopy()