Lines Matching refs:avail_here
1242 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local
1266 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2()
1268 todo -= avail_here; in xdr_xcode_array2()
1270 while (avail_here >= desc->elem_size) { in xdr_xcode_array2()
1275 avail_here -= desc->elem_size; in xdr_xcode_array2()
1277 if (avail_here) { in xdr_xcode_array2()
1288 memcpy(c, elem, avail_here); in xdr_xcode_array2()
1290 memcpy(elem, c, avail_here); in xdr_xcode_array2()
1291 copied = avail_here; in xdr_xcode_array2()
1301 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2()
1302 todo -= avail_here; in xdr_xcode_array2()
1308 avail_here); in xdr_xcode_array2()
1311 while (avail_here) { in xdr_xcode_array2()
1312 avail_here -= avail_page; in xdr_xcode_array2()
1384 if (avail_here) { in xdr_xcode_array2()
1390 avail_page = min(avail_here, in xdr_xcode_array2()