Searched refs:free_end (Results 1 – 2 of 2) sorted by relevance
600 unsigned int free_end; in comedi_buf_write_n_available() local606 free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_available()607 nbytes = free_end - async->buf_write_alloc_count; in comedi_buf_write_n_available()621 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_alloc() local623 if ((int)(async->buf_write_alloc_count + nbytes - free_end) > 0) in comedi_buf_write_alloc()624 nbytes = free_end - async->buf_write_alloc_count; in comedi_buf_write_alloc()638 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_alloc_strict() local640 if ((int)(async->buf_write_alloc_count + nbytes - free_end) > 0) in comedi_buf_write_alloc_strict()
1046 int free_end = free->offset + free->length; in onenand_transfer_auto_oob() local1047 if (free->offset < readend && free_end > readcol) { in onenand_transfer_auto_oob()1049 int ed = min_t(int,free_end,readend); in onenand_transfer_auto_oob()1841 int free_end = free->offset + free->length; in onenand_fill_auto_oob() local1842 if (free->offset < writeend && free_end > writecol) { in onenand_fill_auto_oob()1844 int ed = min_t(int,free_end,writeend); in onenand_fill_auto_oob()