todo 188 arch/powerpc/platforms/powernv/opal-lpc.c u32 data, pos, len, todo; todo 194 arch/powerpc/platforms/powernv/opal-lpc.c todo = count; todo 195 arch/powerpc/platforms/powernv/opal-lpc.c while (todo) { todo 205 arch/powerpc/platforms/powernv/opal-lpc.c if (todo > 3 && (pos & 3) == 0) todo 207 arch/powerpc/platforms/powernv/opal-lpc.c else if (todo > 1 && (pos & 1) == 0) todo 269 arch/powerpc/platforms/powernv/opal-lpc.c todo -= len; todo 279 arch/powerpc/platforms/powernv/opal-lpc.c u32 data, pos, len, todo; todo 285 arch/powerpc/platforms/powernv/opal-lpc.c todo = count; todo 286 arch/powerpc/platforms/powernv/opal-lpc.c while (todo) { todo 296 arch/powerpc/platforms/powernv/opal-lpc.c if (todo > 3 && (pos & 3) == 0) todo 298 arch/powerpc/platforms/powernv/opal-lpc.c else if (todo > 1 && (pos & 1) == 0) todo 340 arch/powerpc/platforms/powernv/opal-lpc.c todo -= len; todo 999 arch/sparc/kernel/ds.c LIST_HEAD(todo); todo 1002 arch/sparc/kernel/ds.c list_splice_init(&ds_work_list, &todo); todo 1005 arch/sparc/kernel/ds.c list_for_each_entry_safe(qp, tmp, &todo, list) { todo 476 drivers/android/binder.c struct list_head todo; todo 545 drivers/android/binder.c struct list_head todo; todo 820 drivers/android/binder.c binder_enqueue_work_ilocked(work, &thread->todo); todo 838 drivers/android/binder.c binder_enqueue_work_ilocked(work, &thread->todo); todo 925 drivers/android/binder.c !binder_worklist_empty_ilocked(&thread->proc->todo)); todo 942 drivers/android/binder.c binder_worklist_empty_ilocked(&thread->todo) && todo 1211 drivers/android/binder.c struct binder_thread, todo); todo 1213 drivers/android/binder.c BUG_ON(&thread->todo != target_list); todo 1272 drivers/android/binder.c binder_enqueue_work_ilocked(&node->work, &proc->todo); todo 2467 drivers/android/binder.c &thread->todo, &rdata); todo 2786 drivers/android/binder.c binder_enqueue_work_ilocked(&t->work, &proc->todo); todo 2996 drivers/android/binder.c w = list_first_entry_or_null(&thread->todo, todo 3587 drivers/android/binder.c w, &proc->todo); todo 3928 drivers/android/binder.c &ref->death->work, &proc->todo); todo 3963 drivers/android/binder.c &proc->todo); todo 4019 drivers/android/binder.c &proc->todo); todo 4202 drivers/android/binder.c !binder_worklist_empty(proc, &thread->todo)); todo 4237 drivers/android/binder.c if (!binder_worklist_empty_ilocked(&thread->todo)) todo 4238 drivers/android/binder.c list = &thread->todo; todo 4239 drivers/android/binder.c else if (!binder_worklist_empty_ilocked(&proc->todo) && todo 4241 drivers/android/binder.c list = &proc->todo; todo 4256 drivers/android/binder.c if (binder_worklist_empty_ilocked(&thread->todo)) todo 4656 drivers/android/binder.c INIT_LIST_HEAD(&thread->todo); todo 4691 drivers/android/binder.c BUG_ON(!list_empty(&proc->todo)); todo 4701 drivers/android/binder.c BUG_ON(!list_empty(&thread->todo)); todo 4794 drivers/android/binder.c binder_release_work(proc, &thread->todo); todo 4868 drivers/android/binder.c if (!binder_worklist_empty_ilocked(&proc->todo)) todo 5222 drivers/android/binder.c INIT_LIST_HEAD(&proc->todo); todo 5394 drivers/android/binder.c &ref->proc->todo); todo 5488 drivers/android/binder.c binder_release_work(proc, &proc->todo); todo 5657 drivers/android/binder.c list_for_each_entry(w, &thread->todo, entry) { todo 5762 drivers/android/binder.c list_for_each_entry(w, &proc->todo, entry) todo 5923 drivers/android/binder.c list_for_each_entry(w, &proc->todo, entry) { todo 109 drivers/atm/suni.c if (todo & flag) { \ todo 112 drivers/atm/suni.c todo &= ~flag; \ todo 118 drivers/atm/suni.c int todo; todo 120 drivers/atm/suni.c if (get_user(todo,(int __user *)arg)) return -EFAULT; todo 129 drivers/atm/suni.c return put_user(todo,(int __user *)arg) ? -EFAULT : 0; todo 423 drivers/base/devres.c struct list_head *todo) todo 448 drivers/base/devres.c list_move_tail(&node->entry, todo); todo 482 drivers/base/devres.c list_move_tail(&grp->node[0].entry, todo); todo 494 drivers/base/devres.c LIST_HEAD(todo); todo 498 drivers/base/devres.c cnt = remove_nodes(dev, first, end, &todo); todo 505 drivers/base/devres.c list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { todo 1221 drivers/base/firmware_loader/main.c LIST_HEAD(todo); todo 1228 drivers/base/firmware_loader/main.c dev_create_fw_entry, &todo); todo 1230 drivers/base/firmware_loader/main.c list_for_each_entry_safe(fce, fce_next, &todo, list) { todo 2014 drivers/block/drbd/drbd_worker.c static void do_device_work(struct drbd_device *device, const unsigned long todo) todo 2016 drivers/block/drbd/drbd_worker.c if (test_bit(MD_SYNC, &todo)) todo 2018 drivers/block/drbd/drbd_worker.c if (test_bit(RS_DONE, &todo) || todo 2019 drivers/block/drbd/drbd_worker.c test_bit(RS_PROGRESS, &todo)) todo 2020 drivers/block/drbd/drbd_worker.c update_on_disk_bitmap(device, test_bit(RS_DONE, &todo)); todo 2021 drivers/block/drbd/drbd_worker.c if (test_bit(GO_DISKLESS, &todo)) todo 2023 drivers/block/drbd/drbd_worker.c if (test_bit(DESTROY_DISK, &todo)) todo 2025 drivers/block/drbd/drbd_worker.c if (test_bit(RS_START, &todo)) todo 2056 drivers/block/drbd/drbd_worker.c unsigned long todo = get_work_bits(&device->flags); todo 2057 drivers/block/drbd/drbd_worker.c if (!todo) todo 2062 drivers/block/drbd/drbd_worker.c do_device_work(device, todo); todo 32 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c unsigned int todo; todo 75 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt, ileft); todo 76 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo, (mi.length - oi) / 4); todo 77 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (todo) { todo 78 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c ileft -= todo; todo 79 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); todo 80 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oi += todo * 4; todo 91 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(tx_cnt, oleft); todo 92 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo, (mo.length - oo) / 4); todo 93 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (todo) { todo 94 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oleft -= todo; todo 95 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c readsl(ss->base + SS_TXFIFO, mo.addr + oo, todo); todo 96 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oo += todo * 4; todo 165 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c unsigned int todo; todo 244 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt, ileft / 4); todo 245 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo, (mi.length - oi) / 4); todo 246 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (todo && !ob) { todo 248 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo); todo 249 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c ileft -= todo * 4; todo 250 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oi += todo * 4; todo 259 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt * 4 - ob, ileft); todo 260 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo, mi.length - oi); todo 261 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memcpy(buf + ob, mi.addr + oi, todo); todo 262 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c ileft -= todo; todo 263 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oi += todo; todo 264 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c ob += todo; todo 289 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(tx_cnt, oleft / 4); todo 290 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo, (mo.length - oo) / 4); todo 291 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (todo) { todo 292 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c readsl(ss->base + SS_TXFIFO, mo.addr + oo, todo); todo 293 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oleft -= todo * 4; todo 294 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oo += todo * 4; todo 316 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min_t(size_t, todo 318 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memcpy(mo.addr + oo, bufo + obo, todo); todo 319 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oleft -= todo; todo 320 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c obo += todo; todo 321 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c oo += todo; todo 176 drivers/crypto/sunxi-ss/sun4i-ss-hash.c unsigned int i = 0, end, fill, min_fill, nwait, nbw = 0, j = 0, todo; todo 300 drivers/crypto/sunxi-ss/sun4i-ss-hash.c todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); todo 301 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writesl(ss->base + SS_RXFIFO, mi.addr + in_i, todo); todo 302 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count += todo * 4; todo 303 drivers/crypto/sunxi-ss/sun4i-ss-hash.c i += todo * 4; todo 304 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_i += todo * 4; todo 305 drivers/crypto/sunxi-ss/sun4i-ss-hash.c rx_cnt -= todo; todo 26 drivers/crypto/sunxi-ss/sun4i-ss-prng.c unsigned int todo = (dlen / 4) * 4; todo 35 drivers/crypto/sunxi-ss/sun4i-ss-prng.c while (todo > 0) { todo 41 drivers/crypto/sunxi-ss/sun4i-ss-prng.c len = min_t(size_t, SS_DATA_LEN / BITS_PER_BYTE, todo); todo 44 drivers/crypto/sunxi-ss/sun4i-ss-prng.c todo -= len; todo 129 drivers/firewire/core-cdev.c ISO_RES_ALLOC_ONCE, ISO_RES_DEALLOC_ONCE,} todo; todo 1240 drivers/firewire/core-cdev.c int generation, channel, bandwidth, todo; todo 1245 drivers/firewire/core-cdev.c todo = r->todo; todo 1247 drivers/firewire/core-cdev.c if (todo == ISO_RES_ALLOC && todo 1254 drivers/firewire/core-cdev.c skip = todo == ISO_RES_REALLOC && todo 1257 drivers/firewire/core-cdev.c free = todo == ISO_RES_DEALLOC || todo 1258 drivers/firewire/core-cdev.c todo == ISO_RES_ALLOC_ONCE || todo 1259 drivers/firewire/core-cdev.c todo == ISO_RES_DEALLOC_ONCE; todo 1270 drivers/firewire/core-cdev.c todo == ISO_RES_ALLOC || todo 1271 drivers/firewire/core-cdev.c todo == ISO_RES_REALLOC || todo 1272 drivers/firewire/core-cdev.c todo == ISO_RES_ALLOC_ONCE); todo 1279 drivers/firewire/core-cdev.c (todo == ISO_RES_ALLOC || todo == ISO_RES_REALLOC)) todo 1289 drivers/firewire/core-cdev.c if (r->todo == ISO_RES_ALLOC) todo 1290 drivers/firewire/core-cdev.c r->todo = ISO_RES_REALLOC; todo 1295 drivers/firewire/core-cdev.c if (r->todo == ISO_RES_REALLOC && !success && todo 1303 drivers/firewire/core-cdev.c if (todo == ISO_RES_ALLOC && channel >= 0) todo 1306 drivers/firewire/core-cdev.c if (todo == ISO_RES_REALLOC && success) todo 1309 drivers/firewire/core-cdev.c if (todo == ISO_RES_ALLOC || todo == ISO_RES_ALLOC_ONCE) { todo 1340 drivers/firewire/core-cdev.c r->todo = ISO_RES_DEALLOC; todo 1346 drivers/firewire/core-cdev.c struct fw_cdev_allocate_iso_resource *request, int todo) todo 1366 drivers/firewire/core-cdev.c r->todo = todo; todo 1378 drivers/firewire/core-cdev.c if (todo == ISO_RES_ALLOC) { todo 159 drivers/gpu/drm/drm_dp_aux_dev.c ssize_t todo = min(iov_iter_count(to), sizeof(buf)); todo 168 drivers/gpu/drm/drm_dp_aux_dev.c todo); todo 170 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); todo 206 drivers/gpu/drm/drm_dp_aux_dev.c ssize_t todo = min(iov_iter_count(from), sizeof(buf)); todo 213 drivers/gpu/drm/drm_dp_aux_dev.c if (!copy_from_iter_full(buf, todo, from)) { todo 220 drivers/gpu/drm/drm_dp_aux_dev.c todo); todo 222 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo); todo 152 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u64 mask, todo; todo 159 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c for (todo = mask; engn = __ffs64(todo), todo; todo &= ~BIT_ULL(engn)) todo 163 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c for (todo = mask; engn = __ffs64(todo), todo; todo &= ~BIT_ULL(engn)) { todo 281 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 engm, runm, todo; todo 293 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c for (todo = engm; engn = __ffs(todo), todo; todo &= ~BIT(engn)) { todo 300 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c for (todo = runm; runl = __ffs(todo), todo; todo &= ~BIT(runl)) todo 1152 drivers/ide/ide-tape.c size_t todo; todo 1167 drivers/ide/ide-tape.c todo = min_t(size_t, count - done, tape->valid); todo 1168 drivers/ide/ide-tape.c if (copy_to_user(buf + done, tape->cur, todo)) todo 1171 drivers/ide/ide-tape.c tape->cur += todo; todo 1172 drivers/ide/ide-tape.c tape->valid -= todo; todo 1173 drivers/ide/ide-tape.c done += todo; todo 1205 drivers/ide/ide-tape.c size_t todo; todo 1214 drivers/ide/ide-tape.c todo = min_t(size_t, count - done, todo 1216 drivers/ide/ide-tape.c if (copy_from_user(tape->cur, buf + done, todo)) todo 1219 drivers/ide/ide-tape.c tape->cur += todo; todo 1220 drivers/ide/ide-tape.c tape->valid += todo; todo 1221 drivers/ide/ide-tape.c done += todo; todo 589 drivers/md/dm-stats.c sector_t rel_sector, offset, todo, fragment_len; todo 596 drivers/md/dm-stats.c todo = end_sector - s->start; todo 599 drivers/md/dm-stats.c todo = end_sector - bi_sector; todo 602 drivers/md/dm-stats.c todo -= (end_sector - s->end); todo 611 drivers/md/dm-stats.c fragment_len = todo; todo 616 drivers/md/dm-stats.c todo -= fragment_len; todo 619 drivers/md/dm-stats.c } while (unlikely(todo != 0)); todo 370 drivers/md/dm-verity-target.c unsigned int todo = 1 << v->data_dev_block_bits; todo 384 drivers/md/dm-verity-target.c if (likely(len >= todo)) todo 385 drivers/md/dm-verity-target.c len = todo; todo 401 drivers/md/dm-verity-target.c todo -= len; todo 402 drivers/md/dm-verity-target.c } while (todo); todo 417 drivers/md/dm-verity-target.c unsigned todo = 1 << v->data_dev_block_bits; todo 429 drivers/md/dm-verity-target.c if (likely(len >= todo)) todo 430 drivers/md/dm-verity-target.c len = todo; todo 439 drivers/md/dm-verity-target.c todo -= len; todo 440 drivers/md/dm-verity-target.c } while (todo); todo 67 drivers/media/dvb-core/dmxdev.c size_t todo; todo 80 drivers/media/dvb-core/dmxdev.c for (todo = count; todo > 0; todo -= ret) { todo 99 drivers/media/dvb-core/dmxdev.c if (avail > todo) todo 100 drivers/media/dvb-core/dmxdev.c avail = todo; todo 109 drivers/media/dvb-core/dmxdev.c return (count - todo) ? (count - todo) : ret; todo 764 drivers/media/dvb-core/dmxdev.c filter->todo = 0; todo 979 drivers/media/dvb-core/dmxdev.c if (dfil->todo <= 0) { todo 980 drivers/media/dvb-core/dmxdev.c hcount = 3 + dfil->todo; todo 987 drivers/media/dvb-core/dmxdev.c dfil->todo = 0; todo 990 drivers/media/dvb-core/dmxdev.c if (copy_from_user(dfil->secheader - dfil->todo, buf, result)) todo 995 drivers/media/dvb-core/dmxdev.c dfil->todo -= result; todo 996 drivers/media/dvb-core/dmxdev.c if (dfil->todo > -3) todo 998 drivers/media/dvb-core/dmxdev.c dfil->todo = ((dfil->secheader[1] << 8) | dfil->secheader[2]) & 0xfff; todo 1002 drivers/media/dvb-core/dmxdev.c if (count > dfil->todo) todo 1003 drivers/media/dvb-core/dmxdev.c count = dfil->todo; todo 1009 drivers/media/dvb-core/dmxdev.c dfil->todo -= result; todo 135 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo = len; todo 143 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 150 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+rbuf->pread, todo)) todo 154 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); todo 161 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo = len; todo 168 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 175 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+rbuf->pread, todo); todo 178 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); todo 184 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo = len; todo 192 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 200 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(rbuf->data+rbuf->pwrite, buf, todo); todo 202 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); todo 211 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo = len; todo 219 drivers/media/dvb-core/dvb_ringbuffer.c return len - todo; todo 221 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 229 drivers/media/dvb-core/dvb_ringbuffer.c status = copy_from_user(rbuf->data+rbuf->pwrite, buf, todo); todo 231 drivers/media/dvb-core/dvb_ringbuffer.c return len - todo; todo 233 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); todo 255 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo; todo 265 drivers/media/dvb-core/dvb_ringbuffer.c todo = len; todo 271 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 274 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+idx, todo)) todo 283 drivers/media/dvb-core/dvb_ringbuffer.c size_t todo; todo 293 drivers/media/dvb-core/dvb_ringbuffer.c todo = len; todo 298 drivers/media/dvb-core/dvb_ringbuffer.c todo -= split; todo 301 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+idx, todo); todo 263 drivers/media/dvb-core/dvb_vb2.c int todo = len; todo 278 drivers/media/dvb-core/dvb_vb2.c while (todo) { todo 300 drivers/media/dvb-core/dvb_vb2.c ll = min(todo, ctx->remain); todo 303 drivers/media/dvb-core/dvb_vb2.c todo -= ll; todo 324 drivers/media/dvb-core/dvb_vb2.c if (todo) todo 325 drivers/media/dvb-core/dvb_vb2.c dprintk(1, "[%s] %d bytes are dropped.\n", ctx->name, todo); todo 329 drivers/media/dvb-core/dvb_vb2.c dprintk(3, "[%s] %d bytes are copied\n", ctx->name, len - todo); todo 330 drivers/media/dvb-core/dvb_vb2.c return (len - todo); todo 1447 drivers/media/dvb-frontends/drx39xyj/drxj.c u16 todo = (datasize < DRXDAP_MAX_RCHUNKSIZE ? todo 1486 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data); todo 1489 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, todo 1492 drivers/media/dvb-frontends/drx39xyj/drxj.c data += todo; todo 1493 drivers/media/dvb-frontends/drx39xyj/drxj.c addr += (todo >> 1); todo 1494 drivers/media/dvb-frontends/drx39xyj/drxj.c datasize -= todo; todo 1625 drivers/media/dvb-frontends/drx39xyj/drxj.c u16 todo = 0; todo 1662 drivers/media/dvb-frontends/drx39xyj/drxj.c todo = (block_size < datasize ? block_size : datasize); todo 1663 drivers/media/dvb-frontends/drx39xyj/drxj.c if (todo == 0) { todo 1684 drivers/media/dvb-frontends/drx39xyj/drxj.c todo = todo 1688 drivers/media/dvb-frontends/drx39xyj/drxj.c memcpy(&buf[bufx], data, todo); todo 1691 drivers/media/dvb-frontends/drx39xyj/drxj.c (u16) (bufx + todo), todo 1700 drivers/media/dvb-frontends/drx39xyj/drxj.c datasize -= todo; todo 1701 drivers/media/dvb-frontends/drx39xyj/drxj.c data += todo; todo 1702 drivers/media/dvb-frontends/drx39xyj/drxj.c addr += (todo >> 1); todo 41 drivers/media/pci/bt8xx/bttv-risc.c u32 instructions,line,todo; todo 85 drivers/media/pci/bt8xx/bttv-risc.c todo = bpl; todo 89 drivers/media/pci/bt8xx/bttv-risc.c todo -= (sg_dma_len(sg)-offset); todo 92 drivers/media/pci/bt8xx/bttv-risc.c while (todo > sg_dma_len(sg)) { todo 96 drivers/media/pci/bt8xx/bttv-risc.c todo -= sg_dma_len(sg); todo 100 drivers/media/pci/bt8xx/bttv-risc.c todo); todo 102 drivers/media/pci/bt8xx/bttv-risc.c offset += todo; todo 122 drivers/media/pci/bt8xx/bttv-risc.c unsigned int instructions,line,todo,ylen,chroma; todo 174 drivers/media/pci/bt8xx/bttv-risc.c for (todo = ybpl; todo > 0; todo -= ylen) { todo 182 drivers/media/pci/bt8xx/bttv-risc.c ylen = todo; todo 203 drivers/media/pci/bt8xx/bttv-risc.c if (ybpl == todo) todo 205 drivers/media/pci/bt8xx/bttv-risc.c if (ylen == todo) todo 1137 drivers/media/pci/cx23885/cx23885-core.c unsigned int line, todo, sol; todo 1171 drivers/media/pci/cx23885/cx23885-core.c todo = bpl; todo 1176 drivers/media/pci/cx23885/cx23885-core.c todo -= (sg_dma_len(sg)-offset); todo 1179 drivers/media/pci/cx23885/cx23885-core.c while (todo > sg_dma_len(sg)) { todo 1184 drivers/media/pci/cx23885/cx23885-core.c todo -= sg_dma_len(sg); todo 1187 drivers/media/pci/cx23885/cx23885-core.c *(rp++) = cpu_to_le32(RISC_WRITE|RISC_EOL|todo); todo 1190 drivers/media/pci/cx23885/cx23885-core.c offset += todo; todo 999 drivers/media/pci/cx25821/cx25821-core.c unsigned int line, todo; todo 1027 drivers/media/pci/cx25821/cx25821-core.c todo = bpl; todo 1032 drivers/media/pci/cx25821/cx25821-core.c todo -= (sg_dma_len(sg) - offset); todo 1035 drivers/media/pci/cx25821/cx25821-core.c while (todo > sg_dma_len(sg)) { todo 1040 drivers/media/pci/cx25821/cx25821-core.c todo -= sg_dma_len(sg); todo 1043 drivers/media/pci/cx25821/cx25821-core.c *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); todo 1046 drivers/media/pci/cx25821/cx25821-core.c offset += todo; todo 1110 drivers/media/pci/cx25821/cx25821-core.c unsigned int line, todo, sol; todo 1138 drivers/media/pci/cx25821/cx25821-core.c todo = bpl; todo 1143 drivers/media/pci/cx25821/cx25821-core.c todo -= (sg_dma_len(sg) - offset); todo 1146 drivers/media/pci/cx25821/cx25821-core.c while (todo > sg_dma_len(sg)) { todo 1151 drivers/media/pci/cx25821/cx25821-core.c todo -= sg_dma_len(sg); todo 1154 drivers/media/pci/cx25821/cx25821-core.c *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); todo 1157 drivers/media/pci/cx25821/cx25821-core.c offset += todo; todo 76 drivers/media/pci/cx88/cx88-core.c unsigned int line, todo, sol; todo 106 drivers/media/pci/cx88/cx88-core.c todo = bpl; todo 110 drivers/media/pci/cx88/cx88-core.c todo -= (sg_dma_len(sg) - offset); todo 113 drivers/media/pci/cx88/cx88-core.c while (todo > sg_dma_len(sg)) { todo 117 drivers/media/pci/cx88/cx88-core.c todo -= sg_dma_len(sg); todo 120 drivers/media/pci/cx88/cx88-core.c *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); todo 122 drivers/media/pci/cx88/cx88-core.c offset += todo; todo 528 drivers/media/pci/cx88/cx88-input.c unsigned int todo, bits; todo 544 drivers/media/pci/cx88/cx88-input.c for (todo = 32; todo > 0; todo -= bits) { todo 546 drivers/media/pci/cx88/cx88-input.c bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); todo 387 drivers/media/pci/ttpci/av7110_av.c unsigned long todo = count; todo 390 drivers/media/pci/ttpci/av7110_av.c while (todo > 0) { todo 394 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 397 drivers/media/pci/ttpci/av7110_av.c if (free > todo) todo 398 drivers/media/pci/ttpci/av7110_av.c free = todo; todo 400 drivers/media/pci/ttpci/av7110_av.c todo -= free; todo 404 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 435 drivers/media/pci/ttpci/av7110_av.c unsigned long todo = count; todo 448 drivers/media/pci/ttpci/av7110_av.c while (todo >= TS_SIZE) { todo 451 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 453 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 458 drivers/media/pci/ttpci/av7110_av.c todo -= TS_SIZE; todo 462 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 472 drivers/media/pci/ttpci/av7110_av.c unsigned long todo = count, n; todo 481 drivers/media/pci/ttpci/av7110_av.c while (todo > 0) { todo 484 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 487 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 489 drivers/media/pci/ttpci/av7110_av.c n = todo; todo 496 drivers/media/pci/ttpci/av7110_av.c todo -= n; todo 499 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 505 drivers/media/pci/ttpci/av7110_av.c unsigned long todo = count, n; todo 514 drivers/media/pci/ttpci/av7110_av.c while (todo > 0) { todo 517 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 520 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 522 drivers/media/pci/ttpci/av7110_av.c n = todo; todo 526 drivers/media/pci/ttpci/av7110_av.c todo -= n; todo 529 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 535 drivers/media/pci/ttpci/av7110_av.c unsigned long todo = count, n; todo 543 drivers/media/pci/ttpci/av7110_av.c while (todo > 0) { todo 546 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 549 drivers/media/pci/ttpci/av7110_av.c return count-todo; todo 551 drivers/media/pci/ttpci/av7110_av.c n = todo; todo 558 drivers/media/pci/ttpci/av7110_av.c todo -= n; todo 561 drivers/media/pci/ttpci/av7110_av.c return count - todo; todo 39 drivers/media/pci/tw68/tw68-risc.c unsigned int line, todo, done; todo 74 drivers/media/pci/tw68/tw68-risc.c todo = bpl; /* one full line to be done */ todo 81 drivers/media/pci/tw68/tw68-risc.c todo -= done; todo 84 drivers/media/pci/tw68/tw68-risc.c while (todo > sg_dma_len(sg)) { todo 89 drivers/media/pci/tw68/tw68-risc.c todo -= sg_dma_len(sg); todo 93 drivers/media/pci/tw68/tw68-risc.c if (todo) { todo 97 drivers/media/pci/tw68/tw68-risc.c todo); todo 100 drivers/media/pci/tw68/tw68-risc.c offset = todo; todo 547 drivers/net/ethernet/alacritech/slicoss.c static void slic_handle_receive(struct slic_device *sdev, unsigned int todo, todo 560 drivers/net/ethernet/alacritech/slicoss.c while (todo && (rxq->done_idx != rxq->put_idx)) { todo 615 drivers/net/ethernet/alacritech/slicoss.c todo--; todo 693 drivers/net/ethernet/alacritech/slicoss.c unsigned int todo, unsigned int *done) todo 705 drivers/net/ethernet/alacritech/slicoss.c slic_handle_receive(sdev, todo, done); todo 711 drivers/net/ethernet/alacritech/slicoss.c static int slic_poll(struct napi_struct *napi, int todo) todo 719 drivers/net/ethernet/alacritech/slicoss.c slic_handle_irq(sdev, isr, todo, &done); todo 721 drivers/net/ethernet/alacritech/slicoss.c if (done < todo) { todo 1144 drivers/net/ethernet/netronome/nfp/nfp_net_common.c int todo; todo 1155 drivers/net/ethernet/netronome/nfp/nfp_net_common.c todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); todo 1157 drivers/net/ethernet/netronome/nfp/nfp_net_common.c while (todo--) { todo 1227 drivers/net/ethernet/netronome/nfp/nfp_net_common.c int idx, todo; todo 1236 drivers/net/ethernet/netronome/nfp/nfp_net_common.c todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); todo 1238 drivers/net/ethernet/netronome/nfp/nfp_net_common.c done_all = todo <= NFP_NET_XDP_MAX_COMPLETE; todo 1239 drivers/net/ethernet/netronome/nfp/nfp_net_common.c todo = min(todo, NFP_NET_XDP_MAX_COMPLETE); todo 1241 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); todo 1243 drivers/net/ethernet/netronome/nfp/nfp_net_common.c done_pkts = todo; todo 1244 drivers/net/ethernet/netronome/nfp/nfp_net_common.c while (todo--) { todo 191 drivers/platform/chrome/cros_ec_spi.c int todo; todo 232 drivers/platform/chrome/cros_ec_spi.c todo = end - ++ptr; todo 233 drivers/platform/chrome/cros_ec_spi.c BUG_ON(todo < 0 || todo > ec_dev->din_size); todo 234 drivers/platform/chrome/cros_ec_spi.c todo = min(todo, need_len); todo 235 drivers/platform/chrome/cros_ec_spi.c memmove(ec_dev->din, ptr, todo); todo 236 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din + todo; todo 238 drivers/platform/chrome/cros_ec_spi.c need_len, todo); todo 239 drivers/platform/chrome/cros_ec_spi.c need_len -= todo; todo 242 drivers/platform/chrome/cros_ec_spi.c if (todo < sizeof(*response)) { todo 243 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, sizeof(*response) - todo); todo 246 drivers/platform/chrome/cros_ec_spi.c ptr += (sizeof(*response) - todo); todo 247 drivers/platform/chrome/cros_ec_spi.c todo = sizeof(*response); todo 264 drivers/platform/chrome/cros_ec_spi.c todo = min(need_len, 256); todo 266 drivers/platform/chrome/cros_ec_spi.c todo, need_len, ptr - ec_dev->din); todo 268 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, todo); todo 272 drivers/platform/chrome/cros_ec_spi.c ptr += todo; todo 273 drivers/platform/chrome/cros_ec_spi.c need_len -= todo; todo 299 drivers/platform/chrome/cros_ec_spi.c int todo; todo 340 drivers/platform/chrome/cros_ec_spi.c todo = end - ++ptr; todo 341 drivers/platform/chrome/cros_ec_spi.c BUG_ON(todo < 0 || todo > ec_dev->din_size); todo 342 drivers/platform/chrome/cros_ec_spi.c todo = min(todo, need_len); todo 343 drivers/platform/chrome/cros_ec_spi.c memmove(ec_dev->din, ptr, todo); todo 344 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din + todo; todo 346 drivers/platform/chrome/cros_ec_spi.c need_len, todo); todo 347 drivers/platform/chrome/cros_ec_spi.c need_len -= todo; todo 357 drivers/platform/chrome/cros_ec_spi.c todo = min(need_len, 256); todo 359 drivers/platform/chrome/cros_ec_spi.c todo, need_len, ptr - ec_dev->din); todo 361 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, todo); todo 365 drivers/platform/chrome/cros_ec_spi.c debug_packet(ec_dev->dev, "interim", ptr, todo); todo 366 drivers/platform/chrome/cros_ec_spi.c ptr += todo; todo 367 drivers/platform/chrome/cros_ec_spi.c need_len -= todo; todo 174 drivers/s390/cio/ccwreq.c enum uc_todo todo; todo 197 drivers/s390/cio/ccwreq.c todo = cdev->drv->uc_handler(cdev, lcirb); todo 199 drivers/s390/cio/ccwreq.c CIO_HEX_EVENT(2, &todo, sizeof(todo)); todo 200 drivers/s390/cio/ccwreq.c switch (todo) { todo 113 drivers/s390/cio/cio.h enum sch_todo todo; todo 598 drivers/s390/cio/css.c void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo) todo 601 drivers/s390/cio/css.c sch->schid.ssid, sch->schid.sch_no, todo); todo 602 drivers/s390/cio/css.c if (sch->todo >= todo) todo 607 drivers/s390/cio/css.c sch->todo = todo; todo 618 drivers/s390/cio/css.c enum sch_todo todo; todo 624 drivers/s390/cio/css.c todo = sch->todo; todo 626 drivers/s390/cio/css.c sch->schid.sch_no, todo); todo 627 drivers/s390/cio/css.c sch->todo = SCH_TODO_NOTHING; todo 630 drivers/s390/cio/css.c switch (todo) { todo 637 drivers/s390/cio/css.c css_sched_sch_todo(sch, todo); todo 156 drivers/s390/cio/css.h void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo); todo 2073 drivers/s390/cio/device.c enum cdev_todo todo; todo 2080 drivers/s390/cio/device.c todo = priv->todo; todo 2081 drivers/s390/cio/device.c priv->todo = CDEV_TODO_NOTHING; todo 2083 drivers/s390/cio/device.c priv->dev_id.ssid, priv->dev_id.devno, todo); todo 2086 drivers/s390/cio/device.c switch (todo) { todo 2122 drivers/s390/cio/device.c void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo) todo 2126 drivers/s390/cio/device.c todo); todo 2127 drivers/s390/cio/device.c if (cdev->private->todo >= todo) todo 2129 drivers/s390/cio/device.c cdev->private->todo = todo; todo 101 drivers/s390/cio/device.h void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo); todo 173 drivers/s390/cio/io_sch.h enum cdev_todo todo; todo 77 drivers/usb/gadget/function/u_ether.c unsigned long todo; todo 164 drivers/usb/gadget/function/u_ether.c if (test_and_set_bit(flag, &dev->todo)) todo 429 drivers/usb/gadget/function/u_ether.c if (test_and_clear_bit(WORK_RX_MEMORY, &dev->todo)) { todo 434 drivers/usb/gadget/function/u_ether.c if (dev->todo) todo 435 drivers/usb/gadget/function/u_ether.c DBG(dev, "work done, flags = 0x%lx\n", dev->todo); todo 163 drivers/usb/host/max3421-hcd.c unsigned long todo; todo 1175 drivers/usb/host/max3421-hcd.c if (!test_and_set_bit(ENABLE_IRQ, &max3421_hcd->todo)) todo 1428 drivers/usb/host/max3421-hcd.c if (test_and_clear_bit(ENABLE_IRQ, &max3421_hcd->todo)) todo 1443 drivers/usb/host/max3421-hcd.c if (test_and_clear_bit(RESET_HCD, &max3421_hcd->todo)) todo 1446 drivers/usb/host/max3421-hcd.c if (test_and_clear_bit(RESET_PORT, &max3421_hcd->todo)) { todo 1452 drivers/usb/host/max3421-hcd.c if (test_and_clear_bit(CHECK_UNLINK, &max3421_hcd->todo)) todo 1454 drivers/usb/host/max3421-hcd.c if (test_and_clear_bit(IOPIN_UPDATE, &max3421_hcd->todo)) { todo 1483 drivers/usb/host/max3421-hcd.c set_bit(RESET_PORT, &max3421_hcd->todo); todo 1496 drivers/usb/host/max3421-hcd.c set_bit(RESET_HCD, &max3421_hcd->todo); todo 1588 drivers/usb/host/max3421-hcd.c set_bit(CHECK_UNLINK, &max3421_hcd->todo); todo 1689 drivers/usb/host/max3421-hcd.c set_bit(IOPIN_UPDATE, &max3421_hcd->todo); todo 54 drivers/usb/phy/phy-isp1301-omap.c unsigned long todo; todo 315 drivers/usb/phy/phy-isp1301-omap.c if (isp && !test_and_set_bit(work, &isp->todo)) { todo 1094 drivers/usb/phy/phy-isp1301-omap.c stop = test_bit(WORK_STOP, &isp->todo); todo 1098 drivers/usb/phy/phy-isp1301-omap.c if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) { todo 1104 drivers/usb/phy/phy-isp1301-omap.c if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) { todo 1111 drivers/usb/phy/phy-isp1301-omap.c if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) { todo 1146 drivers/usb/phy/phy-isp1301-omap.c if (test_and_clear_bit(WORK_TIMER, &isp->todo)) { todo 1155 drivers/usb/phy/phy-isp1301-omap.c if (isp->todo) todo 1158 drivers/usb/phy/phy-isp1301-omap.c isp->todo); todo 1163 drivers/usb/phy/phy-isp1301-omap.c } while (isp->todo); todo 1214 drivers/usb/phy/phy-isp1301-omap.c set_bit(WORK_STOP, &isp->todo); todo 314 drivers/usb/serial/cyberjack.c short todo; todo 337 drivers/usb/serial/cyberjack.c todo = priv->rdtodo; todo 341 drivers/usb/serial/cyberjack.c dev_dbg(dev, "%s - rdtodo: %d\n", __func__, todo); todo 344 drivers/usb/serial/cyberjack.c if (todo /* || (urb->actual_length==port->bulk_in_endpointAddress)*/) { todo 716 drivers/usb/serial/keyspan.c int left, todo; todo 734 drivers/usb/serial/keyspan.c for (left = count; left > 0; left -= todo) { todo 735 drivers/usb/serial/keyspan.c todo = left; todo 736 drivers/usb/serial/keyspan.c if (todo > maxDataLen) todo 737 drivers/usb/serial/keyspan.c todo = maxDataLen; todo 764 drivers/usb/serial/keyspan.c memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); todo 765 drivers/usb/serial/keyspan.c buf += todo; todo 768 drivers/usb/serial/keyspan.c this_urb->transfer_buffer_length = todo + dataOffset; todo 299 drivers/usb/serial/kobil_sct.c int todo = 0; todo 328 drivers/usb/serial/kobil_sct.c todo = priv->filled - priv->cur_pos; todo 330 drivers/usb/serial/kobil_sct.c while (todo > 0) { todo 332 drivers/usb/serial/kobil_sct.c length = min(todo, port->interrupt_out_size); todo 342 drivers/usb/serial/kobil_sct.c todo = priv->filled - priv->cur_pos; todo 344 drivers/usb/serial/kobil_sct.c if (todo > 0) todo 186 drivers/usb/serial/usb_wwan.c int left, todo; todo 199 drivers/usb/serial/usb_wwan.c todo = left; todo 200 drivers/usb/serial/usb_wwan.c if (todo > OUT_BUFLEN) todo 201 drivers/usb/serial/usb_wwan.c todo = OUT_BUFLEN; todo 221 drivers/usb/serial/usb_wwan.c memcpy(this_urb->transfer_buffer, buf, todo); todo 222 drivers/usb/serial/usb_wwan.c this_urb->transfer_buffer_length = todo; todo 247 drivers/usb/serial/usb_wwan.c buf += todo; todo 248 drivers/usb/serial/usb_wwan.c left -= todo; todo 102 drivers/w1/slaves/w1_ds2431.c int todo = count; todo 111 drivers/w1/slaves/w1_ds2431.c while (todo > 0) { todo 114 drivers/w1/slaves/w1_ds2431.c if (todo >= W1_F2D_READ_MAXLEN) todo 117 drivers/w1/slaves/w1_ds2431.c block_read = todo; todo 122 drivers/w1/slaves/w1_ds2431.c todo -= W1_F2D_READ_MAXLEN; todo 99 drivers/w1/slaves/w1_ds2805.c int todo = count; todo 108 drivers/w1/slaves/w1_ds2805.c while (todo > 0) { todo 111 drivers/w1/slaves/w1_ds2805.c if (todo >= W1_F0D_READ_MAXLEN) todo 114 drivers/w1/slaves/w1_ds2805.c block_read = todo; todo 121 drivers/w1/slaves/w1_ds2805.c todo -= W1_F0D_READ_MAXLEN; todo 971 fs/select.c unsigned long todo = nfds; todo 983 fs/select.c if (copy_from_user(walk->entries, ufds + nfds-todo, todo 987 fs/select.c todo -= walk->len; todo 988 fs/select.c if (!todo) todo 991 fs/select.c len = min(todo, POLLFD_PER_PAGE); todo 151 include/media/dmxdev.h int todo; todo 272 kernel/bpf/core.c u8 *raw, *todo; todo 313 kernel/bpf/core.c todo = raw; todo 315 kernel/bpf/core.c bits = (__be64 *)(todo + bsize - sizeof(__be64)); todo 317 kernel/bpf/core.c bits = (__be64 *)(todo + bsize + bits_offset); todo 323 kernel/bpf/core.c sha_transform(digest, todo, ws); todo 324 kernel/bpf/core.c todo += SHA_MESSAGE_BYTES; todo 35 kernel/power/process.c unsigned int todo; todo 50 kernel/power/process.c todo = 0; todo 57 kernel/power/process.c todo++; todo 63 kernel/power/process.c todo += wq_busy; todo 66 kernel/power/process.c if (!todo || time_after(jiffies, end_time)) todo 88 kernel/power/process.c if (todo) { todo 94 kernel/power/process.c todo - wq_busy, wq_busy); todo 113 kernel/power/process.c return todo ? -EBUSY : 0; todo 3301 net/core/skbuff.c int from, to, merge, todo; todo 3311 net/core/skbuff.c todo = shiftlen; todo 3326 net/core/skbuff.c todo -= skb_frag_size(fragfrom); todo 3327 net/core/skbuff.c if (todo < 0) { todo 3354 net/core/skbuff.c while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) { todo 3361 net/core/skbuff.c if (todo >= skb_frag_size(fragfrom)) { todo 3363 net/core/skbuff.c todo -= skb_frag_size(fragfrom); todo 3371 net/core/skbuff.c skb_frag_size_set(fragto, todo); todo 3373 net/core/skbuff.c skb_frag_off_add(fragfrom, todo); todo 3374 net/core/skbuff.c skb_frag_size_sub(fragfrom, todo); todo 3375 net/core/skbuff.c todo = 0; todo 3399 net/core/skbuff.c BUG_ON(todo > 0 && !skb_shinfo(skb)->nr_frags); todo 1340 net/sunrpc/xdr.c unsigned int copied = 0, todo, avail_here; todo 1359 net/sunrpc/xdr.c todo = desc->array_len * desc->elem_size; todo 1362 net/sunrpc/xdr.c if (todo && base < buf->head->iov_len) { todo 1364 net/sunrpc/xdr.c avail_here = min_t(unsigned int, todo, todo 1366 net/sunrpc/xdr.c todo -= avail_here; todo 1396 net/sunrpc/xdr.c if (todo && base < buf->page_len) { todo 1399 net/sunrpc/xdr.c avail_here = min(todo, buf->page_len - base); todo 1400 net/sunrpc/xdr.c todo -= avail_here; todo 1496 net/sunrpc/xdr.c if (todo) { todo 1509 net/sunrpc/xdr.c todo -= l; todo 1512 net/sunrpc/xdr.c while (todo) { todo 1517 net/sunrpc/xdr.c todo -= desc->elem_size;