30 static int gcd(
int y,
int x)
41 #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y)))
74 cp = (
char *) (mem->
nodes);
struct freeblock * blocklist
void * getfree(Freelist *)
void * gmalloc(size_t nbytes)
void makefree(void *, Freelist *)
struct freenode * nextfree
struct freeblock Freeblock
void freeinit(Freelist *, int)