Changeset 328f2934 in mainline for generic/include/mm/buddy.h
- Timestamp:
- 2005-12-04T19:37:13Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf585c9
- Parents:
- d7ac642
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/buddy.h
rd7ac642 r328f2934 42 42 void (*set_order)(buddy_system_t *, link_t *, __u8); /**< Set order of block passed as argument. */ 43 43 __u8 (*get_order)(buddy_system_t *, link_t *); /**< Return order of block passed as argument. */ 44 void (*mark_busy)(buddy_system_t *, link_t *); /**< Mark block as busy */ 44 45 }; 45 46 … … 53 54 extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op, void *data); 54 55 extern link_t *buddy_system_alloc(buddy_system_t *b, __u8 i); 56 extern bool buddy_system_can_alloc(buddy_system_t *b, __u8 order); 55 57 extern void buddy_system_free(buddy_system_t *b, link_t *block); 56 58
Note:
See TracChangeset
for help on using the changeset viewer.