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()
175 if (idal_buffer_to_user(device->char_data.idal_buf, in tapechar_read()
199 if (device->char_data.block_size != 0) { in tapechar_write()
200 if (count < device->char_data.block_size) { in tapechar_write()
205 block_size = device->char_data.block_size; in tapechar_write()
226 if (idal_buffer_from_user(device->char_data.idal_buf, in tapechar_write()
328 if (device->char_data.idal_buf != NULL) { in tapechar_release()
329 idal_buffer_free(device->char_data.idal_buf); in tapechar_release()
330 device->char_data.idal_buf = NULL; in tapechar_release()
403 ((device->char_data.block_size << MT_ST_BLKSIZE_SHIFT) in __tapechar_ioctl()