Lines Matching refs:avail_here
1567 unsigned int copied = 0, todo, avail_here;
1591 avail_here = min_t(unsigned int, todo,
1593 todo -= avail_here;
1595 while (avail_here >= desc->elem_size) {
1600 avail_here -= desc->elem_size;
1602 if (avail_here) {
1613 memcpy(c, elem, avail_here);
1615 memcpy(elem, c, avail_here);
1616 copied = avail_here;
1626 avail_here = min(todo, buf->page_len - base);
1627 todo -= avail_here;
1633 avail_here);
1636 while (avail_here) {
1637 avail_here -= avail_page;
1709 if (avail_here) {
1715 avail_page = min(avail_here,