Rev 377 | Rev 381 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 377 | Rev 378 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #define __BUDDY_H__ |
30 | #define __BUDDY_H__ |
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | #include <typedefs.h> |
33 | #include <typedefs.h> |
34 | 34 | ||
- | 35 | #define BUDDY_SYSTEM_INNER_BLOCK 0xff |
|
- | 36 | ||
35 | struct buddy_operations { |
37 | struct buddy_operations { |
36 | link_t *(* find_buddy)(link_t *); |
38 | link_t *(* find_buddy)(link_t *); |
37 | link_t *(* bisect)(link_t *); |
39 | link_t *(* bisect)(link_t *); |
38 | link_t *(* coalesce)(link_t *, link_t *); |
40 | link_t *(* coalesce)(link_t *, link_t *); |
39 | void (*set_order)(link_t *, __u8); |
41 | void (*set_order)(link_t *, __u8); |