Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/edac/
Dthunderx_edac.c340 unsigned int cline_size = cache_line_size(); in inject_ecc_fn() local
341 const unsigned int lines = PAGE_SIZE / cline_size; in inject_ecc_fn()
360 memset((void *)addr, TEST_PATTERN, cline_size); in inject_ecc_fn()
369 : : "r"(addr + i * cline_size)); in inject_ecc_fn()
379 : : "r"(phys + i * cline_size)); in inject_ecc_fn()
389 : : "r"(phys + i * cline_size)); in inject_ecc_fn()
400 : : "r"(addr + i * cline_size)); in inject_ecc_fn()
411 unsigned int cline_size = cache_line_size(); in thunderx_lmc_inject_ecc_write() local
422 tmp = kmalloc(cline_size, GFP_KERNEL); in thunderx_lmc_inject_ecc_write()
433 for (offs = 0; offs < PAGE_SIZE; offs += cline_size) { in thunderx_lmc_inject_ecc_write()
[all …]