Lines Matching +full:write +full:- +full:back
1 // SPDX-License-Identifier: GPL-2.0-only
20 * clean_cache_range - write back a cache range with CLWB
22 * @size: number of bytes to write back
24 * Write back a cache range using the CLWB (cache line write back)
31 unsigned long clflush_mask = x86_clflush_size - 1; in clean_cache_range()
56 * __copy_user_nocache() uses non-temporal stores for the bulk in __copy_user_flushcache()
60 * - Require 8-byte alignment when size is 8 bytes or larger. in __copy_user_flushcache()
61 * - Require 4-byte alignment when size is 4 bytes. in __copy_user_flushcache()
72 flushed = dest - (unsigned long) dst; in __copy_user_flushcache()
73 if (size > flushed && !IS_ALIGNED(size - flushed, 8)) in __copy_user_flushcache()
74 clean_cache_range(dst + size - 1, 1); in __copy_user_flushcache()
87 size_t len = min_t(size_t, size, ALIGN(dest, 8) - dest); in __memcpy_flushcache()
93 size -= len; in __memcpy_flushcache()
112 size -= 32; in __memcpy_flushcache()
123 size -= 8; in __memcpy_flushcache()
134 size -= 4; in __memcpy_flushcache()