Home
last modified time | relevance | path

Searched refs:new_capacity (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/platform/goldfish/
H A Dgoldfish_pipe.c662 u32 new_capacity = 2 * dev->pipes_capacity; in get_free_pipe_id_locked() local
664 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()
/openbmc/linux/drivers/tty/ipwireless/
H A Dhardware.c573 int new_capacity; in pool_allocate() local
576 new_capacity = in pool_allocate()
581 + new_capacity, GFP_ATOMIC); in pool_allocate()
584 packet->capacity = new_capacity; in pool_allocate()
/openbmc/linux/lib/
H A Dtest_hmm.c539 unsigned int new_capacity; in dmirror_allocate_chunk() local
541 new_capacity = mdevice->devmem_capacity + in dmirror_allocate_chunk()
544 sizeof(new_chunks[0]) * new_capacity, in dmirror_allocate_chunk()
548 mdevice->devmem_capacity = new_capacity; in dmirror_allocate_chunk()