Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 7 of 7) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/
H A Dextent.c104 size_t old_size, new_size, sz; in test_manual_hook_auto_arena() local
124 old_size = sizeof(extent_hooks_t *); in test_manual_hook_auto_arena()
128 &old_size, (void *)&new_hooks, new_size), 0, in test_manual_hook_auto_arena()
141 size_t old_size, new_size, sz; in test_manual_hook_body() local
157 old_size = sizeof(extent_hooks_t *); in test_manual_hook_body()
161 &old_size, (void *)&new_hooks, new_size), 0, in test_manual_hook_body()
188 &old_size, NULL, 0), 0, "Unexpected extent_hooks error"); in test_manual_hook_body()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_indirect_births.c132 uint64_t old_size; in vdev_indirect_births_add_entry() local
145 old_size = vdev_indirect_births_size_impl(vib); in vdev_indirect_births_add_entry()
146 dmu_write(vib->vib_objset, vib->vib_object, old_size, sizeof (vibe), in vdev_indirect_births_add_entry()
152 if (old_size > 0) { in vdev_indirect_births_add_entry()
153 bcopy(vib->vib_entries, new_entries, old_size); in vdev_indirect_births_add_entry()
154 vmem_free(vib->vib_entries, old_size); in vdev_indirect_births_add_entry()
H A Dvdev_indirect_mapping.c395 uint64_t old_size; in vdev_indirect_mapping_add_entries() local
406 old_size = vdev_indirect_mapping_size(vim); in vdev_indirect_mapping_add_entries()
478 ASSERT3U(new_size, >, old_size); in vdev_indirect_mapping_add_entries()
479 ASSERT3U(new_size - old_size, ==, in vdev_indirect_mapping_add_entries()
482 if (old_size > 0) { in vdev_indirect_mapping_add_entries()
483 bcopy(old_entries, vim->vim_entries, old_size); in vdev_indirect_mapping_add_entries()
484 vmem_free(old_entries, old_size); in vdev_indirect_mapping_add_entries()
486 VERIFY0(dmu_read(vim->vim_objset, vim->vim_object, old_size, in vdev_indirect_mapping_add_entries()
487 new_size - old_size, &vim->vim_entries[old_count], in vdev_indirect_mapping_add_entries()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rss.c123 unsigned int old_size = priv->reta_idx_n; in mlx5_rss_reta_index_resize() local
137 if (old_size < reta_size) in mlx5_rss_reta_index_resize()
138 memset(&(*priv->reta_idx)[old_size], 0, in mlx5_rss_reta_index_resize()
139 (reta_size - old_size) * in mlx5_rss_reta_index_resize()
/f-stack/freebsd/vm/
H A Dmemguard.c422 u_long old_size; in memguard_realloc() local
433 old_size = *v2sizep(trunc_page((uintptr_t)addr)); in memguard_realloc()
434 bcopy(addr, newaddr, min(size, old_size)); in memguard_realloc()
/f-stack/dpdk/lib/librte_eal/common/
H A Drte_malloc.c195 const size_t old_size = elem->size - elem->pad - MALLOC_ELEM_OVERHEAD; in rte_realloc_socket() local
196 rte_memcpy(new_ptr, ptr, old_size < size ? old_size : size); in rte_realloc_socket()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_table_algo.c1788 size_t old_size, new_size; in ta_modify_chash() local
1797 old_size = cfg->size4; in ta_modify_chash()
1802 for (i = 0; i < old_size; i++) { in ta_modify_chash()
1818 old_size = cfg->size6; in ta_modify_chash()
1823 for (i = 0; i < old_size; i++) { in ta_modify_chash()
3703 size_t old_size; in ta_modify_fhash() local
3708 old_size = cfg->size; in ta_modify_fhash()
3712 for (i = 0; i < old_size; i++) { in ta_modify_fhash()