Searched refs:nread (Results 1 – 9 of 9) sorted by relevance
| /openbmc/openbmc/poky/meta/recipes-core/glib-networking/glib-networking/ |
| H A D | eagain.patch | 27 test->buf + test->nread, 28 MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread), 36 test->nread += nread;
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 693 ssize_t nread; in do_read() local 764 nread = rc * SECTOR_SIZE; in do_read() 768 (int) nread); in do_read() 770 if (nread < 0) { in do_read() 772 (int) nread); in do_read() 773 nread = 0; in do_read() 774 } else if (nread < amount) { in do_read() 776 (int) nread, amount); in do_read() 777 nread -= (nread & 511); /* Round down to a block */ in do_read() 779 file_offset += nread; in do_read() [all …]
|
| /openbmc/qemu/audio/ |
| H A D | alsaaudio.c | 838 snd_pcm_sframes_t nread; in alsa_read() local 840 nread = snd_pcm_readi( in alsa_read() 843 if (nread <= 0) { in alsa_read() 844 switch (nread) { in alsa_read() 851 alsa_logerr(nread, "Failed to read %zu frames\n", len); in alsa_read() 861 alsa_logerr(nread, "Failed to read %zu frames to %p\n", in alsa_read() 867 pos += nread * hw->info.bytes_per_frame; in alsa_read() 868 len -= nread * hw->info.bytes_per_frame; in alsa_read()
|
| H A D | ossaudio.c | 687 ssize_t nread; in oss_read() local 690 nread = read(oss->fd, dst, len); in oss_read() 692 if (nread == -1) { in oss_read() 705 pos += nread; in oss_read() 706 len -= nread; in oss_read()
|
| /openbmc/qemu/block/ |
| H A D | io_uring.c | 82 int nread) in luring_resubmit_short_read() argument 87 trace_luring_resubmit_short_read(s, luringcb, nread); in luring_resubmit_short_read() 90 luringcb->total_read += nread; in luring_resubmit_short_read() 104 luringcb->sqeq.off += nread; in luring_resubmit_short_read()
|
| H A D | trace-events | 73 luring_resubmit_short_read(void *s, void *luringcb, int nread) "LuringState %p luringcb %p nread %d"
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_yaffs2.c | 507 int nread = 0; in yaffs2_rd_checkpt_tnodes() local 513 nread++; in yaffs2_rd_checkpt_tnodes() 536 nread, base_chunk, ok); in yaffs2_rd_checkpt_tnodes()
|
| /openbmc/qemu/hw/audio/ |
| H A D | ac97.c | 965 uint32_t nread = 0; in read_audio() local 987 nread += acquired; in read_audio() 991 return nread; in read_audio()
|
| /openbmc/u-boot/lib/bzip2/ |
| H A D | bzlib.c | 1506 int bzerr, nread; in BZ_API() local 1508 nread = BZ2_bzRead(&bzerr,b,buf,len); in BZ_API() 1510 return nread; in BZ_API()
|