reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
371 bin = bget_get_bin(b->bh.bb.bsize); 408 *total_free += (b->bh.bb.bsize - sizeof(bhead_t)); 409 if ((best == &thr->freelist[bin]) || (b->bh.bb.bsize < best->bh.bb.bsize)) 409 if ((best == &thr->freelist[bin]) || (b->bh.bb.bsize < best->bh.bb.bsize)) 416 if (*max_free < best->bh.bb.bsize) 417 *max_free = best->bh.bb.bsize; 472 if (b->bh.bb.bsize >= (bufsize)size) { 474 (b->bh.bb.bsize < best->bh.bb.bsize)) { 474 (b->bh.bb.bsize < best->bh.bb.bsize)) { 486 if ((bufsize)b->bh.bb.bsize >= (bufsize)size) { 495 if ((b->bh.bb.bsize - (bufsize)size) > 499 ba = BH(((char *)b) + (b->bh.bb.bsize - (bufsize)size)); 505 b->bh.bb.bsize -= (bufsize)size; 508 ba->bb.prevfree = b->bh.bb.bsize; 532 ba = BH(((char *)b) + b->bh.bb.bsize); 541 thr->totalloc += (size_t)b->bh.bb.bsize; 545 b->bh.bb.bsize = -(b->bh.bb.bsize); 545 b->bh.bb.bsize = -(b->bh.bb.bsize); 711 if (b->bh.bb.bsize == 0) { /* Directly-acquired buffer? */ 732 bth = (kmp_info_t *)((kmp_uintptr_t)TCR_PTR(b->bh.bb.bthr) & 746 if (b->bh.bb.bsize >= 0) { 757 thr->totalloc += (size_t)b->bh.bb.bsize; 762 if (b->bh.bb.prevfree != 0) { 767 bufsize size = b->bh.bb.bsize; 772 b = BFH(((char *)b) - b->bh.bb.prevfree); 773 b->bh.bb.bsize -= size; 781 b->bh.bb.bsize = -b->bh.bb.bsize; 781 b->bh.bb.bsize = -b->bh.bb.bsize; 791 bn = BFH(((char *)b) + b->bh.bb.bsize); 792 if (bn->bh.bb.bsize > 0) { 801 b->bh.bb.bsize += bn->bh.bb.bsize; 801 b->bh.bb.bsize += bn->bh.bb.bsize; 814 bn = BFH(((char *)b) + b->bh.bb.bsize); 825 bn->bh.bb.prevfree = b->bh.bb.bsize; 825 bn->bh.bb.prevfree = b->bh.bb.bsize; 832 b->bh.bb.bsize == (bufsize)(thr->pool_len - sizeof(bhead_t))) { 907 b->bh.bb.prevfree = 0; 917 b->bh.bb.bsize = (bufsize)len; 919 TCW_PTR(b->bh.bb.bthr, 961 bufsize bs = b->bh.bb.bsize; 1018 b->bh.bb.bsize == (bufsize)(thr->pool_len - sizeof(bhead_t))) { 2039 if ((kmp_uintptr_t)b->bh.bb.bthr & 1) { // the buffer is allocated address