Searched refs:avail_here (Results 1 – 1 of 1) sorted by relevance
970 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local994 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2()996 todo -= avail_here; in xdr_xcode_array2()998 while (avail_here >= desc->elem_size) { in xdr_xcode_array2()1003 avail_here -= desc->elem_size; in xdr_xcode_array2()1005 if (avail_here) { in xdr_xcode_array2()1016 memcpy(c, elem, avail_here); in xdr_xcode_array2()1018 memcpy(elem, c, avail_here); in xdr_xcode_array2()1019 copied = avail_here; in xdr_xcode_array2()1029 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2()[all …]