Lines Matching refs:memBase
66 struct mem_block *memBase; in add_node() local
69 memBase = list->listMemBase; in add_node()
70 if (memBase != NULL) in add_node()
71 index = memBase->index; in add_node()
73 if (memBase == NULL || index >= NODE_CHUNK) { in add_node()
75 memBase = mmalloc(sizeof(struct mem_block) + NODE_CHUNK * size); in add_node()
76 if (memBase == NULL) { in add_node()
80 memBase->next = list->listMemBase; in add_node()
84 b = (struct b_node *)&memBase->nodes[size * index]; in add_node()
87 memBase->index = index; in add_node()
88 list->listMemBase = memBase; in add_node()