Searched refs:todo (Results 1 – 2 of 2) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 1348 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local 1367 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2() 1370 if (todo && base < buf->head->iov_len) { in xdr_xcode_array2() 1372 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2() 1374 todo -= avail_here; in xdr_xcode_array2() 1404 if (todo && base < buf->page_len) { in xdr_xcode_array2() 1407 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2() 1408 todo -= avail_here; in xdr_xcode_array2() 1504 if (todo) { in xdr_xcode_array2() 1517 todo -= l; in xdr_xcode_array2() [all …]
|
/net/core/ |
D | skbuff.c | 3344 int from, to, merge, todo; in skb_shift() local 3354 todo = shiftlen; in skb_shift() 3369 todo -= skb_frag_size(fragfrom); in skb_shift() 3370 if (todo < 0) { in skb_shift() 3397 while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) { in skb_shift() 3404 if (todo >= skb_frag_size(fragfrom)) { in skb_shift() 3406 todo -= skb_frag_size(fragfrom); in skb_shift() 3414 skb_frag_size_set(fragto, todo); in skb_shift() 3416 skb_frag_off_add(fragfrom, todo); in skb_shift() 3417 skb_frag_size_sub(fragfrom, todo); in skb_shift() [all …]
|