/drivers/char/ |
D | adi.c | 134 size_t ver_buf_sz, bytes_written = 0; in adi_write() local 151 if (copy_from_user(ver_buf, &buf[bytes_written], in adi_write() 165 bytes_written += ver_buf_sz; in adi_write() 166 ver_buf_sz = min(count - bytes_written, (size_t)MAX_BUF_SZ); in adi_write() 167 } while (bytes_written < count); in adi_write() 169 (*offp) += bytes_written; in adi_write() 170 ret = bytes_written; in adi_write()
|
D | ppdev.c | 199 ssize_t bytes_written = 0; in pp_write() local 222 while (bytes_written < count) { in pp_write() 223 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE); in pp_write() 225 if (copy_from_user(kbuffer, buf + bytes_written, n)) { in pp_write() 226 bytes_written = -EFAULT; in pp_write() 244 if (!bytes_written) in pp_write() 245 bytes_written = wrote; in pp_write() 249 bytes_written += wrote; in pp_write() 252 if (!bytes_written) in pp_write() 253 bytes_written = -EAGAIN; in pp_write() [all …]
|
/drivers/scsi/fnic/ |
D | cq_exch_desc.h | 63 u16 bytes_written; member 96 u32 *bytes_written, in cq_fcp_rq_desc_dec() argument 117 *bytes_written = in cq_fcp_rq_desc_dec() 118 desc_ptr->bytes_written & CQ_FCP_RQ_DESC_BYTES_WRITTEN_MASK; in cq_fcp_rq_desc_dec() 120 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_PACKET_ERR_MASK) >> in cq_fcp_rq_desc_dec() 123 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_VS_STRIPPED_MASK) >> in cq_fcp_rq_desc_dec()
|
D | cq_enet_desc.h | 96 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument 126 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
|
D | fnic_fcs.c | 842 u16 q_number, completed_index, bytes_written = 0, vlan, checksum; in fnic_rq_cmpl_frame_recv() local 874 &bytes_written, &packet_error, in fnic_rq_cmpl_frame_recv() 881 skb_trim(skb, bytes_written); in fnic_rq_cmpl_frame_recv()
|
/drivers/ps3/ |
D | ps3-vuart.c | 352 const void *buf, unsigned int bytes, u64 *bytes_written) in ps3_vuart_raw_write() argument 358 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); in ps3_vuart_raw_write() 366 priv->stats.bytes_written += *bytes_written; in ps3_vuart_raw_write() 369 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write() 489 u64 bytes_written; in ps3_vuart_write() local 491 result = ps3_vuart_raw_write(dev, buf, bytes, &bytes_written); in ps3_vuart_write() 502 if (bytes_written == bytes) { in ps3_vuart_write() 508 bytes -= bytes_written; in ps3_vuart_write() 509 buf += bytes_written; in ps3_vuart_write() 732 u64 bytes_written; in ps3_vuart_handle_interrupt_tx() local [all …]
|
D | vuart.h | 15 unsigned long bytes_written; member
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 331 ssize_t *bytes_written, unsigned int tflags, int async) in sisusb_send_bulk_msg() argument 340 (*bytes_written) = 0; in sisusb_send_bulk_msg() 418 (*bytes_written) += passsize; in sisusb_send_bulk_msg() 429 (*bytes_written) = len; in sisusb_send_bulk_msg() 433 (*bytes_written) = transferred_len; in sisusb_send_bulk_msg() 438 return ((*bytes_written) == len) ? 0 : -EIO; in sisusb_send_bulk_msg() 756 int index, ssize_t *bytes_written) in sisusb_write_mem_bulk() argument 772 (*bytes_written = 0); in sisusb_write_mem_bulk() 789 (*bytes_written)++; in sisusb_write_mem_bulk() 804 (*bytes_written) += 2; in sisusb_write_mem_bulk() [all …]
|
/drivers/w1/slaves/ |
D | w1_ds2413.c | 90 ssize_t bytes_written = -EIO; in output_write() local 113 bytes_written = 1; in output_write() 125 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write() 126 return bytes_written; in output_write()
|
D | w1_ds2408.c | 169 ssize_t bytes_written = -EIO; in output_write() local 190 bytes_written = 1; in output_write() 203 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write() 205 return bytes_written; in output_write()
|
/drivers/usb/atm/ |
D | usbatm.c | 460 unsigned int bytes_written; in usbatm_write_cells() local 463 for (bytes_written = 0; bytes_written < avail_space && ctrl->len; in usbatm_write_cells() 464 bytes_written += stride, target += stride) { in usbatm_write_cells() 506 return bytes_written; in usbatm_write_cells() 575 unsigned int bytes_written = 0; in usbatm_tx_process() local 587 bytes_written = (urb->status == -EAGAIN) ? in usbatm_tx_process() 591 bytes_written += usbatm_write_cells(instance, skb, in usbatm_tx_process() 592 buffer + bytes_written, in usbatm_tx_process() 593 buf_size - bytes_written); in usbatm_tx_process() 597 __func__, bytes_written, skb, urb); in usbatm_tx_process() [all …]
|
/drivers/nvmem/ |
D | bcm-ocotp.c | 198 u32 bytes_written; in bcm_otpc_write() local 209 for (bytes_written = 0; bytes_written < bytes;) { in bcm_otpc_write() 215 bytes_written += sizeof(*buf); in bcm_otpc_write()
|
/drivers/i2c/busses/ |
D | i2c-bcm-kona.c | 455 unsigned int bytes_written = 0; in bcm_kona_i2c_write_fifo() local 460 while (bytes_written < msg->len) { in bcm_kona_i2c_write_fifo() 461 if (msg->len - bytes_written <= MAX_TX_FIFO_SIZE) in bcm_kona_i2c_write_fifo() 462 bytes_to_write = msg->len - bytes_written; in bcm_kona_i2c_write_fifo() 469 bytes_written += bytes_to_write; in bcm_kona_i2c_write_fifo()
|
/drivers/net/ethernet/cisco/enic/ |
D | cq_enet_desc.h | 107 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument 141 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
|
D | enic_main.c | 1310 u16 q_number, completed_index, bytes_written, vlan_tci, checksum; in enic_rq_indicate_buf() local 1322 &csum_not_calc, &rss_hash, &bytes_written, in enic_rq_indicate_buf() 1332 if (bytes_written > 0) in enic_rq_indicate_buf() 1334 else if (bytes_written == 0) in enic_rq_indicate_buf() 1346 if (eop && bytes_written > 0) { in enic_rq_indicate_buf() 1351 if (!enic_rxcopybreak(netdev, &skb, buf, bytes_written)) { in enic_rq_indicate_buf() 1358 skb_put(skb, bytes_written); in enic_rq_indicate_buf() 1421 bytes_written); in enic_rq_indicate_buf()
|
/drivers/usb/misc/ |
D | adutux.c | 508 size_t bytes_written = 0; in adu_write() local 558 retval = bytes_written ? bytes_written : retval; in adu_write() 607 bytes_written += bytes_to_write; in adu_write() 611 return bytes_written; in adu_write()
|
/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 544 int bytes_written = 0; in ivtv_write() local 600 bytes_written += itv->dma_data_req_size; in ivtv_write() 605 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write() 606 return bytes_written; in ivtv_write() 652 bytes_written += rc; in ivtv_write() 704 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write() 705 return bytes_written; in ivtv_write()
|
D | ivtv-irq.c | 347 int bytes_written = 0; in ivtv_dma_stream_dec_prepare() local 366 (bytes_written + buf->bytesused) >= y_size) { in ivtv_dma_stream_dec_prepare() 369 s->sg_pending[idx].size = y_size - bytes_written; in ivtv_dma_stream_dec_prepare() 387 bytes_written += buf->bytesused; in ivtv_dma_stream_dec_prepare()
|
/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 831 int bytes_written = 0; in ablk_dma_crypt() local 855 bytes_written = cryp_dma_write(ctx, areq->src, ctx->datalen); in ablk_dma_crypt() 856 bytes_read = cryp_dma_read(ctx, areq->dst, bytes_written); in ablk_dma_crypt() 876 if (unlikely(bytes_written != bytes_read)) in ablk_dma_crypt()
|
/drivers/crypto/ux500/hash/ |
D | hash_core.c | 863 int bytes_written = 0; in hash_dma_final() local 921 bytes_written = hash_dma_write(ctx, req->src, req->nbytes); in hash_dma_final() 922 if (bytes_written != req->nbytes) { in hash_dma_final() 925 ret = bytes_written; in hash_dma_final()
|
/drivers/comedi/ |
D | comedi_fops.c | 1148 bi.bytes_written = 0; in do_bufinfo_ioctl() 1152 bi.bytes_written = 0; in do_bufinfo_ioctl() 1156 } else if (bi.bytes_written) { in do_bufinfo_ioctl() 1157 comedi_buf_write_alloc(s, bi.bytes_written); in do_bufinfo_ioctl() 1158 bi.bytes_written = in do_bufinfo_ioctl() 1159 comedi_buf_write_free(s, bi.bytes_written); in do_bufinfo_ioctl()
|
D | comedi.h | 896 unsigned int bytes_written; member
|
/drivers/hv/ |
D | vmbus_drv.c | 1401 size_t bytes_written; in hv_kmsg_dump() local 1413 &bytes_written); in hv_kmsg_dump() 1414 if (!bytes_written) in hv_kmsg_dump() 1425 hv_set_register(HV_REGISTER_CRASH_P4, bytes_written); in hv_kmsg_dump()
|
/drivers/md/bcache/ |
D | bset.h | 392 size_t bytes_written, bytes_unwritten; member
|
/drivers/scsi/elx/efct/ |
D | efct_hw.c | 24 void (*cb)(int status, u32 bytes_written, u32 change_status, void *arg); 3273 u32 bytes_written; in efct_hw_cb_fw_write() local 3279 bytes_written = le32_to_cpu(wr_obj_rsp->actual_write_length); in efct_hw_cb_fw_write() 3288 cb_arg->cb(status, bytes_written, change_status, in efct_hw_cb_fw_write() 3301 void (*cb)(int status, u32 bytes_written, in efct_hw_firmware_write() argument
|