Lines Matching refs:oid

80 	u64 oid[3];  member
91 static inline int xen_tmem_op(u32 tmem_cmd, u32 tmem_pool, struct tmem_oid oid, in xen_tmem_op() argument
99 op.u.gen.oid[0] = oid.oid[0]; in xen_tmem_op()
100 op.u.gen.oid[1] = oid.oid[1]; in xen_tmem_op()
101 op.u.gen.oid[2] = oid.oid[2]; in xen_tmem_op()
131 static int xen_tmem_put_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_put_page() argument
134 return xen_tmem_op(TMEM_PUT_PAGE, pool_id, oid, index, in xen_tmem_put_page()
138 static int xen_tmem_get_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_get_page() argument
141 return xen_tmem_op(TMEM_GET_PAGE, pool_id, oid, index, in xen_tmem_get_page()
145 static int xen_tmem_flush_page(u32 pool_id, struct tmem_oid oid, u32 index) in xen_tmem_flush_page() argument
147 return xen_tmem_op(TMEM_FLUSH_PAGE, pool_id, oid, index, in xen_tmem_flush_page()
151 static int xen_tmem_flush_object(u32 pool_id, struct tmem_oid oid) in xen_tmem_flush_object() argument
153 return xen_tmem_op(TMEM_FLUSH_OBJECT, pool_id, oid, 0, 0, 0, 0, 0); in xen_tmem_flush_object()
160 struct tmem_oid oid = { { 0 } }; in xen_tmem_destroy_pool() local
162 return xen_tmem_op(TMEM_DESTROY_POOL, pool_id, oid, 0, 0, 0, 0, 0); in xen_tmem_destroy_pool()
171 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_put_page() local
178 (void)xen_tmem_put_page((u32)pool, oid, ind, page); in tmem_cleancache_put_page()
185 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_get_page() local
193 ret = xen_tmem_get_page((u32)pool, oid, ind, page); in tmem_cleancache_get_page()
204 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_flush_page() local
210 (void)xen_tmem_flush_page((u32)pool, oid, ind); in tmem_cleancache_flush_page()
215 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_flush_inode() local
219 (void)xen_tmem_flush_object((u32)pool, oid); in tmem_cleancache_flush_inode()
273 struct tmem_oid oid = { .oid = { 0 } }; in oswiz() local
274 oid.oid[0] = _oswiz(type, ind); in oswiz()
275 return oid; in oswiz()