Searched refs:todo (Results 1 – 2 of 2) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 1882 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local 1901 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2() 1904 if (todo && base < buf->head->iov_len) { in xdr_xcode_array2() 1906 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2() 1908 todo -= avail_here; in xdr_xcode_array2() 1938 if (todo && base < buf->page_len) { in xdr_xcode_array2() 1941 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2() 1942 todo -= avail_here; in xdr_xcode_array2() 2038 if (todo) { in xdr_xcode_array2() 2051 todo -= l; in xdr_xcode_array2() [all …]
|
/net/core/ |
D | skbuff.c | 3674 int from, to, merge, todo; in skb_shift() local 3684 todo = shiftlen; in skb_shift() 3699 todo -= skb_frag_size(fragfrom); in skb_shift() 3700 if (todo < 0) { in skb_shift() 3727 while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) { in skb_shift() 3734 if (todo >= skb_frag_size(fragfrom)) { in skb_shift() 3736 todo -= skb_frag_size(fragfrom); in skb_shift() 3744 skb_frag_size_set(fragto, todo); in skb_shift() 3746 skb_frag_off_add(fragfrom, todo); in skb_shift() 3747 skb_frag_size_sub(fragfrom, todo); in skb_shift() [all …]
|