Lines Matching refs:buffersize
82 int buffersize; member
101 return eerb->buffersize - eerb->head + eerb->tail -1; in dasd_eer_get_free_bytes()
113 return eerb->buffersize - eerb->tail + eerb->head; in dasd_eer_get_filled_bytes()
140 if (eerb->head == eerb->buffersize) in dasd_eer_write_buffer()
142 BUG_ON(eerb->head > eerb->buffersize); in dasd_eer_write_buffer()
167 if (eerb->tail == eerb->buffersize) in dasd_eer_read_buffer()
169 BUG_ON(eerb->tail > eerb->buffersize); in dasd_eer_read_buffer()
185 if (count + sizeof(count) > eerb->buffersize) in dasd_eer_start_record()
190 if (eerb->tail >= eerb->buffersize) in dasd_eer_start_record()
191 eerb->tail -= eerb->buffersize; in dasd_eer_start_record()
197 if (eerb->tail >= eerb->buffersize) in dasd_eer_start_record()
198 eerb->tail -= eerb->buffersize; in dasd_eer_start_record()
558 eerb->buffersize = eerb->buffer_page_count * PAGE_SIZE; in dasd_eer_open()