Searched defs:mapsize (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | astcopy.c | 56 off_t mapsize; local 70 mapsize = st.st_size - pos; 71 if (mapsize > MAPSIZE) mapsize = (mapsize > n && n > 0) ? n : MAPSIZE; 72 if (mapsize >= BUFSIZ * 2 && (mapbuf = (char*)mmap(NiL, mapsize, PROT_READ, MAP_SHARED, rfd, pos)) != ((caddr_t)-1)) 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, [all...] |
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 49 int mapsize, munmapsize; local 107 mapsize = MAXMAPSIZE; 108 if (s1p->st_size < mapsize) mapsize = s1p->st_size; 109 munmapsize = mapsize; 114 if ((cp = mmap((caddr_t)NULL, mapsize, PROT_READ, 116 mapsize = 0; /* can't mmap today */ 118 mapsize = 0; 120 if (mapsize != 0) { 124 nbytes = write(fo, cp, mapsize); [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | parse.c | 152 int mapsize, /* input size */ 162 if (*lastlen >= mapsize) { 151 _readbufline(char *mapbuf, int mapsize, char *buffer, int buflen, int *lastlen) argument
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcdos.c | 43 int mapsize; member in struct:_dosdisc 67 if((n=dp->maptop++)>=dp->mapsize) 69 dp->mapsize *= 2; 70 if(!(dp->maptable=(struct map*)realloc((void*)dp->maptable,(dp->mapsize+1)*sizeof(struct map)))) 73 dp->mapsize *= 2; 175 dp->mapsize = MINMAP; 381 if(dp->mapsize)
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 789 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { argument 819 l = ns_name_map(nname + n, namelen - n, map, mapsize); 824 if (l >= mapsize) {
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 319 size_t mapsize; local 355 mapsize = stksize + guardsize; 361 if (ulwp->ul_mapsiz == mapsize && 394 if ((stk = mmap(NULL, mapsize, stackprot, 401 (void) munmap(stk, mapsize); 404 ulwp->ul_mapsiz = mapsize; 406 ulwp->ul_stktop = (uintptr_t)stk + mapsize;
|
Completed in 30 milliseconds