Lines Matching refs:char_data
102 if (device->char_data.idal_buf != NULL && in tapechar_check_idalbuffer()
103 device->char_data.idal_buf->size == block_size) in tapechar_check_idalbuffer()
117 if (device->char_data.idal_buf != NULL) in tapechar_check_idalbuffer()
118 idal_buffer_free(device->char_data.idal_buf); in tapechar_check_idalbuffer()
120 device->char_data.idal_buf = new; in tapechar_check_idalbuffer()
149 if (device->char_data.block_size != 0) { in tapechar_read()
150 if (count < device->char_data.block_size) { in tapechar_read()
155 block_size = device->char_data.block_size; in tapechar_read()
180 if (idal_buffer_to_user(device->char_data.idal_buf, in tapechar_read()
204 if (device->char_data.block_size != 0) { in tapechar_write()
205 if (count < device->char_data.block_size) { in tapechar_write()
210 block_size = device->char_data.block_size; in tapechar_write()
236 if (idal_buffer_from_user(device->char_data.idal_buf, in tapechar_write()
338 if (device->char_data.idal_buf != NULL) { in tapechar_release()
339 idal_buffer_free(device->char_data.idal_buf); in tapechar_release()
340 device->char_data.idal_buf = NULL; in tapechar_release()