Lines Matching refs:tail
49 vector->tail = 0; in u_vector_init_pow2()
63 if (vector->head - vector->tail == vector->size) { in u_vector_add()
68 src_tail = vector->tail & (vector->size - 1); in u_vector_add()
69 dst_tail = vector->tail & (size - 1); in u_vector_add()
81 split = u_align_u32(vector->tail, vector->size); in u_vector_add()
82 assert(vector->tail <= split && split < vector->head); in u_vector_add()
84 split - vector->tail); in u_vector_add()
93 assert(vector->head - vector->tail < vector->size); in u_vector_add()
106 if (vector->head == vector->tail) in u_vector_remove()
109 assert(vector->head - vector->tail <= vector->size); in u_vector_remove()
111 offset = vector->tail & (vector->size - 1); in u_vector_remove()
112 vector->tail += vector->element_size; in u_vector_remove()