Lines Matching defs:committed
4799 static char *committed = NULL; /* XXX threadead */
4822 if (committed && reserved && committed < reserved)
4825 addr = (char *) VirtualAlloc(committed,reserved-committed,MEM_COMMIT,PAGE_READWRITE);
4828 /* Remember where we committed from in case we want to decommit later */
4829 prev_committed = committed;
4830 committed = reserved;
4850 if (!committed)
4851 committed = base;
4853 brk = committed;
4858 * anything that was just committed above and start anew */
4864 reserved = base = committed = brk = NULL;
4875 if (brk > committed)
4877 DWORD size = ((brk-committed + pagesize -1)/pagesize) * pagesize;
4879 if (committed+size > reserved)
4880 size = reserved-committed;
4881 addr = (char *) VirtualAlloc(committed,size,MEM_COMMIT,PAGE_READWRITE);
4883 committed += size;