Home | History | Annotate | Download | only in src

Lines Matching refs:mapelm

64 arena_mapelm_to_pageind(arena_chunk_map_t *mapelm)
67 CHUNK_ADDR2OFFSET(mapelm) - offsetof(arena_chunk_t, map);
73 arena_mapelm_to_bits(arena_chunk_map_t *mapelm)
76 return (mapelm->bits);
763 arena_chunk_map_t *mapelm;
767 mapelm = arena_avail_tree_nsearch(&arena->runs_avail, key);
768 if (mapelm != NULL) {
769 arena_chunk_t *run_chunk = CHUNK_ADDR2BASE(mapelm);
770 size_t pageind = arena_mapelm_to_pageind(mapelm);
817 arena_chunk_map_t *mapelm;
821 mapelm = arena_avail_tree_nsearch(&arena->runs_avail, key);
822 if (mapelm != NULL) {
823 arena_chunk_t *run_chunk = CHUNK_ADDR2BASE(mapelm);
824 size_t pageind = arena_mapelm_to_pageind(mapelm);
938 arena_chunk_map_t *mapelm = arena_mapp_get(chunk, pageind);
957 ql_elm_new(mapelm, u.ql_link);
958 ql_tail_insert(mapelms, mapelm, u.ql_link);
989 arena_chunk_map_t *mapelm;
995 ql_foreach(mapelm, mapelms, u.ql_link) {
999 pageind = arena_mapelm_to_pageind(mapelm);
1035 arena_chunk_map_t *mapelm;
1039 for (mapelm = ql_first(mapelms); mapelm != NULL;
1040 mapelm = ql_first(mapelms)) {
1043 pageind = arena_mapelm_to_pageind(mapelm);
1046 ql_remove(mapelms, mapelm, u.ql_link);
1400 arena_chunk_map_t *mapelm = arena_run_tree_first(&bin->runs);
1401 if (mapelm != NULL) {
1406 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(mapelm);
1407 pageind = arena_mapelm_to_pageind(mapelm);
1422 arena_chunk_map_t *mapelm = arena_mapp_get(chunk, pageind);
1424 assert(arena_run_tree_search(&bin->runs, mapelm) == NULL);
1426 arena_run_tree_insert(&bin->runs, mapelm);
1434 arena_chunk_map_t *mapelm = arena_mapp_get(chunk, pageind);
1436 assert(arena_run_tree_search(&bin->runs, mapelm) != NULL);
1438 arena_run_tree_remove(&bin->runs, mapelm);
1969 arena_chunk_map_t *mapelm)
2004 size_t pageind, arena_chunk_map_t *mapelm)
2013 arena_dalloc_bin_locked(arena, chunk, ptr, mapelm);
2021 arena_chunk_map_t *mapelm;
2028 mapelm = arena_mapp_get(chunk, pageind);
2029 arena_dalloc_bin(arena, chunk, ptr, pageind, mapelm);