summaryrefslogtreecommitdiff
path: root/drivers/staging/ramster/zcache.h
blob: 250b121c22e5ce9171b8e39ddac857877a463c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * zcache.h
 *
 * External zcache functions
 *
 * Copyright (c) 2009-2012, Dan Magenheimer, Oracle Corp.
 */

#ifndef _ZCACHE_H_
#define _ZCACHE_H_

extern int zcache_put(int, int, struct tmem_oid *, uint32_t,
			char *, size_t, bool, int);
extern int zcache_autocreate_pool(int, int, bool);
extern int zcache_get(int, int, struct tmem_oid *, uint32_t,
			char *, size_t *, bool, int);
extern int zcache_flush(int, int, struct tmem_oid *, uint32_t);
extern int zcache_flush_object(int, int, struct tmem_oid *);
extern int zcache_localify(int, struct tmem_oid *, uint32_t,
			char *, size_t, void *);

#endif /* _ZCACHE_H */