Home
last modified time | relevance | path

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

/linux/drivers/platform/goldfish/
H A Dgoldfish_pipe.c198 u32 pipes_capacity; member
518 if (WARN_ON(id >= dev->pipes_capacity)) in signalled_pipes_add_locked()
652 for (id = 0; id < dev->pipes_capacity; ++id) in get_free_pipe_id_locked()
661 u32 new_capacity = 2 * dev->pipes_capacity; in get_free_pipe_id_locked()
666 memcpy(pipes, dev->pipes, sizeof(*pipes) * dev->pipes_capacity); in get_free_pipe_id_locked()
669 id = dev->pipes_capacity; in get_free_pipe_id_locked()
670 dev->pipes_capacity = new_capacity; in get_free_pipe_id_locked()
828 dev->pipes_capacity = INITIAL_PIPES_CAPACITY; in goldfish_pipe_device_init()
829 dev->pipes = kcalloc(dev->pipes_capacity, sizeof(*dev->pipes), in goldfish_pipe_device_init()