nread 92 arch/alpha/boot/tools/mkbb.c int nread; nread 116 arch/alpha/boot/tools/mkbb.c nread = read(fd, &bootloader_image, sizeof(bootblock)); nread 117 arch/alpha/boot/tools/mkbb.c if(nread != sizeof(bootblock)) { nread 119 arch/alpha/boot/tools/mkbb.c fprintf(stderr, "expected %zd, got %d\n", sizeof(bootblock), nread); nread 124 arch/alpha/boot/tools/mkbb.c nread = read(dev, &bootblock_from_disk, sizeof(bootblock)); nread 125 arch/alpha/boot/tools/mkbb.c if(nread != sizeof(bootblock)) { nread 127 arch/alpha/boot/tools/mkbb.c fprintf(stderr, "expected %zd, got %d\n", sizeof(bootblock), nread); nread 35 arch/mips/tools/elf-entry.c size_t nread; nread 51 arch/mips/tools/elf-entry.c nread = fread(&hdr, 1, sizeof(hdr), file); nread 52 arch/mips/tools/elf-entry.c if (nread != sizeof(hdr)) { nread 201 drivers/char/ipmi/bt-bmc.c ssize_t nread; nread 232 drivers/char/ipmi/bt-bmc.c nread = min_t(ssize_t, len, sizeof(kbuffer) - len_byte); nread 234 drivers/char/ipmi/bt-bmc.c bt_readn(bt_bmc, kbuffer + len_byte, nread); nread 236 drivers/char/ipmi/bt-bmc.c if (copy_to_user(buf, kbuffer, nread + len_byte)) { nread 240 drivers/char/ipmi/bt-bmc.c len -= nread; nread 241 drivers/char/ipmi/bt-bmc.c buf += nread + len_byte; nread 242 drivers/char/ipmi/bt-bmc.c ret += nread + len_byte; nread 476 drivers/infiniband/hw/hfi1/pio_copy.c unsigned long nread; nread 479 drivers/infiniband/hw/hfi1/pio_copy.c nread = 8 - pbuf->carry_bytes; nread 480 drivers/infiniband/hw/hfi1/pio_copy.c read_extra_bytes(pbuf, from, nread); nread 505 drivers/infiniband/hw/hfi1/pio_copy.c bytes_left -= nread; nread 506 drivers/infiniband/hw/hfi1/pio_copy.c from += nread; /* from is now not aligned */ nread 482 drivers/infiniband/hw/hfi1/qsfp.c int nread; nread 507 drivers/infiniband/hw/hfi1/qsfp.c nread = len - count; nread 509 drivers/infiniband/hw/hfi1/qsfp.c if (((addr % QSFP_RW_BOUNDARY) + nread) > QSFP_RW_BOUNDARY) nread 510 drivers/infiniband/hw/hfi1/qsfp.c nread = QSFP_RW_BOUNDARY - (addr % QSFP_RW_BOUNDARY); nread 513 drivers/infiniband/hw/hfi1/qsfp.c offset, bp + count, nread); nread 517 drivers/infiniband/hw/hfi1/qsfp.c count += nread; nread 518 drivers/infiniband/hw/hfi1/qsfp.c addr += nread; nread 630 drivers/misc/c2port/core.c u8 status, nread = 128; nread 637 drivers/misc/c2port/core.c if (ops->block_size * ops->blocks_num - offset < nread) nread 638 drivers/misc/c2port/core.c nread = ops->block_size * ops->blocks_num - offset; nread 639 drivers/misc/c2port/core.c if (count < nread) nread 640 drivers/misc/c2port/core.c nread = count; nread 641 drivers/misc/c2port/core.c if (nread == 0) nread 642 drivers/misc/c2port/core.c return nread; nread 683 drivers/misc/c2port/core.c c2port_write_dr(dev, nread); nread 703 drivers/misc/c2port/core.c for (i = 0; i < nread; i++) { nread 713 drivers/misc/c2port/core.c return nread; nread 974 drivers/net/wireless/ath/ath9k/debug.c u8 nread; nread 983 drivers/net/wireless/ath/ath9k/debug.c nread = AR_PHY_CCA_FILTERWINDOW_LENGTH - h[i].invalidNFcount; nread 984 drivers/net/wireless/ath/ath9k/debug.c seq_printf(file, " %d\t %d\t %d\t\t", i, h[i].privNF, nread); nread 985 drivers/net/wireless/ath/ath9k/debug.c for (j = 0; j < nread; j++) nread 312 drivers/staging/comedi/drivers/dt282x.c int nread; nread 478 drivers/staging/comedi/drivers/dt282x.c devpriv->nread -= nsamples; nread 479 drivers/staging/comedi/drivers/dt282x.c if (devpriv->nread < 0) { nread 481 drivers/staging/comedi/drivers/dt282x.c devpriv->nread = 0; nread 483 drivers/staging/comedi/drivers/dt282x.c if (!devpriv->nread) { nread 526 drivers/staging/comedi/drivers/dt282x.c if (devpriv->nread != 0) { nread 548 drivers/staging/comedi/drivers/dt282x.c devpriv->nread--; nread 549 drivers/staging/comedi/drivers/dt282x.c if (!devpriv->nread) { nread 741 drivers/staging/comedi/drivers/dt282x.c devpriv->nread = devpriv->ntrig; nread 922 drivers/staging/comedi/drivers/dt282x.c devpriv->nread = devpriv->ntrig; nread 628 drivers/usb/gadget/function/f_mass_storage.c ssize_t nread; nread 694 drivers/usb/gadget/function/f_mass_storage.c nread = kernel_read(curlun->filp, bh->buf, amount, nread 697 drivers/usb/gadget/function/f_mass_storage.c (unsigned long long)file_offset, (int)nread); nread 701 drivers/usb/gadget/function/f_mass_storage.c if (nread < 0) { nread 702 drivers/usb/gadget/function/f_mass_storage.c LDBG(curlun, "error in file read: %d\n", (int)nread); nread 703 drivers/usb/gadget/function/f_mass_storage.c nread = 0; nread 704 drivers/usb/gadget/function/f_mass_storage.c } else if (nread < amount) { nread 706 drivers/usb/gadget/function/f_mass_storage.c (int)nread, amount); nread 707 drivers/usb/gadget/function/f_mass_storage.c nread = round_down(nread, curlun->blksize); nread 709 drivers/usb/gadget/function/f_mass_storage.c file_offset += nread; nread 710 drivers/usb/gadget/function/f_mass_storage.c amount_left -= nread; nread 711 drivers/usb/gadget/function/f_mass_storage.c common->residue -= nread; nread 718 drivers/usb/gadget/function/f_mass_storage.c bh->inreq->length = nread; nread 722 drivers/usb/gadget/function/f_mass_storage.c if (nread < amount) { nread 968 drivers/usb/gadget/function/f_mass_storage.c ssize_t nread; nread 1028 drivers/usb/gadget/function/f_mass_storage.c nread = kernel_read(curlun->filp, bh->buf, amount, nread 1032 drivers/usb/gadget/function/f_mass_storage.c (int) nread); nread 1036 drivers/usb/gadget/function/f_mass_storage.c if (nread < 0) { nread 1037 drivers/usb/gadget/function/f_mass_storage.c LDBG(curlun, "error in file verify: %d\n", (int)nread); nread 1038 drivers/usb/gadget/function/f_mass_storage.c nread = 0; nread 1039 drivers/usb/gadget/function/f_mass_storage.c } else if (nread < amount) { nread 1041 drivers/usb/gadget/function/f_mass_storage.c (int)nread, amount); nread 1042 drivers/usb/gadget/function/f_mass_storage.c nread = round_down(nread, curlun->blksize); nread 1044 drivers/usb/gadget/function/f_mass_storage.c if (nread == 0) { nread 1051 drivers/usb/gadget/function/f_mass_storage.c file_offset += nread; nread 1052 drivers/usb/gadget/function/f_mass_storage.c amount_left -= nread; nread 2220 fs/btrfs/ctree.c u64 nread = 0; nread 2266 fs/btrfs/ctree.c nread += blocksize; nread 2269 fs/btrfs/ctree.c if ((nread > 65536 || nscan > 32)) nread 4610 fs/btrfs/extent-tree.c int nread = 0; nread 4625 fs/btrfs/extent-tree.c if (nread >= wc->reada_count) nread 4670 fs/btrfs/extent-tree.c nread++; nread 146 scripts/kconfig/preprocess.c size_t nread; nread 157 scripts/kconfig/preprocess.c nread = fread(buf, 1, sizeof(buf), p); nread 158 scripts/kconfig/preprocess.c if (nread == sizeof(buf)) nread 159 scripts/kconfig/preprocess.c nread--; nread 162 scripts/kconfig/preprocess.c while (nread > 0 && buf[nread - 1] == '\n') nread 163 scripts/kconfig/preprocess.c nread--; nread 165 scripts/kconfig/preprocess.c buf[nread] = 0; nread 168 scripts/kconfig/preprocess.c for (i = 0; i < nread; i++) { nread 4772 tools/testing/selftests/bpf/test_btf.c ssize_t nread; nread 4842 tools/testing/selftests/bpf/test_btf.c while ((nread = getline(&line, &line_len, pin_file)) > 0 && nread 4846 tools/testing/selftests/bpf/test_btf.c if (CHECK(nread <= 0, "Unexpected EOF")) { nread 4889 tools/testing/selftests/bpf/test_btf.c nread = getline(&line, &line_len, pin_file); nread 4890 tools/testing/selftests/bpf/test_btf.c if (nread < 0) nread 4908 tools/testing/selftests/bpf/test_btf.c nread = getline(&line, &line_len, pin_file); nread 4909 tools/testing/selftests/bpf/test_btf.c if (nread < 0) nread 4913 tools/testing/selftests/bpf/test_btf.c nread = getline(&line, &line_len, pin_file); nread 4914 tools/testing/selftests/bpf/test_btf.c } while (++nr_read_elems < test->max_entries && nread > 0); nread 4924 tools/testing/selftests/bpf/test_btf.c if (CHECK(nread > 0, "Unexpected extra pprint output: %s", line)) { nread 374 tools/testing/selftests/bpf/test_select_reuseport.c ssize_t nread; nread 406 tools/testing/selftests/bpf/test_select_reuseport.c nread = recv(new_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); nread 407 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nread != sizeof(rcv_cmd), nread 410 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32, nread, sizeof(rcv_cmd), errno); nread 414 tools/testing/selftests/bpf/test_select_reuseport.c nread = recv(srv_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); nread 415 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nread != sizeof(rcv_cmd), nread 418 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32, nread, sizeof(rcv_cmd), errno);