Changeset 941d1e9 in mainline for include/mm/buddy.h
- Timestamp:
- 2005-09-29T22:47:42Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 922c7ce
- Parents:
- 40a468a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/mm/buddy.h
r40a468a r941d1e9 35 35 #define BUDDY_SYSTEM_INNER_BLOCK 0xff 36 36 37 struct buddy_ operations {37 struct buddy_system_operations { 38 38 link_t *(* find_buddy)(link_t *); 39 39 link_t *(* bisect)(link_t *); … … 46 46 __u8 max_order; 47 47 link_t *order; 48 buddy_ operations_t *op;48 buddy_system_operations_t *op; 49 49 }; 50 50 51 extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_ operations_t *op);51 extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op); 52 52 extern link_t *buddy_system_alloc(buddy_system_t *b, __u8 i); 53 53 extern void buddy_system_free(buddy_system_t *b, link_t *block);
Note:
See TracChangeset
for help on using the changeset viewer.