Searched refs:new_capacity (Results 1 – 3 of 3) sorted by relevance
662 u32 new_capacity = 2 * dev->pipes_capacity; in get_free_pipe_id_locked() local664 kcalloc(new_capacity, sizeof(*pipes), GFP_ATOMIC); in get_free_pipe_id_locked()671 dev->pipes_capacity = new_capacity; in get_free_pipe_id_locked()
573 int new_capacity; in pool_allocate() local576 new_capacity = in pool_allocate()581 + new_capacity, GFP_ATOMIC); in pool_allocate()584 packet->capacity = new_capacity; in pool_allocate()
545 unsigned int new_capacity; in dmirror_allocate_chunk() local547 new_capacity = mdevice->devmem_capacity + in dmirror_allocate_chunk()550 sizeof(new_chunks[0]) * new_capacity, in dmirror_allocate_chunk()554 mdevice->devmem_capacity = new_capacity; in dmirror_allocate_chunk()