Lines Matching refs:parent
109 wsbmMMSplitAtStart(struct _WsbmMMNode *parent, unsigned long size)
121 child->start = parent->start;
122 child->mm = parent->mm;
124 WSBMLISTADDTAIL(&child->ml_entry, &parent->ml_entry);
127 parent->size -= size;
128 parent->start += size;
133 wsbmMMGetBlock(struct _WsbmMMNode *parent,
142 tmp = parent->start % alignment;
145 align_splitoff = wsbmMMSplitAtStart(parent, alignment - tmp);
150 if (parent->size == size) {
151 WSBMLISTDELINIT(&parent->fl_entry);
152 parent->free = 0;
153 return parent;
155 child = wsbmMMSplitAtStart(parent, size);