Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/
H A Dcomedi_buf.c315 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_unalloc() local
317 return free_end - async->buf_write_alloc_count; in comedi_buf_write_n_unalloc()
323 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_available() local
325 return free_end - async->buf_write_count; in comedi_buf_write_n_available()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c787 int free_end = free->offset + free->length; in onenand_transfer_auto_oob() local
788 if (free->offset < readend && free_end > readcol) { in onenand_transfer_auto_oob()
790 int ed = min_t(int,free_end,readend); in onenand_transfer_auto_oob()
1389 int free_end = free->offset + free->length; in onenand_fill_auto_oob() local
1390 if (free->offset < writeend && free_end > writecol) { in onenand_fill_auto_oob()
1392 int ed = min_t(int,free_end,writeend); in onenand_fill_auto_oob()