fm 4795 compat/nedmalloc/malloc.c.h mstate fm = get_mstate_for(p); fm 4796 compat/nedmalloc/malloc.c.h if (!ok_magic(fm)) { fm 4797 compat/nedmalloc/malloc.c.h USAGE_ERROR_ACTION(fm, p); fm 4803 compat/nedmalloc/malloc.c.h if (!PREACTION(fm)) { fm 4804 compat/nedmalloc/malloc.c.h check_inuse_chunk(fm, p); fm 4805 compat/nedmalloc/malloc.c.h if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { fm 4814 compat/nedmalloc/malloc.c.h fm->footprint -= psize; fm 4821 compat/nedmalloc/malloc.c.h if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ fm 4822 compat/nedmalloc/malloc.c.h if (p != fm->dv) { fm 4823 compat/nedmalloc/malloc.c.h unlink_chunk(fm, p, prevsize); fm 4826 compat/nedmalloc/malloc.c.h fm->dvsize = psize; fm 4838 compat/nedmalloc/malloc.c.h if (next == fm->top) { fm 4839 compat/nedmalloc/malloc.c.h size_t tsize = fm->topsize += psize; fm 4840 compat/nedmalloc/malloc.c.h fm->top = p; fm 4842 compat/nedmalloc/malloc.c.h if (p == fm->dv) { fm 4843 compat/nedmalloc/malloc.c.h fm->dv = 0; fm 4844 compat/nedmalloc/malloc.c.h fm->dvsize = 0; fm 4846 compat/nedmalloc/malloc.c.h if (should_trim(fm, tsize)) fm 4847 compat/nedmalloc/malloc.c.h sys_trim(fm, 0); fm 4850 compat/nedmalloc/malloc.c.h else if (next == fm->dv) { fm 4851 compat/nedmalloc/malloc.c.h size_t dsize = fm->dvsize += psize; fm 4852 compat/nedmalloc/malloc.c.h fm->dv = p; fm 4859 compat/nedmalloc/malloc.c.h unlink_chunk(fm, next, nsize); fm 4861 compat/nedmalloc/malloc.c.h if (p == fm->dv) { fm 4862 compat/nedmalloc/malloc.c.h fm->dvsize = psize; fm 4871 compat/nedmalloc/malloc.c.h insert_small_chunk(fm, p, psize); fm 4872 compat/nedmalloc/malloc.c.h check_free_chunk(fm, p); fm 4876 compat/nedmalloc/malloc.c.h insert_large_chunk(fm, tp, psize); fm 4877 compat/nedmalloc/malloc.c.h check_free_chunk(fm, p); fm 4878 compat/nedmalloc/malloc.c.h if (--fm->release_checks == 0) fm 4879 compat/nedmalloc/malloc.c.h release_unused_segments(fm); fm 4885 compat/nedmalloc/malloc.c.h USAGE_ERROR_ACTION(fm, p); fm 4887 compat/nedmalloc/malloc.c.h POSTACTION(fm); fm 5225 compat/nedmalloc/malloc.c.h mstate fm = get_mstate_for(p); fm 5227 compat/nedmalloc/malloc.c.h mstate fm = (mstate)msp; fm 5229 compat/nedmalloc/malloc.c.h if (!ok_magic(fm)) { fm 5230 compat/nedmalloc/malloc.c.h USAGE_ERROR_ACTION(fm, p); fm 5233 compat/nedmalloc/malloc.c.h if (!PREACTION(fm)) { fm 5234 compat/nedmalloc/malloc.c.h check_inuse_chunk(fm, p); fm 5235 compat/nedmalloc/malloc.c.h if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { fm 5244 compat/nedmalloc/malloc.c.h fm->footprint -= psize; fm 5251 compat/nedmalloc/malloc.c.h if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ fm 5252 compat/nedmalloc/malloc.c.h if (p != fm->dv) { fm 5253 compat/nedmalloc/malloc.c.h unlink_chunk(fm, p, prevsize); fm 5256 compat/nedmalloc/malloc.c.h fm->dvsize = psize; fm 5268 compat/nedmalloc/malloc.c.h if (next == fm->top) { fm 5269 compat/nedmalloc/malloc.c.h size_t tsize = fm->topsize += psize; fm 5270 compat/nedmalloc/malloc.c.h fm->top = p; fm 5272 compat/nedmalloc/malloc.c.h if (p == fm->dv) { fm 5273 compat/nedmalloc/malloc.c.h fm->dv = 0; fm 5274 compat/nedmalloc/malloc.c.h fm->dvsize = 0; fm 5276 compat/nedmalloc/malloc.c.h if (should_trim(fm, tsize)) fm 5277 compat/nedmalloc/malloc.c.h sys_trim(fm, 0); fm 5280 compat/nedmalloc/malloc.c.h else if (next == fm->dv) { fm 5281 compat/nedmalloc/malloc.c.h size_t dsize = fm->dvsize += psize; fm 5282 compat/nedmalloc/malloc.c.h fm->dv = p; fm 5289 compat/nedmalloc/malloc.c.h unlink_chunk(fm, next, nsize); fm 5291 compat/nedmalloc/malloc.c.h if (p == fm->dv) { fm 5292 compat/nedmalloc/malloc.c.h fm->dvsize = psize; fm 5301 compat/nedmalloc/malloc.c.h insert_small_chunk(fm, p, psize); fm 5302 compat/nedmalloc/malloc.c.h check_free_chunk(fm, p); fm 5306 compat/nedmalloc/malloc.c.h insert_large_chunk(fm, tp, psize); fm 5307 compat/nedmalloc/malloc.c.h check_free_chunk(fm, p); fm 5308 compat/nedmalloc/malloc.c.h if (--fm->release_checks == 0) fm 5309 compat/nedmalloc/malloc.c.h release_unused_segments(fm); fm 5315 compat/nedmalloc/malloc.c.h USAGE_ERROR_ACTION(fm, p); fm 5317 compat/nedmalloc/malloc.c.h POSTACTION(fm); fm 482 compat/nedmalloc/nedmalloc.c mstate fm = get_mstate_for(p); fm 483 compat/nedmalloc/nedmalloc.c if (!ok_magic(fm)) { fm 484 compat/nedmalloc/nedmalloc.c USAGE_ERROR_ACTION(fm, p); fm 666 compat/nedmalloc/nedmalloc.c mstate fm; fm 674 compat/nedmalloc/nedmalloc.c fm=get_mstate_for(mcp); fm 675 compat/nedmalloc/nedmalloc.c if(!ok_magic(fm)) return 0; fm 676 compat/nedmalloc/nedmalloc.c if(!ok_address(fm, mcp)) return 0; fm 677 compat/nedmalloc/nedmalloc.c if(!fm->extp) return 0; fm 678 compat/nedmalloc/nedmalloc.c np=(nedpool *) fm->extp;