Rev 1702 | Rev 1757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1708 | ||
|---|---|---|---|
| Line 284... | Line 284... | ||
| 284 | } |
284 | } |
| 285 | 285 | ||
| 286 | /** Prints out structure of buddy system |
286 | /** Prints out structure of buddy system |
| 287 | * |
287 | * |
| 288 | * @param b Pointer to buddy system |
288 | * @param b Pointer to buddy system |
| 289 | * @param es Element size |
289 | * @param elem_size Element size |
| 290 | */ |
290 | */ |
| 291 | void buddy_system_structure_print(buddy_system_t *b, size_t elem_size) { |
291 | void buddy_system_structure_print(buddy_system_t *b, size_t elem_size) { |
| 292 | index_t i; |
292 | index_t i; |
| 293 | count_t cnt, elem_count = 0, block_count = 0; |
293 | count_t cnt, elem_count = 0, block_count = 0; |
| 294 | link_t * cur; |
294 | link_t * cur; |