Home
last modified time | relevance | path

Searched refs:idx2bit (Results 1 – 1 of 1) sorted by relevance

/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c2930 #define idx2bit(i) ((binmap_t)(1) << (i)) macro
2933 #define mark_smallmap(M,i) ((M)->smallmap |= idx2bit(i))
2934 #define clear_smallmap(M,i) ((M)->smallmap &= ~idx2bit(i))
2935 #define smallmap_is_marked(M,i) ((M)->smallmap & idx2bit(i))
2937 #define mark_treemap(M,i) ((M)->treemap |= idx2bit(i))
2938 #define clear_treemap(M,i) ((M)->treemap &= ~idx2bit(i))
2939 #define treemap_is_marked(M,i) ((M)->treemap & idx2bit(i))
4476 binmap_t leftbits = left_bits(idx2bit(idx)) & m->treemap; in tmalloc_large()
4612 binmap_t leftbits = (smallbits << idx) & left_bits(idx2bit(idx)); in dlmalloc()
5569 binmap_t leftbits = (smallbits << idx) & left_bits(idx2bit(idx)); in mspace_malloc()