Home
last modified time | relevance | path

Searched refs:free_list (Results 1 – 25 of 45) sorted by relevance

12

/external/python/cpython2/Modules/_ctypes/
Dmalloc_closure.c30 static ITEM *free_list; variable
83 item->next = free_list; in more_core()
84 free_list = item; in more_core()
95 item->next = free_list; in ffi_closure_free()
96 free_list = item; in ffi_closure_free()
103 if (!free_list) in ffi_closure_alloc()
105 if (!free_list) in ffi_closure_alloc()
107 item = free_list; in ffi_closure_alloc()
108 free_list = item->next; in ffi_closure_alloc()
/external/python/cpython3/Modules/_ctypes/
Dmalloc_closure.c30 static ITEM *free_list; variable
83 item->next = free_list; in more_core()
84 free_list = item; in more_core()
95 item->next = free_list; in ffi_closure_free()
96 free_list = item; in ffi_closure_free()
103 if (!free_list) in ffi_closure_alloc()
105 if (!free_list) in ffi_closure_alloc()
107 item = free_list; in ffi_closure_alloc()
108 free_list = item->next; in ffi_closure_alloc()
/external/python/cpython3/Objects/
Dmethodobject.c12 static PyCFunctionObject *free_list = NULL; variable
31 op = free_list; in PyCFunction_NewEx()
33 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
94 m->m_self = (PyObject *)free_list; in meth_dealloc()
95 free_list = m; in meth_dealloc()
310 while (free_list) { in PyCFunction_ClearFreeList()
311 PyCFunctionObject *v = free_list; in PyCFunction_ClearFreeList()
312 free_list = (PyCFunctionObject *)(v->m_self); in PyCFunction_ClearFreeList()
Dclassobject.c13 static PyMethodObject *free_list; variable
55 im = free_list; in PyMethod_New()
57 free_list = (PyMethodObject *)(im->im_self); in PyMethod_New()
199 im->im_self = (PyObject *)free_list; in method_dealloc()
200 free_list = im; in method_dealloc()
374 while (free_list) { in PyMethod_ClearFreeList()
375 PyMethodObject *im = free_list; in PyMethod_ClearFreeList()
376 free_list = (PyMethodObject *)(im->im_self); in PyMethod_ClearFreeList()
Dframeobject.c452 static PyFrameObject *free_list = NULL; variable
489 f->f_back = free_list; in frame_dealloc()
490 free_list = f; in frame_dealloc()
712 if (free_list == NULL) { in _PyFrame_New_NoTrack()
723 f = free_list; in _PyFrame_New_NoTrack()
724 free_list = free_list->f_back; in _PyFrame_New_NoTrack()
1034 while (free_list != NULL) { in PyFrame_ClearFreeList()
1035 PyFrameObject *f = free_list; in PyFrame_ClearFreeList()
1036 free_list = free_list->f_back; in PyFrame_ClearFreeList()
Dtupleobject.c27 static PyTupleObject *free_list[PyTuple_MAXSAVESIZE]; variable
88 if (size == 0 && free_list[0]) { in PyTuple_New()
89 op = free_list[0]; in PyTuple_New()
96 if (size < PyTuple_MAXSAVESIZE && (op = free_list[size]) != NULL) { in PyTuple_New()
97 free_list[size] = (PyTupleObject *) op->ob_item[0]; in PyTuple_New()
125 free_list[0] = op; in PyTuple_New()
252 op->ob_item[0] = (PyObject *) free_list[len]; in tupledealloc()
254 free_list[len] = op; in tupledealloc()
915 p = free_list[i]; in PyTuple_ClearFreeList()
917 free_list[i] = NULL; in PyTuple_ClearFreeList()
[all …]
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c295 cache->free_list = NULL; in INSERT_LIST()
350 remove_free_list(&cache->free_list, entry); in cache_lookup()
364 struct file_buffer *entry = cache->free_list; in cache_freelist()
366 remove_free_list(&cache->free_list, entry); in cache_freelist()
402 if(cache->first_freelist && cache->free_list) in _cache_get()
407 } else if(!cache->first_freelist && cache->free_list) in _cache_get()
492 insert_free_list(&cache->free_list, entry); in cache_block_put()
515 cache->free_list ? "Free buffers" : "No free buffers"); in dump_cache()
540 if(cache->first_freelist && cache->free_list) in cache_get_nowait()
545 } else if(!cache->first_freelist && cache->free_list) in cache_get_nowait()
[all …]
Dunsquashfs.c278 if(cache->free_list) { in insert_free_list()
279 entry->free_next = cache->free_list; in insert_free_list()
280 entry->free_prev = cache->free_list->free_prev; in insert_free_list()
281 cache->free_list->free_prev->free_next = entry; in insert_free_list()
282 cache->free_list->free_prev = entry; in insert_free_list()
284 cache->free_list = entry; in insert_free_list()
298 cache->free_list = NULL; in remove_free_list()
303 if(cache->free_list == entry) in remove_free_list()
304 cache->free_list = entry->free_next; in remove_free_list()
322 cache->free_list = NULL; in cache_init()
[all …]
/external/python/cpython2/Objects/
Dmethodobject.c10 static PyCFunctionObject *free_list = NULL; variable
20 op = free_list; in PyCFunction_NewEx()
22 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
137 m->m_self = (PyObject *)free_list; in meth_dealloc()
138 free_list = m; in meth_dealloc()
399 while (free_list) { in PyCFunction_ClearFreeList()
400 PyCFunctionObject *v = free_list; in PyCFunction_ClearFreeList()
401 free_list = (PyCFunctionObject *)(v->m_self); in PyCFunction_ClearFreeList()
Dframeobject.c478 static PyFrameObject *free_list = NULL; variable
516 f->f_back = free_list; in frame_dealloc()
517 free_list = f; in frame_dealloc()
715 if (free_list == NULL) { in PyFrame_New()
726 f = free_list; in PyFrame_New()
727 free_list = free_list->f_back; in PyFrame_New()
1001 while (free_list != NULL) { in PyFrame_ClearFreeList()
1002 PyFrameObject *f = free_list; in PyFrame_ClearFreeList()
1003 free_list = free_list->f_back; in PyFrame_ClearFreeList()
Dtupleobject.c18 static PyTupleObject *free_list[PyTuple_MAXSAVESIZE]; variable
58 if (size == 0 && free_list[0]) { in PyTuple_New()
59 op = free_list[0]; in PyTuple_New()
66 if (size < PyTuple_MAXSAVESIZE && (op = free_list[size]) != NULL) { in PyTuple_New()
67 free_list[size] = (PyTupleObject *) op->ob_item[0]; in PyTuple_New()
98 free_list[0] = op; in PyTuple_New()
228 op->ob_item[0] = (PyObject *) free_list[len]; in tupledealloc()
230 free_list[len] = op; in tupledealloc()
895 p = free_list[i]; in PyTuple_ClearFreeList()
897 free_list[i] = NULL; in PyTuple_ClearFreeList()
[all …]
Dintobject.c45 static PyIntObject *free_list = NULL; variable
103 if (free_list == NULL) { in PyInt_FromLong()
104 if ((free_list = fill_free_list()) == NULL) in PyInt_FromLong()
108 v = free_list; in PyInt_FromLong()
109 free_list = (PyIntObject *)Py_TYPE(v); in PyInt_FromLong()
135 Py_TYPE(v) = (struct _typeobject *)free_list; in int_dealloc()
136 free_list = v; in int_dealloc()
1459 if (!free_list && (free_list = fill_free_list()) == NULL) in _PyInt_Init()
1462 v = free_list; in _PyInt_Init()
1463 free_list = (PyIntObject *)Py_TYPE(v); in _PyInt_Init()
[all …]
Dfloatobject.c35 static PyFloatObject *free_list = NULL; variable
144 if (free_list == NULL) { in PyFloat_FromDouble()
145 if ((free_list = fill_free_list()) == NULL) in PyFloat_FromDouble()
149 op = free_list; in PyFloat_FromDouble()
150 free_list = (PyFloatObject *)Py_TYPE(op); in PyFloat_FromDouble()
251 Py_TYPE(op) = (struct _typeobject *)free_list; in float_dealloc()
252 free_list = op; in float_dealloc()
2224 free_list = NULL; in PyFloat_ClearFreeList()
2243 free_list; in PyFloat_ClearFreeList()
2244 free_list = p; in PyFloat_ClearFreeList()
/external/libunwind/src/mi/
Dmempool.c90 obj->next = pool->free_list; in free_object()
91 pool->free_list = obj; in free_object()
167 obj = pool->free_list; in mempool_alloc()
168 pool->free_list = obj->next; in mempool_alloc()
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt157 free_list
161 free_list
171 free_list
175 free_list
185 free_list
189 free_list
196 free_list
/external/toybox/toys/pending/
Dlast.c36 static void free_list()
130 free_list(); in last_main()
135 free_list(); in last_main()
192 free_list(); in last_main()
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c626 pool->buckets[i].free_list = ANV_FREE_LIST_EMPTY; in anv_state_pool_init()
703 if (anv_free_list_pop(&pool->buckets[bucket].free_list, in anv_state_pool_alloc_no_vg()
712 if (anv_free_list_pop(&pool->buckets[b].free_list, in anv_state_pool_alloc_no_vg()
752 anv_free_list_push(&pool->buckets[block_bucket].free_list, in anv_state_pool_alloc_no_vg()
761 anv_free_list_push(&pool->buckets[bucket].free_list, in anv_state_pool_alloc_no_vg()
826 anv_free_list_push(&pool->buckets[bucket].free_list, in anv_state_pool_free_no_vg()
965 memset(pool->free_list, 0, sizeof(pool->free_list)); in anv_bo_pool_init()
973 for (unsigned i = 0; i < ARRAY_SIZE(pool->free_list); i++) { in anv_bo_pool_finish()
974 struct bo_pool_bo_link *link = PFL_PTR(pool->free_list[i]); in anv_bo_pool_finish()
995 assert(bucket < ARRAY_SIZE(pool->free_list)); in anv_bo_pool_alloc()
[all …]
Danv_descriptor_set.c347 pool->free_list = EMPTY; in anv_CreateDescriptorPool()
382 pool->free_list = EMPTY; in anv_ResetDescriptorPool()
438 uint32_t *link = &pool->free_list; in anv_descriptor_set_create()
439 for (uint32_t f = pool->free_list; f != EMPTY; f = entry->next) { in anv_descriptor_set_create()
451 if (pool->free_list != EMPTY) { in anv_descriptor_set_create()
530 entry->next = pool->free_list; in anv_descriptor_set_destroy()
532 pool->free_list = (char *) entry - pool->data; in anv_descriptor_set_destroy()
/external/wayland/src/
Dwayland-util.c209 if (map->free_list) { in wl_map_insert_new()
211 entry = &start[map->free_list >> 1]; in wl_map_insert_new()
212 map->free_list = entry->next; in wl_map_insert_new()
313 start[i].next = map->free_list; in wl_map_remove()
314 map->free_list = (i << 1) | 1; in wl_map_remove()
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c559 ffi_trampoline_table_entry *free_list; member
648 table->free_list = table->free_list_pool; in ffi_trampoline_table_alloc()
666 if (table == NULL || table->free_list == NULL) { in ffi_closure_alloc()
682 ffi_trampoline_table_entry *entry = ffi_trampoline_tables->free_list; in ffi_closure_alloc()
683 ffi_trampoline_tables->free_list = entry->next; in ffi_closure_alloc()
709 entry->next = table->free_list; in ffi_closure_free()
710 table->free_list = entry; in ffi_closure_free()
/external/libffi/src/arm/
Dffi.c559 ffi_trampoline_table_entry *free_list; member
648 table->free_list = table->free_list_pool; in ffi_trampoline_table_alloc()
666 if (table == NULL || table->free_list == NULL) { in ffi_closure_alloc()
682 ffi_trampoline_table_entry *entry = ffi_trampoline_tables->free_list; in ffi_closure_alloc()
683 ffi_trampoline_tables->free_list = entry->next; in ffi_closure_alloc()
709 entry->next = table->free_list; in ffi_closure_free()
710 table->free_list = entry; in ffi_closure_free()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h357 Batch *b = region->free_list.Pop(); in AllocateBatch()
367 region->free_list.Push(b); in DeallocateBatch()
513 LFStack<Batch> free_list; member
541 Batch *b = region->free_list.Pop(); in PopulateFreeList()
593 region->free_list.Push(b); in PopulateFreeList()
756 if (sci->free_list.empty()) in AllocateBatch()
758 CHECK(!sci->free_list.empty()); in AllocateBatch()
759 Batch *b = sci->free_list.front(); in AllocateBatch()
760 sci->free_list.pop_front(); in AllocateBatch()
769 sci->free_list.push_front(b); in DeallocateBatch()
[all …]
/external/elfutils/tests/
Drun-readelf-vmcoreinfo.sh92 OFFSET(free_area.free_list)=0
101 LENGTH(free_area.free_list)=5
/external/v8/src/heap/
Dspaces-inl.h154 DCHECK_EQ(free_list(), category->owner()); in UnlinkFreeListCategories()
156 free_list()->RemoveCategory(category); in UnlinkFreeListCategories()
197 reinterpret_cast<PagedSpace*>(owner())->free_list()->EvictFreeListItems(this); in MarkNeverAllocateForTesting()
205 reinterpret_cast<PagedSpace*>(owner())->free_list()->EvictFreeListItems(this); in MarkEvacuationCandidate()
/external/libnetfilter_conntrack/src/conntrack/
Dlabels.c134 static void free_list(struct labelmap_bucket *b) in free_list() function
155 free_list(b); in __labelmap_destroy()

12