Lines Matching refs:buffered_reader
30 struct buffered_reader { struct
112 static void read_ahead(struct buffered_reader *reader, sector_t block_number) in read_ahead()
122 void uds_free_buffered_reader(struct buffered_reader *reader) in uds_free_buffered_reader()
137 struct buffered_reader **reader_ptr) in uds_make_buffered_reader()
141 struct buffered_reader *reader = NULL; in uds_make_buffered_reader()
147 result = vdo_allocate(1, struct buffered_reader, "buffered reader", &reader); in uds_make_buffered_reader()
153 *reader = (struct buffered_reader) { in uds_make_buffered_reader()
169 static int position_reader(struct buffered_reader *reader, sector_t block_number, in position_reader()
197 static size_t bytes_remaining_in_read_buffer(struct buffered_reader *reader) in bytes_remaining_in_read_buffer()
202 static int reset_reader(struct buffered_reader *reader) in reset_reader()
216 int uds_read_from_buffered_reader(struct buffered_reader *reader, u8 *data, in uds_read_from_buffered_reader()
241 int uds_verify_buffered_data(struct buffered_reader *reader, const u8 *value, in uds_verify_buffered_data()