Lines Matching full:writer

48  *     A writer is modifying the record.
51 * The record and all its data are written. A writer can reopen the
57 * writer cannot reopen the descriptor.
86 * When a writer calls the commit function prb_commit(), record data is
87 * fully stored and is consistent within the ringbuffer. However, a writer can
89 * modify that record. When finished, the writer must again commit the record.
96 * 1) A writer can simultaneously commit and finalize its record by calling
114 * Each data block consists of an ID followed by the writer data. The ID is
127 * If the writer data of a data block would extend beyond the end of the
129 * position and the full data block (ID and writer data) is stored at the
164 * Sample writer code::
184 * Note that additional writer functions are available to extend a record
188 * Sample writer code (record extending)::
284 * set new descriptor id and reserved (state), then allow writer changes
293 * store writer changes, then set new descriptor committed (state)
341 * @data: the writer data
560 * the descriptor has not yet been finalized or another writer context has
584 * against a writer that may have newly reserved this data in data_make_reusable()
588 * the data area has been recycled by another writer. in data_make_reusable()
780 * in the process of being reserved by another writer and in desc_push_tail()
789 * The ID has changed. Another writer must have pushed the in desc_push_tail()
1197 * Given @blk_lpos, return a pointer to the writer data from the data block
1202 * values to possibly detect bugs in the writer code. A WARN_ON_ONCE() is
1256 * so that the record can be modified by a writer again. This is only possible
1315 * @caller_id: The caller ID of the caller (reserving writer).
1321 * The writer specifies the text size to extend (not the new total size) by
1368 /* Now the writer has exclusive access: LMM(prb_reserve_in_last:A) */ in prb_reserve_in_last()
1446 * is either already final or it will finalize itself when the writer commits.
1469 * The writer specifies the text size to reserve by setting the
1477 * function and should be filled in by the writer before committing. Also
1481 * Important: @info->text_len needs to be set correctly by the writer in
1517 * by the writer. Save @seq before clearing because it is used to in prb_reserve()
1582 /* Now the writer has finished all writing: LMM(_prb_commit:A) */ in _prb_commit()
1702 * size to possibly detect bugs in the writer code. A WARN_ON_ONCE() is