Lines Matching refs:memcluster_element
73 } memcluster_element;
75 #define SMALL_SIZE_LIMIT sizeof(memcluster_element)
115 static memcluster_element ** freelists;
117 static memcluster_element ** activelists;
120 static memcluster_element * basic_blocks;
155 freelists = malloc(max_size * sizeof (memcluster_element *));
162 max_size * sizeof (memcluster_element *));
165 activelists = malloc((max_size + 1) * sizeof (memcluster_element *));
171 (max_size + 1) * sizeof (memcluster_element *));
188 memcluster_element *e;
263 ((memcluster_element *)curr)->next = next;
271 ((memcluster_element *)curr)->next = NULL;
299 ((memcluster_element *)curr)->next = next;
307 ((memcluster_element *)curr)->next = freelists[new_size];
371 memcluster_element *e;
372 memcluster_element *el;
374 memcluster_element *prev;
396 e = (memcluster_element *) ((char *)mem - sizeof *e);
460 ((memcluster_element *)mem)->next = freelists[new_size];
461 freelists[new_size] = (memcluster_element *)mem;
499 memcluster_element *e;