Home
last modified time | relevance | path

Searched refs:nextfree (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmallint.h61 struct header *nextfree; member
76 struct lblk *nextfree; member
117 (x)->nextfree = freeptr[0].nextfree;\
119 freeptr[0].nextfree = (x);\
120 assert((x)->nextfree != (x));\
122 #define DELFREEQ(x) (x)->prevfree->nextfree = (x)->nextfree;\
124 assert((x)->nextfree != (x));\
126 #define MOVEHEAD(x) freeptr[1].prevfree->nextfree = freeptr[0].nextfree;\
127 freeptr[0].nextfree->prevfree = \
132 freeptr[0].nextfree = (x);\
[all …]
H A Dmalloc.c162 p = p->nextfree; in checkq()
163 assert(p->prevfree->nextfree == p); in checkq()
170 assert(p->nextfree->prevfree == p); in checkq()
315 if (freeptr[0].nextfree == GROUND) { in malloc_unlocked()
321 freeptr[0].nextfree = &(freeptr[1]); in malloc_unlocked()
474 blk = blk->nextfree; in malloc_unlocked()
598 nblk = blk->nextfree; in malloc_unlocked()
977 if (freeptr[0].nextfree == GROUND) { in mallinfo()
1119 assert(blk->nextfree >= freeptr); in check_arena()
1121 assert(blk->nextfree <= lastblk); in check_arena()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dconfig.c272 if ((cfgstr = cdata->begin) == cdata->nextfree) { in config_cook()
290 "nextfree is %p\n%p ", (void *)cdata->nextfree, (void *)cfgstr); in config_cook()
291 while (cfgstr < cdata->nextfree) { in config_cook()
302 while (cfgstr < cdata->nextfree) { in config_cook()
303 while (*cfgstr == '/' && cfgstr < cdata->nextfree) { in config_cook()
325 if (cfgstr >= cdata->nextfree) in config_cook()
H A Dplatform.c375 if (rawdata->nextfree + addlen >= rawdata->end) { in cfgadjust()
378 curnext = rawdata->nextfree - rawdata->begin; in cfgadjust()
380 rawdata->nextfree = rawdata->begin + curnext; in cfgadjust()
546 (void) snprintf(rawdata->nextfree, in add_prop_val()
547 rawdata->end - rawdata->nextfree, "%s=%s", in add_prop_val()
555 rawdata->nextfree += addlen; in add_prop_val()
584 (void) strcpy(rawdata->nextfree, path); in cfgcollect()
585 rawdata->nextfree += addlen; in cfgcollect()
690 cfglen = Lastcfg->nextfree - Lastcfg->begin; in platform_save_config()
701 Lastcfg->nextfree = NULL; in platform_save_config()
[all …]
H A Dconfig.h52 char *nextfree; member
H A Dfme.c827 cfgdata->end = cfgdata->nextfree = cfgdata->begin + rawsz; in fme_restart()
831 cfgdata->begin = cfgdata->end = cfgdata->nextfree = NULL; in fme_restart()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c2767 pc_cluster32_t nextfree, ci; in build_fat() local
2811 nextfree = 2; in build_fat()
2833 mark_cluster(fatp, nextfree++, in build_fat()
2841 mark_cluster(fatp, nextfree, PCF_LASTCLUSTER32); in build_fat()
2842 wbpb->bpb32.root_dir_clust = nextfree++; in build_fat()
2850 *ffstartclust = nextfree; in build_fat()
2866 for (ci = 0; (int)ci < (int)(numclust-1); ci++, nextfree++) in build_fat()
2867 mark_cluster(fatp, nextfree, nextfree + 1); in build_fat()
2868 mark_cluster(fatp, nextfree++, in build_fat()
2885 fsinfop->fsi_incore.fs_next_free = LE_32(nextfree); in build_fat()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck_pcfs.h118 #define nextfree _unionelem._nextfree macro
H A Dclusters.c415 pool[i].nextfree = &pool[i+1]; in newClusterInfo()
417 pool[CHUNKSIZE-1].nextfree = NULL; in newClusterInfo()
420 pool = pool->nextfree; in newClusterInfo()
465 old->nextfree = pool; in freeClusterInfo()