Home
last modified time | relevance | path

Searched refs:free_end (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/comedi/
Dcomedi_buf.c251 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_unalloc() local
253 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() local
261 return free_end - async->buf_write_count; in comedi_buf_write_n_available()
/drivers/nvdimm/
Dnamespace_devs.c550 resource_size_t allocate, available = 0, free_start, free_end; in scan_allocate() local
573 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()
/drivers/mtd/onenand/
Donenand_base.c1045 int free_end = free->offset + free->length; in onenand_transfer_auto_oob() local
1046 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() local
1837 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()