Searched refs:todo (Results 1 – 2 of 2) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 1240 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local 1259 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2() 1262 if (todo && base < buf->head->iov_len) { in xdr_xcode_array2() 1264 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2() 1266 todo -= avail_here; in xdr_xcode_array2() 1296 if (todo && base < buf->page_len) { in xdr_xcode_array2() 1299 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2() 1300 todo -= avail_here; in xdr_xcode_array2() 1396 if (todo) { in xdr_xcode_array2() 1409 todo -= l; in xdr_xcode_array2() [all …]
|
/net/core/ |
D | skbuff.c | 2669 int from, to, merge, todo; in skb_shift() local 2675 todo = shiftlen; in skb_shift() 2690 todo -= skb_frag_size(fragfrom); in skb_shift() 2691 if (todo < 0) { in skb_shift() 2718 while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) { in skb_shift() 2725 if (todo >= skb_frag_size(fragfrom)) { in skb_shift() 2727 todo -= skb_frag_size(fragfrom); in skb_shift() 2735 skb_frag_size_set(fragto, todo); in skb_shift() 2737 fragfrom->page_offset += todo; in skb_shift() 2738 skb_frag_size_sub(fragfrom, todo); in skb_shift() [all …]
|