Searched refs:new_size (Results 1 – 4 of 4) sorted by relevance
667 const size_t new_size = size + elem->pad + MALLOC_ELEM_OVERHEAD; in malloc_elem_resize() local670 if (elem->size >= new_size) { in malloc_elem_resize()679 if (elem->size + elem->next->size < new_size) in malloc_elem_resize()688 if (elem->size - new_size >= MIN_DATA_SIZE + MALLOC_ELEM_OVERHEAD) { in malloc_elem_resize()690 struct malloc_elem *split_pt = RTE_PTR_ADD(elem, new_size); in malloc_elem_resize()
409 uint64_t new_size = fa_offset + page_sz; in resize_hugefile_in_filesystem() local414 *dirty = new_size <= cur_size; in resize_hugefile_in_filesystem()415 if (new_size > cur_size && in resize_hugefile_in_filesystem()416 ftruncate(fd, new_size) < 0) { in resize_hugefile_in_filesystem()
252 unsigned new_size; in rte_mempool_calc_obj_size() local253 new_size = arch_mem_object_align in rte_mempool_calc_obj_size()255 sz->trailer_size = new_size - sz->header_size - sz->elt_size; in rte_mempool_calc_obj_size()
1927 size_t new_size; in sfc_journal_ctx_add_controller() local1950 new_size = ctx->nb_controllers * sizeof(ctx->controllers[0]); in sfc_journal_ctx_add_controller()1952 new_controllers = rte_realloc(ctx->controllers, new_size, 0); in sfc_journal_ctx_add_controller()