Home
last modified time | relevance | path

Searched refs:toread (Results 1 – 4 of 4) sorted by relevance

/external/grub/stage2/
Dfsys_xfs.c336 int toread; in next_dentry() local
388 toread = roundup8 (le16(dau->unused.length)) - 4; in next_dentry()
389 xfs.blkoff += toread; in next_dentry()
390 filepos += toread; in next_dentry()
399 toread = roundup8 (namelen + 11) - 9; in next_dentry()
400 xfs_read (dirbuf, toread); in next_dentry()
402 xfs.blkoff += toread + 5; in next_dentry()
492 int toread, startpos, endpos; in xfs_read() local
509 toread = (endofcur >= endpos) in xfs_read()
514 filepos - (offset << xfs.blklog), toread, buf); in xfs_read()
[all …]
Dfsys_jfs.c233 int toread, startpos, endpos; in jfs_read() local
244 toread = (endofcur >= endpos) in jfs_read()
249 filepos - (offset << jfs.l2bsize), toread, buf); in jfs_read()
252 buf += toread; in jfs_read()
253 len -= toread; in jfs_read()
254 filepos += toread; in jfs_read()
256 toread = ((offset << jfs.l2bsize) >= endpos) in jfs_read()
258 len -= toread; in jfs_read()
259 filepos += toread; in jfs_read()
260 for (; toread; toread--) { in jfs_read()
/external/libmtp/src/
Dlibusb-glue.c813 unsigned long toread = 0; in ptp_read_func() local
831 toread = size - curread; in ptp_read_func()
833 if (readzero && FLAG_NO_ZERO_READS(ptp_usb) && toread % 64 == 0) { in ptp_read_func()
834 toread += 1; in ptp_read_func()
840 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()
841 else if (toread == CONTEXT_BLOCK_SIZE_1) in ptp_read_func()
842 toread = CONTEXT_BLOCK_SIZE_2; in ptp_read_func()
843 else if (toread == CONTEXT_BLOCK_SIZE_2) in ptp_read_func()
844 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()
847 (unsigned int) toread, (unsigned int) (size-curread)); in ptp_read_func()
[all …]
/external/valgrind/main/coregrind/m_gdbserver/
Dserver.c557 char toread[len]; in handle_query() local
582 len_read = VG_(read) (fd, toread, len); in handle_query()
583 *new_packet_len_p = write_qxfer_response (arg_own_buf, toread, in handle_query()