Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/goldfish/
Dgoldfish_pipe.c256 u32 pipes_capacity; member
569 if (WARN_ON(id >= dev->pipes_capacity)) in signalled_pipes_add_locked()
700 for (id = 0; id < dev->pipes_capacity; ++id) in get_free_pipe_id_locked()
706 u32 new_capacity = 2 * dev->pipes_capacity; in get_free_pipe_id_locked()
711 memcpy(pipes, dev->pipes, sizeof(*pipes) * dev->pipes_capacity); in get_free_pipe_id_locked()
714 id = dev->pipes_capacity; in get_free_pipe_id_locked()
715 dev->pipes_capacity = new_capacity; in get_free_pipe_id_locked()
848 dev->pipes_capacity = INITIAL_PIPES_CAPACITY; in goldfish_pipe_device_init()
849 dev->pipes = kcalloc(dev->pipes_capacity, sizeof(*dev->pipes), in goldfish_pipe_device_init()