Searched refs:mem_stat (Results 1 – 1 of 1) sorted by relevance
34 } mem_stat; variable52 lock(mem_stat.bins[tid].lock); in lock_stat_bin()53 if (!mem_stat.bins[tid].head.next) in lock_stat_bin()54 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin()59 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin()66 list = mem_stat.free_list.head.prev; in insert_free_list()79 for (list = mem_stat.bins[tid].head.next; list != &mem_stat.bins[tid].head; list = list->next) { in try_delete_node()86 mem_stat.bins[tid].t_total_size -= node->size; in try_delete_node()88 mem_stat.p_total_size -= node->size; in try_delete_node()150 if (!mem_stat.free_list.head.next) { in alloc_node()[all …]