Searched refs:cmem (Results 1 – 2 of 2) sorted by relevance
/drivers/firmware/efi/ |
D | cper.c | 275 struct cper_mem_err_compact *cmem) in cper_mem_err_pack() argument 277 cmem->validation_bits = mem->validation_bits; in cper_mem_err_pack() 278 cmem->node = mem->node; in cper_mem_err_pack() 279 cmem->card = mem->card; in cper_mem_err_pack() 280 cmem->module = mem->module; in cper_mem_err_pack() 281 cmem->bank = mem->bank; in cper_mem_err_pack() 282 cmem->device = mem->device; in cper_mem_err_pack() 283 cmem->row = mem->row; in cper_mem_err_pack() 284 cmem->column = mem->column; in cper_mem_err_pack() 285 cmem->bit_pos = mem->bit_pos; in cper_mem_err_pack() [all …]
|
/drivers/block/zram/ |
D | zram_drv.c | 574 unsigned char *cmem; in zram_decompress_page() local 589 cmem = zs_map_object(meta->mem_pool, handle, ZS_MM_RO); in zram_decompress_page() 591 memcpy(mem, cmem, PAGE_SIZE); in zram_decompress_page() 595 ret = zcomp_decompress(zstrm, cmem, size, mem); in zram_decompress_page() 667 unsigned char *user_mem, *cmem, *src, *uncmem = NULL; in zram_bvec_write() local 779 cmem = zs_map_object(meta->mem_pool, handle, ZS_MM_WO); in zram_bvec_write() 783 memcpy(cmem, src, PAGE_SIZE); in zram_bvec_write() 786 memcpy(cmem, src, clen); in zram_bvec_write()
|