Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/comedi/
Ddrivers.c600 unsigned int free_end; in comedi_buf_write_n_available() local
606 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() local
623 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() local
640 if ((int)(async->buf_write_alloc_count + nbytes - free_end) > 0) in comedi_buf_write_alloc_strict()
/linux-3.4.99/mm/
Dpercpu-vm.c305 int free_end = page_start, unmap_end = page_start; in pcpu_populate_chunk() local
329 free_end = re; in pcpu_populate_chunk()
353 pcpu_for_each_unpop_region(chunk, rs, re, page_start, free_end) in pcpu_populate_chunk()
/linux-3.4.99/drivers/mtd/onenand/
Donenand_base.c1046 int free_end = free->offset + free->length; in onenand_transfer_auto_oob() local
1047 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() local
1842 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()