Lines Matching full:writer

49  *     A writer is modifying the record.
52 * The record and all its data are written. A writer can reopen the
58 * writer cannot reopen the descriptor.
87 * When a writer calls the commit function prb_commit(), record data is
88 * fully stored and is consistent within the ringbuffer. However, a writer can
90 * modify that record. When finished, the writer must again commit the record.
97 * 1) A writer can simultaneously commit and finalize its record by calling
115 * Each data block consists of an ID followed by the writer data. The ID is
128 * If the writer data of a data block would extend beyond the end of the
130 * position and the full data block (ID and writer data) is stored at the
165 * Sample writer code::
185 * Note that additional writer functions are available to extend a record
189 * Sample writer code (record extending)::
285 * set new descriptor id and reserved (state), then allow writer changes
294 * store writer changes, then set new descriptor committed (state)
345 * @data: the writer data
564 * the descriptor has not yet been finalized or another writer context has
588 * against a writer that may have newly reserved this data in data_make_reusable()
592 * the data area has been recycled by another writer. in data_make_reusable()
784 * in the process of being reserved by another writer and in desc_push_tail()
793 * The ID has changed. Another writer must have pushed the in desc_push_tail()
1205 * Given @blk_lpos, return a pointer to the writer data from the data block
1210 * values to possibly detect bugs in the writer code. A WARN_ON_ONCE() is
1272 * so that the record can be modified by a writer again. This is only possible
1331 * @caller_id: The caller ID of the caller (reserving writer).
1337 * The writer specifies the text size to extend (not the new total size) by
1384 /* Now the writer has exclusive access: LMM(prb_reserve_in_last:A) */ in prb_reserve_in_last()
1560 * is either already final or it will finalize itself when the writer commits.
1583 * The writer specifies the text size to reserve by setting the
1591 * function and should be filled in by the writer before committing. Also
1595 * Important: @info->text_len needs to be set correctly by the writer in
1631 * by the writer. Save @seq before clearing because it is used to in prb_reserve()
1696 /* Now the writer has finished all writing: LMM(_prb_commit:A) */ in _prb_commit()
1813 * size to possibly detect bugs in the writer code. A WARN_ON_ONCE() is