Lines Matching refs:vtb2
176 sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count) in sc_vtb_copy() argument
179 if (vtb2->vtb_type == VTB_FRAMEBUFFER) in sc_vtb_copy()
181 sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
185 sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
189 (void *)sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
194 sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int count) in sc_vtb_append() argument
198 if (vtb2->vtb_type != VTB_RINGBUFFER) in sc_vtb_append()
202 len = imin(count, vtb2->vtb_size - vtb2->vtb_tail); in sc_vtb_append()
205 sc_vtb_pointer(vtb2, vtb2->vtb_tail), in sc_vtb_append()
209 (void *)sc_vtb_pointer(vtb2, vtb2->vtb_tail), in sc_vtb_append()
213 vtb2->vtb_tail = vtb_wrap(vtb2, vtb2->vtb_tail, len); in sc_vtb_append()