bytes_read 1205 arch/sparc/include/asm/hypervisor.h unsigned long *bytes_read); bytes_read 836 arch/x86/events/intel/lbr.c int bytes_read, bytes_left; bytes_read 866 arch/x86/events/intel/lbr.c bytes_read = MAX_INSN_SIZE - bytes_left; bytes_read 867 arch/x86/events/intel/lbr.c if (!bytes_read) bytes_read 887 arch/x86/events/intel/lbr.c bytes_read = MAX_INSN_SIZE; bytes_read 900 arch/x86/events/intel/lbr.c insn_init(&insn, addr, bytes_read, is64); bytes_read 1304 drivers/acpi/osl.c acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) bytes_read 1322 drivers/acpi/osl.c if (bytes_read) bytes_read 1323 drivers/acpi/osl.c *bytes_read = ret; bytes_read 57 drivers/char/adi.c size_t ver_buf_sz, bytes_read = 0; bytes_read 70 drivers/char/adi.c while (bytes_read < count) { bytes_read 80 drivers/char/adi.c if (copy_to_user(buf + bytes_read, ver_buf, bytes_read 86 drivers/char/adi.c bytes_read += ver_buf_sz; bytes_read 89 drivers/char/adi.c ver_buf_sz = min(count - bytes_read, bytes_read 94 drivers/char/adi.c (*offp) += bytes_read; bytes_read 95 drivers/char/adi.c ret = bytes_read; bytes_read 66 drivers/char/hw_random/core.c int bytes_read; bytes_read 70 drivers/char/hw_random/core.c bytes_read = rng_get_data(rng, rng_buffer, size, 0); bytes_read 72 drivers/char/hw_random/core.c if (bytes_read > 0) bytes_read 73 drivers/char/hw_random/core.c add_device_randomness(rng_buffer, bytes_read); bytes_read 206 drivers/char/hw_random/core.c int bytes_read, len; bytes_read 225 drivers/char/hw_random/core.c bytes_read = rng_get_data(rng, rng_buffer, bytes_read 228 drivers/char/hw_random/core.c if (bytes_read < 0) { bytes_read 229 drivers/char/hw_random/core.c err = bytes_read; bytes_read 232 drivers/char/hw_random/core.c data_avail = bytes_read; bytes_read 121 drivers/char/ppdev.c ssize_t bytes_read = 0; bytes_read 146 drivers/char/ppdev.c while (bytes_read == 0) { bytes_read 162 drivers/char/ppdev.c bytes_read = (*fn)(pport, kbuffer, need, flags); bytes_read 164 drivers/char/ppdev.c bytes_read = parport_read(pport, kbuffer, need); bytes_read 167 drivers/char/ppdev.c if (bytes_read != 0) bytes_read 171 drivers/char/ppdev.c bytes_read = -EAGAIN; bytes_read 176 drivers/char/ppdev.c bytes_read = -ERESTARTSYS; bytes_read 185 drivers/char/ppdev.c if (bytes_read > 0 && copy_to_user(buf, kbuffer, bytes_read)) bytes_read 186 drivers/char/ppdev.c bytes_read = -EFAULT; bytes_read 190 drivers/char/ppdev.c return bytes_read; bytes_read 147 drivers/crypto/cavium/zip/common.h u32 bytes_read; bytes_read 192 drivers/crypto/cavium/zip/zip_inflate.c zip_ops->bytes_read = result_ptr->s.totalbytesread; bytes_read 838 drivers/crypto/ux500/cryp/cryp_core.c int bytes_read = 0; bytes_read 862 drivers/crypto/ux500/cryp/cryp_core.c bytes_read = cryp_dma_read(ctx, areq->dst, bytes_written); bytes_read 882 drivers/crypto/ux500/cryp/cryp_core.c if (unlikely(bytes_written != bytes_read)) bytes_read 139 drivers/firmware/broadcom/bcm47xx_nvram.c size_t bytes_read; bytes_read 146 drivers/firmware/broadcom/bcm47xx_nvram.c err = mtd_read(mtd, 0, sizeof(header), &bytes_read, (uint8_t *)&header); bytes_read 194 drivers/hid/hid-rmi.c int bytes_read; bytes_read 227 drivers/hid/hid-rmi.c bytes_read = 0; bytes_read 229 drivers/hid/hid-rmi.c while (bytes_read < len) { bytes_read 240 drivers/hid/hid-rmi.c memcpy(buf + bytes_read, &data->readReport[2], bytes_read 244 drivers/hid/hid-rmi.c bytes_read += read_input_count; bytes_read 468 drivers/hv/ring_buffer.c u32 curr_write_sz, pending_sz, bytes_read, start_read_index; bytes_read 513 drivers/hv/ring_buffer.c bytes_read = hv_pkt_iter_bytes_read(rbi, start_read_index); bytes_read 535 drivers/hv/ring_buffer.c if (curr_write_sz - bytes_read > pending_sz) bytes_read 331 drivers/i2c/busses/i2c-bcm-kona.c unsigned int bytes_read = 0; bytes_read 336 drivers/i2c/busses/i2c-bcm-kona.c while (bytes_read < msg->len) { bytes_read 337 drivers/i2c/busses/i2c-bcm-kona.c if (msg->len - bytes_read <= MAX_RX_FIFO_SIZE) { bytes_read 339 drivers/i2c/busses/i2c-bcm-kona.c bytes_to_read = msg->len - bytes_read; bytes_read 347 drivers/i2c/busses/i2c-bcm-kona.c bytes_read += bytes_to_read; bytes_read 635 drivers/media/dvb-core/dvb_ca_en50221.c int bytes_read; bytes_read 668 drivers/media/dvb-core/dvb_ca_en50221.c bytes_read = status; bytes_read 688 drivers/media/dvb-core/dvb_ca_en50221.c bytes_read = status << 8; bytes_read 693 drivers/media/dvb-core/dvb_ca_en50221.c bytes_read |= status; bytes_read 697 drivers/media/dvb-core/dvb_ca_en50221.c if (bytes_read > sl->link_buf_size) { bytes_read 699 drivers/media/dvb-core/dvb_ca_en50221.c ca->dvbdev->adapter->num, bytes_read, bytes_read 705 drivers/media/dvb-core/dvb_ca_en50221.c if (bytes_read < 2) { bytes_read 713 drivers/media/dvb-core/dvb_ca_en50221.c if (bytes_read > ecount) { bytes_read 722 drivers/media/dvb-core/dvb_ca_en50221.c for (i = 0; i < bytes_read; i++) { bytes_read 754 drivers/media/dvb-core/dvb_ca_en50221.c dvb_ringbuffer_pkt_write(&sl->rx_buffer, buf, bytes_read); bytes_read 756 drivers/media/dvb-core/dvb_ca_en50221.c memcpy(ebuf, buf, bytes_read); bytes_read 760 drivers/media/dvb-core/dvb_ca_en50221.c buf[0], (buf[1] & 0x80) == 0, bytes_read); bytes_read 766 drivers/media/dvb-core/dvb_ca_en50221.c status = bytes_read; bytes_read 228 drivers/media/rc/redrat3.c u16 bytes_read; bytes_read 624 drivers/media/rc/redrat3.c rr3->bytes_read = len; bytes_read 626 drivers/media/rc/redrat3.c rr3->bytes_read, pktlen); bytes_read 640 drivers/media/rc/redrat3.c if (len + rr3->bytes_read > sizeof(rr3->irdata)) { bytes_read 642 drivers/media/rc/redrat3.c rr3->bytes_read = 0; bytes_read 646 drivers/media/rc/redrat3.c memcpy(irdata + rr3->bytes_read, rr3->bulk_in_buf, len); bytes_read 648 drivers/media/rc/redrat3.c rr3->bytes_read += len; bytes_read 649 drivers/media/rc/redrat3.c dev_dbg(rr3->dev, "bytes_read %d, pktlen %d\n", rr3->bytes_read, bytes_read 660 drivers/media/rc/redrat3.c if (rr3->bytes_read == 0 && len >= sizeof(struct redrat3_header)) { bytes_read 662 drivers/media/rc/redrat3.c } else if (rr3->bytes_read != 0) { bytes_read 664 drivers/media/rc/redrat3.c } else if (rr3->bytes_read == 0) { bytes_read 670 drivers/media/rc/redrat3.c if (rr3->bytes_read < be16_to_cpu(rr3->irdata.header.length) + bytes_read 684 drivers/media/rc/redrat3.c rr3->bytes_read = 0; bytes_read 722 drivers/media/rc/redrat3.c rr3->bytes_read = 0; bytes_read 1783 drivers/media/usb/usbvision/usbvision-core.c usbvision->frame[i].bytes_read = 0; bytes_read 1819 drivers/media/usb/usbvision/usbvision-core.c usbvision->frame[i].bytes_read = 0; bytes_read 957 drivers/media/usb/usbvision/usbvision-video.c frame->bytes_read = 0; bytes_read 963 drivers/media/usb/usbvision/usbvision-video.c frame->index, frame->bytes_read, frame->scanlength); bytes_read 966 drivers/media/usb/usbvision/usbvision-video.c if ((count + frame->bytes_read) > (unsigned long)frame->scanlength) bytes_read 967 drivers/media/usb/usbvision/usbvision-video.c count = frame->scanlength - frame->bytes_read; bytes_read 969 drivers/media/usb/usbvision/usbvision-video.c if (copy_to_user(buf, frame->data + frame->bytes_read, count)) bytes_read 972 drivers/media/usb/usbvision/usbvision-video.c frame->bytes_read += count; bytes_read 975 drivers/media/usb/usbvision/usbvision-video.c (unsigned long)count, frame->bytes_read); bytes_read 981 drivers/media/usb/usbvision/usbvision-video.c frame->bytes_read = 0; bytes_read 305 drivers/media/usb/usbvision/usbvision.h long bytes_read; /* amount of scanlength that has been read from data */ bytes_read 93 drivers/mtd/parsers/bcm47xxpart.c size_t bytes_read; bytes_read 134 drivers/mtd/parsers/bcm47xxpart.c &bytes_read, (uint8_t *)buf); bytes_read 236 drivers/mtd/parsers/bcm47xxpart.c err = mtd_read(master, offset + 0x8000, 0x4, &bytes_read, bytes_read 260 drivers/mtd/parsers/bcm47xxpart.c err = mtd_read(master, offset, 0x4, &bytes_read, bytes_read 32 drivers/mtd/parsers/parser_trx.c size_t bytes_read; bytes_read 35 drivers/mtd/parsers/parser_trx.c err = mtd_read(master, offset, sizeof(buf), &bytes_read, bytes_read 57 drivers/mtd/parsers/parser_trx.c size_t bytes_read; bytes_read 66 drivers/mtd/parsers/parser_trx.c err = mtd_read(mtd, 0, sizeof(trx), &bytes_read, (uint8_t *)&trx); bytes_read 436 drivers/net/ethernet/cavium/liquidio/octeon_console.c s32 bytes_read) bytes_read 443 drivers/net/ethernet/cavium/liquidio/octeon_console.c for (i = 0; i < bytes_read; i++) { bytes_read 471 drivers/net/ethernet/cavium/liquidio/octeon_console.c if (line != &console_buffer[bytes_read]) { bytes_read 472 drivers/net/ethernet/cavium/liquidio/octeon_console.c console_buffer[bytes_read] = '\0'; bytes_read 481 drivers/net/ethernet/cavium/liquidio/octeon_console.c s32 bytes_read, tries, total_read; bytes_read 497 drivers/net/ethernet/cavium/liquidio/octeon_console.c bytes_read = bytes_read 500 drivers/net/ethernet/cavium/liquidio/octeon_console.c if (bytes_read > 0) { bytes_read 501 drivers/net/ethernet/cavium/liquidio/octeon_console.c total_read += bytes_read; bytes_read 506 drivers/net/ethernet/cavium/liquidio/octeon_console.c console_buffer, bytes_read); bytes_read 508 drivers/net/ethernet/cavium/liquidio/octeon_console.c } else if (bytes_read < 0) { bytes_read 510 drivers/net/ethernet/cavium/liquidio/octeon_console.c console_num, bytes_read); bytes_read 514 drivers/net/ethernet/cavium/liquidio/octeon_console.c } while ((bytes_read > 0) && (tries < 16)); bytes_read 579 drivers/net/ethernet/cavium/liquidio/octeon_console.c s32 bytes_read, tries, total_read; bytes_read 609 drivers/net/ethernet/cavium/liquidio/octeon_console.c bytes_read = bytes_read 614 drivers/net/ethernet/cavium/liquidio/octeon_console.c if (bytes_read > 0) { bytes_read 615 drivers/net/ethernet/cavium/liquidio/octeon_console.c buf[bytes_read] = '\0'; bytes_read 617 drivers/net/ethernet/cavium/liquidio/octeon_console.c total_read += bytes_read; bytes_read 620 drivers/net/ethernet/cavium/liquidio/octeon_console.c } else if (bytes_read < 0) { bytes_read 622 drivers/net/ethernet/cavium/liquidio/octeon_console.c console_num, bytes_read); bytes_read 626 drivers/net/ethernet/cavium/liquidio/octeon_console.c } while ((bytes_read > 0) && (tries < 16)); bytes_read 22 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c int bytes_left, bytes_read, bytes; bytes_read 31 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read = 0; bytes_read 36 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c temp_in_buff.data = (char *)pin_buff->data + bytes_read; bytes_read 42 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read += bytes; bytes_read 971 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c unsigned long bytes, bytes_left, bytes_read = 0; bytes_read 1015 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read >= payload[i].start && bytes_read 1016 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read + bytes <= payload[i].end) bytes_read 1022 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read, bytes, temp_buff.data); bytes_read 1032 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c bytes_read += bytes; bytes_read 160 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c int bytes_read; bytes_read 174 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_rtsym_read(cpp, specsym, 0, dumpspec->data, sym_size); bytes_read 175 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c if (bytes_read != sym_size) { bytes_read 455 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c int bytes_read; bytes_read 484 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_cpp_read(pf->cpp, cpp_id, cpp_rd_addr, bytes_read 486 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c err = bytes_read == reg_sz ? 0 : -EIO; bytes_read 606 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c int bytes_read; bytes_read 643 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_rtsym_read(pf->cpp, sym, 0, dest, sym_size); bytes_read 644 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c if (bytes_read != sym_size) { bytes_read 645 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c if (bytes_read >= 0) bytes_read 646 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = -EIO; bytes_read 647 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error = cpu_to_be32(bytes_read); bytes_read 345 drivers/net/ethernet/qualcomm/qca_spi.c u32 bytes_read; bytes_read 389 drivers/net/ethernet/qualcomm/qca_spi.c bytes_read = qcaspi_read_legacy(qca, qca->rx_buffer, bytes_read 392 drivers/net/ethernet/qualcomm/qca_spi.c bytes_read = qcaspi_read_burst(qca, qca->rx_buffer, bytes_read 397 drivers/net/ethernet/qualcomm/qca_spi.c available, bytes_read); bytes_read 399 drivers/net/ethernet/qualcomm/qca_spi.c if (bytes_read) { bytes_read 400 drivers/net/ethernet/qualcomm/qca_spi.c available -= bytes_read; bytes_read 408 drivers/net/ethernet/qualcomm/qca_spi.c while ((bytes_read--) && (qca->rx_skb)) { bytes_read 40 drivers/net/wireless/ath/ath9k/common-spectral.c typedef int (ath_cmn_fft_idx_validator) (u8 *sample_end, int bytes_read); bytes_read 43 drivers/net/wireless/ath/ath9k/common-spectral.c ath_cmn_max_idx_verify_ht20_fft(u8 *sample_end, int bytes_read) bytes_read 54 drivers/net/wireless/ath/ath9k/common-spectral.c if (bytes_read < SPECTRAL_HT20_SAMPLE_LEN - 1) bytes_read 71 drivers/net/wireless/ath/ath9k/common-spectral.c if (bytes_read < SPECTRAL_HT20_SAMPLE_LEN && max_index < 1) bytes_read 81 drivers/net/wireless/ath/ath9k/common-spectral.c ath_cmn_max_idx_verify_ht20_40_fft(u8 *sample_end, int bytes_read) bytes_read 93 drivers/net/wireless/ath/ath9k/common-spectral.c if (bytes_read < SPECTRAL_HT20_40_SAMPLE_LEN - 1) bytes_read 113 drivers/net/wireless/ath/ath9k/common-spectral.c if (bytes_read < SPECTRAL_HT20_40_SAMPLE_LEN && bytes_read 76 drivers/net/wireless/ath/ath9k/rng.c int bytes_read; bytes_read 86 drivers/net/wireless/ath/ath9k/rng.c bytes_read = ath9k_rng_data_read(sc, rng_buf, bytes_read 88 drivers/net/wireless/ath/ath9k/rng.c if (unlikely(!bytes_read)) { bytes_read 99 drivers/net/wireless/ath/ath9k/rng.c add_hwgenerator_randomness((void *)rng_buf, bytes_read, bytes_read 100 drivers/net/wireless/ath/ath9k/rng.c ATH9K_RNG_ENTROPY(bytes_read)); bytes_read 146 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c int ret, bytes_read, offset_read; bytes_read 160 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c bytes_read = le16_to_cpu(nvm_resp->length); bytes_read 195 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c memcpy(data + offset, resp_data, bytes_read); bytes_read 196 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c ret = bytes_read; bytes_read 167 drivers/nvmem/bcm-ocotp.c u32 bytes_read; bytes_read 171 drivers/nvmem/bcm-ocotp.c for (bytes_read = 0; bytes_read < bytes;) { bytes_read 184 drivers/nvmem/bcm-ocotp.c bytes_read += sizeof(*buf); bytes_read 359 drivers/pci/hotplug/acpiphp_ibm.c int bytes_read = -EINVAL; bytes_read 365 drivers/pci/hotplug/acpiphp_ibm.c bytes_read = ibm_get_table_from_acpi(&table); bytes_read 366 drivers/pci/hotplug/acpiphp_ibm.c if (bytes_read > 0 && bytes_read <= size) bytes_read 367 drivers/pci/hotplug/acpiphp_ibm.c memcpy(buffer, table, bytes_read); bytes_read 370 drivers/pci/hotplug/acpiphp_ibm.c return bytes_read; bytes_read 259 drivers/platform/x86/dell_rbu.c int length, int bytes_read, int *list_read_count) bytes_read 269 drivers/platform/x86/dell_rbu.c if (*list_read_count > bytes_read) { bytes_read 271 drivers/platform/x86/dell_rbu.c j = newpacket->length - (*list_read_count - bytes_read); bytes_read 278 drivers/platform/x86/dell_rbu.c if (length > (*list_read_count - bytes_read)) bytes_read 283 drivers/platform/x86/dell_rbu.c bytes_copied = (*list_read_count - bytes_read); bytes_read 297 drivers/platform/x86/dell_rbu.c int bytes_read = 0; bytes_read 306 drivers/platform/x86/dell_rbu.c bytes_read = rbu_data.packet_read_count; bytes_read 311 drivers/platform/x86/dell_rbu.c remaining_bytes, bytes_read, &temp_count); bytes_read 313 drivers/platform/x86/dell_rbu.c bytes_read += bytes_copied; bytes_read 325 drivers/platform/x86/dell_rbu.c *pread_length = bytes_read - rbu_data.packet_read_count; bytes_read 326 drivers/platform/x86/dell_rbu.c rbu_data.packet_read_count = bytes_read; bytes_read 382 drivers/ps3/ps3-vuart.c unsigned int bytes, u64 *bytes_read) bytes_read 390 drivers/ps3/ps3-vuart.c ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_read); bytes_read 398 drivers/ps3/ps3-vuart.c priv->stats.bytes_read += *bytes_read; bytes_read 401 drivers/ps3/ps3-vuart.c *bytes_read, bytes, priv->stats.bytes_read); bytes_read 448 drivers/ps3/ps3-vuart.c priv->stats.bytes_read -= bytes_waiting; bytes_read 605 drivers/ps3/ps3-vuart.c unsigned long bytes_read; bytes_read 628 drivers/ps3/ps3-vuart.c bytes_read = min((unsigned int)(lb->tail - lb->head), bytes); bytes_read 630 drivers/ps3/ps3-vuart.c memcpy(buf, lb->head, bytes_read); bytes_read 631 drivers/ps3/ps3-vuart.c buf += bytes_read; bytes_read 632 drivers/ps3/ps3-vuart.c bytes -= bytes_read; bytes_read 633 drivers/ps3/ps3-vuart.c priv->rx_list.bytes_held -= bytes_read; bytes_read 635 drivers/ps3/ps3-vuart.c if (bytes_read < lb->tail - lb->head) { bytes_read 636 drivers/ps3/ps3-vuart.c lb->head += bytes_read; bytes_read 639 drivers/ps3/ps3-vuart.c bytes_read); bytes_read 646 drivers/ps3/ps3-vuart.c bytes_read); bytes_read 16 drivers/ps3/vuart.h unsigned long bytes_read; bytes_read 1548 drivers/scsi/cxgbi/libcxgbi.c int bytes_read; bytes_read 1550 drivers/scsi/cxgbi/libcxgbi.c bytes_read = iscsi_tcp_recv_skb(conn, skb, offset, offloaded, &status); bytes_read 1559 drivers/scsi/cxgbi/libcxgbi.c skb, offset, offloaded, bytes_read); bytes_read 1561 drivers/scsi/cxgbi/libcxgbi.c return bytes_read; bytes_read 1574 drivers/scsi/cxgbi/libcxgbi.c skb, offset, offloaded, bytes_read); bytes_read 1575 drivers/scsi/cxgbi/libcxgbi.c return bytes_read; bytes_read 889 drivers/staging/comedi/comedi.h unsigned int bytes_read; bytes_read 1132 drivers/staging/comedi/comedi_fops.c if (bi.bytes_read) { bytes_read 1133 drivers/staging/comedi/comedi_fops.c comedi_buf_read_alloc(s, bi.bytes_read); bytes_read 1134 drivers/staging/comedi/comedi_fops.c bi.bytes_read = comedi_buf_read_free(s, bi.bytes_read); bytes_read 1143 drivers/staging/comedi/comedi_fops.c (bi.bytes_read == 0 || bytes_read 1162 drivers/staging/comedi/comedi_fops.c bi.bytes_read = 0; bytes_read 1428 drivers/staging/unisys/visornic/visornic_main.c ssize_t bytes_read = 0; bytes_read 1567 drivers/staging/unisys/visornic/visornic_main.c bytes_read = simple_read_from_buffer(buf, len, offset, vbuf, str_pos); bytes_read 1569 drivers/staging/unisys/visornic/visornic_main.c return bytes_read; bytes_read 559 drivers/tty/serial/sc16is7xx.c unsigned int lsr = 0, ch, flag, bytes_read, i; bytes_read 582 drivers/tty/serial/sc16is7xx.c bytes_read = 1; bytes_read 585 drivers/tty/serial/sc16is7xx.c bytes_read = rxlen; bytes_read 616 drivers/tty/serial/sc16is7xx.c for (i = 0; i < bytes_read; ++i) { bytes_read 627 drivers/tty/serial/sc16is7xx.c rxlen -= bytes_read; bytes_read 125 drivers/tty/serial/sunhv.c unsigned long bytes_read, i; bytes_read 126 drivers/tty/serial/sunhv.c long stat = sun4v_con_read(ra, PAGE_SIZE, &bytes_read); bytes_read 129 drivers/tty/serial/sunhv.c bytes_read = 0; bytes_read 139 drivers/tty/serial/sunhv.c bytes_read = 1; bytes_read 156 drivers/tty/serial/sunhv.c for (i = 0; i < bytes_read; i++) bytes_read 164 drivers/tty/serial/sunhv.c port->icount.rx += bytes_read; bytes_read 167 drivers/tty/serial/sunhv.c bytes_read); bytes_read 825 drivers/usb/atm/ueagle-atm.c int bytes_read; bytes_read 835 drivers/usb/atm/ueagle-atm.c xfer_buff, size, &bytes_read, BULK_TIMEOUT); bytes_read 840 drivers/usb/atm/ueagle-atm.c if (size != bytes_read) { bytes_read 842 drivers/usb/atm/ueagle-atm.c bytes_read); bytes_read 511 drivers/usb/gadget/udc/s3c2410_udc.c int bytes_read = 0; bytes_read 515 drivers/usb/gadget/udc/s3c2410_udc.c bytes_read = s3c2410_udc_fifo_count_out(); bytes_read 517 drivers/usb/gadget/udc/s3c2410_udc.c dprintk(DEBUG_NORMAL, "%s: fifo_count=%d\n", __func__, bytes_read); bytes_read 519 drivers/usb/gadget/udc/s3c2410_udc.c if (bytes_read > sizeof(struct usb_ctrlrequest)) bytes_read 520 drivers/usb/gadget/udc/s3c2410_udc.c bytes_read = sizeof(struct usb_ctrlrequest); bytes_read 522 drivers/usb/gadget/udc/s3c2410_udc.c readsb(S3C2410_UDC_EP0_FIFO_REG + base_addr, outbuf, bytes_read); bytes_read 525 drivers/usb/gadget/udc/s3c2410_udc.c bytes_read, crq->bRequest, crq->bRequestType, bytes_read 528 drivers/usb/gadget/udc/s3c2410_udc.c return bytes_read; bytes_read 346 drivers/usb/misc/adutux.c size_t bytes_read = 0; bytes_read 389 drivers/usb/misc/adutux.c bytes_read += amount; bytes_read 437 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -ENOMEM; bytes_read 462 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -ETIMEDOUT; bytes_read 470 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -EINTR; bytes_read 477 drivers/usb/misc/adutux.c retval = bytes_read; bytes_read 662 drivers/usb/misc/ftdi-elan.c int bytes_read = 0; bytes_read 674 drivers/usb/misc/ftdi-elan.c if (bytes_read < m) { bytes_read 676 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > m) { bytes_read 682 drivers/usb/misc/ftdi-elan.c bytes_read += 1; bytes_read 686 drivers/usb/misc/ftdi-elan.c return bytes_read; bytes_read 701 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > 0) { bytes_read 702 drivers/usb/misc/ftdi-elan.c return bytes_read; bytes_read 709 drivers/usb/misc/ftdi-elan.c return bytes_read; bytes_read 713 drivers/usb/misc/ftdi-elan.c return bytes_read; bytes_read 915 drivers/usb/misc/ftdi-elan.c int bytes_read = 0; bytes_read 943 drivers/usb/misc/ftdi-elan.c packet_bytes, bytes_read, diag); bytes_read 945 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > 0) { bytes_read 947 drivers/usb/misc/ftdi-elan.c bytes_read, diag); bytes_read 951 drivers/usb/misc/ftdi-elan.c packet_bytes, bytes_read, diag); bytes_read 956 drivers/usb/misc/ftdi-elan.c retval, packet_bytes, bytes_read, diag); bytes_read 960 drivers/usb/misc/ftdi-elan.c retval, packet_bytes, bytes_read, diag); bytes_read 974 drivers/usb/misc/ftdi-elan.c bytes_read += 1; bytes_read 1820 drivers/usb/misc/ftdi-elan.c int bytes_read = 0; bytes_read 1824 drivers/usb/misc/ftdi-elan.c if (bytes_read < m) { bytes_read 1827 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > m) { bytes_read 1830 drivers/usb/misc/ftdi-elan.c bytes_read += 1; bytes_read 1993 drivers/usb/misc/ftdi-elan.c int bytes_read = 0; bytes_read 1998 drivers/usb/misc/ftdi-elan.c if (bytes_read < m) { bytes_read 2000 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > m) { bytes_read 2003 drivers/usb/misc/ftdi-elan.c bytes_read += 1; bytes_read 2088 drivers/usb/misc/ftdi-elan.c int bytes_read = 0; bytes_read 2092 drivers/usb/misc/ftdi-elan.c if (bytes_read < m) { bytes_read 2095 drivers/usb/misc/ftdi-elan.c } else if (bytes_read > m) { bytes_read 2098 drivers/usb/misc/ftdi-elan.c bytes_read += 1; bytes_read 126 drivers/usb/misc/idmouse.c int bytes_read; bytes_read 131 drivers/usb/misc/idmouse.c bytes_read = sizeof(HEADER)-1; bytes_read 160 drivers/usb/misc/idmouse.c while (bytes_read < IMGSIZE) { bytes_read 163 drivers/usb/misc/idmouse.c dev->bulk_in_buffer + bytes_read, bytes_read 178 drivers/usb/misc/idmouse.c bytes_read += bulk_read; bytes_read 187 drivers/usb/misc/idmouse.c for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH) bytes_read 188 drivers/usb/misc/idmouse.c if (dev->bulk_in_buffer[bytes_read] != 0x00) bytes_read 192 drivers/usb/misc/idmouse.c for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++) bytes_read 193 drivers/usb/misc/idmouse.c if (dev->bulk_in_buffer[bytes_read] != 0xFF) bytes_read 198 drivers/usb/misc/idmouse.c bytes_read); bytes_read 451 drivers/usb/misc/sisusbvga/sisusb.c void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, bytes_read 459 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read) = 0; bytes_read 502 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read) += thispass; bytes_read 523 drivers/usb/misc/sisusbvga/sisusb.c return ((*bytes_read) == len) ? 0 : -EIO; bytes_read 1108 drivers/usb/misc/sisusbvga/sisusb.c ssize_t *bytes_read) bytes_read 1115 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read = 0); bytes_read 1125 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read)++; bytes_read 1138 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read) += 2; bytes_read 1152 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read) += 3; bytes_read 1178 drivers/usb/misc/sisusbvga/sisusb.c (*bytes_read) += 4; bytes_read 2486 drivers/usb/misc/sisusbvga/sisusb.c ssize_t bytes_read = 0; bytes_read 2523 drivers/usb/misc/sisusbvga/sisusb.c bytes_read = 1; bytes_read 2534 drivers/usb/misc/sisusbvga/sisusb.c bytes_read = 2; bytes_read 2545 drivers/usb/misc/sisusbvga/sisusb.c bytes_read = 4; bytes_read 2564 drivers/usb/misc/sisusbvga/sisusb.c NULL, count, buffer, &bytes_read); bytes_read 2566 drivers/usb/misc/sisusbvga/sisusb.c if (bytes_read) bytes_read 2567 drivers/usb/misc/sisusbvga/sisusb.c errno = bytes_read; bytes_read 2580 drivers/usb/misc/sisusbvga/sisusb.c NULL, count, buffer, &bytes_read); bytes_read 2582 drivers/usb/misc/sisusbvga/sisusb.c if (bytes_read) bytes_read 2583 drivers/usb/misc/sisusbvga/sisusb.c errno = bytes_read; bytes_read 2603 drivers/usb/misc/sisusbvga/sisusb.c bytes_read = 4; bytes_read 2611 drivers/usb/misc/sisusbvga/sisusb.c (*ppos) += bytes_read; bytes_read 2615 drivers/usb/misc/sisusbvga/sisusb.c return errno ? errno : bytes_read; bytes_read 129 drivers/usb/misc/usblcd.c int bytes_read; bytes_read 146 drivers/usb/misc/usblcd.c &bytes_read, 10000); bytes_read 150 drivers/usb/misc/usblcd.c if (copy_to_user(buffer, dev->bulk_in_buffer, bytes_read)) bytes_read 153 drivers/usb/misc/usblcd.c retval = bytes_read; bytes_read 177 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c int r, l, bytes_read; bytes_read 187 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c bytes_read = l; bytes_read 198 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c bytes_read += l; bytes_read 201 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c return bytes_read; bytes_read 33 drivers/w1/slaves/w1_ds2413.c ssize_t bytes_read = -EIO; bytes_read 59 drivers/w1/slaves/w1_ds2413.c bytes_read = 1; bytes_read 77 drivers/w1/slaves/w1_ds2413.c (bytes_read > 0) ? "succeeded" : "error", retries); bytes_read 78 drivers/w1/slaves/w1_ds2413.c return bytes_read; bytes_read 133 fs/befs/datastream.c befs_off_t bytes_read = 0; /* bytes readed */ bytes_read 139 fs/befs/datastream.c while (bytes_read < len) { bytes_read 140 fs/befs/datastream.c bh = befs_read_datastream(sb, ds, bytes_read, NULL); bytes_read 143 fs/befs/datastream.c "starting from %llu", bytes_read); bytes_read 145 fs/befs/datastream.c return bytes_read; bytes_read 148 fs/befs/datastream.c plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? bytes_read 149 fs/befs/datastream.c BEFS_SB(sb)->block_size : len - bytes_read; bytes_read 150 fs/befs/datastream.c memcpy(buff + bytes_read, bh->b_data, plen); bytes_read 152 fs/befs/datastream.c bytes_read += plen; bytes_read 156 fs/befs/datastream.c bytes_read); bytes_read 157 fs/befs/datastream.c return bytes_read; bytes_read 479 fs/cifs/cifs_debug.c tcon->bytes_read = 0; bytes_read 1074 fs/cifs/cifsglob.h __u64 bytes_read; bytes_read 1486 fs/cifs/cifsglob.h tcon->bytes_read += bytes; bytes_read 3948 fs/cifs/file.c unsigned int bytes_read = 0; bytes_read 3991 fs/cifs/file.c total_read += bytes_read, cur_offset += bytes_read) { bytes_read 4015 fs/cifs/file.c &bytes_read, &cur_offset, bytes_read 4019 fs/cifs/file.c if (rc || (bytes_read == 0)) { bytes_read 4028 fs/cifs/file.c *offset += bytes_read; bytes_read 449 fs/cifs/inode.c unsigned int bytes_read; bytes_read 502 fs/cifs/inode.c &bytes_read, &pbuf, &buf_type); bytes_read 503 fs/cifs/inode.c if ((rc == 0) && (bytes_read >= 8)) { bytes_read 508 fs/cifs/inode.c if (bytes_read == 24) { bytes_read 520 fs/cifs/inode.c if (bytes_read == 24) { bytes_read 222 fs/cifs/link.c unsigned int bytes_read = 0; bytes_read 230 fs/cifs/link.c cifs_sb, path, buf, &bytes_read); bytes_read 237 fs/cifs/link.c if (bytes_read == 0) { /* not a symlink */ bytes_read 242 fs/cifs/link.c rc = parse_mf_symlink(buf, bytes_read, &link_len, symlinkinfo); bytes_read 256 fs/cifs/link.c unsigned int bytes_read = 0; bytes_read 268 fs/cifs/link.c cifs_sb, path, buf, &bytes_read); bytes_read 275 fs/cifs/link.c if (bytes_read == 0) /* not a symlink */ bytes_read 278 fs/cifs/link.c rc = parse_mf_symlink(buf, bytes_read, &link_len, NULL); bytes_read 648 fs/cifs/smb1ops.c (long long)(tcon->bytes_read)); bytes_read 737 fs/cifs/smb1ops.c struct cifs_io_parms *parms, unsigned int *bytes_read, bytes_read 741 fs/cifs/smb1ops.c return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); bytes_read 1289 fs/cifs/smb2ops.c (long long)(tcon->bytes_read), bytes_read 1771 fs/cifs/smb2ops.c struct cifs_io_parms *parms, unsigned int *bytes_read, bytes_read 1776 fs/cifs/smb2ops.c return SMB2_read(xid, parms, bytes_read, buf, buf_type); bytes_read 868 fs/ecryptfs/crypto.c char *page_virt, int *bytes_read) bytes_read 881 fs/ecryptfs/crypto.c (*bytes_read) = 4; bytes_read 1221 fs/ecryptfs/crypto.c char *virt, int *bytes_read, bytes_read 1233 fs/ecryptfs/crypto.c (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); bytes_read 1295 fs/ecryptfs/crypto.c int bytes_read; bytes_read 1307 fs/ecryptfs/crypto.c ecryptfs_process_flags(crypt_stat, (page_virt + offset), &bytes_read); bytes_read 1317 fs/ecryptfs/crypto.c offset += bytes_read; bytes_read 1320 fs/ecryptfs/crypto.c &bytes_read, validate_header_size); bytes_read 1325 fs/ecryptfs/crypto.c offset += bytes_read; bytes_read 440 fs/hostfs/hostfs_kern.c int bytes_read, ret = 0; bytes_read 443 fs/hostfs/hostfs_kern.c bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, bytes_read 445 fs/hostfs/hostfs_kern.c if (bytes_read < 0) { bytes_read 448 fs/hostfs/hostfs_kern.c ret = bytes_read; bytes_read 452 fs/hostfs/hostfs_kern.c memset(buffer + bytes_read, 0, PAGE_SIZE - bytes_read); bytes_read 349 include/acpi/acpiosxf.h acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read); bytes_read 108 net/tipc/msg.h u32 bytes_read; bytes_read 522 net/tipc/socket.c if (TIPC_SKB_CB(skb)->bytes_read) { bytes_read 1901 net/tipc/socket.c offset = skb_cb->bytes_read; bytes_read 1910 net/tipc/socket.c skb_cb->bytes_read = offset; bytes_read 2163 net/tipc/socket.c TIPC_SKB_CB(skb)->bytes_read = 0; bytes_read 147 net/tipc/trace.c i += scnprintf(buf + i, sz - i, "cb[]: %u", skbcb->bytes_read); bytes_read 55 tools/perf/tests/code-reading.c size_t bytes_read = 0; bytes_read 74 tools/perf/tests/code-reading.c bytes_read++; bytes_read 89 tools/perf/tests/code-reading.c if (bytes_read > 1 && !bigendian()) { bytes_read 90 tools/perf/tests/code-reading.c unsigned char *chunk_end = chunk_start + bytes_read - 1; bytes_read 102 tools/perf/tests/code-reading.c return bytes_read; bytes_read 109 tools/perf/tests/code-reading.c size_t ret, bytes_read = 0; bytes_read 126 tools/perf/tests/code-reading.c bytes_read += ret; bytes_read 131 tools/perf/tests/code-reading.c return bytes_read; bytes_read 52 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_ut_read_line(char *buffer, u32 buffer_length, u32 *bytes_read); bytes_read 440 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) bytes_read 469 tools/power/acpi/os_specific/service_layers/osunixxf.c if (bytes_read) { bytes_read 470 tools/power/acpi/os_specific/service_layers/osunixxf.c *bytes_read = end_of_line; bytes_read 129 tools/power/acpi/tools/ec/ec_access.c int byte_off, bytes_read; bytes_read 131 tools/power/acpi/tools/ec/ec_access.c bytes_read = read(fd, buf, EC_SPACE_SIZE); bytes_read 133 tools/power/acpi/tools/ec/ec_access.c if (bytes_read == -1) bytes_read 136 tools/power/acpi/tools/ec/ec_access.c if (bytes_read != EC_SPACE_SIZE) bytes_read 137 tools/power/acpi/tools/ec/ec_access.c fprintf(stderr, "Could only read %d bytes\n", bytes_read); bytes_read 140 tools/power/acpi/tools/ec/ec_access.c for (byte_off = 0; byte_off < bytes_read; byte_off++) { bytes_read 154 tools/power/acpi/tools/ec/ec_access.c bytes_read = read(fd, buf2, EC_SPACE_SIZE); bytes_read 156 tools/power/acpi/tools/ec/ec_access.c if (bytes_read == -1) bytes_read 159 tools/power/acpi/tools/ec/ec_access.c if (bytes_read != EC_SPACE_SIZE) bytes_read 160 tools/power/acpi/tools/ec/ec_access.c fprintf(stderr, "Could only read %d bytes\n", bytes_read); bytes_read 163 tools/power/acpi/tools/ec/ec_access.c for (byte_off = 0; byte_off < bytes_read; byte_off++) { bytes_read 186 tools/testing/selftests/sparc64/drivers/adi-test.c int ret, bytes_read = 0; bytes_read 191 tools/testing/selftests/sparc64/drivers/adi-test.c ret = read(fd, buf + bytes_read, buf_sz - bytes_read); bytes_read 198 tools/testing/selftests/sparc64/drivers/adi-test.c bytes_read += ret; bytes_read 200 tools/testing/selftests/sparc64/drivers/adi-test.c } while (bytes_read < buf_sz); bytes_read 203 tools/testing/selftests/sparc64/drivers/adi-test.c DEBUG_PRINT_L3("\tRead %d bytes\n", bytes_read); bytes_read 205 tools/testing/selftests/sparc64/drivers/adi-test.c return bytes_read; bytes_read 211 tools/testing/selftests/sparc64/drivers/adi-test.c int ret, i, bytes_read = 0; bytes_read 218 tools/testing/selftests/sparc64/drivers/adi-test.c ret = pread(fd, buf + bytes_read, buf_sz - bytes_read, bytes_read 226 tools/testing/selftests/sparc64/drivers/adi-test.c bytes_read += ret; bytes_read 229 tools/testing/selftests/sparc64/drivers/adi-test.c } while (bytes_read < buf_sz); bytes_read 233 tools/testing/selftests/sparc64/drivers/adi-test.c bytes_read, offset); bytes_read 234 tools/testing/selftests/sparc64/drivers/adi-test.c for (i = 0; i < bytes_read; i++) bytes_read 237 tools/testing/selftests/sparc64/drivers/adi-test.c return bytes_read;