Home
last modified time | relevance | path

Searched refs:free_objs (Results 1 – 25 of 92) sorted by relevance

1234

/dports/math/py-z3-solver/z3-z3-4.8.10/src/util/
H A Dsmall_object_allocator.cpp179 ptr_vector<char> free_objs; in consolidate() local
184 free_objs.reset(); in consolidate()
192 free_objs.push_back(ptr); in consolidate()
197 if (free_objs.size() < num_objs_per_chunk) in consolidate()
201 std::sort(free_objs.begin(), free_objs.end(), ptr_lt<char>()); in consolidate()
207 unsigned num_objs = free_objs.size(); in consolidate()
215 char * free_obj = free_objs[obj_idx]; in consolidate()
229 void * free_obj = free_objs[i]; in consolidate()
/dports/math/z3/z3-z3-4.8.13/src/util/
H A Dsmall_object_allocator.cpp179 ptr_vector<char> free_objs; in consolidate() local
184 free_objs.reset(); in consolidate()
192 free_objs.push_back(ptr); in consolidate()
197 if (free_objs.size() < num_objs_per_chunk) in consolidate()
201 std::sort(free_objs.begin(), free_objs.end(), ptr_lt<char>()); in consolidate()
207 unsigned num_objs = free_objs.size(); in consolidate()
215 char * free_obj = free_objs[obj_idx]; in consolidate()
229 void * free_obj = free_objs[i]; in consolidate()
/dports/sysutils/u-boot-chip/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c50 struct list_head free_objs; member
216 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
237 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
273 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
303 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c50 struct list_head free_objs; member
216 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
237 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
273 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
303 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c50 struct list_head free_objs; member
216 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
237 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
273 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
303 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c50 struct list_head free_objs; member
216 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
237 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
273 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
303 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-sopine/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-rpi/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/fs/yaffs2/
H A Dyaffs_allocator.c51 struct list_head free_objs; member
217 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
238 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
274 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
300 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
303 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
304 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
324 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()

1234