Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 54 of 54) sorted by relevance

/linux-4.1.27/drivers/media/dvb-core/
Ddvb_ringbuffer.c113 size_t todo = len; in dvb_ringbuffer_read_user() local
121 todo -= split; in dvb_ringbuffer_read_user()
124 if (copy_to_user(buf, rbuf->data+rbuf->pread, todo)) in dvb_ringbuffer_read_user()
127 rbuf->pread = (rbuf->pread + todo) % rbuf->size; in dvb_ringbuffer_read_user()
134 size_t todo = len; in dvb_ringbuffer_read() local
141 todo -= split; in dvb_ringbuffer_read()
144 memcpy(buf, rbuf->data+rbuf->pread, todo); in dvb_ringbuffer_read()
146 rbuf->pread = (rbuf->pread + todo) % rbuf->size; in dvb_ringbuffer_read()
152 size_t todo = len; in dvb_ringbuffer_write() local
160 todo -= split; in dvb_ringbuffer_write()
[all …]
Ddmxdev.c64 size_t todo; in dvb_dmxdev_buffer_read() local
77 for (todo = count; todo > 0; todo -= ret) { in dvb_dmxdev_buffer_read()
96 if (avail > todo) in dvb_dmxdev_buffer_read()
97 avail = todo; in dvb_dmxdev_buffer_read()
106 return (count - todo) ? (count - todo) : ret; in dvb_dmxdev_buffer_read()
700 filter->todo = 0; in dvb_dmxdev_filter_start()
903 if (dfil->todo <= 0) { in dvb_dmxdev_read_sec()
904 hcount = 3 + dfil->todo; in dvb_dmxdev_read_sec()
911 dfil->todo = 0; in dvb_dmxdev_read_sec()
914 if (copy_from_user(dfil->secheader - dfil->todo, buf, result)) in dvb_dmxdev_read_sec()
[all …]
Ddmxdev.h89 int todo; member
/linux-4.1.27/drivers/mfd/
Dcros_ec_spi.c124 int todo; in cros_ec_spi_receive_response() local
169 todo = end - ++ptr; in cros_ec_spi_receive_response()
170 BUG_ON(todo < 0 || todo > ec_dev->din_size); in cros_ec_spi_receive_response()
171 todo = min(todo, need_len); in cros_ec_spi_receive_response()
172 memmove(ec_dev->din, ptr, todo); in cros_ec_spi_receive_response()
173 ptr = ec_dev->din + todo; in cros_ec_spi_receive_response()
175 need_len, todo); in cros_ec_spi_receive_response()
176 need_len -= todo; in cros_ec_spi_receive_response()
186 todo = min(need_len, 256); in cros_ec_spi_receive_response()
188 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_response()
[all …]
/linux-4.1.27/kernel/power/
Dprocess.c31 unsigned int todo; in try_to_freeze_tasks() local
47 todo = 0; in try_to_freeze_tasks()
54 todo++; in try_to_freeze_tasks()
60 todo += wq_busy; in try_to_freeze_tasks()
63 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
86 if (todo) { in try_to_freeze_tasks()
92 todo - wq_busy, wq_busy); in try_to_freeze_tasks()
108 return todo ? -EBUSY : 0; in try_to_freeze_tasks()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-lpc.c193 u32 data, pos, len, todo; in lpc_debug_read() local
199 todo = count; in lpc_debug_read()
200 while (todo) { in lpc_debug_read()
210 if (todo > 3 && (pos & 3) == 0) in lpc_debug_read()
212 else if (todo > 1 && (pos & 1) == 0) in lpc_debug_read()
274 todo -= len; in lpc_debug_read()
284 u32 data, pos, len, todo; in lpc_debug_write() local
290 todo = count; in lpc_debug_write()
291 while (todo) { in lpc_debug_write()
301 if (todo > 3 && (pos & 3) == 0) in lpc_debug_write()
[all …]
/linux-4.1.27/drivers/media/pci/tw68/
Dtw68-risc.c47 unsigned int line, todo, done; in tw68_risc_field() local
82 todo = bpl; /* one full line to be done */ in tw68_risc_field()
89 todo -= done; in tw68_risc_field()
92 while (todo > sg_dma_len(sg)) { in tw68_risc_field()
97 todo -= sg_dma_len(sg); in tw68_risc_field()
101 if (todo) { in tw68_risc_field()
105 todo); in tw68_risc_field()
108 offset = todo; in tw68_risc_field()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_av.c402 unsigned long todo = count; in aux_ring_buffer_write() local
405 while (todo > 0) { in aux_ring_buffer_write()
409 return count - todo; in aux_ring_buffer_write()
412 if (free > todo) in aux_ring_buffer_write()
413 free = todo; in aux_ring_buffer_write()
415 todo -= free; in aux_ring_buffer_write()
419 return count - todo; in aux_ring_buffer_write()
450 unsigned long todo = count; in ts_play() local
463 while (todo >= TS_SIZE) { in ts_play()
466 return count - todo; in ts_play()
[all …]
/linux-4.1.27/drivers/w1/slaves/
Dw1_ds2431.c104 int todo = count; in eeprom_read() local
113 while (todo > 0) { in eeprom_read()
116 if (todo >= W1_F2D_READ_MAXLEN) in eeprom_read()
119 block_read = todo; in eeprom_read()
124 todo -= W1_F2D_READ_MAXLEN; in eeprom_read()
/linux-4.1.27/drivers/firewire/
Dcore-cdev.c142 ISO_RES_ALLOC_ONCE, ISO_RES_DEALLOC_ONCE,} todo; member
1253 int generation, channel, bandwidth, todo; in iso_resource_work() local
1258 todo = r->todo; in iso_resource_work()
1260 if (todo == ISO_RES_ALLOC && in iso_resource_work()
1267 skip = todo == ISO_RES_REALLOC && in iso_resource_work()
1270 free = todo == ISO_RES_DEALLOC || in iso_resource_work()
1271 todo == ISO_RES_ALLOC_ONCE || in iso_resource_work()
1272 todo == ISO_RES_DEALLOC_ONCE; in iso_resource_work()
1283 todo == ISO_RES_ALLOC || in iso_resource_work()
1284 todo == ISO_RES_REALLOC || in iso_resource_work()
[all …]
/linux-4.1.27/drivers/s390/cio/
Dccwreq.c173 enum uc_todo todo; in ccwreq_status() local
195 todo = cdev->drv->uc_handler(cdev, lcirb); in ccwreq_status()
197 CIO_HEX_EVENT(2, &todo, sizeof(todo)); in ccwreq_status()
198 switch (todo) { in ccwreq_status()
Dcss.c451 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo) in css_sched_sch_todo() argument
454 sch->schid.ssid, sch->schid.sch_no, todo); in css_sched_sch_todo()
455 if (sch->todo >= todo) in css_sched_sch_todo()
460 sch->todo = todo; in css_sched_sch_todo()
471 enum sch_todo todo; in css_sch_todo() local
477 todo = sch->todo; in css_sch_todo()
479 sch->schid.sch_no, todo); in css_sch_todo()
480 sch->todo = SCH_TODO_NOTHING; in css_sch_todo()
483 switch (todo) { in css_sch_todo()
490 css_sched_sch_todo(sch, todo); in css_sch_todo()
Ddevice.c2075 enum cdev_todo todo; in ccw_device_todo() local
2082 todo = priv->todo; in ccw_device_todo()
2083 priv->todo = CDEV_TODO_NOTHING; in ccw_device_todo()
2085 priv->dev_id.ssid, priv->dev_id.devno, todo); in ccw_device_todo()
2088 switch (todo) { in ccw_device_todo()
2124 void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo) in ccw_device_sched_todo() argument
2128 todo); in ccw_device_sched_todo()
2129 if (cdev->private->todo >= todo) in ccw_device_sched_todo()
2131 cdev->private->todo = todo; in ccw_device_sched_todo()
Dcss.h145 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo);
Dcio.h100 enum sch_todo todo; member
Ddevice.h100 void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo);
Dio_sch.h162 enum cdev_todo todo; member
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-risc.c53 u32 instructions,line,todo; in bttv_risc_packed() local
97 todo = bpl; in bttv_risc_packed()
101 todo -= (sg_dma_len(sg)-offset); in bttv_risc_packed()
104 while (todo > sg_dma_len(sg)) { in bttv_risc_packed()
108 todo -= sg_dma_len(sg); in bttv_risc_packed()
112 todo); in bttv_risc_packed()
114 offset += todo; in bttv_risc_packed()
134 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
186 for (todo = ybpl; todo > 0; todo -= ylen) { in bttv_risc_planar()
202 ylen = todo; in bttv_risc_planar()
[all …]
/linux-4.1.27/drivers/usb/serial/
Dusb_wwan.c187 int left, todo; in usb_wwan_write() local
200 todo = left; in usb_wwan_write()
201 if (todo > OUT_BUFLEN) in usb_wwan_write()
202 todo = OUT_BUFLEN; in usb_wwan_write()
222 memcpy(this_urb->transfer_buffer, buf, todo); in usb_wwan_write()
223 this_urb->transfer_buffer_length = todo; in usb_wwan_write()
248 buf += todo; in usb_wwan_write()
249 left -= todo; in usb_wwan_write()
Dkobil_sct.c298 int todo = 0; in kobil_write() local
327 todo = priv->filled - priv->cur_pos; in kobil_write()
329 while (todo > 0) { in kobil_write()
331 length = min(todo, port->interrupt_out_size); in kobil_write()
341 todo = priv->filled - priv->cur_pos; in kobil_write()
343 if (todo > 0) in kobil_write()
Dcyberjack.c316 short todo; in cyberjack_read_bulk_callback() local
339 todo = priv->rdtodo; in cyberjack_read_bulk_callback()
343 dev_dbg(dev, "%s - rdtodo: %d\n", __func__, todo); in cyberjack_read_bulk_callback()
346 if (todo /* || (urb->actual_length==port->bulk_in_endpointAddress)*/) { in cyberjack_read_bulk_callback()
Dkeyspan.c225 int left, todo; in keyspan_write() local
243 for (left = count; left > 0; left -= todo) { in keyspan_write()
244 todo = left; in keyspan_write()
245 if (todo > maxDataLen) in keyspan_write()
246 todo = maxDataLen; in keyspan_write()
273 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write()
274 buf += todo; in keyspan_write()
277 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write()
/linux-4.1.27/arch/m68k/kernel/
Dsun3-head.S25 | todo: all these should be in bss!
90 | todo: remove next two. --m
/linux-4.1.27/drivers/atm/
Dsuni.c108 if (todo & flag) { \
111 todo &= ~flag; \
117 int todo; in change_diag() local
119 if (get_user(todo,(int __user *)arg)) return -EFAULT; in change_diag()
128 return put_user(todo,(int __user *)arg) ? -EFAULT : 0; in change_diag()
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-core.c1012 unsigned int line, todo; in cx25821_risc_field() local
1040 todo = bpl; in cx25821_risc_field()
1045 todo -= (sg_dma_len(sg) - offset); in cx25821_risc_field()
1048 while (todo > sg_dma_len(sg)) { in cx25821_risc_field()
1053 todo -= sg_dma_len(sg); in cx25821_risc_field()
1056 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); in cx25821_risc_field()
1059 offset += todo; in cx25821_risc_field()
1123 unsigned int line, todo, sol; in cx25821_risc_field_audio() local
1151 todo = bpl; in cx25821_risc_field_audio()
1156 todo -= (sg_dma_len(sg) - offset); in cx25821_risc_field_audio()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c414 u64 mask, todo; in gf100_fifo_recover_work() local
421 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) in gf100_fifo_recover_work()
425 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) { in gf100_fifo_recover_work()
Dgk104.c439 u64 mask, todo; in gk104_fifo_recover_work() local
446 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) in gk104_fifo_recover_work()
450 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) { in gk104_fifo_recover_work()
/linux-4.1.27/drivers/usb/phy/
Dphy-isp1301-omap.c67 unsigned long todo; member
328 if (isp && !test_and_set_bit(work, &isp->todo)) { in isp1301_defer_work()
1107 stop = test_bit(WORK_STOP, &isp->todo); in isp1301_work()
1111 if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) { in isp1301_work()
1117 if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) { in isp1301_work()
1124 if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) { in isp1301_work()
1159 if (test_and_clear_bit(WORK_TIMER, &isp->todo)) { in isp1301_work()
1168 if (isp->todo) in isp1301_work()
1171 isp->todo); in isp1301_work()
1176 } while (isp->todo); in isp1301_work()
[all …]
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-input.c531 unsigned todo, bits; in cx88_ir_irq() local
548 for (todo = 32; todo > 0; todo -= bits) { in cx88_ir_irq()
550 bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); in cx88_ir_irq()
Dcx88-core.c82 unsigned int line,todo,sol; in cx88_risc_field() local
111 todo = bpl; in cx88_risc_field()
115 todo -= (sg_dma_len(sg)-offset); in cx88_risc_field()
118 while (todo > sg_dma_len(sg)) { in cx88_risc_field()
122 todo -= sg_dma_len(sg); in cx88_risc_field()
125 *(rp++)=cpu_to_le32(RISC_WRITE|RISC_EOL|todo); in cx88_risc_field()
127 offset += todo; in cx88_risc_field()
/linux-4.1.27/drivers/android/
Dbinder.c319 struct list_head todo; member
346 struct list_head todo; member
978 list_add_tail(&node->work.entry, &node->proc->todo); in binder_dec_node()
1431 target_list = &target_thread->todo; in binder_transaction()
1434 target_list = &target_proc->todo; in binder_transaction()
1576 &thread->todo); in binder_transaction()
1705 list_add_tail(&tcomplete->entry, &thread->todo); in binder_transaction()
1925 list_move_tail(buffer->target_node->async_todo.next, &thread->todo); in binder_thread_write()
2034 list_add_tail(&ref->death->work.entry, &thread->todo); in binder_thread_write()
2036 list_add_tail(&ref->death->work.entry, &proc->todo); in binder_thread_write()
[all …]
/linux-4.1.27/drivers/base/
Ddevres.c409 struct list_head *todo) in remove_nodes() argument
434 list_move_tail(&node->entry, todo); in remove_nodes()
468 list_move_tail(&grp->node[0].entry, todo); in remove_nodes()
480 LIST_HEAD(todo); in release_nodes()
484 cnt = remove_nodes(dev, first, end, &todo); in release_nodes()
491 list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { in release_nodes()
Dfirmware_class.c1484 LIST_HEAD(todo); in dev_cache_fw_image()
1491 dev_create_fw_entry, &todo); in dev_cache_fw_image()
1493 list_for_each_entry_safe(fce, fce_next, &todo, list) { in dev_cache_fw_image()
/linux-4.1.27/net/sunrpc/
Dxdr.c1237 unsigned int copied = 0, todo, avail_here; in xdr_xcode_array2() local
1256 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2()
1259 if (todo && base < buf->head->iov_len) { in xdr_xcode_array2()
1261 avail_here = min_t(unsigned int, todo, in xdr_xcode_array2()
1263 todo -= avail_here; in xdr_xcode_array2()
1293 if (todo && base < buf->page_len) { in xdr_xcode_array2()
1296 avail_here = min(todo, buf->page_len - base); in xdr_xcode_array2()
1297 todo -= avail_here; in xdr_xcode_array2()
1393 if (todo) { in xdr_xcode_array2()
1406 todo -= l; in xdr_xcode_array2()
[all …]
/linux-4.1.27/drivers/md/
Ddm-stats.c500 sector_t rel_sector, offset, todo, fragment_len; in __dm_stat_bio() local
507 todo = end_sector - s->start; in __dm_stat_bio()
510 todo = end_sector - bi_sector; in __dm_stat_bio()
513 todo -= (end_sector - s->end); in __dm_stat_bio()
522 fragment_len = todo; in __dm_stat_bio()
527 todo -= fragment_len; in __dm_stat_bio()
530 } while (unlikely(todo != 0)); in __dm_stat_bio()
Ddm-verity.c363 unsigned todo; in verity_verify_io() local
405 todo = 1 << v->data_dev_block_bits; in verity_verify_io()
413 if (likely(len >= todo)) in verity_verify_io()
414 len = todo; in verity_verify_io()
424 todo -= len; in verity_verify_io()
425 } while (todo); in verity_verify_io()
/linux-4.1.27/drivers/usb/host/
Dmax3421-hcd.c159 unsigned long todo; member
1174 if (!test_and_set_bit(ENABLE_IRQ, &max3421_hcd->todo)) in max3421_irq_handler()
1430 if (test_and_clear_bit(ENABLE_IRQ, &max3421_hcd->todo)) in max3421_spi_thread()
1445 if (test_and_clear_bit(RESET_HCD, &max3421_hcd->todo)) in max3421_spi_thread()
1448 if (test_and_clear_bit(RESET_PORT, &max3421_hcd->todo)) { in max3421_spi_thread()
1454 if (test_and_clear_bit(CHECK_UNLINK, &max3421_hcd->todo)) in max3421_spi_thread()
1456 if (test_and_clear_bit(IOPIN_UPDATE, &max3421_hcd->todo)) { in max3421_spi_thread()
1485 set_bit(RESET_PORT, &max3421_hcd->todo); in max3421_reset_port()
1498 set_bit(RESET_HCD, &max3421_hcd->todo); in max3421_reset()
1590 set_bit(CHECK_UNLINK, &max3421_hcd->todo); in max3421_urb_dequeue()
[all …]
/linux-4.1.27/drivers/ide/
Dide-tape.c1150 size_t todo; in idetape_chrdev_read() local
1165 todo = min_t(size_t, count - done, tape->valid); in idetape_chrdev_read()
1166 if (copy_to_user(buf + done, tape->cur, todo)) in idetape_chrdev_read()
1169 tape->cur += todo; in idetape_chrdev_read()
1170 tape->valid -= todo; in idetape_chrdev_read()
1171 done += todo; in idetape_chrdev_read()
1203 size_t todo; in idetape_chrdev_write() local
1212 todo = min_t(size_t, count - done, in idetape_chrdev_write()
1214 if (copy_from_user(tape->cur, buf + done, todo)) in idetape_chrdev_write()
1217 tape->cur += todo; in idetape_chrdev_write()
[all …]
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c355 struct qeth_ipaddr *todo, struct qeth_ipaddr **__addr) in __qeth_l3_ref_ip_on_card() argument
362 (todo->proto == QETH_PROT_IPV4) && in __qeth_l3_ref_ip_on_card()
363 (addr->type == todo->type) && in __qeth_l3_ref_ip_on_card()
364 (addr->u.a4.addr == todo->u.a4.addr) && in __qeth_l3_ref_ip_on_card()
365 (addr->u.a4.mask == todo->u.a4.mask)) { in __qeth_l3_ref_ip_on_card()
370 (todo->proto == QETH_PROT_IPV6) && in __qeth_l3_ref_ip_on_card()
371 (addr->type == todo->type) && in __qeth_l3_ref_ip_on_card()
372 (addr->u.a6.pfxlen == todo->u.a6.pfxlen) && in __qeth_l3_ref_ip_on_card()
373 (memcmp(&addr->u.a6.addr, &todo->u.a6.addr, in __qeth_l3_ref_ip_on_card()
380 addr->users += todo->users; in __qeth_l3_ref_ip_on_card()
[all …]
/linux-4.1.27/drivers/block/drbd/
Ddrbd_worker.c1937 static void do_device_work(struct drbd_device *device, const unsigned long todo) in do_device_work() argument
1939 if (test_bit(MD_SYNC, &todo)) in do_device_work()
1941 if (test_bit(RS_DONE, &todo) || in do_device_work()
1942 test_bit(RS_PROGRESS, &todo)) in do_device_work()
1943 update_on_disk_bitmap(device, test_bit(RS_DONE, &todo)); in do_device_work()
1944 if (test_bit(GO_DISKLESS, &todo)) in do_device_work()
1946 if (test_bit(DESTROY_DISK, &todo)) in do_device_work()
1948 if (test_bit(RS_START, &todo)) in do_device_work()
1979 unsigned long todo = get_work_bits(&device->flags); in do_unqueued_work() local
1980 if (!todo) in do_unqueued_work()
[all …]
/linux-4.1.27/fs/
Dselect.c881 unsigned long todo = nfds; in do_sys_poll() local
893 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
897 todo -= walk->len; in do_sys_poll()
898 if (!todo) in do_sys_poll()
901 len = min(todo, POLLFD_PER_PAGE); in do_sys_poll()
/linux-4.1.27/drivers/usb/gadget/function/
Du_ether.c76 unsigned long todo; member
181 if (test_and_set_bit(flag, &dev->todo)) in defer_kevent()
440 if (test_and_clear_bit(WORK_RX_MEMORY, &dev->todo)) { in eth_work()
445 if (dev->todo) in eth_work()
446 DBG(dev, "work done, flags = 0x%lx\n", dev->todo); in eth_work()
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_driver.c2856 unsigned long page, start = vma->vm_start, todo, pos, fraglen; in zoran_mmap() local
2929 todo = size; in zoran_mmap()
2930 if (todo > fh->buffers.buffer_size) in zoran_mmap()
2931 todo = fh->buffers.buffer_size; in zoran_mmap()
2934 todo, PAGE_SHARED)) { in zoran_mmap()
2942 size -= todo; in zoran_mmap()
2943 start += todo; in zoran_mmap()
2956 todo = size; in zoran_mmap()
2957 if (todo > fraglen) in zoran_mmap()
2958 todo = fraglen; in zoran_mmap()
[all …]
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23885-core.c1064 unsigned int line, todo, sol; in cx23885_risc_field() local
1098 todo = bpl; in cx23885_risc_field()
1103 todo -= (sg_dma_len(sg)-offset); in cx23885_risc_field()
1106 while (todo > sg_dma_len(sg)) { in cx23885_risc_field()
1111 todo -= sg_dma_len(sg); in cx23885_risc_field()
1114 *(rp++) = cpu_to_le32(RISC_WRITE|RISC_EOL|todo); in cx23885_risc_field()
1117 offset += todo; in cx23885_risc_field()
/linux-4.1.27/net/core/
Dskbuff.c2627 int from, to, merge, todo; in skb_shift() local
2633 todo = shiftlen; in skb_shift()
2648 todo -= skb_frag_size(fragfrom); in skb_shift()
2649 if (todo < 0) { in skb_shift()
2676 while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) { in skb_shift()
2683 if (todo >= skb_frag_size(fragfrom)) { in skb_shift()
2685 todo -= skb_frag_size(fragfrom); in skb_shift()
2693 skb_frag_size_set(fragto, todo); in skb_shift()
2695 fragfrom->page_offset += todo; in skb_shift()
2696 skb_frag_size_sub(fragfrom, todo); in skb_shift()
[all …]
/linux-4.1.27/arch/sparc/kernel/
Dds.c997 LIST_HEAD(todo); in process_ds_work()
1000 list_splice_init(&ds_work_list, &todo); in process_ds_work()
1003 list_for_each_entry_safe(qp, tmp, &todo, list) { in process_ds_work()
/linux-4.1.27/drivers/staging/comedi/drivers/
Damplc_pci230.c2014 unsigned int todo; in pci230_handle_ai() local
2019 todo = comedi_nsamples_left(s, PCI230_ADC_FIFOLEVEL_HALFFULL); in pci230_handle_ai()
2020 if (todo == 0) in pci230_handle_ai()
2024 for (i = 0; i < todo; i++) { in pci230_handle_ai()
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1444 u16 todo = (datasize < DRXDAP_MAX_RCHUNKSIZE ? in drxdap_fasi_read_block() local
1483 rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data); in drxdap_fasi_read_block()
1486 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, in drxdap_fasi_read_block()
1489 data += todo; in drxdap_fasi_read_block()
1490 addr += (todo >> 1); in drxdap_fasi_read_block()
1491 datasize -= todo; in drxdap_fasi_read_block()
1622 u16 todo = 0; in drxdap_fasi_write_block() local
1659 todo = (block_size < datasize ? block_size : datasize); in drxdap_fasi_write_block()
1660 if (todo == 0) { in drxdap_fasi_write_block()
1681 todo = in drxdap_fasi_write_block()
[all …]
/linux-4.1.27/fs/fuse/
Dfile.c2272 size_t todo = min_t(size_t, PAGE_SIZE, iov_iter_count(&ii)); in fuse_ioctl_copy_user() local
2277 while (todo) { in fuse_ioctl_copy_user()
2280 size_t copy = min(todo, iov_len); in fuse_ioctl_copy_user()
2292 todo -= copy; in fuse_ioctl_copy_user()
/linux-4.1.27/Documentation/networking/
Ddccp.txt41 http://www.linuxfoundation.org/collaborate/workgroups/networking/todo#DCCP
/linux-4.1.27/Documentation/hwmon/
Dabituguru-datasheet234 how todo this.
Dsysfs-interface715 convert the input to a number, there are 2 ways todo this depending whether
/linux-4.1.27/Documentation/usb/
Dusb-serial.txt161 Big Things on the todo list:
/linux-4.1.27/arch/s390/kernel/
Dentry.S530 # There is work todo, find out in which context we have been interrupted: