Lines Matching refs:vtb2
178 sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count) in sc_vtb_copy() argument
181 if (vtb2->vtb_type == VTB_FRAMEBUFFER) in sc_vtb_copy()
183 sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
187 sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
191 (void *)sc_vtb_pointer(vtb2, to), in sc_vtb_copy()
196 sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int count) in sc_vtb_append() argument
200 if (vtb2->vtb_type != VTB_RINGBUFFER) in sc_vtb_append()
204 len = imin(count, vtb2->vtb_size - vtb2->vtb_tail); in sc_vtb_append()
207 sc_vtb_pointer(vtb2, vtb2->vtb_tail), in sc_vtb_append()
211 (void *)sc_vtb_pointer(vtb2, vtb2->vtb_tail), in sc_vtb_append()
215 vtb2->vtb_tail = vtb_wrap(vtb2, vtb2->vtb_tail, len); in sc_vtb_append()