/drivers/misc/cb710/ |
D | sgbuf2.c | 17 miter->consumed = 0; in sg_dwiter_next() 25 return miter->length == miter->consumed && !sg_dwiter_next(miter); in sg_dwiter_is_at_end() 35 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer() 36 memcpy(addr, miter->addr + miter->consumed, len); in sg_dwiter_read_buffer() 37 miter->consumed += len; in sg_dwiter_read_buffer() 64 len = miter->length - miter->consumed; in sg_dwiter_get_next_block() 67 miter->addr + miter->consumed))) { in sg_dwiter_get_next_block() 68 *ptr = miter->addr + miter->consumed; in sg_dwiter_get_next_block() 69 miter->consumed += 4; in sg_dwiter_get_next_block() 110 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow() [all …]
|
/drivers/scsi/aacraid/ |
D | dpcsup.c | 60 int consumed = 0; in aac_response_normal() local 148 consumed++; in aac_response_normal() 152 if (consumed > aac_config.peak_fibs) in aac_response_normal() 153 aac_config.peak_fibs = consumed; in aac_response_normal() 154 if (consumed == 0) in aac_response_normal()
|
/drivers/scsi/ |
D | iscsi_tcp.c | 87 unsigned int consumed, total_consumed = 0; in iscsi_sw_tcp_recv() local 94 consumed = iscsi_tcp_recv_skb(conn, skb, offset, 0, &status); in iscsi_sw_tcp_recv() 95 offset += consumed; in iscsi_sw_tcp_recv() 96 total_consumed += consumed; in iscsi_sw_tcp_recv() 97 } while (consumed != 0 && status != ISCSI_TCP_SKB_DONE); in iscsi_sw_tcp_recv() 316 unsigned int consumed = 0; in iscsi_sw_tcp_xmit() local 334 consumed += rc; in iscsi_sw_tcp_xmit() 345 ISCSI_SW_TCP_DBG(conn, "xmit %d bytes\n", consumed); in iscsi_sw_tcp_xmit() 347 conn->txdata_octets += consumed; in iscsi_sw_tcp_xmit() 348 return consumed; in iscsi_sw_tcp_xmit()
|
D | libiscsi_tcp.c | 877 unsigned int consumed = 0; in iscsi_tcp_recv_skb() local 904 avail = skb_seq_read(consumed, &ptr, &seq); in iscsi_tcp_recv_skb() 907 consumed); in iscsi_tcp_recv_skb() 918 consumed += rc; in iscsi_tcp_recv_skb() 939 conn->rxdata_octets += consumed; in iscsi_tcp_recv_skb() 940 return consumed; in iscsi_tcp_recv_skb()
|
/drivers/media/dvb/dvb-core/ |
D | dvb_ringbuffer.c | 257 int consumed; in dvb_ringbuffer_pkt_next() local 269 consumed = (idx - rbuf->pread) % rbuf->size; in dvb_ringbuffer_pkt_next() 271 while((dvb_ringbuffer_avail(rbuf) - consumed) > DVB_RINGBUFFER_PKTHDRSIZE) { in dvb_ringbuffer_pkt_next() 282 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()
|
/drivers/ata/ |
D | pata_at91.c | 283 unsigned int consumed; in pata_at91_data_xfer_noirq() local 294 consumed = ata_sff_data_xfer(dev, buf, buflen, rw); in pata_at91_data_xfer_noirq() 301 return consumed; in pata_at91_data_xfer_noirq()
|
D | libata-sff.c | 679 unsigned int consumed; in ata_sff_data_xfer_noirq() local 682 consumed = ata_sff_data_xfer32(dev, buf, buflen, rw); in ata_sff_data_xfer_noirq() 685 return consumed; in ata_sff_data_xfer_noirq() 837 unsigned int offset, count, consumed; in __atapi_pio_bytes() local 871 consumed = ap->ops->sff_data_xfer(dev, buf + offset, in __atapi_pio_bytes() 878 consumed = ap->ops->sff_data_xfer(dev, buf + offset, in __atapi_pio_bytes() 882 bytes -= min(bytes, consumed); in __atapi_pio_bytes()
|
/drivers/net/wireless/bcmdhd/include/ |
D | miniopt.h | 48 int consumed; /* number of argv entries cosumed in member
|
/drivers/media/video/cx18/ |
D | cx18-ioctl.c | 740 int consumed, remaining; in _cx18_process_idx_data() local 756 consumed = 0; in _cx18_process_idx_data() 781 consumed += sizeof(struct cx18_enc_idx_entry); in _cx18_process_idx_data() 786 consumed += remaining; in _cx18_process_idx_data() 788 buf->readpos += consumed; in _cx18_process_idx_data() 789 return consumed; in _cx18_process_idx_data()
|
/drivers/mmc/host/ |
D | jz4740_mmc.c | 285 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_write_data() 286 data->bytes_xfered += miter->consumed; in jz4740_mmc_write_data() 360 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_read_data() 361 data->bytes_xfered += miter->consumed; in jz4740_mmc_read_data()
|
D | dw_mmc.c | 1419 sg_miter->consumed = offset; in dw_mci_read_data_pio() 1441 sg_miter->consumed = 0; in dw_mci_read_data_pio() 1487 sg_miter->consumed = offset; in dw_mci_write_data_pio() 1510 sg_miter->consumed = 0; in dw_mci_write_data_pio()
|
D | sdhci.c | 317 host->sg_miter.consumed = len; in sdhci_read_block_pio() 363 host->sg_miter.consumed = len; in sdhci_write_block_pio()
|
D | mmci.c | 948 sg_miter->consumed = len; in mmci_pio_irq()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 483 int consumed; in ahc_linux_map_seg() local 489 consumed = 1; in ahc_linux_map_seg() 498 return (consumed); in ahc_linux_map_seg() 1557 int consumed; in ahc_linux_run_command() local 1561 consumed = ahc_linux_map_seg(ahc, scb, in ahc_linux_run_command() 1563 sg += consumed; in ahc_linux_run_command() 1564 scb->sg_count += consumed; in ahc_linux_run_command()
|
D | aic7xxx.seq | 974 /* Record if we've consumed all S/G entries */
|
D | aic79xx.seq | 1805 /* Record if we've consumed all S/G entries */
|
/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1969 size_t consumed, copy = 0; in qib_write() local 1986 consumed = sizeof(cmd.type); in qib_write() 2064 if ((count - consumed) < copy) { in qib_write() 2072 consumed += copy; in qib_write() 2155 ret = consumed; in qib_write()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 2237 size_t consumed, copy; in ipath_write() local 2254 consumed = sizeof(cmd.type); in ipath_write() 2321 if ((count - consumed) < copy) { in ipath_write() 2331 consumed += copy; in ipath_write() 2410 ret = consumed; in ipath_write()
|
/drivers/staging/android/ |
D | binder.c | 1838 void __user *buffer, int size, signed long *consumed) in binder_thread_write() argument 1841 void __user *ptr = buffer + *consumed; in binder_thread_write() 2219 *consumed = ptr - buffer; in binder_thread_write() 2251 signed long *consumed, int non_block) in binder_thread_read() argument 2253 void __user *ptr = buffer + *consumed; in binder_thread_read() 2259 if (*consumed == 0) { in binder_thread_read() 2542 *consumed = ptr - buffer; in binder_thread_read()
|
/drivers/target/ |
D | target_core_rd.c | 374 m.consumed = len; in rd_MEMCPY()
|
/drivers/scsi/be2iscsi/ |
D | be_main.h | 495 unsigned int consumed; member
|
D | be_main.c | 1424 WARN_ON(pasync_handle->consumed); in hwi_get_async_handle() 1477 pasync_handle->consumed = 1; in hwi_update_async_writables() 1587 pasync_handle->consumed = 0; in hwi_post_async_buffers() 1641 if (pasync_handle->consumed == 0) in hwi_flush_default_pdu_buffer() 1771 if (pasync_handle->consumed == 0) in hwi_process_default_pdu_ring()
|
/drivers/usb/gadget/ |
D | dummy_hcd.c | 1277 miter->consumed = this_sg; in dummy_perform_transfer()
|