Searched refs:element_len (Results 1 – 3 of 3) sorted by relevance
28 lws_ring_create(size_t element_len, size_t count, in lws_ring_create() argument36 ring->buflen = (uint32_t)(count * element_len); in lws_ring_create()37 ring->element_len = (uint32_t)element_len; in lws_ring_create()60 (ring->oldest_tail + ring->element_len) % in lws_ring_destroy()84 f = (int)(ring->buflen - ring->element_len); in lws_ring_get_count_free_elements()88 ring->element_len); in lws_ring_get_count_free_elements()91 ring->element_len); in lws_ring_get_count_free_elements()96 return (unsigned int)f / ring->element_len; in lws_ring_get_count_free_elements()122 return (unsigned int)f / ring->element_len; in lws_ring_get_count_waiting_elements()132 n = (int)(lws_ring_get_count_free_elements(ring) * ring->element_len); in lws_ring_next_linear_insert_range()[all …]
100 lws_ring_create(size_t element_len, size_t count,
303 uint32_t element_len; member