Lines Matching full:record
64 struct vbva_record *record; in vbva_write() local
69 record = vbva_ctx->record; in vbva_write()
72 !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) in vbva_write()
98 record->len_and_flags += chunk; in vbva_write()
158 vbva_ctx->record = NULL; in vbva_disable()
167 struct vbva_record *record; in vbva_buffer_begin_update() local
174 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update()
186 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update()
187 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update()
189 /* Remember which record we are using. */ in vbva_buffer_begin_update()
190 vbva_ctx->record = record; in vbva_buffer_begin_update()
197 struct vbva_record *record = vbva_ctx->record; in vbva_buffer_end_update() local
199 WARN_ON(!vbva_ctx->vbva || !record || in vbva_buffer_end_update()
200 !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)); in vbva_buffer_end_update()
202 /* Mark the record completed. */ in vbva_buffer_end_update()
203 record->len_and_flags &= ~VBVA_F_RECORD_PARTIAL; in vbva_buffer_end_update()
206 vbva_ctx->record = NULL; in vbva_buffer_end_update()