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
289 if (ind64 != ind) in tmem_frontswap_store()
292 ret = xen_tmem_put_page(pool, oswiz(type, ind), iswiz(ind), page); in tmem_frontswap_store()
308 u32 ind = (u32)offset; in tmem_frontswap_load() local
314 if (ind64 != ind) in tmem_frontswap_load()
316 ret = xen_tmem_get_page(pool, oswiz(type, ind), iswiz(ind), page); in tmem_frontswap_load()
328 u32 ind = (u32)offset; in tmem_frontswap_flush_page() local
333 if (ind64 != ind) in tmem_frontswap_flush_page()
335 (void) xen_tmem_flush_page(pool, oswiz(type, ind), iswiz(ind)); in tmem_frontswap_flush_page()
342 int ind; in tmem_frontswap_flush_area() local
346 for (ind = SWIZ_MASK; ind >= 0; ind--) in tmem_frontswap_flush_area()
347 (void)xen_tmem_flush_object(pool, oswiz(type, ind)); in tmem_frontswap_flush_area()