Lines Matching refs:lno
1034 a->freelist[lno] with another block on the same list but with a
1038 void swizzle ( Arena* a, UInt lno )
1045 p_best = a->freelist[lno];
1060 if (p_best < a->freelist[lno]) {
1062 VG_(printf)("retreat by %ld\n", (Word)(a->freelist[lno] - p_best));
1064 a->freelist[lno] = p_best;
1474 UInt lno, i;
1511 for (lno = pszB_to_listNo(req_pszB); lno < N_MALLOC_LISTS; lno++) {
1513 b = a->freelist[lno];
1519 && lno < N_MALLOC_LISTS-1) {
1526 b = a->freelist[lno];
1528 a->freelist[lno] = get_next_b(b); // step one along
1534 if (b == a->freelist[lno]) break; // traversed entire freelist
1539 vg_assert(lno == N_MALLOC_LISTS);
1583 lno = pszB_to_listNo(bszB_to_pszB(a, new_sb->n_payload_bytes));
1584 mkFreeBlock ( a, b, new_sb->n_payload_bytes, lno);
1590 // Ok, we can allocate from b, which lives in list lno.
1592 vg_assert(lno < N_MALLOC_LISTS);
1593 vg_assert(a->freelist[lno] != NULL);
1607 unlinkBlock(a, b, lno);
1618 unlinkBlock(a, b, lno);