Searched refs:free_list (Results 1 – 5 of 5) sorted by relevance
140 struct __mmio_free_region_list *free_list = &__mmio_pool.free_regions[__exp2index(exp)]; in __buddy_merge() local142 if (list_empty(&free_list->list_head)) in __buddy_merge()145 struct List *list = list_next(&free_list->list_head); in __buddy_merge()158 free_list->num_free -= 2; in __buddy_merge()164 } while (list != &free_list->list_head); in __buddy_merge()
39 p->ary[0] = idp->free_list; in __move_to_free_list()41 idp->free_list = p; in __move_to_free_list()69 struct idr_layer *item = idp->free_list; in __get_from_free_list()77 idp->free_list = idp->free_list->ary[0]; in __get_from_free_list()482 idp->free_list = NULL; in __idr_destroy_with_free()509 idp->free_list = NULL; in idr_destroy()847 if (NULL == ida_p->free_list) in ida_preload()856 ida_p->free_list = bitmap; in ida_preload()871 if (NULL == ida_p->free_list) in __get_ida_bitmap()878 struct ida_bitmap *tmp = ida_p->free_list; in __get_ida_bitmap()[all …]
69 struct idr_layer *free_list; member154 struct ida_bitmap *free_list; // 预分配的数据块 member160 name.free_list = (NULL);
31 assert(k_idr.free_list == NULL); in ktest_idr_case0()55 assert(k_idr.free_list == NULL); in ktest_idr_case0()177 assert(k_idr.free_list == NULL); in ktest_idr_case1()259 assert(k_idr.free_list == NULL); in ktest_idr_case2()342 assert(k_idr.free_list == NULL); in ktest_idr_case3()401 assert(k_idr.free_list == NULL); in ktest_idr_case4()444 assert(k_idr.free_list == NULL); in ktest_idr_case5()457 assert(k_idr.free_list == NULL); in ktest_idr_case5()524 assert(k_ida.free_list == NULL); in ktest_idr_case6()562 assert(k_ida.free_list == NULL); in ktest_idr_case6()
269   通初始化IDA, 你需要保证调用函数之前, ida的free_list为空, 否则会导致内存泄漏. 415   通初始化IDR, 你需要保证调用函数之前, idr的free_list为空, 否则会导致内存泄漏. 520 …删除idr的所有已经分配的id.(所以您不用担心删除id之后, ida还会占用大量空间.) - 和`idr_remove_all`的区别是, 释放掉所有的空间(包括free_list的预分配空间)。