Home
last modified time | relevance | path

Searched refs:unused_block (Results 1 – 13 of 13) sorted by relevance

/dports/games/prboom/prboom-2.5.0/src/
H A Dz_bmalloc.c66 enum { unused_block = 0, used_block = 1}; enumerator
72 byte *p = memchr((*pool)->used, unused_block, (*pool)->blocks); // Scan for unused marker in Z_BMalloc()
109 if ((*pool)->used[n] == unused_block) in Z_BFree()
112 (*pool)->used[n] = unused_block; in Z_BFree()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dz_bmalloc.c66 enum { unused_block = 0, used_block = 1}; enumerator
72 byte *p = memchr((*pool)->used, unused_block, (*pool)->blocks); // Scan for unused marker in Z_BMalloc()
109 if ((*pool)->used[n] == unused_block) in Z_BFree()
112 (*pool)->used[n] = unused_block; in Z_BFree()
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Ddata-stack.c88 static struct stack_block *unused_block = NULL; variable
230 else if (unused_block == NULL || in free_blocks()
231 block->size > unused_block->size) { in free_blocks()
232 free(unused_block); in free_blocks()
233 unused_block = block; in free_blocks()
486 if (unused_block != NULL && unused_block->size >= alloc_size) { in t_malloc_real()
487 block = unused_block; in t_malloc_real()
488 unused_block = NULL; in t_malloc_real()
735 free(unused_block); in data_stack_free_unused()
736 unused_block = NULL; in data_stack_free_unused()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dz_bmalloc.c64 enum { unused_block = 0, used_block = 1}; enumerator
71 uint8_t *p = memchr((*pool)->used, unused_block, (*pool)->blocks); // Scan for unused marker in Z_BMalloc()
104 (*pool)->used[n] = unused_block; in Z_BFree()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dqcow2-refcount.c3296 bool unused_block; in qcow2_shrink_reftable() local
3316 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3320 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3324 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dqcow2-refcount.c3374 bool unused_block; in qcow2_shrink_reftable() local
3394 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3398 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3402 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu/qemu-6.2.0/block/
H A Dqcow2-refcount.c3482 bool unused_block; in qcow2_shrink_reftable() local
3502 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3506 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3510 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dqcow2-refcount.c3386 bool unused_block; in qcow2_shrink_reftable() local
3406 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3410 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3414 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dqcow2-refcount.c3386 bool unused_block; in qcow2_shrink_reftable() local
3406 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3410 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3414 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dqcow2-refcount.c3374 bool unused_block; in qcow2_shrink_reftable() local
3394 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3398 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3402 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dqcow2-refcount.c3374 bool unused_block; in qcow2_shrink_reftable() local
3394 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3398 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3402 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dqcow2-refcount.c3374 bool unused_block; in qcow2_shrink_reftable() local
3394 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3398 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3402 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dqcow2-refcount.c3482 bool unused_block; in qcow2_shrink_reftable() local
3502 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3506 unused_block = buffer_is_zero(refblock, s->cluster_size); in qcow2_shrink_reftable()
3510 reftable_tmp[i] = unused_block ? 0 : cpu_to_be64(s->refcount_table[i]); in qcow2_shrink_reftable()