Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching refs:bk

2188   struct malloc_chunk* bk;
2361 work in the same way as fd/bk pointers of small chunks.
2398 struct malloc_tree_chunk* bk;
2511 waste, we allocate only the fd/bk pointers of bins, and then use
3292 assert(p->fd->bk == p);
3293 assert(p->bk->fd == p);
3333 assert(u->fd->bk == u);
3334 assert(u->bk->fd == u);
3379 mchunkptr p = b->bk;
3384 for (; p != b; p = p->bk) {
3391 assert(p->bk == b || chunksize(p->bk) == chunksize(p));
3597 F->bk = P;\
3599 P->bk = B;\
3605 mchunkptr B = P->bk;\
3610 if (RTCHECK(F == smallbin_at(M,I) || (ok_address(M, F) && F->bk == P))) { \
3616 F->bk = B;\
3637 else if (RTCHECK(ok_address(M, F) && F->bk == P)) {\
3638 F->bk = B;\
3673 X->fd = X->bk = X;\
3687 X->fd = X->bk = X;\
3698 T->fd = F->bk = X;\
3700 X->bk = T;\
3716 1. If x is a chained node, unlink it from its same-sized fd/bk links
3717 and choose its bk node as its replacement.
3733 if (X->bk != X) {\
3735 R = X->bk;\
3736 if (RTCHECK(ok_address(M, F) && F->bk == X && R->fd == X)) {\
3737 F->bk = R;\
3930 bin->fd = bin->bk = bin;