Changeset ff75d34 in mainline for generic/include/mm/buddy.h
- Timestamp:
- 2006-03-30T18:38:27Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 296cc1b
- Parents:
- b6d4566
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/buddy.h
rb6d4566 rff75d34 35 35 #define BUDDY_SYSTEM_INNER_BLOCK 0xff 36 36 37 /** Buddy system operations to be implemented by each implementation s. */37 /** Buddy system operations to be implemented by each implementation. */ 38 38 struct buddy_system_operations { 39 39 link_t *(* find_buddy)(buddy_system_t *, link_t *); /**< Return pointer to left-side or right-side buddy for block passed as argument. */ … … 43 43 __u8 (*get_order)(buddy_system_t *, link_t *); /**< Return order of block passed as argument. */ 44 44 void (*mark_busy)(buddy_system_t *, link_t *); /**< Mark block as busy */ 45 void (*mark_available)(buddy_system_t *, link_t *); 45 void (*mark_available)(buddy_system_t *, link_t *); /**< Mark block as busy */ 46 46 /** Find parent of block that has given order */ 47 47 link_t *(* find_block)(buddy_system_t *, link_t *, __u8);
Note:
See TracChangeset
for help on using the changeset viewer.