char *b_data;
int b_count;
- /* Pipeline parameters. */
- int pages_per_stage;
+ int pages_per_buffer;
/* Wasted space in each stage */
int excess_bh_size;
{
idetape_stage_t *stage;
struct idetape_bh *prev_bh, *bh;
- int pages = tape->pages_per_stage;
+ int pages = tape->pages_per_buffer;
unsigned int order, b_allocd;
char *b_data = NULL;
tape->buffer_size = *ctl * tape->blk_size;
}
buffer_size = tape->buffer_size;
- tape->pages_per_stage = buffer_size / PAGE_SIZE;
+ tape->pages_per_buffer = buffer_size / PAGE_SIZE;
if (buffer_size % PAGE_SIZE) {
- tape->pages_per_stage++;
+ tape->pages_per_buffer++;
tape->excess_bh_size = PAGE_SIZE - buffer_size % PAGE_SIZE;
}