Home
last modified time | relevance | path

Searched refs:to_read (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dread.cc64 off_t to_read; in get_next_block_fn() local
106 to_read = source->bytes_left_in_file; in get_next_block_fn()
107 source->inp_buf_ptr = source->inp_buf = getmem(to_read + 1); in get_next_block_fn()
108 source->inp_buf_end = source->inp_buf + to_read; in get_next_block_fn()
109 length = read(source->fd, source->inp_buf, (unsigned int) to_read); in get_next_block_fn()
110 if (length != to_read) { in get_next_block_fn()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c891 unsigned int to_read; in reiserfs_read() local
926 to_read = blocksize - offset; in reiserfs_read()
927 if (to_read > len) in reiserfs_read()
928 to_read = len; in reiserfs_read()
958 if (to_read > len) in reiserfs_read()
959 to_read = len; in reiserfs_read()
967 blk_offset, to_read, buf); in reiserfs_read()
971 len -= to_read; in reiserfs_read()
972 buf += to_read; in reiserfs_read()
973 offset += to_read; in reiserfs_read()
[all …]