Lines Matching defs:home
14 * This code maintains the "home" for each page in the system.
47 * locally from a remote home. There's no point in using it if we
192 int home = page_home(&page[i]);
193 if (home == PAGE_HOME_IMMUTABLE ||
194 home == PAGE_HOME_INCOHERENT) {
199 if (home == PAGE_HOME_HASH) {
204 if (home == PAGE_HOME_UNCACHED)
206 BUG_ON(home < 0 || home >= NR_CPUS);
207 cpumask_set_cpu(home, home_mask);
241 /* Report the home corresponding to a given PTE. */
261 /* Update the home of a PTE if necessary (can also be used for a pgprot_t). */
262 pte_t pte_set_home(pte_t pte, int home)
283 if (hv_pte_get_nc(pte) && home != PAGE_HOME_IMMUTABLE) {
289 switch (home) {
301 * We could home this page anywhere, since it's immutable,
302 * but by default just home it to follow "hash_default".
329 BUG_ON(home < 0 || home >= NR_CPUS ||
330 !cpu_is_valid_lotar(home));
332 pte = set_remote_cache_cpu(pte, home);
356 * dynamic homecaching routines; they just set the home cache
377 void homecache_change_page_home(struct page *page, int order, int home)
394 *ptep = pte_set_home(pteval, home);
399 unsigned int order, int home)
405 homecache_change_page_home(page, order, home);
411 unsigned int order, int home)
417 homecache_change_page_home(page, order, home);