mm-only debug patch...
[mmotm.git] / fs / reiser4 / dscale.h
blob9fbf7158c14958b82bc4aebce5a33d72bff39300
1 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
2 * reiser4/README */
4 /* Scalable on-disk integers. See dscale.h for details. */
6 #if !defined(__FS_REISER4_DSCALE_H__)
7 #define __FS_REISER4_DSCALE_H__
9 #include "dformat.h"
11 extern int dscale_read(unsigned char *address, __u64 *value);
12 extern int dscale_write(unsigned char *address, __u64 value);
13 extern int dscale_bytes_to_read(unsigned char *address);
14 extern int dscale_bytes_to_write(__u64 value);
15 extern int dscale_fit(__u64 value, __u64 other);
17 /* __FS_REISER4_DSCALE_H__ */
18 #endif
20 /* Make Linus happy.
21 Local variables:
22 c-indentation-style: "K&R"
23 mode-name: "LC"
24 c-basic-offset: 8
25 tab-width: 8
26 fill-column: 120
27 End: