Searched refs:free_end (Results 1 – 3 of 3) sorted by relevance
251 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_unalloc() local253 return free_end - async->buf_write_alloc_count; in comedi_buf_write_n_unalloc()259 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_available() local261 return free_end - async->buf_write_count; in comedi_buf_write_n_available()
550 resource_size_t allocate, available = 0, free_start, free_end; in scan_allocate() local573 free_end = min(mapping_end, next->start - 1); in scan_allocate()575 && free_start < free_end) { in scan_allocate()576 available = free_end + 1 - free_start; in scan_allocate()584 free_end = mapping_end; in scan_allocate()586 && free_start < free_end) { in scan_allocate()587 available = free_end + 1 - free_start; in scan_allocate()
1045 int free_end = free->offset + free->length; in onenand_transfer_auto_oob() local1046 if (free->offset < readend && free_end > readcol) { in onenand_transfer_auto_oob()1048 int ed = min_t(int,free_end,readend); in onenand_transfer_auto_oob()1836 int free_end = free->offset + free->length; in onenand_fill_auto_oob() local1837 if (free->offset < writeend && free_end > writecol) { in onenand_fill_auto_oob()1839 int ed = min_t(int,free_end,writeend); in onenand_fill_auto_oob()