Searched refs:ptr2idx (Results 1 – 1 of 1) sorted by relevance
200 #define ptr2idx(foo) \ macro374 last_idx = ptr2idx(tail) - 1; in map_pages()379 last_idx = ptr2idx(malloc_brk) - 1; in map_pages()595 if (page_dir[ptr2idx(pf->page)] != MALLOC_FREE) in malloc_pages()597 if (page_dir[ptr2idx(pf->end)-1] != MALLOC_FREE) in malloc_pages()620 if (p != NULL && page_dir[ptr2idx(p)] != MALLOC_FREE) in malloc_pages()632 idx = ptr2idx(p); in malloc_pages()712 page_dir[ptr2idx(pp)] = bp; in malloc_make_chunks()824 idx = ptr2idx(ptr); in irealloc()1025 idx = ptr2idx(pf->end); in free_pages()[all …]