Searched refs:alloc_flags (Results 1 – 1 of 1) sorted by relevance
23 ALLOC_FLAG alloc_flags[50]; variable42 memset(alloc_flags, 0, 50 * sizeof(ALLOC_FLAG)); in my_malloc_init()50 if (alloc_flags[k].used == 0) { in write_usedblock()51 alloc_flags[k].used = 1; in write_usedblock()52 alloc_flags[k].addrBlock = addr; in write_usedblock()53 alloc_flags[k].sizeBlock = size; in write_usedblock()63 if (alloc_flags[k].used == 1 && in find_sizeblock()64 alloc_flags[k].addrBlock == addr) in find_sizeblock()65 return alloc_flags[k].sizeBlock; in find_sizeblock()74 if (alloc_flags[k].used == 1 && in free_usedblock()[all …]