Home
last modified time | relevance | path

Searched refs:tmem_pool (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/staging/ramster/
Dtmem.h67 struct tmem_pool { struct
102 struct tmem_pool *pool, in tmem_xhandle_fill()
168 struct tmem_pool *pool;
199 struct tmem_pool *, struct tmem_oid *, uint32_t);
200 int (*get_data)(char *, size_t *, bool, void *, struct tmem_pool *,
203 struct tmem_pool *, struct tmem_oid *,
205 void (*free)(void *, struct tmem_pool *,
207 void (*free_obj)(struct tmem_pool *, struct tmem_obj *);
209 void *(*repatriate_preload)(void *, struct tmem_pool *,
211 int (*repatriate)(void *, void *, struct tmem_pool *,
[all …]
Dtmem.c108 struct tmem_pool *pool; in tmem_obj_free()
131 struct tmem_pool *pool, in tmem_obj_init()
177 static void tmem_pool_flush(struct tmem_pool *pool, bool destroy) in tmem_pool_flush()
258 struct tmem_pool *pool; in tmem_objnode_free()
535 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put()
593 void *tmem_localify_get_pampd(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_localify_get_pampd()
629 struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_repatriate()
664 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_get()
736 int tmem_flush_page(struct tmem_pool *pool, in tmem_flush_page()
769 int tmem_replace(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_replace()
[all …]
Dzcache-main.c125 struct tmem_pool *tmem_pools[MAX_POOLS_PER_CLIENT];
520 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id,
522 static void zcache_put_pool(struct tmem_pool *pool);
534 struct tmem_pool *pool; in zbud_evict_zbpg()
631 struct tmem_pool *pool; in zbud_remotify_zbud()
802 struct tmem_pool *);
850 struct tmem_pool *pool; in zcache_remote_pers_put()
1132 static struct zv_hdr *zv_alloc(struct tmem_pool *pool, in zv_alloc()
1401 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id, uint16_t poolid) in zcache_get_pool_by_id()
1403 struct tmem_pool *pool = NULL; in zcache_get_pool_by_id()
[all …]
/linux-3.4.99/drivers/staging/zcache/
Dtmem.h68 struct tmem_pool { struct
144 struct tmem_pool *pool;
171 struct tmem_pool *, struct tmem_oid *, uint32_t);
172 int (*get_data)(char *, size_t *, bool, void *, struct tmem_pool *,
175 struct tmem_pool *, struct tmem_oid *,
177 void (*free)(void *, struct tmem_pool *, struct tmem_oid *, uint32_t);
178 void (*free_obj)(struct tmem_pool *, struct tmem_obj *);
187 struct tmem_obj *(*obj_alloc)(struct tmem_pool *);
188 void (*obj_free)(struct tmem_obj *, struct tmem_pool *);
189 struct tmem_objnode *(*objnode_alloc)(struct tmem_pool *);
[all …]
Dtmem.c107 struct tmem_pool *pool; in tmem_obj_free()
130 struct tmem_pool *pool, in tmem_obj_init()
176 static void tmem_pool_flush(struct tmem_pool *pool, bool destroy) in tmem_pool_flush()
257 struct tmem_pool *pool; in tmem_objnode_free()
531 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put()
601 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_get()
655 int tmem_flush_page(struct tmem_pool *pool, in tmem_flush_page()
688 int tmem_replace(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_replace()
710 int tmem_flush_object(struct tmem_pool *pool, struct tmem_oid *oidp) in tmem_flush_object()
735 int tmem_destroy_pool(struct tmem_pool *pool) in tmem_destroy_pool()
[all …]
Dzcache-main.c64 struct tmem_pool *tmem_pools[MAX_POOLS_PER_CLIENT];
480 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id,
482 static void zcache_put_pool(struct tmem_pool *pool);
494 struct tmem_pool *pool; in zbud_evict_zbpg()
937 static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id, uint16_t poolid) in zcache_get_pool_by_id()
939 struct tmem_pool *pool = NULL; in zcache_get_pool_by_id()
961 static void zcache_put_pool(struct tmem_pool *pool) in zcache_put_pool()
1026 static int zcache_do_preload(struct tmem_pool *pool) in zcache_do_preload()
1103 static struct tmem_objnode *zcache_objnode_alloc(struct tmem_pool *pool) in zcache_objnode_alloc()
1124 struct tmem_pool *pool) in zcache_objnode_free()
[all …]
/linux-3.4.99/drivers/xen/
Dtmem.c61 static inline int xen_tmem_op(u32 tmem_cmd, u32 tmem_pool, struct tmem_oid oid, in xen_tmem_op() argument
68 op.pool_id = tmem_pool; in xen_tmem_op()