Lines Matching defs:mapbits
469 size_t arena_ptr_small_binind_get(const void *ptr, size_t mapbits);
510 size_t mapbits;
512 mapbits = arena_mapbits_get(chunk, pageind);
513 assert((mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) == 0);
514 return (mapbits & ~PAGE_MASK);
520 size_t mapbits;
522 mapbits = arena_mapbits_get(chunk, pageind);
523 assert((mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) ==
525 return (mapbits & ~PAGE_MASK);
531 size_t mapbits;
533 mapbits = arena_mapbits_get(chunk, pageind);
534 assert((mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) ==
536 return (mapbits >> LG_PAGE);
542 size_t mapbits;
545 mapbits = arena_mapbits_get(chunk, pageind);
546 binind = (mapbits & CHUNK_MAP_BININD_MASK) >> CHUNK_MAP_BININD_SHIFT;
554 size_t mapbits;
556 mapbits = arena_mapbits_get(chunk, pageind);
557 return (mapbits & CHUNK_MAP_DIRTY);
563 size_t mapbits;
565 mapbits = arena_mapbits_get(chunk, pageind);
566 return (mapbits & CHUNK_MAP_UNZEROED);
572 size_t mapbits;
574 mapbits = arena_mapbits_get(chunk, pageind);
575 return (mapbits & CHUNK_MAP_LARGE);
581 size_t mapbits;
583 mapbits = arena_mapbits_get(chunk, pageind);
584 return (mapbits & CHUNK_MAP_ALLOCATED);
712 arena_ptr_small_binind_get(const void *ptr, size_t mapbits)
716 binind = (mapbits & CHUNK_MAP_BININD_MASK) >> CHUNK_MAP_BININD_SHIFT;
734 assert(mapbits == actual_mapbits);
838 size_t pageind, mapbits;
846 mapbits = arena_mapbits_get(chunk, pageind);
847 assert((mapbits & CHUNK_MAP_ALLOCATED) != 0);
848 if ((mapbits & CHUNK_MAP_LARGE) == 0) {
853 (uintptr_t)((pageind - (mapbits >> LG_PAGE)) <<
856 mapbits);
875 size_t pageind, mapbits;
883 mapbits = arena_mapbits_get(chunk, pageind);
884 assert((mapbits & CHUNK_MAP_ALLOCATED) != 0);
885 if ((mapbits & CHUNK_MAP_LARGE) == 0) {
888 (uintptr_t)((pageind - (mapbits >> LG_PAGE)) <<
894 binind = arena_ptr_small_binind_get(ptr, mapbits);
986 size_t pageind, mapbits;
995 mapbits = arena_mapbits_get(chunk, pageind);
997 if ((mapbits & CHUNK_MAP_LARGE) == 0) {
1002 binind = arena_ptr_small_binind_get(ptr, mapbits);