Lines Matching refs:ind

170 	u32 ind = (u32) index;  in tmem_cleancache_put_page()  local
175 if (ind != index) in tmem_cleancache_put_page()
178 (void)xen_tmem_put_page((u32)pool, oid, ind, page); in tmem_cleancache_put_page()
184 u32 ind = (u32) index; in tmem_cleancache_get_page() local
191 if (ind != index) in tmem_cleancache_get_page()
193 ret = xen_tmem_get_page((u32)pool, oid, ind, page); in tmem_cleancache_get_page()
203 u32 ind = (u32) index; in tmem_cleancache_flush_page() local
208 if (ind != index) in tmem_cleancache_flush_page()
210 (void)xen_tmem_flush_page((u32)pool, oid, ind); in tmem_cleancache_flush_page()
271 static inline struct tmem_oid oswiz(unsigned type, u32 ind) in oswiz() argument
274 oid.oid[0] = _oswiz(type, ind); in oswiz()
283 u32 ind = (u32)offset; in tmem_frontswap_store() local
293 if (ind64 != ind) in tmem_frontswap_store()
296 ret = xen_tmem_put_page(pool, oswiz(type, ind), iswiz(ind), page); in tmem_frontswap_store()
312 u32 ind = (u32)offset; in tmem_frontswap_load() local
318 if (ind64 != ind) in tmem_frontswap_load()
320 ret = xen_tmem_get_page(pool, oswiz(type, ind), iswiz(ind), page); in tmem_frontswap_load()
332 u32 ind = (u32)offset; in tmem_frontswap_flush_page() local
337 if (ind64 != ind) in tmem_frontswap_flush_page()
339 (void) xen_tmem_flush_page(pool, oswiz(type, ind), iswiz(ind)); in tmem_frontswap_flush_page()
346 int ind; in tmem_frontswap_flush_area() local
350 for (ind = SWIZ_MASK; ind >= 0; ind--) in tmem_frontswap_flush_area()
351 (void)xen_tmem_flush_object(pool, oswiz(type, ind)); in tmem_frontswap_flush_area()