Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1780 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #include <adt/list.h> |
40 | #include <adt/list.h> |
41 | 41 | ||
42 | #define BTREE_M 5 |
42 | #define BTREE_M 5 |
43 | #define BTREE_MAX_KEYS (BTREE_M - 1) |
43 | #define BTREE_MAX_KEYS (BTREE_M - 1) |
44 | 44 | ||
45 | typedef __u64 btree_key_t; |
45 | typedef uint64_t btree_key_t; |
46 | 46 | ||
47 | /** B-tree node structure. */ |
47 | /** B-tree node structure. */ |
48 | struct btree_node { |
48 | struct btree_node { |
49 | /** Number of keys. */ |
49 | /** Number of keys. */ |
50 | count_t keys; |
50 | count_t keys; |