Searched refs:avail_here (Results 1 – 1 of 1) sorted by relevance
1237 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local1261 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2()1263 todo -= avail_here; in xdr_xcode_array2()1265 while (avail_here >= desc->elem_size) { in xdr_xcode_array2()1270 avail_here -= desc->elem_size; in xdr_xcode_array2()1272 if (avail_here) { in xdr_xcode_array2()1283 memcpy(c, elem, avail_here); in xdr_xcode_array2()1285 memcpy(elem, c, avail_here); in xdr_xcode_array2()1286 copied = avail_here; in xdr_xcode_array2()1296 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2()[all …]