Searched refs:avail_here (Results 1 – 1 of 1) sorted by relevance
2146 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local2170 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2()2172 todo -= avail_here; in xdr_xcode_array2()2174 while (avail_here >= desc->elem_size) { in xdr_xcode_array2()2179 avail_here -= desc->elem_size; in xdr_xcode_array2()2181 if (avail_here) { in xdr_xcode_array2()2192 memcpy(c, elem, avail_here); in xdr_xcode_array2()2194 memcpy(elem, c, avail_here); in xdr_xcode_array2()2195 copied = avail_here; in xdr_xcode_array2()2205 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2()[all …]