Lines Matching full:space

330  * comedi_buf_write_alloc() - Reserve buffer space for writing
332 * @nbytes: Maximum space to reserve in bytes.
334 * Reserve up to @nbytes bytes of space to be written in the COMEDI acquisition
336 * by the space available.
338 * Return: The amount of space reserved in bytes.
353 * before we write data to the write-alloc'ed buffer space in comedi_buf_write_alloc()
363 * and kernel space
416 * comedi_buf_write_free() - Free buffer space after it is written
418 * @nbytes: Maximum space to free in bytes.
420 * Free up to @nbytes bytes of space previously reserved for writing in the
422 * space freed is limited to the amount that was reserved. The freed space is
425 * If the samples in the freed space need to be "munged", do so here. The
426 * freed space becomes available for allocation by the reader.
428 * Return: The amount of space freed in bytes.
450 * comedi_buf_read_n_available() - Determine amount of readable buffer space
453 * Determine the amount of readable buffer space in the COMEDI acquisition data
454 * buffer associated with the subdevice. The readable buffer space is that
458 * Return: The amount of readable buffer space.
481 * comedi_buf_read_alloc() - Reserve buffer space for reading
483 * @nbytes: Maximum space to reserve in bytes.
485 * Reserve up to @nbytes bytes of previously written and "munged" buffer space
487 * subdevice. The amount reserved is limited to the space available. The
488 * reader can read from the reserved space and then free it. A reader is also
489 * allowed to read from the space before reserving it as long as it determines
490 * the amount of readable data available, but the space needs to be marked as
493 * Return: The amount of space reserved in bytes.
509 * attempt to read data from the read-alloc'ed buffer space in comedi_buf_read_alloc()
523 * comedi_buf_read_free() - Free buffer space after it has been read
525 * @nbytes: Maximum space to free in bytes.
527 * Free up to @nbytes bytes of buffer space previously reserved for reading in
529 * amount of space freed is limited to the amount that was reserved.
531 * The freed space becomes available for allocation by the writer.
533 * Return: The amount of space freed in bytes.