Lines Matching defs:vtb2
188 sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count)
192 if (vtb2->vtb_type == VTB_FRAMEBUFFER)
194 sc_vtb_pointer(vtb2, to),
198 sc_vtb_pointer(vtb2, to),
203 (void *)sc_vtb_pointer(vtb2, to),
208 sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int count)
212 if (vtb2->vtb_type != VTB_RINGBUFFER)
216 len = imin(count, vtb2->vtb_size - vtb2->vtb_tail);
220 sc_vtb_pointer(vtb2, vtb2->vtb_tail),
225 (void *)sc_vtb_pointer(vtb2, vtb2->vtb_tail),
229 vtb2->vtb_tail = vtb_wrap(vtb2, vtb2->vtb_tail, len);