Home
last modified time | relevance | path

Searched refs:freeidx (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c152 freemap_t *freeidx; in findfree() local
171 freeidx = freemap; in findfree()
172 freeidx->fr_start = 0; in findfree()
174 if (part->p_start <= freeidx->fr_start) in findfree()
175 freeidx->fr_start += part->p_size; in findfree()
177 freeidx->fr_size = part->p_start - freeidx->fr_start; in findfree()
178 (++freeidx)->fr_start = part->p_start + part->p_size; in findfree()
180 if (freeidx->fr_start < fullsize) { in findfree()
181 freeidx->fr_size = fullsize - freeidx->fr_start; in findfree()
182 ++freeidx; in findfree()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dmalloc.c98 static int freeidx; /* index of free blocks in flist % FREESIZE */ variable
206 freeidx = (freeidx + FREESIZE - 1) & in _malloc_unlocked()
208 flist[freeidx] = Lfree = NULL; in _malloc_unlocked()
214 freeidx = (freeidx + FREESIZE - 1) & in _malloc_unlocked()
216 flist[freeidx] = Lfree = NULL; in _malloc_unlocked()
887 for (i = 0; i < freeidx; i++) in _free_unlocked()
891 if (flist[freeidx] != NULL) in _free_unlocked()
892 realfree(flist[freeidx]); in _free_unlocked()
893 flist[freeidx] = Lfree = old; in _free_unlocked()
894 freeidx = (freeidx + 1) & FREEMASK; /* one forward */ in _free_unlocked()
[all …]
/titanic_44/usr/src/uts/common/fs/
H A Dvfs.c2269 uint_t freeidx; in vfs_mergeopttbl() local
2286 freeidx = omo->mo_count; in vfs_mergeopttbl()
2306 vfs_copyopt(&imo->mo_list[i], &motbl[freeidx++]); in vfs_mergeopttbl()