Searched refs:reference_buf (Results 1 – 2 of 2) sorted by relevance
301 void *reference_buf; in cmf_copy_block() local323 reference_buf = kzalloc(cmb_data->size, GFP_ATOMIC); in cmf_copy_block()324 if (!reference_buf) 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()332 kfree(reference_buf); in cmf_copy_block()
165 struct cmg_entry *entry, reference_buf; in chp_measurement_copy_block() local178 memcpy(&reference_buf, entry, sizeof(*entry)); in chp_measurement_copy_block()179 } while (reference_buf.values[0] != buf->values[0]); in chp_measurement_copy_block()