Home
last modified time | relevance | path

Searched refs:tmem_oid (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/zcache/
Dtmem.h84 struct tmem_oid { struct
88 static inline void tmem_oid_set_invalid(struct tmem_oid *oidp) in tmem_oid_set_invalid() argument
93 static inline bool tmem_oid_valid(struct tmem_oid *oidp) in tmem_oid_valid()
99 static inline int tmem_oid_compare(struct tmem_oid *left, in tmem_oid_compare()
100 struct tmem_oid *right) in tmem_oid_compare()
123 static inline unsigned tmem_oid_hash(struct tmem_oid *oidp) in tmem_oid_hash()
135 struct tmem_oid oid;
142 struct tmem_oid *oidp, in tmem_xhandle_fill()
167 struct tmem_oid oid;
201 struct tmem_oid oid; /* 24 bytes */
[all …]
Dzcache.h33 extern int zcache_put_page(int, int, struct tmem_oid *,
36 extern int zcache_get_page(int, int, struct tmem_oid *, uint32_t,
38 extern int zcache_flush_page(int, int, struct tmem_oid *, uint32_t);
39 extern int zcache_flush_object(int, int, struct tmem_oid *);
Dzcache-main.c612 struct tmem_oid *oid, uint32_t index) in zcache_pampd_get_data()
646 struct tmem_oid *oid, uint32_t index) in zcache_pampd_get_data_and_free()
702 struct tmem_oid *oid, uint32_t index, bool acct) in zcache_pampd_free()
884 static void unswiz(struct tmem_oid oid, u32 index,
1224 int zcache_put_page(int cli_id, int pool_id, struct tmem_oid *oidp, in zcache_put_page()
1272 int zcache_get_page(int cli_id, int pool_id, struct tmem_oid *oidp, in zcache_get_page()
1303 struct tmem_oid *oidp, uint32_t index) in zcache_flush_page()
1326 struct tmem_oid *oidp) in zcache_flush_object()
1503 struct tmem_oid oid = *(struct tmem_oid *)&key; in zcache_cleancache_put_page()
1519 struct tmem_oid oid = *(struct tmem_oid *)&key; in zcache_cleancache_get_page()
[all …]
Dtmem.c94 struct tmem_oid *oidp, in __tmem_obj_find()
129 struct tmem_oid *oidp) in tmem_obj_find()
163 struct tmem_oid *oidp) in tmem_obj_init()
561 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put()
627 void *tmem_localify_get_pampd(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_localify_get_pampd()
669 struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_repatriate()
705 int tmem_replace(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_replace()
739 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_get()
808 struct tmem_oid *oidp, uint32_t index) in tmem_flush_page()
838 int tmem_flush_object(struct tmem_pool *pool, struct tmem_oid *oidp) in tmem_flush_object()
Dramster.h31 struct tmem_oid *o, uint32_t u, bool b) in ramster_pampd_free()
Dzbud.c497 struct tmem_oid oid[2]; in zbud_evict_tmem()
/drivers/xen/
Dtmem.c77 struct tmem_oid { struct
89 static inline int xen_tmem_op(u32 tmem_cmd, u32 tmem_pool, struct tmem_oid oid, in xen_tmem_op() argument
129 static int xen_tmem_put_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_put_page()
138 static int xen_tmem_get_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_get_page()
147 static int xen_tmem_flush_page(u32 pool_id, struct tmem_oid oid, u32 index) in xen_tmem_flush_page()
153 static int xen_tmem_flush_object(u32 pool_id, struct tmem_oid oid) in xen_tmem_flush_object()
162 struct tmem_oid oid = { { 0 } }; in xen_tmem_destroy_pool()
173 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_put_page()
188 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_get_page()
208 struct tmem_oid oid = *(struct tmem_oid *)&key; in tmem_cleancache_flush_page()
[all …]
/drivers/staging/zcache/ramster/
Dramster.h152 extern int ramster_localify(int, struct tmem_oid *oidp, uint32_t, char *,
154 extern void *ramster_pampd_free(void *, struct tmem_pool *, struct tmem_oid *,
Dramster.c135 int ramster_localify(int pool_id, struct tmem_oid *oidp, uint32_t index, in ramster_localify()
259 struct tmem_oid *oidp, uint32_t index, in ramster_pampd_repatriate_preload()
312 struct tmem_oid *oid, uint32_t index, in ramster_pampd_repatriate()
354 struct tmem_oid *oid, uint32_t index, bool acct) in ramster_pampd_free()