Lines Matching full:space

329  * comedi_buf_write_alloc() - Reserve buffer space for writing
331 * @nbytes: Maximum space to reserve in bytes.
333 * Reserve up to @nbytes bytes of space to be written in the COMEDI acquisition
335 * by the space available.
337 * Return: The amount of space reserved in bytes.
352 * before we write data to the write-alloc'ed buffer space in comedi_buf_write_alloc()
362 * and kernel space
415 * comedi_buf_write_free() - Free buffer space after it is written
417 * @nbytes: Maximum space to free in bytes.
419 * Free up to @nbytes bytes of space previously reserved for writing in the
421 * space freed is limited to the amount that was reserved. The freed space is
424 * If the samples in the freed space need to be "munged", do so here. The
425 * freed space becomes available for allocation by the reader.
427 * Return: The amount of space freed in bytes.
449 * comedi_buf_read_n_available() - Determine amount of readable buffer space
452 * Determine the amount of readable buffer space in the COMEDI acquisition data
453 * buffer associated with the subdevice. The readable buffer space is that
457 * Return: The amount of readable buffer space.
480 * comedi_buf_read_alloc() - Reserve buffer space for reading
482 * @nbytes: Maximum space to reserve in bytes.
484 * Reserve up to @nbytes bytes of previously written and "munged" buffer space
486 * subdevice. The amount reserved is limited to the space available. The
487 * reader can read from the reserved space and then free it. A reader is also
488 * allowed to read from the space before reserving it as long as it determines
489 * the amount of readable data available, but the space needs to be marked as
492 * Return: The amount of space reserved in bytes.
508 * attempt to read data from the read-alloc'ed buffer space in comedi_buf_read_alloc()
522 * comedi_buf_read_free() - Free buffer space after it has been read
524 * @nbytes: Maximum space to free in bytes.
526 * Free up to @nbytes bytes of buffer space previously reserved for reading in
528 * amount of space freed is limited to the amount that was reserved.
530 * The freed space becomes available for allocation by the writer.
532 * Return: The amount of space freed in bytes.