Home
last modified time | relevance | path

Searched refs:cmb_data (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/s390/cio/
Dcmf.c133 struct cmb_data { struct
303 struct cmb_data *cmb_data; in cmf_copy_block() local
318 cmb_data = cdev->private->cmb; in cmf_copy_block()
319 hw_block = cmbops->align(cmb_data->hw_block); in cmf_copy_block()
320 if (!memcmp(cmb_data->last_block, hw_block, cmb_data->size)) in cmf_copy_block()
323 reference_buf = kzalloc(cmb_data->size, GFP_ATOMIC); in cmf_copy_block()
328 memcpy(cmb_data->last_block, hw_block, cmb_data->size); in cmf_copy_block()
329 memcpy(reference_buf, hw_block, cmb_data->size); in cmf_copy_block()
330 } while (memcmp(cmb_data->last_block, reference_buf, cmb_data->size)); in cmf_copy_block()
331 cmb_data->last_update = get_clock(); in cmf_copy_block()
[all …]