Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / drivers / staging / ramster / zcache.h
blob250b121c22e5ce9171b8e39ddac857877a463c4b
1 /*
2 * zcache.h
4 * External zcache functions
6 * Copyright (c) 2009-2012, Dan Magenheimer, Oracle Corp.
7 */
9 #ifndef _ZCACHE_H_
10 #define _ZCACHE_H_
12 extern int zcache_put(int, int, struct tmem_oid *, uint32_t,
13 char *, size_t, bool, int);
14 extern int zcache_autocreate_pool(int, int, bool);
15 extern int zcache_get(int, int, struct tmem_oid *, uint32_t,
16 char *, size_t *, bool, int);
17 extern int zcache_flush(int, int, struct tmem_oid *, uint32_t);
18 extern int zcache_flush_object(int, int, struct tmem_oid *);
19 extern int zcache_localify(int, struct tmem_oid *, uint32_t,
20 char *, size_t, void *);
22 #endif /* _ZCACHE_H */