Lines Matching refs:last_block
119 void *last_block; /* Last changed block copied from hardware block */ member
288 memcpy(cmb_data->last_block, hw_block, cmb_data->size); in cmf_copy_block()
356 memset(cmb_data->last_block, 0, cmb_data->size); in cmf_generic_reset()
489 cmb_data->last_block = kzalloc(sizeof(struct cmb), GFP_KERNEL); in alloc_cmb()
490 if (!cmb_data->last_block) { in alloc_cmb()
527 kfree(cmb_data->last_block); in alloc_cmb()
545 kfree(cmb_data->last_block); in free_cmb()
667 cmb = cmb_data->last_block; in readall_cmb()
773 cmb_data->last_block = kzalloc(sizeof(struct cmbe), GFP_KERNEL); in alloc_cmbe()
774 if (!cmb_data->last_block) in alloc_cmbe()
802 kfree(cmb_data->last_block); in alloc_cmbe()
818 kfree(cmb_data->last_block); in free_cmbe()
936 cmb = cmb_data->last_block; in readall_cmbe()