Searched refs:new_pool (Results 1 – 4 of 4) sorted by relevance
415 struct proppool *new_pool, *tmp; in prop_clear() local423 new_pool = alloc_proppool(ctx->mem_base->size + in prop_clear()431 struct propval *new_values = (struct propval *)new_pool->data; in prop_clear()449 new_pool->unused = in prop_clear()450 new_pool->size - (ctx->allocated_values * sizeof(struct propval)); in prop_clear()453 ctx->values = (struct propval *)new_pool->data; in prop_clear()457 ctx->mem_base = ctx->mem_cur = new_pool; in prop_clear()
647 uint8_t *new_pool; in idm_idpool_increment() local654 new_pool = kmem_alloc(new_size / 8, KM_NOSLEEP); in idm_idpool_increment()655 if (new_pool) { in idm_idpool_increment()656 bzero(new_pool, new_size / 8); in idm_idpool_increment()657 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in idm_idpool_increment()659 pool->id_pool = new_pool; in idm_idpool_increment()
219 uint8_t *new_pool; in smb_idpool_increment() local226 new_pool = kmem_alloc(new_size / 8, KM_NOSLEEP); in smb_idpool_increment()227 if (new_pool) { in smb_idpool_increment()228 bzero(new_pool, new_size / 8); in smb_idpool_increment()229 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in smb_idpool_increment()231 pool->id_pool = new_pool; in smb_idpool_increment()
2947 new_pool->pool_next = NULL; in emlxs_fca_ub_alloc()2948 new_pool->pool_type = type; in emlxs_fca_ub_alloc()2949 new_pool->pool_buf_size = size; in emlxs_fca_ub_alloc()2951 new_pool->pool_available = new_pool->pool_nentries; in emlxs_fca_ub_alloc()2952 new_pool->pool_free = free; in emlxs_fca_ub_alloc()2954 new_pool->fc_ubufs = in emlxs_fca_ub_alloc()2958 new_pool->pool_last_token = port->ub_count + new_pool->pool_nentries; in emlxs_fca_ub_alloc()2979 ub_priv->pool = new_pool; in emlxs_fca_ub_alloc()2996 new_pool->pool_prev = NULL; in emlxs_fca_ub_alloc()3002 port->ub_pool = new_pool; in emlxs_fca_ub_alloc()[all …]