Searched refs:to_read (Results 1 – 2 of 2) sorted by relevance
64 register off_t to_read; in get_next_block_fn() local106 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()
891 unsigned int to_read; in reiserfs_read() local926 to_read = blocksize - offset; in reiserfs_read()927 if (to_read > len) in reiserfs_read()928 to_read = len; in reiserfs_read()935 (INFO->current_item - LEAF + offset), to_read, buf); in reiserfs_read()940 memcpy (buf, INFO->current_item + offset, to_read); in reiserfs_read()957 to_read = INFO->blocksize - blk_offset; 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()[all …]